Hi guys welcome back to Mr.Ethical yt blog post.Many people are getting rootfs corrupted errors while download the Kali nethunter. So today we are going to fix that errors and install the nethunter properly in our mobile.
Installation
apt-get update-y && apt-get upgrade-y
Give storage permission to termux.
termux-setup-storage
Install the wget package.
apt-get install wget
Now download the nethunter install script to the termux.
wget -O install-nethunter-termux https://offs.ec/2MceZWr
We have to made some changes in the script. Open it the nano editor.
nano install-nethunter-termux
Scroll down to the last. You will see a line as get_roots like shown in the image.Comment out that line by putting a '#' symbol before it or remove the line.
After comment out or removing the get_rootfs line from the installer script save it by Pressing CTRL and S then exit by pressing CTRL and x.
We are done with the installer script. Give executable permissions to it.
chmod +x install-nethunter-termux
Now open chrome browser navigate to this url .If your using latest versions of android download the "kalifs-arm64-full.tar.xz" file or if you are using older versions of android like below android 9 download the "kalifs-armhf-full.tar.xz".To download that file you will need to have approximately 2gb data. After download was completed. We have to copy it to the termux home directory.
cp /sdcard/kalifs-arm64-full.tar.xz $HOME
Now the the installer script.
./install-nethunter-termux
That's it wait for the process gets completed. We have successfully installed Kali nethunter in android without getting any errors. Hope you found this post helpful.