yashsingh1/xdaforums huggingface dataset:
[OnePlus 11] bynarie:
i wasnt smart enough to make a proper backup of my stock init boot but i have my patched init boot - https://drive.google.com/file/d/1hPCbW3ZG7vVNKpp-UGFn_4J08Ec7Kf70/view?usp=sharing
[OnePlus 11] azsl1326:
Thanks! I think I can just flash this via fastboot and be good to go, correct?
[OnePlus 11] Jamesmac34980:
I was able to fix it, with some help from bynarie. Thank you!! My problem was I was doing a fastboot boot init_boot.img instead of a fastboot flash init_boot init_boot.img! Haha simple things make for complicated results. Good luck everyone, trust me, bynarie knows what he's doing!
[OnePlus 11] bynarie:
Yes, fastboot flash it and do direct install in magisk
[OnePlus 11] azsl1326:
Thanks again - that worked. I really appreciate the help. Cheers!
[OnePlus 11] bynarie:
For sure!
[OnePlus 11] altwu:
i just updated to CPH2451_14.0.0.401 from android 13. i was already rooted, so the update went fine and i was able to keep root. but now i'm running into a problem with updating to CPH2451_14.0.0.501. when i try to restore the stock boot images in magisk, it says the stock backup does not exist.

does anyone have a stock init_boot image for CPH2451_14.0.0.401? i can download the full update package for CPH2451_14.0.0.304 with oxygen updater. can i use the stock init_boot from that?
[OnePlus 11] Causical:
501 has been released for NA? hmmmm
[OnePlus 11] mr_reaper:
I'm in same need also need stock init_boot.img for cph2451_14.0.0.501

Can't find the fw for it
[OnePlus 11] divyajagaseth:
I need cph2451 14.0.0.501 init boot img to root using magisk , north America version, it will be very much appreciated
[OnePlus 11] mr_reaper:
i dont have the stock img but i do have a patched one, i have flashed it myself, works perfectly
[OnePlus 11] divyajagaseth:
Yeah please share it with me, also possible how to flash it
[OnePlus 11] mr_reaper:
init_boot_magisk.img

drive.google.com

unlock boottloader

reboot to fastboot

fastboot flash init_boot init_boot_magisk.img
[OnePlus 11] AbuNT:
i cannot boot into fastboot to do the remaining steps. Can anyone have another solution?
[OnePlus 11] mr_reaper:
Make sure u have correct drivers
[OnePlus 11] AbuNT:
I'm sure I'm using the correct driver.
[OnePlus 11] mr_reaper:
Just checking I had same problem and it was driver related
[OnePlus 11] azDARKNESSfallz:
did this work for you?
[OnePlus 11] azDARKNESSfallz:
do i need the stock "14.0.0.501 init_boot" for this to work. Im having troubles
[OnePlus 11] bynarie:
No you can fastboot flash a patched init_boot and then go into magisk and do direct install... Do you need a copy? And is it for firmware north america 14.0.0.501?
[OnePlus 11] bynarie:
https://drive.google.com/file/d/1WgvtTjLJaP6mhuBw5BsheM0TU4oDgjNj/view?usp=sharing - Download this file and rename it to "init_boot_magisk.img" and reboot into bootloader (not fastbootd), and do "fastboot flash init_boot init_boot_magisk.img" and reboot then go into magisk app, select direct install. This is the .501 firmware init boot
[OnePlus 11] azDARKNESSfallz:
Ive tried this, i just keep getting an error saying"no such file or directory"
[OnePlus 11] bynarie:
Take a screenshot, you're mis typing something.. You need to give me more detail than just "no such file or directory"
[OnePlus 11] azDARKNESSfallz:
DM you
[OnePlus 11] wfred:
You might want to give this APatch method a try. Haven't tried it myself, but the reply says it works.

xdaforums.com/t/oneplus11-with-apatch-root-method.4662490/#post
[OnePlus 11] Reznor7:
Lost root when updating to 601. Can anyone extract the stock init_boot.img?

Thanks!
[OnePlus 11] Zenpool:
init_boot.img for:

IN - CPH2447_14.0.0.601(EX01) - CPH2447_11.C.52_1520_202403152320

EU - CPH2449_14.0.0.601(EX01) - CPH2449_11.C.52_1520_202403152321

GLO - CPH2449_14.0.0.601(EX01) - CPH2449_11.C.52_1520_202403152321

md5: 75BA67948052F1803C25054059EFAAFC
[OnePlus 11] Reznor7:
Thanks, but this is a 2451 device thread. Unfortunately, those are all the ones I don't need. :P
[OnePlus 11] daleloco:
Hi, months ago I used KSu method to root my device and after that never updated again. I'm on 2451_13.1.0.580. But now I wanted to update to A14 and came back to the forum to be sure how to do it correctly. I understand that I need to restore images in Magisk, but there was a problem back then and magisk says "stock backup does not exist".

I've read all related threads and didn't find anyone who shared the corresponding init_boot file. So I'm not sure what to do in order to update. In Oxygen Updater I see full package update 14.0.0.304, and in local updater (the one in about device) I see 13.1.0.596.

Would it be ok to update directly with this full package? I don't care losing root, I would root later again. Or can I update from the local update and continue updating normally? I think that last case would not be possible.

Thanks in advance
[OnePlus 11] deechte:
You can always download the full update file and extract the image yourself with a payload dumper.
[OnePlus 11] daleloco:
Yes, but the full update file is available for A14, I'm in A13 rooted. That's why I didn't know if it was safe to update or if I had to do something else to be back in stock
[OnePlus 11] str8str:
hi i have the cph 2451_14.0.0.601 (ex01) north american version does anyone have the stock init_boot and patched one for this phone or know where i can get the download for the full rom? tia
[OnePlus 11] str8str:
or will the 501 work with 601 i have installed
[OnePlus 11] str8str:
l
[OnePlus 11] mghanem8800:
I'm rooted and on 14.0.0.301(EX01), now there is partial update for 14.0.0.401 for another two month and recently b14.0.0.601. i haven't seen the full update files yet on oxygen updater app. I have been waiting for. Is there any idea when the full update will be available or has access to them.
[OnePlus 11] abc1054:
Yes, it works 😁 I've tried it . I'm on lastest .
[OnePlus 11] lordxcom:
Having the same issue, were you able to resolve this?
[OnePlus 11] Chito307:
Can anyone share a stock and unpatched 2451 501 or 601 init_boot.img file?
[OnePlus 11] lordxcom:
after 'fastboot boot android13-5.15.123_2023-11-boot.img'

it reboots me into Recovery? then i reboot, and nothing

Any ideas?
[OnePlus 11] lordxcom:
stock init_boot.img 601 *attached

CPH2451​
[OnePlus 11] Test_subj:
Any chance you have the stock 701 file?

edit: attached 701 and 810 stock files for CPH2451
[OnePlus 11] lordxcom:
negative
[OnePlus 11] binary**#:
a couple of months later, I'm still stuck in the same scenario. Did you ever manage to find a fix?
[OnePlus 11] lordxcom:
Yes, in a way... https://xdaforums.com/t/oneplus-11-rooting-guide-on-android-14.4632983/post-89602645

scroll around and read the troubleshooting and steps/error i ran into with Causical's help.
[OnePlus 11] binary**#:
Sure, will look into it. By the way, your post says:

rebooted to bootloader (fastbootd)

'adb reboot bootloader'

So I guess you are talking about Fastboot rather than FastbootD, right?
[OnePlus 11] lordxcom:
Correct
[OnePlus 11] Xulon:
This morning I tried to restore images like I have with every previous update since using this method. However when I went to restore images it told me I didn't have a copy of stock images. I'm currently on version 810. I did see the init_boot files above for stock. But wasn't positive on what instructions to follow in order to restore stock at this point.

If someone could direct me to the right information that would be great.

Thank you for the assistance.
[OnePlus 11] Causical:
Basically you can refer to this https://xdaforums.com/t/android-14-...ll-have-magisk-restore-images-option.4641667/

Fantastically assembled guide for your situation.
[OnePlus 11] Yamaha169:
https://dl.google.com/android/gki/gki-certified-boot-android13-5.15-2023-02_r1.zip

This work for your boot.img restorations?

Heres a debug build?

https://dl.google.com/android/gki/gki-debug-boot-android13-5.15-2023-02_r1.zip

Generische Boot-Partition | Android Open Source Project

source.android.com
[OnePlus 11] dgunn:
Dude you are amazing thank you so much I followed your instructions and my OnePlus 11 is fully rooted 😁😁😁😁
[OnePlus 11] dgunn:
Spoke too soon. I can't make phone calls, no data and Sim isn't showing up
[OnePlus 11] JPower123:
What version is your phone? I have not had this issue after rooting.
[OnePlus 11] cabagekiller:
yeah explain a bit more? You are one of the first to report this issue. did you follow the steps exactly?
[OnePlus 11] dgunn:
@JPower123 @cabagekiller

I took my SIM card from my OP8 and put it in my OP11 and I had everything working fine until I rooted my phone. I took my SIM card out of my OP11 put it my OP8 and everything worked. Put it back into my OP11 and I couldn't make a phone call, no data by the way this is AT&T.

I contacted AT&T and they told me that OP11 is NOT on their registered list of certified phones for their network. I asked to speak to a supervisor and he assured me that it is NOT on the list. This point I said I'm going to give you my IMEI number and I want you to try to couple it to my SIM card. They agreed to try and my phone has been working ever since. It is NOT on the certified list but it does work on the network you just have to tell them to replace your IMEI number on their end
[OnePlus 11] Kufat:
Having a bit of trouble. I made it to phase 4, successfully booted the ksu kernel (ksu-10672-Image-android13-5.15.41_2022-05-boot.img) and enabled su for Magisk, did a direct install (step 10), and attempted to install the safetynet-fix module (step 11.) I couldn't, since the modules and superuser tabs were disabled in the Magisk app, so I tried rebooting.

After rebooting, Magisk shows that it isn't installed. ("Installed: N/A") Despite that, when I try again I see "Magisk patched boot image detected" in the log below.

Phone is a US model CPH2451, and I haven't flashed anything with fastboot. (Only 'fastboot boot'ing the ksu kernel, a few times now.)

Spoiler content hidden.

Edit: Same result if I boot the version from the original post (ksu-10647-Image-android13-5.15.41_2022-05-boot.img)

Edit: Resolved. The latest Magisk Canary (25210) has a major bug. Rolling back to 25209 worked.
[OnePlus 11] dgunn:
Have you tried to just install the Magisk app? Do that and see if you can get root with KSU
[OnePlus 11] Kufat:
I'm not sure if you meant Magisk and got autocorrected or if you meant a different Magic app that I don't know about.

If you meant Magisk, then yeah. I have the KSU and Magisk (Canary) apps installed. When I boot the KSU kernel, I do have root and it seems to behave as expected. I only have problems after I reboot; instead of being rooted with Magisk I have no root at all when I boot normally.

Edit: Solved. The latest Magisk Canary (25210) has a major bug. Rolling back to 25209 worked.
[OnePlus 11] villain222:
I get to this point and the command fails. Fastboot gives me the help message basically saying the command is improper or doesn't exist. I've tried directly from the platform tools folder and another random folder. No luck. restarted phone and disabled OEM unlock and re-enabled and restarted. still won't run the command. I can see the device listed on fastboot devices. any advice?

EDIT: NM used CMD instead of powershell and everything worked.
[OnePlus 11] dgunn:
That's odd because I used the command line for the whole thing never even use Powershell 🤷‍♂️
[OnePlus 11] H4X0R46:
Has anyone tried to OTA update after being rooted yet with this guide? I've held off on rooting my phone simply because I wanna make sure that you CAN update this device after it's rooted with this guide. Any success stories yet?

EDIT: I understand the process of uninstalling magisk, taking an OTA, installing magisk to inactive slot, and THEN rebooting. But just want to know if this really works and IF you can even take an OTA with the bootloader unlocked. SOME Android devices will not let you OTA with an unlocked bootloader. 🤔
[OnePlus 11] surajpai524:
I used this method on CPH2447 Indian variant and it works fine for me. OTA works without any issue for me. Use Magisk Canary 25206.
[OnePlus 11] H4X0R46:
Alrighty! So I went ahead and did it, my USA model CPH2451 is rooted successfully 😁 Now I'm kinda anxious to see what happens when I have to update this phone later.... Hope the update method works 😅
[OnePlus 11] Svid:
Okay so this method worked nicely. About OTA's - i usually download full package from oxygen updater (EU model)

So i can uninstall magisk, flash stock init_boot, boot with kernelSU and reinstall magisk via direct install?
[OnePlus 11] surajpai524:
What I did was download full package from Oxygen Updater. Uninstall Magisk (Restore images). Start update. Once it finishes verifying and tells to install now, I goto Magisk and install to other slot "But not rebooting from Magisk". Go back to Updater and Click Install Now. Then it auto reboots and you will still have root access.
[OnePlus 11] H4X0R46:
Here's something I've always wondered and could never find the answer to 🤔 Are OTA incremental updates made to update a build from TWO versions behind?

ie: slot A is A06 and slot B is A07, an OTA would have to update slot A from A06 directly to A08 theoretically right?

Just trying to get a grasp on how incremental updates actually work lol
[OnePlus 11] surajpai524:
Nope. Basically a full zip has all partitions and incremental has just basic partitions like system, boot etc. That's the reason why we can't extract partitions from payload.bin from incremental and we just apply diff on previous extracted partitions from full zips.
[OnePlus 11] H4X0R46:
If that's the case, why can't we just extract clean boot.img and init_boot.img files from incremental updates and use em for rooting and restoring purposes? That seems so much easier 👀 Real question lol it piqued my interest.

And for the other part of my question, incremental updates MUST update 2 versions ahead? Since our phones these days are dual partition? A06 to A08 for instance?
[OnePlus 11] dgunn:
So how do we go about doing an incremental update? It's been quite some time since I have done one on my OnePlus 8 Pro. I really want these camera improvements since my macro lens will not zoom and focus correctly
[OnePlus 11] jeffsga88:
2 options. First, restore images in Magisk, then do normal OTA, reboot and re-root using Kernel SU again. Second, restore images, find the URL for the update and download it, update using the update apk, do not reboot after it updates, go in to Magisk and install to inactive slot, then reboot. Personally, I would do the first option as it's safer but that's just me. Both should work though.
[OnePlus 11] cabagekiller:
So I rooted using flashing magisk to init_boot then fastboot flashing it to my phone. What can I do to get the ability to do incremental OTAs? Any help would be greatly appreciated.
[OnePlus 11] H4X0R46:
Just reporting success here. I followed the guide and was able to OTA my USA model and keep root, all working fine 👍
[OnePlus 11] jeffsga88:
Did you end up downloading the OTA and using the update apk to update or just do it through system OTA and then install to inactive slot with Magisk?
[OnePlus 11] g96818:
You can just install the full rom and use the install after ota to root
[OnePlus 11] g96818:
Either one works, but if you are updating from a06 to a08, then use the stock updater. Oxy update will only give you the a07 to a08 ota file and idk if that will work to update a06 to a08
[OnePlus 11] surajpai524:
1. Yes it's possible to extract boot.img and I have done it before. But it's not a direct step like full zip. To extract boot.img from A.08, you must have a extracted full zip from A.07 or A.06 or any full zip of same phone and same version of Android.

2. Yes. You apply it based on what firmware is stored in what slot.
[OnePlus 11] dgunn:
I too would like to know which method and steps you used please.
[OnePlus 11] H4X0R46:
Absolutely! Open magisk and press uninstall, then press images only. DON'T REBOOT. Then update using the normal OTA option in the settings. DON'T REBOOT. Then open magisk again and press install to inactive slot. NOW REBOOT 👍
[OnePlus 11] jeffsga88:
Good to know that works. I'll probably do it later but I'll pull the stock boot and init_boot.imgs before rooting it so I have a back up just in case.
[OnePlus 11] H4X0R46:
How do you pull the stock ones from your phone? You can do that? 👀 Now I'm interested.
[OnePlus 11] dgunn:
My update is failing so idk what's going on
[OnePlus 11] Kufat:
Well, this seemed to be working nicely until I did a factory reset so I could restore from my Google account. I was able to restore after doing the reset, but now I can't set a lockscreen password. (I believe that I did have a lockscreen password set before doing the factory reset.)

Spoiler content hidden.

Rebooting didn't help, nor did fully uninstaling Magisk. I'm worried that I've hosed the backing store for the TEE or some such. Any suggestions, please? Thanks.

Edit: Managed to brick it. It's going back to OnePlus for a reflash that I could do in five minutes if they were willing to let customers have the software and recovery images they need to fix their devices.
[OnePlus 11] H4X0R46:
Releases · Displax/safetynet-fix

SafetyNet & Play Integrity API workarounds for Magisk - Displax/safetynet-fix

github.com

Install this safety net fix and reboot, then try again. Also, if you've already uninstalled magisk, probably reinstall it quick. You'll need it installed for this module to work.
[OnePlus 11] jeffsga88:
You can pull the images either using ADB or terminal on your phone. If using your phone, have root, install Termux (or other terminal emulator), then type:

su

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

Only thing you need to find out is if you're on slot a or b and add that to the command, ie:

dd if=/dev/block/by-name/boot_a of=/sdcard/boot_a.img

On a computer, use ADB and run adb shell, then SU, then type the above commands. You won't be able to to pull the stock images since you already updated and rooted. You could pull the ones next update though. Use Magisk to restore images, then do update, don't reboot, use terminal emulator to pull the boot and init_boot of the other slot, then go into Magisk and install to inactive slot and then restart. That way you'll always have backup of stock boot and init boot just in case something goes wrong.
[OnePlus 11] dgunn:
Does anyone have the payload.bin file for the CHP2451 11_A.07 firmware??
[OnePlus 11] jeffsga88:
No, and there's no full firmware package for 2451 so no way to extract images from the payload anyways. If you're just trying to restore your boot and init_boot I have stock A.07 images I backed up before rooting.
[OnePlus 11] dgunn:
It's okay I pulled the recovery.img from the A.06 firmware and it worked in fastboot flash recovery.img mode.

No my updates were failing so I assumed I had a bad recovery image. So I just reflashed my recovery
[OnePlus 11] H4X0R46:
Dude, I'm legit gonna buy you dinner and a six pack for this post alone! Lol This info should seriously be pinned somewhere in this part of the forum! 👍 You rule!
[OnePlus 11] qriozum:
Hi.

I have the EU variant, I got root by flashing "init_boot".

Today there was an update to A.08.

I downloaded Full-OTA, ran updates but didn't restart OP11 after verification just ran "Magisk v25.2" and did "Install to Inactive Socket" like on older OP models.

Then I selected "reboot" from Magisk. After booting up and showing "Orange State", all that's left is a black screen and reboot.

Only pressing and holding "VolUp+Power" helped me - OP started on version A.07, so he went back to the slot before the update.

In this case (I had flash init_boot) will your OTA update method work for me?

regards

w.
[OnePlus 11] pandaman20103:
I'm stuck on a bootloop after an OTA from A06 to A08

I followed the guide, magisk restored images, OTA via system, magisk installed to inactive slot, but from here I rebooted using magisk and the it started bootlooping. I can enter fastboot still. Any know how to recover from this point? I've tried booting from both slots A and B neither worked. I've also read about some issues with magisk modules causing bootloop but I'm unable to run ADB commands.
[OnePlus 11] ChrisFeiveel84:
Doppel post delete
[OnePlus 11] ChrisFeiveel84:
When you can boot to fastboot/fastbootd than flash the full Update pack to both slots with FBE Or have you a china op11 what is flashed with oos ? When yes than flash the coloros image (. only oplusstanvbk.img from cos 13 a10) back
[OnePlus 11] pandaman20103:
By FBE I'm assuming you mean FastbootEnhanced. I have the USA CPH2451. The US variant doesn't have a full update pack yet correct?
[OnePlus 11] ChrisFeiveel84:
You can use the edl firmware

For flash the images with fbe

And delete the cow partition

Stock Firmware Collection for OnePlus 11

Official Links for OnePlus 11 >> OTA updates: ColorOS 13.0.0 A.05 China: Download ColorOS 13.0.0 A.08 China: Download ColorOS 13.0.0 A.09 China: Download ColorOS 13.0.0 A.10 China: Download OxygenOS 13.0.0 A.07 IND: Download Oxygen OS...

xdaforums.com

And better is make an backup from all partition befor you make an Update

in case something goes wrong you can flash the images back as long as you can still get into fastboot/fastbootd)
[OnePlus 11] Xulon:
I have followed the exact method in the first post of this thread. Is it safe to uninstall images via magisk, update from .07 to .08, then install in inactive slot, and reboot or is there issues at present doing this. Don't want to end up with bootloop if possible.

I've read the posts since what appears to be the update and it seems to be a mixed bag at the moment.

I have the cph2451 (us variant).
[OnePlus 11] MrSteelX:
As someone who borked slot A in my first attempt of root on cph2451. As long as you are unrooted and nothing has modified any partitions on phone. It will update no problem. The second problem is we have people making posts that have eu version which has more options and can fix these issue since they get full releases every update.
[OnePlus 11] jeffsga88:
Yeah, I've personally been using this method since the 10 pro since we don't have MSM anymore. Before the 10 Pro, we at least had a way to unbrick in case anything happened. Also, not a bad idea would be to backup your persist. You can use same method and just change it to persist, so:

dd if=/dev/block/by-name/persist of=/sdcard/persist.img

Note: Persist needs to be backed up after each update. Say your fingerprint reader stopped working on A.08 and you wanted to try to fix it by flashing your persist backup, you need the persist backup while you were on A.08 as flashing the one from say A.07 might not work (won't brick it but might not fix it either). I personally just append the firmware version to all my backups when using dd, makes it easier:

dd if=/dev/block/by-name/persist of=/sdcard/persist_A.08.img
[OnePlus 11] surajpai524:
First unroot the device. Flash everything stock if modified. Get root using Kernel su and direct install Magisk. Then after reboot. Then following my guide should help because that's how I did it
[OnePlus 11] jeffsga88:
It's up to you which method you want to use. Restoring images, rebooting, then taking update and then using booting of KernelSU method and then direct install is probably the safest for the US model. It's been reported successfully restoring images, updating, installing to inactive slot then rebooting can work as well, but it has risk (as some others said it boot lopped doing that method). Me personally, I use the 1st method, it's safer but you need a PC and it's more steps, but it works.
[OnePlus 11] surajpai524:
Understood the concept but should you take backup after update or before update? Also Should we take it after reboot or before reboot?