SD card mounts as read-only - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

The problem started a few weeks ago, and I can't remember if it's related to any update I might have done.
I first noticed there was a problem when the camera app couldn't save my pictures/videos to the SD card and reverted to using internal memory. Then I started having issues with some applications who wouldn't update claiming they were unable to install to USB storage or SD card. I was able to circumvent that by temporary unmounting the card then performing the update.
It's when I tried to copy some media onto the card from my computer that I realized I no longer had writing privilege on the card. I popeed it out and added the files without any issue from a microSD card reader so at least I knew the card was OK. After a little bit of fiddling, I was able re re-mount the card as read-write when trying to write on it from within Total Commander. It offered to remount as read-write and I said yes. Problem is, it stays that way for a little while and a few hours later, I can no longer write anything on the card, again.
Does anyone knows how to permanently fix this issue?
I'm currently using stock Samsung firmware build number JDQ39.I337MVLUAMG1 and the phone is rooted.

If you take it out and put on your (Windows) PC, how does it perform?
If you have Windows, does a scan disk report anything wrong?

I could read and write to the card without any issue from Windows when using it through an USB reader.
Scanning the card found a bunch of file system errors. Once corrected, the card mounted back correctly on the phone.
Thanks for the tip!

Related

Damaged SD card!!

I don't know when did this started happening actually, I flashed a number of roms in the past couple of days, but I can't get rid of this stupid notification and its really driving me crazy!
When I mount my SD card so I can transfer files from PC and the unmount I get the error "Damaged SD Card - SD card damaged you may have to reformat it"
The thing is reformatting does not solve it, and when I have this notification nothing that accesses the card works (music, photos, astro..)
I tried reflashing my rom again which made the error go away for a while but after some mount-unmount I have it again!
I have a non-branded HTC magic (32A) with Cyanogen 4.2.3 and Enoch theme and RA's recovery image and NO apps2sd
Any help?
Thanks
fixed it
Okay I got it to go away, I formatted from the recovery menu (fat32 only)
and I turned off the swap file and uninstalled the swapper app.
No problems so far!
i've found that rebooting the phone makes the sd card damaged error message go away
and that rebooting my pc actually solved the problem of the pc not seeing the sdcard
but that may just be temporary, i dont know
Strange SD Card!
When I mounted my SD Card I was receiving an error and was asked to Scan or Continue. I chose scan and then it looks like it mounted fine. I can view all the folders and files but if I try to copy any files to the card or try to create a folder I get an error saying the Drive is not available and it is no longer mounted. I put the card in a card reader and I received the Scan option again and I scanned it to fix any errors but it doesn't find any. I then can copy, delete and modify anything on the card. I put the card back in the phone and mount the card. No issues until I try to copy, delete or modify and it unmounts and will not work. I have the original T-Mobile Rom and I have not rooted it.
Any ideas?
Thanks,

[Q] ROM Manager causes SD card error

I ran fix permissions and it ended with no errors. It then suggested to reboot the phone. I used quickboot to reboot the phone and when it came out, the SD card (16 KB SANDISK) card is reported as having errors and might need to be reformatted. I put the card in the card reader on my pc and it looks ok. I can see all the directories and even copied a 2GB map file to the pc with no issues.
Any ideas on what is causing this and how to recover without reformatting?
Thanks.
Rom Manager & SD card failure
Windows 7 did not help in any way, but a reboot to XP allowed me to scan the disk and fix any errors. Back running, case closed, but I still don't know why it happened. There is a fix permissions file left on the card, but for the time being I just going to move on. NTF, you can kill this one, if you want.

Is it safe to unmount the SD card on an SD build?

Sorry if this is a n00b question... but I've been able to unmount and remount the SD card in my HD2, or connect it to my computer via USB (which unmounts it on the phone side), all while running Android from that same card.
I'm wondering if this is safe to do, or if the only "safe" method is shutting down Android and rebooting into Windows Mobile. After all, the 1GB data.img and the Android system are both kept on the card, so if it is unmounted, you'd think the system would crash or otherwise corrupt data...
Thanks.
nookkin said:
Sorry if this is a n00b question... but I've been able to unmount and remount the SD card in my HD2, or connect it to my computer via USB (which unmounts it on the phone side), all while running Android from that same card.
I'm wondering if this is safe to do, or if the only "safe" method is shutting down Android and rebooting into Windows Mobile. After all, the 1GB data.img and the Android system are both kept on the card, so if it is unmounted, you'd think the system would crash or otherwise corrupt data...
Thanks.
Click to expand...
Click to collapse
I do think the system would crash or be corrupted because if all the files are running from the SD card and then it is removed, then all files would not be accessible causing the system to crash or even worse - corrupt data. Whenever run it from the SD card and connect it to my computer I use the app called "Dual Mount SD" which allows me to still access my SD card (from my phone), which means the android files on the SD card can still be accessed by the phone for the system to still run. I believe this way is the safest.
I read somewhere that someone removed it and nothing happened, but take it from someone who tried it: Do NOT remove the card from the phone when it's running android. and unless the developer specifically says that it's safe to connect his build through diskdrive mode do not connect it that way as well!
I'm using the above mentioned program and it works fine. Music and other media files will be recognized by the music app only after you rescan the card using any free tool available (search the net/market for a tool to rescan the card on android) and that's all you need

[Q] Have I Killed My SD Card?

I purchased a new SanDisk 32GB microSDHC card for my Magic a few weeks ago. As of the beginning of this month, I started noticing some strange things happening like the card being set to read-only at random. I first noticed it from the camera app where it stated that I needed to insert an SD card before using it. I checked using Root Explorer, and strangely enough it was mounted as read-only. I mounted it back as R/W, and everything seemed fine...or so I thought.
A few days later, I was gonna send those pics that I took with the camera, but they were gone and nowhere to be found on my SD card. I got suspicious so I took a few test pics after (again) having to set the SD card with R/W permissions using Root Explorer. I checked the card, and the pics were there, but as soon as I tried to send them via MMS, the files disappeared. From here, I put the card in my PC's card reader and copied a random file to it. No issues with that, so I put the card back into my phone and that file was gone. Scratching my head some more, I put the card back into my PC and copied another random file. Then I refreshed the folder view within Explorer, and the file was not there. Seeing that I could read the files on the card, I feel that something strange was going on, so I made a backup to my PC. The files copied fine, and I can see the contents on my computer, so reading from the card isn't an issue. I, then, attempted to reformat it from the computer. Windows complained that it was unable to format the card, so I thought I'd go with something a little more refined when dealing with partitions. Using Paragon Partition Manager, I was unable to reformat without first deleting the partition already present, so I did just that. However, after deleting the partition, it gave an error saying that this drive cannot be formatted. Having gotten really frustrated with this issue, I decided to try out GParted on my laptop. I put the card in my card reader on that and ran GParted. It recognized the card, but showed that it was still partitioned...leaving me to believe that Partition Manager didn't actually delete the partition as it said it did. Didn't worry about that too much, and went ahead and deleted the partition through GParted and reformatted to FAT32 with no errors whatsoever during the process, and everything seemed to work fine. However, the used file space was exactly the same as it was before starting this process. I slapped the card back into my PC, and sure enough nothing has changed.
It now seems that the state of my card is somehow "frozen". I can read the files already existing on the card, but nothing can be written to it. The only thing that I did differently with this SD card, in comparison to any other card I've used, is using Swapper (org.azasoft.free.swapper) to create a swap file on my SD card that appeared to work fairly well until all this happened. Though maybe a 1GB swap file wasn't such a great idea, and most likely unnecessary anyways.
I've had a card die on me in the past, but just because it was old. Though, it was completely unusable...couldn't read or write from/to the card, respectively. So being able to read from the card is quite new to me, and I'm not sure if I've killed it, or if (possibly) there is a chance for revival. Normally, I wouldn't worry about it too much and just have the card replaced, but due to the highly sensitive data currently present on the card, that's completely out of the question at this point.
Any insight on this issue would be very highly appreciated.
I would see if you can get it replaced. If you can't, and their is sensitive info on it, completely destroy it (break it into several pieces, blend it, then use fire) and buy a new one.
Seems like you've done everything I could think of. So I'm not sure what to suggest to try and fix it. Maybe try to dd if=/dev/zero of=/dev/whateveryoursdcardiscalled and then format?
you should really encrypt sensitive data so you don't have to worry about it when problems occur
tl;dr
However, it did seem like an issue I had with an SD card back when I was trying linux distros on USB sticks. My 16GB was turned into an 8GB one. That sucked LOTS. You know what fixed it?
My camera
Yeah, I put the SD on it and pressed Format. It automagically partitioned it and it's working correctly as we speak ... try other devices, such as handycams, cameras, mp4s, iPhone/iPod & such. They can do what Linux + gParted and Windows can't =)

Locked out of encrypted files

So I bought the S7 edge popped in my SD card and encrypted It. The card was giving me some issues so I backed up my files on my Pc formated the SD card and reloaded the files (MP3s) now when I go to play many of the songs they don't play and just say "sorry unable to play file type" it's odd because about half of the songs do work any ideas for fixing this I have a quite a large music collection and it would be quite pain staking to have to download these one by one again
Would encrypting them and decrypting them help?
Really none of the brilliant minds here at Xda have any idea?
Did you copy the files off with the SD in a pc reader or via mtp from the phone? I would guess the the base encryption key data is different since you reformatted the card, it would make sense to me because otherwise there would be no point to supporting SD encryption.
C0derbear said:
Did you copy the files off with the SD in a pc reader or via mtp from the phone? I would guess the the base encryption key data is different since you reformatted the card, it would make sense to me because otherwise there would be no point to supporting SD encryption.
Click to expand...
Click to collapse
SD in a pc reader. Is there anyway for it to read the files again?
chad187 said:
SD in a pc reader. Is there anyway for it to read the files again?
Click to expand...
Click to collapse
If Google did their work well, not likely.
I don't know the details but the only consumer hope would be with the card inserted in the device that formatted it as theoretically the encryption of the SD card should be done with private key data that is tied to the device it was formatted within (in addition to whatever private data you provided such as a PIN). Otherwise it would be too easy to just move the card to another device to decrypt the data.
I've seen some references to the Android SD card encryption *not* necessarily encrypting media files (music, movies, pictures?) so it's possible those files were not at all encrypted - which is substantiated by the fact that you can play SOME of them.
It may be that the files that don't play are, unfortunately, simply, corrupted data and not encrypted at all. ;^(
chad187 said:
So I bought the S7 edge popped in my SD card and encrypted It. The card was giving me some issues so I backed up my files on my Pc formated the SD card and reloaded the files (MP3s) now when I go to play many of the songs they don't play and just say "sorry unable to play file type" it's odd because about half of the songs do work any ideas for fixing this I have a quite a large music collection and it would be quite pain staking to have to download these one by one again
Click to expand...
Click to collapse
I had the exact problem, it seems to be some issue with a lot of S7's from from my research online. After almost giving up after a few weeks I finally did find a fix which hopefully will work for you and anyone else who has encountered/ will encounter this problem. Here are the steps I took:
1. After the sd card became unresponsive on my phone after encryption, I transferred all my files from the sd card to my PC. I had to do this via the sd card slot on my laptop as the card was not being recognized when connected via the phone.
2. I then formatted the sd card on my PC. For those not familiar with the process just right click on the card in "my computer" and select format then quick format.
3. I then reinserted the card into the phone to make sure it was recognized, then removed it again, inserted it into the PC and transferred all the files back over.
4. I went into my phone under security settings and changed lock screen security to "none" while leaving fingerprint on.
5. I put the sd card back into the phone with the files. They won't be accessible as yet since they're encrypted but the next step is to go ahead and encrypt the sd card. Wait however long you have to, for me it took less than a min. After this go back and decrypt the sd card, let that process run through then the files should now be decrypted and accessible. If the sd card goes unresponsive again just try again by formatting the sd card and putting the files back, this time maybe a few files at a time.
If this method works for you I would suggest backing up your data frequently and staying away from encrypting the sd card at least until samsung/android release a fix for this issue.

Categories

Resources