Thanks to the Linux deployment team now the great wall separating android users from kali has weakened and fallen. It has been a long journey integrating Linux system on advanced RISC machine devices. It started with Ubuntu and now we have a Kali version that can run on your android device. Isn’t that great? Great indeed.
Kali is a penetration testing Linux distro mainly used by digital forensics and cryptographers. Follow me and I will show you how to install Kali Linux on your android. It’s pretty easy for someone who cracked high school calculus. Oh no! Not calculus really but Haiku poetry.
INSTALLING KALI LINUX ON THE ANDROID PHONE
- An android phone running version 2.0 and above
- Not less than 5 GB of free memory space (both internal and external)
- A nice internet connection
Nothing else or maybe a little patience to get you off the wall. There is a lot of waiting here believe me.
Rooting Your Android Phone
It is advised to have your phone rooted by an expert because root poses a threat to irreversibly damage your phone. If you can do it, however, ensure you do it correctly or you might end up damaging your phone. What you need to do first is back up your phone data. After which you should activate USB debugging and EOM unlocking in the smartphone’s developer settings. When everything is set to this step, download Android SDK tools from the Google developers site and install it in a default directory. Or you can install it anywhere but ensure you remember the directory. Uncheck everything in the resulting tab and click on install 2 packages.
Install By Accepting Licenses
Go to your phone manufacturer’s website and install device drivers. Ensure you unlock the bootloader. Note that some devices may require you to obtain an unlock key. Restart your device to fastboot mode (on most devices this is done by pressing volume up+power on). Open a command prompt on your personal computer.
Your device may require a code, copy it and paste it on your manufacturer’s website. After submitting the website form check for an email from your device manufacturer. This email will contain a key, file and further instructions necessary for rooting your smartphone.
Note that the following steps illustrated below may vary from device to device. It is recommended that you search for specific commands that regard your phone. Or you can follow this guide to learn how to root your phone. Go to the google play store on your phone and download Kingo root app. After installing the app and making sure your device is connected to your personal computer. Enable debugging and root your device.
Set up Linux deploy for Kali
NOTE: Ensure your Android phone is rooted or you have near you a rooting guide for your phone brand. Download the Linux deploy the app from Google play and just choose Kali distributions in the distributions tab. Set your installation type and path/location as well but you may also decide to stick with the defaults but we recommend configuring up the deployment app.
After the configurations: You can build on the Kali image by hitting the install button. This will take less than 5 minutes but depends on your internet speed. The install button starts a Kali Linux bootstrap directly from the Kali repository.
VNC viewer app(optional)
Go to google play and download the VNC viewer app. This is how you are to configure your VNC :set Address to localhost
set name to kali
When through with the above set-up click the connect button now and it will be possible to run your kali on the android. This process is however optional because the Kali installation comes with its own VNC or SSH server thus eliminating the need to download one.
The CHROOT mode
Once you are over with the installation, have the Linux deploy automatically mount and load your Kali Linux chroot image. This step will also entail start-up of VNC and SSH servers that will enhance easier remote access. Just press the START and this process will begin.
Note the IP address assigned to your device. You can use it to log in to your kali session.log in to chroot mode
Use either the VNC or SSH client to get into your kali instance. The VNC defaults will be as follows.
username: android Password/key: change
Linux deploy will normally allocate an image size of 4GB for a naked installation of kali. In case you will ever need to install more tools and utilities that might require huge space, it is recommended to reconfigure the image size at the Linux deploy settings. The above process is one of the configurations among numerous required to set up Kali OS on an Android device. It is the simplest though and in my opinion a perfect stance for entry-level technologists. Kali is a great OS which not only is a penetration testing tool but can also function as a utility operating systems. There are other alternatives to kingo root which you will also find at google play and they will all suit your needs since the process is the same.