This howto was taken from https://github.com/offensive-securit...mment-57045080 and was reposted for additional visibility.


  • Go to the Kali Launcher and hit "Shutdown Kali"
  • Enable USB Debugging on the device

Code:
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!