My Nexus 4 screen met a tragic end due to violent contact with flooring tiles. Everything works except the touchscreen (which displays fine but does not react to touch any more).
I would like to get a full copy of my data partition, but my device uses Full Disk Encryption, with a lock pattern. I can easily get image files of my partitions from CWM recovery through adb:
adb pull /dev/block/mmcblk0p23 ./userdata.img
which gives me a nice 6GB file, but mounting this image is another story since it is encrypted. My PC uses XUbuntu (I also have Windows at hand if necessary, but I guess a linux system is more useful here). My phone is rooted.
I know my unlock pattern of course, so there should be some way to mount/read my userdata.img file. Any pointers ?
Thanks !
Please see the following link if you are trying to decrypt a 4x4 or higher pattern https://twrp.me/faq/openrecoveryscript.html
– Ramast Jun 22 '18 at 22:06/dev/block/dm-0
available? Asking for: https://android.stackexchange.com/q/212261/55085 – Tim Visee May 09 '19 at 08:50adb shell twrp decrypt <passphrase>
didnt work, then I ranadb shell
and rantwrp decrypt <passphrase>
, and boom! data was decrypted. lifesaver. – cagri Aug 22 '20 at 20:18