it seems I had a bad idea yesterday. I got a new SD card for my Fairphone 3+ (running Fairphone OS/Android 10). There was already an SD card inserted I assumed not to be in use. So I turned off the phone, exchanged the cards, booted the device and when asked to extend the phones memory I confirmed that.
Now I have two problems:
I'm missing a couple of pictures.
I wondered if these were on the old (luckily only 8GB) SD card and recognized that there are two partitions on it: android_meta and android_expand. As far as I learned, this means the SD card also was used as phone memory extension and thus encrypted. And the posts on Android Enthusiasts read like the phone has only one encryption key and won't recognize the old SD card anymore.
The Camera can't save pictures anymore.
Whenever I take a photo I'm able to immediately open it by tapping its preview. Then I see a black picture, I'm told its size is 0 bytes and it's located in
/storage/emulated/0/DCIM/Camera
. Using the cx File Explorer I'm able to open that directory, but it's empty. And I'm not able to create files there.Using the ADB shell I was able to
ls -la /storage
the directory and got this:total 7 drwxr-xr-x 4 root root 80 2020-12-21 06:52 . drwxr-xr-x 21 root root 4096 2009-01-01 01:00 .. drwx--x--x 4 root sdcard_rw 3488 2021-01-12 21:38 emulated drwxr-xr-x 2 root root 60 1970-01-01 01:00 self
So only root is able to write in
/storage/emulated
. BTW: "total 7"?
Currently I'm trying to find out the following:
- is it possible to decrypt the pictures on the old SD card? Would be fine for me if it meant some work :)
- is the encryption key for the old SD card still on the phone or could I reset the phone without making things worse regarding the old encrypted SD card?
- is the phone in a bad state?
- The Camera doesn't save pictures.
- All other apps seem to work as expected.
- The SD card overview in the Memory settings tell me there are apps on the new SD card (about 5GB). But when I tap the App category to get all apps listed, the list is empty.
- When I eject the SD card, a couple of apps start, but only show a blank canvas.
- if the phone is in a bad state: could this easily be fixed? If yes, how?
Would be great to get some hints. Thank you very much in advance.
dd
. encryption key for old SD card is still on phone, just insert, boot and check fromdf
ormount
– alecxs Jan 14 '21 at 13:49