Get data from sd card fromatted as internal(Android 6 Marshmallow) - Moto G 2015 Q&A, Help & Troubleshooting

I have a micro sd card 32gb Transcend which I use as android internal memory and was working for one year.
Yesterday suddenly stopped working and my Motorola moto g(3rd) device not recognizing it anymore.
When i insert this card and starting my device it shows that it "checking" it for 2 minutes and then it shows "no card".
I would like to get my data from this card(photos and videos) is there a way?
I have a second moto g device to which when i insert this card it shows "cannot read card" and asks format "as internal" or "as storage"?
If i choose "as storage" i will lose my data?
Please move this post to the appropriate thread.
thanks for helping

The card was formatted as internal before it was stopped being recognized. So the card is tied to that phone and is encrypted. No matter which of the options (adoptable or portable) you choose, the second Moto G (or any other marshmallow phone) will format it first deleting all the data. I am not sure if you can recover your personal data though, sorry.
Broadcasted from Zeta Reticuli

Welcome to the joys of adopted storage... It puts incredible amounts of read/write cycles on the card, causing "early" failure. Really this is not early failure, sd cards have limited writing capabilities and using adopted storage does this causing failure.
When you use adopted storage, the data is encrypted to that device and there is a decryption token generated that is stored on the device, for whatever reason that encryption token is no longer valid (likely due to a failure of the card) and the data is lost.
Your card can no longer be trusted, I would suggest replacing it.
This is another reason why regular backups of data, both manually and automatic, are essential in devices. I suggest implementing a backup plan in the future.

acejavelin said:
Welcome to the joys of adopted storage... It puts incredible amounts of read/write cycles on the card, causing "early" failure. Really this is not early failure, sd cards have limited writing capabilities and using adopted storage does this causing failure.
When you use adopted storage, the data is encrypted to that device and there is a decryption token generated that is stored on the device, for whatever reason that encryption token is no longer valid (likely due to a failure of the card) and the data is lost.
Your card can no longer be trusted, I would suggest replacing it.
This is another reason why regular backups of data, both manually and automatic, are essential in devices. I suggest implementing a backup plan in the future.
Click to expand...
Click to collapse
Is there any application that can get this "decryption token" from device and read the sd card?

makis_g3 said:
Is there any application that can get this "decryption token" from device and read the sd card?
Click to expand...
Click to collapse
Nope. The purpose of encryption token is to prevent the use of card in other systems. It will take a great deal of hacking to get the token and put it into another phone, that too if it's possible at all. The token is randomly generated AFAIK and is not supposed to be used between different devices.
Broadcasted from Zeta Reticuli

makis_g3 said:
Is there any application that can get this "decryption token" from device and read the sd card?
Click to expand...
Click to collapse
Not really... IF (and that is a big if) the data is intact AND you are rooted already, the token can be retrieved via an ADB superuser shell, then you need to have a modern Linux installation that has a microSD card reader and you need a fair understanding of using the command line and mounting an encrypted file system manually. The big if here is if the file system is not corrupted, but if it wasn't corrupted then the phone would be able to use it. Also, if you are not already rooted (actually, your bootloader unlocked) then the process will wipe the device including the decryption token.
http://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html

If I unistall from my device applications that used to be in sd card, is there any chance for sd card to work again?
Thanks for your replies

makis_g3 said:
If I unistall from my device applications that used to be in sd card, is there any chance for sd card to work again?
Thanks for your replies
Click to expand...
Click to collapse
No... If it can't read the card it can't use it. The fact it's checking for so long says it can do something with the card, but that operation if failing. If you are already rooted there maybe some options of manually doing an fsck but other than that the best you can hope for is to reformat the card in another device and salvage the media for non-critical usage as standard storage, but the data is lost
You could try rebooting several times, you might get lucky and it will mount by chance, but don't much hope in it.

My GF has a Moto G3 2015 (1GB RAM, 8GB storage) which I had configured with a 32GB SD-card as adoptable storage. After this month's OTA, the SD-card is no longer recognized and there seems no way to recover any of the data. It also checks a couple of minutes for the SD-card and then says 'no card'. If I put the card in an adapter and a Windows pc, it says the card is healthy in disk management but it does not show the card in Explorer, I guess due to the formatting and encryption.
This is the second time her phone has issues with adoptable storage. First time the internal storage was full while there was still plenty of room on the SD-card, but this was apparently because I had only configured the SD-card as adoptable storage after 6 months of use, which caused the internal storage to have filled first. I expected adoptable storage to treat the internal storage and SD-card as one, but this is not true. I gave the phone a factory reset and immediately set the SD-card to adoptable storage before installing any apps, this took care of the problem until now.
I would not recommend using this option on any phone. Just buy a phone with enough storage and use the SD-card as external storage which is what I do on my Honor 7. I had told her to wait for the 2GB/16GB version which was going to be released a couple of months later but you know women, once they have their mind on something, they can't wait .

Related

[Q] Help

Hi guys Really need some help...recently my device kept giving me problems such as mount a sd..even though i already have and sd card...
until 1 day i decide to format the sd card and delete everything in it...And put it back on my device...Funny things is my device still detects those files that ive deleted...any idea whats wrong ?
I think there is a partition in the table that looks as another sd
bonico said:
I think there is a partition in the table that looks as another sd
Click to expand...
Click to collapse
I agree with this. The SD card is likely partitioned into several (at least two) partitions, and at least one of them still has the files you are seeing. I would open the card up in windows and see what you get. If you only get one mounted partition in Windows, go ahead and open the Admin Tools/Computer Management / Storage and you will likely see a previously hidden partition there that you can then remove, prior to reformatting the whole card.
Often these weird partitions are the result of the card manufacturers wanting a special partition for their "value added" software that comes on the card. Usually this is crapware, and the strangely formatted cards can cause problems just like what you are seeing. I've had this very problem with some offbrand thing I bought at OfficeMax, that came with "one click backup software" and it took me a while to figure out how to exorcise this demon.
Marc
I suggest only formatting your external sdcard as fat32. If there are still references to old files, you could also try formatting your cache partition.
Frankenscript said:
I agree with this. The SD card is likely partitioned into several (at least two) partitions, and at least one of them still has the files you are seeing. I would open the card up in windows and see what you get. If you only get one mounted partition in Windows, go ahead and open the Admin Tools/Computer Management / Storage and you will likely see a previously hidden partition there that you can then remove, prior to reformatting the whole card.
Often these weird partitions are the result of the card manufacturers wanting a special partition for their "value added" software that comes on the card. Usually this is crapware, and the strangely formatted cards can cause problems just like what you are seeing. I've had this very problem with some offbrand thing I bought at OfficeMax, that came with "one click backup software" and it took me a while to figure out how to exorcise this demon.
Marc
Click to expand...
Click to collapse
+1

Moto G 2015 - Photo Recovery

Hello Everyone. I have a MOTO G 3rd Gen with a 32 GB Class 10 Sandisk sdcard. I originally posted this issue on the Lenovo Forum MOTO G 3rd Gen - Photo Recovery (can't post a direct link just yet), where they suggested that I look here for advice.
I originally used my sdcard for portable storage, although I had to periodically move my photos from internal storage to the sdcard, I was satisfied with the operation of my phone. However, as I added a few apps, I started to have some issues with running out of space in internal storage IIRC.
Earlier this year, it appears that I picked up a virus, which caused Chrome to always want to open to what seemed to be a malicious page (don't recall exactly what now). I decided to do a factory reset using the Settings option to return to a clean installation of Android. I decided at that time to configure the sdcard as extended internal storage, and the process appeared to work properly.
A few months later, I started getting messages informing me that an app update failed because I had run out out storage. After some investigation, it looked like most (all?) of my apps were continuing to use the built-in internal storage rather than the sdcard's extended storage. I tried uninstalling my apps an then reinstalling them - hoping that reinstalled apps would take up residence on my sdcard but they did not. However, it looked like I had uninstalled a few too many programs and my phone lost a lot of its functionality.
One of the functions that it lost was the ability to connect to my PC with the USB cord. Another was the ability for my google contacts to sync with the phone. Yesterday, I tried everything I could thing of to back up my data but I could not figure out how to get the USB to work properly. I decided that I would do another factory reset and removed the sdcard as I knew a reset would wipe all of my data. I removed my sdcard but the factory reset through Settings did not work this time and I instead had to do a hard factory reset. My phone is now working properly with a minimal number of installed apps.
When I reinstalled my sdcard, my phone does not recognize it and wants to format both as portable and internal storage. I was hoping that it would pick up where it left off.
As a last resort, I thought I might have to format my sd card and then try to recover deleted image files. Do you have any advice about recovering the photos on my sdcard?
The last reply on the Lenovo forum was:
When you formatted the card as internal/adopted the card was encrypted amd the key was stored on the phone in a secure location. A reset has deleted the key.
Your data on the sd card is not recoverable as the card is encrypted and the key is lost.
Click to expand...
Click to collapse
Essentially, when I configured my phone to use my sdcard as extended internal storage, all I ended up with was encrypted portable storage. I would rather that there was a 3rd option for having unencrypted extended internal storage.
How would I get this into the Android developers suggestion box?
TP380Z said:
The last reply on the Lenovo forum was:
Essentially, when I configured my phone to use my sdcard as extended internal storage, all I ended up with was encrypted portable storage. I would rather that there was a 3rd option for having unencrypted extended internal storage.
How would I get this into the Android developers suggestion box?
Click to expand...
Click to collapse
No, you ended up with encrypted internal storage... The fact that you didn't understand it is the real issue.
Adopted storage is tied to not only the device, but the current installation... When an sd card is adopted as internal storage, a encryption key is generated semi-randomly and the file system is of the card becomes ext4 and encrypted, the system is decrypted automatically on boot because the key is stored in the phone. If you factory reset, it wipes your internal storage, which in this case is your sd card, and you would be fine. If you remove the card and factory reset, the key is gone forever and you have to reformat the card for it to be usable. So everything you were told in the Lenovo forums was correct, and the files are no longer recoverable by any known means.
your SD card would be nolonger useful , sorry to break this to you bro..
if your card is now encrypted state, i heavily doubt it would work again..talking of recovering photos,when encrypted.. HELL NO! it cant..
what i do is :
i always keep my memorycard as Portable, but not as internal to avoid such problems..
incase if i have formatted as internal, then while formatting or resetting.. i would take full bakup, and then Format as portable, then carryon resets..
i know these encryptions would give such a pain..
next time takecare of these issues..
suggestion: what i do is i install Googlephotos, it takes a backup of every photo & video which i have in either SDcard/internal .. so i would take necessary files while taking backup, to save time..
next time you try using GooglePhotos, it takes backup when i keep my phone in charge, (note: my internet is unlimited- so its ok for me)
acejavelin said:
No, you ended up with encrypted internal storage... The fact that you didn't understand it is the real issue..
Click to expand...
Click to collapse
Thank you for the very thoughtful reply. I thought that I understood my two sdcard formatting options but I obviously did not. When I first installed my sdcard, I selected portable storage as I did not want my sdcard to be encrypted. Only after discovering that the internal storage of my phone was inadequate for my very limited number of installed apps did I switch to encrypted adopted storage.
If I understand you correctly, the reason that the adopted storage storage is encrypted is because the internal storage is encrypted.
My expectation was that the phone would seamlessly treat the adopted storage as internal storage so I am still at a loss to understand why my phone would not automatically install apps into the available in the adopted storage.
TP380Z said:
Thank you for the very thoughtful reply. I thought that I understood my two sdcard formatting options but I obviously did not. When I first installed my sdcard, I selected portable storage as I did not want my sdcard to be encrypted. Only after discovering that the internal storage of my phone was inadequate for my very limited number of installed apps did I switch to encrypted adopted storage.
If I understand you correctly, the reason that the adopted storage storage is encrypted is because the internal storage is encrypted.
My expectation was that the phone would seamlessly treat the adopted storage as internal storage so I am still at a loss to understand why my phone would not automatically install apps into the available in the adopted storage.
Click to expand...
Click to collapse
No, anytime the SD card is adopted as internal storage it is encrypted... This is a privacy/security measure by Google and is not optional and it doesn't matter if your original internal storage was encrypted or not. Adopted storage basically brings the SD card into the "internal family" and it cannot be used elsewhere. Period (OK, yes, I know there is a way to get the encryption key and mount the volume in Linux, but it is still not perfect).
The reason it still wasn't treated as you expect is probably 2-fold... First, the Moto G3 has a tendency to miss the last step of adoption, called data migration, which is the act of moving existing data to the card and it needs to be initiated manually in many cases. Until this is done, the card is not used by Android except when you specify it because it doesn't think the card is ready yet. This can be done in Settings - Storage then selecting the 3 dot menu and Migrate Data. If this option doesn't appear or is grayed out, then the migration completed successfully (or you are using the card as portable storage, obviously).
The second reason is apps themselves... some of them have not been fully updated to the API standard used by Marshmallow and just don't honor the request to use the card as internal, and Android has a facility to allow this to happen for compatibility. It just uses the internal storage of the device so the app works. Some apps specifically request to be only on real device internal storage for whatever reason as well.
nandakis4 said:
your SD card would be nolonger useful , sorry to break this to you bro..
Click to expand...
Click to collapse
Thanks. Your sympathy is appreciated.
nandakis4 said:
if your card is now encrypted state, i heavily doubt it would work again..talking of recovering photos,when encrypted.. HELL NO! it cant..
Click to expand...
Click to collapse
I put my sdcard back in my phone just now and it did not recognize it. However, when I went to Settings > Storage and USB, I had no problem formatting it as portable storage.
nandakis4 said:
what i do is :
i always keep my memorycard as Portable, but not as internal to avoid such problems..
incase if i have formatted as internal, then while formatting or resetting.. i would take full bakup, and then Format as portable, then carryon resets..
Click to expand...
Click to collapse
I expect that this will once again cause me to have app storage space issues. I only ran into problems with data backups once I started uninstalling apps. I had hoped that uninstalling and then reinstalling apps would then cause the phone to correctly place them into adopted storage. I cannot believe that I was so careless as to not have downloaded my photos earlier but here we are.
After apparently successfully formatting my sdcard as portable storage, I went back and converted to adopted internal storage (also apparently successfully) just now. I've re-installed MS OneNote and my phone is reporting that is taking up 85.70 MB in Internal Storage. When I go to Storage and USB, I see that 44.46 MB is used of 28.32 GB of SanDisk SD Card and 3.00 GB of 4.53 GB is being used of Internal Storage. When I reinstall 63.40 MB MS Word, I see that I'm now using 2.97 GB of Internal Storage and 173 MB of SanDisk SD Card.
[As of 1:50 pm, my phone is now reporting using 3.00 GB of Internal Storage and 137 MB of SanDisk SD Card.]
It looks like adopted internal storage is working properly. I never previously suspected that there was a problem with adopted storage and installed several large apps. The storage space problem surfaced only when there was a MS OneNote update that would not install because of insufficient internal storage space.
nandakis4 said:
suggestion: what i do is i install Googlephotos, it takes a backup of every photo & video which i have in either SDcard/internal .. so i would take necessary files while taking backup, to save time..
next time you try using GooglePhotos, it takes backup when i keep my phone in charge, (note: my internet is unlimited- so its ok for me)
Click to expand...
Click to collapse
Thanks! I will try GooglePhotos. I hope I can set it up to only do backups when I'm connected to WIFI.

Corrupted my adopted SD storage during 5.1 update - is reformat my only option?

The update process hung for ages, so I restarted the device. This seems to have resulted in a corrupted sd card - which was being used as adoptable storage.
The tablet now no longer recognises that there's even an sd plugged in. If I connect it to my computer it seems like the partition table is still all there, but something fundamental has broken making it impossible to use the sd.
A brief Google seemed to suggest that, if it was even possible to recover the card, it would require reformatting. I'll do that if I have to, but I was hoping there was another option...
phunni said:
The update process hung for ages, so I restarted the device. This seems to have resulted in a corrupted sd card - which was being used as adoptable storage.
The tablet now no longer recognises that there's even an sd plugged in. If I connect it to my computer it seems like the partition table is still all there, but something fundamental has broken making it impossible to use the sd.
A brief Google seemed to suggest that, if it was even possible to recover the card, it would require reformatting. I'll do that if I have to, but I was hoping there was another option...
Click to expand...
Click to collapse
Most probably the update was taking long because ur sdcard isnt fast. I own a shield k1 with a 32gb extreme pro sandisk sdcard as adoptable storage full of games, the whole update took like 10min including the optimising apps part. And rebooting it midway of course corrupted its data that is encrypted specifically to your device, that's why it PC cant view its data (even the parts not corrupted). So ur best choice would be to format it.
Unfortunately, I think it must be properly dead. I tried to format it - in fact I didn't even get that far. When I went to delete the partitions in order to create and format a new one, cfdisk said the write had all worked, but, in fact, the old partitions remained intact. I tried some other software to re-partition it, but the result was the same.
no problem
use this app on windows ¨HP USB Disk Storage Format Tool v2.1.8 Español (Portable)¨
sure recover it
open with administrator
ever when i use win32diskimager , i need tu use only this program to recover all gigabites of my sd and usb memorys
sorry for my english im from spain!
good luck!!

SD card stuck on checking

Hi guys,
I have a samsung sm-t520 which I recently resurrected with lineage os 14.1-20190104-Nightly-n2awifi. I think everything installed correctly, but after I inserted my sd card I put it as an internal storage. Later on I honestly don't know what happened, but the card wasn't being seen by the os. I am getting an sd card checking... I just wiped the system, it recognized the card for a second but after I selected format as portable, I got to where I was in the first place with sd card checking stuck. And nothing happens. I tried formatting the card through pc, but it couldn't (unable to format, I even tried with disk manager). There's nothing on the card, I tried to format in twrp but depending what I do it gives me error 1 after failed formatting. I'm not sure what I can do with it. It's a 64gb card. When I try to change the file type on the sd card twrp just keeps working on it and then it reboots to the os normally. (I'm not sure now if it's not happening randomly, really frustrating)
Help much appreciated.
dziech said:
Hi guys,
I have a samsung sm-t520 which I recently resurrected with lineage os 14.1-20190104-Nightly-n2awifi. I think everything installed correctly, but after I inserted my sd card I put it as an internal storage. Later on I honestly don't know what happened, but the card wasn't being seen by the os. I am getting an sd card checking... I just wiped the system, it recognized the card for a second but after I selected format as portable, I got to where I was in the first place with sd card checking stuck. And nothing happens. I tried formatting the card through pc, but it couldn't (unable to format, I even tried with disk manager). There's nothing on the card, I tried to format in twrp but depending what I do it gives me error 1 after failed formatting. I'm not sure what I can do with it. It's a 64gb card. When I try to change the file type on the sd card twrp just keeps working on it and then it reboots to the os normally. (I'm not sure now if it's not happening randomly, really frustrating)
Help much appreciated.
Click to expand...
Click to collapse
Here is a method discovered by another member here to fix a corrupted sdcard that was used as adoptable storage.
https://forum.xda-developers.com/general/help/corrupted-sd-card-adoptable-storage-t3801250
For future reference, adoptable storage has to be reversed before factory resetting or reflashing the device, then you have to go through the adoptable storage setup again.
In my opinion(many others would agree), using adoptable storage or any other similar feature that uses external as internal is not worth the hassle and exposes your important data to corruption very easily. Also, when using adoptable storage, the device will not boit if the sdcard is removed or corrupted. It can even cause the device not function at all.
Sent from my LGL84VL using Tapatalk
Droidriven said:
Here is a method discovered by another member here to fix a corrupted sdcard that was used as adoptable storage.
https://forum.xda-developers.com/general/help/corrupted-sd-card-adoptable-storage-t3801250
For future reference, adoptable storage has to be reversed before factory resetting or reflashing the device, then you have to go through the adoptable storage setup again.
In my opinion(many others would agree), using adoptable storage or any other similar feature that uses external as internal is not worth the hassle and exposes your important data to corruption very easily. Also, when using adoptable storage, the device will not boit if the sdcard is removed or corrupted. It can even cause the device not function at all.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Thank you for the information. Well, I have worked with Linux last time maybe 10 years ago so I don't really understand what is happening in this post. Is there a translation available anywhere to windows? ddrescue is available on everything but windows from what I'm seeing - great... Also, is there just a way to reset the card so I can use it in an automated way?

Encrypted SD Card

Hi,! I have a galaxy note 8, this is the problem I have:
I encrypt my sd card from the mobile (sandisk extreme 32gb sd card) android system version 9,
I have a problem right now, it doesn't let me decrypt the sd card,
when I'm going to decrypt, I don't get that option, I get the option to encrypt... (as if I hadn't encrypted it before)
I do not understand what could have happened, I can enter without problems and see the files of the sd card, but when going to open a video or file of the sd card, it is not seen (because it is supposedly encrypted)
I hope someone can help me
Marchiu said:
Hi,! I have a galaxy note 8, this is the problem I have:
I encrypt my sd card from the mobile (sandisk extreme 32gb sd card) android system version 9,
I have a problem right now, it doesn't let me decrypt the sd card,
when I'm going to decrypt, I don't get that option, I get the option to encrypt... (as if I hadn't encrypted it before)
I do not understand what could have happened, I can enter without problems and see the files of the sd card, but when going to open a video or file of the sd card, it is not seen (because it is supposedly encrypted)
I hope someone can help me
Click to expand...
Click to collapse
U should of never done that in the first place like who encrypts a SD card
Sent from my moto g(7) play using Tapatalk
informative post
Hi, I have been checking all the files on the sd card thoroughly, it seems that it has not got to encrypt all the files, I can listen to some loose songs, and see some loose things, but in a percentage I can agree to see 15% of the sd card 85% is encrypted, is it possible that it has encrypted badly? And is it possible that security patches, having installed it had to do with this problem of decryption? (it just happened I installed after encrypting in android security patch), hopefully someone can help me

Categories

Resources