- 1Instructions
- 2Disable drivers signing verification on Windows computer using CMD executed with Admin privileges and reboot PC.
- 3bcdedit /set testsigning on
- 4Download and install Qualcomm drivers
- 5Download OOS 10 ROM: guacamoleb_14_P.32_210127.zip
- 6Unzip downloaded ROM, and run MsmDownloadTool V4.0.exe
- 7Power off OnePlus 7 Pro. Simultaneously press volume up and volume down buttons for 5 seconds and connect the device to computer. Once the MSM Download Tool recognizes the device (connected instead of N/A) click on Start button. You have to do it within around 15 seconds, since after ~30seconds the device will go into bootloader mode and it will not be recognized. After a few minutes device will reboot
- 8Setup device
- 9Enable USB debugging and unlock bootloader
- 10Go to Settings -> About Phone and tap 7 times on Build Number
- 11Tap back button and to go Developers options and enable Unlock bootloader and ADB debugging
- 12Reboot Android into bootloader mode using adb command: adb reboot bootloader
- 13From bootloader unlock OEM, using command: fastboot oem unlock
- 14Device will be wiped
- 15Device should now be successfully flashed with Stock OOS 10 ROM and have open bootloader.
- 16
- 17Install TWRP recovery and root
- 18After we successfully unlocked the bootloader, we can install custom recovery. From recovery we will install Magisk; this will patch the boot image and allows us to use root permissions. Without having custom recovery, we wouldn’t be able to root the device and install NetHunter.
- 19
- 20Instructions
- 21Enable USB debugging (mentioned above)
- 22Download and copy to Android both TWRP and Magisk: twrp-3.4.0-10-guacamole-unified-installer-mauronofrio.zip and Magisk-v23.0.zip
- 23Download TWRP: twrp-3.4.0-10-guacamole-unified-Q-mauronofrio.img
- 24Reboot Android into bootloader mode using adb command: adb reboot bootloader
- 25Boot downloaded TWRP from PC using command: fastboot boot twrp-3.4.0-10-guacamole-unified-Q-mauronofrio.img
- 26From booted TWRP install copy TWRP (twrp-3.4.0-10-guacamole-unified-installer-mauronofrio.zip) and Magisk (Magisk-v23.0.zip)
- 27Reboot to system
- 28Open and setup Magisk app (update & install)
- 29For clarification, you can verify if device was successfully rooted via adb commands: adb shell and su
- 30
- 31Figure 2. Additional verification that device was successfully rooted
- 32Disable encryption and dm-verity
- 33We need to disable force encryption of data partition, to read user data. Disable dm-verity, which is a kernel feature to check the integrity of boot image. Flashing the zip file mentioned in Instruction section, allows user to also enable or disable disk quota, that grants the system to get storage statistics faster and it should even improve system stability, necessarily it don’t have to be disabled.
- 34
- 35Instructions
- 36Download and copy to Android Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
- 37Reboot Android into recovery mode using adb command: adb reboot recovery
- 38Got to Wipe and tap on Format data, write “yes” as confirmation.
- 39Reboot to recovery
- 40From TWRP install Magisk (Magisk-v23.0.zip) again
- 41From TWRP install Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
- 42Reboot to system
- 43Setup device (don’t enable any lock screen security)
- 44Open and setup Magisk app (update & install)
- 45Install NetHunter
- 46Everything is now ready for NetHunter to be installed. We will proceed with flashing custom kernel separately, then NetHunter image and once again, we need to flash Magisk and dm-verity.
- 47
- 48Instructions
- 49Enable USB debugging
- 50Download and copy to Android: kernel-nethunter-2021.3-oneplus7-oos-ten.zip, and latest version of NetHunter image for OnePlus 7 / 7 Pro / 7T / 7T Pro (Ten)
- 51Reboot Android into recovery mode using adb command: adb reboot recovery
- 52Install kernel (kernel-nethunter-2021.3-oneplus7-oos-ten.zip)
- 53Install NetHunter image (in my case nethunter-2022.4-oneplus7-oos-ten-kalifs-full.zip)
- 54If installation ends with error, “Not enough free space in your /system to continue!“, as you can see in Figure 3, then you have to resize /system partition.
- 55Fix it by going to Wipe -> Advanced wipe -> select /system -> Repair or Change File System -> Resize File System
- 56Repeat step 5)
- 57Install Magisk
- 58Install dm-verify
- 59Reboot to system
- 60Open NetHunter app and update via NetHunter App Store (not necessary)
- 61Start chroot in NetHunter
- 62Restart device
- 63Disable system updates: su -c pm disable com.oneplus.opbackup
- 64In NetHunter Terminal app, launch upgrade and update command: sudo apt update && sudo apt full-upgrade -y
Raw Paste