How To Root OnePlus 5 and 5T (100% Working Simple Method)

If you are rooting your device, for a specific purpose, it means you want to break the rules of Android to customize your smartphone. The rooting process is different for every different manufacturer. But you are here to know about OnePlus and especially how to root your OnePlus 5 or OnePlus 5T.

Rooting is very simple and easy for OnePlus devices. And the good part is that your warranty is not void after rooting. But before you root, you need to make sure that the following things are done or acknowledged by you.

THINGS TO DO FIRST

  • Make sure that you have at least 60% battery left on your smartphone.
  • Make a backup of your data and files in case if there’s some sensitive data you don’t want to lose.
  • Go to your phone’s Settings > About Phone > Tap on Build number 7 times, if prompted, enter the PIN or Pattern to enable the Developer Options.

  • Go to phone Settings > Developer Options > Enable OEM Unlocking option and also enable Advanced Reboot.
  • Finally, you’ll need a PC to perform the rooting process.

Rooting involves primarily three steps basically, and these are the basic and the essential steps to root any device.
1. Unlocking Bootloader
2. Custom Recovery Installation
3. Attaining Root Access

Pre-Requisites

Before we start rooting, make sure that you install the proper ADB and Fastboot drivers from the download section below. Along with that, installing the USB drivers that come with your OnePlus smartphone is necessary too. These drivers will make sure that nothing goes wrong.
For TWRP, you can either use the TWRP recovery by codeworkx or Blu_Spark recovery. Both will be provided to download below.
You will need Magisk for rooting your device. So download the Magisk Zip file from the given link below.

ADB and Fastboot Drivers

OnePlus USB Drivers

OnePlus 5 Recoveries
Codeworkx TWRP | Blu_Spark TWRP (Recommended)
OnePlus 5T Recoveries
Codeworkx TWRP | Blu_Spark TWRP (Recommended)

Magisk Zip

How To Root OnePlus 5/5T

1. Unlocking Bootloader

  • Now hold the power button and Reboot into Bootloader. Your phone will show “Fastboot Mode” indicating that you are entering Fastboot mode.
  • Plug your phone to the PC using USB. On the desktop, hold shift and right-click anywhere on the blank space and select “Open Command Prompt window here” or “Open PowerShell window here.”
  • Now type
    fastboot devices
  • It will show the list of devices connected to fastboot. If it lists your device, then you are in good luck. Otherwise, you need to install the proper fastboot drivers for your PC.
  • Now type
    fastboot oem unlock

  • This command will unlock your bootloader and will wipe your entire data on your smartphone.

  • Now using volume up and down buttons, highlight Yes by pressing the power button.
  • Once done, the phone will reboot and will show you a warning and will reboot into the stock recovery.
  • That’s it. Your Bootloader is now unlocked.

2. Installing TWRP Recovery

  • Wait until your phone is done rebooting after the bootloader unlocking process.
  • Once rebooted, enable the Developer Options by tapping on build number 7 times, and enable OEM UnlockingAdvanced Reboot, and USB debugging in the Developer Options.
  • Go to your PC and copy the downloaded recovery and paste it under C:/Android/platform-tools folder.
  • Place the Magisk zip in the internal storage of your phone.
  • Now Reboot into Bootloader and connect your phone to PC.
  • Hold Shift and right-click in the platform-tools folder and select “Open Command Prompt window here” or “Open PowerShell window here.”
  • Rename the recovery you downloaded to recovery.img in the platform-tools folder itself.

  • In the command prompt/PowerShell type
    fastboot flash recovery recovery.img
  • Once done, type
    fastboot boot recovery.img
The shown image can be different according to your device.

3. Attaining Root Access

  • You will be in TWRP recovery now. Swipe Right to Allow Modifications.
  • Tap on Install and select Magisk zip file from your internal storage.
  • Swipe right to confirm flash.
  • Select Reboot System now.
  • It’ll take some time to boot into your phone. So don’t worry if it takes longer time than usual.
  • And Voila! Once booted, you will be rooted, and you will be able to see Magisk manager installed on your smartphone.

Congratulations! You have unlocked the bootloader, installed a custom recovery and attained root access successfully.
NOTE: Do not flash or install partial OTA update zips. You will need to download the full OTA zip and then flash it. And if you update your phone, you will need to repeat the recovery and rooting process again. No need to unlock the bootloader.

Now have fun with your rooted OnePlus 5 or OnePlus 5T.

Hola everyone! I’m Sajid and I’m a typical freelance Graphic Designer with a keen interest in technology and science stuff. I actually like to write about the recent happenings around the world of technology as a part of The Leaker.

Leave a Comment