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.
Warning
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.
Requirements
- 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.
Downloads
- 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.
fastboot devices
- 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.
fastboot devices
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
source:ย mingo_mgx
Join The Discussion: