Android 6.0 Adoptable Storage Corruption - Android Q&A, Help & Troubleshooting

Hi, I'm using a non-rooted stock Moto G3 that I had set up to use an SD card as adoptable storage. Yesterday I started getting notifications to insert the linked SD card even though it had never been removed. Upon removing it and reinserting it, there was a long "checking" process that I noticed in the storage settings page which eventually ended with the status "corrputed". If I take the SD card out and look at the partitions in GParted, I see two android partitions of the correct size. It looks like the data is still here, however, I cannot mount it due to the encryption. I found a guide on how to get the encryption key from the /data/misc/vold file, but since the phone is not rooted permission is denied. Are there any methods I can use to get to the encryption key or some other method to recover the data?
Thank you very much!

You are out of luck. You are gonna have to wipe the sdcard. This is why most oem removed the option.
My only advise is that if you are gonna use the sdcard then remove the encryption or just don't use if for anything other then storage.

zelendel said:
You are out of luck. You are gonna have to wipe the sdcard. This is why most oem removed the option.
My only advise is that if you are gonna use the sdcard then remove the encryption or just don't use if for anything other then storage.
Click to expand...
Click to collapse
Well, I did have some luck. Since I was still able to see the partitions, I was able to clone the data to a new SD card which was recognized by Android. I have not noticed any missing data yet. The old SD card is now stuck as read-only, so I cannot delete the partitions and reformat. I will be sending it back since it is still under warranty. Thanks for the advice. I will definitely move away from the adoptable storage method.

ItinerAecus said:
Well, I did have some luck. Since I was still able to see the partitions, I was able to clone the data to a new SD card which was recognized by Android. I have not noticed any missing data yet. The old SD card is now stuck as read-only, so I cannot delete the partitions and reformat. I will be sending it back since it is still under warranty. Thanks for the advice. I will definitely move away from the adoptable storage method.
Click to expand...
Click to collapse
You mean the adopted SD card can still be protected by warranty?

iSaidyiu said:
You mean the adopted SD card can still be protected by warranty?
Click to expand...
Click to collapse
Yes, the manufacturer sent me a replacement SD card after the original became stuck as read-only and could not be formatted.

ItinerAecus said:
Yes, the manufacturer sent me a replacement SD card after the original became stuck as read-only and could not be formatted.
Click to expand...
Click to collapse
What's your manufacturer? SanDisk or Toshiba or others?

iSaidyiu said:
What's your manufacturer? SanDisk or Toshiba or others?
Click to expand...
Click to collapse
This was a Lexar SD card. The RMA process was very straight forward.

Related

[Q] Will the SD card be encrypted on inserting to an Encrypted Android Phone

Hi,
I recently encrypted my phone(Xperia Z) without SD card in it.
Now I have added a 64gb Sandisk card to my phone. Its working fine.
My question is, will the sd card also be encrypted?
How do I make sure that my sd card is also encrypted?
Cheers,
Amit
abhatr said:
Hi,
I recently encrypted my phone(Xperia Z) without SD card in it.
Now I have added a 64gb Sandisk card to my phone. Its working fine.
My question is, will the sd card also be encrypted?
How do I make sure that my sd card is also encrypted?
Cheers,
Amit
Click to expand...
Click to collapse
remove incription then re incript with sd card mounted
ricky310711 said:
remove incription then re incript with sd card mounted
Click to expand...
Click to collapse
Thank you.
Remove Incription, as in I have to do a Factory reset?
ricky310711 said:
remove incription then re incript with sd card mounted
Click to expand...
Click to collapse
hi ricky,
:crying: I did a factory reset yesterday and then encrypted the device with SD card mounted.
After completion of encryption, I removed the SD card and tried accessing files on my PC, they are accessible!
Am I doing something wrong here?
abhatr said:
hi ricky,
:crying: I did a factory reset yesterday and then encrypted the device with SD card mounted.
After completion of encryption, I removed the SD card and tried accessing files on my PC, they are accessible!
Am I doing something wrong here?
Click to expand...
Click to collapse
nope, thats the only possible way i know of sorry!
unless I am completely wrong I do not think the Xperia Z and ZL support SD Card encryption. I have a ZL and been testing with Exchange ActiveSync since my company requires SD Card encryption. I have not been able to get it to work unless I turn off that one policy. I can't understand why Sony has gone this route. Almost all the other vendors now allow encrypting the SD Card.
abhatr said:
Hi,
I recently encrypted my phone(Xperia Z) without SD card in it.
Now I have added a 64gb Sandisk card to my phone. Its working fine.
My question is, will the sd card also be encrypted?
How do I make sure that my sd card is also encrypted?
Cheers,
Amit
Click to expand...
Click to collapse
not only sdcard will not be encrypted but you should know that your internal memory (internal SD) has never been encrypted, you might think your files r encrypted inside the phone but they are not! only /data folder gets encrypted when the phone uses android's native encryption.

[Q] "SD Card damaged, Format" -- but not really damaged?

"SD Card damaged, format"
I get this error frequently but my SD card is new and not actually damaged. I have to mount the card to access my SD card. How can I fix this error? It is quite annoying and I'm worried that my SD card is actually damaged even though I can still access my files.
mindstormer said:
"SD Card damaged, format"
I get this error frequently but my SD card is new and not actually damaged. I have to mount the card to access my SD card. How can I fix this error? It is quite annoying and I'm worried that my SD card is actually damaged even though I can still access my files.
Click to expand...
Click to collapse
You can try and format it in the phone if it has no data on it yet.
I want to do that but I'm not sure which file system to use. I have files over 4GB, so FAT32 is out of the question. The default one may be the one that's causing the problems. Not sure which one is best for an Android phone, specifically a Galaxy S4.
mindstormer said:
I want to do that but I'm not sure which file system to use. I have files over 4GB, so FAT32 is out of the question. The default one may be the one that's causing the problems. Not sure which one is best for an Android phone, specifically a Galaxy S4.
Click to expand...
Click to collapse
If the Memory Card is 64GB it will default to extFAT. If it's 32GB defaults to FAT32.
Ok, I'll try that, thanks.

[Q] Lollipop SD Card problem

I was in ES file explorer trying to move files to my external sd card and all of the sudden I get an error saying task failed. I can't delete or copy anything to my external sd card now. It's a 64 gb Class 10 Sandisk Ultra micro sd card. I formatted it to Fat 32 a long time ago. I don't know what's going on. And now all of a sudden Root browser in Root Explorer doesn't work either. I can't write anything on my phone. I even reverted back to stock android to see if it was the rom problem and that wasn't it either. I'm completely lost in the dark now.
I'm running CM12 Beta on my G3 if that means anything.
Try getting into it via twrp I had a problem like that a while back and I tried twrp and it did work I ended up wiping via twrp. You can also try putting it in your computer and partitioning it. I my self repartitioned it and just deleted the current one and made a new one. It seems that some roms or apps ect can cause the software in the sd card to become corrupted also try mounting and unmounting it before you delete anything.
If you are rooted you need to download SDfix from the play store. It says kit kat but works with 5.0.X fine. SD write access is still limited in lollipop unless the app creator allows SD access. If you were on zv6 on a custom rom it was probably baked in.
Sent from my LGLS990 using XDA Free mobile app
1619415 said:
Try getting into it via twrp I had a problem like that a while back and I tried twrp and it did work I ended up wiping via twrp. You can also try putting it in your computer and partitioning it. I my self repartitioned it and just deleted the current one and made a new one. It seems that some roms or apps ect can cause the software in the sd card to become corrupted also try mounting and unmounting it before you delete anything.
Click to expand...
Click to collapse
Yeah I tried formatting it and everything. The micro sd card is stuck in read only mode. I think it's dead. I put the micro sd card back into my S4 and my S4 couldn't write to it either. I ran CHKDSK on command prompt and it said that there's a corrupt file on the mciro sd card but it can't repair it because the micro sd card is stuck in read only mode. I tried to format it usng the SDFormatter and nothing is working. I used google and people are saying that when a micro sd card goes into read only mode it means that it's about to die. :c sucks cause it was 64gb and I've only had it for a year.
I had 2 SanDisk 64GB cards go bad soon after I formatted them to FAT32. I don't know why, but it happened. SanDisk could not explain it, but they were really good about replacing the cards.
stopeject said:
I had 2 SanDisk 64GB cards go bad soon after I formatted them to FAT32. I don't know why, but it happened. SanDisk could not explain it, but they were really good about replacing the cards.
Click to expand...
Click to collapse
I would contact SanDisk about it but I got the SD card in October of 2013 from BestBuy as a birthday present and I don't have the original packaging or receipt so I don't have proof of purchase so I doubt I'd be able to get the micro sd card replaced.
Zure said:
I would contact SanDisk about it but I got the SD card in October of 2013 from BestBuy as a birthday present and I don't have the original packaging or receipt so I don't have proof of purchase so I doubt I'd be able to get the micro sd card replaced.
Click to expand...
Click to collapse
Chat with SanDisk. IIRC, they didn't ask me for a receipt, just where and when the card was purchased. It has a lifetime warranty, they will replace it and will even send you a free shipping label.
I have the same problem, I was copying files to my external sd card from internal and all of a sudden it said "moving files failed" and then nothing on my sd card would show up, though on storage information it shows that it's mostly full. But all the files are unreachable until I reboot then everything is fine while I'm listening to music, but if I stop for a while or try to move anything it messes up again. Anyone know of a fix?
I'm on lollipop, but the sd fix app would not do anything for me... Running Danvdh's Google Play Edition Rom
Sent from my GT-I9505G using XDA Free mobile app

Adoptable Storage SD card in PC card-reader?

Hi there,
I really apprecaite XDA Dev and it saved me countless of headaches! Thank you all!
I'm not very Android savvy so maybe you can help me with a questions: I was wondering if it's possible to put an SD card that's used/formatted as "adoptable storage" in an Android phone into an SD card reader on a PC/Win10? I read on several occasions that you should not remove the SD card from your phone when it's used as adoptable storage so I thought I might ask first
Obviously, it's not the same like having the SD card as external memory in an Android phone (which makes it easy to just take and plug it into your SD card reader). But what will happen in Windows? Will it not recognize the card? Will it prompt me to format the card? Thanks in advance!
Reasoning behind that is that my SD card seems to make problems on my HTC10 (HTC is losing it all the time) and I thought about maybe removing and "cloning" the SD on my Windows machine. I already purchased a new SD card but I don't want to reset my phone to factory settings to use it
[Any other ideas on that would be greatly appreciated too]
Thank you!
Sam
Nope. The phone encrypts the card and only it holds the key to unencrypt it. You have to format the card for the PC to recognize it.
es0tericcha0s said:
Nope. The phone encrypts the card and only it holds the key to unencrypt it. You have to format the card for the PC to recognize it.
Click to expand...
Click to collapse
Thank you very much! Noticed that when I just tried to put it in my PC. One approach that I have now is to try to "Migrate" the data back to internal storage at the time when the phone would recognize the card so I may switch off the adoptable storage configuration of my SD on my HTC10. Then I'm going to replace the SD and try to re-enable it. Thus I hope I can avoid the complete re-setup of my phone.
Strangely enough though, I noticed that the phone is also running without the (adoptable storage) SD card. Some apps are greyed out, some functions missing, but the basics work.
Is this normal?
Sam
SamADX said:
Thank you very much! Noticed that when I just tried to put it in my PC. One approach that I have now is to try to "Migrate" the data back to internal storage at the time when the phone would recognize the card so I may switch off the adoptable storage configuration of my SD on my HTC10. Then I'm going to replace the SD and try to re-enable it. Thus I hope I can avoid the complete re-setup of my phone.
Strangely enough though, I noticed that the phone is also running without the (adoptable storage) SD card. Some apps are greyed out, some functions missing, but the basics work.
Is this normal?
Sam
Click to expand...
Click to collapse
Yea, that's normal.
Need Help
I have an adoptable sd card which works fine. But now my phone bricks and i flash my phone with same stock rom but now i am unable to get my data. Is there any way to get my data back?

Recover data from a removed SD card.

Phone the card came out of is a Doogee S68 Pro. I configured the SD card to be internal memory and for the camera app to save pics taken to the SD card. I assumed when the SD card was full the camera would save back to the internal memory but instead it gave an error saying storage full and wouldn't take more photos. There was no option within the camera app to switch the save location to the internal memory so I removed the SD card. This forced the camera to now save to internal memory. BUT. Now when I put the SD card back in it doesn't read and says I need to format the card to use it. Same result if I put the card in different android phones or pug it into a PC. I don't want to format the card because I want the pictures on it.
How can I get the image files off this SD card? I've tried a few file recovery programs without any success. I don't have a linux machine, just a PC, and I have no experience with rooting phones or the like.
Probably card is in raw mode now.
What you mean by saying that you have configured card as an internal storage?
gotaquestion said:
Same result if I put the card in different android phones or pug it into a PC. I don't want to format the card because I want the pictures on it. How can I get the image files off this SD card? I've tried a few file recovery programs without any success. I don't have a linux machine, just a PC, and I have no experience with rooting phones or the like.
Click to expand...
Click to collapse
The External SD-card got encrypted as soon as you decided to use it as internal memory. It's no longer readable by any card-reader. IMHO forensic tools are needed to retain the data stored there.
a602820922 said:
Probably card is in raw mode now.
What you mean by saying that you have configured card as an internal storage?
Click to expand...
Click to collapse
When I pulgged it in the first time it gave two options, use as internal memory or as mass storage device. I choose the internal memory option.
Dam
jwoegerbauer said:
The External SD-card got encrypted as soon as you decided to use it as internal memory. It's no longer readable by any card-reader. IMHO forensic tools are needed to retain the data stored there.
Click to expand...
Click to collapse
I feared this was the case. I don't understand why the original phone cannot decrypt the card though as it would with a Samsung device. I have sent a support request tot he phone manufacturer so hopefully that bears fruit.
gotaquestion said:
When I pulgged it in the first time it gave two options, use as internal memory or as mass storage device. I choose the internal memory option.
Click to expand...
Click to collapse
Ok thank you for confirmation. As above card encrypted and furthermore you might have lost all the data of the phone as well as sms , apps, updates basically everything since you choose that option has been storage on ad card, and your internal storage was not used or useless in a different world, access has been denied to it.
Which tools have you tried to recover data?

Categories

Resources