How to get root rights to Xiaomi Mi 9 Lite: a safe way in 2026

Why you need root rights to the Mi 9 Lite

Xiaomi Mi 9 Lite (codenamed pyxis) is still a popular device due to its balance of performance and price. However, standard Android restrictions do not allow you to unlock the full potential of the device, obtaining root rights allows you to access system files, remove embedded applications, optimize battery life and even install custom firmware.

But before you get started, it’s important to understand that the process requires unlocking the bootloader, installing custom recovery (TWRP) and installing Magisk firmware. Each step carries risks from loss of warranty to β€œbricking” the device. In this article, we will analyze the current 2026 method of getting root on the Mi 9 Lite, taking into account the latest MIUI updates and changes in Xiaomi policy.

Preparation: What to do before unlocking

Before you start manipulating the system, follow the necessary preparatory steps, which minimizes risks and makes it easier to recover in the event of a failure.

  • πŸ“± Save all the data: root and unlock the bootloader result in a complete device reset.Use Mi Cloud, Google Drive or local backup.
  • πŸ”‹ Battery charge: make sure the charge level is at least 70%. interruption of the process due to discharge can make the phone inoperable.
  • πŸ’» Install drivers: download Mi Unlock Tool and drivers for Qualcomm (Snapdragon 710 chipset in Mi 9 Lite requires them for fastboot to work correctly).
  • πŸ” Check the version. MIUI: current firmware (e.g, MIUI 14 based on Android 12) can block old unlock methods. Update to the latest stable version via Settings β†’ The phone. β†’ Updating the system.

Also prepare. USB-cable (preferably original) and Windows-based computer 10/11. MacOS or Linux may have problems with Qualcomm drivers.

πŸ“Š You’ve already got root on Xiaomi?
Yeah, on another device.
No, it's my first time.
I tried it, but it didn't work.
I don't know what that is.

Step 1: Unlock the bootloader (Bootloader Unlock)

Xiaomi blocks the bootloader on all devices by default. To unlock it, you need to get permission from the manufacturer through the official Mi Unlock Tool.

  1. Link your Mi Account to your phone: Go to Settings β†’ Xiaomi Account and log in. Enable sync and confirm the link via SMS.
  2. Activate Developer Mode and allow OEM unlocking: Open Settings β†’ About Phone and 7 times click on MIUI Version. Return to Settings β†’ Additional β†’ For Developers. Enable OEM Unlock and USB Debugging.
  3. Connect your phone to your PC, launch the Mi Unlock Tool, and follow the instructions. It can take up to 72 hours to link your account to your device (Xiaomi checks the request manually).

Once successfully unlocked, the phone will automatically reset to factory settings. Do not interrupt the process - this can lead to loss of IMEI or inoperability of the communication module.

Linked to Mi Account on phone|Unlocking enabled OEM|Qualcomm drivers installed|Battery charge >70%|Data backup made.-->

Step 2: Install custom recovery (TWRP)

Xiaomi’s standard recovery doesn’t allow you to flash modified files. To get root, you’ll need TWRP, a custom recovery with advanced features. For the Mi 9 Lite, use a pyxis-compatible version.

Download the current image of TWRP from the official website:

https://twrp.me/xiaomi/xiaomimi9lite.html

Or from the XDA Developers forum (look for themes tagged [pyxis]).

TWRP firmware is implemented via fastboot:

  1. Turn off the phone and press Volume Down + Power to log into fastboot.
  2. Connect the device to the PC and execute the command: fastboot flash recovery twrp-3.7.0_9-0-pyxis.img fastboot boot twrp-3.7.0_9-0-pyxis.img
  3. After rebooting to TWRP, don’t forget to turn off signature verification (if you have a request to modify the system, select Keep Read Only).
What to do if TWRP does not start?
If the phone is loaded into standard recovery after firmware, MIUI has overwritten TWRP. Solution: 1. Repeat TWRP firmware via fastboot. 2. Immediately after installation, execute the command fastboot boot twrp.img (without rebooting!). 3. In TWRP, go to Mount β†’ Disable DM-Verity (if there is such a point). 4. Switch Magisk (step 3) and then restart to the system.

Step 3: Install Magisk to get root rights

Magisk is a universal tool for obtaining root rights without changing the systemless root, which allows you to pass SafetyNet check and use banking applications.

Installation instructions:

  1. Download the latest version of Magisk (Magisk-v26.4.zip or later) from GitHub.
  2. Move the archive to your phone or flash drive.
  3. Boot to TWRP (Put Volume Up + Power on).
  4. Press Install, select Magisk-v26.4.zip and swipe for confirmation.
  5. After installation, reboot to the system.

Check for root rights using the Magisk Manager app or 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 boot, try flashing Disable_Dm-Verity_ForceEncrypt.zip (find 4PDA). This will disable forced encryption, which sometimes conflicts with modified firmware.

Problems and Solutions: What to Do When Something Goes Wrong

Even if you follow the instructions accurately, you can get errors, and let's look at the typical scenarios and how to fix them.

Problem.Possible causeDecision
Mi Unlock Tool is a "Couldn't unlock" errorThe account is not tied to the device or 72 hours have passedWait 3 days, check your account’s binding in Settings β†’ Xiaomi account
After the firmware TWRP phone does not turn onIncompatible recovery or interrupted firmwareSweep through the official firmware through the Mi Flash Tool in clean all mode
Magisk doesn't pass SafetyNetObsolete version of Magisk or forced encryption enabledUpdate Magisk, go to Universal SafetyNet Fix (module for Magisk)
No network after unlocking the bootloaderLost IMEI or damaged modemRestore. IMEI through QCN-file (instructions for 4PDA)

⚠️ Attention: If after unlocking the bootloader, the speaker sound disappeared or the camera stopped working, most likely, the firmware persist was damaged. EDL-Mode (requires an authorized Xiaomi account or paid services like Mi Flash Pro).

What to do with the root rights on the Mi 9 Lite

Root offers a lot of customization and optimization opportunities, and here are some useful applications:

  • πŸš€ Remove unnecessary bloatware (e.g. Mi Browser, Mi Music) with Titanium Backup or adb shell pm uninstall --user 0 packet.
  • πŸ”‹ Battery Optimization: Set up Greenify for aggressive background control or change the kernel settings via Kernel Adiutor.
  • 🎨 Topics and Modifications: Install Substratum for deep customization of the interface or scrolle through the Xposed Framework (if supported by your version of Android).
  • πŸ“± Nandroid Backup: Create a Full System Snapshot TWRP before the firmware experiments.

However, remember that some actions (such as removing system APKs) can lead to unstable work.

πŸ’‘

Root rights void the warranty Xiaomi. If you plan to contact the service center, return the device to factory condition (sweep the official firmware through the Mi Flash Tool).

FAQ: Frequent questions about root on Xiaomi Mi 9 Lite

Can I get root without unlocking the bootloader?
No. On all modern Xiaomi devices (including the Mi 9 Lite), unlocking the bootloader is mandatory for custom recovery and Magisk. Bypasses like exploits (like DirtyCOW) don't work on current versions of MIUI.
Will Google Pay work after you get root?
The default is no, because root breaks SafetyNet. However, you can bypass the restriction: Install MagiskHide Props Config. Enable Magisk Hide in Magisk settings. Scroll through Universal SafetyNet Fix. After that, Google Pay should work, but there is no warranty - banks periodically tighten checks.
How do you get it back (to root)?
To remove root and return the device to its original state: Download the official firmware for the Mi 9 Lite from the Xiaomi website. Sweat it through the Mi Flash Tool in clean all mode (this will delete all data!). Lock the bootloader back through fastboot oem lock (optional, but recommended for security).
Can I update my MIUI after I get root?
Yes, but with caution. OTA-Updates through Settings result in root loss. Alternatives: Download full firmware (.tgz) and stitch them through TWRP Use OrangeFox Recovery, which is better compatible with the OTA You'll have to re-stitch Magisk after the update.
Why does the NFC not work after unlocking the bootloader?
This is a known problem on some Xiaomi devices, caused by damage to the persist partition or conflict with TWRP. Solutions: Fly the official firmware through fastboot with a clean all and lock checkmark. If the NFC still doesn't work, restore persist via EDL (requires Xiaomi authorization).