How to unlock Xiaomi Mi 5 Plus: The Complete Guide to 2026

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:

  1. Download Mi Unlock Tool (version no lower than 5.5.224.30).
  2. Log in to Mi Account on your phone and in the utility on PC.
  3. Put your phone into fastboot mode: turn it off, then press Volume down + Power.
  4. 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:

  1. Password recovery – if you have access to the email/phone associated with your account.
  2. Reset via TWRP – if custom recovery is installed.
  3. 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

  1. Boot to TWRP (click Volume Up + Power).
  2. Go to Advanced β†’ File Manager.
  3. Delete files: /data/system/gesture.key /data/system/locksettings.db /data/system/locksettings.db-wal /data/system/locksettings.db-shm
  4. 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
EDL (Emergency Download Mode – Emergency firmware mode available on Qualcomm smartphones. 5 Plus it is activated via testpoint (closing contacts on the board) or command: adb reboot edl In this mode, you can flash the device through the Mi Flash Tool, even if the bootloader is blocked" β€” 30% Incorrect actions. – Official firmware for your model is required (e.g, tiffany_images_7.3.2_20170302.0000.00_6.0_cn). - Not all versions of the Mi Flash Tool support all versions of the EDL for Mi 5 Plus (recommended version β€” 2018.5.18.0).

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:

  1. Download the official firmware for the Mi 5 Plus (select the Fastboot version, not Recovery).
  2. Unpack the archive in a folder without Cyrillic characters (for example, C:\Mi5Plus\flash).
  3. Install the Mi Flash Tool and Qualcomm drivers.
  4. Transfer your phone to fastboot (or EDL if the device doesn’t respond).
  5. 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:

  1. Download. TWRP for Mi 5 Plus (version) 3.6.2_9-0 or newer).
  2. Transfer the phone to fastboot and connect to the PC.
  3. The command is fastboot flash recovery. twrp-3.6.2_9-0-natrium.img fastboot boot twrp-3.6.2_9-0-natrium.img
  4. 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/modemst2

6.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)

  1. 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
  2. Reset the device.

Method 2: Using a button combination (not all versions of MIUI):

  1. On the welcome screen, press Emergency Call.
  2. Enter the code: ##4636## β†’ Go to Usage Statistics.
  3. 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 fastbootThe bootloader is not unlockedUse the Mi Unlock Tool (Section 2)
The phone is not defined in the Mi Flash Tool.There are no Qualcomm driversInstall drivers through Xiaomi Developer
After the firmware no network (IMEI invalid)Modem section damagedRestore the modemst1/modemst2 backup or flash the original firmware
Mi Unlock Tool writes "Wait 72 hours"The account is not tied to the deviceSign in to Mi Account on your phone and wait 3 days
Processor temperature above 60Β°C after unlockingThermothrottle settings have been droppedInstall 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.

FAQ: Answers to Frequent Questions

Can I unlock the Mi 5 Plus without losing data?
Any unlocking of the bootloader or resetting the Mi Account results in the complete deletion of the data from the internal memory.The only way to save the information is to create a backup before the procedure begins (via Mi Cloud or TWRP, if it is already installed).
What if the Mi Unlock Tool can’t see the device?
The problem is usually driver-related. Try: Install drivers manually through Device Manager (select Android Bootloader Interface). USB-port (preferably) USB Run Mi Unlock Tool on behalf of the administrator. Disable driver signatures in Windows (via gpedit.msc).
How to check if the bootloader is unlocked?
Turn off your phone and press Volume Down + Power to log in to fastboot. If you see Unlocked at the bottom of the screen with an open lock, the bootloader is unlocked. If Locked is locked.
Can I install Generic System Image (GSI) on the Mi 5 Plus?
Technically yes, but with reservations: πŸ”Ή An unlocked loader is required and TWRP. πŸ”Ή Not all. GSI-Firmware supports Snapdragon 820 (We recommend Phh-Treble). πŸ”Ή Possible problems with Wi-Fi, Bluetooth and NFC. Installation instructions: fastboot erase system fastboot flash system system-arm64-ab-vanilla.img fastboot reboot
Where to download the original firmware for Mi 5 Plus?
Official firmware is available on the sites: Xiaomi Firmware Download (global and Chinese versions), Xiaomi Firmware Updater (archive of older versions). 4PDA (Russian-speaking community, modified firmware). ⚠️ Avoid firmware from unofficial sources – it may contain malicious code or be assembled with errors.