[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
 
Last edited:

totmakina

Senior Member
Nov 13, 2013
190
71
Nothing Phone 1
This method did not work for me. I extracted my boot myself, patched it and installed it later by fastboot and it appears to me that it is not installed.
 

Zelete

Member
Mar 22, 2012
30
13
Turnhout
www.nickandjoy.com
Don't know if I'm doing something wrong:

Code:
[email protected]:~/Downloads$ fastboot flash boot magisk_patched.img 
target reported max download size of 805306368 bytes
sending 'boot_a' (43504 KB)...
OKAY [  1.354s]
writing 'boot_a'...
OKAY [  0.133s]
finished. total time: 1.488s

I reboot and Magisk Manager says it is not installed.

I have the OnePlus 8 IN2013.
 

Shinsen26

Member
Jun 11, 2017
7
1
Sure it'll not work, apex folder wasn't created inside the ramdisk, there's a bug with it, just create empty apex folder and repatch it with magisk, it'll work.
 

TheKnux

Senior Member
Sep 28, 2011
2,927
920
Akron
Nexus Player
OnePlus 9
Are you using the Canary build of Magisk Manager to patch the boot.img? I got mine working now by extracting it from the payload manually and patching that file in Magisk.
Yes, I'm using the canary version of Magisk Manager. Extracted from the payload.bin as well, patched. Fastboot flashed boot_a magisk_patched.img, did the same for b. My active slot is b currently. Even tried booting the patched boot and still ended up in bootloop.
 

LLStarks

Senior Member
Jun 1, 2012
2,063
1,351
Had to manually patch with the newest canary to get root. Oddly, the manually patched boot.img is much smaller than other rooted OB1 boots floating around that don't work.
 

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