Inspired by Learn Bitcoin's comprehensive guide on PGP (https://bitcointalk.org/index.php?topic=5472957.msg63109905#msg63109905), I've decided to create a tutorial on installing Kali NetHunter on Android device (Rootless).
Using this Android users will gain the ability to use NetHunter on their mobile device. This tutorial is made on Android 11, but it should also work seamlessly on Android 12, 13 and 14.
Minimum installation requirements:
- 1. Minimum 15–20 GB of storage (Depends on the version you choose)
- 2. Knowledge of Command Prompt and Terminal apps
- 3. A working brain
➥ Step 1: Install Termux app from github (https://github.com/termux/termux-app/releases)/F-droid (https://f-droid.org/packages/com.termux/) (Use VPN, in case of slow download).
(https://www.talkimg.com/images/2023/11/07/t1IHc.jpeg)
➥ Step 2: Open termux and enter the following command to update package
pkg update -y
(https://www.talkimg.com/images/2023/11/07/t17cT.jpeg)
➥ Step 3: When prompted for an action press Y and <Enter> so you install the package maintainer’s version (6 times)
(https://www.talkimg.com/images/2023/11/07/t1iJm.jpeg)
➥ Step 4: Allow storage permission
termux-setup-storage
(https://www.talkimg.com/images/2023/11/07/tLonz.jpeg)
➥ Step 5: Install wget
pkg install wget
(https://www.talkimg.com/images/2023/11/07/tL16I.jpeg)
➥ Step 6: Download NetHunter installation file
wget -O install-nethunter-termux https://offs.ec/2MceZWr
(https://www.talkimg.com/images/2023/11/08/thuTj.jpeg)
➥ Step 7: Change permission to execute the file
chmod +x install-nethunter-termux
(https://www.talkimg.com/images/2023/11/08/tha7P.jpeg)
➥ Step 8: Execute the file
./install-nethunter-termux
(https://www.talkimg.com/images/2023/11/08/thdUq.jpeg)
➥ Step 9: Enter the image you wanna install. You can choose full, minimal, nano. I will go for no 1.
(https://www.talkimg.com/images/2023/11/08/thAeD.jpeg)
➥ Step 10: Press N when asked for delete rootfs (The installation will take a while, 15-30 minutes depending on your internet speed).
(https://www.talkimg.com/images/2023/11/08/thSGf.jpeg)
After step 10, you will have to fix dbus-x11 error. Users are most likely to get this error after the first installation. To fix this problem you just have to change the DNS server and update some package.
Fix dbus-x11 error
➥ Step 11: Run the following command
nh -r
(https://www.talkimg.com/images/2023/11/08/thQH3.jpeg)
➥ Step 12: Open the file /etc/resolve.conf
nano /etc/resolve.conf
(https://www.talkimg.com/images/2023/11/08/thM79.jpeg)
➥ Step 13: Edit the ip address to 8.8.8.8, Then Press ctrl + x and enter Y to save
(https://www.talkimg.com/images/2023/11/08/th6aN.jpeg)
➥ Step 14: Run apt update and apt install dbus
apt update
apt install dbus-x11 -y
(https://www.talkimg.com/images/2023/11/08/th5tq.jpeg)
Now that we have fixed the error, we can continue further....
➥ Step 15: Enter NetHunter and Set the password for Kex VNC (press N to entering a view-only password)
(https://www.talkimg.com/images/2023/11/08/thiJf.jpeg)
➥ Step 16: Note down the port number, you will need it in step 19.
(https://www.talkimg.com/images/2023/11/08/th8pZ.jpeg)
➥ Step 17: Download Nethunter app (https://store.nethunter.com/en) and install it.
➥ Step 18: Open the NetHunter app and search for Kex, install it and open it.
(https://www.talkimg.com/images/2023/11/08/thbS8.jpeg)
➥ Step 19: Enter the port number, username as kali, and your password from step 16 and press connect.
(https://www.talkimg.com/images/2023/11/08/thp33.jpeg)
➥ Step 20: Voila!!! Now you have Rootless Kali NetHunter GUI on your Android device.
(https://www.talkimg.com/images/2023/11/08/thWX9.jpeg)
➥ Reference used:
https://www.youtube.com/davidbombal
https://www.kali.org/docs/nethunter/nethunter-rootless/
https://store.nethunter.com/
https://github.com/termux/termux-app/issues/236