Altcoins Talks - Cryptocurrency Forum

Further Discussions => General Discussion => Topic started by: DYING_S0UL on November 09, 2024, 02:51:23 PM

Title: [Eng: Tutorial] Kali NetHunter - Linux on Android
Post by: DYING_S0UL on November 09, 2024, 02:51:23 PM
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:




➥ 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).

Quote
(https://www.talkimg.com/images/2023/11/07/t1IHc.jpeg)

➥ Step 2: Open termux and enter the following command to update package

Code: [Select]
pkg update -y
Quote
(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)

Quote
(https://www.talkimg.com/images/2023/11/07/t1iJm.jpeg)

➥ Step 4: Allow storage permission

Code: [Select]
termux-setup-storage
Quote
(https://www.talkimg.com/images/2023/11/07/tLonz.jpeg)

➥ Step 5: Install wget

Code: [Select]
pkg install wget
Quote
(https://www.talkimg.com/images/2023/11/07/tL16I.jpeg)

➥ Step 6: Download NetHunter installation file

Code: [Select]
wget -O install-nethunter-termux https://offs.ec/2MceZWr
Quote
(https://www.talkimg.com/images/2023/11/08/thuTj.jpeg)

➥ Step 7: Change permission to execute the file

Code: [Select]
chmod +x install-nethunter-termux
Quote
(https://www.talkimg.com/images/2023/11/08/tha7P.jpeg)

➥ Step 8: Execute the file

Code: [Select]
./install-nethunter-termux
Quote
(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.

Quote
(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).

Quote
(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

Code: [Select]
nh -r
Quote
(https://www.talkimg.com/images/2023/11/08/thQH3.jpeg)

➥ Step 12: Open the file /etc/resolve.conf

Code: [Select]
nano  /etc/resolve.conf
Quote
(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

Quote
(https://www.talkimg.com/images/2023/11/08/th6aN.jpeg)

➥ Step 14: Run apt update and apt install dbus

Code: [Select]
apt update
apt install dbus-x11 -y

Quote
(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)

Quote
(https://www.talkimg.com/images/2023/11/08/thiJf.jpeg)

➥ Step 16: Note down the port number, you will need it in step 19.

Quote
(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.

Quote
(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.

Quote
(https://www.talkimg.com/images/2023/11/08/thp33.jpeg)

➥ Step 20: Voila!!! Now you have Rootless Kali NetHunter GUI on your Android device.

Quote
(https://www.talkimg.com/images/2023/11/08/thWX9.jpeg)




➥ Reference used:

Code: [Select]
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