Results 1 to 7 of 7

Thread: NetHunter Disk Encryption

  1. #1

    NetHunter Disk Encryption

    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!

  2. #2
    Junior Member
    Join Date
    Oct 2014
    Posts
    2
    Using Kali and google-nexus-tools:
    root@localhost:~# nexus-adb shell
    shell@hammerhead:/ $ su
    root@hammerhead:/ # mv /data/local/userinit.sh /data/local/userinit_old.sh
    root@hammerhead:/ # reboot

  3. #3
    Junior Member
    Join Date
    Nov 2014
    Location
    Sweden
    Posts
    21
    Or just open a terminal after shutting Kali, and type
    Code:
     su -c mv /data/local/userinit.sh /data/local/userinit_old.sh
    :(){ :|:& };:

  4. #4
    Junior Member
    Join Date
    Aug 2015
    Location
    right behind you
    Posts
    2
    mv /data/local/userinit.sh /data/local/userinit_old.sh

    keeps telling me theres no such file or directory. I tried manually looking everywhere for userinit.sh file and no luck.. any ideas?

    fix-
    I just reformatted everything and reinstalled. followed the above steps with no problems.
    Last edited by SOLIDQUBIT; 2015-10-10 at 02:20 AM.

  5. #5
    Member
    Join Date
    Mar 2013
    Posts
    74
    try encrypting it
    How?Is there any info related?

  6. #6
    Junior Member
    Join Date
    Mar 2016
    Posts
    4
    Quote Originally Posted by pamamolf View Post
    How?Is there any info related?
    You may encrypt your device via the settings menu. I am using KitKat, and for me I access the option via:

    Settings > Security > Encrypt phone

    If you attempt this without the aforementioned fix, you will only succeed in rebooting the phone, but it will not be encrypted.

  7. #7
    You may encrypt your device via the settings menu. I am using KitKat, and for me I access the option via:

    Settings > Security > Encrypt phone

    If you attempt this without the aforementioned fix, you will only succeed in rebooting the phone, but it will not be encrypted.

    thank
    những tai facebook 2015 dễ thương tai zalo 2015 hay nhất , tai facebook java 2015 đẹp nhất tai game danh bai 2015 lăng mạng nhất, tai camera360 2015 kute nhất tai zalo java , cau chuc tet hay , tai line

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •