Xiaomi Mi 8 is the flagship smartphone of 2018, which is still popular thanks to powerful hardware and support for custom firmware. However, even 6 years after the release, owners face a lock problem: a forgotten pattern lock, PIN-code tied to Mi Account after reset or blocked bootloader when trying to flash the device. In this article, we will discuss all the current ways to unlock the Mi 8 (codename dipper), including official and alternative methods, taking into account the features of the device. MIUI Qualcomm Snapdragon 845 hardware platform.
It is important to understand that the methods of unlocking depend on the type of lock:
- π Screen locking (PIN, pattern lock, password)
- π± Mi Account (link to Xiaomi account after reset)
- π§ Bootloader (for installing custom firmware)
- π« Hardware locking (IMEI, lock-in)
Some methods require an unlocked bootloader, others only work on certain versions of MIUI, and we will specify the limitations for each method and warn against common errors that can turn the Mi 8 into a brick.
1. unlock the screen without data loss (MIUI 10β14)
If you have forgotten the pattern lock or PIN-code, but remember the data from the Mi Account attached to the device, you can use the official reset method through Find Device. MIUI 10 and newer, but requires:
- π Internet connection (Wi-Fi or mobile network)
- π§ Access to an email or phone linked to a Mi Account
- π Battery charge of at least 20%
Instructions:
- Go to i.mi.com and log in to your account.
- Select the Find Device tab β find your Mi 8 in the list.
- Click Unlock β Confirm the action via SMS or email.
- Wait for the notification on the phone (it can take up to 5 minutes).
π‘
If the device doesnβt show up in Find Device, check if Settings β Mi Account β Find Device is enabled before locking. If not, this wonβt work.
Limitations of the method:
- β It does not work if Find Device is disabled in the settings.
- β It will not work when resetting to factory settings (Mi Account entry is required).
- β On some firmware (for example, custom) the function may be disabled.
2.Reset via Recovery: When Mi Account is not tied
If Mi 8 is not tied to Mi Account or you are ready to lose data, you can perform a hard reset via stock recovery.
- π Deletion of forgotten password/pattern lock.
- π± Fixing software failures (e.g., getting stuck on logo).
- β οΈ It will not help if you need to enter a Mi Account after the reset!
Step-by-step:
- Turn off the phone (press Power + Volume up for 10 seconds).
- Press Power + Volume up until the Mi logo appears.
- In the recovery menu, select the language (if you have a choice) β Wipe Data β Wipe All Data.
- Confirm the action and wait for the completion (it will take 2-5 minutes).
- Reboot the device (Reboot).
Turn off the phone.|Charge the battery. >30%|Prepare a backup copy (if available)|Make sure there is no Mi Account binding-->
β οΈ Note: On some versions MIUI (for example, 12.5+) After reset via recovery, you may need to enter a password from Mi Account, even if it was not before blocking.This is due to Xiaomi's security policy.
3 Unlocking Mi Account after reset (official way)
Mi Account locking is one of the most common problems for Xiaomi Mi 8 owners, especially after buying a used device. Xiaomi ties the phone to an account to protect against theft, and after a reset via recovery or fastboot, you need to enter the username / password of the previous owner.
Method 1: Officially Unlocking through Xiaomi
If you bought a new phone and remember your account details:
- Go to account.xiaomi.com.
- Restore access to your account via email or phone.
- On the blocked phone, enter account information.
Method 2: Through Xiaomi Service Center
If the phone is purchased and the previous owner has not untied the account:
- π Prepare a check or a contract of sale (proof of ownership).
- π Contact the Xiaomi service center with an application for unlocking.
- β³ Term of consideration - from 3 to 14 days.
| Unlocking method | Data required | Time. | Loss of data |
|---|---|---|---|
| Through Find Device | Access to Mi Account | 5-10 minutes | No. |
| Reset via Recovery | β | 5 minutes. | Yes. |
| Official Unlocking of Mi Account | Phone IDs. | 3-4 days | No. |
| Firmware through Fastboot | Unlocked loader | 30-60 minutes | Yes. |
β οΈ Note: Buying Mi Account crawlers on third-party sites (for example, through services like miunlock.ru) often leads to fraud or re-blocking of the device. IMEI telephone for using unofficial methods.
4 Unlocking the bootloader (Bootloader) for firmware
If you need to unlock a bootloader on the Xiaomi Mi 8 to install custom firmware (like LineageOS or Pixel Experience), follow the official procedure through the Mi Unlock Tool.Please note: since 2021, Xiaomi has tightened the rules and unlocking can take up to 360 hours (15 days) of waiting.
Step-by-step:
- Download Mi Unlock Tool (Windows version)
- Sign in to your Mi Account on your PC and phone.
- On your phone, go to Settings β About Phone β MIUI version (click 7 times to turn on Developer Mode).
- Back to Settings β Additionally. β For developers and include: π§ OEM Unlocking π Debugging by USB
Mi 8
Fastboot
Food + Volume Down
Mi Unlock Tool
What happens if you break the unlocking of the bootloader?
Once unlocked, you can flash the Mi 8 through fastboot or TWRP. Popular firmware for dipper:
- π± MIUI Global Stable (official)
- π οΈ MIUI EU (without Chinese services)
- π€ LineageOS 18.1 (Android 11)
- π± Pixel Experience (Pure Android)
5. Alternative methods: EDL and testpoints
If standard methods donβt help (e.g., the phone doesnβt turn on or locks at the bootloader level), you can use hardware methods via EDL Mode (Emergency Download Mode), which allows you to flash the phone even with the bootloader locked, but requires:
- π§ Smoothing skills (to close testpoints).
- π» PC with Qualcomm drivers and Mi Flash program installed.
- π Firmware file in.tgz format for Mi 8.
The following is a step-by-step guide (for experienced users!):
- Download the firmware for Mi 8 (e.g., from Xiaomifirmwareupdater.com).
- Unpack the archive and place the firmware folder in the root of the C:\ disk.
- Turn off the phone, open the back cover and close the testpoints (see the diagram for dipper).
- Connect the Mi 8 to a PC, and the device is defined as a Qualcomm HS-USB QDLoader 9008.
- Start Mi Flash, select firmware and press Flash.
π‘
Firmware via EDL deletes all data, including Mi Account, but requires disassembling the phone. An error in choosing a firmware can damage the memory module (eMMC).
β οΈ Note: Incorrectly closing testpoints or choosing the wrong firmware (for example, for another model) can disable the eMMC module. On the Mi 8, this is a common problem when running through the firmware. EDL β The phone ceases to be determined by the PC and requires repair at the soldering station level.
6 Unlocking IMEI and network lock
If the Xiaomi Mi 8 doesnβt catch the network or shows an Invalid IMEI message, the problem may be related to:
- π‘ Damage. NVRAM (modem-setting).
- π Software lock operator (if the phone is purchased on credit).
- π οΈ Incorrect firmware (for example, version) MIUI elsewhere).
Methods of IMEI recovery:
- Through the Engineering Menu: Type on the keyboard ##4636##. Go to Phone Information β check for IMEI status.
QCN
1. Download the QPST utility and Qualcomm drivers.
2. Connect your phone in Diag mode (code for Mi 8: #717717##).
3.In QPST, select Restore QCN and download a backup.Through the firmware:
- Swipe your MIUI stock phone through Mi Flash with the Clean All tick.