How to get root rights to Xiaomi Mi A2 Lite: a complete guide with a guarantee of success

The Xiaomi Mi A2 Lite (codenamed daisy) is still a popular choice among users who value pure Android One and reliable hardware. However, standard system constraints do not allow you to unlock the full potential of the device. Getting root rights gives you access to deep customization of the OS, removing embedded software, improving performance and installing custom firmware. But the process has nuances, from unlocking the bootloader to properly installing Magisk and bypassing antichet games.

In this article, the guideline for 2026 is up to date, taking into account the latest changes in Xiaomi policy (including the mandatory binding of the Mi Account to the device) and the features of the Mi A2 Lite. We will analyze three proven methods: through fastboot, using TWRP, and an alternative way for those who can not unlock the bootloader officially, and you will learn how to avoid constant data resets after OTA updates – a frequent problem for owners of this smartphone.

Preparation of the device: what to do before unlocking

Before you start obtaining root rights, you need to follow a few critical steps, and neglecting them can lead to a β€œbrick” (inoperability) of the device or blocking the Mi Account.

First, check the firmware version. The Mi A2 Lite should have the following minimum versions installed:

  • πŸ“± Android 9 Pie (if you have lower, upgrade first through Settings) β†’ System system β†’ Updating the system)
  • πŸ”„ MIUI: The device runs on Android One, so MIUI Not here, but it is important to make sure the firmware is not modified by the manufacturer (check in Settings). β†’ The phone. β†’ The build number must be something like PKQ1.180904.001)
  • πŸ” bootloader status: Default is locked (checked by the fastboot oem device-info command - look for Device unlocked: false)

The second step is backing up the data, unlocking the bootloader and getting root rights will erase all the data on the device, including photos, contacts and installed applications.

  • ☁️ Google Photos and Google Contacts for Synchronizing Media and Address Book
  • πŸ’Ύ Titanium Backup (requires a root, but you can backup on another rooted device and transfer it to the rooted device)
  • πŸ“‚ Manual copying of files from internal memory to PC (folders) DCIM, Downloads, WhatsApp, etc.)

⚠️ Note: If you previously linked your device to your Mi Account and enabled Find Device, be sure to turn it off in Settings. β†’ Google β†’ Security β†’ Find My Device.Otherwise, after unlocking the bootloader, the phone may require you to enter a password from your Xiaomi account even after resetting.

The third stage is to install the necessary tools on the PC:

Tool.AppointmentDownload link
Mi Unlock ToolOfficial utility for unlocking the bootloaderXiaomi website
ADB & FastbootTeam tools for working with AndroidAndroid Developers
TWRP for daisyCastom Recovery for Magisk InstallationOfficial website of TWRP
MagiskRoot Rights Manager (alternative to SuperSU)GitHub Magisk
πŸ“Š What Unlocking Method Do You Plan to Use?
Officially via Mi Unlock Tool
Through TWRP and Boot Image Patch
Alternative (EDL, Testpoint)
I haven't decided yet.

Method 1: Officially unlock the bootloader via the Mi Unlock Tool

This is the most reliable method recommended by Xiaomi, but it requires an account and a wait. Since 2023, the company has tightened the rules: now unlocking is possible only after 72 hours of waiting after linking an account to a device.

Steps:

  1. Link your Mi Account to your phone: Go to Settings β†’ Accounts β†’ Add an account β†’ Mi Account Log in to an existing account or create a new one (require to confirm email and phone!) Enable Data Sync and Device Search (then disable)

Activate the developer mode and OEM-unlock:

Settings β†’ About phone β†’ Assembly number (shap 7 times)


Settings β†’ System β†’ For developers β†’ OEM unlocking (enable)




Settings β†’ System β†’ For developers β†’ Debugging by USB (enable)

adb devices

If you don't, install Xiaomi USB Drivers.

Mi Unlock Tool

  • Sign in to the same Mi Account as on your phone
  • Turn your phone into fastboot (turn off, then press Power + Volume Down)
  • Connect your phone to your PC and press Unlock in the program

⚠️ Note: If the Mi Unlock Tool gives you a "Couldn't unlock" or "Device not bound" error, it means that 72 hours have passed since the account was linked).

β˜‘οΈ Checklist before unlocking

Done: 0 / 5

Method 2: Install TWRP and Magisk (for power users)

This is a method that works for those who have already unlocked the bootloader or who don't want to wait 72 hours, and we're going to install TWRP and run Magisk through it to get root rights.

Important: On Mi A2 Lite has a problem with data encryption (FBE β€” File-Based Encryption. - If you use PIN-code, TWRP Can't decipher the section /data. The solution is to disable the screen lock before installation TWRP.

Instructions:

  1. Download the necessary files: πŸ“₯ TWRP for daisy (version) 3.7.0 or newer) πŸ“₯ Magisk (last stable version,.zip file) πŸ“₯ Disable_Dm-Verity_ForceEncrypt (avoid getting stuck on the logo after the firmware)

Squeeze TWRP via fastboot:

fastboot flash recovery twrp-3.7.0-daisy.img


fastboot boot twrp-3.7.0-daisy.img

After the second command, the phone will load into TWRP.

Install Magisk and the encryption patch:

  • In TWRP, click Install β†’ select the file Magisk-v26.4.zip
  • Add to the queue Disable_Dm-Verity_ForceEncrypt.zip
  • Swipe for confirmation and wait for completion
  • Reboot to System: Reboot β†’ System The first run can take up to 10 minutes.

After the reboot, check for root rights using the Root Checker app or the command in the terminal:

su

If a request for rights appears, the root is installed successfully.

πŸ’‘

If after installing Magisk phone is fixated on the Xiaomi logo, repeat the firmware Disable_Dm-Verity_ForceEncrypt.zip through TWRP. If it doesn’t work, do a data reset (Wipe) β†’ Format Data).

Method 3: Alternative method (if Mi Unlock Tool does not work)

If official unlocking fails (for example, due to the error "This device is locked" or "Couldn't verify device"), you can use workarounds. EDL-Emergency Download Mode and Firmware with Mi Flash Tool.

Warning: This method is risky, because if you do the wrong thing, your phone can turn into a brick. Use it only if other methods don't work.

Steps:

  1. Download the necessary files: πŸ“₯ Mi Flash Tool (last version) πŸ“₯ Fastboot firmware for daisy (for example, daisy_global_images_V11.0.2.0.PDLMIXM) πŸ“₯ Qualcomm drivers HS-USB QDLoader 9008 (for EDL-regime)
  2. Transfer the phone to EDL-Mode: Turn off the phone Hold Volume Up + Volume Down and connect USB-Cable to PC Hold the buttons 10-15 Seconds before Qualcomm's handheld device arrives HS-USB QDLoader 9008 device-manager

Use the Mi Flash Tool to run your phone:

  • Unpack the downloaded firmware in a folder without Cyrillic symbols
  • In Mi Flash Tool, select a folder with firmware and click Refresh
  • Make sure the device is identified (should appear) COM-port)
  • Select Clean All mode and press Flash.

⚠️ Note: After the firmware is through EDL The phone will be completely reset and the bootloader will remain locked. To get the root, repeat the steps from Method 2 (installation) TWRP Magisk).

What to do if the Mi Flash Tool is in error?
If there is a Hello Packet or Firehose error, then Qualcomm drivers are not installed. Download them manually and install them through Device Manager (update the driver for the device with an exclamation mark). If the "Anti-rollback" error is, you need firmware with a newer version of the rollback (check the version in the firmware file name).

How to bypass SafetyNet and hide root from apps

Many apps (banking, anti-cheat games, Google Pay) refuse to work on rooted devices, and to get around these restrictions, you need to:

  1. Install MagiskHide: Open Magisk Manager β†’ Settings β†’ Turn on MagiskHide Reboot Phone
  2. Add apps to the Hidden List: In Magisk Manager, go to MagiskHide Check the apps that need to hide the root (e.g. Sberbank Online, PokΓ©mon GO)

Go to SafetyNet:

  • Install Universal SafetyNet Fix via Magisk
  • Restart your phone and check the status in the SafetyNet Test app

If Google Pay doesn’t work even after these steps, try:

  • πŸ”„ Remove and add the map again in the application
  • πŸ“± Reset your Google Play Services settings (Settings) β†’ Annexes β†’ Google Play Services β†’ Warehouse β†’ Clear the data)
  • πŸ”’ Install the MagiskHide Props Config module and replace the device print with a certified one.

πŸ’‘

Even with the successful passage of SafetyNet, some banking applications (such as Tinkoff or VTB) can block access, in which case there are two options: use the web version of the bank or temporarily remove Magisk through Magisk Manager β†’ Uninstall β†’ Complete Uninstall (root will disappear until the next firmware).

Frequent problems and their solutions

When you get the root rights to the Mi A2 Lite, you'll see some common errors, and here are the most common ways to fix them:

Problem.Reason.Decision
The "Couldn't unlock" error in the Mi Unlock Tool72 hours have passed since the account was linked or the account has not been confirmedWait 3 days or use an alternative method (EDL)
Phone gets fixated on Xiaomi logo after Magisk installationEncryption not disabled (FBE) or Disable_Dm-VerityPlease. Disable_Dm-Verity_ForceEncrypt.zip through TWRP Or run Format Data.
Touchscreen does not work in TWRPIncompatible version of TWRP or damaged imageDownload another version of TWRP (recommended 3.7.0) and repeat the firmware
Detect apps root despite MagiskHideSafetyNet not passed or the application uses its own checksInstall Universal SafetyNet Fix and MagiskHide Props Config
After the OTA update, the root disappearsThe update re-writes patch boot.imgDo not upgrade through OTA. Download full firmware and patch them manually through Magisk

If none of the methods worked, check:

  • πŸ”Œ Cable USB: Use the original Xiaomi cable (cheap cables may not transfer data to fastboot)
  • πŸ–₯️ Port port USB: Try connecting to the back port of the system unit (laptops sometimes lack power)
  • πŸ”„ Driver Version: Update Drivers ADB and Fastboot through SDK Platform Tools

How to remove root rights and return the phone to stock state

If you need to give up your phone under warranty, sell it, or just return it β€œas it was,” follow these steps:

Method 1: Magisk Manager (soft reset)

  1. Open the Magisk Manager
  2. Go to Settings β†’ Delete β†’ Complete Deletion
  3. Confirm the action and wait for the reboot

This method will remove the root, but leave the unlocked bootloader and TWRP (if installed).

Method 2: Completely reset via fastboot (hard reset)

  1. Download the stock firmware for your model (for example, daisy_global_images_V12.0.3.0.QDLMIXM_20210302.0000.00_10.0_global)
  2. Unpack the firmware and go to the folder with files
  3. Run commands: fastboot flash boot.img fastboot flash system.img fastboot flash vendor vendor.img fastboot flash dtbo dtbo.img fastboot erase userdata fastboot erase metadata fastboot reboot

⚠️ Attention: After a full fastboot reset, the bootloader will remain unlocked. To block it back, use the fastboot oem lock command. This will delete all data and may lead to a blink if the firmware is not stock!

FAQ: Answers to Frequent Questions

Can I get a root on the Mi A2 Lite without unlocking the bootloader?
No. On all modern Xiaomi devices, including the Mi A2 Lite, unlocking the bootloader is mandatory to obtain root rights. Any "unlocked methods" are fraud or viruses.
Will I lose my warranty after unlocking the bootloader?
Officially, yes. Xiaomi considers unlocking the bootloader a violation of warranty conditions. However, in practice, service centers often turn a blind eye to this unless the problem is related to a software part (for example, a broken screen or a faulty battery) To return the warranty, lock the bootloader and flash the stock firmware.
Can I update Android through OTA with root rights?
Technically, but not recommended. OTA update will overwrite the patched boot.img, and the root will disappear. Worse, the phone can get stuck on download. If you want to upgrade: Download the full firmware (.zip) from Xiaomi Patch boot.img via Magisk (Install to Inactive Slot option) Switch manually via TWRP or fastboot
How to hide root from a particular application if MagiskHide is not working?
Try the following steps: Install Island or Shelter module to isolate the application in the sandbox Use Xposed Framework with RootCloak module (but this is an outdated method and may conflict with Magisk) For games (for example, PUBG Mobile or Genshin Impact) try GameGuardian Hide module If nothing helps, temporarily remove the root through Magisk Manager β†’ Uninstall.
What if after unlocking the bootloader, the phone requires a password from the Mi Account?
This means that the Mi Account was tied to the device and now it is locked (Find Device feature). Solutions: Enter the correct password from the account that was tied If you forgot the password - restore it through the Xiaomi website If the account is not yours (buyed a used phone) - contact the previous owner or support Xiaomi with proof of purchase In extreme cases, swipe the phone through EDL (see Method 3), but this will delete all data