How to Root MIUI 12

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #112821
    Siba
    Keymaster

    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!

    As of now, the SuperSU zip rooting script is not supported since many years. So, in this article I am using Magisk installer to root MIUI 12.

    So, the only method left is the Magisk rooting.

    How to Root MIUI 12 (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.

    [su_note note_color=”#D8F1C6″ text_color=”#769958″ radius=”3″ class=”” id=””]

    [/su_note]

    A Word of Caution before flashing Magisk on MIUI 12!

    [su_note note_color=”#FBF4DD” text_color=”#A38C68″ radius=”3″ class=”” id=””]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.[/su_note]

    How to verify if you have an A/B device?

    Enter to adb shell and execute the below command to know:
    adb shell
    getprop ro.build.ab_update

    If the result is true, then your device is using A/B partitions.
    For example Mi A1, Mi A3 use A/B partition

    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.

    [su_note note_color=”#F9D9D9″ text_color=”#AA4343″ radius=”3″ class=”” id=””]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.[/su_note]

    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 recovery

      [su_note note_color=”#D7E3F4″ text_color=”#728095″ radius=”3″ class=”” id=””]Or you can power off the phone and then press and hold the Power button + Volume Up button to boot into the recovery mode.[/su_note]

    • 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

      Install Magisk installer zip using TWRP

    • 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.

    [rl_gallery id=”112828″]

    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.

    [su_note note_color=”#D7E3F4″ text_color=”#728095″ radius=”3″ class=”” id=””]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![/su_note]

    How to check if ROOT is enabled on MIUI 12?

    Install the ROOT checker app to verify if your phone is ROOTED or not.

    • Open the Root Checker app and then tap on the Verify Root Status
    • If asked, grant the permission to superuser request.

    [su_note note_color=”#FBF4DD” text_color=”#A38C68″ radius=”3″ class=”” id=””]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.[/su_note]
    [rl_gallery id=”112822″]

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.