Results 1 to 18 of 18

Thread: |Tutorial| How to build and install the new NetHunter|Marshmallow 6.0.1|

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2015-Dec
    Posts
    3

    |Tutorial| How to build and install the new NetHunter|Marshmallow 6.0.1|

    Hi guys.
    Hope you all had a good Christmas , today i have a tutorial for you.
    I will show you how to build the new version of NetHunter and install it to your device(must be a supported device,,see the list below)
    • Nexus 4(mako)
    • Nexus 5(hammerhead)
    • Nexus 6(shamu)
    • Nexus 7 2012(nakasi) and 2013 model(razor)
    • Nexus 9(volantis)
    • Nexus 10(mantaray)
    • One Plus One(bacon)

    For my build setup i have Kali Linux installed in vmware, you could use virtualbox also.
    If you have it installed on your pc,,more power to you.
    So the requirements are:
    • Have Kali Linux in a vm or installed on your pc(you could do the same thing on ubuntu,,but for the sake of it i use kali)
    • A rooted supported android device(for marshmallow you should root your device with supersu 2.64 , as of the day i write this tutorial it's the latest)https://drive.google.com/file/d/0B74...ew?usp=sharing <=link to SuperSu here

    Please note: this tutorial will not show you how to install linux neither how to root your android device.
    I tested on a nexus 5 (my phone) and i have the latest marshmallow 6.0.1 on it and device is rooted.
    It's not very complicated, if you ever built android roms or aosp from source it's a lot easier, the Nethunter guys made a script that pretty much
    does it all by itself.

    First thing , we will make a folder to work in, name it the way you want , i will just call it nethunter:
    • mkdir ~/nethunter

    Then change directory into the folder you created:
    • cd ~/nethunter

    Once inside the folder type:
    • Code:
      git clone https://github.com/offensive-security/gcc-arm-linux-gnueabihf-4.7

    After that we are going to clone the repo of the new installer branch like so:
    • Code:
      git clone https://github.com/offensive-security/kali-nethunter.git -b newinstaller-fj

    What we just done will created a folder named AnyKernel2 so we are going to change directory into it:
    • cd ~/nethunter/kali-nethunter/AnyKernel2

    Then we are ready to build:
    • python build.py -d hammerhead -m (the -d means the device you are building for in my case it's a nexus 5 codename hammerhead,,and the -m means
      marshmallow)


    Once it's done,,you will have a zip file into the AnyKernel2 folder, and this is what you are going to flash in recovery to install NetHunter to your device.
    The new installer is using aroma so you will be able to choose what to install.
    On the first page or so you will be asked to install a version of SuperSu older than the one i provided you , untick this boxs, you don't want this to install and replace the version of SuperSu you curently have(2.64 ++)
    When aroma will install it's probable that it will stuck at 40% for a couple of minutes, don't worry, let it do his things,,but if you are stuck there for more than
    lets say 10 minutes just force shudown your device by holding the power button down and reboot,,Kali NetHunter should have been installed correctly anyway.
    Make sure that once you boot with your new KaliNethunter go into the Kali app and update the chroot.

    That's about it, if you have any question feel free to ask i will take a look at the thread everyday.

    **Big thanks to Binkybear and Jmingov who provided me usefull info**
    Last edited by xorion33; 2015-12-29 at 01:04.

Similar Threads

  1. Nethunter to nexus 6 Marshmallow
    By BlAd373 in forum Building NetHunter
    Replies: 3
    Last Post: 2017-05-02, 15:28
  2. Replies: 8
    Last Post: 2016-02-29, 18:17
  3. Does Nethunter 3 will work with CM13 Marshmallow on OPO
    By Rajnish357 in forum NetHunter General Questions
    Replies: 1
    Last Post: 2016-02-01, 05:37
  4. Replies: 10
    Last Post: 2015-12-26, 05:30
  5. Dual boot Nethunter & marshmallow?
    By pugglet in forum NetHunter General Questions
    Replies: 3
    Last Post: 2015-12-23, 06:45

Posting Permissions

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