SD card data not accessible. - E 2015 Q&A, Help & Troubleshooting

Hi,
Today I flashed the stock rom on my Moto e2 3g for some work. After the work was done, I restored the full nandroid backup I had taken before flashing the ROM. Now, my SD card, which was formatted as internal is no more getting detected. When I insert it, the phone gives me an error stating unsupported SD card. When I tap on it, it asks me to format it. I cannot access the files through my phone. Can anybody tell me how I can get my data back or access the files? I'm currently on AOSPExtended 4.3. the backup taken was also of this rom.
Thank you in advance!
Edit 1: I had taken the backup of the key. I put the key in /data/misc/vold. Now my SD card gets detected as internal, but still I'm not able to access any data.
Edit 2: I can access the SD card in twrp by going to /external_sd/media/0. But I cannot access it in AOSPExtended.

I'm not sure of the model number, so please confirm if the stock you installed was MM. If you've partitioned your card separately for Adoptable storage then chances are that it will not be visible as a card, although check in Storage if the phone is able to see the card. If you can access your data through TWRP, best bet is to take a backup format your card as FAT and start fresh.

tristar said:
I'm not sure of the model number, so please confirm if the stock you installed was MM. If you've partitioned your card separately for Adoptable storage then chances are that it will not be visible as a card, although check in Storage if the phone is able to see the card. If you can access your data through TWRP, best bet is to take a backup format your card as FAT and start fresh.
Click to expand...
Click to collapse
Yes, it was accessible through twrp. I did take the backup and formatted it. I did it the very same day.
Anyways thank you for replying.

Related

CM10 SD card & Gapps trouble installing

So I have an Hboot 1.15 CM10 Nightly installed on my evo, but i cannot access the SD card. Whenever I try to download something, it says I need external storage to download it, or even if I do a transfer from my computer to the SD card, I cannot see the sd card folder in TWRP to install gapps.
Is there any way to use my internal storage, or reconfigure my sdcard? Everything else works fine, but just really having trouble with this.
Ps. forgot to mention, I have S-ON, so maybe that is the problem?
midfieldmaestro said:
So I have an Hboot 1.15 CM10 Nightly installed on my evo, but i cannot access the SD card. Whenever I try to download something, it says I need external storage to download it, or even if I do a transfer from my computer to the SD card, I cannot see the sd card folder in TWRP to install gapps.
Is there any way to use my internal storage, or reconfigure my sdcard? Everything else works fine, but just really having trouble with this.
Ps. forgot to mention, I have S-ON, so maybe that is the problem?
Click to expand...
Click to collapse
The only problem with s-on is that you dont have full access to nand. Its not that big a deal considering there are plenty of ways to flash with s-on, just a few extra steps. Anyway did you wipe the phone prior to flashing cm10, you can either use a wipe script or you can manualy wipe by going to factory reset, cache and dalvik cache. When moving from a different rom, especially sense to aosp you need to wipe the phone to get rid of anything left over that could cause problems. There is also a zip that was recently posted that will re-write the locations for internal and external sd, I flashed it but Im only seeing the external sd now, still it helps that my external is better recognized
om4 said:
The only problem with s-on is that you dont have full access to nand. Its not that big a deal considering there are plenty of ways to flash with s-on, just a few extra steps. Anyway did you wipe the phone prior to flashing cm10, you can either use a wipe script or you can manualy wipe by going to factory reset, cache and dalvik cache. When moving from a different rom, especially sense to aosp you need to wipe the phone to get rid of anything left over that could cause problems. There is also a zip that was recently posted that will re-write the locations for internal and external sd, I flashed it but Im only seeing the external sd now, still it helps that my external is better recognized
Click to expand...
Click to collapse
Yea everything was wiped. What I ended up doing was mounting the SD card from TWRP and for some reason it was able to detect it then. So now I am able to use the stock google apps, but I still can't use the camera, because it requires the SD card, so something fishy is going on with recognition of it. I highly doubt its a corrupt memory card because I just went out and bought it. (its a 16 gb class 10 SDHC sandisk card).
midfieldmaestro said:
Yea everything was wiped. What I ended up doing was mounting the SD card from TWRP and for some reason it was able to detect it then. So now I am able to use the stock google apps, but I still can't use the camera, because it requires the SD card, so something fishy is going on with recognition of it. I highly doubt its a corrupt memory card because I just went out and bought it. (its a 16 gb class 10 SDHC sandisk card).
Click to expand...
Click to collapse
idk im on cm10 with a 64gb class 10 and it sees it fine.
ah..i cant believe that slipped my mind, the latest TWRP does support both cards, if you dont mind somewhat crippling the filesystem, you can flash that zip i was talking about earlier, it goes into the filesystem and erases the shortcuts for the internal and external sd and then rewrites them, i only had partial acces to my external the first time and after flashing i seem to be somewhat locked out of my internal (file explorer will not venture outside external sd) but the rom seems to run happily now
om4 said:
ah..i cant believe that slipped my mind, the latest TWRP does support both cards, if you dont mind somewhat crippling the filesystem, you can flash that zip i was talking about earlier, it goes into the filesystem and erases the shortcuts for the internal and external sd and then rewrites them, i only had partial acces to my external the first time and after flashing i seem to be somewhat locked out of my internal (file explorer will not venture outside external sd) but the rom seems to run happily now
Click to expand...
Click to collapse
I will look into it, is there any way to switch the camera to use internal storage without going to the camera app? Whenever I do go to camera, it just pops up and asks for an external memory card
Maybe my card is formatted wrong? Is there a special way to format the card so I can use it?
well it may be that cm10 does not like the way your card is formatted but if it has no access to the card at all then formatting it will not help. Are you on the latest nightly? There are some issues with the sd cards but I havent had CM10 flat out refuse my sd card. Since TWRP can read and write to both cards you can try rebooting into recovery and reformat (wipe) the card, be sure any backups may have you have are safe

[Q] Formatted SD Card: lost internal card!!

Help!
I moved to GS2 and wanted to use my SD card I used on another phone; it had an ext4 partition and a FAT32 partition.
All went well.
Then I decided to remove the ext4 partition and have the SD fully formatted with FAT32. I tried both Primary and Logical, tried NTFS too and even recreated and ext partition with ClockwordMod, but I end up always the same way, that is if I put the card in the phone and then boot, it freezes, terminate processes and does not see ANY internal or external SD card!!
Please help! How can I get back to a working full FAT32/NTFS card?
Thank you!!!
Dude looks like you have really messed up not only your phone, but also the way you put your problem. How is it possible that you boot up your phone and still you cant see at least your internal SD... Anyhow my suggestions are:-
1. Remove SD card and boot normally without SD card. See if your internal shows up. If YES, format the SD card in PC and put back in cell.
2. If the phone still crashes, you need to clear all caches in Recovery. Do and see what happens. Also tell us if you are rooted? what ROM are you using..
3. Apart from the SD, does your phone work normal?
Bro, your query is kinda too complex and one of the noobiest one i have come upon in a long time.
Sorry for not having said before: without the SD the phone boots normally. AND however I format the SD card, is it always readable in Windows 7.
About your question "How is it possible that you boot up your phone and still you cant see at least your internal SD", it is what I'm wandering too... It looks like the "badly" formatted SD messes the partition logic in Android.
Now I'm trying this: deleted all partitions, created a new unformatted one trying to format within phone.
Thanks for help and patience!
Yes! It worked!! The phone saw the unformatted card and prompted for action; I made it format and now it's back

[Q] Just encrypted my device, did it encrypt external SD card also?

I'm a custom ROM on Android 4.2.2 and used the Settings > Privacy > Encrypt phone feature. What exactly did this do, did the encrypt the internal SD card, the external SD card, the entire filesystem (i.e. root of filesystem), or some combination?
If it didn't encrypt my external SD card, how can I do so? But if it did, how can I access the contents of my external SD card (after providing my PIN/password) from a laptop when I put the SD card in it? Would I just mount it like I do any other encrypted USB drive with LUKS?
If not, then isn't it risky because if my phone gets broken and I must start from a new ROM, then I've lost my most recent data (backups could be a few days old). Or lets's say someone flashes a new ROM, the new ROM wouldn't be able to read the card, or would it be able to if you use the same PIN/password?
iamthemandroid said:
Or lets's say someone flashes a new ROM, the new ROM wouldn't be able to read the card, or would it be able to if you use the same PIN/password?
Click to expand...
Click to collapse
Encrypted internal /storage/sdcard0 cannot be read after installing new ROM while using same password, just checked.
m.

[Q] Backups

Just wondering where a nandroid backup should be stored and if it matters where it is stored? I tried saving my stock rooted backup to my ext sd card awhile back, and now when I try to restore from backup in twrp there is no information found. I then tried to factory restore from twrp and reset my phone as is. It constantly bootloops until i pull the battery out.
Sent from my Hyperdriven Core Verizon S4 using XDA Developers App
What do you mean no information is found? I believe Twrp checks the internal sd by default and wont show your backup in your external sd until you change to look for it in your micro sd card. When you boot into recovery and and then hit restore at the top does the storage bar say Internal storage? If so tap it and change it to micro sd card then your backups should be displayed.
obviousfrog said:
Just wondering where a nandroid backup should be stored and if it matters where it is stored? I tried saving my stock rooted backup to my ext sd card awhile back, and now when I try to restore from backup in twrp there is no information found. I then tried to factory restore from twrp and reset my phone as is. It constantly bootloops until i pull the battery out.
Sent from my Hyperdriven Core Verizon S4 using XDA Developers App
Click to expand...
Click to collapse
You need to make sure that your Recovery is compatible (i.e., can read) the format of your external card. You might have a 64gb external card formatted in exFAT which TWRP can't read (I don't use TWRP so I don't know if that's the case).
If the issue is compatibility between your card format and your recovery, I would recommend copying the backup off your card onto a PC, reformatting your sd card to FAT32, move the backup back to the card, and try again.
PS - in re: your ? on where to save backup: Internal storage is always 'safest' from a recovery perspective (i.e., your device will always find it); but these days, nandroid backups could be 5GB or more, consuming a huge chunk of space, especially if you only have 16gb to start with. So I think most people end up using their external card.

TWRP dont work with SD Card

When i have my SD installed on my phone and try to enter on recovery mode (TWRP) it gets stuck on TWRP Boot logo, i need to pull my battery to shutdown the phone.
if i remove the SDCard and try to boot into recovery it works without any problem.
i installed TWRP through AutoRec from Play Store.
Now i'm on marshamallow and i use the SD Card as internal memory, so i dont know if i can remove it without cause any problems just to use TWRP.
jesus.sea said:
When i have my SD installed on my phone and try to enter on recovery mode (TWRP) it gets stuck on TWRP Boot logo, i need to pull my battery to shutdown the phone.
if i remove the SDCard and try to boot into recovery it works without any problem.
i installed TWRP through AutoRec from Play Store.
Now i'm on marshamallow and i use the SD Card as internal memory, so i dont know if i can remove it without cause any problems just to use TWRP.
Click to expand...
Click to collapse
When you decide to make your sd card "Adoptable (internal) Storage" your phone not only incorporates the card as internal, but it also ENCRYPTS your sd card. Now the only device that will read your card is your phone. Try and load it on a desktop or your laptop and it won't even recognize your card. Because it encrypts your SD CARD, TWRP cannot see your card and thus gets stuck on the TEAMWIN screen when booting into recovery. When you remove the card and reboot into recovery, then TWRP works again. How I fixed it is to go to storage, and settings and change the card back to "Transportable (extrnal) Storage." The phone will reformat your card again (thus erasing everything on the card) and make it external and able to be read from any device (laptop, desktop, etc.). This will also allow TWRP to see the card again and will not freeze on TEAMWIN screen when booting into recovery. Also, if you revert the sd card back to Transportable Storage, your phone will "remember" that you had an SD CARD assigned to Adoptable Storage. You need to click on that SD CARD and choose "FORGET" card. this will remove that SD CARD and assign your newly reformatted Transportable SD CARD as the only card on your phone. If you don't do this "FORGET" step, your camera, your gallery will force close everytime you try to open it because it is looking for the Adoptable SD CARD that you got rid of yet your phone still thinks it exists. Once you "FORGET" that SD CARD, your phone will function properly. I learned all this the hard way and hours and hours of reading.
TWRP - Does hybrid partitioning possible after SD Card reverting Int->Ext allocation?
texasjmzmd said:
When you decide to make your sd card "Adoptable (internal) Storage" your phone not only incorporates the card as internal, but it also ENCRYPTS your sd card. Now the only device that will read your card is your phone. Try and load it on a desktop or your laptop and it won't even recognize your card. Because it encrypts your SD CARD, TWRP cannot see your card and thus gets stuck on the TEAMWIN screen when booting into recovery. When you remove the card and reboot into recovery, then TWRP works again. How I fixed it is to go to storage, and settings and change the card back to "Transportable (extrnal) Storage." The phone will reformat your card again (thus erasing everything on the card) and make it external and able to be read from any device (laptop, desktop, etc.). This will also allow TWRP to see the card again and will not freeze on TEAMWIN screen when booting into recovery. Also, if you revert the sd card back to Transportable Storage, your phone will "remember" that you had an SD CARD assigned to Adoptable Storage. You need to click on that SD CARD and choose "FORGET" card. this will remove that SD CARD and assign your newly reformatted Transportable SD CARD as the only card on your phone. If you don't do this "FORGET" step, your camera, your gallery will force close everytime you try to open it because it is looking for the Adoptable SD CARD that you got rid of yet your phone still thinks it exists. Once you "FORGET" that SD CARD, your phone will function properly. I learned all this the hard way and hours and hours of reading.
Click to expand...
Click to collapse
Thanks a lot texasjmzmd for your diagnostic and fix, very helpful! TWRP documentation says nothing about possible hybrid partitioning Int+Ext to extend Internal memory keeping External capacity, except the menu proposing to allocate some memory (with no precision about memory units bytes/kbytes/mbytes). Some enlightment about that issue would be more than welcome : a link to documentation or any related post.

Categories

Resources