In this article, we will learn how to install Kali Linux on Android smartphones without rooting the device.
Kali Linux is one of the best-loved operating systems of hackers, security researchers, and pentesters.
It offers an advanced penetration testing tool and its ease of use means that it should be a part of every security professional’s toolbox.
Kali Linux on Android smartphones and tablets allows researchers and pentesters to perform ” security checks” on Networks like cracking Wi-Fi passwords, finding vulnerabilities/bugs, or cracking security on websites.
Here is how you can install Kali Linux on Android smartphones without rooting your phone.
Install Kali Linux on Android Phone
Before we begin with the process of how to install and run Kali Linux on an Android smartphone you will need to download the apps provided below:
Prerequisite:
- Android Smartphone (No root required)
- install Termux
- install NetHunter-KeX client
- install Hacker’s Keyboard
Installation:
After installing the above-mentioned apps. Open Termux, if it gets stuck on your phone then press enter.
Now we need to install some packages using Termux. To do so just copy, paste, and enter the commands provided below.
- Update the system using the following command
$ pkg update && pkg upgrade -y
- Set up system storage.
kali@kali:~$ termux-setup-storage
- Download Kali Linux
kali@kali:~$ wget -O install-nethunter-termux https://offs.ec/2MceZWr
- Adding execution privilege to the downloaded Kali Linux file
kali@kali:~$ chmod +x install-nethunter-termux
- Installing Kali Linux on Android
kali@kali:~$ ./install-nethunter-termux
The above-mentioned commands will fetch, download and install Kali Linux on your phone. Since the file is around 1.5GB in size it can take some time to download.
Once downloaded you can run Kali NetHunter from the CLI
To start Kali NetHunter type in the following command
nethunter
Provided below are some of the helpful Kali Nethunter commands for your Android phone
nethunter kex passwd |
configure the KeX password (only needed before 1st use) |
nethunter kex & |
start Kali NetHunter Desktop Experience user sessions |
nethunter kex stop |
stop Kali NetHunter Desktop Experience |
nethunter <command> |
run |
nethunter -r |
start Kali NetHunter cli as root |
nethunter -r kex passwd |
configure the KeX password for root |
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 |
Kill all KeX sessions |
nethunter -r <command> |
run <command> in NetHunter environment as root |
Wrapping UP
So we have successfully installed Kali Linux on non-rooted Android Smartphones.
Getting error while installing… E: The selected extractor can not be found: ar
Format your SD card to Ext 2,that will solve it,make sure your Android sees the Ext2 partition. I checked it with link2sd
Oops my bad,it wasnt the Ext2 partition.
You need the busybox by meefik
https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=en
I managed to install and run the entire thing.
But when i enter through the VSH i have a black screen on the left and a white screen on the right where i can insert the commands.
I did apt-get update and got the entire package,i can insert commands,but i dont have a desktop,just a black screen and a white screen.
What do?
Nevermind i changed the desktop option on Linux deploy and that fixed it.I have Kali on Android at last!
yar yeh toh nai horaha hai…..plz help installation nai ho rahiii hai
Please help getting installation failure
i hv install it all are done bt i dnt knw how to use it , help me ?
Hey what if I aleardy have .iso file. How to install then ?
I installed kali linux in android.In vnc viewer shows blank grey screen with mouse pointer..please help me
Mi galaxy s5 ya tiene kali linux en linux deploy, pero tengo un gran problema al tratar de poner mi targeta de red en modo monitor, no aparece driver de chipset compatible para esta funcion q creo es la mas importante para hacer un escaneo de redes. Alguien tiene la soluciona esto, Ayuda por favor!!
thank you sir
It is work on my Samsung galaxy tab 3 neo ? Please tell me…
can it also work android lollipop 5.1
VNC viewer can’t be connected to kali……. it shows ” The port on which computer is listening for the connection could not be contacted”… Plzz help me to solve that issue…. as soon as possible ?
Hello.im appreciate your tutorial but in my country is little difficult to gain internet acces.i have kali linux 1.10a i386 iso and work fine on my pc.is there anyway i can skip the download step? Is yes how?Im using asus zenfone Z00ED rooted and more than 8gb free internal.reply pls
For those who have problems on SSH and VNC fail
Try this its work on me…
Download kalilinux full.img or kailinux basic.img extract it rename it into linux.img and the other linux.img.md5…. and save it to sdcard… add folder name kali and save the extract linux.img and linux.img.md5
Go to linux deploy edit your settings…
Note: to INSTALLITION PATH should be edit to /sdcard/kali/linux.img (depends on your storage name location)
And hit the RECONFIGURE BUTTON and wait ……….
It will patch and load linux.img
Then if you see <<<configuration
dont mind if your SSH and VNC skip just hit start….
After installation you will see SSH and VNC done…
And you may go now to your VNC ANDROID APPS…
Hope its your on you…
do the phone memory should be 5 G hiB
or the SD card??
It gets to the point where it says waking file system (ext4)…fail. I’m so new to this what does this mean and how can I get around it?!? Pls anyone…
I am a begineer learning, so that please give me information how to install kali Linux on my oppo f1s phone,
vnc error:
The port on which the computer is listening for a connection could not be contacted
I m using zen admire fab q+ .I want to install Linux. but I don’t have computer and vnc is not connecting. help pls
All of you lames that cannot even troubleshoot a fucking VNC connection shouldn’t even THINK about touching Kali… Jesus Christ this is sad… To think… The future of security could be in the hands of these nUbz
lulz