Kali Linux NetHunter on Termux is a powerful tool for security professionals and enthusiasts. It allows users to perform a variety of security assessments on their Android devices without rooting them.
pkg update && pkg install wget -y && wget -qO- https://raw.githubusercontent.com/xiv3r/Kali-Linux-Termux/refs/heads/main/kali_nethunter/kali-full | bash && kali
pkg update && pkg install wget -y && clear && wget -qO- https://raw.githubusercontent.com/xiv3r/Termux-Pentesting-Distro/refs/heads/main/KaliLinux/Chroot/kali-minimal | bash && kali
- Setup for kali nethunter full
- After the installation type the following commands in termux terminal
- Setup VNC password
kali vnc passwd
- Run VNC service
127.0.0.1:5901
kali vnc &
Next Open the VNC client and add the address
127.0.0.1:5901
and typekali
as username and your vncpassword
kali
kali -r
exit
kali-uninstall
Password:
kali
" Process completed (signal 9) - press Enter "
-
Download Shizuku and Ashell then enable developer options wireless debugging mode through shizuku and pair the key from the notification
-
Permit ashell from shizuku settings
-
Paste the adb commands below on ashell
-
Execute the commands below, These commands will disable the phantom process killer:
adb shell /system/bin/device_config set_sync_disabled_for_tests persistent
adb shell /system/bin/device_config put activity_manager max_phantom_processes 2147483647
adb shell settings put global settings_enable_monitor_phantom_procs false
- To verify:
adb shell /system/bin/dumpsys activity settings | grep max_phantom_processes
adb shell /system/bin/device_config get activity_manager max_phantom_processes