Unlock the full potential of mobile ethical hacking with this automated Kali Linux NetHunter installer for Termux. Designed specifically for Android devices without root, this script seamlessly sets up a complete Kali Linux (Rootless) environment.
Unlike standard installations, this project features a built-in Audio Fix (PulseAudio), a custom Kex VNC Manager for a smooth desktop experience, and intelligent Smart Update capabilities to safeguard your user data during upgrades. Transform your Android phone into a powerful cybersecurity workstation effortlessly.
- 🔥 No Root Required: Uses
prootto simulate a root environment safely on Android. - 🔊 Auto Sound Fix: Integrated PulseAudio configuration. Sound from Kali tools works instantly.
- 🧠 Smart Download: Automatically detects existing files to prevent unnecessary data usage.
- 🔄 Smart Update: Updates system core files without deleting your personal
/homedirectory or data. - 🖥️ Kex Manager: A custom
kexcommand to easily manage VNC sessions (Start, Stop, Password). - 📱 Multi-Arch Support: Automatically detects and installs for
arm64,armhf,amd64, ori386.
Before you begin, ensure your device meets the following requirements:
- Storage: At least 15-20 GB of free internal storage.
- Internet: A stable connection (WiFi recommended) for the initial download.
- Apps: You need the following apps installed:
| App Name | Description | Download Link |
|---|---|---|
| Termux | The terminal emulator | Download via GitHub |
| Termux API | Hardware bridge | Download via GitHub |
| VNC Viewer | To view the desktop (GUI) | Download via Play Store |
Open Termux and run the following commands one by one:
Update your repositories to ensure everything runs smoothly.
apt update && apt upgrade -yFetch the installation script from the repository.
wget https://raw.githubusercontent.com/MaheshTechnicals/Kali-Linux-Termux/refs/heads/main/install.shMake the script executable.
chmod +x install.shExecute the script.
bash install.shNote: When asked, select Option 1 for the Full Version to get all tools and the desktop environment.
If Firefox crashes or videos do not play, use this script to switch to Chromium Browser which works perfectly.
1. Login to Kali Linux:
kali2. Download and Run the Fix Script:
wget https://raw.githubusercontent.com/MaheshTechnicals/Kali-Linux-Termux/refs/heads/main/res/browser-fix.shchmod +x browser-fix.shbash browser-fix.shNote: If asked for a password during installation, the default Root password is:
kali
Once installed, you can use the following commands inside Termux:
| Command | Description |
|---|---|
kali |
Login to Kali Linux as a standard user (Recommended). |
kali -r |
Login to Kali Linux as Root. |
If asked for a password inside the system (e.g., for sudo or root access):
- User:
root - Password:
kali
We have included a custom tool called kex to manage your Graphical User Interface (GUI).
- Login to Kali first (
kali). - Run the following commands inside Kali:
| Command | Description |
|---|---|
kex passwd |
Run this first. Set up your VNC password (6-8 characters). |
kex & |
Start the VNC Server. |
kex kill |
Stop/Kill all running VNC sessions (useful if it crashes). |
- Start the server inside Kali:
kex & - Open the VNC Viewer app on your phone.
- Create a new connection with these details:
- Address:
127.0.0.1:5901(orlocalhost:5901) - Name: Kali Linux
- Address:
- Click Connect.
- Enter the password you set using
kex passwd.
- Audio not working?
- The script automatically sets up PulseAudio. If it stops, simply restart Termux. The script ensures the audio server starts every time Termux opens.
- Download failed?
- Run the script again. It will ask if you want to resume or re-download.
- "Signal 9" Error?
- This usually means the Android system killed Termux to save battery. Check your phone settings and allow Termux to run in the background (disable battery optimization for Termux).
If you find this tool helpful and want to support my work, please consider buying me a coffee!
- UPI:
maheshtechnicals@apl
Mahesh Technicals
- Created and maintained by Mahesh Technicals.
- Script optimized for stability and ease of use.
Disclaimer: This tool is for educational purposes and ethical hacking only. The author is not responsible for misuse.

