Need to recover ext4 protected SD card - Android Q&A, Help & Troubleshooting

Hello there.
I have android phone with 9.0 firmware. When I bought the SD card and installed it, my phone asked me how I would use it.
I selected this variant:
Internal storage:
You can store apps and data for this device only. If you move the SD card to another device, the SD card will be erased ("formatted"). After the SD card is erased, you can use it with the other device.
Click to expand...
Click to collapse
The problem is that:
I got bootloop after some manipulations with firmware. So I had to make Factory Reset. Before that I've removed SD card from phone. And now I can't use this SD, because it's ext4 and something like "protected". My PC can't open disk even with ext4 reading tools. When I install this SD to the phone, it asks to formate SD and select the option of use.
How can I get back my data from this SD card?

Related

[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.

no external storage

Flashed this rom:
http://forum.xda-developers.com/showthread.php?t=2235446
I am getting this error of No external storage available on all the apps that require internal storage e.g. In Gallery, it says no external storage available, same in camera, explorer e.t.c
Have I done something wrong?
Do you have an sd card?
I do have an sd card, currently, the player only works with the sd card.
somehow the sd card is being treated as the internal sd card? this is completely weird. As soon as I take out the sd card, it fails to recognize the internal card.
CookieMaker said:
somehow the sd card is being treated as the internal sd card? this is completely weird. As soon as I take out the sd card, it fails to recognize the internal card.
Click to expand...
Click to collapse
Find "vold.fstab. (system/etc)" open it, and change "/mnt/sdcard/sdcard1" to "/mnt/sdcard/sdcard0."
CookieMaker said:
somehow the sd card is being treated as the internal sd card? this is completely weird. As soon as I take out the sd card, it fails to recognize the internal card.
Click to expand...
Click to collapse
1 can you go setting--- memory-- check what is available and send the scren shoot.
2 when you wipe in recovery no any strange message at the screen? like can't read or open mmcblk0p 15....
I got this same kind of problem but i dont have and external Sd, but i want to save the pictures on the phone it self is there a way to change this? Because when i open the camera ap it says, no external memory.
I had the same issue
I had the same issue.
Go into recovery mode and try to mount emmc. That's what my external SD was renamed.
It was fine when I loaded the ROM but it flaked out after I loaded a different kernel.
I would recommend using X-plore from the Play Store to navigate your files. It's the best way to explore, move etc.
Try format SD-card:
Go to CWM -> mounts and storage -> format sdcard

[Q] SD CARD Issue

Hi I have a problem with my 64gb sd card.
Phone tells me error: have to reformat.
PC the same
when i start into bootloader I can access the sd card. Backup the phone to it read from the card no problem.
What can i do to recover the sd card data? Afterwards i can reformat but forst i have to get the data that is actual on there and seems also accessible.... but not by android or Win
deady said:
Hi I have a problem with my 64gb sd card.
Phone tells me error: have to reformat.
PC the same
when i start into bootloader I can access the sd card. Backup the phone to it read from the card no problem.
What can i do to recover the sd card data? Afterwards i can reformat but forst i have to get the data that is actual on there and seems also accessible.... but not by android or Win
Click to expand...
Click to collapse
I had the same problem but with 16GB
On SII specification you can read that it supports sdcards up to 32GB
But I'll try to help you
Check SDCard on another computer (if it reads it, make backup on HDD, Pendrive, etc. and then format it on FAT32) or another phone (it's not important on which). If it won't help, I'll think about it

[Q] Hypderdrive ROM on MI1 has "Renamed" SD Card

I've installed Hyperdrive via SafeStrap today. It seems that when you create that Rom Partition, the OS seems to have been configured so that "SD Card" is actually internal device storage and in order to actually get to the External SD Card I you have to go to Root -> Storage -> ExtSDCard directory.
Also, when I plug it in to the computer, all I can see is the External SD card and this new "fake" SD Card partition in the computer. I can't even get to the Root of the phone.
The problem is things like Pictures and some applications only allow you to choose "Device" or "SD Card" for storage and no matter what you choose it's going to the same place and this virtual SD Card Partition is almost out of space!
Help!
Any help?
jbright44 said:
I've installed Hyperdrive via SafeStrap today. It seems that when you create that Rom Partition, the OS seems to have been configured so that "SD Card" is actually internal device storage and in order to actually get to the External SD Card I you have to go to Root -> Storage -> ExtSDCard directory.
Also, when I plug it in to the computer, all I can see is the External SD card and this new "fake" SD Card partition in the computer. I can't even get to the Root of the phone.
The problem is things like Pictures and some applications only allow you to choose "Device" or "SD Card" for storage and no matter what you choose it's going to the same place and this virtual SD Card Partition is almost out of space!
Help!
Click to expand...
Click to collapse
That's the way the Stock ROM works - /mnt/sdcard is the internal storage, /mnt/extSdCard is the external storage.
You can't mount the root because it's a Linux EXT4 filesystem. Windows doesn't understand it. Again, that's normal behavior.
My pictures, music, Ti Backup files, etc. are stored on my external SD card, so it's quite possible to do that.
Fixes and Question
Wrong thread, could not delete. Sorry.

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