How to Root any Xiaomi Device using Magisk 2024 [Updated Guide]

In this blog post, we will be discussing how to Root any Xiaomi device using Magisk. Xiaomi devices are some of the most popular Android devices on the market today.

Millions of people use them every day, and many of them want to root their devices for added customization options and features. Magisk is a great tool for rooting Xiaomi devices, and it is very easy to use. Let’s get started!

What Is Magisk?

Magisk is a tool used for systemless root on Android devices. Magisk roots your device and provides a super user interface to manage root permissions.

Magisk also allows you to hide your root status from apps that check for SafetyNet attestation. It is developed by topjohnwu, and the source code is available on GitHub. Magisk is an open-source project, and anyone can contribute to its development of Magisk.

This systemless rooting tool is compatible with most Android devices, and it is easy to install Magisk on your device. Magisk is the best way to root your Android device.

You can use Magisk to root any Xiaomi device, and it is completely safe to use. Magisk is also open source, which means that anyone can contribute to its development.

Related Guide: How to Root any Android using Magisk

But before starting this guide I want to warn you that you follow these steps at your own risk. if something goes wrong I am not responsible for that. however, if you follow all these steps carefully then you should not get any types of errors.

Advantages of Rooting

There are many advantages of rooting Xiaomi devices with Magisk. Some of the advantages include:

  • You can customize your Xiaomi device to your liking.
  • Magisk allows you to install custom modules, which give you additional customization options for your device.
  • MagiskHide lets you hide your root status from apps that check for SafetyNet attestation. This means that you can use apps like Android Pay, Pokémon GO, and Netflix on your rooted Xiaomi device.
  • Magisk App is a great tool for managing root permissions on your Xiaomi device. You can easily grant or deny root permissions to any app using Magisk App.

Disadvantages of Rooting

There are some disadvantages of rooting Xiaomi devices with Magisk. Some of the disadvantages include:

  • You can brick your Xiaomi device if you do not follow the instructions carefully.
  • Magisk is not compatible with all Xiaomi devices (Android 5.0+ Supported).
  • You will void your Xiaomi device’s warranty by rooting it.

Now that we have discussed the advantages and disadvantages of rooting Xiaomi devices with Magisk, let’s get started with the tutorial.

Steps To Root Any Xiaomi Device Using Magisk Root

To root your Xiaomi device using Magisk, you need to follow some steps listed below:

Pre Requirements

Apply the shown steps at your own risk. is not responsible for bricking your device.

Method 1: Root Xiaomi Phone using TWRP Recovery

  1. Download the Latest Magisk Zip and Lazy flasher Zip file on your Xiaomi Phone device.
  2. Move the downloaded zip file to your phone’s external storage.
  3. Now, Reboot Xiaomi Phone in TWRP recovery mode.
    • Turn Off your phone.
    • Press and hold the Volume Up + Power button until you see the boot screen, release the Power button (do not release the volume up key until you boot into TWRP mode.)
  4. Alternatively, you can also use the ADB command to boot into recovery mode.
  5. Connect Xiaomi Phone to your PC/Laptop.
  6. Open the Command Prompt on your PC and type the following command.
    adb reboot recovery
    • This will boot Xiaomi Phone in recovery mode.
  7. On TWRP main screen, Tap on “Install.”
  8. Locate the Magisk installer zip file and Select it.Install Magisk Zip Using TWRP Recovery
  9. Finally, “Swipe the Slider” on the bottom of the screen to flash the file and install Magisk on your Xiaomi Phone phone.
  10. Next, flash Lazy flasher Zip on your device.
  11. Once the flashing process completes, Tap on Reboot System.

Now open the Magisk App and check if you see all green checks on the app screen. If you don’t see the app, you can manually download and install it.

After successfully applying the above steps, your Xiaomi Phone device will get root access without any issues. In case you are facing any problems in any steps, let me know in the comments.

Method 2: Root Xiaomi Device without TWRP Recovery

  1. First of all, Download Stock Firmware for Xiaomi Phone.
  2. Extract the downloaded Firmware zip file.
  3. Move the boot image file to your phone’s internal storage.
  4. Download the latest Magisk App on your phone and install it. (Link is available in the requirement section)
  5. Open the app from the app drawer.
  6. Tap on Install and again tap on Install.Install Magisk Using Patched Boot Image Method
  7. Next, tap on the “Select and Patch a File” option.
  8. Locate the boot image file (e.g., boot.img) and Select it.
  9. Magisk App will patch the boot image file with the latest version of Magisk package.
  10. Once done, the patched boot image (magisk_patched.img) will get saved in the Download folder of the Xiaomi Phone smartphone.
  11. Now copy the final patched file to the platform-tools folder on your PC.Magisk Patched File
  12. Boot Xiaomi Phone in Bootloader/Fastboot mode.
    • Turn off your device.
    • You can do so by holding the Volume Down + Power keys simultaneously for a few seconds.
    • Release the keys when you see Bunny logo.
  13. On your Windows PC, Go to the platform-tools folder and type cmd in the address bar.Powershell Window
  14. The command window will open.
  15. On the command screen, type the following fastboot commands and hit Enter.
  16. Type the below command to verify if your phone is successfully connected to your PC.
    fastboot devices
  17. Now, type the below command to flash the patched boot image file and install Magisk Root on Xiaomi Phone.
    fastboot flash boot magisk_patched.img
  18. Once Done! Finally, Reboot your device by executing the below command.
    fastboot reboot
  19. Congrats! You have successfully rooted your Xiaomi Phone with Magisk.

If you can not see Magisk Manager on your Xiaomi Phone phone, you need to install the APK manually. You will find the link in the requirement section of this guide.

How to Verify if your Xiaomi Phone is Rooted successfully?

  1. Download Root Checker app from Google Play Store.
  2. Open the app and tap on “Verify Root.”
  3. If your device is rooted successfully, you will see this message “Congratulations! Root access is properly installed on this device!”.Root Checker App
  4. As you can see from the above screenshot.

Now, if you want to Unroot your device, it’s very simple and straightforward. You have to follow this guide on How to Unroot Xiaomi Phone.

Conclusion –

Conclusion paragraph: In this blog post, we have shown you how to Root any Xiaomi device using Magisk. Magisk is a great tool for rooting devices, and it is very easy to use.

If you want to gain more control over your Xiaomi device, then you should definitely root it using Magisk. Thanks for reading!

7 thoughts on “How to Root any Xiaomi Device using Magisk 2024 [Updated Guide]”

  1. I have rooted my Mi A1 using this method to install Gcam but iam facing some problems. Which flashing i extract it by mistake. Can you plz help me out.

  2. buenas maestro, usted dice que se pueden rotear cualquier dispositivo xiaomi, redmi?, pero al final del proceso habla del Mi A1???…..tengo un redmi 8A, SIRVE ESTE PROCESO?


Leave a Comment