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.
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.
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.
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 –
This will display the list of connected devices and also, this command is used to ensure that everything is working fine.
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.
HOW TO INSTALL TWRP RECOVERY ON 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 –
Keep in mind that you need to extract the zip file of TWRP from the file give above as it contains other files also.
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.’
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.
HOW TO ROOT ONEPLUS 5
First, Download SuperSU for OnePlus 5 from the button below –