[Guide]Mi 10 / 10 Pro Root Guide for MIUI Stable

Thorezz

Member
Apr 12, 2016
35
6
0
https://github.com/topjohnwu/Magisk

Under downloads download the Canary zip and flash in TWRP
Yes, i was talking of that version too ... the problem is also in this version for some device (Oneplus, Pixel, MI 10 are some of these)
have you tried yourself ? Do you have a MI 10 working with the TWRP canary version on MIUI 12 based on android 11 ?

i just saw that this problem in also with android 10 in the canary latest version
"20422 Still not seeing any sign of modified init or magisk. Still normal boot process and no magisk."
the above message is only 3 weeks old ...
https://github.com/topjohnwu/Magisk/issues/3042
 
Last edited:

Mackay53

Senior Member
Apr 1, 2011
2,039
716
113
Edinburgh
Yes, i was talking of that version too ... the problem is also in this version for some device (Oneplus, Pixel, MI 10 are some of these)
have you tried yourself ? Do you have a MI 10 working with the TWRP canary version on MIUI 12 based on android 11 ?

i just saw that this problem in also with android 10 in the canary latest version
"20422 Still not seeing any sign of modified init or magisk. Still normal boot process and no magisk."
the above message is only 3 weeks old ...
https://github.com/topjohnwu/Magisk/issues/3042
I had it working on the Android 11 Xiaomi EU rom before switching to the PA rom.

Normal one would flash OK in TWRP but it wouldn't stick so flashed the Canary zip in TWRP and worked OK.
 

Thorezz

Member
Apr 12, 2016
35
6
0
I had it working on the Android 11 Xiaomi EU rom before switching to the PA rom.

Normal one would flash OK in TWRP but it wouldn't stick so flashed the Canary zip in TWRP and worked OK.
i would like to say that the flash in TWRP of the magisk zip worked without error or warning but when you start the system and open the magisk app, it say that magisk it's not installed ... in effect it's installed but not loaded on boot. If you read the link that i've posted, the problem is in the boot up sequence thak skip the magisk library because the detection of one or two stage boot is done with a simple check of the /apex directory that in android 11 (at least on miui 12) is missing ...
 

Kokovitch

Senior Member
Jun 9, 2014
61
8
0
Montélimar
I have MIUI 12 QJBMIXM (Global stable, Android 10)

I downloaded the full firmware (QJBMIXM), extracted boot.img, patched it with magisk manager on my phone and flashed it from fastboot.

Working perfectly. My root is detected without any problem.

Thank you :good:
 

Thorezz

Member
Apr 12, 2016
35
6
0
I have MIUI 12 QJBMIXM (Global stable, Android 10)

I downloaded the full firmware (QJBMIXM), extracted boot.img, patched it with magisk manager on my phone and flashed it from fastboot.

Working perfectly. My root is detected without any problem.

Thank you :good:
good to know ... i've done the same extracting the boot.img from the xiaomi.eu_multi_MI10_20.8.7_v12-11.zip but not worked
(see my message here https://forum.xda-developers.com/showpost.php?p=83262731&postcount=27)

bye
 

vatastala

Senior Member
Feb 23, 2010
111
5
18
Hi all, nice to meet xda dev people again :)

After some YEARS with Samsung and Huawei (that I didn't want do modify/root) I bought recently a MI10, waited 168 hours and unlocked the bootloader as for this guide...

After, I installed TWRP as explained in this:

HTML:
https://forum.xda-developers.com/xiaomi-mi-10/how-to/ultimate-guide-to-install-stable-dev-t4093907
And installed MIUI12 global V12.0.1.0.QJBMIXM (MIUI12) from the link
HTML:
https://c.mi.com/oc/miuidownload/index
, the last stable one, before I found installed as stock the MIUI11 Global.

After this, as suggested by @Mackay53, I went to
HTML:
https://github.com/topjohnwu/Magisk
and downloaded "Magisk Manager Canary", so downloaded a file called "app-debug.apk", installed on the phone and started. You'll download the "Magisk-872...(21004).zip" into download folder, reboot in TWRP and install this file. Reboot and verify again the Magisk Manager, everything ok. Also downloaded the Root Checker software and everything is ok.

Hope to be helpful :)
 

Thorezz

Member
Apr 12, 2016
35
6
0
Hi all, nice to meet xda dev people again :)
And installed MIUI12 global V12.0.1.0.QJBMIXM (MIUI12) from the link
HTML:
https://c.mi.com/oc/miuidownload/index
, the last stable one, before I found installed as stock the MIUI11 Global.
thank you for your report ...
anyway this is another one with success but with the Global ... hope to see a success with the miui from xiaomi.eu
 

vatastala

Senior Member
Feb 23, 2010
111
5
18
thank you for your report ...
anyway this is another one with success but with the Global ... hope to see a success with the miui from xiaomi.eu
Do you mean a success with MIUI 12 / Android 11 ??? Because I today I downloaded from xiaomi.eu the last version with MIUI 12 / Android 10 and I was able to root again...Also, I didn't use the canary version but the standard one
 

Thorezz

Member
Apr 12, 2016
35
6
0
Do you mean a success with MIUI 12 / Android 11 ??? Because I today I downloaded from xiaomi.eu the last version with MIUI 12 / Android 10 and I was able to root again...Also, I didn't use the canary version but the standard one
yes ! this is what I've been waiting for !
So when you open the magisk app it don't say anymore that it's not installed, right ?
i'v seen just now that there is a new version of magisk ... the version that not worked and that i've used was the 7.5.1 (267) and now it's available the 8.0.2 (307)
i bet that you are using thje 8.0.2 ...

thank you for uour report
 

vatastala

Senior Member
Feb 23, 2010
111
5
18
yes ! this is what I've been waiting for !
So when you open the magisk app it don't say anymore that it's not installed, right ?
i'v seen just now that there is a new version of magisk ... the version that not worked and that i've used was the 7.5.1 (267) and now it's available the 8.0.2 (307)
i bet that you are using thje 8.0.2 ...

thank you for uour report
Yes I have 8.0.2 ( 307)...so ok for the moment...

Just another question...In these days I'm only testing because I know that I can do errors, infact yesterday I had to re-flash the image again for the following trouble...I installed a voice recorder package from the Magisk Manager, but I only after I noticed that the rom has this functionality, so I removed It using the trash but at next reboot I had bootloop on fastboot and I wasn't able to fix...

Which is the correct way to delete the packages to avoid things like this?
 

Thorezz

Member
Apr 12, 2016
35
6
0
Yes I have 8.0.2 ( 307)...so ok for the moment...
thank you for the confirmation

Just another question...In these days I'm only testing because I know that I can do errors, infact yesterday I had to re-flash the image again for the following trouble...I installed a voice recorder package from the Magisk Manager, but I only after I noticed that the rom has this functionality, so I removed It using the trash but at next reboot I had bootloop on fastboot and I wasn't able to fix...

Which is the correct way to delete the packages to avoid things like this?
this is strange but i suppose that if you install with magisk, it's because the package is a module tighten integrated with the system so :
1) there is always a risk of bootloop, crash etc
2) it's better to remove with the same handler used to install (magisk in this case)

i suppose that using the default system uninstaller you have deleted the "visibile" part of the app/module but not the "hidden" part that was installed by magisk
 

vatastala

Senior Member
Feb 23, 2010
111
5
18
thank you for the confirmation



this is strange but i suppose that if you install with magisk, it's because the package is a module tighten integrated with the system so :
1) there is always a risk of bootloop, crash etc
2) it's better to remove with the same handler used to install (magisk in this case)

i suppose that using the default system uninstaller you have deleted the "visibile" part of the app/module but not the "hidden" part that was installed by magisk
No no I used the Magisk Manager, I tried now with another package but before click the trash and reboot I used the slide to disable It...maybe It's not necessary, maybe It was a case...I don't know, however I would like to do a bck with TWRP but the System mountpoint is not present, how can I manage this? Which partitions are necessary for a functioning full backup?

Thank you
 
Last edited:

ElMonty

New member
Nov 4, 2007
1
1
0
Hi!

I have patched the boot image with magisk manager and loaded with fastboot but now the phone starts the initial wizard but it does not activate wifi and the message System process is not responding (or something similar, i got the message in spanish) appears, then it reboots! Please help!!

Can I fastboot the original boot image? maybe the downloaded it is not compatible with my rom (global)? Can I flash the downloaded full rom with fastboot?

Please help!!!
 

ElMonty

New member
Nov 4, 2007
1
1
0
Finally It has booted. But the wifi and mic don work. Also the phone is not rooted.

I will flash the latest ROM: V12.0.1.0.QJBMIXM and try again
 

xterminater07

Senior Member
Dec 4, 2010
1,575
474
0
So it looks like if I understand this thread correctly, there isn't a way to have magisk (even the canary) version to be able to root on MIUI 12.2.2 android 11 based? I'm on the chinese rom and just tried patching the boot.img but looks like I can't access anything system wise.
 

Thorezz

Member
Apr 12, 2016
35
6
0
So it looks like if I understand this thread correctly, there isn't a way to have magisk (even the canary) version to be able to root on MIUI 12.2.2 android 11 based? I'm on the chinese rom and just tried patching the boot.img but looks like I can't access anything system wise.
i don't know for the chinese rom but for the EU rom, following this post (https://forum.xda-developers.com/showpost.php?p=83721067&postcount=51) It should work with the magisk => 8.0.2 ( 307). ... haven't tried for myself at the moment because i need to do a large backup and haven't had the time