[GUIDE] Magisk for OxygenOS 11

Search This thread

k4ustu3h

Senior Member
Sep 19, 2018
97
29
22
Jabalpur
k4ustu3h.cf
Moto G5
Moto G5 Plus

Instructions

- Download the magisk_patched.img
- Reboot your device in bootloader-fastboot mode
- Flash the patched_boot.img in the boot partition:
Code:
fastboot flash boot boot.img
replace "boot.img" with the magisk_patched.img path

However, it is recommended to test the boot image by temporarily booting it first instead of flashing it:
Code:
fastboot boot boot.img

- Reboot the device
- Install Magisk Manager

Links

Magisk

Beta


Open Beta 1



Open Beta 2


Open Beta 3


Open Beta 10


Open Beta 12


Stable


11.0.0


11.0.1.1


11.0.3.3


11.0.4.4


11.0.5.5


11.0.6.6



11.0.7.7



11.0.8.8



11.0.9.9



Repository:
https://github.com/k4ustu3h/instantnoodle-boot-images
Added Images

11.0.1.1​
- Global​
11.0.3.3​
- Europe​
- India​
11.0.6.6​
- Global​
11.0.8.8​
- Global​
11.0.9.9​
- Global​
 

humb13

Senior Member
Nov 24, 2016
62
12
Guys, I need some help.

A few days ago I was prompted to upgrade Magisk. Since this happens every so often I did so without a second thought. Today I was notified of an upgrade to 1.1.0.99 AND warned not to use Magisk 23010 (the one on my phone). With that I googled version 23001, downloaded and installed it. No problem so far.

I then went through the usual motions of upgrading the phone. Reverted to the old stock, OTA download plus flash to 1.1.0.99 modded as usual. Everything worked EXCEPT that now my phone is not rooted. Magisk 23001 doesn't show the menu items typical when the phone is rooted and my apps that need root don't work. BTW the bootloader shows still unlocked.

How do I fix this and get root back?
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,739
1,675
Auckland, NZ
OnePlus 8
Guys, I need some help.

A few days ago I was prompted to upgrade Magisk. Since this happens every so often I did so without a second thought. Today I was notified of an upgrade to 1.1.0.99 AND warned not to use Magisk 23010 (the one on my phone). With that I googled version 23001, downloaded and installed it. No problem so far.

I then went through the usual motions of upgrading the phone. Reverted to the old stock, OTA download plus flash to 1.1.0.99 modded as usual. Everything worked EXCEPT that now my phone is not rooted. Magisk 23001 doesn't show the menu items typical when the phone is rooted and my apps that need root don't work. BTW the bootloader shows still unlocked.

How do I fix this and get root back?

I think you just need to revert everything and rebuild (assume you're using Global).

1. Uninstall the Magisk app and reboot, if you've previously hidden Magisk then it won't be called Magisk, you'll need to hunt it down and remove it.

2. Flash the stock image (from my previous post) using fastboot and boot.

3. Install the 23001 Magisk app that you've downloaded.

4. Install patched (23001) kernel and reboot

Now, you may have done all this but try again, paying special attention to #1 above.
 

Mandraquinet

Senior Member
Jul 2, 2012
78
9
Lyon
Yesterday I made a mistake, I clicked on the Magisk update notification instead of deleting it. Now, when I launch Magisk, it asks me to install the new version of Magisk Manager ! Should I continue by installing just the new version of the Magisk Manager (but not continue by installing Magisk 23010) ? Or it is better to uninstall Magisk and reinstall Magisk 23001. If so, can someone post the stock and patched version from 110.9.9 EU ROM ?
I'm on OP8 with OxygenOS 11.0.9.9. EU.
Thanks for your answers.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,739
1,675
Auckland, NZ
OnePlus 8
Yesterday I made a mistake, I clicked on the Magisk update notification instead of deleting it. Now, when I launch Magisk, it asks me to install the new version of Magisk Manager ! Should I continue by installing just the new version of the Magisk Manager (but not continue by installing Magisk 23010) ? Or it is better to uninstall Magisk and reinstall Magisk 23001. If so, can someone post the stock and patched version from 110.9.9 EU ROM ?
I'm on OP8 with OxygenOS 11.0.9.9. EU.
Thanks for your answers.

If you're using Magisk Manager 23001 then just ignore the notification/prompt to upgrade for the time being, you don't need to do anything else.

It is highly likely that the new version (23010) will be fine for most users, I simply think it's better to wait and see before upgrading. Version 23001 (legacy Magisk) will continue to work.
 
  • Like
Reactions: Mandraquinet

Mandraquinet

Senior Member
Jul 2, 2012
78
9
Lyon
If you're using Magisk Manager 23001 then just ignore the notification/prompt to upgrade for the time being, you don't need to do anything else.

It is highly likely that the new version (23010) will be fine for most users, I simply think it's better to wait and see before upgrading. Version 23001 (legacy Magisk) will continue to work.
Yes but I already clicked on the notification by mistake and now when I open Magisk, it tells me that a Manager upgrade is needed and if I cancel, Magisk does not open.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,739
1,675
Auckland, NZ
OnePlus 8
Yes but I already clicked on the notification by mistake and now when I open Magisk, it tells me that a Manager upgrade is needed and if I cancel, Magisk does not open.
Magisk Manager is the app, you've already updated that (hence my confusion).

You need to uninstall that app and find an earlier copy, for example from here: https://androidapksfree.com/magisk-manager/com-topjohnwu-magisk/old/ - I have NOT verified these downloads - and install that.
 
Last edited:
  • Like
Reactions: Mandraquinet

Mandraquinet

Senior Member
Jul 2, 2012
78
9
Lyon

humb13

Senior Member
Nov 24, 2016
62
12
I think you just need to revert everything and rebuild (assume you're using Global).
1. Uninstall the Magisk app and reboot, if you've previously hidden Magisk then it won't be called Magisk, you'll need to hunt it down and remove it.
2. Flash the stock image (from my previous post) using fastboot and boot.
3. Install the 23001 Magisk app that you've downloaded.
4. Install patched (23001) kernel and reboot

I did all this and there's no change. The phone works but there is no root. I even tried version 23000 which is in the link and that didn't work either. I went so far as to take your stock kernel and patch it myself with the installed version of Magisk. It patched OK but still no root after flashing.

Do you suppose it might have something to do with the fact that Magisk 23010 was installed on the phone several days ago?

Either I'm doing something wrong or this isn't working.
 

pp085ster

Senior Member
Sep 5, 2010
355
103
Santa Cruz
Google Pixel 7
I did all this and there's no change. The phone works but there is no root. I even tried version 23000 which is in the link and that didn't work either. I went so far as to take your stock kernel and patch it myself with the installed version of Magisk. It patched OK but still no root after flashing.

Do you suppose it might have something to do with the fact that Magisk 23010 was installed on the phone several days ago?

Either I'm doing something wrong or this isn't working.
I was having the same issue as you. In order to fix it I did the following:

1. Install latest Magisk Manager (23010)
2. Patch djmcnz's stock boot image for 11.0.9.9 with the new Magisk Manager and fastboot flash patched boot.
3. Go into Magisk and make sure it detects patched boot and root.
4. Within the Magisk app main screen, select the option to "uninstall Magisk". It gets rid of a whole bunch of files - not just the apk. Reboot.
5. Fastboot flash djmcnz's patched boot image for 11.0.9.9. Boot up.
6. Install Magisk Manager (23001) and open app. It will probably prompt you to reboot to finish Magisk installation.

Having done this, I am now back to Magisk Manager 23001 with root and the ability to HideMagisk which is important to me.

Hope it works for you!!
 

humb13

Senior Member
Nov 24, 2016
62
12
I was having the same issue as you. In order to fix it I did the following:

1. Install latest Magisk Manager (23010)
2. Patch djmcnz's stock boot image for 11.0.9.9 with the new Magisk Manager and fastboot flash patched boot.
3. Go into Magisk and make sure it detects patched boot and root.
4. Within the Magisk app main screen, select the option to "uninstall Magisk". It gets rid of a whole bunch of files - not just the apk. Reboot.
5. Fastboot flash djmcnz's patched boot image for 11.0.9.9. Boot up.
6. Install Magisk Manager (23001) and open app. It will probably prompt you to reboot to finish Magisk installation.

It worked! Root is back. Phone runs great. Your help is much appreciated.

The only thing I haven't done so far is revert to Magisk 23001. Magisk Hide is very good to have but not critical for me at this juncture. I did keep a copy of your post and the 23001 file in case it becomes necessary.

It seems the developers yielded to blackmail from Google and dropped this critical feature. I would go so far as to bet borrowed money that sooner or later somebody will come up with some solution or workaround. Sure, you can downgrade to an older version of anything, but this is a stopgap solution. Sooner or later the upgrading will be mandatory. I seen all this happen time and again.

BTW has anyone tested any one of the many root cloaking apps out there? Who knows -- one of them just might work.
 
Last edited:

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,739
1,675
Auckland, NZ
OnePlus 8
...
It seems the developers yielded to blackmail from Google and dropped this critical feature. I would go so far as to bet borrowed money that sooner or later somebody will come up with some solution or workaround. Sure, you can downgrade to an older version of anything, but this is a stopgap solution. Sooner or later the upgrading will be mandatory. I seen all this happen time and again.
...
The Magisk developer now works for Google, no blackmail required.

The main Magisk branch has now been forked (numerous times) and there are already builds that retain/restore MagiskHide, we just need to wait some time to see which forks take hold and if any alternative repos prevail.
 

pp085ster

Senior Member
Sep 5, 2010
355
103
Santa Cruz
Google Pixel 7
The Magisk developer now works for Google, no blackmail required.

The main Magisk branch has now been forked (numerous times) and there are already builds that retain/restore MagiskHide, we just need to wait some time to see which forks take hold and if any alternative repos prevail.
I guess it's the legal kind of blackmail. The type were they throw money at you until you say yes. No faulting the guy, its completely understandable and I would probably do the same, but it is a pity for the modding community 🤷‍♂️
 

humb13

Senior Member
Nov 24, 2016
62
12
The main Magisk branch has now been forked (numerous times) and there are already builds that retain/restore MagiskHide, we just need to wait some time to see which forks take hold and if any alternative repos prevail.
I'm not the least bit surprised. What companies like Google don't seem to understand is that people are like water: they find a way.

I don't know anything about software development, but unless I'm mistaken Magisk is open source. Anybody can look at the source code, see what topjohnwu did and try to make changes. All the easier when creating forks. It's just a matter of time before somebody comes up with a working copy with a fully functional Magisk Hide.
 

SilverZero

Senior Member
May 18, 2010
1,549
409
Maybe I'm missing something but I converted to the Global ROM 10.5.22 today, installed Magisk via TWRP followed by Magisk Manager, then system update flashed 11.0.9.9. I then downloaded the matching patched boot image from this thread, flashed it, and used MM to install the latest Magisk which it shows as version 23000. MagiskHide is included in the settings menu, and SafetyNet passes. I was automatically on the Beta update channel in the app.

Not sure if that's useful or already known, but it seems like there's no worries in just going with the latest, at least in my 4 minutes of testing so far. :)
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,739
1,675
Auckland, NZ
OnePlus 8
OP8 OOS 11.0.10.10 Global w/Root (Magisk v23001) + Stock

NOTE: The patched image in this post is Magisk v23001, the last official version with MagiskHide and Magisk Repo support. This will probably not concern you even if you are running a later version of Magisk, you should be able to upgrade Magisk after installing the patched image. However, I have not tested this so proceed at your own risk. FWIW I'm still content with v23001.

NOTE #2: @humb13 has kindly confirmed that you can not use my patched kernel if you are using a later version of Magisk (than v23001). YMMV.


These files are kernel images to load (flash) over existing partitions using fastboot. If you have fastboot working you can use these files to update your ROM. These files are not the full ROM, you need that (v11.0.10.10) installed before the files below will be useful to you.

Stock Kernel: OP8_Global_11.0.10.10.Stock.img
Stock MD5: fcb39609be9d386e5362740e366ba19c

Patched (Magisk 23001) Kernel: OP8_Global_11.0.10.10.Magisk_23001.img
Patched (Magisk 23001) MD5: ea405e46b7bc9323579104fd3697109c

All tested and verified on an IN2010.

Remember, you should always test the kernel before you flash it:

Code:
test (temp): fastboot boot <kernel_name>.img
flash (perm): fastboot flash boot <kernel_name>.img

Edit: Despite what OnePlus claim in the change log they have not completely fixed the alignment in the Settings menu, nothing I can do about that sorry.

Edit 2: If you uninstall Digital Wellbeing updates (from the all apps settings list) it will fix the alignment problem.
 
Last edited:

soniettadc94

New member
Dec 11, 2021
3
0
Guys I need some help .... I used patched version of magisk when I rooted, now I want to upgrade to the next version from OS 11.0.9.9 to OS 11.0.10.10, but I don't know how to create magisk backup image because I can't find it and I don't know in which folder to put the stock boot img to get magisk to detect it. I would appreciate some help, even if there is a link to some guides ... thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7

    Instructions

    - Download the magisk_patched.img
    - Reboot your device in bootloader-fastboot mode
    - Flash the patched_boot.img in the boot partition:
    Code:
    fastboot flash boot boot.img
    replace "boot.img" with the magisk_patched.img path

    However, it is recommended to test the boot image by temporarily booting it first instead of flashing it:
    Code:
    fastboot boot boot.img

    - Reboot the device
    - Install Magisk Manager

    Links

    Magisk

    Beta


    Open Beta 1



    Open Beta 2


    Open Beta 3


    Open Beta 10


    Open Beta 12


    Stable


    11.0.0


    11.0.1.1


    11.0.3.3


    11.0.4.4


    11.0.5.5


    11.0.6.6



    11.0.7.7



    11.0.8.8



    11.0.9.9



    Repository:
    https://github.com/k4ustu3h/instantnoodle-boot-images
    5
    OP8 OOS 11.0.9.9 Global w/Root (Magisk) + Stock

    EDIT 25/10: Magisk v23010 has been released and a lot has changed (including the removal of MagiskHide and the official Magisk repo). I do NOT recommend upgrading to this version of Magisk at this time. It will be best to wait for some days/weeks to pass to observe how this new version works in the wild. I will not be releasing a patched kernel for Magisk v23010 at this time.

    Please update to the latest (recommended) version of Magisk (23001 at the time of this post) and reboot before you download the OTA.

    These files are kernel images to load (flash) over existing partitions using fastboot. If you have fastboot working you can use these files to update your ROM. These files are not the full ROM, you need that (v11.0.9.9) installed before the files below will be useful to you.

    Stock Kernel: OP8_Global_11.0.9.9.Stock.img
    Stock MD5: 74d0cbdac7d3dd977e0aacdcc9369b07

    Patched (Magisk 23001) Kernel: OP8_Global_11.0.9.9.Magisk_23001.img
    Patched (Magisk 23001) MD5: 85b13e35d5348853e06d634a557b7530

    All tested and verified on an IN2010.

    Remember, you should always test the kernel before you flash it:

    Code:
    test (temp): fastboot boot <kernel_name>.img
    flash (perm): fastboot flash boot <kernel_name>.img
    5
    FYI... Op8 GLOBAL ONLY 11.0.2.2 patched boot image. Merry Christmas.

    Op8 11.0.2.2
    5
    OP8 OOS 11.0.10.10 Global w/Root (Magisk v23001) + Stock

    NOTE: The patched image in this post is Magisk v23001, the last official version with MagiskHide and Magisk Repo support. This will probably not concern you even if you are running a later version of Magisk, you should be able to upgrade Magisk after installing the patched image. However, I have not tested this so proceed at your own risk. FWIW I'm still content with v23001.

    NOTE #2: @humb13 has kindly confirmed that you can not use my patched kernel if you are using a later version of Magisk (than v23001). YMMV.


    These files are kernel images to load (flash) over existing partitions using fastboot. If you have fastboot working you can use these files to update your ROM. These files are not the full ROM, you need that (v11.0.10.10) installed before the files below will be useful to you.

    Stock Kernel: OP8_Global_11.0.10.10.Stock.img
    Stock MD5: fcb39609be9d386e5362740e366ba19c

    Patched (Magisk 23001) Kernel: OP8_Global_11.0.10.10.Magisk_23001.img
    Patched (Magisk 23001) MD5: ea405e46b7bc9323579104fd3697109c

    All tested and verified on an IN2010.

    Remember, you should always test the kernel before you flash it:

    Code:
    test (temp): fastboot boot <kernel_name>.img
    flash (perm): fastboot flash boot <kernel_name>.img

    Edit: Despite what OnePlus claim in the change log they have not completely fixed the alignment in the Settings menu, nothing I can do about that sorry.

    Edit 2: If you uninstall Digital Wellbeing updates (from the all apps settings list) it will fix the alignment problem.
    4
    OP8 OOS 11.0.8.8 Global w/Root (Magisk) + Stock

    Please update to the latest version of Magisk (23001 at the time of this post) and reboot before you download the OTA.

    These files are kernel images to load (flash) over existing partitions using fastboot. If you have fastboot working you can use these files to update your ROM. These files are not the full ROM, you need that (v11.0.8.8) installed before the files below will be useful to you.

    Stock Kernel: OP8_Global_11.0.8.8.Stock.img
    Stock MD5: 513cf4592ab9bb1bbe5fe396bacc4776

    Patched (Magisk 23001) Kernel: OP8_Global_11.0.8.8.Magisk_23001.img
    Patched (Magisk 23001) MD5: d241e7cfdf2eed689f08095dd102dd28

    All tested and verified on an IN2010.

    Remember, you should always test the kernel before you flash it:

    Code:
    test (temp): fastboot boot <kernel_name>.img
    flash (perm): fastboot flash boot <kernel_name>.img