Remove All Ads from XDA

[ALL DEVICES][UPDATED] Kali Linux NetHunter Installation

14 posts
Thanks Meter: 33
Post Reply Email Thread

On this website there are various Nethunter kernel for many devices
- Nightly = Nethunter Kernel (Lollipop, Marshmellow, Nougat)
- KaliFS = Kali Linux Chroot (armhf, arm64, i386, amd64)
- Nethunter OS = Full Cyanogenmod Kali Linux System + Kernel (bacon, angler, flo, hammerhead only)
- RPi 3 Nexmon = Kali Linux Nexmon for Raspberry Pi 2/3


I have installed Nethunter differently, more easily and universal.

For External Wifi Adapter you need drivers or a ROM with drivers.
For USB Keyboard or HID Attacks you need a kernel that allows you to do it

Buttons on the NetHunter App sometimes it works, sometimes not, depends on the ROM, or Android version,
ex. RUN on Custom Commands Tab give you an error, probably only on Android 6.0

It should work on all devices, because you do not have to install anything (ROM, Kernel, etc..)
but on some ROMS you may have the error when we're going to create the Metasploit database
I solved it by changing rom.

Tested on S3, S4, S4 Mini, S5, all with different ROM and version.
Tested on CM12 CM12.1 CM13.
My friends helped me to test it with other phones.
Personally I use it on Resurrection Remix 5.7.0 - Android 5.1.1 - working buttons.

  1. Install Busybox.
  2. Download a Nethunter ROM: Offensive Security WebSite
  3. Open the zip.
  4. Go to /data/app
  5. Install all apps on the zip.
  6. With a Root explorer go to /data/data/com.offsec.nethunter/files/scripts
  7. Copy all the files.
  8. Paste into /system/bin
  9. Open the Nethunter App.
  10. Go to the Kali Chroot Manager.
  11. Install the "Minimal Chroot"
  12. After, open Terminal Emulator
  13. Choose "KALI"
  14. Run these commands:
  1. apt-get update
  2. apt-get upgrade
  3. apt-get dist-upgrade
  4. apt-get install kali-linux-nethunter
You are ready

apt-get install tightvncserver
Run VNC Server
vncserver :1 -geometry 1280x720 -depth 16
:1 (Display 1,2,3,4 etc..)*
-geometry (Resolution width x height)
-depth (16, 24, Color Depth, use 16)
Connect to VNC
  1. Open AndroidVNC
  2. Alias: Kali Linux
  3. Password: The password you set before
  4. Address: or your IP
  5. Port: 5901 (Depend on display ex. Display 2, Port 5902)*
  6. Username: root

For Metasploit
Initialize the database
msfdb init (you must initialize it every time if you do not set "Start at boot" in the Kali Services Tab on Nethunter App)
Run Metasploit
msfconsole or use setoolkit

Guide created by me .
Respect us, do not use google
The Following 33 Users Say Thank You to w0aS For This Useful Post: [ View ] Gift w0aS Ad-Free
12th August 2016, 11:18 PM |#2  
Junior Member
Thanks Meter: 0
Will this work on a S5 Mini?
I rooted my device and installed Kali via linux deploy. Unfortunately the chipset is not supported.
13th August 2016, 07:46 PM |#3  
w0aS's Avatar
OP Junior Member
Thanks Meter: 33
Donate to Me
Originally Posted by Cyberstream12

I rooted my device and installed Kali via linux deploy. Unfortunately the chipset is not supported.

If you have installed Kali Linux from Linux Deploy, this method will not work, because after, you will have two Kali Linux Chroot installed.
The kernel for your phone does not exist, it is only available for Galaxy S5 (and variants), but if you want to install this, works on all devices with a Custom ROM (AOSP, CyanogenMod etc..).

Do not be confused that you do not have the Kernel, I used Kali Linux for 3 years on the phone without kernel, and I must tell you, now that I have the phone with the Kernel nothing has changed, better a Raspberry Pi (with SSH) on the backpack for Wireless Monitor Mode. (this applies to all)

I hope you will be able to buy yourself a phone where you can install nethunter with kernel.
24th August 2016, 04:22 AM |#4  
lionsmatara's Avatar
Senior Member
Flag Matara
Thanks Meter: 122
Kindly help me turn on monitor mode..

Sent from my SM-N910C using XDA-Developers mobile app
29th September 2016, 12:43 PM |#5  
Thanks Meter: 2
Hello , great tutorial but I have one question about nethunter, am I able to install chroot on my external sdcard, and how? Thanks.
13th December 2016, 02:39 PM |#6  
Alex Mahdi Z9 M4's Avatar
Junior Member
Flag Dhaka
Thanks Meter: 1
Kali Nethunuter VS Linux Deploy which is best ?
I have 2 questions. Is Kali Nethunuter best or Linux Deploy Kali Linux best ? My MT6582 device kernel 3.4.67 neither officially support CyanogenMod nor Kali Nethunuter. I ported CM13 for my Walton Primo S3 Mini device and using it. Has only VPN bug. Now I installed Kali Nethunuter without flashing from TWRP. I didn't use Nethunuter from official site. I just downloaded the apk from GitHub and installed full chroot from the app. But I noticed my device takes longer time to boot than before. It stucks at both splash screen (device & recovery) for many times then boots. But it solves when I remove chroot and Nethunuter. Now my questions are:
1. Why it takes many time to boot than before ?
2. I used Linux Deploy before. My phone doesn't have sd card slot. So it's space almost full. Which is best Linux Deploy or Nethunuter ? Which is best and has many features ?
The Following User Says Thank You to Alex Mahdi Z9 M4 For This Useful Post: [ View ] Gift Alex Mahdi Z9 M4 Ad-Free
29th December 2016, 12:09 AM |#7  
Junior Member
Thanks Meter: 2
Edimax EW-7811Un 150Mbps 11n Wi-Fi USB Adapter, Nano Size Lets You Plug it and Forget it, made for Raspberry Pi .. Made for ARM yep and supports Monitoring mode
The Following User Says Thank You to dragonsouce For This Useful Post: [ View ] Gift dragonsouce Ad-Free
29th December 2016, 07:33 AM |#8  
Junior Member
Thanks Meter: 0
Content Issue
Am Using Samsung Galaxy S5....Not Able To Find /data/data/com.offsec.nethunter/files/scripts
3rd January 2017, 09:08 PM |#9  
I got on Galaxy S3: FATAL: kernel too old

CM13(Android 6.0.1)
Stock kernel
9th March 2017, 01:00 PM |#10  
Junior Member
Thanks Meter: 0
Apt get update failed and install kali toocfailed...what to do?
14th March 2017, 06:47 PM |#11  
Junior Member
Thanks Meter: 0
vai apner email id ta pate pari?
just contact korer jonno.
Facebook id pale aro valo hoi

---------- Post added at 06:47 PM ---------- Previous post was at 06:39 PM ----------

vai apner sathe nethunter nie kisu kotha silo
please contact me in Facebook 01521431468
or give me your Facebook id
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes