How To Root OnePlus 5, Install TWRP Recovery & Unlock Bootloader

OnePlus 5 was made official this month on 20th. We all know that the OnePlus smartphones are best for the developers as they keep on experimenting with ROMs, Kernels, and Recoveries. Anyways, you are probably here if you own OnePlus 5 and this post is all about How to Root OnePlus 5 and Install the TWRP Recovery.

READ: Fast? OnePlus 5 Gets its First Software Update

Before Rooting OnePlus 5

We all know that to gain the root access, you need to have a custom recovery installed, and the TWRP recovery is the most preferred custom recovery for any Android device. So, to root your OnePlus 5, first you have to install the TWRP recovery, and after less than a week of the official launch, TWRP is already available for the ‘Flagship Killer of 2017’. But, here’s a catch –

You cannot Install TWRP without Unlocking the Bootloader.

But, we’ve got you covered. In this article, we are going to cover How to Unlock Bootloader on OnePlus 5, Install the TWRP Recovery and then root it. Sounds Simple, right? Let’s get started.


Enable USB Debugging and OEM Unlocking
Enable USB Debugging and OEM Unlocking
  • First, head to the Settings of your OnePlus 5 and make sure that the Developer Options are enabled. If they aren’t, go to ‘About Phone’ and tap on the Build Nuber 6-7 times. This will enable the Developer options.
  • Now, Go back to Settings and open the ‘Developer Options.’ Enable them. Now, search for two options named – ‘OEM Unlocking’ and ‘USB Debugging.’ Enable these two options. This is a highly important step for unlocking the bootloader so make sure you do these two steps before proceeding.
  • Next, Enter the ‘Fastboot Mode’ or ‘Bootloader Mode.’ For this –

Press volume + power button and then the phone will boot into Fastboot interface.

NOTE – You will need the Minimal ADB Drivers to make sure you have all the necessary ADB files. If you already have those installed, let’s continue with the steps to Unlock Bootloader of OnePlus 5. 

OnePlus 5 Unlock Bootloader

  • When your OnePlus 5 is in the Bootloader mode, connect it to PC. Open the ADB Folder and then press ‘Shift + Right Click.’ Then, choose ‘Open Command Window Here.’
  • Now type –

fastboot devices

  • This will display the list of connected devices and also, this command is used to ensure that everything is working fine.

Unlock Bootloader OnePlus 5

  • Enter this command –

fastboot oem unlock

  • Now, on your phone, you will see an Unlock Bootloader Warning page. Hit the Volume button to select Yes and turn it Blue and Hit Power Button to confirm the selection.

Congrats! You have successfully Unlocked the Bootloader of OnePlus 5. Now, you can Root OnePlus 5 by, but first, you have to install a Custom Recovery. TWRP is the most popular among all the custom recoveries, and we will suggest the same for OnePlus 5.


Now, since we have successfully unlocked the bootloader, now you need to enter the ‘Fast Boot Mode’ again and connect the phone to PC. Repeat the same steps, i.e., Open ADB Folder and then press ‘Shift + Right Click.’ Then, choose ‘Open Command Window Here.’ Before writing the command to flash the TWRP recovery, make sure you have downloaded the ZIP file of the TWRP from the button below –

OnePlus 5 ADB Drivers and TWRP Recovery

Keep in mind that you need to extract the zip file of TWRP from the file give above as it contains other files also. 

CMD for TWRP for ONPlus 5

  • Here, it depends on you if you again want to check if everything is working fine or not. For that, you can use the ‘fastboot devices’ command.
  • Next, in the Command Prompt, type –

fastboot flash recovery twrp-3.1.1-0-oneplus5.img

  • When the process completes, unplug your phone from the PC and manually boot the phone into TWRP recovery by pressing ‘Power + Volume Down button.’

OnePlus 5 TWRP Recovery

  • Well, you will now see the TWRP Recovery in place of the Android System Recovery. There are chances that you will get a screen that asks for permission to allow the modifications to the system files. You need to allow this by Swiping to the right but make sure that you have checked the options saying ‘Never Show this screen during boot again.’

So, that’s it. That’s how you can install TWRP Recovery on OnePlus 5. Now, the last thing to do is to root OnePlus 5 using this custom TWRP Recovery.


SuperSU to Root OnePlus 5

  • First, Download SuperSU for OnePlus 5 from the button below –

SuperSU for OnePlus 5

  • Once downloaded, move this file to the internal storage of your OnePlus 5.
  • Now, boot into the TWRP Recovery by pressing the ‘Power + Volum Down Button.’
  • Here, select the option ‘Install’ and then search for the ‘’ file that you downloaded from the ZIP file that you downloaded from the button above.
  • Select the file and ‘Swipe to Right’ to confirm the flashing of ZIP File.
  • The installation might take some time. Once done, reboot your phone, and then the SuperSU will be installed on your phone.

Well, that’s it. That’s how you can Root OnePlus 5 by Unlocking the Bootloader and then Installing the TWRP custom recovery. Have any doubts? Make sure to ask us via the comments section.



Show Comments (2)
    1. Well, If done correctly, there is no chance of any issue. But, you need to be careful when Unlocking the Bootloader. Make sure the name of the TWRP zip file remains the same as it is. Also, make sure to have more than 20% battery. That’s it Follow the tutorial carefully and you’re good to go. 🙂

Your email address will not be published. Required fields are marked *