When trying to upgrade to a newer rom, my system got a little messed up and I had to format my /data partition. I had made TitaniumBackup and twrp backups but they were on the encrypted data partition. When I flashed the new rom, this partition became all hashed folders and TWRP stopped asking me for the password. I took the time to do an adb pull of the /dev/block/sda21 (which is the device that is mounted on sdcard/. How would I go about decrypting this on a linux device?
Asked
Active
Viewed 798 times
0
pascalwhoop
- 101
/data. First of all the key isn't in/data/misc/vold, instead in crypto footer ofuserdatapartition (usually last 16KB). Secondly the encryption algorithm may be different e.g. on Qualcomm devicesaes-xtsis used withdm-req-cryptwhile on others itsaes-cbc-essivwithdm-crypttarget. And the key is also bound to hardware. – Irfan Latif Jul 06 '19 at 15:11voldwhich encrypts/decrypts/dataon main Android OS. – Irfan Latif Jul 06 '19 at 17:36