(ROOT) Android 11 / Latest stock and patched img's / payload dumper / magisk_patched guides

Search This thread

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
Hi all,

Have seen a lot of requests for patched boot images on these threads so thought i'd share a guide on how to get it 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 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:




11.0.1.1
Magisk Manager - Magisk (Canary) version: 1469b82a (21101)

11.0.2.2
Boot img patched using Magisk (Canary) version: 1469b82a (21101)

11.0.3.3
Boot img patched using Magisk beta 21.4 (21400)

11.0.4.4 (DO NOT UPDATE TO 22.0 YOU WILL BOOTLOOP!

Boot Img patched using Magisk beta
21.4 (21400)

11.0.5.5
Boot img patched using Magisk Stable 22.0 (22000) (18)

11.0.6.6
Boot img patched using Magisk Stable 22.1 (22100)

11.0.7.7
Boot.img patched using Magisk Stable 23.0 (23000) (21)

11.0.8.8
Boot.img patched using Magisk Stable 23.0 (23000) (21)

11.0.9.9
Boot.img patched using Magisk Stable 23.0 (23000) (21)

11.0.10.10
Boot.img patched using Magisk Stable 23.0 (23000) (21)

11.0.11.11
Boot.img patched using Magisk 24

Thanks @tfae

12 11.C.15 EU. Thanks @tfae

1st

Extracting a boot.img using Payload dumper

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.



Process

On your computer

1. Download and copy the PAYLOAD DUMPER folder to your desktop, there will be one folder with 2 files and 2 folders inside.

Download from here: https://mega.nz/folder/vU00FZDa#PIEfjl5w5wonyNAwHW3FBQ

2. Download the firmware of your choice and open it using Winrar or a similar zip program, extract the file called payload.bin to the folder within the payload folder called payload_input.

3. Run the program payload_dumper.exe, a Command prompt will open to show extraction progress (this will extract a bunch of files to the payload_output folder) allow it to completely finish (the CMD window will close automatically)

4. One of the files will be called boot.img, this is the file we'll be patching, 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, so 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 in the Downloads folder)

You now have a patched boot.img ready to flash to either slot with fastboot or boot via fastboot, 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 may 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 twice but it won't hurt if you do.

;)




2nd

Upgrading from rooted Android 10 to rooted Android 11


Pre-requisites

A rooted device running Android 10
Canary magisk manager or beta version that works:
Windows 10 computer / laptop


Process

On your phone

1. Disable all Magisk mods

2. Download the Android 11 firmware using Oxygen updater DO NOT INSTALL AUTOMATICALLY, WE NEED TO INSTALL MANUALLY!!!

3. Once downloaded; open settings / system / system updates

4. Click the settings cog and click 'install from local storage'

5. Locate the firmware you downloaded, it's in the root of storage.

6. Click install and allow it to finish, DO NOT CLICK THE REBOOT BUTTON YET!

7. Open Magisk. manager and click "Install / Update"

8. Click "Install to Inactive slot (After OTA) (Once complete, click reboot)

As this is a new base the first boot may take a little longer.

Your phone will now boot with Android 11.0.0 and will have retained root, all your apps will remain as you left them.

Be careful what mods you re-enable as they may not be 11 compatible.

;)




3rd

Update from 11 stable to 11+ stable whilst retaining root


Guide

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. Open up settings / system / system updates , 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.



4th

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.

Thanks @nycdiplomat for this tip.


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 (1st 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.





Files:

ADB Files for Windows 10:

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

Full OTA - Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 FIRMWARE -
https://mega.nz/file/TZl2WIBR#wSP3_bkoWl1FZZX7zfhobo3cYIAhWvDQ9f0ot3_qNFo

Oxygen OS 11.0.0 EU 11.IN11BA - IN2023 Patched boot.img -
https://mega.nz/folder/TE8yWbIL#a6woc43pCpTX_URX5dWr1A

Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 Stock boot.img -
https://mega.nz/folder/6d1mVYgJ#tE90TcwqTLp71SgZX9Xxhg

Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 Patched boot.img -
https://mega.nz/folder/CINjAQCZ#Sns

sRugbc0sELF0ajSAEXg

Boot img patched using Magisk (Canary) version: 1469b82a (21101)

Oxygen OS 11.0.2.2 - EU IN11BA -IN2023 Stock boot.img -
https://mega.nz/folder/PFsmFDKY#01sGzxzVpiAELjcT0LuZmQ

Oxygen OS 11.0.2.2 - EU IN11BA -IN2023 Patched boot.img -
https://mega.nz/folder/vJs0FRBD#SisIJ5FrmkJ3ej1RB6Yz3Q

Boot img patched using Magisk (Canary) version: 1469b82a (21101)

Oxygen OS 11.0.3.3 - EU IN11BA -IN2023 Stock boot.img -

Oxygen OS 11.0.3.3 - EU IN11BA -IN2023 Patched boot.img -

Oxygen OS 11.0.4.4 - EU IN11BA -IN2023 Stock boot.img -

Oxygen OS 11.0.4.4 - EU IN11BA -IN2023 Patched boot.img -

Oxygen OS 11.0.5.5 - EU IN11BA -IN2023 Stock boot.img -

Oxygen OS 11.0.5.5 - EU IN11BA -IN2023 Patched boot.img -

Oxygen OS 11.0.6.6 - EU IN11BA -IN2023 Stock boot.img -

Oxygen OS 11.0.6.6 - EU IN11BA -IN2023 Patched boot.img -

Oxygen OS 11.0.7.7 - EU IN11BA -IN2023 Stock boot.img

Oxygen OS 11.0.7.7 - EU IN11BA -IN2023 Patched boot.img

Oxygen OS 11.0.8.8 - EU IN11BA -IN2023 Stock boot.img

Oxygen OS 11.0.8.8 - EU IN11BA -IN2023 Patched boot.img

Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Stock boot.img

Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Patched boot.img

Oxygen OS 11.0.10.10 - EU IN11BA -IN2023 Stock boot.img

Oxygen OS 11.0.10.10 - EU IN11BA -IN2023 Patched boot.img

Oxygen OS 11.0.11.11 EU IN11BA - IN2023
Stock boot.img

Oxygen OS 11.0.11.11 EU IN11BA - IN2023
Patched boot.img


Android 12 11.C.15 - Stock and patched images from. @tfae

 
Last edited:

dblane82222

Member
Oct 10, 2020
17
2
Hi bro thank you so much for this. I don't understand what to do next now. My phone is already updated to 11 and I want to root it and install masigk etc how do I do that? Its already on version 11 I installed normal version 11 stock rom.

So I was on version 10 before and it was rooted and I had magisk I updated and lost root access and magisk. So now I'm on version 11. I have downloaded your patched boot image but what do I do next could you please hell me?
 
Last edited:
  • Like
Reactions: almahix and dladz

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
Hi bro thank you so much for this. I don't understand what to do next now. My phone is already updated to 11 and I want to root it and install masigk etc how do I do that? Its already on version 11 I installed normal version 11 stock rom.

So I was on version 10 before and it was rooted and I had magisk I updated and lost root access and magisk. So now I'm on version 11. I have downloaded your patched boot image but what do I do next could you please hell me?

Ah so you're on 11 stock? Have you unlocked the bootloader?


I have a guide based on android 10 here for unlocking the bootloader, lot of similarities.

https://forum.xda-developers.com/oneplus-8-pro/how-to/guide-unlocking-bootloader-rooting-t4151823

Please don't dive in without reading first.

If you've already unlocked the bootloader then you can simply use the magisk_patched img on step 1 of the Rooting section.

Please let me know before you start.

PS: thanks for not quoting the entire post ;)
 

dblane82222

Member
Oct 10, 2020
17
2
Bootloader is already unlocked.
Yes I'm on stock 11.

If you've already unlocked the bootloader then you can simply use the magisk_patched img on step 1 of the Rooting section. (Where is this section?)

I'm about to start the process now.
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
Bootloader is already unlocked.
Yes I'm on stock 11.

If you've already unlocked the bootloader then you can simply use the magisk_patched img on step 1 of the Rooting section. (Where is this section?)

I'm about to start the process now.

Yep that should be fine. I think you can also do this from magisk under direct install but I've not tried before and I think it's possible that this may require twrp. So yea go with the root guide.

Should be ok.
 

dblane82222

Member
Oct 10, 2020
17
2
Could you give me the link to the Rooting section you have referred too so I know what to do please?

And magisk won't install for me won't let me. So I can't do that. I even tried installing twrp but it won't work.
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
Could you give me the link to the Rooting section you have referred too so I know what to do please?

And magisk won't install for me won't let me. So I can't do that. I even tried installing twrp but it won't work.

No don't install twrp it doesn't work..

Rooting should be a case of installing the magisk_patched IMG to the active slot, you can do both..

The root process is at the bottom of the link i sent you mate.
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
This is the section on root.

You'll need the magisk_patched file from the OP

Rooting


1. On your computer
Get the magisk_patched file

2. Copy "magisk_patched.img" to C:\Android

3. Navigate to C:\Android

i) Hold shift and right click an empty space within the folder
ii) Click "Open Powershell Window here" or "Open a Command prompt Windows here"
iii) A black or blue window will appear with some text


4. Type the following into the window

adb reboot fastboot
press enter

On your phone

i) Your phone will reboot and show you a screen with 3 language choices, Choose "English" then "Advanced" and finally "Reboot to fastboot" and "Reboot to fastboot"
ii) You'll see a screen appear on your phone with some text, at the top you'll see the word "START" in green, you're now in Fastboot

On your computer

5. Type the following into the window

fastboot flash boot_a magisk_patched.img
press enter

then

fastboot flash boot_b magisk_patched.img
press enter

NOTE* THIS WILL FLASH THE PATCHED BOOT IMG TO BOTH SLOTS, THIS IS WHAT I DID, I HAVEN'T EXPLORED IF ONE SLOT IS ADEQUATE OR NOT, IT MAY BE POSSIBLE TO ONLY FLASH THE BOOT.IMG TO ONE SLOT BUT AS I HAVEN'T I CAN'T ADVISE.

6.. Once complete, type in the following command

fastboot reboot
press enter, your device will reboot

7. On your phone open up "Magisk Manager" you should now have two green ticks signifying that you now have root access.
 
Last edited:

dblane82222

Member
Oct 10, 2020
17
2
Let me know how u get on

so every time i do this on my cmd it says unknown partition 'magisk_patched.img'
error cant determine image file name for 'magisk_patched.img'

sorry if i seems stupid.

---------- Post added at 09:44 PM ---------- Previous post was at 09:34 PM ----------

Let me know how u get on

okay so its worked now. i managed to flash it but once i restarted the phone its stuck in a loop keeps going to bootloader menu what do i do now?

---------- Post added at 09:57 PM ---------- Previous post was at 09:44 PM ----------

okay so now its gone to crashdump mode?
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
so every time i do this on my cmd it says unknown partition 'magisk_patched.img'
error cant determine image file name for 'magisk_patched.img'

sorry if i seems stupid.

---------- Post added at 09:44 PM ---------- Previous post was at 09:34 PM ----------



okay so its worked now. i managed to flash it but once i restarted the phone its stuck in a loop keeps going to bootloader menu what do i do now?

---------- Post added at 09:57 PM ---------- Previous post was at 09:44 PM ----------

okay so now its gone to crashdump mode?

? What did you flash?
 

dblane82222

Member
Oct 10, 2020
17
2
? What did you flash?

the file you gave .. the bootimage please help me because im screwed now i dont have a working phone...

so basicaly before i installed what u gave me and it was just stuck on the bootloader screen it wouldnt go off it. at all

so i installed twrp and then it jut crashed mode... please please help me?
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
So you needed the magisk_patched from the beginning of this thread (the OP)

Then boot to fastboot mode and flash to both slots using ADB / fastboot from Windows..

Then fastboot reboot.

That's literally it mate..that's all I did.

If you're in crashdump mode then i have no idea what you flashed or how you flashed it..shouldn't have done that.

You're on the EU/UK model right?

No reason why it wouldn't have worked.
 

Attachments

  • Screenshot_20201010-230556.jpg
    Screenshot_20201010-230556.jpg
    128 KB · Views: 658

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
the file you gave .. the bootimage please help me because im screwed now i dont have a working phone...

so basicaly before i installed what u gave me and it was just stuck on the bootloader screen it wouldnt go off it. at all

so i installed twrp and then it jut crashed mode... please please help me?

Ok so do not install twrp it does not work on 11.

Calm down a moment you haven't broken anything so don't worry..

Tell me what screen you're on please. Also can you boot to fastboot mode? Or even bootloader?

Worse case scenario you will have EDL mode and the MSM tool which can get you back up and running..

Do not attempt to install twrp as it will not work and will cause more harm than good.
 

dblane82222

Member
Oct 10, 2020
17
2
Ok so do not install twrp it does not work on 11.

Calm down a moment you haven't broken anything so don't worry..

Tell me what screen you're on please. Also can you boot to fastboot mode? Or even bootloader?

Worse case scenario you will have EDL mode and the MSM tool which can get you back up and running..

Do not attempt to install twrp as it will not work and will cause more harm than good.

yes i think its edl mode. i cant access any mode at all. nothing is accesable. can you please give me the link for the msm tool and what i need to do please thank you ? i really do apprecite all the help.

---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------

yes i think its edl mode. i cant access any mode at all. nothing is accesable. can you please give me the link for the msm tool and what i need to do please thank you ? i really do apprecite all the help.

do you have anything that i can speal to u on thats more instant such as whts app or discord or icq or anything ??
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
yes i think its edl mode. i cant access any mode at all. nothing is accesable. can you please give me the link for the msm tool and what i need to do please thank you ? i really do apprecite all the help.

---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------



do you have anything that i can speal to u on thats more instant such as whts app or discord or icq or anything ??

I'm actually in bed at the moment pal.

Here's the MSM thread

https://forum.xda-developers.com/on...-tool-to-restore-device-t4084953/post82327013

I think it may have been trying to install twrp.

Before you go down the MSM route.

Try to power off the device without the cable connected..press and hold power and vol down..until the phone turns on.

Should go to bootloader.

If not try it the above with the cable connected to your phone and computer.

If you still can't get in then yes it's MSM time..

Personally have never used it but it's an active thread so always people in there and 10000% someone will have been in the same boat as you.

Not sure what happened with your situation tbh..I tested all the files again myself and they're all legit. I used them before I spoke with you and again just now.

Please though, try not to worry, you'd have to do something mental to break a OnePlus.

You'll be fine.

Let me know how your get on and I'll answer when I can..quite tired at moment.
 
Last edited:
  • Like
Reactions: lordniyon

dblane82222

Member
Oct 10, 2020
17
2
yeah tried all of that still nothing. going to try the msm solution see what that does its downloading as we speak. but even before the twrp i done what u said and it was stuck on bootloader any idea why that would be ? i can understand it happened becuase i installed twrp and that casued the phone ot enter edl mode. but prior to it it was stuck on bootloader. following just the steps u had said ? once i have got he phone back up and running should i try your mehtod again and see what happens again ?

no problem really apprecite all the help you have given me thank so much.
 

dladz

Senior Member
Aug 24, 2010
15,140
5,472
Liverpool
OnePlus 10 Pro
yeah tried all of that still nothing. going to try the msm solution see what that does its downloading as we speak. but even before the twrp i done what u said and it was stuck on bootloader any idea why that would be ? i can understand it happened becuase i installed twrp and that casued the phone ot enter edl mode. but prior to it it was stuck on bootloader. following just the steps u had said ? once i have got he phone back up and running should i try your mehtod again and see what happens again ?

no problem really apprecite all the help you have given me thank so much.

Nah no worries man, just trying to work out what happened..

Once you're back up, maybe ask another thread just to confirm as I'm second guessing myself now..

Don't want you to end up like this again..

See what the chap says in the MSM thread too, his telegram username is in his profile.

To confirm you do have a UK phone right? IN2023 BA

Could have just been the flash didn't go through. You did do a flash and not boot right? To get out of that. Could have just flashed the stock boot.img and that would have saved you
 
Last edited:

Top Liked Posts

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

    Have seen a lot of requests for patched boot images on these threads so thought i'd share a guide on how to get it 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 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:




    11.0.1.1
    Magisk Manager - Magisk (Canary) version: 1469b82a (21101)

    11.0.2.2
    Boot img patched using Magisk (Canary) version: 1469b82a (21101)

    11.0.3.3
    Boot img patched using Magisk beta 21.4 (21400)

    11.0.4.4 (DO NOT UPDATE TO 22.0 YOU WILL BOOTLOOP!

    Boot Img patched using Magisk beta
    21.4 (21400)

    11.0.5.5
    Boot img patched using Magisk Stable 22.0 (22000) (18)

    11.0.6.6
    Boot img patched using Magisk Stable 22.1 (22100)

    11.0.7.7
    Boot.img patched using Magisk Stable 23.0 (23000) (21)

    11.0.8.8
    Boot.img patched using Magisk Stable 23.0 (23000) (21)

    11.0.9.9
    Boot.img patched using Magisk Stable 23.0 (23000) (21)

    11.0.10.10
    Boot.img patched using Magisk Stable 23.0 (23000) (21)

    11.0.11.11
    Boot.img patched using Magisk 24

    Thanks @tfae

    12 11.C.15 EU. Thanks @tfae

    1st

    Extracting a boot.img using Payload dumper

    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.



    Process

    On your computer

    1. Download and copy the PAYLOAD DUMPER folder to your desktop, there will be one folder with 2 files and 2 folders inside.

    Download from here: https://mega.nz/folder/vU00FZDa#PIEfjl5w5wonyNAwHW3FBQ

    2. Download the firmware of your choice and open it using Winrar or a similar zip program, extract the file called payload.bin to the folder within the payload folder called payload_input.

    3. Run the program payload_dumper.exe, a Command prompt will open to show extraction progress (this will extract a bunch of files to the payload_output folder) allow it to completely finish (the CMD window will close automatically)

    4. One of the files will be called boot.img, this is the file we'll be patching, 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, so 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 in the Downloads folder)

    You now have a patched boot.img ready to flash to either slot with fastboot or boot via fastboot, 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 may 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 twice but it won't hurt if you do.

    ;)




    2nd

    Upgrading from rooted Android 10 to rooted Android 11


    Pre-requisites

    A rooted device running Android 10
    Canary magisk manager or beta version that works:
    Windows 10 computer / laptop


    Process

    On your phone

    1. Disable all Magisk mods

    2. Download the Android 11 firmware using Oxygen updater DO NOT INSTALL AUTOMATICALLY, WE NEED TO INSTALL MANUALLY!!!

    3. Once downloaded; open settings / system / system updates

    4. Click the settings cog and click 'install from local storage'

    5. Locate the firmware you downloaded, it's in the root of storage.

    6. Click install and allow it to finish, DO NOT CLICK THE REBOOT BUTTON YET!

    7. Open Magisk. manager and click "Install / Update"

    8. Click "Install to Inactive slot (After OTA) (Once complete, click reboot)

    As this is a new base the first boot may take a little longer.

    Your phone will now boot with Android 11.0.0 and will have retained root, all your apps will remain as you left them.

    Be careful what mods you re-enable as they may not be 11 compatible.

    ;)




    3rd

    Update from 11 stable to 11+ stable whilst retaining root


    Guide

    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. Open up settings / system / system updates , 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.



    4th

    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.

    Thanks @nycdiplomat for this tip.


    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 (1st 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.





    Files:

    ADB Files for Windows 10:

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

    Full OTA - Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 FIRMWARE -
    https://mega.nz/file/TZl2WIBR#wSP3_bkoWl1FZZX7zfhobo3cYIAhWvDQ9f0ot3_qNFo

    Oxygen OS 11.0.0 EU 11.IN11BA - IN2023 Patched boot.img -
    https://mega.nz/folder/TE8yWbIL#a6woc43pCpTX_URX5dWr1A

    Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 Stock boot.img -
    https://mega.nz/folder/6d1mVYgJ#tE90TcwqTLp71SgZX9Xxhg

    Oxygen OS 11.0.1.1 - EU IN11BA -IN2023 Patched boot.img -
    https://mega.nz/folder/CINjAQCZ#Sns

    sRugbc0sELF0ajSAEXg

    Boot img patched using Magisk (Canary) version: 1469b82a (21101)

    Oxygen OS 11.0.2.2 - EU IN11BA -IN2023 Stock boot.img -
    https://mega.nz/folder/PFsmFDKY#01sGzxzVpiAELjcT0LuZmQ

    Oxygen OS 11.0.2.2 - EU IN11BA -IN2023 Patched boot.img -
    https://mega.nz/folder/vJs0FRBD#SisIJ5FrmkJ3ej1RB6Yz3Q

    Boot img patched using Magisk (Canary) version: 1469b82a (21101)

    Oxygen OS 11.0.3.3 - EU IN11BA -IN2023 Stock boot.img -

    Oxygen OS 11.0.3.3 - EU IN11BA -IN2023 Patched boot.img -

    Oxygen OS 11.0.4.4 - EU IN11BA -IN2023 Stock boot.img -

    Oxygen OS 11.0.4.4 - EU IN11BA -IN2023 Patched boot.img -

    Oxygen OS 11.0.5.5 - EU IN11BA -IN2023 Stock boot.img -

    Oxygen OS 11.0.5.5 - EU IN11BA -IN2023 Patched boot.img -

    Oxygen OS 11.0.6.6 - EU IN11BA -IN2023 Stock boot.img -

    Oxygen OS 11.0.6.6 - EU IN11BA -IN2023 Patched boot.img -

    Oxygen OS 11.0.7.7 - EU IN11BA -IN2023 Stock boot.img

    Oxygen OS 11.0.7.7 - EU IN11BA -IN2023 Patched boot.img

    Oxygen OS 11.0.8.8 - EU IN11BA -IN2023 Stock boot.img

    Oxygen OS 11.0.8.8 - EU IN11BA -IN2023 Patched boot.img

    Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Stock boot.img

    Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Patched boot.img

    Oxygen OS 11.0.10.10 - EU IN11BA -IN2023 Stock boot.img

    Oxygen OS 11.0.10.10 - EU IN11BA -IN2023 Patched boot.img

    Oxygen OS 11.0.11.11 EU IN11BA - IN2023
    Stock boot.img

    Oxygen OS 11.0.11.11 EU IN11BA - IN2023
    Patched boot.img


    Android 12 11.C.15 - Stock and patched images from. @tfae

    6
    Stock Boot Image
    Stock DTBO Image
    Magisk PATCHED Boot Image

    Happy unbricking :)

    OOS 11.0.8.8 BA version(Europe), my device is IN2020
    5
    Hi to everyone, I need your help: I am on oos 10 rooted 10.5.14IN11BA and I want to upgrade to oos11. Under settings-> update I find that the update for my phone is 11.0.8.8 IN11BA. If I want upgrade in this situation I have to follow the 2nd step of tutorial but I have a doubt: after update and no reboot I have to install Magisk in inactive slot(ota update) and reboot, right? There anything else that I have to do? Please answer me, I don't want brick my phone🙏
    Morning.

    Just follow the guide dude, just make sure you're on the latest stable Magisk.

    In short.

    1. Use oxygen updater to obtain a FULL update.

    2. Install the update but DO NOT REBOOT

    3. Open Magisk and click install (top button)

    4. Click install to inactive slot after OTA

    5. Take the reboot

    Done.


    Basically what's happening is you're priming your device with an update, but the slot switch does not really take place until you reboot, due to the fact that you're already rooted you have the ability to pre-load a prepared and patched boot image which is taken when you reboot and stop using the current boot slot.

    Alternatively just take a full update, reboot, then extract the boot image from payload bin and patch it, then open fasboot and boot it and Install directly.

    The first option I've listed is the easiest method, but just be safe in the knowledge that you aren't going to brick your device, that's almost impossible in all honesty..

    Obviously make a back up anyway, but that much should go without saying
    5
    OP UPDATED: 11.0.9.9 stock and patched images

    Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Stock boot.img

    Oxygen OS 11.0.9.9 - EU IN11BA -IN2023 Patched boot.img

    Enjoy ;)
    4
    OP UPDATED:

    Stock and patched boot images are both up.

    made with Magisk stable 22.1

    STOCK: https://mega.nz/folder/7J0mWYLL#6jr6SsV44Lz3V0A3QhgM-A

    PATCHED: https://mega.nz/folder/3MUxFSqL#Qsxp4ncferGLn_Oz0VwTZw