Xiaomi Mi 8 Lite
platina
MIUI
root-right
Xiaomi
In this article, you will find the latest instructions for rooting on the Mi 8 Lite, taking into account the latest changes in the bootloader unlock mechanism, we will discuss two main methods: through official Xiaomi permission and workarounds for devices with blocked status, you will also learn how to avoid typical errors that lead to a โbrickโ of the phone, and what to do if banking applications stop working after installing Magisk.
Important: the procedure requires a full data backup. Unlocking the bootloader will reset the phone to factory settings, and improper actions can lead to a loss of warranty or device failure.
1.Preparation of the device: what to do before unlocking
Before you start unlocking, make sure your Mi 8 Lite meets the key requirements. First, check the MIUI version - it is recommended to use a stable global firmware (for example, MIUI 12.5 or 13) for successful unlock.
Second, charge the battery to at least 60 percent, and interruption due to battery discharge can cause software damage to the boot section.
- ๐ Cable USB Type-C (original or high-quality โ cheap cables can cause errors in data transmission)
- ๐ป Windows computer 10/11 Linux (MacOS may have driver problems) ADB)
- ๐ฑ Backup of data (photos, contacts, messages) โ after unlocking the bootloader, the phone will be reset
- ๐ Mi Account with a linked phone number (required for official unlocking)
Pay special attention to drivers. Install the latest version of the Mi PC Suite or manually download the ADB and Fastboot drivers from Xiaomi's official website. Without them, your computer will not be able to recognize your phone in fastboot mode.
โ ๏ธ Note: If your Mi 8 Lite was purchased in China (the domestic version), unlocking the bootloader may not be possible without circumventing regional restrictions. ROM through EDL-regime.
2 Unlocking the bootloader: official and informal ways
Since 2021, Xiaomi has tightened its policy of unlocking the bootloader, requiring you to link the device to your Mi Account and wait 7 to 30 days for confirmation, but there are ways to speed up the process or circumvent the restrictions.
Official method (recommended for beginners):
- Activate Developer Mode: Go to Settings โ About Phone โ MIUI version and tap 7 times on the line with the build number.
- Back to Settings โ Additionally. โ For developers and include OEM-unlocking and debugging USB.
- Connect the phone to the PC, confirm the debugging permission.
- Download Mi Unlock Tool, log in to your Mi Account and follow the program instructions.
If the program produces a "Couldn't unlock" or "Device not supported" error, your account has not yet been authorized to unlock, in which case informal methods can be used, but they require experience with ADB and Fastboot.
How to get around waiting for unlocking?
Alternatively, third-party utilities like the XiaomiTool V2 automate the unlock process, but require the antivirus to be disabled (many programs block it as โsuspiciousโ).
3. Installation of custom TWRP Recovery
Once the bootloader is unlocked, the next step is to install a customized recavator (TWRP) that provides a special recovery environment that allows you to install modified firmware and obtain root rights. For the Mi 8 Lite (platina), use the official TWRP build or verified unofficial versions from the developers from the XDA Developers forum.
Step-by-step:
- Download the file. twrp-3.7.0_9-0-platina.img (Or a newer version) and put it in the folder with fastboot.
- Transfer the phone to fastboot mode: turn off the device, then press Power + Volume down.
- Connect your phone to your PC and execute the command: fastboot flash recovery twrp-3.7.0_9-0-platina.img
- After successful firmware, restart to TWRP by clamping Power + Volume up.
If the TWRP doesn't start after the restart and the phone loads into a standard recaveri, MIUI has overwritten the custom recovery. To avoid this, immediately after installing the TWRP, follow the command:
fastboot boot twrp-3.7.0_9-0-platina.imgThis will temporarily boot TWRP without writing to memory, which will disable the firmware signature verification.
โ ๏ธ Attention: Some versions TWRP For the Mi 8 Lite, there's a touch screen bug. If the screen doesn't respond to touch, plug in. OTG-Mouse or use volume keys to navigate.
bootloader unlocked (Unlocked status in Mi Unlock Tool)|
TWRP file downloaded for platina| model
ADB/Fastboot drivers installed |
Backup of data created |
4. Getting root rights through Magisk
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 (if you configure them correctly).
Installation instructions:
- Download the latest version of Magisk-v26.4.zip (or later) from the official repository.
- Move the.zip file to your phone or flash drive.
- Download to TWRP and select Install โ Select Magisk-v26.4.zip โ Swipe to Confirm Flash.
- After installation, reboot to the system.
To check if the installation is successful, run the Magisk app (it will appear on the menu) and make sure that all modules are working. If the application does not start, then the MIUI firmware has been modified - you will need a patch boot.img through Magisk manually.
To hide root from banking applications (for example, Sberbank Online or Tinkoff):
- ๐ Enable MagiskHide in the app settings.
- ๐ฑ Add apps to the Hidden List (Configure DenyList).
- ๐ Reboot the phone.
๐ก
If after installing Magisk phone fixated on the logo MI, Try flashing the Disabler (DM-Verity Disabler). DM-Verity_Disabler_Treble.zip and set it up through TWRP after Magisk.
5. Typical errors and their solutions
Even with the correct instructions, users often encounter problems, and here are the most common mistakes and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Fastboot: FAILED (remote: 'Flashing is not allowed in Lock State') | The bootloader is not unlocked | Repeat the unlocking procedure through the Mi Unlock Tool or use the workaround method |
| E: Unable to mount /data in TWRP | Encrypted data section | Enter a pattern lock or password in TWRP to decrypt |
| The phone does not turn on after Magisk firmware | Incompatible version of Magisk or damaged boot.img | Sweep the original boot.img through fastboot flash boot.img |
| Banking apps donโt even work with MagiskHide | Provider detects changes in system partitions | Install Universal SafetyNet Fix and enable Enforce DenyList |
Critical information: Some MIUI 14+ firmware may not pass SafetyNet even with Universal SafetyNet Fix, requiring a rollback to MIUI 13 or an alternative root-enabled kernel.
If you've been manipulating your phone so hard, don't panic, and in most cases, you can restore it via fastboot:
fastboot flash boot original_boot.img
fastboot rebootWhere original_boot.img โ Original bootloader file extracted from firmware for your model.
6. Alternative methods of root without TWRP
If TWRP is difficult to install, you can get root rights in alternative ways, one of which is the boot.img patch through Magisk, which does not require custom recovery, but requires extracting the original boot.img from the firmware.
Step-by-step:
- Download the firmware for the Mi 8 Lite from the Xiaomi Firmware Updater website.
- Remove boot.img file from archive (use 7-Zip or WinRAR).
- Transfer boot.img to your phone and open it in the Magisk app (click Install โ Select and Patch a File).
- After patching, copy the received file magisk_patched.img PC-only.
- Fastboot: Fastboot Flash Boot magisk_patched.img
This method is suitable for firmware based on Android 9-11. Android. 12+ You may need an additional patch. init_boot.img (similarly boot.img).
Another option is to use PixelFlasher (for power users), which allows you to flash an image of an automatic bootloader through Magisk, but requires knowledge of the command line.
๐ก
Patch boot.img is the most reliable method for devices with a locked bootloader, as it does not require unlocking and installing TWRP. However, it is temporary: after updating MIUI root will disappear, and the procedure will have to be repeated.
7. What to do after obtaining root rights
Now that you have root access, you can optimize the Mi 8 Lite, and here are some useful steps:
- ๐งน Remove embedded software: Use Titanium Backup or System App Remover to uninstall unnecessary system applications (e.g. Mi Browser, Mi Music, Mi Video).
- โก Battery Optimization: Install Battery Charge Limit in Magisk to limit charge to 80% and extend battery life.
- ๐ฎ Overclocking of the processor: With Kernel Adiutor or FrancoKernel Manager, you can change the frequencies CPU/GPU, But it increases the heat and battery consumption.
- ๐ backup NVRAM: Make a backup copy of the section NVRAM (responsible IMEI and network settings) by command: dd if=/dev/block/bootdevice/by-name/nvram of=/sdcard/nvram.img
Be careful about changing system files, for example, deleting MiuiDaemon or SecurityCenter may cause MIUI to fail. Before any modifications, create a backup using TWRP or OrangeFox Recovery.
If you are planning to install custom firmware (like LineageOS or Pixel Experience), consider that for Mi. 8 Not all builds are available due to hardware platform features (Snapdragon) 660 + 6/4 Before you run, check the reviews on the forum. 4PDA or XDA.
8 How to return the phone to its original state
If you need to give up your phone under warranty or sell it, you need to remove root and return the standard software.
- Download the official firmware for the Mi 8 Lite from the Xiaomi website.
- Unpack the archive and place the firmware folder in the root of the C: disk.
- Download the phone to fastboot mode and connect to the PC.
- Launch the Mi Flash Tool, select the firmware folder and press Refresh (the device should be displayed).
- Select Clean All and Lock mode (this will block the bootloader and delete all data).
- Press Flash and wait until it is completed (the process will take 5-10 minutes).
After firmware, the phone will return to factory settings with the bootloader locked. Make sure that in Settings โ About Phone โ MIUI status is โOfficialโ.
โ ๏ธ Warning: If the phone doesn't turn on after firmware (black screen or logo hover), try flashing it back in clean all mode without locking the bootloader. If that doesn't help, it may be damaged. EMMC-chip-up.
๐ก
The phone can only be returned to its original state through official firmware. Using custom assemblies (for example, from third-party developers) does not guarantee complete removal of root traces and can lead to blocking of IMEI.