A locked Android bootloader rules out flashing a custom recovery or a NetHunter-specific kernel. It does not rule out Kali completely. Kali officially provides NetHunter Rootless for stock, unmodified Android devices, with no root access or custom recovery required.
That distinction matters. NetHunter Rootless gives you a Kali userland and optional KeX desktop inside Android. It does not turn the phone into a fully privileged Kali handset, and it cannot add kernel features that the stock Android build does not expose.
Use security tools only on systems and networks you own or are explicitly authorised to test.
Choose the Correct NetHunter Edition
Kali documents three editions:
| Edition | Bootloader/root requirement | Main capability |
|---|---|---|
| NetHunter Rootless | Stock, unrooted Android | Kali command-line environment and KeX desktop |
| NetHunter Lite | Root and custom recovery | More access to the Android host, without a device-specific NetHunter kernel |
| Full NetHunter | Root, custom recovery, supported custom kernel | Kernel-dependent wireless and USB features where the hardware and kernel support them |
The official NetHunter overview and Rootless installation guide are the authoritative references. If the bootloader reports that the device is locked, use Rootless unless the manufacturer provides an official unlock path you deliberately choose to follow.
Do not follow “unlock without waiting,” emergency-download, patched boot image, or unofficial flashing instructions merely to install Kali. They may erase the device, break verified boot, expose personal data, or hard-brick a model whose exact hardware revision is unsupported.
Prepare Android and Install the Official Apps
Back up the phone first. A rootless installation should not alter the boot partition, but it can consume several gigabytes and a failed storage or app migration can still cost time.
Kali’s documented route is:
- Install the NetHunter Store from
store.nethunter.com. - From that store, install Termux, NetHunter KeX, and optionally Hacker’s Keyboard.
- Open Termux once and allow its initial setup to finish.
Avoid mixing Termux builds from unrelated distribution channels. Termux’s package signing keys, repositories, and application data belong to the installed build. Installing one build over another or restoring an old data directory is a common reason for signature and repository errors.
If Android refuses to install an APK, check the per-app “install unknown apps” permission and confirm that you downloaded it from the official NetHunter Store. Do not disable Android security controls globally.
Install NetHunter Rootless
Run the commands from the current Kali guide in Termux. At the time this article was checked, the documented installer flow was:
termux-setup-storage
pkg install wget -y
wget -O install-nethunter-termux https://offs.ec/2MceZWr
chmod +x install-nethunter-termux
./install-nethunter-termux
The shortened URL is the one published in Kali’s own documentation. Recheck the official guide before installing rather than copying a command from an old forum post.
The installer offers architecture-appropriate root filesystems. A full image includes more packages but needs more download and storage space. A minimal image is a better starting point on a phone with limited free space; install only the tools you actually need afterward.
Start the environment with:
nethunter
The shorter alias is normally:
nh
Inside Kali, refresh package metadata before installing packages:
sudo apt update
sudo apt full-upgrade -y
Do not interrupt the first extraction or package configuration. Android may throttle or suspend Termux when the screen is off, so temporarily remove battery optimisation for Termux during installation.
Start the KeX Desktop Only If You Need It
A desktop consumes more memory and battery than a shell. For SSH clients, Python, Git, network diagnostics, and many administrative utilities, the terminal is enough.
To configure and start KeX, use the NetHunter commands documented for Rootless:
nethunter kex passwd
nethunter kex &
Open the NetHunter KeX client and use the connection details printed by the command. Stop the desktop when finished:
nethunter kex stop
Do not expose the KeX/VNC listener to an untrusted network. Keep it bound to the local device unless you have a specific, secured remote-access design.
Why proot-distro install kali May Fail
proot-distro and Kali NetHunter Rootless are related ideas but different installation paths. NetHunter’s installer deploys the Kali root filesystem and adds NetHunter commands. The Termux proot-distro utility manages generic rootless Linux environments.
Modern proot-distro versions can install OCI images or local rootfs archives, but an alias named kali is not guaranteed to exist. Therefore, this error does not prove that Termux is broken:
Error: unknown distribution 'kali'
Check what the installed version supports:
proot-distro --help
proot-distro list
If you want NetHunter, use Kali’s NetHunter installer. If you only need a generic Debian environment for Linux utilities, install a supported distribution according to the current official proot-distro documentation. Do not download an arbitrary rootfs and run its setup script as a shortcut.
Fix Termux Repository and Signature Errors
Repository failures usually come from one of four causes: an obsolete Termux build, mixed app sources, a stale mirror, or an incorrect device clock.
Start with non-destructive checks:
date
termux-info
pkg update
Then change to a working official mirror:
termux-change-repo
Select the main repository and an available mirror, then run:
pkg clean
pkg update
pkg upgrade
Do not “fix” GPG failures by disabling signature verification or adding keys copied from an unverified blog. If the installed Termux release is obsolete, back up your files, uninstall that build, and install a current official build from the channel recommended by Termux or Kali. Removing the app deletes its private data, so export anything important first.
Connect to the Phone with SSH
For a larger keyboard, run the Termux OpenSSH server and connect from a computer on the same trusted network:
pkg install openssh
passwd
whoami
ip addr
sshd
Termux normally uses port 8022, not port 22. From another system:
ssh -p 8022 TERMUX_USER@PHONE_IP
Replace the placeholders with the username printed by whoami and the phone’s LAN IP. Permit SSH only on a trusted LAN or private VPN, choose a strong unique password, and stop the server when it is not needed:
pkill sshd
Understand the Rootless Limits
The shell may display a root prompt inside the Kali filesystem, but this is emulated root. The Android kernel still enforces the phone application’s real privileges.
The official proot-distro documentation lists the relevant limits: no real mount operations, no custom kernel modules, no normal systemd, no independent network namespace, and no genuine root access to Android. Filesystem-heavy tasks are also slower because PRoot intercepts system calls.
Consequently, Rootless is suitable for:
- Linux command-line learning;
- programming and scripting;
- SSH and web administration;
- passive analysis of files you provide;
- authorised application and network testing that does not require raw hardware access.
It is not a substitute for a supported NetHunter kernel when a task requires USB gadget modes, monitor-mode Wi-Fi, packet injection, kernel modules, or direct control of Android networking. An external adapter alone does not overcome a missing driver and inaccessible USB/kernel stack.
Back Up Before Experimenting
Kali documents a rootfs backup procedure. Stop all NetHunter sessions first, then create the archive from Termux as described in the current Rootless guide. Keep the backup outside Termux’s private application directory so an app reinstall does not erase both the environment and its backup.
The practical decision is simple: on a locked phone, install the official Rootless edition and accept its boundary. For privileged wireless or USB research, use a supported device and documented unlock path—or move the lab to a laptop where the required hardware and kernel features are controllable.