How to root xiaomi devices – HMZ Tutorials

Welcome to our comprehensive tutorial for how to root your Xiaomi phone. Rooting your device gives you administrative access to your phone’s operating system, allowing you to customize it to your liking and install apps that require root access.

Please Note: Rooting your device voids its warranty and may potentially lead to data loss or software instability.
PLEASE FOLLOW ALL THE STEPS CAREFULLY 

Step 1: Enable Developer Options

To begin, you need to enable Developer Options on your Xiaomi phone model. This allows you to access advanced device settings.

  1. Go to Settings on your phone.
  2. Click on my device.
  3. Click on all specs
  4. Tap multiple times on miui version
  5. There you go, developer options is enabled

 

Step 2: Enable USB Debugging

This allows your phone to communicate with your computer for debugging and other development purposes.

  1. Go back to the main Settings page.
  2. Tap on Additional settings.
  3. Scroll down and select Developer options.
  4. Toggle on the USB debugging option.

 

Step 3: Unlock Bootloader

Before you can root your Xiaomi phone model, you need to unlock the bootloader. And set up your phone following those steps

After adding the account, follow these steps below 👇

  1. Visit the official Xiaomi website
  2. Download the tool Mi unlock
  3. Extract the zip file that you downloaded in a new folder.
  4. Open the tool
  5. You’ll need to log in with your xiaomi account that is linked to your xiaomi phone you want to root
  6. Click on unlock

IF THE TOOL TELL YOU THAT YOU NEED TO WAIT 7 DAYS TO UNLOCK YOUR DEVICE, THEN STOP WHAT YOU’RE DOING, AND GET BACK TO THIS POST AFTER 7 DAYS

 

Step 4: Install Custom Recovery

Once you have unlocked the bootloader after waiting 7 days 🙂

you can install a custom recovery like TWRP. This will allow you to flash custom ROMs and root your Xiaomi phone.

  1. Download android adb (Click here for a tutorial)
  2. Next, Download the TWRP recovery image for your Xiaomi phone model from the official TWRP website.
  3. Connect your phone to your computer via USB cable.
  4. Open a command prompt (CMD) window on your computer and run the following command:
adb devices

If your device is listed, you’re ready to proceed. If not, make sure you have the necessary drivers installed and USB debugging enabled.

Next, run the following command to flash the TWRP recovery image:

fastboot flash recovery twrp.img

Replace twrp.img with the actual filename of the TWRP recovery image you downloaded.

Step 5:  How to Root Your Xiaomi Phone with magisk

Now that you have a custom recovery installed, you can root your Xiaomi phone model by installing Magisk

  1. Download the latest version of Magisk from the official Magisk GitHub repository.

IF YOU DOWNLOAD THE APK FILE OF MAGISK, JUST RENAME IT AS .ZIP FILE AND FLASH IT.

  1. Transfer the Magisk ZIP file to your phone’s internal storage.
  2. Boot your phone into recovery mode by pressing a specific key combination (varies by Xiaomi phone model). Power key + vol up
  3. In TWRP recovery, tap on Install and select the Magisk ZIP file.
  4. Swipe to confirm the installation.
  5. After the installation is complete, reboot your phone.

 

 

Congratulations! You have successfully rooted your Xiaomi Phone. You now have full control over your device and can enjoy the benefits of custom ROMs, system tweaks, and more.

You may also like...