How to root OxygenOS 12?
source link: https://forum.xda-developers.com/t/how-to-root-oxygenos-12.4421423/page-3#post-87247451
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to root OxygenOS 12?
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.
Reactions: bacon612 and g33gz
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!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.
Reactions: Swap_File
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!!
Reactions: Swap_File
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.
Reactions: Swap_File
PieceKeepr
Senior Member
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.
You have to completely uninstall Magisk... it's a pain in the butt to update now because you'll need your PC to flash the modified boot.img
Reactions: bacon612, Swap_File and PieceKeepr
PieceKeepr
Senior Member
... you'll need your PC to flash the modified boot.img
I can boot the patched global image via ADB and then pull and patch my own US boot image right? I have an IN2025 and the global is IN2023 right?
I can boot the patched global image via ADB and then pull and patch my own US boot image right? I have an IN2025 and the global is IN2023 right?
Good question!
I think it'll work. I'm fairly certain I used the original boot.img that @Swap_File shared on a previous page. I also have the IN2025 and everything worked ok for me.
Reactions: PieceKeepr
You have to completely uninstall Magisk... it's a pain in the butt to update now because you'll need your PC to flash the modified boot.img
Whoa, really? Like simply restoring images and taking an ota won't work?
shootind5nukes
Senior Member
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.
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
See this post: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.
How to root OxygenOS 12?
Reactions: Swap_File
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.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
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.
Reactions: Callbiggq and g33gz
I can boot the patched global image via ADB and then pull and patch my own US boot image right? I have an IN2025 and the global is IN2023 right?
Just wanted to let you know that this worked on my IN2025
Reactions: Callbiggq, g33gz and PieceKeepr
PieceKeepr
Senior Member
Just wanted to let you know that this worked on my IN2025
Thank you, that's good to know. I won't have time to mess with it until Saturday but that makes me feel better about it.
Reactions: bacon612 and g33gz
PieceKeepr
Senior Member
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK