[How to] Access your encrypted data from the recovery
-
Hello all!
I've created a little script to aid in the recovery of data, should one choose to enable encryption on their device.
It's available here: https://gist.github.com/fredldotme/7bc4e5aee515d8b74a7b091599e67382
Save the script aschroot-into-systemon your PC.The guide assumes you have adb installed on your PC. The steps are as followed:
- Boot your device into recovery mode
- Mount your system partition by going to "Advanced" -> "Mount/unmount system"
- Open a terminal on your PC and switch to the directory you saved the script in
- Push the script to your device:
adb push chroot-into-system /tmp/ - Run an
adb shell - Execute the script:
sh /tmp/chroot-into-system - Now it's time to unlock the home directory:
fscrypt unlock /home/phablet - Enter your PIN or password and hit enter
- The home directory contents should now be decrypted and visible
Please try it on your device and let me know of any issues.
-
M Moem marked this topic as a regular topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login