July 28, 2021

Root OxygenOS without TWRP

In just a few steps you can Root your OnePlus phone whether you are updating to the latest version of the OS and want to carry on Root capabilities or just want to install it on your current version.

Currently TWRP is not supported on Android 11 due to some software issues and thus this guide can be especially handy for those who don't know how to do it without using recovery at all but a couple of ADB commands.

What you will need:

You need to do the following:

  1. Using Oxygen Updater on your phone - download update zip file and copy this file to your PC.
  2. Extract payload.bin from the update zip file in the folder where you extracted Payload Dumper previously.
  3. Run command .\payload-dumper-go.exe -p boot .\payload.bin (Payload Dumper executable will have a different extension on MacOS and Linux).
  4. After this command there will be a folder named extracted with a boot.img in it. You will need to copy this file to your phone.
  5. Then on your phone, open Magisk -> Install -> Select and Patch a File -> select boot.img.
  6. This will create a patched image magisk_patched.img in your Downloads folder.
  7. Copy generated magisk_patched.img to your PC.
  8. Run command adb reboot fastboot.
  9. After it booted to fastboot, run command fastboot boot magisk_patched.img and your phone should boot normally into the system.
  10. Now open Magisk, click Install -> Direct Install -> Reboot.
  11. All done!