My micro SD card (set as adoptable storage) was corrupted while I was using my phone (Wiko Tommy with Android 6.0) during a trip. Probably because of a writing error on the filesystem, I guess.
I tried to unplug the SD card and to plug it again several times, but it didn't change nothing.
I should have stopped there, and wait in order to repair the SD card filesystem a few days later. But my phone wouldn't let me take pictures with the SD card unplugged ("storage is full", even if the internal storage wasn't full). So I unplugged the SD card, and told my phone to forget it. That way, I could use the internal storage again and take pictures.
Back with a computer available and with a SD card reader, I made an image of my SD card using the dd
command.
I tried to analyse filesystem problems with Testdisk, recover files with Photorec...
But I realized that the SD card is encrypted and that this is probably my major concern.
I found this method that would enable me to get the encryption key and to read the SD card. Unfortunately it requires root access to read the /data/misc/vold folder, and my phone is not rooted. I would happily do it but I couldn't find any path toward it (it's a Wiko Tommy).
So I'm stuck there. Do you think of a way to get the files on the SD card back?
- Find a way to root my phone?
- Reverse the "forget" action so that the phone would read again the SD card (when the corrupted filesystem is fixed)?
- Find a way to get the encryption key without root access, and then read from the image I have on the computer?
- Use another SD card as adoptable storage, replace its contents by the old one (when the corrupted filesystem is fixed)?
Thank you