- This topic is empty.
May 7, 2020 at 1:44 PM #112821Sibananda SahuKeymaster
MIUI 12 Download is now available for 20+ Xiaomi phones. If you are looking for a guide on rooting the MIUI 12 on your phone, then this is it!
So, the only method left is the Magisk rooting.
Required Downloads to Root MIUI 12
Before roooting the MIUI 12, you need to verify few things and need to install few. This list provides all the required resources.
- MIUI 12 ROM
- Magisk 20.4 Download (link has both installer and uninstaller)
- TWRP recovery Download
- Download ADB
– ADB Installer for Windows
– Minimal ADB and Fastboot for Windows
– ADB Fastboot for Linux and MAC
A Word of Caution before flashing Magisk on MIUI 12!In A/B devices, the custom recovery is installed on boot partition as it lacks a recovery partition. When Magisk is installed, it also resides in the boot partition only.
When Magisk is flashed with the custom recovery, it may bring bootloop or some inconsistent behavior.
To avoid this issue, instead of flashing the recovery you can just boot from the custom recovery on your phone.
How to verify if you have an A/B device?
Enter to adb shell and execute the below command to know:
If it does not return anything, then you have a A-only device.
Poco F1 and almost every Xiaomi phone uses A-only partition.
How to Root MIUI 12 with Magisk?
There might be many ways of rooting MIUI 12, but here I am going to write down only a single method, that is flashing Magisk installer zip using a custom recovery such as TWRP recovery.Flashing Magisk on your phone may cause bootloop. Nothing to worry as you can uninstall Magisk completely. But still before flashing anything on your phone, make a backup of everything.
How to Install Magisk to Root MIUI 12?
Once ready with the basics, follow the below instructions to install the Magisk installer zip file
- Download and copy the Magisk Installer zip file to your phone
- Reboot the phone into a custom recovery with such as TWRP recovery or any other recovery
Connect your phone to the PC, and execute the following command on your PC:
adb reboot recoveryOr you can power off the phone and then press and hold the Power button + Volume Up button to boot into the recovery mode.
- If you have any PIN lock set on the phone then enter the same PIN on the TWRP (if it is asked) to decrypt the phone’s internal storage
- Click Install > Select the Magisk zip file > Swipe to confirm flash
- Once done reboot to system and you are done.
As a part of Magisk installation the Magisk Manager App should have been installed. If not installed for some reason, you can manually install the Magisk Manager APK manually.
The Magisk Manager App is used to manage supersu access, install Magisk modules, manipulate AVB and force encryption etc.
How to Uninstall Magisk?
If your phone is not booting even after a long time after installing Magisk, then most likely it is in bootloop state! So, install the uninstaller zip file to completely remove the Magisk installation.
Download the Magisk Uninstaller zip file from the same Magisk download link provided above. Install the zip file the way you have installed the Installer zip file.In this case you will end up without Magisk and a non-rooted MIUI 12 phone. If this happens, you can reply in with the scenario so that I can analyze and try to help you get the rooting done!
How to check if ROOT is enabled on MIUI 12?
Install the ROOT checker app to verify if your phone is ROOTED or not.
If Magisk is not installed properly then this grant pop up screen will not come instead root access failed message will be shown else a success message will appear.
- Open the Root Checker app and then tap on the Verify Root Status
- If asked, grant the permission to superuser request.
That’s all on rooting MIUI 12. Subscribe to the MIUI forum to get everything MIUI specific topics. Login to leave a comment if you have any concern or unable to root your phone running on MIUI 12.
? GCam APK | LineageOS
- You must be logged in to reply to this topic.