yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] DF5JT:
This didn't go well:

sudo fastboot flash boot --set-active=b /home/erweitert/Downloads/OP9/magisk_patched-26400_BYHnU.img
Sending 'boot_a' (196608 KB) OKAY [ 5.233s]
Writing 'boot_a' OKAY [ 0.592s]
Setting current slot to 'b' OKAY [ 0.038s]
Finished. Total time: 5.896s

I ended up with a device that presented me with a colorful screen:

QUALCOMM CrashDump Mode
dm-verity device corrupted
verity_ctr

So, slot b was a bad idea.

I managed to get the device back into fastboot mode and flash it back to slot a.

And MagiskManager, contrary to all documentation I found only offers the option of patching a file, but no more. No installation in Magisk App.

I have tried both the patched version posted in this thread as well as trying the version patched by MagiskManager.

Any more ideas?

Edit:

Went through the process again in Magisk App, i.e. selected the boot.img that was posted here earlier. Which seems to be correct, since "Stock boot image detected" implies this. What surprises me is the fact that the unpatched boot.img has exactly the same size as the one patched by Magisk App i.e. 201326592 kBytes. Wouldn't patching the boot image introduce changes that result in at least minimal changes in size?

Sigh. A phone without AdAway isn't fun using these days.

Edit2:

Boy, this is a tough endeavor. I have now found this write up on how to install a TWRP with encryption support:

Install TWRP Recovery on OnePlus 9/9 Pro [Android 13]

In this comprehensive tutorial, we will show you the steps to install the TWRP Recovery on OnePlus 9 and OnePlus 9 Pro devices.

droidwin.com

and in fact, the TWRP works as desired i.e. asking for my PIN and then decrypting data. From there I could then install Magisk-26.4.zip and everything went smoothly. Installed to slot A and boot went smoothly.

No root.

I give up.
[OnePlus 9 Pro] ontwykende:
payload dumper don't work for me anymore... I don't know why and what I done wrong... to be honest, I didn't use it for almost year now...
[OnePlus 9 Pro] Lyceus:
I encountered the same problem, but I found another payload dumper called 'payload-dumper-go' after more online research. I was able to extract the boot image, but it failed to work after patching it with magisk. The phone either got stuck in a reboot loop or if booted with temporarily patched image the phone restarts at the end of the OnePlus animation loading stock image afterwards.

I was testing on. 592 BA variant
[OnePlus 9 Pro] karimrim:
Hi @DF5JT , I don't understand, did it succeed or not ?
[OnePlus 9 Pro] DF5JT:
This way it did not, no.

But finally I thought why not: Booted TWRP (without installing it) and flashed Magisk-24.3.zip and finally got root. Magisk App immediately asked tu update and the update to the latest version worked flawlessly.

So, using an older version of Magisk actually did the trick.
[OnePlus 9 Pro] Bunecarera:
My phone updated automatically this night.

Which it was not supposed to do...

So lost Root.

Anybody has a patched boot.img image of LE2123_13.1.0.592(EX01)?

So BA Version.

Edit: ok, my bad. Completely read over THIS POST of cupofthe...

Used his files, works flawlessly.
[OnePlus 9 Pro] RikiBez:
Under the section: "Keep Root and OTA updates", at the step 3: "For Android 12, install this APK "OPLocalUpdate_For_Android13.apk"" the link return me this error page:

I'm currently rooting a new Oneplus 9 Pro for a friend of mine and it's at Android 12 C66 version. Properly unlocked bootloader and rooted the system. Now I would like to update it at Android 13 if possible.
[OnePlus 9 Pro] Nimueh:
From the OP 9 Telegram group: "This works for OOS13 and below. It will be a new app in your app drawer called System Update"
[OnePlus 9 Pro] RikiBez:
Thanks Nimueh, I've downloaded and installed the APK.

My last question (I hope): I checked for updates and found the 13.1.0.592 version but there is no patched image on this topic. Is it safe for me to update to it or I'll screw everything up?
[OnePlus 9 Pro] Bunecarera:
Which version?

BA?

You can find the images HERE
[OnePlus 9 Pro] RikiBez:
I tried to download the update from Oxygen Updater, launch it from the app shared just above by Nimueh and then, following the procedure, to patch from Magisk in the secondary slot, no problem. (y)
[OnePlus 9 Pro] speed&vodka:
Edit: [Deleted] minor issue solved :)
[OnePlus 9 Pro] Painsec:
Can someone help me please, when I try "fastboot oem unlock" I see a message "Waiting for any device".

'adb devices" command work correctly because my phone is listed.
[OnePlus 9 Pro] lalo5alvarez:
Not exactly sure why you'd use "adb devices"

It should be "fastboot devices"
[OnePlus 9 Pro] Painsec:
"fastboot devices" does nothing, dont know why.

There this mark (!) when I restarting the phone in bootloader. Why?

EDIT : It work now, dont know why but, when I was in bootloader my phone driver was not recognised, I used driver booster to detect and install the good driver.
[OnePlus 9 Pro] centazi:
Sorry for my ignorance but is there any reason to stick with the Canary update channel for magisk? I got everything working (even passed all SafeNet checks) but i was wondering if i could change magisk to the stable channel without breaking anything...

EDIT: After some googling and digging on the magisk github decumentation i came across this page and this twitter post which means newer builds do NOT have the "Install to Inactive Slot" option for keeping the root after OTA updates. So yeah, i guess im going to rollback to the apk that is listed on the original guide.
[OnePlus 9 Pro] Hypnoz69:
Hey ! I systematically lose the Play Store certification a few seconds after stopping the application and clearing its cache.

I have hidden as many things as possible in Magisk but nothing helps (GMS, vending etc).

I emptied the caches as indicated (Play Store, Play Store Service, the cache via recovery).

My safetyNet pass.

Thanks if you can help me I don't know what to do anymore ! :)
[OnePlus 9 Pro] centazi:
im seeing the youre not hiding everything under Google play services and store. May be a long shot but try to hide everything like this
[OnePlus 9 Pro] Hypnoz69:
Thanks, I didn't know there were other things to activate!

My Play Store seems to keep the certification now but I still have a rather strange problem: When I empty the Play Store cache I do have the "My apps & games" screen (normal screen) which after a few seconds turns into "Manage apps & device".

Is this normal behavior with Magisk?
[OnePlus 9 Pro] centazi:
That's a new change made by Google on a update. Before i rooted my phone i had that menu. So your Play Store must have updated after the changes you made. So yeah its all good!
[OnePlus 9 Pro] Hypnoz69:
Thanks a lot 🙂
[OnePlus 9 Pro] lendawg:
I have TMobile converted to EU so which magisk boot am I supposed to use?
[OnePlus 9 Pro] Painsec:
... It's not working for me, I dont know if I understand correctly step 3 : but after boot on the magisk patched img and launching magisk I have a error message saying something wrong in the package analysis...
[OnePlus 9 Pro] surajpai524:
Guys, Just got 11.2.6.6.LE15DA OTA Update.

Will I lose my data if I install OTA? I know I can root again. Can someone verify if I will lose all my data if i install OTA?
[OnePlus 9 Pro] surajpai524:
Used Oxygen Updater from Google Play Store. Didn't lose data or root.
[OnePlus 9 Pro] Steve0007:
You won't be loosing your data.
[OnePlus 9 Pro] Kolczyk:
I have OP 9 Pro from Sprint, but is Tmobile now. Installed latest drivers and fastboot still do not see my device.

Do I have to stay with no root, or I did something wrong?
[OnePlus 9 Pro] Eugene1026:
I just got the update in my settings app, but it says installation problem (I'm on LE2120 global firmware/11.2.5.5AA) what can I do?
[OnePlus 9 Pro] Steve0007:
Since you want to keep root worth reading the first post/ OTA Update (incremental/AA) ?
[OnePlus 9 Pro] Eugene1026:
I did, I followed the instructions and restored my boot image and still got the same installation problem...
[OnePlus 9 Pro] rodken:
@Steve0007 Do you know of a method that hides the state of an unlocked bootloader on the OP8 5G UW in order to download OTA's?
[OnePlus 9 Pro] bobbes:
I had the same problem. You've found a working workaround! First install Magisk 24.3 zip via TWRP and the let the app update to latest version and do a direct install in the app.

Thanks!
[OnePlus 9 Pro] chetqwerty:
Hi Mlord,

Reading this is giving me hope of trying an OTA update again. The OP method of restore boot.img > take OTA > Install to inactive slot, has never ended without a Qualcomm Crash Dump screen of death leading me to boot back to the functioning slot and giving up. I'm currently on 590 from a July complete system redo. Tried to update to 591 a couple months ago and got the Crash Dump screen again.

Your post of success with this method is making me want to give it a try. Did you go from 591 to 592? Wondering if I should download the full package from Oxygen Updater to jump from 590 or to do two separate updates as recommended for our AA models. Thoughts?

EDIT:

Ok - This worked great, no more Qualcomm Crash Screen, first time ever successfully updated without hassle. Easy jump from 590 to 592 using the method mlord describes.

Thanks
[OnePlus 9 Pro] MadMelman:
Here are the A14 LE2121 DA 14.0.0.211(EX01) Stock and patched boot images.
[OnePlus 9 Pro] kpitao:
Does anyone have the AA LE2115_13.1.0.592(EX01) Stock boot.img and / or magisk patched boot.img?

I lost root on the OTA update...

Thanks all
[OnePlus 9 Pro] kpitao:
bump
[OnePlus 9 Pro] Nimueh:
If that's the OP 9 Global version then I just uploaded the UNpatched boot.img to my Drive ;)
[OnePlus 9 Pro] gunnnn:
Good morning.

Thank you for the work done but the file is no longer available on Mega. is it possible to put it back online? Do you have version 592 for: LE2123 - EU: BA Because I just did the OTA update LE2123_13.1.0.592 (EX01) and I would like to be rooted again.

Thanks in advance.
[OnePlus 9 Pro] Nimueh:
Here's the stock UNrooted boot.img for the OP 9 Pro EU 592 ;)
[OnePlus 9 Pro] kpitao:
Thank you!!!... I'm rooted again
[OnePlus 9 Pro] andreivassaliev:
Hello,

First of all, thank you very much for this thread, it is very helpful ! :)

I just got a stock OP 9 Pro (LE2123) updated with the latest OOS : LE2123_13.1.0.592 (EX01).

I would like to root it in order to get back all my settings/apps from my older OP 5.

May someone have a rooted boot image for LE2123_13.1.0.592 (EX01) in order to fastboot with temporary root and then direct install magisk ?

Thank you for your help. Cheers !
[OnePlus 9 Pro] Nimueh:
You should never use the boot.img someone else patched, it CAN cause issues. I uploaded the stock boot.img just 2 comments before yours here - simply patch the file in Magisk, then boot that file and do a direct install in Magisk if it booted ok ;)
[OnePlus 9 Pro] andreivassaliev:
Thank you very much for your reply and your advice :)

Just one little question: i suppose i can patch this stock boot.img by using Magisk from my OnePlus 5 ? As soon as it is patched, i transfer the boot.img to the OP9 Pro ?

Or maybe, i just have to install Magisk on the stock OP9 (without root obviously), and then patch the boot.img you provided ?
[OnePlus 9 Pro] Nimueh:
Yes, just install the Magisk.apk on the 9P and then use that to patch, much easier :)

PS: I'm pretty sure you should always use the same device for patching that the boot.img is from + for. I've never tried to patch it on a totally different device, but it doesn't sound like a good idea lol 🤷‍♀️
[OnePlus 9 Pro] andreivassaliev:
Thanks again for your reply. It worked perfectly well
[OnePlus 9 Pro] Levi4cyber:
Hi, haven't used my OnePlus 9 pro in a while, opened it up today to see I have an update (said device is 14 days due...).

Tried updating it, but it kept on failing, so I uninstalled magisk (not completely removed), then I installed, it said failed.... Tried a few times but same result.

After the third time I had reinstalled magisk to inactive slot, and restarted my device, but it's now bricked!

I already formatted from recovery but still bricked.

It says dm-verity device corrupted.

Attached is a picture of what comes up on the device when I try to start it.

Please any help on how to unbrick?
[OnePlus 9 Pro] neotion:
OP9Pro - Repository of MSM Unbrick Tools (TMO, EU, GLO, IN)

By using these tools, you accept full responsibility for your actions. Your warranty is void should you run any of these utilities without OnePlus support present. I am not responsible for bricks, fires, nuclear war, etc. If you modified any...

xdaforums.com
[OnePlus 9 Pro] Levi4cyber:
I downloaded that file for my device.

Now I flash it with what? MSM tool?

Where do I get one that'll work for the OP9P?
[OnePlus 9 Pro] Nimueh:
Check this guide in the OP forum. It also has links to the drivers you'll need, as well as the MSM tool for every device.
[OnePlus 9 Pro] Levi4cyber:
Thanks so much, I was able to unbrick by flashing the payload.bin.
[OnePlus 9 Pro] mnurolcay:
Anyone got LE2123 magisked boot.img for .593 ? Lost root again, it doesn't ask to reboot anymore just rebooting to install.
[OnePlus 9 Pro] TNSMANI:
That is the EU model, right? Try HERE. This is not patched with Magisk but you can do it. It is always better to patch it yourself.
[OnePlus 9 Pro] mnurolcay:
This is full update I already downloaded and installed. Ican't extract boot.img right now. That's why asked for only boot.img
[OnePlus 9 Pro] mlord:
Updated to .593 here today in the usual way. No glitches, it simply worked.

Downloaded the update with Oxygen Updater, then ran Magisk and "Uninstall --> Restore Images" there. Then used Local Updater to install the new update file without rebooting. Then back to Magisk to "Install --> Install to Inactive slot (after OTA)", and finally clicked on REBOOT from there when that finished.

Cheers
[OnePlus 9 Pro] mnurolcay:
Tried to do same but there was no option to Reboot in Local Updater. Extracting - Verifying and Install were the steps. After clicking to install it just rebooted.
[OnePlus 9 Pro] AGBOHOU:
Hello. Does anyone have the boot.img for the OTA update 593 of the OnePlus 9 Pro global AA to share on this forum Thank you in advance.
[OnePlus 9 Pro] mlord:
I use the Reboot option in Magisk, not Updater. For installing the update, I use the OPLocalUpdate_For_Android12.apk
[OnePlus 9 Pro] mlord:
Is this the file I would find in /data/magisk_backup_*/boot.img.gz after updating to 593?

EDIT: Yes, it does appear to be the original boot.img. but for NA in my case. So.. attached. This is from my LE2125NA,

not

from an AA version.
[OnePlus 9 Pro] AGBOHOU:
Thank; I search for L2125 AA
[OnePlus 9 Pro] Ruben.gm:
I also have the same problem as you. I need the boot.img of the .593 EU. I would appreciate it if you could share it here, please. Thank you very much
[OnePlus 9 Pro] buu'buu:
wait a bit, i can extract it for you
[OnePlus 9 Pro] buu'buu:
Tested (fastboot boot OxygenOS_LE2125_AA 13.1.0.593_original_boot.img) (y)
[OnePlus 9 Pro] eardunk:
Patched boot for LE2121 - India : DA OxygenOS 13.1.0.593:
[OnePlus 9 Pro] AGBOHOU:
THANKS. Can you tell me what safe tool you use to extract it? That way I will do it myself soon.
[OnePlus 9 Pro] eardunk:
[GUIDE]How to extract img(boot.img, etc...) from payload.bin using payload-dumper-go.

For 10R only: I have uploaded a few of the extracted boot.img, before extracting if you want you can look for the required boot.img here: https://www.mediafire.com/folder/kyn2p5mhde7nn/boot.img 1. Download and extract payload-dumper-go. 2...

xdaforums.com

Extracted with this tool from original firmware. Then you need to download it to your phone and patch with magisk, no root required. You are welcome.
[OnePlus 9 Pro] buu'buu:
No, extracted from my phone (unrooted)

edit: i don't have the firmware.
[OnePlus 9 Pro] buu'buu:
I did it like this,

Initially my phone is version 13.1.0.592 and rooted.

First you have to unroot

-disables all modules in Magisk, KernelSU or Apatch.

-reboot to bootloader

-flash the original boot image to both slots. Test it first just in case.

fastboot boot stock_13.1.0.592_boot_image_name.img

if it boot then flash it

fastboot flash boot_a stock_13.1.0.592_boot_image_name.img.img
fastboot flash boot_b stock_13.1.0.592_boot_image_name.img

-reboot.

Once rebooted you can now update to version 13.1.0.593 from the settings menu.

Extract the 13.1.0.593 boot.img

-download Orange Fox Recovery for your OP9pro

-reboot to bootloader

-boot Orange Fox Recovery image

fastboot boot name_of_OFRecovery.img

-you need an usb tpye-C otg cable and FAT32 memory card

or an usb type-C/usb type-A dual socket memory card.

connect it to your OP9

-in recovery search for mount usb storage and check it

-go in recovery terminal and execute this command (you will have to wait a little while the file is copied to the memory card).

dd if=/dev/block/bootdevice/by-name/boot of=/usbstorage/boot.img

Voilà, now you have the boot image to patch on your memory card.
[OnePlus 9 Pro] AGBOHOU:
I tried it but it doesn't work. The command runs normally friends at the end, I only have image files of 0 KB in volume.
[OnePlus 9 Pro] mustangtim49:
I can't patch the boot.img from 2125 for 593, it doesn't show up in Magisk. I've moved it around and renamed it and still, poop! Anyone experiencing this? One more thing, can anyone just provide a patched image for 2125 for 593? That way I'll just boot it and root direct install, at least I hope that's how it will go.....

Edit: I got it. For some reason Magisk sees the boot.img as having 202.00MB not the actual 192.00MB. So if that helps anyone.
[OnePlus 9 Pro] Nemesco:
The link is not working anymore. Does anyone have a working link for the 593 EU : BA version ?
[OnePlus 9 Pro] Ruben.gm:
I have got the boot.img of 593 EU, I have already patched it with magisk. I am using the latest version of magisk 26.4.
[OnePlus 9 Pro] mustangtim49:
Here's the original and patched boot images for .593 2125 GLOBAL just extract them. Patched with latest Magisk 26.4
[OnePlus 9 Pro] afsc19:
Is there a way to keep WideVine L1 when unlocking bootloader without having to do downgrades and updates?
[OnePlus 9 Pro] mlord:
Unlocking the bootloader, by necessity, ALWAYS wipes the phone.
[OnePlus 9 Pro] PyAley:
Please update 593 for LE2123, tks
[OnePlus 9 Pro] PyAley:
Do you have boot.img for 593 LE2123? pls share it, thank you so much!
[OnePlus 9 Pro] Ruben.gm:
It is attached to the message
[OnePlus 9 Pro] PyAley:
Hi, I can't get what you said, pls tell me clearly, tks.

In your old cmt, you post Magisk with patched, I mean stock boot.img 593
[OnePlus 9 Pro] Ruben.gm:
I attach it below.
[OnePlus 9 Pro] PyAley:
Thank you so much!
[OnePlus 9 Pro] Silvock:
Hello !

I am updating my phone to LE2121_14.0.0.202. In order to keeping root I have to install magisk on the inactive slot. However, I forgot to update Magisk before to install the OTA.

Should I update Magisk with a Direct Install and reboot or Install to inactive slot ?

Should I reinstall Magisk 26 apk ?

The answer is : Install in inactive slot

Sorry, I was not confident ...
[OnePlus 9 Pro] kevk60:
Have looked in a lot of places for an answer but haven't found anything definitive. I am on android 11.2.10.10 along with magisk 26.4 on the 9 pro. Been having some storage problems so I would like to reflash the same rom that I am currently using. Question is, would I install my magisk to direct slot or the unused slot after ota. I am thinking the latter, but some advice would be helpful. Thanks.

Edit: Found my solution to my storage problem.
[OnePlus 9 Pro] Alonzzo2:
Hi, I've got the BA version, I downloaded your img, patched it myself using the latest magisk, fastboot boot that image, but I still don't get the 'direct install' method in magisk (no root).

Any idea how to resolve this?

Thanks!
[OnePlus 9 Pro] MadMelman:
I've found a easier way to do this.

Download twrp

Download magisk.zip

Go to fastboot mode

fastboot boot twrp.img

Then flash magisk via twrp

No need for payload dumper.
[OnePlus 9 Pro] Alonzzo2:
Thanks, did that, flashed magisk (renamed to magisk.apk to magisk.zip) but when I open magisk manager, it seems like it's still not installed... how can it be, if I successfully flashed it??
[OnePlus 9 Pro] adamchap:
Hi all,

I just updated my OP9P from LineageOS 20 to LineageOS 21 and went to do the usual routine to flash Magisk back in (i.e. Boot to fastboot, send a patched boot.img that I've patched from stock LE2123(BA) in Magisk 27.0 on my device.)

However, Fastboot seems to have gone from Lineage 21, replaced with a new looking FastbootD ?

And when I am in fastboot and send the commands from my laptop, this is what I get (magisk27.img is the filename of the boot.img I've patched with Magisk 27 NOT the Magisk app itself, just saves me typing a long filename).

fastboot flash boot magisk27.img

target reported max download size of 268435456 bytes

sending 'boot' (196608 KB)...

OKAY [ 5.016s]

writing 'boot'...

FAILED (remote: No such file or directory)

finished. total time: 5.031s

Additionally, if I try it as a temporary boot (to apply Magisk directly from within Magisk) I get this error:

fastboot boot magisk27.img

< waiting for device >

downloading 'boot.img'...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.714s

Any ideas anyone? Hate being stuck without root!
[OnePlus 9 Pro] adamchap:
Argh, replying to my own post, makes me look crazy :)

All sorted. If anyone else runs in to this then this is the answer:

1. Install Lineage 21 via the recommended ADB method, manually (if you're upgrading from LoS 20 to LoS 21 for instance).

2. Reboot as your device will recommend, to Recovery, then IMMEDIATELY install Magisk apk renamed as a .zip via ADB also.

3. Before a final "reboot to system", install GApps if you're a Google Apps user also.

Then when booted, head straight in to Magisk, and use the Direct Install option. Do a final reboot and you're sorted!
[OnePlus 9 Pro] Nemesco:
Anyone with an original and patched boot image for the EU version:

LE2123_14.0.0.202(EX01)

?
[OnePlus 9 Pro] p1304331:
Is there a guide for upgrading an operating system from 13 to 14? Thank you
[OnePlus 9 Pro] Tr4il:
I do. Zip came from Oxygen Updater, patched with Magisk 27.0
[OnePlus 9 Pro] Nemesco:
Thank you!
[OnePlus 9 Pro] brusher:
I updated BA to 14 version with regular way without problem.
[OnePlus 9 Pro] fig33:
I flashed the patched boot img, the phone became laggy and acting weird

I flashed the stock boot back and the phone is normal now but without root.
[OnePlus 9 Pro] helldagp:
the same happened to me. I thought it would be a matter of doing a hard reset but I don't think that would be enough. I hope someone has solved it and could share the solution.
[OnePlus 9 Pro] tonoalber:
Does anyone have the boot.img file for the EU version LE2123_14.0.0.202(EX01)?
[OnePlus 9 Pro] fig33:
It's here
[OnePlus 9 Pro] Steve0007:
Remove Repainter application
[OnePlus 9 Pro] helldagp:
Thanks, I uninstalled Repainter before flashing the patched image and it worked.
[OnePlus 9 Pro] Steve0007:
You could have removed it after flashing also
[OnePlus 9 Pro] DNA382:
When I'm trying to install the Local Update APK, I get the error message "app not installed as package conflicts with existing package" but I searched everywhere and the app isn't installed.

Sould I use the incremental update method? I'm on the latest A13 build and I want to upgrade to A14.
[OnePlus 9 Pro] RASTAVIPER:
Updated my mobile to 14 this morning from Android 13 with a single boot, while keeping my root and modules.

Very smooth process for a major Android update.

So far Android 14 working great, no need for any removal of apps or any special settings.
[OnePlus 9 Pro] DNA382:
How did you proceed the update? Thanks in advance!
[OnePlus 9 Pro] RASTAVIPER:
1. Downloaed the update through oxygen updater

2.Open Magisk, go to “Uninstall Magisk” and click on “Restore Images”

3.Open the “System Update” app, tap on the Gear icon and select the downloaded update

file

4. Install the Update, but don’t reboot

5. Open Magisk, tap on “Magisk Install” and “Install to Inactive Slot (After OTA)”

6. Reboot using “Magisk Manager”, by tapping on the Reboot button of Magisk men