Install TWRP and Root OnePlus 5 on Android Oreo (OxygenOS 5.0+)

Root OnePlus 5 on Android 8.0 Oreo

If you have updated to OxygenOS 5.0, then follow this tutorial on how to install TWRP recovery and root OnePlus 5 on Android Oreo 8.0 and 8.1.

OnePlus devices have gained a lot of recognition this year due to its powerful hardware specs and excellent software support. There’s no doubt that the devices while offering a near-AOSP experience can also be customized easily, similar to the Google Pixel and Nexus lineup.

If you have updated your 2017 OnePlus flagships to OxygenOS 5.0 or above and want to root the device on Android Oreo, then we have got you covered. Rooting the latest Android version requires you to use a modified version of the TWRP, as well as latest Magisk/SuperSU root package.

The OEM recently announced OxygenOS update for the OnePlus 5, which is based on Android 8.1 Oreo. Well, the latest software just isn’t enough for everybody. We all love some extra goodies and features to make the overall experience better. If that’s the case, then ‘Rooting’ is the solution. Here in this guide, we will guide you on how to root OnePlus 5 on Android Oreo 8.0 and 8.1.

Recommended: Install TWRP and Root OnePlus 5/5T on Android Pie (OxygenOS 9.0+)

Table of Contents

Install TWRP Recovery and Root OnePlus 5 on Android Oreo 8.0 and 8.1

Root OnePlus 5 on Android Oreo 8.0 and 8.1

You might ask how this method different than the regular one. Well, the answer is “Android Oreo” itself. The new version of Android brought several changes in the code, that wouldn’t allow the regular TWRP to play along, especially on the OnePlus 5. Also, not every version of SuperSU or Magisk works correctly to root OnePlus 5 on OxygenOS 5.0 and above.

Thankfully, the popular custom kernel developer – eng.stk and XDA recognized developer codeworkx have provided customized TWRP recovery for the device. We appreciate both their works regarding the matter. We have gathered all the files, including the specific versions of SuperSU and Magisk to help you root OnePlus 5 on Android Oreo (8.0 and 8.1).

Prerequisites

Downloads

Note: If Blu_spark TWRP doesn’t work, kindly use codeworkx TWRP linked below.

Install blu_spark TWRP Recovery on OnePlus 5

The first step to root OnePlus 5 on Android Oreo is to flash the compatible TWRP recovery on the device.

  1. Boot your OnePlus 5 into Fastboot mode:
    • Power down the device completely.
    • Press and hold the Volume Up and Power button simultaneously to enter Fastboot mode.
  2. Connect your device to the PC via the USB cable.
  3. Download the “twrp-3.2.1-x_blu_spark_v8.61-op5_op5t.img” file from the links above.
  4. Copy the downloaded file to C:\adb, where all the ADB and Fastboot files are present.
  5. Hold the SHIFT key on the keyboard and right-click on any empty space inside this folder.
  6. Select ‘Open PowerShell window here’ option from the menu.
    Root OnePlus 5 on Android Oreo (8.0 and 8.1) - Open PowerShell window here
  7. Execute the following command to install TWRP recovery on OnePlus 5 running OxygenOS 5.0.
    fastboot flash recovery twrp-3.2.1-x_blu_spark_v8.61-op5_op5t.img
  8. Once installed, you can disconnect the device and reboot it. The procedure goes further to root OnePlus 5 on Android Oreo.

Root OnePlus 5 on Android Oreo using Magisk or SuperSU

  1. Download latest Magisk or SuperSU flashable zip from the links above.
  2. Connect your device to the PC and transfer the Magisk or SuperSU zip to the internal storage of the device.
  3. Disconnect the phone from the PC and power it off completely.
  4. Press and hold the Volume Down and Power button simultaneously to enter TWRP recovery mode.
  5. In TWRP, tap on the ‘Install’ button.
    Root OnePlus 5 on Android Oreo using Magisk
  6. Navigate to the location where you transferred the file and select it.
  7. Swipe the button on the screen to flash Magisk/SuperSU and root OnePlus 5 on Android Oreo 8.0 and 8.1.
  8. Once the flashing process is complete, press the ‘Reboot System’ button.

Your OnePlus 5 should boot and would be running rooted OxygenOS 5.0. You can go ahead and use root-enabled apps and mods like ViPER4Android. If you have rooted the device using Magisk, you can install from a long list of modules to enjoy additional features on your OnePlus device.

So we have just guided you on how to root OnePlus 5 on Android Oreo. If you have any questions regarding the process, leave a comment below.