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/
ℹ️ For OnePlus3T Oxygen OS 9.0.6 Android 9 Pie
- Fastboot and ADB
- OnePlus3T Driver
- TWRP for OnePlus3T
- Magisk v23.0
- OnePlus3T Oxygen OS 9.0.6 (Stock Rom) (Android 9.0)
- Kali Nethunter for OnePlus3T
- Boot Patched 9.0.6 OnePlus3T
- Force_Encryption_Disabler_For_OOS_Pie_v1
- Type-C OTG Cable (Amazon India)
- USB Flash Drive (Amazon India)
- C-Type USB Cable
- 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
⚠️ 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
- Verify the device’s connection by executing the following command :
fastboot devices
- Now, unlock the bootloader by typing the following command :
fastboot oem unlock
- You will get finished output in the terminal and phone will reboot, let it boot completly and setup your android device.
- 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 totwrp.img
with the actual filename. just for shorten the command. 😅
-
Open the Terminal by pressing
Shift Right Click > Windows Terminal
-
Verify the device’s connection by executing the following command :
fastboot devices
- Now, Flash TWRP Recovery by executing the following command :
fastboot flash recovery twrp.img
- 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
- Reboot to TWRP Recovery
- Format DALVIK, SYSTEM, CACHE :
Wipe > Swipe to Factory Reset
1
-
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
- Flash OnePlus3T Stock Rom :
Install > Select OnePlus3TOxygen_28_OTA_086_all_1911042121_9156030ead54e.zip file > Swipe to Install
- 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
⚠️ 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
- Again go back and Flash Magisk-v23.0.zip :
Install > Select Magisk-v23.0.zip > Swipe to Install
- Now reboot to system and setup your android device.!!
-
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.
- 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
- This process can take up to 25 minutes so keep patience.
- Once the flash is successful, Flash Magisk-v23.0.zip Again :
Install > Select Magisk-v23.0.zip > Swipe to Install
- That's It. Reboot Your Device.
- 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.
That's it !!! if you face any issue feel free to ask..
- XDA-Forum : https://forum.xda-developers.com/t/disable-dm-verity-force-encryption-oneplus-3t-3-for-pie-oxygen-os.3922324/
- Kali Nethunter : https://www.kali.org/docs/nethunter/
Happy Hunting !!!