How to Root OnePlus 8, 8 Pro and 8T without TWRP (via Magisk)

In this tutorial, we will show you the steps to root OnePlus 8, 8Pro, and 8T without using the TWRP Recovery (via Magisk). We would be extracting the stock boot.img file from the stock firmware and then patch it via Magisk. After this, we would flash this patched boot.img file via Fastboot commands. The entire procedure will be carried via Magisk Manager APK only. We wouldn’t use TWRP or Magisk Installer ZIP. Follow along for the complete instructions steps. [Update 1: Added a Fix for Android 11 Boot.img patch issues].

When it comes to making full use of Android’s open-source ecosystem, OnePlus is right there at the top. It is among the most active player in custom development. Right from unlocking the bootloader to flashing custom binaries, the possibilities are endless. Along the same lines, as soon as the kernel source gets released, there are a plethora of custom ROMs that you could flash. These include Pixel Experience, AOSP, etc. Then to take all this a step ahead, users gain access to the system partition. In other words, they root their device via Magisk.

Once they achieve that, they gain administrative-level privileges to their device. This in turn opens the gates to a plethora of customizations. You could flash a custom kernel, flash Magisk Modules, install Xposed Framework, install Substratum Theme engine, among others. With so many if associated perks, no doubt rooting is on top of the priority list for many users. In this regard, today we will show you how to root OnePlus 8, 8 Pro, and 8T via Magisk without using the TWRP Recovery. [Don’t Miss: How to Root OnePlus 8, 8 Pro, and 8T via TWRP and Magisk]



Why Root without TWRP?

Root OnePlus 8 8 Pro 8T without TWRP

Well, this is a genuine question consider the method of achieving the said task. So for the unawares, there are two different methods to root any Android device: Without TWRP (via MAgisk Manager) | Via TWRP (using Magisk Installer ZIP).  If we talk about the latter method, you just need to boot your device to TWRP and flash the Magisk Installer ZIP file and that’s it, your device will be rooted.

On the other hand, if you go for the ‘Without TWRP’ method, it calls for quite a few steps. To begin with, you will have to get hold of the stock boot image file for your device. After this, this file needs to be flashed via Magisk Manager. Once patched, the file is then patched via Fastboot Commands, and your device is then rooted. So this brings us to an all-important question- why take the longer route? Here’s the thing.

When a new Android device is released, it takes weeks to months before even an unofficial TWRP build is released. If we talk about official builds, well ins some instances it might not even be released for your device. In all these cases, the best bet is to root your device without using TWRP Recovery. And this is what we would be doing here as well. Given below are the detailed instructions to root OnePlus 8, 8 Pro, and 8T via Magisk without using the TWRP Recovery.



How to Root OnePlus 8, 8 Pro, and 8T without TWRP (via Magisk)

Before we list out the instruction steps, there are a few prerequisites that your device needs to qualify. Make sure to checkmark all the below requirements before proceeding with the steps.

Prerequisites

  • To begin with, we would suggest you take a complete device backup. While rooting doesn’t wipe off data but unlocking the bootloader does. “But I have already unlocked my device’s bootloader”? Well, no issues, still take a backup to be on the safer side.
  • Likewise, enable USB Debugging on your device. This will be needed so that your device gets recognized in ADB Mode. But why ADB mode? So that we could then boot your device to Fastboot Mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging. [Don’t Miss: Enable USB Debugging on a Broken Android Device’s Screen? Here’s a Workaround!].
    usb debugging oneplus
  • Next up, install Android SDK platform Tools on your PC. This will provide you with the necessary ADB and Fastboot binary files.
  • Finally, download the latest Magisk APK. This will be needed to patch the stock boot.img file.

That’s it. You may now proceed with the steps to root OnePlus 8, 8 Pro, and 8T via Magisk without using the TWRP Recovery.

STEP 1: Unlock Bootloader

First and foremost, you need to unlock the bootloader on your OnePlus device. If you haven’t done so, then refer to our guide on How To Unlock Bootloader of OnePlus 8/8T/8 Pro. For a shorter version: just execute the fastboot oem unlock command after booting your device to Fastboot and the bootloader will be unlocked.

STEP 2: Get Stock Boot.Img file

The second step in this guide to root OnePlus 8, 8 Pro, and 8T via Magisk without TWRP requires the stock boot.img file. This could be extracted from the stock firmware for your device. However, these files are placed in the payload.bin package inside the firmware. Hence,  you need to extract that payload file. This guide should help you in out in this regard: How to Extract Stock Boot.img from OnePlus OxygenOS Stock ROM.

oneplus-payload-bin-output-folder
Extracted boot.img from payload.bin

Here are some OnePlus 8, 8 Pro, and 8T extracted stock and patched boot.img file that you could directly download [Credits: XDA Recognized Developer mauronofrio]

It is extremely important that you only download the stock/patched boot image file for your region as well as the software version. Otherwise, a bricked device is on the cards. On that note, I would highly recommend that you download the entire stock firmware of the current software version from the OnePlus site and manually extract the stock boot.img file. Or you could also drop in your device name, software info, and region in the comments, I will upload the stock boot.img for you guys on Google Drive (if time permits).



STEP 3: Patch Stock Boot.img file via Magisk

UPDATE 1: Quite a few Android 11 users are facing issues while patching the stock boot.img file via Magisk manager. Well, I have found the fix to this issue, please refer to our detailed guide on the same: Fix Magisk patched boot.img issue while Rooting Android 11. If you wish to save a click, then here’s the explanation in short: You have to install the Magisk Canary build instead of the stable and then change the update channel to Canary from within the app itself. Once you have done the said change, you may then proceed with the below steps to patch the stock boot image file using Magisk and flash it via Fastboot commands to root OnePlus 8, 8 Pro, and 8T.

  1. Once you have grab hold of the stock boot.img file, transfer it to the device’s internal storage.
  2. Now launch the Magisk Manager APK on your device.
  3. Tap on the Install option situated next to the Magisk.
  4. Then choose the “Select and Patch a file” option.
    patch stock boot img magisk OnePlus 8 Pro 8T
  5. Navigate to the stock boot.img file and select it.
  6. Then tap on the Let’s Go option situated at the top right.
  7. Magisk will now begin the process of loading, downloading, and patching the stock boot.img file.
    magisk patched boot image file OnePlus 8 Pro 8T
  8. Once done, head over to Internal Storage > Downloads and you should see the magisk_patched.img file.

STEP 4: Flash Patched Boot.img File

The fourth and finals section to root OnePlus 8, 8 Pro, and 8T via Magisk without using the TWRP calls for flashing the patched boot.img file via Fastboot Commands.

  1. For that, connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then transfer the magisk_patched.img file from your device to your PC’s platform-tools folder. This is the folder that you have got after the installation of Android SDK Platform Tools.
  3. Once you have transferred the file, you need to open the Command Prompt window inside the same folder. For that, type in CMD in the platform-tool folder’s address bar and hit Enter.
    command-prompt-adb
  4. Now enter the below command in the CMD window to boot your OnePlus device to Fastboot Mode:
    adb reboot bootloader
  5. Finally, execute the following command to flash the patched boot image file
    fastboot flash boot magisk_patched.img
  6. The flashing should only take a couple of seconds, once done, you may now reboot your device to the system via the following code:
    fastboot reboot

That’s it. These were the steps to root OnePlus 8, 8 Pro, and 8T via Magisk without using the TWRP Recovery. If you have any queries, do let us know in the comments section below.

FAQ1: Install OTA on Rooted OnePlus 8, 8 Pro, and 8T

Many users have asked us whether they could install OTA updates on their rooted OnePlus device. Well, the question is completely genuine, and the answer is in the affirmative. Yes, you could install OTA updates on your rooted OnePlus 8, 8 Pro, and 8T. Refer to our comprehensive guide to know the detailed steps for the same: How to Install OxygenOS OTA on Rooted OnePlus devices.

FAQ2: Hide Root on Rooted OnePlus 8, 8 Pro, and 8T

As you might be aware, upon rooting your  OnePlus 8, 8 Pro, and 8T via Magisk without TWRP, DM Verity gets triggered. This results in the inability of apps like Google Pay to function properly. Likewise, the WideVine L1 Certification of Netflix gets degraded to L3 and you wouldn’t be able to watch videos in HD. However, there is a handy method to hide root on your OnePlus and let all the apps function as it would normally do. This guide shall help you out: How to Pass Magisk SafetyNet on Rooted Android 11.


Share: