The OnePlus 6T was recently launched by the Chinese manufacturer. We’ve already shared the stock wallpapers from the device. If you’re a OnePlus 6 owner, you can get a few of the OnePlus 6T features and the Live Wallpapers on the latest Oxygen OS 9.0.2 or Oxygen OS Open Beta 6. But if you’re an owner of the OnePlus 6T, all you probably want is to root your device. Since the OnePlus warranty is still valid after unlocking the bootloader, you don’t have to wait for your device to be out of warranty. Luckily for you, you also don’t have to wait for a rooting method now because there already is one. We’ll show you how to unlock the bootloader, root OnePlus 6T and install TWRP recovery on it.
Installing a custom recovery on your device requires unlocking the bootloader which generally voids its warranty. That’s not the case with OnePlus devices though. But if you’re here though you’ve probably already made up your mind about it. We can assure you that the method mentioned below has been successfully tested and that it works perfectly fine. What we can not assure you of is that everything that you do (even if you follow this guide exactly) will produce the desired result. That is to say, there’s always a risk that something can go wrong. In which case, you must understand that you were warned, and you still went with it anyway. Therefore, DroidViews cannot be held liable for any damage to your device.
- A PC with ADB and Fastboot drivers installed. We have dedicated, detailed guides on how to do just that for all the three major platforms. You can check them out by following the links below.
- Enable USB debugging and OEM unlock.
- Make sure the device is charged at least 50%.
- Windows users will need to install the latest OnePlus USB drivers.
- Unlocking the bootloader will/should completely wipe all data from the device. This includes apps, settings and even the contents of the internal sd card (pictures, music, etc.). Copy all important files off the phone onto a PC or upload them to a cloud.
- TWRP recovery does support decrypting devices but it requires a PIN or password. This is why you need to make sure that your screen lock is set to PIN or password and not pattern. TWRP does not support pattern locks and thus you will not be able to decrypt your device’s storage without formatting it. So head over to Settings > Security & Lock Screen, and make sure Screen lock is set to either PIN or password.
- Enable Advanced reboot (optional). You don’t have to do this but things will be easier if you do. So head over to Settings > System > Developer Options, then turn on the toggle next to Advanced reboot.
- blu_spark TWRP image, blu_spark TWRP flashable zip – This TWRP recovery is meant to work with the OnePlus 6 running on Android Pie. Since the OnePlus 6T has essentially the same hardware and software, it works on the OnePlus 6T as well. Download both the files.
- Magisk – Latest Magisk zip.
Unlock OnePlus 6T Bootloader
Warning: Back up all your data and apps before proceeding to unlock the bootloader as they will be wiped during the procedure.
- Power off your phone.
- Press and hold the Volume Up and Power button together on your OnePlus 6T until it boots into fastboot mode.
- Connect it to your PC via a USB cable and make sure the connection isn’t loose.
- Now go to the ADB installation folder on your PC. (C:\Program Files (x86)\Minimal ADB and Fastboot)
- Type in cmd in the address bar and hit enter to open a command prompt window in the folder.
- Now let’s see if your device is properly connected to your PC. To do this, type the command given below and hit enter.
- If your device is connected, you will see your phone’s serial number and if you don’t, you should check if you have installed all the required drivers.
- Type the command below to unlock your bootloader if your device is detected. Remember this will wipe everything on your phone.
fastboot oem unlock
- On your phone, you will be warned about unlocking the bootloader, press the Volume Up button to highlight Unlock the bootloader and the Power button to select it.
- When your device reboots, power it off again and boot into recovery mode. To do this, press and hold the Power and Volume Down buttons together for a few seconds.
- In the stock OnePlus recovery, wipe all user data and then reboot your device again.
Install TWRP on OnePlus 6T
- Assuming you did enable Advanced reboot, bring up the power menu by long-pressing the power button. Select Reboot > Bootloader.
- Now connect your OnePlus 6T to your PC using a USB cable.
- Next, launch Minimal ADB & Fastboot on your Windows PC. You can find it in the start menu or search for it. Mac users will need to launch a Terminal window inside the ADB folder. Linux users can simply launch a Terminal provided ADB was installed system-wide, as mentioned in the tutorial linked above.
- Check the connection by entering the following command in the command window or terminal.
Depending on your Linux distro you may have to use ./ before every command. Mac users will need to use it as well. You should see your device’s serial number followed by the word fastboot.
- In the Terminal, enter this command:
fastboot boot /path/to/twrp-3.2.3-x_blu_spark_v9.86_op6.img
In the command above, replace /path/to/ with the actual path to the twrp file. You don’t need to type a path if the twrp file is already placed in the adb folder. Also, make sure you’re typing the correct file name of the TWRP image file. As of this writing, the latest version is v9.86 but a newer version will have a different file name.
- When your device boots to TWRP, go to Advanced > ADB Sideload and then swipe at the bottom to start it.
- Now use this command on the PC to flash the TWRP zip file.
adb sideload /path/to/twrp-3.2.3-x_blu_spark_v9.86_op6.zip
Similar as before, replace /path/to/ with the actual path to the twrp file and use the correct file name.
- One it is flashed, go back to TWRP main menu and select Reboot > recovery.
Root OnePlus 6T with Magisk
- When your device is back in TWRP recovery, start the ADB sideload again as before.
- Now flash the Magisk zip with the same command as before.
adb sideload /path/to/magisk.zip
Replace with the correct path and file names.
- Once Magisk is flashed, reboot your device normally and it should be rooted.
You have successfully unlocked the bootloader, installed TWRP recovery and rooted your OnePlus 6T.
Read next: Enable Stereo Speakers on OnePlus 6T