How to unlock Xiaomi Mi5 if you forget the password from the Mi Account: all working ways in 2026

Mi Account passwords on Xiaomi Mi5 are one of the most common problems among smartphone owners, and the situation is complicated by the fact that without access to the account, you can not only use many of the device’s features (for example, data synchronization or Xiaomi branded services), but also reset your settings through the standard menu.

In this article, we will discuss all the current ways to unlock – from official recovery methods to alternative solutions, including the use of Fastboot, EDL-It is important to understand that some methods can lead to data loss or blocking. IMEI, So we'll go into detail and give you recommendations on how to minimize the risks, and if you're not sure about your skills, you should go to the service center.

Before you start, check if you can find a simple way: maybe you have linked a backup email or phone number to your account. Try to restore your password through the official Mi Account website. If this option does not work, read on.

1. Official password recovery via Xiaomi website

The safest and most recommended way is to use the recovery tools on Xiaomi’s website, which is suitable if you have access to a linked email or phone number.

Algorithm of action:

  • 🌐 Go to the Mi Account login page: account.xiaomi.com.
  • πŸ”‘ Click β€œForgot your password?” and select the recovery method: via email or SMS.
  • πŸ“§ If you choose email, check the Spam folder - sometimes emails from Xiaomi get there. the reset link is valid for 24 hours.
  • πŸ“± When restoring through SMS Please note that the number must be the same as when you registered your account.

After a successful password reset, reboot Xiaomi Mi5 β€” If this method has not worked (for example, you do not have access to the email/telephone, move to alternative methods.

⚠️ Warning: If a site requires you to enter an old password when you restore it and you don't remember it, try leaving the field blank or clicking "Skip." Sometimes the system misses this step.

πŸ“Š What kind of recovery you have tried?
Through email.
Through SMS
Through a backup account
Nothing helped.

2 Unlocking through Fastboot: step-by-step instructions

If the official method does not work, you can try to unlock it. Mi5 It's a Fastboot mode. It requires a computer, USB-Xiaomi cables and installed drivers. All data on the phone will be deleted!

What you need:

  • πŸ’» Windows computer (Windows recommended) 10/11).
  • πŸ”Œ Original. USB-cable (better the one that came with the phone).
  • πŸ“¦ Firmware archive for Mi5 (Choose the version of Fastboot).
  • πŸ› οΈ The Mi Flash Tool.

Instructions:

  1. Turn off the Xiaomi Mi5.
  2. Press the buttons Loudness down + Power before the logo Fastboot (robot with a gear).
  3. Connect the phone to the computer.
  4. Unpack the archive with firmware in a folder without Cyrillic characters (for example, C:\Mi5_Fastboot).
  5. Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
  6. At the bottom, select Clean All mode and press Flash.
  7. Wait for the process to be completed (5-10 minutes) and the phone will reboot automatically.

⚠️ Note: If after firmware, the phone requires you to enter the password from the Mi Account again, then the account was tied to the device at the hardware level. EDL (see next section).

β˜‘οΈ Preparation for firmware through Fastboot

Done: 0 / 5

3. Unlock through EDL-Mode: When Fastboot doesn't help

EDL (Emergency Download Mode is a firmware emergency mode that allows you to bypass the Mi Account lock even if the phone does not respond to other methods. This method requires soldering or using a special cable (EDL-cable), since the standard one is used. USB-Cable cannot be entered into mode.

How it works:

  • πŸ”§ In mode. EDL The phone connects to the computer as a Qualcomm 9008 (chipset). Mi5 β€” Snapdragon 820).
  • πŸ“₯ Through the Mi Flash Tool or QFil utility, a clean firmware is downloaded, which resets the binding to the Mi Account.
  • ⚠️ Risks: Mistakes can damage the bootloader or lead to loss IMEI.

Step-by-step:

  1. Buy or make it yourself. EDL-cable (to close contacts D)+ and D- USB-plug).
  2. Turn off the Mi5, connect the cable to your phone and then to your computer.
  3. Device Manager should appear Qualcomm HS-USB QDLoader 9008.
  4. Download the firmware for EDL (for example, from here) and unpack it.
  5. Launch the Mi Flash Tool, select the firmware folder and press Flash.
  6. Once completed, turn off the cable and turn on the phone with the power button.

If the phone does not turn on after firmware or gives an Invalid IMEI error, you will need to restore the IMEI through the engineering menu (for this, see the section on hardware methods).

What to do if the Mi Flash Tool is in error?
If the utility shows flash not done or critical error, try: - Reinstall Qualcomm drivers manually. - Use another version of the Mi Flash Tool (for example, 2018). - Check the integrity of the archive with firmware (unpack through WinRAR). - Try flashing through QFil instead of the Mi Flash Tool.

Hardware methods: soldering and closing of contacts

If the software didn't work, the last option is to physically tamper with the phone board, which requires soldering iron skills and an understanding of circuitry, and doing the wrong thing can make the phone go down!

There are two popular ways:

  • πŸ”₯ Test Point Contacts – Allows you to enter EDL No special cable. Mi5 you need to find two points and close them with tweezers or wire during connection to the USB.
  • πŸ”„ Flip-through UART β€” requires connection to contacts TX/RX on board and using the terminal to send commands.

The following steps are taken for Test Point:

  1. Disassemble Xiaomi Mi5 (need a mediator and a hair dryer to peel off the back cover).
  2. Remove the metal screen from the motherboard.
  3. Find the Test Point (two golden dots next to the USB-sleeves, usually signed EDL or TP).
  4. Connect. USB-cable to the computer, but not to the phone.
  5. Close the points with tweezers and, holding the circuit, connect the cable to the phone.
  6. Device Manager should have a Qualcomm 9008 device.
  7. Swipe your phone through the Mi Flash Tool as described in the previous section.

⚠️ Attention: On boards Mi5 After 2017, Test Point can be covered with a protective varnish, in which case it must be carefully scraped off with a scalpel.

If the phone does not turn on after soldering, check:

  • πŸ”‹ Battery status (possibly disconnected during disassembly).
  • πŸ”Œ Quality of contacts on plumes (especially display and power buttons).
  • πŸ“‘ Integrity of antenna contacts (if there is no network after firmware).

5.IMEI recovery after unlocking

Once you run through EDL or Fastboot, it’s not uncommon for the phone to lose its IMEI, a unique device identifier that’s essential for the mobile network to run, without which it won’t be able to make calls, send SMS or use the mobile internet.

To restore the IMEI, you will need:

  • πŸ“± Phone box (the original box is indicated). IMEI).
  • πŸ’» Computer with utilities QCN Rebuilder and QPST.
  • πŸ”§ Access to the engineering menu (#4636##).

Instructions:

  1. Install QPST and Qualcomm drivers on your computer.
  2. Turn it on. Mi5 Diagnostic mode: adb shell setprop sys.usb.config diag,serial_cdev,rmnet,adb
  3. Connect your phone to your computer and start QPST Configuration.
  4. In the program, select the Diagnostic port and click Start Clients β†’ Software Download.
  5. Download the.qcn file with the original IMEI (you can create it via QCN Rebuilder by specifying the IMEI from the box).
  6. Sweat the file to your phone and restart it.

Check the IMEI by typing *#06#. If it shows correctly but the network is still not available, reset (Settings β†’ Additional β†’ Restore and Reset).

Problem.Possible causeDecision
IMEI has become,000,000,000,000Firmware via EDL without backup nvramRestore the IMEI via QPST or Engineering Menu
No mobile network after IMEI recoveryIncorrectly specified Modem ID in.qcnAsk me again. modemst1 and modemst2 via Mi Flash Tool
QPST doesn't see the phoneQualcomm drivers are not installed or diagnostic mode is not activatedReinstall drivers, check the adb command
adb shell


su




dd if=/dev/block/bootdevice/by-name/nvram of=/sdcard/nvram_backup.img

This will help restore the original settings if something goes wrong.-->

6. Alternative methods: bypassing the lock without firmware

If you don't want to risk your data or are unsure of your skills, you can try bypassing your Mi Account without having to run a firmware, which doesn't always work, but sometimes it helps you temporarily unlock your phone.

Method 1: Resetting through Recovery

  • πŸ”„ Turn off the phone, then press the volume up. + Food to enter Recovery.
  • πŸ“› Choose Wipe Data β†’ Wipe All Data (management is done by volume and power buttons).
  • ⚠️ Important: If after resetting the phone again requires a password from the Mi Account, then the account is tied to the device at the bootloader level.

Method 2: Use the Mi Account Unlock Tool

  • πŸ’» Download the utility (for example, from here).
  • πŸ”Œ Connect your phone in Fastboot mode.
  • πŸ”‘ Run the utility and follow the instructions (you may need to enter) IMEI or Serial Number).

Method 3: Bypass ADB (if debugging is enabled)

  • 🐍 If the phone has previously been activated debugging USB, Put him on the computer.

⚠️ Note: Mi Account bypassing tools often contain malicious code. download them only from trusted sources (e.g., from trusted sources, XDA Developers) and check on VirusTotal.

7. Contacting a service center: when nothing helps

If all of these methods fail, the only reliable option is to contact Xiaomi’s authorized service center, which has access to Mi Account databases and specialized unlocking equipment.

What you need to know before your visit:

  • πŸ“„ Take your phone ID (check, warranty card, box) without it, you may be denied unlocking.
  • πŸ’° The cost of the service varies from 1,500 to 5,000 rubles, depending on the complexity of the.
  • ⏳ The deadline is 1 to 3 days (sometimes longer if you need to agree with Xiaomi).

How to find the official service:

  1. Go to the Xiaomi support website.
  2. Select a country and city, then filter the centers by the type of service "Unblock Account".
  3. Check the reviews about the center on Yandex.Maps or Google Maps – some β€œofficial” partners work in bad faith.

If there is no service center in your city, you can send your phone by mail (for example, through an official service in Russia), check in advance whether the courier service provides transmission and reception acts, this will protect you in case of loss of the device.

πŸ’‘

Officially unlocking through the service center is the only way to guarantee that you will keep your phone warranty, and all other methods (except for recovery via the site) will void warranty obligations.

FAQ: Frequent questions about unlocking Xiaomi Mi5

❓ Can I unlock it? Mi5 data-free?
Theoretically, yes, but in practice, it's almost impossible. Even if you use ADB or workarounds, you can damage your system files, and the only reliable way to save your data is to back up your data regularly through Mi Cloud or Google Account.
❓ Why does the phone need a password again after running through Fastboot?
This means that the Mi Account is tied to the device at the bootloader level, in which case only firmware through EDL or hardware intervention (Test Point closure) will help. Also check if the Device Protection feature is enabled in the account settings.
❓ It is legal to use Mi Account Unlock Tool?
Legally, no. These utilities exploit vulnerabilities in Xiaomi's system that violate user agreement, and they often contain malware, and we recommend using them only as a last resort and at your own risk.
❓ Can I unlock it? Mi5, If it is bought from hands and tied to someone else’s account?
Technically, yes, but this can be considered as illegal interference (Article 272 of the Criminal Code of the Russian Federation - improper access to computer information). If the phone is purchased from hand, try to contact the previous owner and ask him to delete the device from his Mi Account via the web interface. If this is not possible, contact the service center with the purchase documents.
❓ What to do if the sound is lost or the camera is not working after unlocking?
These are typical consequences of incorrect firmware. Try: Switch your phone again by selecting Clean all and lock mode in the Mi Flash Tool; Set custom restore (TWRP) and flash vendor and persist partitions separately; check the integrity of the plumes (possibly damaged during disassembly); If the problem persists, bring the phone to the service.