SD Card issues in Android 6 - One (M8) Q&A, Help & Troubleshooting

So I have a Samsung SD card and was immediately prompted to advise it was corrupt when I first flashed a CM/AOSP ROM. When I got the time to do so I backed up the contents, formatted from the prompt and copied stuff back over.
The problem now... The SD card cannot be written to by Titanium Backup. Edit the permissions platform.xml file you say? Nope didn't work. Nothing suggested worked.
I finally got it working by formatting everything, installing a Sense ROM and then formatting again once it said it prompted to. I can write to "SD Card 2".
However, I'm weary going back to AOSP/CW that I'll be back to square one again.
Has anyone encountered the same issues and what did you do?

kickassdave said:
So I have a Samsung SD card and was immediately prompted to advise it was corrupt when I first flashed a CM/AOSP ROM. When I got the time to do so I backed up the contents, formatted from the prompt and copied stuff back over.
The problem now... The SD card cannot be written to by Titanium Backup. Edit the permissions platform.xml file you say? Nope didn't work. Nothing suggested worked.
I finally got it working by formatting everything, installing a Sense ROM and then formatting again once it said it prompted to. I can write to "SD Card 2".
However, I'm weary going back to AOSP/CW that I'll be back to square one again.
Has anyone encountered the same issues and what did you do?
Click to expand...
Click to collapse
Sort of. Every time I flash an aosp ROM it tells me the card is corrupt even if I'm just trying to use u it as portable/external. I backed everything up to my Mac book and formatted the card in the phone on CM13 but, when trying to transfer stuff back I lost my nandroids and a couple RUU.zip files. It still tells me the card is corrupted even though I did format it. I don't remember if I had write issues after that. At this point I have just about given up on aosp since I'm not going to copy and then format the card every time.

Same issue.
Does anyone have a solution for this ?

rahulsethi said:
Same issue.
Does anyone have a solution for this ?
Click to expand...
Click to collapse
The SD shows up as corrupt, or Titanium can't write to it?
What did you try to do, and what were the results?
Posting "same issue" without giving any details is never a good way to post. More detail is always better.

Hi,
did you try this fix for TB?
http://forum.xda-developers.com/showpost.php?p=64662204&postcount=3

redpoint73 said:
The SD shows up as corrupt, or Titanium can't write to it?
What did you try to do, and what were the results?
Posting "same issue" without giving any details is never a good way to post. More detail is always better.
Click to expand...
Click to collapse
No , I just get a notification that sd card is corrupt. There is option of setting it up too but in there when I select "use as portable storage , it asks me to format it ".
In any of the apps , sdcard doesn't show up or even option show sdcard.

rahulsethi said:
No , I just get a notification that sd card is corrupt. There is option of setting it up too but in there when I select "use as portable storage , it asks me to format it ".
In any of the apps , sdcard doesn't show up or even option show sdcard.
Click to expand...
Click to collapse
I don't use AOSP ROMs on the M8, but I do on my Samsung Tab Pro 8.4. On that device, I get this error message (SD card corrupt) every time I flash an AOSP ROM. One thing that you can try which often works for me (but not always) is to put the card into a USB card reader, connect to PC. It should automatically detect the card, and give you a popup window asking you to scan and fix the problems. It has 2 choices with check boxes (forget what they say exactly) of which the first is checked by default, the 2nd is not (and takes a lot more time). Try the first choice, which should just take a couple minutes; and should also preserve the data on the card. Then re-insert the card into your M8 and see if it reads properly. If not, you may at that point want to copy the data on the SD to your PC while you can. You may need to resort to formatting the card, than copying the data back to it (I've had to do this at times).
I haven't seen any other solutions, or explanation of what is causing this.

redpoint73 said:
I don't use AOSP ROMs on the M8, but I do on my Samsung Tab Pro 8.4. On that device, I get this error message (SD card corrupt) every time I flash an AOSP ROM. One thing that you can try which often works for me (but not always) is to put the card into a USB card reader, connect to PC. It should automatically detect the card, and give you a popup window asking you to scan and fix the problems. It has 2 choices with check boxes (forget what they say exactly) of which the first is checked by default, the 2nd is not (and takes a lot more time). Try the first choice, which should just take a couple minutes; and should also preserve the data on the card. Then re-insert the card into your M8 and see if it reads properly. If not, you may at that point want to copy the data on the SD to your PC while you can. You may need to resort to formatting the card, than copying the data back to it (I've had to do this at times).
I haven't seen any other solutions, or explanation of what is causing this.
Click to expand...
Click to collapse
Thanks , I'll try and doing so

Related

SD Apps dissapeared from list

Has anyone experienced this - and even better have a solution?
running stock 2.29.405.2 for a few weeks now, but all of a sudden apps have dissapeared that are installed on the SD card.
also i cant move any apps (i know not all apps allow) to the SD card as a 'failed to move application' notice appears.
any ideas peeps?
SD card
I would do this.
1)Check your SD card. Can you access your sd card? Could be a corrupted card.
2)Take out your sd card and put it back in.
3)Power off phone and restart. Wait for a while, see if your apps come back.
Isn't 2.29.405.5 out now from OTA?
also I agree - make sure you can access the SD and reboot
friedkimchi said:
I would do this.
1)Check your SD card. Can you access your sd card? Could be a corrupted card.
2)Take out your sd card and put it back in.
3)Power off phone and restart. Wait for a while, see if your apps come back.
Click to expand...
Click to collapse
Tried all of these - With a different SD card i can move the apps. Does that sound like a corrupt card, and if so is there anything i can do?
Lothaen said:
Isn't 2.29.405.5 out now from OTA?
Click to expand...
Click to collapse
It seems to have been pulled (I waited until I had my goldcard available) and is not available now. Is there a link to do it manually?
I am going through the same thing. I determined I had a corrupt card. I will be getting a new card today and reinstalling all of my apps that were installed on the corrupt card.
Had the same issue. Noticed that the .android-secure folder on SD is read only. Changed to read/write in root explorer, rebooted and apps are back.
Sent from my HTC Desire using Tapatalk
no joy with that, but thanks anyway.
i might look at deleting that folder and starting again - it will give me an excuse to get rid of all the crap i have anyway.
But first i might try recovery - i know that you cannot see the content of the .android_secure for security reasons
I just recovered from the same problem (tried the tips here, but they didn't work in my case.) I thought I'd add the solution that eventually worked for me, just in case it's of any help to anyone else.
Remove SD card from phone and insert in a Windows PC
Run CHKDSK /F from the command prompt, just in case there are any file errors (there were none in my case.)
Rename the .android-secure folder to something else (it really doesn't matter what you call it.)
Eject the card and put it back in the phone, allow the phone to start up and initialise the SD card. It will create a new .android-secure folder. (I tried creating the folder on the PC, but that didn't work. The phone needs to create it for itself.)
Card back in the PC, and cut and paste the files from the folder that you previously renamed into the new .android-secure folder.
Card back in the phone, and if your problem was the same as mine, your apps are back.
You might also be able to do this with the card in situ via the USB cable. I haven't tried it.
Out of interest, this happened to me after nothing more serious than a dead battery. The phone was at 90%+ charge when I went to bed last night, but dead this morning. I can only assume that I left a power hungry app running by accident.
Thanks for the info. i had already resolved mine by renaming the folder to delete it. luckily i had most apps backed up so it didnt take long to go back in.
I have been trying to think what caused it, and you reminded me that my battery dies a couple of days ago, so was probably this that caused it also.

[Q] CyanogenMod 7 is ruining my SD cards

Now I'm not moaning about CyanogenMod here, I'm just trying to understand how I can fix the issue.
Basically, I had CyanogenMod 7 RC2 on my Desire Z. That was it.
Eventually I saw through ROM Manager that the full release of 7 was out so I downloaded, took a backup, wiped everything and did a fresh install of the new ROM.
It installed fine, but none of my apps that needed root access were getting it.
So I booted into recovery, restored my backup, root was back.
I then installed 7.0 over my RC2. That worked fine, but again root was gone.
At this point, my phone started damaging SD cards.
It suddenly started saying that my 8GB card that came with the phone was damaged. I tried to fix it on the phone, but it just said 'Checking card' and then giving up.
Putting it in an old MP3 player, it is not detected at all.
Putting it in a card reader, the card is unreadable and when I try to format it Windows says the card is 'read only' (this is not due to the reader).
I put a functional 2gb card I had lying around into my Desire Z and it broke it in the exact same way.
My question to you guys is - what could be causing this and how do I fix it because I have a 16gb card coming and I'm obviously cautious of putting it in the phone.
Also, how would I go about flashing the new Cyanogenmod 7.02 ROM if my phone keeps breaking SD cards I put into it?
This error can be because when ever you install a CyanogenMod ROM over another, It leaves files your new ROM think is useful such as data that the new ROM doesn't support. It is damaging your SD Card because it keeps attempting to fix the error but is making it worst by trying to remove system files. Your best bet is to try another ROM and see if it does the same thing and report it to CyanogenMod Developer Team if it only does this to CyanogenMod ROMs otherwise it would be just a virus on your SD Card feeding off of personal data. If it is only CyanogenMod ROMs, we will adress this issue ASAP. Hope I helped
Thank you VS4, you are indeed helpful
I've since heard some people have managed to fix their SD cards by formatting them in ClockworkMod but I can't even mount it first in order to do this! Is my card truly dead?
Also, do you think the reason that CM7.0 had no root (even when it was a clean install) was due to me not 'fixing permissions'?
Thanks
Just a note to say that I've managed to fix it!
Despite being unable to 'mount sdcard' in clockworkmod, I found I was able to activate USB Storage and through this I was able to format the card (Windows 7 was previously saying that the same card was 'read only' in a multitude of card readers).
I hope this helps any poor chap with the same problem.
I had this exact same problem, munched 2 of my 8GB cards, and had a 16 on the way. I somehow fixed it before the 16 came and I've never had the issue since, glad to see an explanation of it.
Thanks, nofixio!
I had the same problem on my Samsung Fascinate with CM7. It ate my 16GB SD card to the point where the phone wouldn't recognize it, CWM wouldn't mount it, and it wouldn't show up on my computer in multiple SD readers.
I wasn't quite clear what you were suggesting when you said you were able to "activate USB Storage." I thought maybe you meant within CWM. That didn't work for me, but I was able to boot the phone up with the problem SD card in it and turn on USB storage as normal. Suddenly my computer could not only see the SD card, it could see all the files that were on it before it died! I backed everything up, formatted the card in Windows, and everything's good now. Thanks for the tip!
rfschmid said:
Thanks, nofixio!
I had the same problem on my Samsung Fascinate with CM7. It ate my 16GB SD card to the point where the phone wouldn't recognize it, CWM wouldn't mount it, and it wouldn't show up on my computer in multiple SD readers.
I wasn't quite clear what you were suggesting when you said you were able to "activate USB Storage." I thought maybe you meant within CWM. That didn't work for me, but I was able to boot the phone up with the problem SD card in it and turn on USB storage as normal. Suddenly my computer could not only see the SD card, it could see all the files that were on it before it died! I backed everything up, formatted the card in Windows, and everything's good now. Thanks for the tip!
Click to expand...
Click to collapse
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
hotboyray said:
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
Click to expand...
Click to collapse
I'm not sure why you would ask this in such an old thread but... Try just plugging it in to your computer maybe? What ROM are you on?
noneabove said:
I'm not sure why you would ask this in such an old thread but... Try just plugging it in to your computer maybe? What ROM are you on?
Click to expand...
Click to collapse
im running cm7 ... it wont read from computer. i tried several micro sd card readers. it just tells me it cant format. its just like what was mentioned before.
Weird, I've never had any problems with Cyanogen 7 roms. I've flashed one over another and had no issues at all, Mayb because I use SuperWipe before hand? Or maybe its a certain sd card issue???
Running Desire Z and Andromadus Beta 11 I had similar problem after I had applied remote wipe from Exchange (wanted to see if it works). Remote wipe worked: it destroyed contents of SD card and erased phone back to factory settings. After wipe mounting SD card failed and Andromadus seemed to be unable to format the card.
Solution: Booted phone to Clockwork recovery and applied advanced -> Partition SD Card.
Posted this on this thread since it came first when searching solution.
hotboyray said:
how do i activate usb storage? i have several memory cards that stopped working out of no where and i have important files on them. PLEASE HELP!!!
Click to expand...
Click to collapse
Go into Recovery (Clockwork), go to mounts and storage, then scroll down and it should say mount USB storage.

MicroSD card help

Hi everyone,
I have a 64gb sandisk microsd external card, in a att galaxy s3 and it appears to be acting very strange.
i can't add or delete anything from it, i put it in my brothers galaxy s2 to format it (my s3 not having the option(which is strange)) and it let me format it, but when it remounts its at the exact same place, with 42.2gb free storage space, which is what it was at before i formatted it, i did it a few times same thing.
if i manually try to delete things from the card through my phone or computer they either hang or they do delete then upon reboot all the files are back. I hope its not corrupted but it sounds like it is. i've used a few apps like sd tools which runs speed tests, and i get about 130mb write speed a second and 5000mb read speed a second which sounds like it should be able to read and write things but unfortunately it just won't
any help would be greatly appreciated.
zerogood said:
Hi everyone,
I have a 64gb sandisk microsd external card, in a att galaxy s3 and it appears to be acting very strange.
i can't add or delete anything from it, i put it in my brothers galaxy s2 to format it (my s3 not having the option(which is strange)) and it let me format it, but when it remounts its at the exact same place, with 42.2gb free storage space, which is what it was at before i formatted it, i did it a few times same thing.
if i manually try to delete things from the card through my phone or computer they either hang or they do delete then upon reboot all the files are back. I hope its not corrupted but it sounds like it is. i've used a few apps like sd tools which runs speed tests, and i get about 130mb write speed a second and 5000mb read speed a second which sounds like it should be able to read and write things but unfortunately it just won't
any help would be greatly appreciated.
Click to expand...
Click to collapse
Take the SD card and use a custom recovery to wipe it clean. That might help
xXshur1kenXx said:
Take the SD card and use a custom recovery to wipe it clean. That might help
Click to expand...
Click to collapse
Okay, i used twrp, i'm updated to latest version, i went to wipe advanced, then microsd card says succesfull but its very short. when i reboot the storage is still the same. can't add or remove files still.
zerogood said:
Okay, i used twrp, i'm updated to latest version, i went to wipe advanced, then microsd card says succesfull but its very short. when i reboot the storage is still the same. can't add or remove files still.
Click to expand...
Click to collapse
Hmm. You might have to try a double format in TWRP, then when you load up the System use the system's format tool. (i.e. Storage --> Wipe SD Card). If that doesn't work, you might need to find someone with a microsd to USB jig or something of the sort and use a computer to format it.
xXshur1kenXx said:
Hmm. You might have to try a double format in TWRP, then when you load up the System use the system's format tool. (i.e. Storage --> Wipe SD Card). If that doesn't work, you might need to find someone with a microsd to USB jig or something of the sort and use a computer to format it.
Click to expand...
Click to collapse
yeah thanks for the support, tried a number of things in twrp but to no avail. i went out and bought another 64gb microsd card and put it in my phone, works perfectly. but still i'm trying to get the other card working. the new card came with an adapter so i've been trying to format it in my computer. i've used windows format, i do the long one, it gets all the way to the end looks like its complete then says unable to format. and all teh data is still there, i've also tried guiformat by ridgecrop, says success but still all the information is still there.
i don't know if this means the card is corrupt i'd always assumed i'd get corruption error messages.
is there a program i can use to scan the card for errors or corruption?
thanks again dude for the responses any additional help will be very much appreciated still.
again thanks.
solution sorta found
Okay, finally ran out of options and things to search for so broke down and called sandisk techncial suport (didn't think they could help but my mistake)
Read the technician

[Q] External SD Card Read-Only Problem

I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
ronman71 said:
I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
Click to expand...
Click to collapse
Happened with me once with a different phone/OS. Weird thing is that it was only for a particular SD card. I put a different card and it worked.
It turned out to be a problem with the card (dunno how thats possible though).
What's the brand of your SD card?
I have the exact same problem with my SGNote 2 and SanDisk 64gb micro SD card. First I lost some pics I have taken that day. I searched through with a file rescue tool but they were nowhere to be found. Deleted files reappear, and the ones I copied from internal SD dissappear.
Sent from my GT-N7100 using Tapatalk
ronman71 said:
I tried researching this but wasn't successful finding same exact problem or solution. I'm on 4.4.2 Baseband N900TUVUCNB4 rooted with stock rom and ext sd fix. Everything was working fine until recently. My external SD card has inexplicably become read-only, both on the phone and on my desktop. I first noticed this last week when the phone camera began having problems writing to external SD card, and now I can't sync music to card. I've tried formatting on the phone and desktop, both quick and full but no dice. On the phone, I am able to delete individual files or folders but they reappear. On the PC, I can view but get write protect message when trying to format. Anyone else come across this or have suggestions?
Click to expand...
Click to collapse
I had same problem. But I fixed this problem by formatting my SD card via PC. It is very bad to me Because I lost my some valuable Docs:crying:
Try file recovery softwares, you might recover it.
Lorettaa said:
Try file recovery softwares, you might recover it.
Click to expand...
Click to collapse
Thanks. I tried formatting through PC using windows and also tried using SDFormatter v4.0 but get write protect error. Thanks for the suggestions
Lorettaa said:
What's the brand of your SD card?
Click to expand...
Click to collapse
It's a SanDisk 64gb class 10.
Glad to hear I'm not the only one. Maybe we can share the solution when we find one. I'm using internal memory in the meantime for new media files, but frustrated that I am not able to use the rest of the memory available on my card.
SanDisk works fine for me, maybe your sd card is a faulty one, let's wait for a while here and maybe someone could answer your question and hopefully solve your problem
Lorettaa said:
SanDisk works fine for me, maybe your sd card is a faulty one, let's wait for a while here and maybe someone could answer your question and hopefully solve your problem
Click to expand...
Click to collapse
Thanks, Lorettaa. It seems like that's the only option right now, since I can't find any other info about it on XDA. I know Kit Kat has that design "flaw" where apps can't write to an SD card, but I can't even write to it, modify it or reformat it on a PC. I have full read access to every file, just can't do anything else
ronman71 said:
Thanks, Lorettaa. It seems like that's the only option right now, since I can't find any other info about it on XDA. I know Kit Kat has that design "flaw" where apps can't write to an SD card, but I can't even write to it, modify it or reformat it on a PC. I have full read access to every file, just can't do anything else
Click to expand...
Click to collapse
I have the exact same problem, i tried many options , used some softwares in windows to format , wipe, fix, modify. nothing works.
One possible reason for this problem is file system errors , which can be rectified using the 'error checking' option in windows and 'fixing the file system errors'
But that doesnt solve my problem, even after formatting using advanced softwares, the sd card is the same - no files deleted, no files added...
The fat as well as ext4 parition is not formattable now in anyway.so the possible conclusion is 'sd card is going to fail'.. Take a backup before you loose the read capability.
Recuva is a good, free tool (from the people that make CCleaner) to deleted recover photos.
jayOOMjay said:
One possible reason for this problem is file system errors....
Click to expand...
Click to collapse
And one possible reason for a false error condition is a corrupt system. This is normally an unlikely possibility but it is very likely on devices that have had partition images written to (i.e. a flashed ROM). If you have done all you can to the SD card and if the errors are not only on one SD card then wipe everything and load a backup. If you still get errors then wipe everything and revert to stock to see if they still occur.
Frank

Problems with External SD Card

Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
TarekElsakka said:
Ever since I converted to GPE for 6.0 then back to Sense (5.0.1 stock, rooted) I have been facing problems with my external SD Card. I know that Marshmallow handles External SD Cards a little bit differently than other versions of Android, so I decided to backup everything to my computer and then have my device format the SD card inside Sense but it still did not work.
For one thing, I can no longer backup from Titanium Backup to my External SD Card since it says "this folder is not writable" and whenever I try to delete or move anything inside ES File Explorer, a message comes up saying "please choose the root directory of ext_sd card ...." and when I try to, I get a "Documents Force Closed" error.
Any ideas on what I could do at this point? Should I try formatting the SD Card on my computer using a SD Card reader instead? I am using a Mac, by the way.
Thanks for your time.
Click to expand...
Click to collapse
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
ThePurpleK said:
@TarekElsakka - I know I'm bumping this thread, however I hope this is taken with leniency as searching for a solution took me a while and I hope this reply will help those who Google for the same problem.
http://forum.xda-developers.com/showpost.php?p=59278548&postcount=4 is what you need to read. You need to explicitly change your storage provider to 'DocumentProvider storage'.
Click to expand...
Click to collapse
@ThePurpleK thank you for your information! I actually forgot all about this thread, but I found this solution a while ago and it fixed everything for me. Thank you again, I'm sure it will be helpful to a lot of people since everyone seems to be facing that problem with MM.
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Drunkula said:
Interesting. I never knew that was even a setting in TiBu either. What I did was a little more involved. Had to edit /system/etc/permissions/platform.xml) and add a specific entry to allow a group permission to write to external storage. Check the attached image. Of course I added the highlights.
Click to expand...
Click to collapse
I think you missed what they were talking about.
What you suggest is not valid for android 6.0 marshmallow.
Only workable for lollipop and lower.
You're right about that. I'm not on MM yet (Verizon...) so I hadn't a clue.

Categories

Resources