Install Kali Linux On Non-Rooted Android Phone

Filed Under: Android
Installing Kali Linux On Non Rooted Android Phone

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

Steps to install Kali Linux on non-rooted Android

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.

1. Prerequisites

First things first, we need to install Termux and Hacker’s Keyboard on our Android Device.

You can fetch these apps from Google Playstore.

Termux
Termux
Hacker's Keyboard
Hacker’s Keyboard

2. Setting Up Our Environment

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.

3. Fetching And Executing Our Script

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.

Kali In Termux
Kali In Termux

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 !

Conclusion

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.

Comments

  1. aniket gangwar says:

    I want password of this Gmail

  2. Vatrixz says:

    It doesn’t work with me I don’t why,I need help guys

    1. Joe says:

      Hi,how can I connect to VNC for so far when I enter nethunter kex passwd to configure with nethunter kex clientit tells me command not found?

  3. Linux Kali says:

    Sudo password?

    1. Kush says:

      ./start-kali.sh

    2. Ritish Negi says:

      Its kali

  4. Sabir says:

    Kali exit karne ke bad firse kali kese open kare

  5. Prathab says:

    root password

  6. piyu says:

    i am at installing problem ..msg is unable to package wget & unable to package fish鈥ls help

    1. piyu says:

      Initializing download: https://images.kali.org/nethunter/kalifs-arm64-full.tar.xz
      SSL error: certificate verify failed
      (null)
      PROBLA HO RAHI HE

    2. taher says:

      go install terminux from another source like f-droid

    3. Dexter says:

      use f-droid

      How to install Termux app from F-Droid:

      Open F-Droid on your Android or Chrome OS device by tapping this link,
      Tap Download APK,
      Tap the downloaded APK on your device,
      Tap allow installation of apps from unknown sources (you will want to set this option anyway to be able to install apps built on your device in Termux),
      Allow the installation to complete,
      Once installed, you will see the Termux launcher on your home screen and in your App Drawer. Tap the icon to fire up the application.

      Please do not mix your installation of Termux between Google Play and F-Droid. There are compatibility issues such as, “Can’t install Termux:Api from google play

  7. Nitheesh says:

    Share chat id baned Reported

  8. Festus says:

    It is telling me no such file or directory found

    1. Kush says:

      Please allow the storage permission to Termux.

      Go to Settings > Apps > Permissions > Storage > Allow

      You problem should be fixed.

  9. Kadar nour says:

    I have done all steps but it said “unfortunately ur can’t be read by…. so how can i solve that pls

  10. anirban says:

    i am at installing problem ..msg is unable to package wget & unable to package fish…pls help

  11. Md Enjamul Haque says:

    Thank you sir, it is work.

  12. Kelly says:

    Can you help me pleas am using Tecno camon 16s

    1. Jermaine says:

      Please assist its failing to download . It keeps saying rootfiles corrupted

      1. Waleed Ajmal says:

        you have to install rootfiles manually

  13. Kelly says:

    I have tried everything but it have refused,its not commanding

  14. David Scott Patrick says:

    Thanks!
    Can I Install Kali nethunter in My Infinix android Mobile Device??

    1. Athoy Ranjon says:

      Yes….youtube have many tutorial.. You can follow

      1. Sj says:

        It’s hung at progress 61% .

        1. Molly Cordelle says:

          Me too mine stopped at 63%馃ズ馃槶

          1. Waleed Ajmal says:

            slow internet

    2. Waleed Ajmal says:

      yes

    3. Kush says:

      Yes of course.

Comments are closed.

close
Generic selectors
Exact matches only
Search in title
Search in content