New Andronix 2.0 is here: new installer, Termux:X11 desktops, Modded OS 2.0. Early bird: 4 days only Read what's new

Blog · Guide

How to Install Kali Linux on Android without Root

Install Kali Linux rolling on an Android phone without root, with an XFCE, LXQt, MATE or KDE Plasma desktop, using Termux and the free andronix installer. What you need, the steps, and the limits.

Kali Linux is one of the nine free distros the andronix installer sets up on Android. It’s a Debian-based rolling distro with its own repositories, and it installs and runs like the others: one command in Termux, a normal user with sudo, and a desktop you open full screen on the phone. No root, and nothing on Android itself changes.

What you get

You get Kali’s base system and the desktop. Add the packages you need with sudo apt install.

What you need

Android 7 or newer. No root.
CPU arm64 (most phones), 32-bit arm, x86 or x86_64
Free storage About 0.5 GB for the command line only, 1.5 to 2 GB with a desktop (about 3 GB for KDE Plasma), plus room for the packages you add
RAM 3 GB or more is comfortable for a desktop; 4 GB or more for KDE Plasma
Apps A current Termux (F-Droid, GitHub, or the Play Store on Android 11 and newer), and Termux:X11 for the desktop

More: Requirements and Install Termux.

Install Kali

Paste this into Termux:

(curl -fsSL --retry 4 --retry-delay 3 https://dl.andronix.app/get.sh -o $PREFIX/tmp/get.sh || curl -4 -fsSL --retry 2 --retry-delay 3 https://dl.andronix.app/get.sh -o $PREFIX/tmp/get.sh) && sh $PREFIX/tmp/get.sh install kali --de xfce

It installs the andronix installer, then Kali Linux rolling with XFCE and Firefox ESR. Use --de lxqt for a lighter desktop, --de mate, --de kde for KDE Plasma (4 GB of RAM or more), or --de none for the command line only. If andronix is already installed, andronix install kali --de xfce is enough.

When it finishes, create your user (a username, a password, and a desktop password), and you’re in Kali:

sudo apt update
If the install stops for any reason, run the same command again. It continues where it stopped. On phones with an older kernel (before 5.8), installs made before installer 2.0.1 could leave sudo and the desktop half set up; run andronix update in Termux, then andronix install kali again to finish the setup.

Open the Kali desktop

  1. Install Termux:X11: download termux-x11-universal-debug.apk from its nightly release on GitHub.
  2. In Termux (not inside Kali), run:
andronix desktop kali

The desktop opens full screen in Termux:X11, logged in as your user. To use it from a laptop instead, see VNC. Details: Start the desktop.

On Android 12 and newer, Android may stop Kali with [Process completed (signal 9) - press Enter], especially with a desktop open. Turn that off once: Process completed (signal 9).

Day to day

To Run
Start Kali (in Termux) ./start-kali.sh or andronix start kali
Open the desktop andronix desktop kali
Update Kali sudo apt update && sudo apt full-upgrade
Back up Kali to phone storage andronix backup kali --to storage
Remove Kali andronix remove kali

Your phone’s internal storage is at /sdcard inside Kali (Phone storage).

Limits

Kali runs in user space with proot, on Android’s own kernel, as an ordinary app. The same limits apply as for every Andronix distro:

The full list: Limitations.

Common questions

Is this the same as Kali NetHunter?

No. NetHunter is the Kali project’s own Android edition. Andronix installs Kali’s regular rolling release in Termux, the same way it installs Debian or Ubuntu, and opens the desktop with Termux:X11. See Kali’s NetHunter documentation for their editions.

Why does Kali ask for a username instead of logging in as root?

Andronix 2.0 creates a normal user, like a regular Kali install. Use sudo for admin commands, or andronix start kali --root from Termux for a root shell.

I installed Kali with the old Andronix app. Does it still work?

Yes. Installs from before Andronix 2.0 keep working with the same start command. To move to the current Kali, see Installs from before Andronix 2.0.

Next steps

More guides