[Q] encrypted external SDcard is accessible in recovery without entering password - Android Q&A, Help & Troubleshooting

I'm trying out encryption, and have just encrypted the external SD card for now.
My goal is to encrypt both the external and internal cards.
But to my surprise, I've noticed that the external card is accessible (I can read its contents) from recovery (CWM) without having to type any password...
Which is mind boggling...
How the hell is this possible?
FWIW, I'm using a slightly tweaked samsung ROM (android 4.0.4). Repacked stock kernel.
Thanks

I've got the same question.
I'm on Stock Rom 4.0.4 on I9100.
I was shocked to see that the fiiles on the external SD card are accessible without any Password.
I was under the impression that everything is encrypted.
Anyone can clarify what is and what is not encrypted?

I believe only files that are downloaded to the SDCARD are encrypted, not files that are stored there by some other means.

Related

[Q] Does device encryption also encrypt internal sdcard on sgs2?

Since Galaxy S2 uses a dedicated partition for internal sdcard, is it encrypted too with device encryption? There's the option for external sdcard, but I'm asking about the other.
I respond to myself: encryption only works on stock ROM, kernel and everything, and internal sdcard is encrypted also when phone is successfully encrypted.

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

Cant access files after SD Card Encryption

I encrypted all my files on my external SD card.
I then wiped and installed a new ROM.
Now i cannot read the files on my SD card.
Is this because it was all encrypted under the old ROM?
As far as I know the phone creates a unique key for the encryption, so you couldn't read the sd card in another phone. By changing the Rom you've effectively changed phone, so the sd card is locked.
Either format the card, if you don't need the data, or restore an earlier nandroid (if that will recreate the key) to access the card again if you need the data.

How to recover data on an encrypted SD Card ?

Dear All,
I encrypted my SD card using the encrypt SD Card feature in Android Lollipop. Later, I upgraded my phone to CM13 Marshmallow and I removed the SD Card from my phone during the entire process. Once the new ROM has been installed I encrypted my phone internal memory using the same password as the one I used to encrypt my SD Card.
Once I reinserted my SD Card, the phone couldn't read the encrypted files stored in there. Everytime I try to open a file (image, music, video...) it says "the file couldn't be opened it could be corrupted or damaged".
Can anyone tell me how to restore data on an encrypted SD card ? Of course, I know the exact password that was used to encrypt the data on the SD Card.
GenMoo said:
Dear All,
I encrypted my SD card using the encrypt SD Card feature in Android Lollipop. Later, I upgraded my phone to CM13 Marshmallow and I removed the SD Card from my phone during the entire process. Once the new ROM has been installed I encrypted my phone internal memory using the same password as the one I used to encrypt my SD Card.
Once I reinserted my SD Card, the phone couldn't read the encrypted files stored in there. Everytime I try to open a file (image, music, video...) it says "the file couldn't be opened it could be corrupted or damaged".
Can anyone tell me how to restore data on an encrypted SD card ? Of course, I know the exact password that was used to encrypt the data on the SD Card.
Click to expand...
Click to collapse
Happen with me too lol u cant recover memory card now u can't do anything becoce if memory is corrupt it cant be reovery take the new one
superstarrazik said:
Happen with me too lol u cant recover memory card now u can't do anything becoce if memory is corrupt it cant be reovery take the new one
Click to expand...
Click to collapse
I thing you didn't get the point actually. Files are not corrupt, they're encrypted and I'm looking for a way to decrypt data using the encryption password.
i have same problem, please some one help.. thank you

SD Card Adoptable Storage KEY file lost - Help

Hello all!
I had to do a factory restore to unlock the sim card for my phone. After this I proceeded to doing a TWRP restore and for some reason the partition on my SD card that has all my apps is not being recognized anymore.. When the phone booted it thought my sd card was new? I did noticed that my internal storage is wiped. I have to assume something is missing? Is there any way to manually allow android access to this adoptable storage partition? I am fully rooted and on CFW.
Information:
Galaxy S5
Android 6.0.1
NOTE: My SD card is formatted with adoptable storage.
It appears that adoptable storage utilizes a .key file in the data\misc\vold folder - even doing a twrp backup it came up blank - it seems twrp does not back this up?
wtf - is there ANY way to recover this at this point??

Categories

Resources