How to Root OnePlus 6 and OnePlus 6T using Magisk (Without TWRP)

How to Root OnePlus 6/6T using Magisk

In this step-by-step guide, you’ll learn how to root OnePlus 6 and OnePlus 6T using Magisk Patched Boot Image, without having to install TWRP recovery at all. The instructions will work on any OnePlus 6/6T running Android 10 (OxygenOS 10+) or Android 9 Pie (OxygenOS 9+).

Rooting your phone with Magisk not only allows you to use root applications but also enables you to apply modifications to your phone’s software systemless-ly. That is without actually mounting or altering the system partition of the phone. We have already covered a guide to install TWRP on OnePlus 6/6T and root the phone using it.

However, if you do not plan on flashing custom ROMs and just want to root your phone, then installing TWRP isn’t even necessary. Furthermore, Magisk creator and developer topjohnwu also provided an explanation as to why having both TWRP and Magisk root installed together could cause problems, especially on Android 10 or above. Even if you plan on using custom ROMs, you could simply boot TWRP temporarily and use it to install ROMs or anything else for that matter.

So, rooting your OnePlus 6/6T without installing TWRP can make things more streamlined, leading to minimal scope for any errors. Plus, rooting via this method also enables you to easily install OTA updates on your rooted phone.

The process is very simple. In brief, the first step is to download the stock boot image corresponding to the OxygenOS version installed on your phone. Then, the second step is to patch the stock boot image with Magisk, via the Magisk Manager app. And finally, the third step is to flash the resultant patched boot image to your phone via fastboot.

So now, without any further ado, let us begin with the instructions.

Table of Contents

Before You Begin

Before you head to the instructions, ensure that all the requirements listed below have been fulfilled.

  • Rooting, if done wrong, can lead to data loss. So, it’s always best to safeguard your data beforehand. Make sure to take a complete backup of all your data first. Should you need it, you can also visit this guide for the purpose.
  • In order to root, you must first unlock the bootloader of your phone. If you’ve already done that, you can proceed further. If not, then follow our separate guides for the OnePlus 6 and OnePlus 6T. Once you have unlocked the bootloader, come back here and follow the instructions.
  • Download and install OnePlus USB drivers on your PC.
  • Install the latest Android SDK platform-tools on your computer and open a Fastboot command window inside the Platform-Tools folder.

Instructions to Root OnePlus 6/6T using Magisk

It’s quite easy, even if you’re new to the whole rooting scene. For making the whole process easier to understand, we have split the instructions into three major steps that I just mentioned above.

Step 1: Download Stock Boot Image

The first step in order to root OnePlus 6/6T is to download the stock boot image corresponding to the installed OxygenOS version (Stable or Open Beta).

Yes, you could also use pre-patched boot images from XDA and we could have provided them as well. But, I decided not to do so. That’s because when you use Magisk Manager to patch the stock boot by yourself, it will create and store a backup of your stock boot image. This backup will not only allow you to take OTA updates on your rooted phone but is also necessary during the unrooting procedure.

For OnePlus 6 (codename: enchilada)

For OnePlus 6T (codename: fajita)

Note: I will try my best to update this post with the latest stock boot images. However, sometimes it may not be possible to do so at all times. In that case, you can download the full ROM of the latest OxygenOS version from here and follow the instructions in this guide to extract the payload.bin file and get the boot image.

Step 2: Patch Stock Boot Image via Magisk App

  1. Download the stock boot image for your OnePlus 6/6T from above.
  2. Extract the downloaded ZIP file to get the boot.img file.
  3. Connect your device to the PC using the USB cable.
  4. Transfer the extracted stock boot image file to the device’s storage.
  5. Now, download the latest Magisk app from GitHub and install the APK on your device.
    Install Magisk app APK on OnePlus 6/6T
  6. Once installed, press “OPEN” to launch the Magisk application.
  7. Press “Install” and tap on “Select and Patch a File”.
    Patch OnePlus 6/6T stock boot image using Magisk
  8. Navigate to your phone’s internal storage and select the stock boot image file (boot.img).
  9. Once the file has been selected, press “Let’s Go” to patch the boot image using Magisk.
    Magisk app patching OnePlus 6/6T stock boot image

The app will automatically patch the stock boot with the latest version of Magisk. The resultant patched boot image will be placed inside the “Download” folder of your phone’s internal storage.

Now, the last and final step to root OnePlus 6/6T is to flash the patched boot image using fastboot. Follow the instructions in the next step for the same.

Step 3: Flash Patched Boot Image to Root OnePlus 6/6T using Magisk

  1. Transfer the patched boot image (magisk_patched.img) from the phone to the folder where the Android SDK platform-tools are installed on the PC.
    • Example: ‘C:\platform-tools’ on Windows or ‘Documents/platform-tools’ on macOS/Linux.
  2. Power off your OnePlus 6/6T completely.
  3. Hold the Volume Up and Power buttons together to boot your OnePlus device into Fastboot Mode.
    Root OnePlus 6/6T - Enter Fastboot Mode
  4. Connect the phone to the PC while it is in Fastboot Mode.
  5. Now, launch the command-line window on your PC.
  6. Enter the following command to ensure that your OnePlus 6/6T is successfully being detected by the PC over fastboot:
    fastboot devices
  7. The command should output the device ID, along with the “fastboot” message.
  8. Finally, enter the following command to flash the patched boot image and root OnePlus 6/OnePlus 6T using Magisk:
    fastboot flash boot magisk_patched.img

    Flash Magisk Patched Boot Image to Root OnePlus 6/6T

  9. Once the file has been flashed, reboot your device by entering:
    fastboot reboot

Your OnePlus device should now boot into the system (OS) and rooted with Magisk. Now go to the app drawer, open Magisk Manager, and follow the on-screen instructions to perform any additional process, if required.

Now that you have successfully rooted your OnePlus 6/OnePlus 6T, you may go ahead and modify the phone’s software by installing Magisk Modules. You can also use Magisk Hide to hide root from apps that might detect it and stop working. And of course, you can now download and use root applications like Titanium Backup.

And like I mentioned earlier, rooting through this method allows you to install OTA updates on your phone as well. When an update arrives, you can follow the instructions in this guide to install it.

There you go! This was our guide on how to root OnePlus 6 and OnePlus 6T using Magisk, without installing TWRP. If you have any questions regarding the rooting procedure, just reach me by commenting below.