Forgot the password on Xiaomi? unlock through the PC without losing data
Forget the pattern lock or PIN-The code on Xiaomi's smartphone is a bad situation, but it's fixable. If the standard Mi Account recovery methods don't work (e.g., no access to a linked number or mail), a computer comes to the rescue. In this article, we'll look at three proven methods: From official reset via Mi Unlock Tool to using Fastboot mode and even bypassing locking through ADB β If the phone has been turned on debugging USB.
Importantly, not all methods are suitable for the new Xiaomi 13/14, Redmi Note 12 or POCO F5 models due to the enhanced protection of MIUI 14/15. We will specify the limitations for each method and warn against typical errors that can turn a phone into a βbrick.β If you are not sure about your skills, you should contact the Xiaomi service center.
Before you start, check:
- π Do you have any originals? USB-cable (not all cables support data transmission).
- π» Computer on Windows 10/11 (for Mac/Linux Additional drivers will be required).
- π± The charge level of the phone is not lower than 30% β the discharge during the procedure can damage the firmware.
Method 1: Official reset via Mi Unlock Tool (for Mi Account phones)
This is the safest way, but it only works if:
- π§ The phone had a Mi Account attached (you remember the login and password).
- π The device is not stolen (otherwise Xiaomi will block the unlock).
- β³ At least 72 hours have passed since the last account was linked (Xiaomiβs rule for theft protection).
If the conditions are met, follow the instructions:
- Download the Mi Unlock Tool from the official website en.miui.com/unlock (the version must match your model).
- Install drivers for Xiaomi (if Windows doesnβt find them automatically, download Mi PC Suite).
- Connect your phone to your PC and start the Mi Unlock Tool. Sign in to your Mi Account.
The phone is unlocked from the operator (not tied to the phone). SIM)|Mi Account not banned|Antivirus is disabled on PC (can block drivers)|Port is used USB 2.0 (USB 3.0 sometimes doesn't recognize Fastboot)-->
Important: Once unlocked through the Mi Unlock Tool, the phone will be tied to your account even more strictly - reset without a password will be impossible for 30 days.
β οΈ Note: If the phone was bought with hands, the previous owner could not untie his Mi Account.In this case, Xiaomi will require proof of purchase (check or box with a cheque). IMEI). Without them, unlocking is impossible.
Method 2: Fastboot reset (without Mi Account but with data loss)
If you donβt remember the Mi Account data or the phone isnβt tied to your account, you can perform a hard reset via Fastboot mode, which works on most Xiaomi models, except for the new flagships with ARB 4.0+ protection (for example, Xiaomi 13 Ultra or Redmi K60 Pro).
You'll need:
- π₯οΈ Computer with installed ADB/Fastboot Drivers (you can download it in Android) SDK).
- π Firmware for your model (download from xiaomifirmwareupdater.com).
- π§ Mi Flash Tool (for firmware through the EDL, If the Fastboot doesn't work).
Instructions:
- Turn off your phone and log in to Fastboot (clamp Volume Down + Power).
- Connect to the PC and open the command line (Win + R β enter cmd).
- Check the connection command: fastboot devices If the phone is determined (the serial number will appear), continue. If not, install the drivers again.
- Run the reset command: fastboot erase userdata fastboot erase frp This will delete all data, including the password.
- Reboot the phone: fastboot reboot
| Xiaomi model | Does it support resetting via Fastboot? | Is it necessary to unlock the loader |
|---|---|---|
| Redmi Note 10/11 | β Yes. | β Not (unless you have a user experience). ROM) |
| POCO X3/X4 | β Yes. | β οΈ Yes (on some firmware) |
| Xiaomi 12/13 | β No (ARB 4.0 locks in) | β Official unlocking is required |
| Redmi 9/9A | β Yes. | β No. |
π‘
If fastboot erase frp doesn't work, try unlocking the bootloader first through the Mi Unlock Tool, even if you don't remember the Mi Account password. Sometimes it works on older models.
β οΈ Attention: On phones with MIUI 13/14 And then, after you reset it, you might need to enter the old password when you first set it up, and if you don't remember it, the phone will stay locked. EDL (see Method 3).
Method 3: Firmware via EDL (for power users)
EDL (Emergency Download Mode) is a "emergency" firmware mode that allows you to reflash your phone even if it's completely locked.
- π Authorized account EDL (You can not get it for free β only through service centers or purchase from official partners).
- π Firmware file in.tgz format for your model (download only from verified sources!).
- π» Mi Flash Pro (not to be confused with Mi Flash Tool!).
Step-by-step:
- Turn off your phone and turn it into EDL: For most models, press Volume Up + Volume Down + Power for 10-15 seconds. If it doesn't work, plug your phone into your PC, open Mi Flash Pro and press Refresh, the program will turn the device into EDL.
Mi Flash Pro
EDL
Choose firmware.
.tgz
Flash
After completion
What if the Mi Flash Pro doesnβt see the phone in EDL?
β οΈ Warning: Firmware through EDL Without an authorized account, it can result in a complete blocking. IMEI (The risk is particularly high on Xiaomiβs newer models (released after 2022.
Mi Unlock Tool|Fastboot|EDL|Talked to the service center |Never tried-->
How to avoid blocking after resetting
Even after a successful password reset, the phone may require the entry of the old password. PIN-code or data from Mi Account when you first set up, so that it doesn't happen:
- π Do not update your firmware immediately after resetting β set your phone up as new first.
- π± Don't plug in. SIM-card before the initial setup is completed (in some models this causes a password request).
- π Turn off Find Device in Mi Account settings if your phone was linked to your account.
If the phone still requires an old password:
- Try entering the last used PIN (sometimes it works even after resetting).
- If it doesnβt help, run the firmware through EDL with a complete erasure of the persist partition (this will remove all traces of the old password).
π‘
Phones with MIUI 14+ may need to be confirmed via Mi Account after a Fastboot/EDL reset, even if the account was not previously linked.
Frequent mistakes and how to fix them
When unlocking via PC, users often face typical problems, and here are the most common solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| fastboot: error: Failed to boot into fastbootd | Incompatible version of Fastboot or drivers | Update Platform Tools and reinstall drivers |
| Mi Unlock Tool: Couldnβt unlock | Phone is not tied to 72+ hour account | Wait 3 days or use another method. |
| Phone is not defined in EDL | No Qualcomm 9008 driver | Install the driver manually through Device Manager |
| After reset, asks for an old password | Do not erase the section frp or metadata | Repeat the reset with the fastboot erase metadata command |
If none of the methods worked, you may have reset protection (FRP) activated on your phone.
- π Official appeal in support of Xiaomi with proof of purchase.
- π’ Contacting the service center (cost - from 1,500 to 5 000) β½ model-wise).