While we believe that this content benefits our community, we have not yet thoroughly reviewed it. If you have any suggestions for improvements, please let us know by clicking the “report an issue“ button at the bottom of the tutorial.
In this module, we are going to learn how we can install Kali Linux on non-rooted Android devices and turn them into pockets hacking machines! Let’s get started
Below we’ve outlined the steps to install Kali Linux on Android devices that are not rooted. During the tutorial, if you wish to access your android device from your computer using SSH or even setup a web server, you can read through this tutorial.
First things first, we need to install Termux and Hacker’s Keyboard on our Android Device.
You can fetch these apps from Google Playstore.
Next up, we would need some packages which we would need during the installation process.
First, update and upgrade the system with :
$ pkg update && pkg upgrade -y
Next up we need to setup our system so that we can access the files created by Termux outside of our Termux session as well. This can be done with :
$ termux-setup-storage
Once you have granted the required Permissions, finally install the required packages with :
$ pkg install wget fish
Once done, we can proceed to the actual installation step.
Next we need to fetch and execute a script which will install Kali Linux for us. To fetch the script, type:
$ wget https://gitlab.com/kalilinux/nethunter/build-scripts/kali-nethunter-project/raw/master/nethunter-rootless/install-nethunter-termux
Now, we need to make the script executable and run it with:
$ chmod +x install-nethunter-termux
$ ./install-nethunter-termux
This will fetch Kali Linux files and install them for us on our Android device. The script would fetch around 1.5GB of files so naturally, it might take a lot of time depending upon your network speed. Once the script is done extracting the rootfs file, you can even delete it.
Once the script has finished, you can run Kali Nethunter from the CLI.
To launch Kali Linux in CLI mode, type:
$ nethunter
This would drop into a shell on Kali Linux. You can now use Kali Tools or check your OS with
$ cat /etc/os-release | grep "\bNAME="
NAME="Kali GNU/Linux"
Now we have successfully completed our install of Kali Linux on our non-rooted Android as well !
Note that on non-rooted you cannot use some tools which require root permissions . However, this still remains utilitarian when performing memory intensive operations like Password cracking and bruteforcing. Most mobile devices nowadays come with a lot of RAM and brilliant processors which can help to crack password hashes or bruteforce our way into systems all the while retaining the functionalities of a normal Android Device.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
Click here to Sign up and get $200 of credit to try our products over 60 days!
I want password of this Gmail
- aniket gangwar
It doesn’t work with me I don’t why,I need help guys
- Vatrixz
Sudo password?
- Linux Kali
Kali exit karne ke bad firse kali kese open kare
- Sabir
root password
- Prathab
i am at installing problem …msg is unable to package wget & unable to package fish…pls help
- piyu
Share chat id baned Reported
- Nitheesh
It is telling me no such file or directory found
- Festus
I have done all steps but it said "unfortunately ur can’t be read by… so how can i solve that pls
- Kadar nour
i am at installing problem …msg is unable to package wget & unable to package fish…pls help
- anirban