With the OnePlus 8 Series, OnePlus embarked on a new journey by intruding to the flagship territory where only mammoths such as Samsung, Apple, and Huawei have been reaping benefits for years. Nevertheless, the OnePlus 8 Series has been performing exceptionally well in the market. The top-end OnePlus 8 Pro indeed being the fave of most of the buyers. Here we’ll take a look at how to root OnePlus 8 Pro.
Without any further ado, let’s dive in starting with the procedure to unlocking the bootloader.
- TWRP 3.14 for OnePlus 8 Pro: Download
- Minimal ADB and Fastboot: Download
- Magisk and Magisk Manager: Download
- OnePlus 8 Pro Stock Firmware: Download
Unlock Bootloader of OnePlus 8 Pro
Disclaimer: Bootloader unlock may erase your data. So backup all the necessary data before proceeding.
- Go to OnePlus Switch > Backup & Restore > New Backup
- Copy that backup folder to your computer later on you can transfer it to the device once you’re done with the bootloader unlocking.
- First and foremost, go to Settings > About phone and tap the Build number section 5-7 times repeatedly. Developer options should appear in your device’s system settings, where you can then enable OEM unlocking.
- Once the OEM Unlock is enabled from the Developer Option, enable the USB Debugging option from the same Developer Options settings.
- Now, turn on your PC and make sure Minimal ADB and Fastboot is installed on your system.
- Connect your smartphone to the PC via USB and set-up ADB terminal. Once the device is all set to receive ADB commands, input the below code in the command prompt to make your device boot to bootloader/fastboot mode.
adb reboot bootloader
- Alternatively, you can use key combinations to get your device into fastboot mode. For that, press and hold Volume Up + Volume Down + Power button for a few seconds while your device is in off-state.
- Once your device has been booted into fastboot mode, it’s time to throw the commands which will really unlock your bootloader. Input the below commands via command prompt (make sure your device is successfully connected to PC in fastboot)
fastboot oem unlock
- Give the consent to unlock the device once the code has been entered.
- Within 1-3 seconds, the bootloader of the device should be unlocked. Now, you can restart your smartphone or proceed with other daring activities such as rooting or installing the custom ROMs. Good Luck!
Once you have the bootloader unlocked, now you can flash the unofficial TWRP available for the OnePlus 8 Pro.
Flash TWRP on OnePlus 8 Pro
Get ready with your PC or laptop, in which Minimal ADB and Fastboot is installed. Then follow the below steps.
- Copy the TWRP file to the folder where ADB and Fastboot are installed.
- Rename the file to twrp.img.
- Turn off your OnePlus 8 Pro.
- Boot your OnePlus 5 into Fastboot mode > Press and hold the Volume Up Button + Power Button.
- Connect your phone to your PC via USB Cable.
- Open a command window on the folder where ADB and Fastboot are installed.
- Go to the folder where ADB and Fastboot are installed.
- Hold down Shift Key > Right Click on the empty space > Choose ‘Open CMD Here’.
- Execute the below command in the command window to see if your device is properly connected:
- Make sure the TWRP file is in the ADB folder. Execute the below command to install TWRP on your OnePlus 8 Pro:
fastboot flash recovery_a twrp.img fastboot flash recovery_b twrp.img
- The Fastboot command will replace stock recovery with TWRP.
- Next, you can boot to TWRP recovery
fastboot boot twrpname.img
- On TWRP setup screen swipe the slider to allow modification.
Once you’re in TWRP you may directly flash the Magisk or just follow the patched boot image method given below.
Root OnePlus 8 Pro Using Magisk Patched Boot.IMG Method
For the patched boot.img method you’ve to extract the boot.img file from the stock firmware of the build you’re currently running. Get the OnePlus Pro stock firmware from here. You can extract the boot.img by unzipping the firmware using any tool on PC. The unzipped firmware should contain a file named boot.img.
- Copy the boot image to your device
- Download and install the latest Magisk Manager
- Press Install → Install → Select and Patch a File, and select your stock boot image file.
- Magisk Manager will patch the image, and store it in
- Copy the patched image from your device to your PC. If you can’t find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/magisk_patched.img
- Flash the patched boot/recovery image to your device and reboot. Here is the fastboot command:
fastboot flash boot /path/to/magisk_patched.img
- Reboot the device
- Install Magisk Manager
- Reboot the device once again.
Check the root with the Root Checker app or similar apps.