How to unlock Xiaomi Mi 8 Lite: from password to Mi Account and bootloader

Forgot the pattern lock on Xiaomi Mi 8 Lite? Phone requires a Mi Account you don't remember? Or try to flash custom firmware but encounter a locked bootloader? Unlocking a smartphone is a challenge faced by one in five Xiaomi users, and the Mi 8 Lite is no exception. In this article, we will discuss all possible lock scenarios and ways to solve them - from simple (reset via Find Device) to complex (unlocking the bootloader through Mi Unlock Tool).

It's important to understand that the way you unlock depends on the type of lock, whether it's a locked screen (PIN, pattern lock, fingerprint), a tied Mi Account, or a bootloader. The Mi 8 Lite (M1808D2TG) is all three scenarios, but the approaches to solving them are fundamentally different. We won't offer "universal" tips, instead we'll give precise instructions for each case, taking into account the peculiarities of this model.

If you're looking for a way to get around lockdown without losing data, there are methods, but their effectiveness depends on the version of MIUI and the status of the phone. For example, on MIUI 12.5 and later, unlocking through ADB only works when debugging is enabled, and on older versions (before MIUI 10) you can use exploits. We'll look at all the current options, including official and informal.

1. unlock the screen (PIN, pattern lock, password)

The most common case is a forgotten password or a graphical key. There are several ways to solve this problem on the Xiaomi Mi 8 Lite, but their effectiveness depends on whether the phone is connected to the Mi Account and sync is enabled.

If you remember the data from your Mi Account, the easiest way is to use Find Device, which works even if the phone is not connected to the Internet at the time of locking, but requires that you have synced earlier. Here's how to do this:

  • ๐ŸŒ Go to i.mi.com and log in with the same account you have linked to your phone.
  • ๐Ÿ“ In the menu, select Find the device โ†’ Xiaomi Mi 8 Lite.
  • ๐Ÿ”“ Click Unlock the device and confirm the action through SMS email.
  • ๐Ÿ“ฑ The phone unlocks automatically within 1-2 minutes (internet connection required).

If Find Device doesn't work (for example, your phone isn't connected to the network), try Recovery, which will delete all the data but return access to the device:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data โ†’ Wipe All Data (use volume buttons for navigation, power button for confirmation).
  4. After resetting, the phone will restart in factory condition.

โš ๏ธ Attention: On the Mi 8 Lite with MIUI 14 and a newer reset via Recovery may require you to enter your Mi Account details even if it wasn't previously tied.This is a security measure from Xiaomi, so make sure you remember your login and password before resetting.

๐Ÿ“Š What type of lock your Xiaomi Mi 8 Lite has?
Forgot your password/pattern lock
Mi Account blocked
We need to unlock the bootloader.
Another case

2 Unlocking the Mi Account (if the phone requires login after reset)

If, after a Recovery reset or firmware update, the phone requires Mi Account details that you don't remember, it means the device is tied to an account. Xiaomi has introduced this feature to protect against theft, but it often becomes a problem for legal owners. There are several ways to get around this lock, but their legality and performance depend on the situation.

The official way is to restore access to the Mi Account:

  • ๐Ÿ“ง Go to account.xiaomi.com and click Forgot Password?
  • ๐Ÿ“ฑ Enter the linked email or phone number.
  • ๐Ÿ”‘ Follow the instructions to restore access (confirmation code will come to email or SMS).
  • ๐Ÿ“ฒ After restoring the password, enter the data on the phone - the lock will be removed.

If you canโ€™t restore your account (e.g., you bought your phone from your hands and the previous owner didnโ€™t untie it), there are still unofficial methods that require technical skills and may violate Xiaomiโ€™s terms of use.

  • ๐Ÿ”ง Passage EDL-It requires a box (Mi Flash Pro, UFi Box) and firmware for your model, which works on 90% of devices, but requires soldering or special cable.
  • ๐Ÿ“ก Use of exploits (e.g. Mi Account Bypass Tool) only works on older versions MIUI (until 11 inclusive. MIUI 12+ These methods are usually blocked.
  • ๐Ÿ› ๏ธ Replacement of the motherboard. Last option, if other methods did not help. on the Mi 8 Lite, the replacement fee will cost 3-5 thousand rubles (depending on the service center).
What happens if you interrupt the unlocking process through EDL?
Interruption of the process in EDL-The mode can lead to a "brick" (total inoperability) of the phone, in which case the device will not turn on, will not be determined by the computer, and it can only be restored using a programmer (for example, EasyJTAG) in the service center, the cost of such repairs starts from 8 thousand. ruble.
Unlocking methodTools requiredImplementation timeRisk of data lossWorks on MIUI 14?
Recovery of Mi AccountAccess to email/SMS5-10 minutesNo.Yes.
Bypassing through EDLBoxing, firmware, cable.30-60 minutesYes (full reset)Yes.
Exploitation (Mi Account Bypass)Computer, ADB15-20 minutesPartially.No.
Replacement of motherboardService centre1-3 daysYeah (total loss)Yes.

3. Unlocking the bootloader (bootloader) for firmware

If you want to install custom firmware (like LineageOS or Pixel Experience) or get root rights, you first need to unlock the bootloader. On the Xiaomi Mi 8 Lite, this is done through the official Mi Unlock Tool, but the process has a number of nuances:

  1. ๐Ÿ“ฑ Link your Mi Account to your phone: Go to Settings โ†’ Mi Account โ†’ Sync. Make sure your phone is linked to your account (Mi 8 Lite should be displayed in the Devices section).
  2. ๐Ÿ”— Activate debugging on USB and OEM-Unlock: Enable Developer Mode: Go to Settings โ†’ About the phone and 7 times click on the version MIUI. Back to Settings โ†’ Additionally. โ†’ For developers and include: Debugging by USB Unlocking OEM
  3. ๐Ÿ–ฅ๏ธ Download and install Mi Unlock Tool: The official utility is available on the website en.miui.com/unlock. Install Xiaomi drivers for your PC (unless the phone is identified).
  4. โณ Wait 72-168 hours: Once an account is tied, Xiaomi blocks unlock for 3-7 days.This is a security measure. Launch Mi Unlock Tool and log in. The utility will show the remaining waiting time.

Unlock the loader

  • Connect your phone in Fastboot mode (clip Power + Volume down).
  • In Mi Unlock Tool, press Unlock and confirm the action.

On the Mi 8 Lite with firmware newer than MIUI 12, unlocking the bootloader resets all data even if you don't perform the reset manually.This is due to Xiaomi's security policy.

Linking your Mi Account to your phone|Enable the developer mode|Activate debugging by USB and OEM-unlock|Download Mi Unlock Tool and Drivers|Wait 3-7 days after the account is linked-->

โš ๏ธ Warning: After unlocking the bootloader on the Mi 8 Lite, some security-related features may stop working: ๐Ÿ”’ Mi Pay (Contactless Payments) ๐Ÿ“ฑ Find Device (phone search) ๐ŸŽฎ These features will only be restored after the bootloader is blocked again (which is possible only through the official Xiaomi service).

4. Unlock via ADB (if debugging is enabled)

If your Mi 8 Lite has USB debugging enabled and your phone is locked, you can try unlocking it via ADB (Android Debug Bridge), which only works if the debugging has been activated before the screen locks.

You'll need:

  • ๐Ÿ–ฅ๏ธ A computer with installed Xiaomi drivers and ADB.
  • ๐Ÿ”Œ USB-cable (preferably original).
  • ๐Ÿ“ฑ Phone with a battery charge of at least 30%.

Instructions:

  1. Connect the phone to the computer.
  2. Open the command line (Win + R โ†’ enter cmd).
  3. Enter the commands in order: adb devices (should display your device), adb shell su (if root rights are available), rm /data/system/gesture.key (for a pattern lock) or rm /data/system/password.key (for a PIN/password)
  4. Reboot the phone: reboot

After the reboot, the lock will be reset. Importantly, this method does not work on all versions of MIUI. Since MIUI 12.5, Xiaomi has closed this vulnerability, and deleting key files may not work.

๐Ÿ’ก

If the adb device command doesnโ€™t show your device, try reinstalling drivers manually through Device Manager. For the Mi 8 Lite, the Qualcomm HS-USB QDLoader 9008 driver (if the phone is in EDL mode) or Android ADB Interface (for a normal connection) will work.

5 Unlocking through Xiaomi Service Center

If all the independent attempts to unlock failed, you can contact the official service center Xiaomi. This is the most reliable, but also the most expensive way. For the Mi 8 Lite, the unlock procedure will cost 1,500-3,000 rubles, depending on the type of lock:

  • ๐Ÿ“ฑ Removing the attachment to the Mi Account (if the phone is purchased from hand): ~2 500 rubles. + A check or a sales contract is required.
  • ๐Ÿ› ๏ธ Unlocking the bootloader (if necessary for firmware): ~2 000 rubles (includes flashing on the official version).

Advantages of using the service:

  • โœ… Guarantee for work performed (usually 3-6 months).
  • โœ… Maintaining an official guarantee (if it is still valid).
  • โœ… Data recovery (in some cases).

Disadvantages:

  • โŒ Long wait (from 3 days to 2 weeks).
  • โŒ High cost compared to self-unblocking.
  • โŒ Not all services work with โ€œgrayโ€ phones (brought from abroad).

๐Ÿ’ก

The official Xiaomi service is the only legal way to unlock if the phone is tied to someone elseโ€™s Mi Account. Independent methods in this case can lead to a complete loss of the deviceโ€™s performance.

6. Frequent mistakes and how to avoid them

When unlocking the Xiaomi Mi 8 Lite, users often encounter common preventable errors, including:

  • ๐Ÿ”Œ "Device not defined in Mi Unlock Tool": Reason: no drivers installed or phone not in Fastboot mode.Solution: Install drivers manually through Device Manager (select Android Bootloader Interface).

Another common problem is the loss of IMEI after firmware, and on the Mi 8 Lite, it's caused by damage to the modem partition.

  • Before the firmware save the IMEI (can be done via the MTK Engineering Mode app or the adb shell service call iphonesubinfo 3 command).
  • Use firmware compatible with your model (M1808D2TG for global version, M1808D2TE for Chinese version).

7. Alternative methods (for experienced users)

If the standard methods didn't work, you can try alternative methods, which require technical knowledge and can lead to data loss or phone "brick" and use them at your own risk.

Method 1: Firmware through EDL (Emergency mode)

If the phone is not turned on or locked at the bootloader level, you can flash it in EDL (Emergency Download Mode) mode.

  • ๐Ÿ”ง Deep Flash Cable (or a lintel on the motherboard).
  • ๐Ÿ–ฅ๏ธ Mi Flash Pro or QFilm.
  • ๐Ÿ“„ Firmware in.mbn format for your model.

Instructions:

  1. Connect your phone to your computer in EDL mode (close contacts on the board or use a special cable).
  2. In Mi Flash Pro, select firmware and press Flash.
  3. Wait until the process is completed (10-15 minutes).

Method 2: Using TWRP and Magisk

If you need to get root rights or install custom firmware, you can use TWRP (custom recovery). There are informal TWRP builds for the Mi 8 Lite, but installing them requires an unlocked bootloader.

Steps:

  1. Unlock the bootloader through the Mi Unlock Tool.
  2. Download TWRP for Mi 8 Lite (for example, from the XDA Developers forum).
  3. Please. TWRP Fastboot: Fastboot Flash Recovery twrp.img fastboot boot twrp.img
  4. In TWRP, install Magisk to obtain root rights.

โš ๏ธ Attention: Installation TWRP on Mi 8 Lite with MIUI 13+ This may result in loss of data in the section /data, Even if you don't perform a reset, always back up through adb backup or TWRP before experimentation.

FAQ: Answers to Frequent Questions

Can I unlock the Xiaomi Mi 8 Lite without losing data?
Yes, but only in two cases: If you remember your Mi Account and use Find Device, if your phone is debugging on USB and you can use ADB to delete your lock files, in all other cases (reset via Recovery, unlock the bootloader, and Fastboot firmware), the data will be deleted.
What if the Mi Unlock Tool says "Current account is not bound to this device"?
This error means that the Mi Account you logged in to the utility is not tied to your phone. To fix: On your phone, log in to Settings โ†’ Mi Account and link the device to your account. Wait 3-7 days (a mandatory condition for Xiaomi). Re-unlock. If the phone is locked and you can't log in, try logging in to Mi Unlock Tool under another account that was previously used on that device.
How to know if the bootloader is unlocked on the Mi 8 Lite?
There are two ways: Turn on your phone and go to Settings โ†’ About Phone โ†’ MIUI Version. Click 7 times on the kernel Version, then go back to Additional โ†’ For Developers. If there is an Unlock Status item and it is marked as Unlocked, the bootloader is open. Turn off the phone and press Power + Volume down to log in to Fastboot. If there is a UNLOCKED sign at the bottom of the screen, the bootloader is unlocked.
Can I unlock the Mi 8 Lite if it is bought from hand and tied to someone elseโ€™s Mi Account?
Technically, but legally, only through the official Xiaomi service. You will need: a check or a purchase agreement (to prove ownership), a passport of the owner, an application to the service center with an application for unlocking. Independent methods (for example, through EDL) may work, but they violate the terms of use of Xiaomi and can lead to the loss of warranty or โ€œbrickโ€ of the phone.
What firmware to choose for Mi 8 Lite after unlocking the bootloader?
Depends on your goal: ๐Ÿ“ฑ Official firmware: download from the official website (choose the version for the M1808D2TG โ€” global M1808D2TE โ€” Chinese). ๐Ÿ”ง Custom firmware: LineageOS is pure Android without unnecessary apps. Pixel Experience is firmware with an interface like Google Pixel. Havoc-OS is firmware with extensive customization options. Check compatibility on the forum before you run the firmware. XDA Developers (Segment Xiaomi Mi 8 Lite).