The OnePlus 5 is the most amazing smartphone you can use right now. It was launched on June 20, and XDA Senior Member xdvs23 came up with a stable enough TWRP recovery for it, which you can enjoy right now.

In this article, we are going to show you how to root your OnePlus 5 and install TWRP recovery quickly on your phone.

Also Read: Moto G5 Plus: How to Unlock Bootloader | Flash TWRP | Root

The OnePlus 5 was recently launched at a great price tag. We have seen a lot of users buying the OnePlus 5 and also looking for a way to root it. A lot of users find rooting essential and enjoy doing it. Rooting gives us the freedom to install any app and try something outside the box.

If you don't know anything about rooting, let me explain it in short. Rooting helps you install any app on your device, and you can try killer tricks after rooting your smartphone. You can make changes to your system files and much more.

If you are rooting your device for the first time, there are three important steps. If you pass all of them, you can easily root your device without any issues. Let's get started.

Root Your OnePlus 5 and Install TWRP Recovery

3 Most Important Steps of Rooting

1. Unlocking the Bootloader: If you want to start rooting your device, the most important step is unlocking the bootloader. Unlocking the bootloader allows you to root your device and also flash a custom ROM. Unlocking the bootloader will wipe your device.

2. Installing TWRP Recovery: If you want to flash anything, such as a custom ROM, or root your device, TWRP recovery is the most important thing. If you want to root your device with the help of Magisk, you can do so with the support of TWRP recovery.

3. Rooting: If you have root, you can install any app that requires root on your device. You can also easily uninstall system apps. To proceed with rooting your device, the most important thing is TWRP recovery.

Root Your OnePlus 5 and Install TWRP Recovery

If you are done with these three important files and commands, you can easily root your Android device.

Requirements:

How to Root Your OnePlus 5 and Install TWRP Recovery

If you want to root your Android device, make sure you follow all these steps before moving on to the next one. Rooting is an easy process only if you follow all these steps carefully and accurately.

If you get stuck, tell me through the contact page.

Step 1: Enable 'OEM Unlocking' & Reboot to Bootloader Mode

We have discussed above that unlocking the bootloader is the most important process to start with. If you don't enable OEM unlocking, it is of no use. Let's see how to enable it.

  • Go to "Settings > About" and you will see an option called 'Build Number'. Tap it 5 times and Developer options will be enabled.
  • Hit the back button and tap "Developer Options." Now, toggle on "OEM Unlocking" and "USB Debugging."

Root Your OnePlus 5 and Install TWRP Recovery

  • Once you have done this, you need to boot your OnePlus 5 into fastboot mode.
  • Power off your device and wait until it shuts down completely.
  • Press the "Power Key + Volume Up Key" for around 10 seconds. You will see the fastboot screen with the text 'Fastboot.' Let's move to the next step.

Step 2: Unlock Your Bootloader

Now you are in fastboot mode, so you need the Minimal ADB drivers. Make sure you have all the ADB files on your PC, and then move to the next step.

  • Connect your device to the PC and move to the next step.
  • Open the ADB drivers folder, press "Shift + right click" and then tap Open Command Window Here.
  • Then type the command below to check that everything is working fine.
fastboot devices
  • This command will show the serial number of your device. If it shows the serial number correctly, you have installed the files properly.

Root Your OnePlus 5 and Install TWRP Recovery

  • To unlock the bootloader of the OnePlus 5, type the command below.
fastboot oem unlock
  • Your bootloader will be unlocked, and now it's time to move to the next step.

Root Your OnePlus 5 and Install TWRP Recovery

Step 3: Install TWRP Recovery on the OnePlus 5

  • Download the TWRP recovery for your device. We have added all the necessary files in the OnePlus5 master.zip file.
  • In the command window, type the command below.
fastboot flash recovery twrp-3.1.1-0-oneplus5.img

Root Your OnePlus 5 and Install TWRP Recovery

  • That's it! Now, boot your device into TWRP recovery by entering the command below.
fastboot boot twrp-3.1.1-0-oneplus5.img

Root Your OnePlus 5 and Install TWRP Recovery

  • Next, it will ask you to allow modification of the system files. Just swipe the slider and tap "Never show this screen on boot."

Root Your OnePlus 5 and Install TWRP Recovery

  • That's it! You have successfully flashed TWRP recovery on your device, and it's time to root it.

Step 4: How to Root the OnePlus 5

  • Download SuperSU on your device and move the file to your internal storage.
  • Boot your device into recovery mode, tap the "Install" button and then search for the SuperSU zip file.

Root Your OnePlus 5 and Install TWRP Recovery

  • Tap the file and move the slider, and that's it! You have successfully flashed SuperSU on your device.

Root Your OnePlus 5 and Install TWRP Recovery

  • Reboot your device, and you will see SuperSU installed on it.

If you want to pass SafetyNet, you can install Magisk Manager on your device. It will help you pass SafetyNet on your OnePlus 5.

Keep in mind that the first boot will take around ten minutes. You need to be patient and wait for it. You can download the Root Checker app to find out whether the device is rooted.

Also Read: Nexus 5X and Nexus 6P Bootloop Fix Helps You Finally Boot the Phone

Source: XDA-Developers

Video Guide:

Final Verdict

This way, you can easily install TWRP recovery and root your OnePlus 5. I hope you understand.

If you get stuck while rooting or following this guide, tell me through the contact page.

Share this article with your friends who have a OnePlus 5, and I hope they will love this guide. You can now install a custom ROM on your device.

Also Read: How to Get the OnePlus 5T's Face Unlock on Any Android

Xaif (Huzaifa Dhapai) started TechVerge in 2015. He's a web developer and long-time Android enthusiast who writes about Android tricks, apps, Windows and the tech he uses every day.

Topics