Skip to content

thehackingsage/kali-nethunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

kali-nethunter

KALI NETHUNTER



Kali Nethunter

Kali Nethunter :

Kali NetHunter is a free & Open-source Mobile Penetration Testing Platform for Android devices, based on Kali Linux. read more about nethunter here : https://www.kali.org/docs/nethunter/

Nethunter for Supported Devices : https://www.kali.org/get-kali/#kali-mobile

Nethunter for Unrooted Devices : https://www.kali.org/docs/nethunter/nethunter-rootless/

Nethunter for Rooted/Non-Supported Devices : https://www.kali.org/docs/nethunter/porting-nethunter/

Nethunter for OnePlus3T

ℹ️ For OnePlus3T Oxygen OS 9.0.6 Android 9 Pie

OnePlus3T Oxygen OS 9.0.6 Android 9 Pie

Required Files :

ℹ️ BACKUP ALL YOUR DATA BEFORE DOING ANYTHING.

Unlock OnePlus3T Bootloader :

  • Enable Developer Option : Go to Settings > About Phone > Tap on Build Number 7 times.
  • Go to Settings > System > Developer Options
  • Enable USB Debugging Mode, OEM Unlocking and Advanced Reboot
Enable Developer Option
Enable USB Debugging Mode, OEM Unlocking and Advanced Reboot

⚠️ Unlocking Bootloader will completely reset your phone to factory defaults! Backup all your data before doing this.

  • Boot OnePlus3T into fastboot mode by long pressing the power button and then select Bootloader Option, or you can also boot your device into fastboot mode by turning off the device then long pressing volume up + power button.
  • After that connect your device to PC via USB cable.
  • Extract Fastboot and ADB (platform-tools_rxx.x.x-windows.zip)
  • Open the Terminal in the extracted Fastboot and ADB folder by pressing Shift + Right Click > Windows Terminal
Fastboot and ADB
  • Verify the device’s connection by executing the following command :
fastboot devices
Fastboot Devices
  • Now, unlock the bootloader by typing the following command :
fastboot oem unlock
Fastboot OEM Unlock
  • You will get finished output in the terminal and phone will reboot, let it boot completly and setup your android device.

Flash TWRP Recovery :

  • After Unlocking Bootloader, reboot and setup your android.
  • Again, Enable Developer Option.
  • Enable USB Debugging Mode, OEM Unlocking and Advanced Reboot.
  • Reboot OnePlus3T into fastboot mode and connect your device to PC via USB cable.
  • Move TWRP img file to the extracted Fastboot and ADB folder

⚠️ You can also change the TWRP img file name to twrp.img with the actual filename. just for shorten the command. 😅

Fastboot TWRP
  • Open the Terminal by pressing Shift + Right Click > Windows Terminal

  • Verify the device’s connection by executing the following command :

fastboot devices
Fastboot Devices
  • Now, Flash TWRP Recovery by executing the following command :
fastboot flash recovery twrp.img
Flash Recovery
  • That's it !!! You have successfully installed TWRP Recovery.
  • Now, navigate to TWRP Recovery with your volume keys and select it with the power button.

⚠️ You can also create a backup using TWRP and move it to your PC or USB Stick so if anything goes wrong you can restore your stock android

Wipe All Data and Flash Stock Rom and Patches :

  • Reboot to TWRP Recovery
TWRP Recovery
  • Format DALVIK, SYSTEM, CACHE : Wipe > Swipe to Factory Reset 1
Factory Reset
  • Don't Reboot !!

  • Copy all files to the USB Stick :

    • OnePlus3TOxygen_28_OTA_086_all_1911042121_9156030ead54e.zip
    • boot-patched-9.0.6-OP3T.img
    • Force_Encryption_Disabler_For_OOS_Pie_v1.zip
    • Magisk-v23.0.zip
    • nethunter-2021.3-oneplus3-any-pie-kalifs-full.zip
  • Connect The USB Stick with Android Device using OTG Cable.

  • Mount OTG by going to Mount > Select USB-OTG Partition

  • Select Storage USB-OTG by going to Mount > Select Storage > Select USB-OTG

USB-OTG
  • Flash OnePlus3T Stock Rom : Install > Select OnePlus3TOxygen_28_OTA_086_all_1911042121_9156030ead54e.zip file > Swipe to Install
OnePlus3T Stock Rom
  • Don't Reboot !!
  • Flash boot-patched-9.0.6-OP3T.img : Install > Install Image > Select boot-patched-9.0.6-OP3T.img file > Swipe to Install
Boot Patched

⚠️ Flash boot-patched-9.0.6-OP3T.img to disable DM-Verity

  • Go back and Flash Force_Encryption_Disabler_For_OOS_Pie_v1.zip : Install > Select Force_Encryption_Disabler_For_OOS_Pie_v1.zip file > Swipe to Install
Force Encryption Disabler For OOS Pie v1
  • Again go back and Flash Magisk-v23.0.zip : Install > Select Magisk-v23.0.zip > Swipe to Install
Magisk
  • Now reboot to system and setup your android device.!!

Install Kali Nethunter :

  • Once you setup your device again reboot to Recovery.

  • Go To Advance > Terminal

  • Type df system -h and look at the free space in system partition, make sure you have atleast 100MB free space.

Terminal
  • If you don't have enough free space then mount system in TWRP : Mount > Select System
  • Go to File Manager > System > Apps and free some space by deleting some unwanted apps like play games, play movies, youtube, duo etc. (Beware : Don't Delete System Apps)

⚠️ If there is low space on your system partition that fstab file flashing fails resulting in blank fstab file and you will end up in bootloop.

  • Then check again the free space from terminal, Once you have confirmed that you have atleast 100MB of free space left in system partition follow the next step
  • Now Flash nethunter-2021.3-oneplus3-any-pie-kalifs-full.zip : Install > Select nethunter-2021.3-oneplus3-any-pie-kalifs-full.zip > Swipe to Install
NetHunter on OnePlus3T
  • This process can take up to 25 minutes so keep patience.
NetHunter on OnePlus3T
  • Once the flash is successful, Flash Magisk-v23.0.zip Again : Install > Select Magisk-v23.0.zip > Swipe to Install
Magisk
  • That's It. Reboot Your Device.
Kali NetHunter on OnePlus3T

Things To Do After Installation :

  • Update NetHunter App after flashing.
  • Open the NetHunter App and start the Kali Chroot Manager.
  • Install the Hacker Keyboard from the NetHunter Store using the NetHunter Store app.
  • Install any other apps from the NetHunter Store as required.
  • Set up Nethunter KeX.
  • Configure Kali Services, such as SSH.
  • Set up custom commands.
  • Initialize the Exploit-Database.
  • If you want you can also Add Metapackage.
  • Open Nethunter Terminal and Update and Upgrade Kali.
Kali Chroot

That's it !!! if you face any issue feel free to ask..

Source :

Happy Hunting !!!