How-tos

Oct 21, 2023 Post by :Victor

How to Install Kali Linux on Android Without Root

Android with hackers masks
Kali Linux OS has long been the preferred choice among security professionals, ethical hackers, and more. But what makes it so great that it's the top choice for hackers?

Well, this operating system is purpose-built for security and penetration testing. It comes preloaded with an extensive range of security tools, making it the go-to choice for ethical hackers. Moreover, Kali Linux includes a robust toolset that is invaluable for tasks like vulnerability assessment, digital forensics, and network analysis. This versatile toolbox is one of its most significant assets.

Kali Linux is not stagnant; it receives frequent updates to tackle the latest security challenges and vulnerabilities. Users can rely on it to stay at the cutting edge of security testing. Additionally, the support from the community is fantastic. You can connect with numerous security experts to exchange knowledge, ask questions, and get troubleshooting assistance, which is truly cool.

Despite its advanced capabilities, Kali Linux remains user-friendly, making it accessible even to newcomers.

Now that you've glimpsed the power and versatility of Kali Linux, let's dive into the practical steps for installing it on your Android device.

Requirements: Before we commence with the installation, it's crucial to ensure your Android device meets these requirements for a smooth experience:

  • At least 4GB of RAM and 6GB of free storage for optimal performance and installation.
  • A stable internet connection.
  • (Optional) Rooted device for a smoother experience. However, it works great without root.

So, without further ado, here's a list of apps to install, along with some recommended apps, to ensure a seamless experience when running Kali Linux on your device.

Apps to Install:

  1. Termux: A Linux-based terminal emulator for Android. It's available on the Play Store, but it's highly recommended to download it from F-Droid since the Play Store version may be outdated.
  2. VNC Viewer or Nethunter Kex: These apps are used for gaining a graphical Linux interface.

Recommended Apps:

  1. Hacker's Keyboard: Available on 3rd Play Store.
  2. F-Droid Appstore.
  3. Net Hunter Store Store for Android.

Installation Steps

Open Termux and execute the following commands sequentially:

Apt update termux command

apt update
apt upgrade -y

Apt upgrade command

These commands will update and upgrade the Termux package and repository, ensuring you have the latest packages and information for your Termux environment.

termux-setup-storage

This command grants Termux storage permission, and when executed, you'll receive a prompt for storage permission. Accept it to proceed.

pkg install wget

Wget termux installation

Wget is a utility that allows you to download files from the internet using various protocols. It's essential for retrieving files and resources from remote servers.

wget -O install-nethunter-termux https://offs.ec/2MceZWr
chmod +x install-nethunter-termux
./install-nethunter-termux

Install Linux command

These commands will download and install Kali Linux on your device. Once executed, you will see a list of available Kali Nethunter versions for installation. Choose one to complete the installation process.

Nethunter cli

To launch Kali, type the following command and hit enter:

nethunter

Now you can use Kali Linux tools and commands just like on your computer, but in a CLI interface. To use the GUI interface, execute the following commands:

cat /etc/os-release | grep "\bName="
kex

Once you execute the 'kex' command, you'll be prompted to set up a VNC password. Enter your password and confirm. You'll also see a prompt to set a "view-only-password." Type 'N' for no and continue.

To start Kex on your device, run the following commands:

kex start

Then, launch the Nethunter Kex application, type your VNC password, and connect. Your device will rotate to landscape mode, and you can start using Kali Linux just like on a laptop or desktop.

Kali Linux GUI

To end the session, switch back to the Termux app and enter the command:

kex stop

Usage And Tips

Command Description
nethunter Start the Kali NetHunter command line interface.
nethunter kex passwd Configure the KeX password (only required before 1st use).
nethunter kex & Begin Kali NetHunter Desktop Experience user sessions.
nethunter kex stop Stop Kali NetHunter Desktop Experience.
nethunter <command> Run a specific command in the NetHunter environment.
nethunter -r Start Kali NetHunter CLI as root.
nethunter -r kex passwd Configure the KeX password for the root user.
nethunter -r kex & Start Kali NetHunter Desktop Experience as root.
nethunter -r kex stop Stop Kali NetHunter Desktop Experience root sessions.
nethunter -r kex kill Terminate all KeX sessions.
nethunter -r <command> Run a specific command in the NetHunter environment as root.

Conclusion

Although we've successfully installed Kali Linux without root, please note that some utilities requiring root permissions on a non-rooted device may be impossible to use. However, most tools do not require root permission. Please use them responsibly and only for ethical purposes.

Good luck and happy hacking.

Author

Connect with us