Unlock Bootloader, Install TWRP, and Root OnePlus 6T (Guide)

In this extensive guide, we will show you how to unlock the bootloader, install TWRP recovery, and easily root OnePlus 6T using Magisk.

The 6T was the second smartphone from OnePlus in 2018, succeeding the OnePlus 6 in terms of a new design, a whole new way to unlock the phone, along with some other improvements. Personally, I think that the OnePlus 6T is a total package (Don’t forget to check our detailed OnePlus 6T Review) and doesn’t come short when it comes to the design, performance, or battery. Even the stock firmware on the 6T – ‘OxygenOS’ sets a good example of simplicity and snappiness.

But users might often want to try other ROMs or add features to their device that the OEM doesn’t provide. In that case, one might want to install TWRP recovery and root OnePlus 6T.

Fortunately, OnePlus devices have always been flexible when it comes to custom development. Ever since its release, the phone has received a significant amount of support from the developer community at XDA. Initially, an unofficial build of TWRP recovery for OnePlus 6T (Codename: “fajita”) was made available by mauronofrio. And recently, the OnePlus 6T got official TWRP support. With that installed, you can easily root the OnePlus 6T by flashing Magisk.

In this guide, we will show you how to root OnePlus 6T in detail. We will start by guiding you on how to unlock the bootloader and install TWRP recovery on the OnePlus 6T. Since the phone supports the new AB partition scheme; there’s no dedicated recovery partition. So, you cannot simply flash the recovery image using the traditional method. Instead, you will first need to temporarily boot the TWRP recovery image (img) and then flash the TWRP installer zip.

Once you have done that, you can easily root OnePlus 6T by flashing Magisk using TWRP itself. The process is as easy as it sounds and we have given our best to explain how to do it, in a step-by-step manner.

Table of Contents

Prerequisites

Ensure that you fulfill all the requirements stated above before you move on to the instructions to install TWRP and root OnePlus 6T.

Downloads

Note that both the official and unofficial builds are being maintained by XDA Senior member mauronofrio. You can choose any of the two and it shall work without problems. Although, the unofficial TWRP recovery for OnePlus 6T might have the most recent changes/patches merged into it.

Unlock Bootloader on OnePlus 6T

In order to install TWRP and root OnePlus 6T you must first unlock the bootloader on OnePlus 6T. The steps below will only work for the International variant. If you own the T-Mobile variant, then follow our detailed guide on how to unlock the bootloader on OnePlus 6T T-Mobile Edition.

  1. Boot your OnePlus 6T into Bootloader Mode
  2. Connect your phone to the PC using the USB cable
  3. On the PC, go to the folder where the ADB and Fastboot binaries are present (e.g. C:\adb)
  4. Hold the SHIFT key and right-click on an empty space inside the folder
  5. Select the ‘Open PowerShell window here’ option
    Unlock Bootloader on OnePlus 6T - Open PowerShell Window Here
  6. Enter the following command to verify the device-PC connection:
    fastboot devices
  7. The command should return a device ID along with the ‘fastboot’ message
  8. Finally, enter the  following command to initiate the bootloader unlocking process:
    fastboot oem unlock

    Unlock Bootloader on OnePlus 6T - fastboot oem unlock command

  9. As soon as the command is entered, you shall see the confirmation message on the phone’s screen
  10. Use the Volume keys to highlight ‘UNLOCK THE BOOTLOADER’
    Unlock Bootloader on OnePlus 6T - Unlock Bootloader Confirmation Message
  11. Finally, press the Power button to confirm and unlock bootloader on OnePlus 6T.

Once done, you can follow the instructions in the next section to install TWRP recovery on OnePlus 6T.

Install TWRP Recovery on OnePlus 6T

  1. Download TWRP recovery image and installer zip files
  2. Connect your OnePlus 6T to the PC using the USB cable
  3. Transfer the TWRP installer zip to the phone’s storage
  4. Disconnect the phone and power it off completely
  5. Boot your OnePlus 6T into Bootloader Mode by holding the Volume Up, Volume Down and Power buttons together
    Install TWRP Recovery on OnePlus 6T - Bootloader Mode
  6. While your phone is in Bootloader Mode, connect it to the PC
  7. Now, copy the TWRP recovery image to the folder where the ADB and Fastboot binaries are present (e.g. C:/adb)
  8. Hold the SHIFT key and right-click on an empty space inside the same folder
  9. Select the ‘Open PowerShell window here’ option
  10. Enter the following command to temporarily boot TWRP recovery on OnePlus 6T:
    fastboot boot twrp-recovery-img-filename.img
  11. Make sure to replace ‘twrp-recovery-img-filename.img’ with the actual file name of the TWRP recovery image. Example:
    fastboot boot twrp-fajita-3.2.3-26.img
  12. Once your OnePlus 6T boots into TWRP recovery, tap on ‘Keep Read Only’ button
    Install TWRP Recovery on OnePlus 6T - Keep Read Only in TWRP
  13. In TWRP, press the ‘Install’  button
  14. Navigate to the internal storage and select the TWRP installer zip file (twrp-installer-fajita-3.2.3-1.zip)
  15. Finally, swipe the button to install TWRP Recovery on OnePlus 6T

Once the installation finishes, it is important not to boot into the OS, or your phone will enter bootloop. So, while your phone is still in TWRP recovery, follow the next section to finally root OnePlus 6T.

Root OnePlus 6T using Magisk

  1. Download Magisk 18.1 installer zip file
  2. Connect your OnePlus 6T to the PC using the USB cable
  3. In TWRP, go to ‘Mount’ and tap on the ‘Enable MTP’ option
  4. Transfer the Magisk zip to the phone’s internal storage
  5. Disconnect the phone and go back to TWRP’s main menu
  6. Tap on the ‘Install’ buttonRoot OnePlus 6T - Installing Magisk using TWRP
  7. Navigate to the internal storage and select the Magisk-v18.0.zip file
  8. Finally, swipe the button to begin the installation and root OnePlus 6T using Magisk
  9. Once the installation finishes, tap on the ‘Reboot System’ button

Once your 6T boots into the OS, you shall see Magisk Manager in the app drawer.

Now that you have successfully rooted your OnePlus 6T, you may go ahead install root-enabled applications, install Magisk Modules for additional features, and bypass SafetyNet on your rooted device. You may also install sound mods like ViPER4Android or Dolby Atmos. There are literally no limitations to what you can do on your rooted phone. So go ahead and explore them.

So, this was our guide on how to root OnePlus 6T and install TWRP Recovery on it. If you have any questions, make sure to leave a comment below.