Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

nexus7 2013 encryption #7

Closed
theguly opened this issue Sep 24, 2014 · 2 comments
Closed

nexus7 2013 encryption #7

theguly opened this issue Sep 24, 2014 · 2 comments

Comments

@theguly
Copy link

theguly commented Sep 24, 2014

trying to encrypt after installing nethunter, my nexus7 2013 reboot without encrypting.

@byt3bl33d3r
Copy link
Contributor

I've had this issue on my Nexus 7 (2013 LTE) and Nexus 5: logcat said that it was unable to unmount the /data partition (probably because the kali chroot environment is mounted there).
This is what I did to fix it:

  • Go to the Kali Launcher and hit "Shutdown Kali"
  • Enable USB Debugging on the device
  • adb shell
  • su
  • mv /data/local/userinit.sh /data/local/userinit_old.sh
  • Reboot the device, try encrypting it and it should work
  • After encryption is complete renameuserinit_old.sh back to userinit.sh
  • Reboot
  • Done! Remember to disable USB debugging when your finished!

@binkybear
Copy link
Collaborator

Great tip, I will close issue and point anyone having this problem here. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants