How to unlock Bootloader install TWRP and root OnePlus 3T
How to unlock Bootloader install TWRP and root OnePlus 3T

OnePlus recently launched its new flagship the OnePlus 3T at a price that made the OnePlus 3 redundant. The Chinese Manufacturer really knows how to sell products that attracts people. OnePlus 3T is actually the user feedback version of OnePlus 3 which is built to overcome all the issues that users reported in OnePlus 3 like smaller battery. The OnePlus 3 was the best phone OnePlus had made, and one we highly recommended. But it’s time to improvise. We have already discussed about the procedure of Installing TWRP & Rooting OnePlus 3 which better for OnePlus 3T.

Rooting OnePlus 3T is pretty easy. Rooting procedure of 3T can be broken down into 3 steps, Unlocking the Bootloader, Installing TWRP Recovery & finally installing SuperSU to gain Root access. Each new step relies on the previous step to have been completed, and a basic summary of each part is:

  1. Unlocking Bootloader: Opens the door to the internal memory of the device to be written on to. This allows you to flash images onto the main partitions of the phone.
  2. Installing a Custom Recovery: A custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default. Custom recoveries bring lots of functionality and give you the ability to perform wipes, install flashable zips, create full backups of your NAND (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.
  3. Rooting: You can gain root by either flashing via recovery a pre-rooted custom ROM, or flashing a zip containing the SuperSU binaries. A custom recovery is necessary to do this.

After completing these steps your phone will be rooted, the phone will have a custom recovery installed, and the phones bootloader will be unlocked. This, in our opinion, is the most practical and beneficial method for rooting your phone. It gives you some basic ADB/fastboot knowledge, and should hopefully help you have a decent understanding of what is going on. Also this method will work regardless of what android version your phone has.

If you are confused by anything in this guide, we would highly suggest getting it clarified being before moving on. Ask your question in the comment section and we will get back to you ASAP!

Prerequisites​:

  1. Install Minimal ADB Fastboot Tool.
  2. Install ADB Drivers – follow the procedure given in the guide.
  3. Enable USB Debugging – Go to Settings > About Phone > Tap on Build number 7 times > Return to Settings > Developer Options > USB Debugging.
  4. Backup all your data from your device as unlocking bootloader erases all the data.
  5. Charge your device upto 70% to avoid any shutdown during the procedure which might cause some big issue.
  6. Your device must be updated to 3.5.3 or above as TWRP has an issue with Decryption on 3.5.1
  7. Enable OEM Unlocking – On your phone go to Settings > Developer options. Then enable the ‘OEM Unlocking’ option.
  8. Enable Advanced Reboot – On your phone go to Settings > Developer options. Then enable the ‘Advanced Reboot’ option.

How to unlock OnePlus 3T Bootloader

Step 1. Turn off your device. Then boot it into fastboot mode by holding volume up + power. (The phone will display “fastboot” text indicating that it has successfully entered fastboot mode.)

Step 2. Connect your device to your PC & launch command.bat file from ADB folder.

Step 3. To check if everything is working, type below command in command window. It will return your device’s serial number. (If it doesn’t return a serial code, install the ADB drivers again.)

fastboot devices

Step 4. To unlock Bootloader of OnePlus 3T, type the below command:

fastboot oem unlock
Unlocking Bootloader on OnePlus 3T
Unlocking Bootloader on OnePlus 3T

How to install TWRP Recovery in OnePlus 3T

Step 1. Download TWRP Recovery and transfer it into Minimal ADB Folder. (Rename the TWRP file to whatever you want, I renamed it to TWRP.img)

Android Debug Bridge (ADB)
Android Debug Bridge (ADB)

Step 2. Open Command window & type the below command to flash the TWRP Recovery into your OnePlus 3T.

fastboot flash recovery twrp.img (Replace twrp.img with your file name)
How to install TWRP Recovery in OnePlus 3T using Minimal ADB
Installing TWRP Recovery in OnePlus 3T

Step 3. Now to boot into Recovery mode, type below command in command window.

fastboot boot twrp.img (Replace twrp.img with your file name)

Step 4. Once your device boots into TWRP Recovery, it will ask to allow system modifications.

Unmodified System Partition OnePlus 3T TWRP
Unmodified System Partition OnePlus 3T TWRP
  • By swiping right, you will trigger dm-verity, and if you don’t follow the next step you will be unable to boot!
  • If you are going to root your device and follow the rest of these steps, then it is safe to swipe right and enable modifications.
  • Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.

How to Root OnePlus 3T

Flashing SuperSU and dmverify to root OnePlus 3T
Flashing SuperSU and dmverify to root OnePlus 3T

Step 1. Download SuperSU & latest dm-verity and forced encryption disabler zip. Connect your device to PC & transfer all the downloaded files.

Step 2. Boot your device  into TWRP Recovery mode. (Jump to step 3 if you’re already in TWRP recovery)

Step 3. Go to Install in recovery mode & Flash  the dm-verity-opt-encrypt zip. (This will also allow you to use [Format Data] to completely disable your encryption if desired)

Step 4. Now flash the SuperSU zip file from Recovery. Wait for the installation to complete & reboot your device.

Keep in mind that the first boot after wiping the phone may take longer than usual, as the phone will need to rebuild the dalvik cache and initialize other first boot and would reboot a few times due to SuperSU Flash. Your phone now has an unlocked bootloader, a custom recovery installed and is rooted.

  • Catalinux

    The correct comand is FASTBOOT REBOOT and not FASTBOOT BOOT.

    Why?????
    Thats why: Some users need a custom recovery for a temporary period, so they live boot
    the recovery. In this scenario, the custom recovery replaces the stock
    recovery until a reboot is performed. Place the file in your fastboot
    folder then enter this command:

    • Fastboot boot to use a particular file to boot. Fastboot reboot will restart your device.

  • Threebdu

    i flash twrp successfully, but then when i tried to boot into recovery it just shows teamwin recovery project and its stuck at that page

    • Jason Xiao

      dunno if you’ve fixed it but same thing happened to me
      I went back into fastboot and used these commands:
      fastboot format cache
      fastboot format userdata
      before reflashing TWRP. Then it worked

  • FabianGMP

    Hello 🙂

    I need some help, how many time is the first boot after do this? I did it, but the OnePlus boot process is taking more than I think.

    My English is not very well, but I hope that you can help me

    Thanks

    • Did you clear cache & dalvik cache after everything? If the device is taking too long, perform a factory reset to fix it.

  • Yes, the update SuperSU works with Nougat too.

    • lebon coin

      Welcome. Sorry, i misspoke. I wanted to say that I’m affraid of bricking my phone if I try to root and flash dm verity again with the same method. Is there any possible issues ?

  • Unlocking bootloader allows installation & changing of System files. You must unlock bootloader before rooting or installing TWRP. You can find the command.bat file in the ADB folder (Click on ADB link & download the ADB zip file from the post).

  • Download ADB from the link & extract it. You’ll find command.bat file inside it.

  • Joel Otmar

    I am in some desperate need of help as my root may be failed and I am inside TWRP. I flashed both supersu and the anti dm verity file. They both ‘install’ and then I recieve error ‘unable to mount to storage’ – this was not present in the screenshots and so is concerning. I was also prompted with a password when first entering twrp and hit cancel, so not sure if there is an encryption issue causing this error?

    I am too worried to reboot and see if the supersu failed for fear of a boot loop. I am still sitting in twrp and wanting some help from more experienced rooters (this is my first attempt). Should I reflash the recovery ROM, will this stop any trigger of a boot loop? should I just reboot?

    Looking for the best path forward here. Any help REALLY appreciated!! 🙂

    • Don’t worry. Just reboot & check if everything is fine. If anything goes wrong, you can flash stock firmware from TWRP recovery. OnePlus allows flashing of Stock firmware from TWRP.

  • Joel Otmar

    Hi I am in desperate need of help. I followed this guide to the letter, and flashed both files via the install button in TWRP. They both showed exactly like in the screenshot and displayed ‘..done’. The issue is that directly after that in red letters it says ‘unable to mount storage’. I am scared to reboot after my installs for fear of a boot loop as this was not present in your screenshot…also cant find someone with the same issue after installing supersu ect. Really desperate for some help.

    Many thanks.

  • ajayrockz41

    wow oneplus 3T allready got a TWRP recovery !

  • Seamus O’Sullivan

    Correction to TWRP installation Step 2:

    If you have downloaded the TWRP Recovery file, transferred it into Minimal ADB Folder and renamed the TWRP file to TWRP.img then you should:

    Open a command window and type:

    fastboot flash recovery TWRP.img
    and not
    fastboot flash recovery recovery.img
    Seamus

  • Seamus O’Sullivan

    Correction for Step 2 of “How to install TWRP Recovery in OnePlus 3T”

    If you downloaded the TWRP file and renamed it to TWRP.img you should then be opening a command window and typing
    “fastboot flash recovery twrp.img”
    and not
    “fastboot flash recovery recovery.img”
    Seamus