How it came to this situation
I recently ran into some trouble with an sd card formatted as internal storage and lost a lot of Pictures this way. I created a dump of the encrypted sd-card and want to get the encryption key for it. According to android stackexchange com question 145443 (i know for an older Android release) the key is in /data/misc/vold. But the /data/misc folder is not accessible on a non rooted device. So it looked like there is no way. But I managed to unlock the boot loader without wiping the data (forum xda-developers com post 4053743) and was able to boot twrp (twrp-3.6.0_9-0-FP3.img). I can now see data in /data/misc/ but it is encrypted with file based encryption. So I need to decrypt this before I can get to work on the sd-card image.
I try to access some data in /data/misc using TWRP on my FP3+ with an unlocked bootloader ( See details above).
Sadly TWRP is unable to decrypt the file based encryption and it also does not work with twrp decrypt 12345 (placeholder pattern pw from twrp openrecoveryscript faq).
According to topic 56995 in this forum the TWRP is able to decrypt on FP3, but this information may come from the Android 9 days and the FP3+ was shipped with Android 10. Does anyone know how to get TWRP to decrypt the /data/ partition on Android 10?
FP3:/ # twrp decrypt 12345 Attempting to decrypt data partition or user data via command line. Failed to decrypt data FP3:/ # ls -l /data/misc total 336 drwxr-x--- 2 root shell 4096 2022-05-03 20:33 ,HFAIjj5VVvOEVUf8XiZpA drwx------ 2 system log 4096 2021-04-20 06:44 07Vqd7L5z+hscAB6UBfcVC drwxrwxr-- 2 system system 4096 1970-01-01 00:09 1uV8mtqoj5cVdX,ml2clnqP7exJ [...]
I only have one user on my phone (so no work account or similar).
I am not allowed to post more than 2 links since I am a new member to the forum.