Unlock Bootloader, Install TWRP and Root OnePlus 7T [Android 12]

In this guide, we will show you the steps to unlock the bootloader, install TWRP Recovery, and root your OnePlus 7T device. This OEM has always known to be among the most active players in custom development. By default every OEM ships their device with a locked bootloader. The reasoning on their part is quite simple- they only want the end-user to stick with the stock usage experience that they have to offer. Well, for some that are more than enough. But not for many other tech enthusiasts like us.

When there is an open-source ecosystem like Android, why not make full use of the same. In this regard, the first step requires unlocking the device’s bootloader. This will, in turn, allow you to carry out a plethora of customizations on your device. To begin with, you could try your hands on various custom ROMs or replace your device stock recovery with a custom one like TWRP. This in turn will allow you to flash IMG and ZIP files, create and Restore Nandroid backup, fix recovery bootloop, install Magisk in Ramdisk and the list goes on.

Along the same lines, you could also gain access to the system partition of your device via Magisk. This in turn is possible via two different methods. You could either directly flash the Magisk ZIP via TWRP  or extract the stock boot.img from payload.bin, patch it via Magisk and then flash it via Fastboot. As far as this guide goes, we will be sticking with the former method. So without further ado, let’s get on with the tutorial to unlock the bootloader, install TWRP Recovery, and root your OnePlus 7T device.



How to Unlock Bootloader, Install TWRP and Root OnePlus 7T

before we list out the instructions, we would like to make you aware of the risks of these tweaks. First and foremost, it will make your device’s warranty null and void and will wipe off all the data from your device. Along the same lines, apps like Google pay and Netflix might not function along the expected lines (though it could be fixed: How to Pass Magisk SafetyNet on Rooted Android Devices).

Likewise, there’s also a possibility of the device getting bricked or going to a bootloop state (again a fix is there as well: Unbrick Your OnePlus 7T and bring it back from a Dead State). Now that you are aware of the risks and are ready to proceed ahead, then here are the steps to unlock the bootloader, install TWRP Recovery, and root your OnePlus 7T. Proceed ahead with caution. Droidwin and its member wouldn’t be held responsible if something goes wrong with your device, and also in case of a thermonuclear war!

Just to reiterate the facts, TWRP doesn’t support OxygenOS 11 yet. But since as of now, the OnePlus 7 series haven’t received the stable Android 11 update or even the Open Beta update. you might be running OxygenOS 10 (Android 10 only). Hence TWRP will work perfectly without any issue.

But if you are seeing this guide a few months down the line with OxygenOS 11 installed, and this error message is still there, then you should head over to another guide to root your OnePlus 7T that doesn’t involve TWRP (using the boot.img method).

STEP 1: Install Android SDK

install adb platform tools windows

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide to install the TWRP Recovery on OnePlus Nord 2T.

STEP 2: Enable USB Debugging and OEM Unlocking

Next up, you will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.

oem unlock usb debugging

So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Bootloader on OnePlus 7T

Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then refer to our guide on  How to Unlock Bootloader on any OnePlus [Video]twrp oneplus nord 2t

STEP 4: Download TWRP Recovery for OnePlus 7T

  1. To begin with, grab hold of the TWPR for your OnePlus 7T from the below link.
  2. Then rename the TWRP file to recovery, so that the complete name becomes recovery.img.
  3. Now transfer this recovery.img file to the platform-tools folder on your PC.

STEP 6: Boot to Fastboot Mode

  1. Now connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-adb
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    twrp oneplus nord 2t

  4. To verify the Fastboot connection, type in the below command and you should get back the device ID.
    fastboot devices

    TWRP OnePlus Nord CE 2

  5. If you are not getting any serial ID, then make sure to install Fastboot Drivers on your PC.

STEP 7: Install TWRP Recovery on OnePlus 7T

  1. If you want to test the TWRP for one-time usage, then execute the below command:
    fastboot boot twrp.img
  2. On the other hand, if you want to permanently flash TWRP, then type in the below command:
    fastboot flash recovery recovery.img

    TWRP OnePlus Nord CE 2

  3. Now use the below command to boot your device to TWRP Recovery [if it doesn’t happen automatically].
    fastboot reboot recovery
  4. You may now test out the TWRP recovery and carry out the desired task.
  5. Once done, you could now boot your device to the OS via Reboot > System.
    twrp oneplus nord 2t

STEP 4: Root OnePlus 7T via Magisk

  1. To begin with, download the Magisk APK and change its extension to ZIP.
  2. Then transfer the Magisk,zip file to your device via TWRP Recovery.
  3. Now that your device is booted to TWRP, go to the Install section.
  4. Navigate to the Magisk ZIP file, select it, and perform a right swipe to flash it.
    install-magisk-oneplus-7t
  5. Once the flashing is done, you may reboot your device to the OS. So go to Reboot and tap on System.
    twrp oneplus nord 2t

That’s it. These were the steps to install TWRP Recovery and root your OnePlus 7T. Let’s now address another important point i.e. how to install OTA updates on your rooted OnePlus device. Follow along.


FAQ 1: Install OTA on Rooted OnePlus 7T

Many users have asked us whether they could install OTA updates on their rooted OnePlus device. Well, the question is completely genuine, and the answer is in the affirmative. Yes, you could install OTA updates on your rooted OnePlus 7T. Refer to our comprehensive guide to know the detailed steps for the same: How to Install OxygenOS OTA on Rooted OnePlus devices.

FAQ 2: Hide Root on Rooted OnePlus 7T

As you might be aware, upon rooting your  OnePlus  7T via Magisk, DM Verity gets triggered. This results in the inability of apps like Google Pay to function properly. Likewise, the WideVine L1 Certification of Netflix gets degraded to L3 and you wouldn’t be able to watch videos in HD. However, there is a handy method to hide root on your OnePlus and let all the apps function as it would normally do. This guide shall help you out: How to Pass Magisk SafetyNet on Rooted Android 11.

That’s it. These were the steps to unlock the bootloader, install TWRP, and root OnePlus 7T. If you have any queries concerning any of the aforementioned steps, do let us know in the comment section. We will get back to you with a solution at the earliest.


Share: