How to root OxygenOS 12?

Search This thread

Swap_File

Member
Apr 12, 2016
35
27
If it works, I'll use that as a solution for now (Gotta have them updates! lol)
I posted the pre extracted global C20 and C21 boot images, with and without magisk pre-installed in previous posts.

You don't need to do it yourself unless you want to learn for the next update (or if you are in a different region).

I figure I'll keep posting the boot images whenever I extract them, it's a pain to do, and I wouldn't expect most people to want to deal with it.

Edit: For people in other regions, sorry, I don't have the files on hand. If you provide links to a full OTA, and the associated incremental OTAs, I'll gladly extract the boot.img for you. Just post the links.
 
Last edited:
  • Like
Reactions: bacon612 and g33gz

g33gz

Member
Oct 5, 2016
25
10
I posted the pre extracted global C20 and C21 boot images, with and without magisk pre-installed in previous posts.

You don't need to do it yourself unless you want to learn for the next update (or if you are in a different region).

I figure I'll keep posting the boot images whenever I extract them, it's a pain to do, and I wouldn't expect most people to want to deal with it.

Yeah, I'm basically attempting to do it on my end so I can learn to do it. I actually used your extracted image already to update so thank you for sharing!
 
  • Like
Reactions: Swap_File

g33gz

Member
Oct 5, 2016
25
10
Yeah, I'm basically attempting to do it on my end so I can learn to do it. I actually used your extracted image already to update so thank you for sharing!
OK, so looks like if I use my original dumper, then use the output of that in the one you shared which supports incremental updates, it all works. I was able to have magisk patch the boot image and I was able to successfully flash without issues!

Thanks for your help!!
 
  • Like
Reactions: Swap_File

xtcislove

Senior Member
Jan 17, 2010
1,079
184
Gummersbach
OnePlus 8 Pro
I tried the tools you linked, but they do not help with incremental OTAs.

Global is up to C21, but only via incremental updates. No full updates for global C21 have been released.

The global C20 and C21 updates will show up if you are not rooted, when rooted I had to download the zips via Oxygen Updater in advanced mode.
You are right.
 
  • Like
Reactions: Swap_File

PieceKeepr

Senior Member
Jun 13, 2010
1,358
297
Florida
OnePlus 8 Pro
Anyone else have issues updating to C21? Every time I try manually updating using the system update app it gets to 32% and fails. I turned off all magisk modules and restored image within magisk first.
 

shootind5nukes

Senior Member
May 23, 2010
210
141
OnePlus 8 Pro C21 Global Stock and Magisk Patched boot.img is attached.

OTA-ing is becoming a pain. I cannot get magisk's built in patch after OTA to work with OnePlus's new Android 12 Updates on my OnePlus 8 Pro. The only safe way I've found to update is to uninstall magisk, update, then extract and patch a new boot.img.
Do you have a place to donate to you? I tried for 3 hours last night to unpack the incremental update and failed each time. Your post was a life saver. Could you explain how you extracted that boot.img from C.21?

EDIT: I see where you posted how to extract the c.20 and c.21. I tried that way and it crashed everytime. Ran from linux and windows with the same result.
 
Last edited:

g33gz

Member
Oct 5, 2016
25
10
Whoa, really? Like simply restoring images and taking an ota won't work?
Correct, simply restoring images doesnt seem to work... I was able to get to C.16 by doing that but for C.20 and C.21 it didnt work... it seemed to update ok but then it would boot and speakers didnt work and wifi wouldnt turn on. Build version also stayed at C.16
 

g33gz

Member
Oct 5, 2016
25
10
Do you have a place to donate to you? I tried for 3 hours last night to unpack the incremental update and failed each time. Your post was a life saver. Could you explain how you extracted that boot.img from C.21?

EDIT: I see where you posted how to extract the c.20 and c.21. I tried that way and it crashed everytime. Ran from linux and windows with the same result.


See this post:

I wasn't able to get that to extract the C.16 boot.img properly so I used a different payload dumper (that only works for full updates) then used the one @Swap_File linked (which works for incremental)
 
  • Like
Reactions: Swap_File

bacon612

Senior Member
Jan 9, 2012
1,392
584
Sony Xperia Z2 Tablet
OnePlus 8 Pro
Correct, simply restoring images doesnt seem to work... I was able to get to C.16 by doing that but for C.20 and C.21 it didnt work... it seemed to update ok but then it would boot and speakers didnt work and wifi wouldnt turn on. Build version also stayed at C.16

Thank you. I restored images, uninstalled magisk and took the full OTA (C16). It went well and then i took the incremental c21 which also went well.

I used the c21 magisk patched boot image to fastboot boot, it worked and from there i patched my own image to obtain permanent root. I'm happy. Thank you again. C21 is pretty nice. I'm getting much better battery than I was on oos 11.
 
  • Like
Reactions: Callbiggq and g33gz

PieceKeepr

Senior Member
Jun 13, 2010
1,358
297
Florida
OnePlus 8 Pro
I'm not sure what's going on but the update fails every time. I've done everything I can think of including removing all modules and rebooting then uninstalling magisk and rebooting and then turning off developer options and rebooting. The update gets to 32% and fails. I've deleted and re-downloaded the update as well. Same result every time.

Update : I got the update to install but I ended up having to use the MSM tool to roll back and then update. Even a full reset didn't work initially.
 
Last edited:

bacon612

Senior Member
Jan 9, 2012
1,392
584
Sony Xperia Z2 Tablet
OnePlus 8 Pro
Not until someone can post the patched files.

@Swap_File are you still able to assist? Still can't get the tools working
Noted. Anyone out there with an IN2025 willing to try restoring images, taking the ota then patching the other slot? ;) I won't try it because I can't risk loosing my phone to fix it for hours at the moment. Otherwise I'll patiently wait for a patched boot img.
 

Top Liked Posts