July 28, 2021

How to Root your OnePlus without custom recovery in 5 minutes

In just a few steps you can Root your OnePlus phone on any version of android without using custom recovery. This guide can be especially handy for those who don't have a custom recovery like TWRP or just lazy to install it (like I am), so here I will explain how you can root your phone with just a couple of ADB commands and a few tools.

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!