How To Guide NO LONGER BEING UPDATED (Guide) Rooting, payload dumper, magisk_patched guides NE2213

Search This thread

janitor9

Senior Member
Jan 12, 2014
210
65
OnePlus 8 Pro
What the hell i`m doing wrong. It`s been a while since last rooting with fastboot commands.
Adb reboot bootloader works fine...But in there when i try to boot/flash my own patched image,text saying in cmd waiting for device???
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
What the hell i`m doing wrong. It`s been a while since last rooting with fastboot commands.
Adb reboot bootloader works fine...But in there when i try to boot/flash my own patched image,text saying in cmd waiting for device???
More than likely the adb / fastboot files you're using.. there's some in the OP.

Tested with Windows 10, 7 doesn't work.. I also had a problem with unofficial cables, they don't all work.
 

janitor9

Senior Member
Jan 12, 2014
210
65
OnePlus 8 Pro
More than likely the adb / fastboot files you're using.. there's some in the OP.

Tested with Windows 10, 7 doesn't work.. I also had a problem with unofficial cables, they don't all work.
So there's no solution? I have orinal cable. Or have to download adb/fastboot files somewhere else and just try time after time if it's working?
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
So there's no solution? I have orinal cable. Or have to download adb/fastboot files somewhere else and just try time after time if it's working?
Well I'm sure there is a solution, you just have to go through a few things..

If you're already using the original cable and you're on win 10 then it'll more than likely be your adb / fastboot files you're using..

Create a new folder in the root of C, so the path would be C:/adb

Download the ones I've got in the OP or a reputable place.

Pop open a terminal / CMD window to that location then run:

adb reboot bootloader

When you boot to the bootloader...try fastboot reboot, if it works then you're golden..

It can only be so many things.

PS: use usb 2 instead of 3 or 3.1
 
  • Like
Reactions: janitor9

janitor9

Senior Member
Jan 12, 2014
210
65
OnePlus 8 Pro
Well I'm sure there is a solution, you just have to go through a few things..

If you're already using the original cable and you're on win 10 then it'll more than likely be your adb / fastboot files you're using..

Create a new folder in the root of C, so the path would be C:/adb

Download the ones I've got in the OP or a reputable place.

Pop open a terminal / CMD window to that location then run:

adb reboot bootloader

When you boot to the bootloader...try fastboot reboot, if it works then you're golden..

It can only be so many things.

PS: use usb 2 instead of 3 or 3.1
Looks like i'm not able to set adb/platform tools right.
I really don't know what i'm doing wrong?
I had root but magisk was hidden...then magisk was updated and i forgot to set it visible...that's where i did wrong.
I installed c30 again and thought that i easily patch it. Thought wrong 🤬
 

PedroCaseiro

Senior Member
Oct 29, 2010
326
83
28
Ovar
Is it okay to relock the bootloader after rooting? I don't even know why I unlocked it...
Is it even possible to do so? Would it wipe my data?
I want to update to C30 as I'm still on C22 and oxygen updater doesn't work with unlocked BL
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
Is it okay to relock the bootloader after rooting? I don't even know why I unlocked it...
Is it even possible to do so? Would it wipe my data?
I want to update to C30 as I'm still on C22 and oxygen updater doesn't work with unlocked BL
That's completely untrue...

Oxygen updater does work, it downloads the file then you'll need the apk to flash it.

That's it

PS: it's literally all In the OP buddy..
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
Looks like i'm not able to set adb/platform tools right.
I really don't know what i'm doing wrong?
I had root but magisk was hidden...then magisk was updated and i forgot to set it visible...that's where i did wrong.
I installed c30 again and thought that i easily patch it. Thought wrong 🤬

Just grab minimal adb/fastboot files you don't need the whole Android SDK to boot things from fastboot
 
  • Like
Reactions: janitor9

PedroCaseiro

Senior Member
Oct 29, 2010
326
83
28
Ovar
That's completely untrue...

Oxygen updater does work, it downloads the file then you'll need the apk to flash it.

That's it

PS: it's literally all In the OP buddy..
Well, yes! I asked around in their discord and the devs themselves told me the method is for people with locked BL and that I should re lock it after rooting.

Weird, coming from a Xiaomi Mi8, having unlocked BL never posed an issue.

But then again, things might have changed in the time I was away from tinkering with stuff on Android
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
Well, yes! I asked around in their discord and the devs themselves told me the method is for people with locked BL and that I should re lock it after rooting.

Weird, coming from a Xiaomi Mi8, having unlocked BL never posed an issue.

But then again, things might have changed in the time I was away from tinkering with stuff on Android
Sorry are you saying that you can't use oxygen updater it's your bootloader is unlocked? If so then that is 100% untrue, oxy updater just downloads the file..

You use the local install apk to install it then hold until you initiate the magisk after OTA, again that's in the OP
 

PedroCaseiro

Senior Member
Oct 29, 2010
326
83
28
Ovar
Sorry are you saying that you can't use oxygen updater it's your bootloader is unlocked? If so then that is 100% untrue, oxy updater just downloads the file..

You use the local install apk to install it then hold until you initiate the magisk after OTA, again that's in the OP
No, what I'm saying is that the method you describe in the OP doesn't apply to unlocked BLs, you can do it but it won't work and you risk bricking the device. Unlocked BLs should only update whenever there's a full update and not an incremental.
This is according to what I've read about the oxygen updater on the app, website and their discord
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
No, what I'm saying is that the method you describe in the OP doesn't apply to unlocked BLs, you can do it but it won't work and you risk bricking the device. Unlocked BLs should only update whenever there's a full update and not an incremental.
This is according to what I've read about the oxygen updater on the app, website and their discord
Omg dude, I wrote the OP . You're 100% wrong, if you've read the OP then you'd know that I have written that you should only use fill zips..

I've also written that it's a pre requisite to root to be bootloader unlocked.

Yes you can use incremental if you're not rooted but that's not what this thread is for, period.

Please read it before you comment or your just guessing and making pointless posts..
 

PedroCaseiro

Senior Member
Oct 29, 2010
326
83
28
Ovar
Omg dude, I wrote the OP . You're 100% wrong, if you've read the OP then you'd know that I have written that you should only use fill zips..

I've also written that it's a pre requisite to root to be bootloader unlocked.

Yes you can use incremental if you're not rooted but that's not what this thread is for, period.

Please read it before you comment or your just guessing and making pointless posts..

I know you did. I'm sorry but it might be a language and translation issue because I didn't find it clear that you should use full zips only when you mention the updates from stable XX to stable XX+.

I'm just trying to figure out how to update my phone because I feel lost tbh

I'm sorry
 
  • Like
Reactions: Prant and dladz

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
I know you did. I'm sorry but it might be a language and translation issue because I didn't find it clear that you should use full zips only when you mention the updates from stable XX to stable XX+.

I'm just trying to figure out how to update my phone because I feel lost tbh

I'm sorry
No need to be sorry... I apologise if I'm come across abrupt.

At this point, let me ask you a few things.

1. Are you rooted now?
2. Is your phone 2213
3. What firmware are you on? C22
 

Prant

Senior Member
Jan 23, 2017
152
114
OnePlus 7 Pro
OnePlus 10 Pro
I know you did. I'm sorry but it might be a language and translation issue because I didn't find it clear that you should use full zips only when you mention the updates from stable XX to stable XX+.

I'm just trying to figure out how to update my phone because I feel lost tbh

I'm sorry
You can update the phone just fine with unlocked BL. Those devs have no clue what they're talking about. Just take care to disable all modules, fully unroot first via Magisk, reboot! Then you can take the OTA update like normal, you will be unrooted of course. So just reroot via booting patched boot again on desired firmware.
 

dladz

Senior Member
Aug 24, 2010
16,030
5,977
Liverpool
Nothing Phone 2
You can update the phone just fine with unlocked BL. Those devs have no clue what they're talking about. Just take care to disable all modules, fully unroot first via Magisk, reboot! Then you can take the OTA update like normal, you will be unrooted of course. So just reroot via booting patched boot again on desired firmware.
Or just use the local update APK and click "install after OTA" in magisk, then reboot and you'll retain root .
 
  • Like
Reactions: PedroCaseiro

radiocaf

Member
Jan 12, 2014
13
0
I'm having trouble with this. It worked for me prior but my daughter was using my phone and accepted an OTA update, losing me my root access.
I'm able to extract the boot.img after downloading the firmware from Oxygen Updater, I have had Magisk patch it, and then when I fastboot boot magisk_patched... it bootloops once and then takes me right back into my non-rooted OS.

There's only one reason I can see why this could be happening, even though I'm downloading "Full" from Oxygen Updater, FastbootEnhance is still telling me it's an incremental package (which I'm forcing through with the "Allow Incremental" checkbox). But I can't see to find a way to get the full update package, even though my Oxygen Updater settings are set to "Full".

Edit: My phone is an NE2213, and my daughter originally accepted an update for OxygenOS 13, but I have since updated to 13.1 as part of my troubleshooting steps.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Hi all,

    Thought i'd share a guide on how to get these boot images yourself as well as all the files required, plus the patched boot.img if you just want to go ahead and boot/flash it without obtaining one yourself

    Please read the process before committing to proceeding, so you know what's required and what you should and shouldn't use!

    Stock and patched images are UK/ EU NE2213 but the guides are universal and could be used on multiple devices.

    :)

    NOTE:

    For these guides the versions used are:
    Stable, Canary or BETA depending on firmware, simply change the channel in Magisk settings then select install / update:


    NE2213_11_A.12
    Magisk Manager v24.3 (24300) Stable


    NE2213_11_A.13
    Magisk Manager v24.3 (24300) Stable

    NE2213_11_A.14
    Magisk Manager v25 (25000) Stable this version retains root after a restart, more stable version over previous iterations.

    NE2213_11_A.16
    Magisk Manager v25.2 (25200) Stable

    NE2213_11_C_20
    Magisk Manager v25.2 (25200) Stable

    NE2213_11_C_21
    Magisk Manager v25.2 (25200) Stable

    NE2213_13.1.0.520 (EX01)
    Magisk Manager v26.1 (25200) Stable

    Oxygen OS NE2213_13.1.0.521 (EX01)
    Magisk Manager v26.1 Stable

    Oxygen OS NE2213_13.1.0.580 (EX01)
    Magisk Manager v26.1 Stable






    1st

    Extracting a boot.img using Fastboot Enhance

    Pre-requisites


    A device with a working version of magisk manager installed, simply change the channel to the version outlined in the list above relevant to your firmware then select install / update:

    A Windows 10 computer / laptop
    A full update downloaded firmware zip for your model (recommend oxygen updater)
    Payload dumper program for Windows.
    An unlocked bootloader.
    The local System Update Installer : normal local system update will not allow a reboot during installation, the one I've linked will.




    Process

    On your computer

    1. Download and copy the fastboot enhance folder to your desktop or a location of your choosing.

    Download from here: https://github.com/libxzr/FastbootEnhance/releases

    2. Download the firmware of your choice (always use full zips, not incremental) and open it using Winrar or a similar zip program, extract the file called payload.bin to a folder of your choosing.

    3. Run the program FastbootEnhance.exe, a window will appear, click Payload Dumper, then click browse and point to the payload.bin file, the contents of that payload.bin will now be shown, bare in mind you'll need to check the box "Allow incremental" even if it's a full zip

    4. One of the files will be called boot.img, this is the file we'll be patching, click extract then copy this to your phone, root of storage which is called /sdcard.

    On your phone

    5. Open up Magisk and click Install / Update, if you don't see update then change channel, do this by changing the channel in magisk settings, it'll then show the install/ update buttons.

    6. Select "Select and Patch a file" it'll open up a file browser, navigate to the boot.img you copied earlier and select it, allow it to complete (this will output a file called "magisk_patched" which will be output into the Downloads folder)

    You now have a patched boot.img ready to boot or flash to either slot with fastboot or boot via fastboot.

    I would recommend booting as this is risk free, if it's a bad image for whatever reason and you choose to flash then your phone will bootloop.

    NOTE** Some people have noticed that an already patched boot.img when flashed can fail and cause a boot loop when flashed, so if you have downloaded a magisk_patched img from somewhere else then you WILL need to re-patch it on your own device preferably using the afore mentioned magisk manager based on what firmware it's from.

    If you intend to follow the guide below with your own patched img then you shouldn't need to patch it twice but it won't hurt if you do.

    ;)






    2nd

    Update from XX stable to XX+ stable whilst retaining root


    Guide

    **NOTE- Although this may work, the system may be unstable, especially when changing bases, eg: Android 11-12 or 12-13, so if you encounter strange behaviour then a factory wipe is advised.

    1. Download the relevant firmware for your device via oxygen updater

    2. Open Magisk and remove all the modules you have installed, then reboot

    **NOTE- At this point I tend to copy out the whole firmware to my computer, incase I need it in the future, the boot img and patched boot img are at the foot of this guide, I'll always upload the latest firmware as soon as it comes out for the UK/EU model

    3. Install the OnePlus local install apk listed below in downloads. Click the cog and select "Local Upgrade" the file should be listed on screen, if not then move the file to the root of your phones storage.

    4. Click install and allow it to go through the process

    **NOTE- DO NOT REBOOT AT THIS POINT YOU WILL LOSE THE ABILITY TO PATCH ON THE FLY, SIMPLY BACK OUT OF THE SCREEN WHICH SAYS "INSTALLATION COMPLETED. RESTART TO EXPERIENCE NEW FEATURES"

    5. Open up magisk and click install (you may see two install buttons, top one is magisk and the bottom is magisk manager, we need the top one)

    6. You'll be faced with a screen that has several options, you want to select "Install to Inactive slot (After OTA)" then select "LET'S GO" once complete click reboot.

    7. Once your phones booted back up your system / files should all remain as they were and you should have root access.

    You can now install all your modules again so long as they're compatible with the firmware you've just updated to.



    3rd

    Rooting using fastboot commands


    Method 1

    Booting the patched image

    1. Obtain a patched boot image for your device variant preferably using payload dumper or download one of mine from the foot of this guide or if you've just performed the above guide you should already have a functional one, copy this file to your fastboot folder on your computer

    **NOTE - The above suggested downloads are for the EU / UK variant- if you have another model / firmware please use that instead, If you did not obtain the boot.img from a firmware and patch it yourself, you will need to patch it again in magisk manager to avoid a bootloop, if you still get a bootloop it's best to obtain one yourself using the guide at the top of this post.

    2. Reboot your phone to fastboot
    and connect to your computer.

    3. Boot the magisk patched img

    fastboot boot magisk_patched (or name of your patched boot img)

    Your phone should now boot automatically, you should now be rooted but we need to make this permanent, if you were to reboot you would lose root.

    4. Open magisk manager and click install/update, if you are missing the install/ update buttons, change magisk version to beta in magisk settings and install the update, the buttons should then show.

    5. Select Direct install (recommended) then click ok.

    6. Allow magisk to permanently root your device then click reboot.

    You should now boot and remain rooted.



    Method 2

    Flashing to both slots


    1. Obtain a patched boot img for your device variant or download one of mine from the foot of this guide or if you've just performed the above guide you should already have a functional one, copy this file to your fastboot folder on your computer

    **NOTE - Again the above suggested downloads are for the EU/ UK variant- if you have another model / firmware please use that instead, if you did not obtain the boot.img from a firmware and patch it yourself, you will need to patch it again in magisk manager, to avoid a bootloop

    2. Reboot your phone to fastboot and connect to your computer.

    Command: adb reboot bootloader

    3. Open a command prompt on your computer and navigate to your ADB/fastboot folder.

    4. Type the following.

    fastboot flash boot_a magisk_patched

    Press enter.

    fastboot flash boot_b magisk_patched

    Press enter

    fastboot reboot

    Press enter

    6. Your phone should now boot, open magisk and verify you're rooted.





    Troubleshooting

    If flashing succeeds but you don't have root and you've followed all the instructions, you may have some magisk modules still active, try performing the following.

    1. Connect your phone to your computer.

    2. Reboot the phone, then during the boot animation enter this command via ADB.

    adb wait-for-device shell magisk --remove-modules

    3. Allow to boot, modules will be removed and root should then be active.




    If there is no magisk install / update buttons.

    1. Make sure you have granted permission to magisk in settings / apps / magisk / permissions

    2. Make sure that the update channel is on canary, then force close magisk and then re-open

    3. If it still doesn't work then update magisk using canary

    4. Last method to check would be to change to the beta channel in magisk settings, then install it.

    Or change the update channel, install the version on offer, then change back to canary, install and you should be good to go.





    Window's version

    Windows 7 will not work with fastboot, please use Windows 10

    USB

    Use USB 2.0 not 3.0 or 3.1

    ADB

    These are the files i use for ADB (in the below list) tested these on fresh installs of windows on several windows machines, all win 10

    Place them into the root of C so it reads C:\ADB much easier to navigate to that way.

    Bootloader unlock

    Boot to the bootloader with adb reboot bootloader

    type fastboot flashing unlock

    Agree to unlock - allow to boot.

    If you can't see the device using ADB

    Make sure USB Debugging is turned on

    Connect your cable to your phone and computer, when asked what you want your phone to do, click on transfer files, a driver will be installed.

    After this reconnect your phone and it'll prompt you with a disclaimer with a check box, check the box and click ok, ADB / Fastboot should now work.



    Files:

    Local System update APK, this must be used as the local OnePlus 10 Pro one will not allow a reboot during the installation, so you cannot install the Magisk boot image during an upgrade, the android 13 local update apk is also required for rolling back to android 12.

    Android 13 local update apk

    Android 12 local update apk

    ADB Files for Windows 10:

    Payload dumper program for Windows-
    https://mega.nz/folder/vU00FZDa#PIEfjl5w5wonyNAwHW3FBQ

    Oxygen OS NE2213_11_A.12 Stock boot image

    Oxygen OS NE2213_11_A.12 Patched boot image

    Oxygen OS NE2213_11_A.13 Stock boot image

    Oxygen OS NE2213_11_A.13 Patched boot image

    Oxygen OS NE2213_11_A.14 Stock boot image

    Oxygen OS NE2213_11_A.14 Patched boot image

    Oxygen OS NE2213_11_A.16 Stock boot image

    Oxygen OS NE2213_11_A.16 Patched boot image

    Android 13

    Oxygen OS NE2213_11_C_20 Stock boot image

    Oxygen OS NE2213_11_C_20 Patched boot image

    Oxygen OS NE2213_11_C_21 Stock boot image https://mega.nz/folder/LNVxTDYA#yly9xpjFjQhe4De_jqyzbw


    Oxygen OS NE2213_11_C_21 Patched boot image

    Oxygen OS NE2213_13.1.0.520 (EX01) Stock boot image

    Oxygen OS NE2213_13.1.0.520 (EX01) Patched boot image

    Oxygen OS NE2213_13.1.0.521 (EX01) Stock boot image

    Oxygen OS NE2213_13.1.0.521 (EX01) Patched boot image

    Oxygen OS NE2213_13.1.0.580 (EX01) Patched boot image

    5
    OP UPDATE: New boot images in OP

    Oxygen OS NE2213_13.1.0.520 (EX01) Stock boot image

    Oxygen OS NE2213_13.1.0.520 (EX01) Patched boot image

    Patched with magisk 26.1 stable.


    Enjoy :)
    5
    OP UPDATED: Stock and patched boot images using magisk 25

    Oxygen OS NE2213_11_A.14 Stock boot image

    Oxygen OS NE2213_11_A.14 Patched boot image


    If they don't work (they will :) but if for whatever reason they don't) @spevil07 has been so kind to extract and patch and upload for you too, 2 posts up from here so drop the lad a thanks (y)

    Please use magisk 25 as it retains root and has a lot of under the hood fixes and tweaks for efficiency.

    Cheers (y)
    4
    OP UPDATED: Better late than never, both the boot image and patched boot images are up.

    Oxygen OS NE2213_11_A.13 Stock boot image

    Oxygen OS NE2213_11_A.13 Patched boot image

    Finally managed to get this horrific PC working where i am, turned out to be a cable that was failing on fastboot but not on adb? who knows, all i know is it took me over a day and 4 windows installations, bloody brutal.

    Anyway, i have everything i need now so the second another firmware drops it'll be here in a timely fashion, apologies for the wait.

    (y)
    4
    NE2213_11_C20 :
    boot.img and magisk-patched-boot