[GUIDE] Magisk for OxygenOS 11

Allangamer43D

Member
Dec 26, 2016
20
3
18
Pranchita??
43d.github.io
Okay, here you go folks, 11.0.4.4.IN21AA Global kernels patched and stock, tested on an IN2010.

Stock: https://www.davesanthology.com/publ....IN21AA/11.0.4.4.IN21AA_boot_stock_IN2010.img
MD5: https://www.davesanthology.com/publ....IN21AA/11.0.4.4.IN21AA_boot_stock_IN2010.md5

Patched: https://www.davesanthology.com/publ...1.0.4.4.IN21AA_boot_magisk_patched_IN2010.img
MD5: https://www.davesanthology.com/publ...1.0.4.4.IN21AA_boot_magisk_patched_IN2010.md5

To test the kernel (do this first - after OTA and reboot):

Code:
fastboot boot <filename>.img
If the test works then flash it with this command:

Code:
fastboot flash boot <filename>.img
Gold. (y)
I have some bugs in this boot.img, but the phone called, I took advantage and went to Magisk and selected the installation in the Inactive Slot.
After restarting the bugs disappeared, I didn't have to run the second command.
 

humb13

Member
Nov 24, 2016
22
1
13
On your second screenshot click on 'uninstall device', in the next screen select the checkbox that says something like 'also uninstall drivers for this device'. Then unplug your phone, reboot Windows, reinstall the platform tools and plug your device in again.
This isn't what I did but I found the solution. Let me share it with the rest of you in case anyone runs into this issue.

I connected the phone to the laptop in bootloader mode to see why it worked. On Device Manager it showed the phone listed as Kedacom USB device - Android Bootloader Interface and there were drivers loaded. After Googling I ended up here HERE and found the a CAB file with the drivers. I opened the CAB, extracted the files and installed the drivers for the Android phone with the question mark -- problem solved!!! Fastboot works perfectly. Device Manager shows the same as the laptop.

djmcnz -> I'm confused about something. You said uninstall and reinstall platform tools. The tools file I have is a zip where you simply extract the files to a folder. It's fully portable, no installation at all. Are we talking about the same thing?
 

remialfa

Member
Jan 10, 2015
47
8
28
I need some answer as I'm lost. I have OP8 IN2010. I have latest oxygen os 11.0.4.4.IN21AA

I want to have Magisk installed. Do I need to unlock bootloader? If yes then how? I tried to find it on forum but the website that should give me token do not work https://www.oneplus.com/pl/unlock_token

So how can I install magisk? Would i wipe my photos? I already migrated all my data from old phone and now dont' know what to do.
 

teraßyte

Senior Member
Mar 16, 2014
99
42
48
34
I'm currently on version 10.5.10.IN21BA with the model IN2013. Does this guide work for the new OS version 11.0.4.4IN21BA? I'm not seeing it listed in the first post.
 

humb13

Member
Nov 24, 2016
22
1
13
This question has probably been asked before, but let me go ahead and ask again. What happens if you accidentally use [for example] EU kernel files to upgrade/root a Global phone -- or vice versa? Will it brick the phone or what?

I my concern is that my phone is an IN21AA 2013 and the files posted for download are IN21AA 2010. So far every kernel files labeled as Global as worked. I'm not too sure about 2010 and 2013.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,683
1,635
253
Auckland, NZ
I need some answer as I'm lost. I have OP8 IN2010. I have latest oxygen os 11.0.4.4.IN21AA

I want to have Magisk installed. Do I need to unlock bootloader? If yes then how? I tried to find it on forum but the website that should give me token do not work https://www.oneplus.com/pl/unlock_token

So how can I install magisk? Would i wipe my photos? I already migrated all my data from old phone and now dont' know what to do.
Yes, you'll need to unlock the bootloader to change/modify the kernel (which Magisk requires). If you unlock your bootloader your phone will be wiped.

You need to use fastboot to unlock the bootloader, you can follow one of the guides here in XDA.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,683
1,635
253
Auckland, NZ
This question has probably been asked before, but let me go ahead and ask again. What happens if you accidentally use [for example] EU kernel files to upgrade/root a Global phone -- or vice versa? Will it brick the phone or what?

I my concern is that my phone is an IN21AA 2013 and the files posted for download are IN21AA 2010. So far every kernel files labeled as Global as worked. I'm not too sure about 2010 and 2013.
Test the kernel first without flashing it:

Code:
fastboot boot <kernel name>.img
If that works, then flash it.
 

djmcnz

Retired Recognized Developer
Oct 13, 2009
5,683
1,635
253
Auckland, NZ
djmcnz -> I'm confused about something. You said uninstall and reinstall platform tools. The tools file I have is a zip where you simply extract the files to a folder. It's fully portable, no installation at all. Are we talking about the same thing?
Yes, sorry, I have a history of OP phones and realise I had installed the drivers!

The USB drivers come shipped on the phone. When you plug it in (with USB Debugging turnned OFF) and set USB mode to "USB - No data transfer" then a OnePlus CD drive will show up in Explorer and the drivers are in there.

Unfortunately the fastboot driver is not digitally signed so you need to jump through some hoops to tell Windows to allow unsigned drivers (https://www.technipages.com/enable-disable-device-driver-signing).

But well done on getting it working despite my advice!
 
Last edited: