A Simple Guide to Getting Kali Linux on Your Android Without Rooting It!
Enter the Dragon
Introductions are in Order
Hello and welcome to this tutorial, it is going to be a long one so sit back, grab your phone and relax. I mean, not really relax but you get the picture. This tutorial is going to be a little long so follow me! This is for all the supernerds out there who just can't get enough of the amazing Kali Linux OS and would like to take their obsession with them!
This is an ADVANCED tutorial and I would recommend it only to those who have prior experience with some form of Linux, preferably Debian as Kali Linux is based off of Debian as well as some experience using Termux on Android. Anyways, I will be listing the prerequisites below! I sincerely hope that you enjoy this and don't forget to leave me a comment if you like it or have questions!
Prerequisites for the Tutorial
As I mentioned above, there are some things that you will need to continue on with this tutorial and these are:
- Basic knowledge of Linux, preferably Debian
- Knowledge in working with the Linux command line
- A phone with at least Android Lollipop and above
I am not here to hold your hand through this tutorial, but I hope it will be informative and give you the tools you need to be able to take one of the most functional and interesting OS in the entire world.
First of all, you're going to need to install the app AnDronix in the Google Play Store. It is a free app and is pretty easy to find. What AnDronix does is give you the source code that you will need to enter into the Termux terminal in order to install Kali. This saves time and a lot of effort and removes the need for you too copy codes from Google or write your own scripts. Although it is possible to use other apps, this is the one app that I have used repeatedly and has always given me quality results. It also allows you to put the code for the GUI interface that you will later use in VNCviewer if you would like a GUI based experience instead of just a command line/terminal experience.
If you don't already have Termux, you need to download it in this step. Now it's important to know that with AnDronix, you can also get different distributions such as Fedora, Ubuntu, etc. I will only be covering Kali, but feel free to experiment on your own, they are the same steps for all of them! After you have installed Termux, return to AnDronix and click the Kali option and choose to copy all of the source code by hitting copy. Then you simply paste it in the Termux terminal. You must press enter and then wait patiently for the entire OS to install. If you mess up this step, you will have to completely reinstall Termux which is really inconvenient. Trust me, I had to reinstall Termux about 20 times before I got the hang of it.
After you finish installing the Kali script, you should go back to AnDronix and click the option to install the desktop interface that you most prefer for VNCviewer and paste the code like you did for the OS. The choices are:
XFCE is a free, open source desktop, which is fast as well as lightweight. It is also disposable and offers great functionality.
LXQT is the same as XFCE but uses less memory and is more suitable for mid-performance phones.
LXDE is especially suitable for use on older or resource-constrained phones, aka potato phones.
MATE is especially great for Debian based OS such as Kali and offers great functionality.
It is really all a matter of preference as they don't differ much from one to the other.
Finishing Things Up
After you finish installing the GUI, you can set it up in VNC viewer. I won't go into how to set this up, because if you're going to use Termux, that is something you will have to learn. However, to run Kali in Termux, you simply enter ./start-kali.sh.
NOTE: You still have to install most of the tools you want to use on Kali, so for example if you want to use Metasploit you must install it by commands. I will also be making a tutorial on Termux and Metasploit if that is what you are interested in.
Also: Remember that if you don't install Kali right, you will have to completely reinstall Termux so let the install complete. You will know when it is complete because another line will open up that starts with Root.
Questions & Answers
© 2019 That One Tech Guy