Owners of the Xiaomi Mi 5 Plus often face the need to unlock the device β whether it is removing the binding to the Mi Account, removing the bootloader lock to install custom firmware or bypassing a factory reset after a failed update. This model, released in 2016, is still popular thanks to the powerful Snapdragon 820 processor and 4 GB of RAM, but its software limitations can create problems.
Unlike newer Xiaomi devices, where unlock procedures are unified, the Mi is a great choice. 5 Plus requires a special approach due to the specifics of the firmware MIUI 8/9 In this article, we will discuss all the current methods, from official unlocking through the Mi Unlock Tool to bypassing locks through the Mi Unlock Tool. EDL-We will pay special attention to the risks (for example, the βbrickβ of the device when you do not act correctly) and nuances that are rarely mentioned in standard instructions.
If you have purchased a used device with a previous ownerβs account attached or want to install LineageOS/Pixel Experience, this guide will help you avoid typical errors. And for those who have never worked with ADB or fastboot, we have prepared step-by-step screenshots and video examples (links in the relevant sections).
1. Device Preparation: What to Do Before Unlocking
Before you start unlocking, you have to follow the necessary preparatory steps, which can lead to data loss, inability to restore, or even physical failure of the device.
β Check the version. MIUI. Outdated firmware (below) MIUI 10) may not support modern unlock methods. Update the device via Settings β The phone. β System Update: If your phone is locked, use the Mi Flash Tool to force firmware (instruction in Section 4).
β Backup. Even if you plan to unlock the bootloader, all data will be erased. Use Mi Cloud (unless your account is blocked) or third-party utilities like this. TWRP (If you already have it installed, Google Account will be suitable for contacts and photos.
Record the IMEI of the device (on the box or under the battery)
Check the battery power (minimum 60%)
Install Xiaomi drivers on PC (link in section 2)
Disable the antivirus (it can block the Mi Unlock Tool)
Download the official firmware for your model (for example, miui_MI5Plus_V12.0.1.0.QNGCNXM)
-->
β οΈ Note: If the device has Find Device enabled, unlocking through the Mi Unlock Tool will not be possible until it is disabled. This option is tied to the Mi Account and requires you to enter a password.
2. Official unlocking of the bootloader via Mi Unlock Tool
The most secure and recommended way Xiaomi uses is the Mi Unlock Tool, but it has strict restrictions:
- π Requires a Mi Account link (account must have been created at least 72 hours ago).
- π The device must be allowed to unlock in the settings (path: Settings) β Additionally. β For developers β Mi Unlock status).
- π Maximum number of unlocks from one account β 1 time in 30 days.
If the conditions are met, follow the instructions:
- Download Mi Unlock Tool (version no lower than 5.5.224.30).
- Log in to Mi Account on your phone and in the utility on PC.
- Put your phone into fastboot mode: turn it off, then press Volume down + Power.
- Connect the device to your PC and launch the Mi Unlock Tool. Press Unlock.
Typical errors and decisions:
- π΄ Cannβt unlock β check if your account is logged in for more than 72 hours.
- π΄ Current account is different from the account info on the device β log in to the same account as your phone.
- π΄ The utility βhangsβ by 50% β wait until completion (can take up to 10 minutes).
Official Mi Unlock Tool Officially
TWRP/Castom Recovery
EDL-mode (emergency firmware)
No, it's my first time.
Another method-->
3 Unlocking Mi Account without password: bypassing the binding
If you bought the Xiaomi Mi 5 Plus with hands and canβt contact the previous owner, you can delete the Mi Account in three ways:
- Password recovery β if you have access to the email/phone associated with your account.
- Reset via TWRP β if custom recovery is installed.
- EDL-mode - for devices with a blocked loader.
β οΈ Note: Methods 2 and 3 require an unlocked bootloader (see Section 2). If the bootloader is locked, the only option is to contact Xiaomi Service Center with proof of purchase (check, contract).
Method 1: Remove via TWRP
- Boot to TWRP (click Volume Up + Power).
- Go to Advanced β File Manager.
- Delete files: /data/system/gesture.key /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm
- Reset the device.
Method 2: EDL bypass (power users only!)
This method requires an authorized EDL account (e.g., through Xiaomi Authorized Unlock) and a dedicated cable.
Details on EDL-mode
4. firmware through Mi Flash Tool: recovery of the "brick"
If the Xiaomi Mi 5 Plus stops turning on after a failed unlock (black screen, red light flashes), it can be restored via the Mi Flash Tool. This method is also suitable for forced firmware updates if the device is not fully activated. OTA-updates are not available.
Step-by-step:
- Download the official firmware for the Mi 5 Plus (select the Fastboot version, not Recovery).
- Unpack the archive in a folder without Cyrillic characters (for example, C:\Mi5Plus\flash).
- Install the Mi Flash Tool and Qualcomm drivers.
- Transfer your phone to fastboot (or EDL if the device doesnβt respond).
- In the Mi Flash Tool, select the firmware folder and click Refresh β Flash.
β οΈ Note: If you see an error flash_write_failed, try:
- πΉ Use a different version of the Mi Flash Tool (e.g. 2017.4.25.0).
- πΉ Switch to Clean All (complete reset).
- πΉ Check the integrity of the downloaded firmware (MD5 must be consistent with the official).
Critical information: On the Mi 5 Plus, the firmware of MIUI 11 and later can cause problems with the NFC module. If you care about NFC, use firmware based on MIUI 10 or lower.
5. Install Custom Recovery (TWRP) and Root Rights
Once you unlock the bootloader, you can install TWRP and get root access, which will open up opportunities for:
- π± Installation of custom firmware (LineageOS, Pixel Experience).
- π§ Removing system applications (bloatware).
- π Backup through Nandroid Backup.
Instructions for installing TWRP:
- Download. TWRP for Mi 5 Plus (version) 3.6.2_9-0 or newer).
- Transfer the phone to fastboot and connect to the PC.
- The command is fastboot flash recovery. twrp-3.6.2_9-0-natrium.img fastboot boot twrp-3.6.2_9-0-natrium.img
- In TWRP, run Wipe β Format Data (this will remove encryption).
β οΈ Attention: On some firmware MIUI 12+ installation TWRP may result in loss IMEI. To avoid this, make a backup section before firmware. modemst1 and modemst2 team:
adb pull /dev/block/bootdevice/by-name/modemst1
adb pull /dev/block/bootdevice/by-name/modemst26.Alternative methods: FRP bypass and factory dump
If the Xiaomi Mi 5 Plus has FRP (Factory Reset Protection) enabled, after resetting via Recovery, the device will require you to enter the Google account data that was on it previously.
Method 1: Through ADB (if debugging is enabled)
- Connect your phone to your PC and do: Adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
- Reset the device.
Method 2: Using a button combination (not all versions of MIUI):
- On the welcome screen, press Emergency Call.
- Enter the code: ##4636## β Go to Usage Statistics.
- Click on the settings icon in the upper right corner and reset the settings.
Method 3: Through Fastboot (requires an unlocked bootloader):
fastboot erase frp
fastboot rebootπ‘
If none of the methods worked, try flashing the device through the Mi Flash Tool with the "Clean All and Lock" tick, which will remove the FRP, but block the bootloader again.
7. Frequent errors and their solutions
In the process of unlocking the Xiaomi Mi 5 Plus, users face typical problems, and we have collected them in a table with solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| This device is locked in fastboot | The bootloader is not unlocked | Use the Mi Unlock Tool (Section 2) |
| The phone is not defined in the Mi Flash Tool. | There are no Qualcomm drivers | Install drivers through Xiaomi Developer |
| After the firmware no network (IMEI invalid) | Modem section damaged | Restore the modemst1/modemst2 backup or flash the original firmware |
| Mi Unlock Tool writes "Wait 72 hours" | The account is not tied to the device | Sign in to Mi Account on your phone and wait 3 days |
| Processor temperature above 60Β°C after unlocking | Thermothrottle settings have been dropped | Install a kernel with corrected parameters (e.g. FrancoKernel) |
π‘
If after unlocking the phone stopped charging or quickly discharges, check the integrity of the partition. battery_stats.bin. It can be reset via adb shell dumpsys battery reset command.