Hello guys in this article i'm going to show you how to install kali linux on android without root.
What is kali-linux?
Kali Linux is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali contains several hundred tools which are geared towards various information security tasks, such as Penetration Testing, Security research, Computer Forensics and Reverse Engineering. Kali Linux is developed, funded and maintained by Offensive Security, a leading information security training company.Requirement to install linux on android:
How to install linux on android without root?
apt update && apt upgrade -y
this above command update our termux application packages. It will also upgrade.
step 2:
Now our packages and our termux application are upgraded. now just run the blow command
pkg install fish -y
It will take 5-10 seconds to do. after that just type the blow command.
fish
Step 3:
Now we are in fish mode. so next, we need to give our phone storage access to termux. type this below command
termux-setup-storage
Just hit enter now our phone ask storage permission. just allow it.
Step 4:
Now we need to install wget package on our termux. it will help to download the linux core.
pkg install wget -y
Step 5:
Now we are ready to initialize kali linux on our termux application. type this below command.
wget -O install-nethunter-termux https://offs.ec/2MceZWr
it will take 2-5 seconds after complete this process type blow command.
ls
Now you will see "install-nethunter-termux" bash script.


Step 6:
Now we need to give the permission of read-write and execute to the INSTALL-NETHUNTER-TERMUX bash file by using the command.
chmod +x install-nethunter-termux
Step 7:
Now we are ready to download the kali-linux file from the source. so let's use our next command to download the kali linux file into our termux application.
./install-nethunter-termux
or
bash install-nethunter-termux
This above command download the kali linux file into our phone storage. it will take a lot of time (depending on our internet speed) because the file size is 1.2 GB.
Step 8:
After downloading the kali-linux file we need to set a kex or vnc password. for that just follow the blow command.
nethunter kex passwd
this command ask you password. so set your password at least 8 character. it will ask again one time to verify your password . Now your vnc password is set successfully.
that's it guys now our kali-linux configured successfully on our android phone.
Step 9:
Now we enable to start the kex (vnc) server. so type the blow command.
nethunter kex &
Step 10:
then minimize the termux application and open the VNC viewer application. click on the plus icon to create a profile.it will ask for an ip address and machine name.
give any name for your favorite. and the ip address is type this below
localhost:5901
just click on done.
Now it will ask password so put your terminal password into that box and click on continue.


Then it will connect automatically connect our kali-linux desktop with our VNC application. now we can run & install any packages with our linux machine.
How to open again in our kali-linux?
nethunterornh
it will start our kali-linux terminal in our termux.
How to open again in our vnc application?
fishnethunter kex &
And go to our vnc application click your machine it will ask your password if type password. linux desktop view will open.













Comments
Post a Comment