Decrypt SD card - Xiaomi Mi A1 Questions & Answers

Hello,
I have a Xiaomi Mi A1 and I have merged my SD card with the internal memory of the phone. I had to reset the phone, but it no longer recognizes the SD card and offers to format it. How can I recover my data? They look encrypted and therefore not readable by a computer.
I managed to recover the data from the Sd card but the data is encrypted and the decryption key was probably deleted during the restoration.
Many thanks to you and have a nice evening.

Related

sd card encryption

I encrypted my sd card and phone storage. However I lost my phone and am wondering if given the case the person who found it would factory reset the phone and reinsert the sd card back in will it be able to access the content throught the phone? Or will the sd card info also be wiped?
On a side not I did wipe the phone through my lookup app not sure if it wiped the sd card encrypted content as well

Huawei P8 Full Encryption

Hi,
just bought the Huawei P8. Im wonder if my phone is now fully encrypted, including the SD Card.
1. Internal Storage
After factory reset there was no screen lock (just swipe to unlock). I clicked 'encrypt phone' and it took only a few minutes. AFTER that i could still swipe to unlock, there was no option to set a password during the encryption process. So I set the password afterwards. Now the pw must be entered to unlock the phone.
Does this mean the internal storage is now fully encrypted and can not be accessed without the password? Even though i did not set a password before the encryption?
What if someone where to remove the internal memory module from the phone?
Does the encryption encrypt ALL files in the internal storage or just certain areas?
2. SD Card
That one was strange, too. I clicked 'encrypt SD Card'. There i had to set a pw in advance.
But the encryption also took only a few minutes. That seems odd because the 64 GB SD Card was half full. This should have taken hours to encrypt.
Can I be sure alls files on the SD Card are fully encrypted now?
3. Why I am asking
Before I had the Samsung Galaxy A5.
When encrypting the device you had to set the pw in advance and it took much longer. That seems logical to me.
When encrypting the SD Card the phone asked me if I wanted to encrypt all files on the SD Card, including Fotos, Videos, MP3s etc. It warned me, that this might take a long time. Encrypting the SD Card with some 30GB on it took severeal hours. That also seems logical to me becaus SD Cards are much slower than the internal storage. So I am wondering why the Huawei P8 only took a couple of minutes for the SD Card.
Can someone please elaborate?
I am especially interested in having my photos (which save to the SD Card) encrypted so nobody can access them when my phone is stolen. I also have company emails and such on the phone.
Hi,
on internal storage... Data Partition would be encrypted. I am not sure if cache partition would also encrypted. File's from internal storage would be saved in Data, so all files are encrypted.
But SD-Card wouldn't be encrypted...it's only password protected. That's why it takes only few seconds to set the protection.
If you set a password for internal storage, you could choose to set the protection in the Boot process. So before the whole system boots up you would be questioned for the password.
Thanks for the answer.
I activated the boot password.
What use does the sd card password have? I tried to put the sd card in my computer and the card wasn't even detected. Does this mean nobody can access the files without the password? What is the difference to a full encryption?

All sd card files encrypted

So this is tricky. I encrypted my SD card but then N beta died. I reflashed but the OS complained the SD card was encrypted with a different phone.
I know the pin used to encrypt. Can I recover the files?

How to recover photos after formatted SD as internal storage?

Hello, i own Xiaomi Mi A1 with rooted Android 8.1.0 and i got 32GB Samsung SD Card.
I was using it as internal storage, i wanted to get rid of it to make space for another SIM.
I made sure that there are no apps - Moved everything to internal space.
I checked usage of SD card and there were only system and apps, a said fine, i am ok with deleting and reisntall some apps.
So i formatted the SD card ("Use as external storage")
And then i noticed all my pictures are gone. If i am right, when you use SD card as internal storage, device encrypts the card, then it was formatted.
I immediately took card out of phone. I am still own this device, so is there any way to recover encryption key or something?
Now i am tryin recover files with app PhotoRec, but it doesn't seems to get any files.
Any idea how to get photos back? I don't have updated backup of Google Photos.
Sorry but you have no hope, did they not backup to google photos or did you not have that turned on.
So there is no way to recover content of card and then decrypte?
I did not turn that on intentionally, i thought i am smart enough not to do such a stupid stepwithout backup, lol.
EDL Mode
I had the same problem. I only managed to solve via EDL Mode. On youtube there are several videos teaching how to do it.

Problem (and Encryption) with SD card on Fire HD 10 ?

Hello,
I've add a 256GB SD card on my Fire HD 10, and I set it as portable storage.
My SD card is a Sandisk micro SDXC UHS-I (V30 3U A2).
All time I logon on my Fire HD, FireOS shows me the settings page "How you will use this storage device".
Is it a known FireOS bug?
Or, do you think my SD card is defective?
SD card in Portable storage mode comes with data robed risk if I lost my Fire HD.
Thus I'd like to encrypt SD card data.
FireOS offer Encryption feature in settings.
Does someone have experience with it?
If I set this SC card as "tablet storage", does data will be able to be readable from another device?
Thanks a lot for your help and advices
Chris
If the SD card is not properly formatted as FAT32 or exFAT (or wrong alignment) Android will offer to format.
If you format as portable storage the SD card is not encrypted (recommended). If you remove the SD Card you can read it on card reader on PC later.
If you format as adoptable storage the SD card becomes encrypted and will replace the internal storage (which becomes unused). This is not recommended as the encryption key is inaccessible to nobody, therefore no way to recover data in case of failure.
Thank you alecxs.
If you format as adoptable storage the SD card becomes encrypted and will replace the internal storage (which becomes unused). This is not recommended as the encryption key is inaccessible to nobody, therefore no way to recover data in case of failure.
Click to expand...
Click to collapse
In this case, all data on SD card will be readable by anyone if I lost my pad.
Is there a way to encrypt data on a SD card formated as portable storage?
Thanks,
Chris
chrbar said:
Thank you alecxs.
In this case, all data on SD card will be readable by anyone if I lost my pad.
Is there a way to encrypt data on a SD card formated as portable storage?
Thanks,
Chris
Click to expand...
Click to collapse
I think the only way to do what you're after is with a 3rd party tool to encrypt your SD card. I suppose that's possible, but performance may be sluggish that way.
if you downgrade to Fire OS 5.6.4.0 you can use mtk-su to access the encryption key from /data/misc/vold once. this key can be used on linux PC to decrypt adoptable storage (except for FBE file-based encryption)
How to decrypt and split adopted storage?
How to partition and to have adopted storage at same time. You don't need to root your device but the device i done this with is rooted You need to enabled Developer Options. Enable the USB Debugging option. Make sure your SD card is formatted...
forum.xda-developers.com
(obviously) all other 3rd party solutions require similar additional software to decrypt container stored on portable storage.
Transparent Folder Encryption
Greetings, I'm looking for an App that would provide transparent folder encryption, along the lines of the "Encrypt contents to secure data" option on a Windows folder. One that works on a SD card, and also treats files transfers via USB cable...
forum.xda-developers.com

Categories

Resources