• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] Magisk for OxygenOS 11

Search This thread

k4ustu3h

Senior Member
Sep 19, 2018
89
27
21
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

Member
Nov 24, 2016
34
4
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,718
1,662
Auckland, NZ
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
74
8
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,718
1,662
Auckland, NZ
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
74
8
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,718
1,662
Auckland, NZ
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
74
8
Lyon

humb13

Member
Nov 24, 2016
34
4
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
338
88
Chicago
OnePlus 8
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

Member
Nov 24, 2016
34
4
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,718
1,662
Auckland, NZ
...
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
338
88
Chicago
OnePlus 8
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

Member
Nov 24, 2016
34
4
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.
 

Top Liked Posts