How to root OxygenOS 12?

Search This thread

andylmfao

Member
Mar 24, 2022
15
2
Hello there, I've never rooted a phone before but would love to try it with Android 12 finally coming out as stable on the OnePlus 8 Pro. So as a complete noob, can anyone walk me through it, or does anyone have a handy thread that takes me through all of it? Thank you! :)
 

dangtoi1993

Senior Member
Feb 26, 2016
181
23
LG V60 ThinQ
Same method with OOS11 (other thread), u need full OTA OOS 12 to detached the boot.img and patch it with magisk.
- Or easier just on OOS11 rooted => update to OSS 12 (after install finished, dont reboot, go to magisk select install to inactive slot, now reboot)
 

andylmfao

Member
Mar 24, 2022
15
2
Same method with OOS11 (other thread), u need full OTA OOS 12 to detached the boot.img and patch it with magisk.
- Or easier just on OOS11 rooted => update to OSS 12 (after install finished, dont reboot, go to magisk select install to inactive slot, now reboot)
Thank you! Although as I said I'm very new 😅 So if you could explain in a biiiit more noob friendly words, that would be appreciated! 😅😆
 

dangtoi1993

Senior Member
Feb 26, 2016
181
23
LG V60 ThinQ
Thank you! Although as I said I'm very new 😅 So if you could explain in a biiiit more noob friendly words, that would be appreciated! 😅😆
As i know, there is still no downloadable full OTA file for stable OOS 12,
then root method is root at OOS 11 then update after.
to do that, imo, u need to find read and research some old thread to know about that phone before.
its easier than someone will write here for you.
 

andylmfao

Member
Mar 24, 2022
15
2
As i know, there is still no downloadable full OTA file for stable OOS 12,
then root method is root at OOS 11 then update after.
to do that, imo, u need to find read and research some old thread to know about that phone before.
its easier than someone will write here for you.
Ah okay, thank you! Do you know how long it usually takes for an OTA file to come out? Or, if you could, help me through going back to OOS11, rooting it, and then updating to OOS12 and keeping root? :)
 

xtcislove

Senior Member
Jan 17, 2010
1,309
264
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Ah okay, thank you! Do you know how long it usually takes for an OTA file to come out? Or, if you could, help me through going back to OOS11, rooting it, and then updating to OOS12 and keeping root? :)

I posted the patched boot img from latest OO12 Ota to another thread.

Flash it via fastboot and your are good.

 

andylmfao

Member
Mar 24, 2022
15
2
I posted the patched boot img from latest OO12 Ota to another thread.

Flash it via fastboot and your are good.

Oh wow, thank you! How do i flash it via fastboot? :)
 

xtcislove

Senior Member
Jan 17, 2010
1,309
264
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Oh wow, thank you! How do i flash it via fastboot? :)
I guess you already setup adb/fastboot on your pc. If not google it.

-connect phone to the pc and activate usb debugging in your phones developer settings(unlock developer settings by tapping 5 times about phone)
-run a windows shell in the folder where you setup adb and fastboot.exe
-type the following in shell

adb reboot bootloader

Your phone will boot into the bootloader

type:

fastboot flash boot BootIMG-Magisk24.3_IN2025_11_C.11.img
 

andylmfao

Member
Mar 24, 2022
15
2
I guess you already setup adb/fastboot on your pc. If not google it.

-connect phone to the pc and activate usb debugging in your phones developer settings(unlock developer settings by tapping 5 times about phone)
-run a windows shell in the folder where you setup adb and fastboot.exe
-type the following in shell

adb reboot bootloader

Your phone will boot into the bootloader

type:

fastboot flash boot BootIMG-Magisk24.3_IN2025_11_C.11.img
And that's just it? Wow! Thank you!

Edit- It just say "Waiting for the device in the Shell. What do I do? And it doesn't show up with "fastboot devices" It also says there's no driver under windows device manager.

edit 2 - nvm I figured it out, turns out I hadn't installed the USB drivers
 
Last edited:
  • Like
Reactions: xtcislove

xtcislove

Senior Member
Jan 17, 2010
1,309
264
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Hi, will this boot.img work for 11 C.16? If not, do you know where i can get it? Thanks
IDk but i installed C.16 lately and have the patched image on my pc.


Extracted from OnePlus8ProOxygen_11_C.16_15.E.16_OTA_1036_all_2204222258_57eced36 and patched with Magisk24.3.
 

gzyms

Member
Oct 21, 2015
8
0
OnePlus 8 Pro
IDk but i installed C.16 lately and have the patched image on my pc.


Extracted from OnePlus8ProOxygen_11_C.16_15.E.16_OTA_1036_all_2204222258_57eced36 and patched with Magisk24.3.
Do you have C.20 version?
 

xtcislove

Senior Member
Jan 17, 2010
1,309
264
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Do you have C.20 version?
No.

Simply download the Prebuild binaries from here.


Edit: That is the payload dumper im using.

And download the C.20 update from here.


Use payload dumper to extract the boot image and copy it to yout device

Install Magisk apk on your device (does not matter if it has root or not)

patch the boot image, copy the patched image to your pc and you have a patched boot image for C.20.
 
Last edited:

Swap_File

Senior Member
Apr 12, 2016
63
45
No.

Simply download the Prebuild binaries from here.


And download the C.20 update from here.


Use payload dumper to extract the boot image and copy it to yout device

Install Magisk apk on your device (does not matter if it has root or not)

patch the boot image, copy the patched image to your pc and you have a patched boot image for C.20.
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:


Instead you need to use this:

Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.

The entire process took the majority of my afternoon

Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
 

Attachments

  • 8 Pro C20 boot.zip
    21 MB · Views: 56
  • magisk_patched-25000_v37NY.zip
    21.4 MB · Views: 59
Last edited:

xtcislove

Senior Member
Jan 17, 2010
1,309
264
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:


Instead you need to use this:

Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.

The entire process took the majority of my afternoon

Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
You are right. I posted the wrong payload dumper.

I am using the one from here and it worked with every payload i tried.



I guess the other one is quicker but im using this and it works. I edit my old post.
 

NGowtham

Senior Member
Jun 19, 2014
214
127
New Delhi
OnePlus 5
OnePlus 8 Pro
This is not as easy as you might think. The default payload dumper (and the Go version) cannot handle these incremental OTAs:


Instead you need to use this:

Unfortunately, this payload extractor fork is broken on windows. I had to set up a Ubuntu VM to run it.

The entire process took the majority of my afternoon

Attached is the extracted boot.img, both magisk patched and unpatched. Hopefully it saves others some time.
Can we use this attached boot img on IN2011_11_C.20 (India)?
 

Top Liked Posts