Results 1 to 16 of 16

Thread: Nethunter installer for OS X and Linux

  1. #1

    Nethunter installer for OS X and Linux

    Do you network security work? Do you hate having to carry around a laptop with you when you do your work? Are you wondering why I'm asking you all these questions?

    Well, have I got something for you! Based on Kali NetHunter, I have created an installer script that will give you NetHunter AND be able to multi boot between your stock OS and your Kali OS!

    FEATURES:

    • Install NetHunter and all of its fun features
    • Gives you the ability to boot between multiple OSs
    • Lets you choose between Using different ROMs as the base for Kali
    • Mostly automated
    • Downloads all the files you need for you
    • Supports most of the Nexus devices
    • Even has limited support for non-listed devices!
    • Installs some extra tools not included in NetHunter
    • Has options to do a variety of things, including restoring to stock, adding or removing specific features, and more!
    • Allows you to build Kali NetHunter from source to get bleeding edge or beta features!

    Supported Devices:

    • Nexus 4 (Mako) [Experimental]
    • Nexus 5 (Hammerhead)
    • Nexus 7 2012 Wifi (Grouper)
    • Nexus 7 2012 Cellular (Tilapia)
    • Nexus 7 2013 Wifi (Flo)
    • Nexus 7 2013 LTE (Deb)
    • Nexus 10 2012 Wifi (Manta)
    • Limited support for other devices [USE AT OWN RISK]

    Planned Features:

    • None right now, do you have a suggestion?

    Requirements:

    • A Nexus device running Android 4.4.4
    • An OS X or Linux computer
    • Ability to follow instructions!

    Instructions:

    ALWAYS RUN THE SCRIPT UPDATER WHEN YOU RUN THE SCRIPT
    1. Download the kfu.zip at the bottom of this post
    2. Unzip the file
    3. Run the extracted kfu.sh (You may have to run "chmod +x kfu.sh")
    4. MAKE SURE TO SELECT THE UPDATE OPTION TO MAKE SURE IT IS UP TO DATE!
    5. Follow the instructions
    6. You now have Kali NetHunter!
    Attached Files Attached Files
    Last edited by photonicgeek; 2014-10-07 at 19:29.

  2. #2
    Changelog:

    v1.8.1
    • Fixed some issues Linux users were having
    • Added some code for (possible) future development

    v1.8
    • Major code layout changes
    • More automated, now there is only a little user action to install

    v1.7.1
    • Fixed code for unsupported devices

    v1.7
    • Support for devices not explicitly listed
    • You can now re-flash with files you have already downloaded!

    v1.6.2
    • Fixed some small problems
    • Moved some files around
    • Added a custom ROM option!

    v1.6.1
    • Fixed some pretty big issues that prevented proper operation

    v1.6
    • Added Experimental support for the Nexus 4
    • Fixed a typo

    v1.5.5
    • Fixed a pretty bad typo
    • Moved the NetHunter install options to a new page It makes things a little more clean!

    v1.5.4
    • Added some more tools tha

    v1.5.3
    • Added arguments for the script type in "kfu.sh help" for more info
    • The "Build Kali" now checks to see if the OS/Architecture is Linux 64 bit

    v1.5.2
    • Added a retry option for flashing.

    v1.5.1
    • Now the updater for linux actually works! Linux is giving me problems...

    v1.5
    • Changed method for downloading adb and fastboot. Now downloaded from Kali servers.
    • Added a new menu to install additional tools and utilities

    v1.4.2
    • Now all of the functions ACTUALLY WORK on linux.

    v1.4.1
    • Now the update ability actually works. But manually. I'll make it automatic later.

    v1.4
    • Added auto-updating capability.

    v1.3.4
    • Added Pac-ROM as a base ROM for Kali
    • Fixed some bugs

    v1.3.3
    • Slightly more verbose
    • Fixed some bugs

    v.3.2
    • Added the ability to restore to the stock Google-provided ROM!

    v.3.1
    • Installs MultiROM Manager APK to internal ROM.

    v1.3
    • Added support for the Nexus 10 (Manta)!

    v1.2
    • Installing files with multirom already installed
    • Ability to install kali to existing ROM without MultiROM
    • Option to uninstall MultiROM and all secondary ROMs

    v1.1.1
    • Fixed a few small bugs

    v1.1
    • Changing hosting to the file's owner's servers. i.e. Kali Utilities hosted on kali servers
    • Fixed some bugs.

    v1.0
    • EVERYTHING.
    Last edited by photonicgeek; 2014-10-07 at 19:18.

  3. #3
    Hey photonicgeek, I'll write a full report back Monday but wonderful script. Got some decent feedback. The restore worked well, and from stock the whole process was perfect with multirom. Got an idea for the maindir var for live installs but just gotta ask a friend to see if its sound. Thank you very much

  4. #4
    Quote Originally Posted by mrgoldentest View Post
    Hey photonicgeek, I'll write a full report back Monday but wonderful script. Got some decent feedback. The restore worked well, and from stock the whole process was perfect with multirom. Got an idea for the maindir var for live installs but just gotta ask a friend to see if its sound. Thank you very much
    Thanks! If you have any issues or questions, let me know!

  5. #5
    Join Date
    2014-May
    Posts
    21
    Hi photonicgeek, Thank you for your advice for using your kfu.zip. I followed your instruction in this thread https://forums.kali.org/showthread.p...ing-the-device .....
    and select restore to stock...the echoed value was posted in thread https://forums.kali.org/showthread.p...ing-the-device but when my N7 restart still stuck in the white google logo...any other procedure I can do? Please help me....!

  6. #6
    Join Date
    2014-May
    Posts
    21
    Quote Originally Posted by Jamborloi View Post
    Hi photonicgeek, Thank you for your advice for using your kfu.zip. I followed your instruction in this thread https://forums.kali.org/showthread.p...ing-the-device .....
    and select restore to stock...the echoed value was posted in thread https://forums.kali.org/showthread.p...ing-the-device but when my N7 restart still stuck in the white google logo...any other procedure I can do? Please help me....!
    The echoe output is the following:
    ######
    Kali Flash Utility v1.8.2

    Select your device:

    [1] Nexus 4 2012 Cellular [Mako] [EXPERIMENTAL]
    [2] Nexus 5 2013 Cellular [Hammerhead]
    [3] Nexus 7 2012 Wifi [Grouper]
    [4] Nexus 7 2012 Cellular [Tilapia]
    [5] Nexus 7 2013 Wifi [Flo]
    [6] Nexus 7 2013 LTE [Deb]
    [7] Nexus 10 2012 Wifi [Manta]

    [8] Other Unsupported Device [Use at your own risk. Make a backup]

    [Q] Exit

    Please make a selection: 5


    Kali Flash Utility v1.8.2
    Current Device: Nexus 7 2013 Wifi (flo)

    Please make a selection:
    [1] Install Kali NetHunter [6] Erase device and restore to stock
    [2] Unlock Bootloader [7] Delete All Existing Files
    [3] Install MultiROM [8] Build Kali (Kali Linux Only)
    [4] Remove MultiROM and Secondary ROMs [9] Select A Different Device
    [5] Install Additional Tools [10] Update Script

    [Q] Exit

    Please make a selection: 6


    WARNING: THIS WILL DELETE ALL FILES ON YOUR NEXUS DEVICE. DO NOT CONTINUE IF YOU WISH TO
    KEEP YOUR FILES.

    Press [Enter] to continue, or [Q] to go back


    Downloading restore file

    ################################################## ###################### 100.0%


    Unzipping restore file



    Please reboot into the bootloader by turning the device off and holding the volume down and
    power buttons.

    Press [Enter] to continue


    Flashing stock ROM


    sending 'bootloader' (3911 KB)...
    OKAY [ 0.162s]
    writing 'bootloader'...
    OKAY [ 1.421s]
    finished. total time: 1.583s
    rebooting into bootloader...
    OKAY [ 0.006s]
    finished. total time: 0.006s
    archive does not contain 'boot.sig'
    archive does not contain 'recovery.sig'
    archive does not contain 'system.sig'
    --------------------------------------------
    Bootloader Version...: FLO-04.02
    Baseband Version.....: none
    Serial Number........: 08e9bd19
    --------------------------------------------
    checking product...
    OKAY [ 0.003s]
    checking version-bootloader...
    OKAY [ 0.004s]
    sending 'boot' (7050 KB)...
    OKAY [ 0.295s]
    writing 'boot'...
    OKAY [ 0.412s]
    sending 'recovery' (7598 KB)...
    OKAY [ 0.304s]
    writing 'recovery'...
    OKAY [ 0.291s]
    sending 'system' (736772 KB)...
    OKAY [ 29.229s]
    writing 'system'...
    OKAY [ 32.476s]
    erasing 'userdata'...
    OKAY [ 21.572s]
    erasing 'cache'...
    OKAY [ 0.463s]
    rebooting...

    finished. total time: 85.068s

  7. #7
    I'm really not sure why It wouldn't be booting. Does it get hot if you leave it for a few minutes?

  8. #8
    Join Date
    2014-May
    Posts
    21
    yes it is getting warm but not hot....

  9. #9
    Quote Originally Posted by Jamborloi View Post
    yes it is getting warm but not hot....
    Unfortunately, there isn't anything I can do, as it seems like it's a hardware issue. Anything software has been pretty much ruled out as the factory image reset resets everything on the device. All that leaves is hardware unfortunately...

  10. #10
    Sorry for the delay! I had really messed up my tablet originally so i wanted to flash it from scratch, ive got the 2012 Nexus 7 wifi model (i was real impatient when the pwnpad rom came out, at first it was for the 3g version of the N7(2012) tilapia) The first time i ran the script there were obviously issues, like it detecting my device as tilapia instead of grouper so i had to sort that out before i could really test as it was throwing everything off.

    when my N7 restart still stuck in the white google logo...any other procedure I can do? Please help me....!
    It seems that the flash script of the latest rom didnt play well (im sure in huge part to the frankenstein software i was running) some issue with the bootloader version (its 4.23 in 4.4.4 as well as 4.2.2). i attempted it within your script and manually and it was the same result. so i ended up just flashing 4.2.2, then using the OTA updates to 4.4.4 after it booted up. perhaps that might help you out Jamberloi but then again you've got the 2013 N7 Wifi model.

    The install went smoothly, downloading TWRP, Multirom, paranoid android, gapps packages, kali utilities, and instructions were easy to follow.
    After the install i enabled usb debugging and installed a few of the extras you included, multirom manager, drivedroid and dsploit - installed them faster than i would have even called them up on my computer! i liked the selection too.
    In my case the reuse of the downloaded files came in handy while i was sorting out issues i had with my tablet.


    I goofed around with BCMON a bit to try and get injection working without an external wireless card and i think i messed up the hid support for the kernel, if i cant get it going ill try the flash portion of the script again now that im running the proper software for my device :P i imagine itll be just another one of many times i do.

    I'll test out the omnirom option on this time around and ill try building kali from the source option.

    Thanks for helping simplify and speed up the process! if you've got a nexus, this is the way to go. with all the problems i was having this saved me a lot of time!

    As far as suggestions go, perhaps adding the Xserver XSDL android application to additional programs? i found running the XSDL server quite smoother and higher quality than using VNC (yet i havent attempted it with peripherals just touch)

    Sorry i havent posted on forums in a bit, that may have came out as a garbled mess. ill get my etiquette and formatting up to speed.

    Ran on an updated 64bit kali hard drive install.

    If i missed anything or should expand on something please let me know.

  11. #11
    Join Date
    2014-May
    Posts
    21
    Quote Originally Posted by photonicgeek View Post
    Unfortunately, there isn't anything I can do, as it seems like it's a hardware issue. Anything software has been pretty much ruled out as the factory image reset resets everything on the device. All that leaves is hardware unfortunately...
    Hi photonicgeek, thanks for you advice I have bought a cheap logic board for my N7 and your script work fine on installing nethunter. However, I have trying some of nethunter features like starting the apache from the nethunter web panel and from the mana start-noapstream.sh but when accessing the web server from remote it prompts me with apache forbidden 403 no permission to access. I have posted a thread with the following link https://forums.kali.org/showthread.p...sion-to-Access ...

    I tried to set some settings in the apache2.conf in the"AccessFileName .htaccess" to allow access but no avail. Can you help me with this one?

  12. #12
    updating on linux fails, once updates i get

    line: command not found

  13. #13
    Quote Originally Posted by ping View Post
    updating on linux fails, once updates i get

    line: command not found
    Ah, yes. I haven't updated this project much. I will be re-writing it at some point to function a lot better. What line is the error on?

  14. #14
    /home/ping/Downloads/kfu(1)/kfu.sh: line 1: Not: command not found
    [root@Linux kfu(1)]# ./kfu.sh
    ./kfu.sh: line 1: Not: command not found
    [root@Linux kfu(1)]#

    when i open the file now there is nothing there, all it reads is

    Not Found
    Last edited by ping; 2014-12-27 at 04:22.

  15. #15
    Join Date
    2014-Dec
    Posts
    2
    I am trying to install Kali Nethunter to Nexus 7 mobile from Ubuntu 14.04 amd64. I have multirom already installed. I chose Omnirom and micro-gapps.
    After downloading kali utilities I get the error message "kfu.sh: 1078: kfu.sh: /home/mark/Kali/All/adb-tools/linux-i386-adb: not found"
    Can you tell me what I am doing wrong?

  16. #16
    Join Date
    2013-Mar
    Posts
    2
    Hi,
    May I know is there any Script's Update for Nethunter 3 for Nexus 7 2012 3G or not?

    Thanks

Similar Threads

  1. Development for NetHunter installer on OS X and Linux
    By photonicgeek in forum NetHunter Development
    Replies: 8
    Last Post: 2014-10-29, 23:01
  2. NetHunter Installer for Windows
    By muts in forum NetHunter Development
    Replies: 6
    Last Post: 2014-10-07, 14:46
  3. Windows NetHunter Installer
    By seckeymaker in forum Installing NetHunter
    Replies: 0
    Last Post: 2014-10-02, 16:22

Posting Permissions

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