Forgetting your smartphone password is a difficult situation, but it is not a hopeless one, especially if we are talking about Xiaomi devices, where the manufacturer has provided several ways to restore access, the main thing is not to panic or try to find a combination at random: after 5-10 unsuccessful attempts, the phone can lock up for 24 hours or completely erase all data.
In this article, we will discuss Xiaomiβs legitimate unlocking methods (including Redmi, POCO, Black Shark models) that run on current versions of MIUI 14/15 and HyperOS. From simple resets via Mi accounts to advanced ways using ADB and Fastboot.
β οΈ Important: If the phone has enabled data encryption (Settings option) β Additionally. β Encryption, if you reset via Recovery or Fastboot, all files will be deleted without recovery. Check this in advance if the phone is not already fully locked.
The methods in this article range from the simplest to the most complex. Start with the first section, you may not need to go into technical details.
1 Unblocking through Mi Account (the fastest way)
If your Xiaomi has a Mi Account attached and activated (even if you donβt remember the password from it), this is your chance to unlock the phone in 5 minutes.The method works on most models, including the Redmi Note 12, POCO X5, Xiaomi 13T and others with MIUI 12+.
Algorithm of action:
- On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
- Select the recovery option through your Mi Account.
- Enter an email or phone number linked to your account, and it will receive an SMS or a confirmation code.
- Follow the instructions on the screen β the system will prompt you to create a new password or PIN-code.
β Pros of the method:
- π No resetting required β all data remains in place.
- β‘ Fast - takes no more than 5-10 minutes.
- π± It works even without a computer.
β Cons and limitations:
- π« It wonβt work if your Mi Account wasnβt tied to your phone before being blocked.
- π If two-factor authentication is enabled on the account (2FA), You will need access to a backup email or phone.
- π΅ On some firmware (for example, the global version for Europe) the button Forgot the password? may not be available.
2 Unlocking through Find Device (Remote Control)
Another official way Xiaomi is using Find Device, which allows you to remotely unlock a device if it is connected to the Internet and has the option to Find a device (Settings β Mi Account β Find Device).
Step instructions:
- Go to account.xiaomi.com and log in to your Mi Account.
- In the menu, select Find Device (or Find Device in Russian).
- Your smartphone will be displayed on the map β click on it.
- On the right side of the screen, select the Unlock option.
- Confirm the action via SMS or email.
πΉ What to do if your phone is not displayed in Find Device?
- πΆ Make sure your phone has mobile internet or Wi-Fi on (even if the screen is locked, some models support background connectivity).
- π Try restarting your phone β sometimes it helps to activate your network connection.
- β³ Wait 10-15 minutes β location data may be updated with a delay.
π‘
If you donβt remember the password from your Mi Account, try to restore it through the official account.xiaomi.com/pass/reset site.
3. Reset password via Recovery Mode (with loss of data)
If previous methods failed, youβll have to resort to a hard reset via Recovery Mode, which will remove all data from your phone, including photos, messages and apps, but will return access to the device, which is suitable for most Xiaomi, Redmi and POCO models based on MIUI or HyperOS.
Step-by-step:
- Turn off the phone with a long press on the power button.
- Press the button combination to enter Recovery: For most models: Volume up + Power. For some older devices (e.g. Redmi 4X): Volume up + Volume down + Power.
Mi
Recovery
Use volume buttons for navigation and power button to select the item.
Wipe Data β Wipe All Data
Erase the data β Erase all data
Confirm the action and wait for the process to be completed.
Reboot β Reboot to System
β οΈ
Note: If the phone has enabled data encryption (Settings β Additional β Encryption), then after resetting via Recovery, it will be impossible to restore files.
π How to avoid data loss during resetting?
- π₯οΈ If the phone previously connected to the computer with debugging permission USB (USB Debugging: You can try to extract files through ADB (see section 5).
- βοΈ Check if sync with Google Account or Mi Cloud is enabled β some of the data (contacts, photos) may have been saved to the cloud.
Make sure your phone is at least 30 times charged%|
Download the latest firmware for your model (in case of errors) |
Prepare. SIM-Mobile Internet card (if Wi-Fi is not connected)|
Write it down. IMEI phone (in case of activation problems after resetting)-->
4. Unlock via Fastboot (for advanced users)
The method via Fastboot is suitable if:
- π The phone has disabled the option. OEM Unlocking (unlocking the boot loader).
- π₯οΈ You have a computer with Xiaomi drivers installed and the Mi Flash Tool tool.
- π₯ You are ready to download the official firmware for your model.
β οΈ
Attention: Fastboot missteps can turn your phone into a brick.If you're unsure of your skills, you'd better go to a service center.
Instructions:
- Download and install the Mi Flash Tool on your computer.
- Download the official firmware for your model from en.miui.com (select the Fastboot version).
- Turn off your phone and turn it into Fastboot: Click the "Loudness Down + Power" buttons before the rabbit logo appears.
- Connect your phone to your computer through USB-cable.
- Launch the Mi Flash Tool, press Select and specify the path to the downloaded firmware.
- Press Refresh β the program must detect the device.
- Select Clean All mode and press Flash.
- Wait for the process to complete (5-10 minutes) and restart the phone.
π§ Frequent mistakes and their solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| Couldn't find fastboot | Xiaomi or ADB drivers are not installed. | Install Android SDK Platform-Tools. |
| Device is locked | bootloader is blocked (OEM Unlocking option disabled). | Unlock the bootloader through the official tool (Mi Account is required). |
| Flash is not done | Incompatible version of the firmware. | Download firmware for the exact model and region (e.g. Redmi Note 11 Global). |
What if the Mi Flash Tool can't see the phone?
5. Data extraction via ADB (if debugging was enabled)
If the phone previously had USB debugging enabled (Settings β About Phone β MIUI version β 7 taps to activate developer mode β Developer settings β USB debugging), you can try extracting data via ADB before resetting.
This will require:
- π₯οΈ Computer with Android installed SDK Platform-Tools.
- π± USB-cable (preferably original).
- π Debugging permission on a locked phone (if the phone asks to confirm the connection, this method wonβt work).
Data extraction commands:
adb shell
su
cp -r /data/media/0/ /sdcard/backup/ # Copying user data
exit
adb pull /sdcard/backup/ C:\Xiaomi_Backup\ # Copy data to a computerβ οΈ
Note: On the newer versions of MIUI 14+ and HyperOS, access to /data via ADB is limited. If commands don't work, try an alternative method using TWRP (see next section).
π What data can be saved?
- πΈ Photos and video (folder) DCIM).
- π΅ Music and downloads (Download folder).
- π Contact and SMS (if they are not synchronized with Google/Mi Cloud).
- π Documents from Documents or Files folders.
6.Install custom Recovery (TWRP) for unlocking
If standard methods didn't work, and the data on the phone is critical, you can try installing custom Recovery (TWRP) and reset your password or backup through it, which is suitable for users who are willing to take risks and have experience with firmware.
π§ What's the matter:
- π± Unlocked boot loader (option) OEM Unlocking must be enabled before blocking).
- π₯οΈ Computer with ADB and Fastboot.
- π¦ File. TWRP For your model (you can download it on twrp.me).
Instructions:
- Download the image TWRP for its model (for example, twrp-3.7.0_9-0-lancelot.img for Redmi 9).
- Put your phone in Fastboot mode (see section 4).
- Connect your phone to your computer and execute the command: fastboot flash recovery twrp-3.7.0_9-0-lancelot.img
- Then reboot to the TWRP: fastboot boot twrp-3.7.0_9-0-lancelot.img
- From the TWRP menu, select Mount β Enable MTP to copy the data to your computer.
- To reset your password, go to Wipe β Format Data (Warning: This will delete all data!).
β Risks of the method:
- π¨ Wrong firmware TWRP may result in loss IMEI or a breakdown of the communication module.
- π On some models (e.g. Xiaomi) 12/13 setup TWRP It is blocked by anti-rollback protection (Anti-Rollback).
- π΅ After installation TWRP You may need to re-flash the original Recovery to work properly. OTA-update.
π‘
TWRP is an extreme method that should only be used if other methods have failed and the data on the phone is critical. For most users, it is easier and safer to reset the phone via Mi Account or Recovery.
7. Contact the Xiaomi Service Center
If all of these methods have not worked or you are afraid to damage the phone by self-manipulation, the best way to go is to contact the official service center Xiaomi.
π How to Find a Service Center:
- π In large cities, there are often authorized partner centers (for example, Svyaznoy, M. Video).
π° Cost and timing:
| Service | Cost (roughly) | Time limit for implementation |
|---|---|---|
| Unlocking the password (without loss of data) | 1 500 β 3 000 β½ | 1-3 days |
| Reset to factory settings | 1 000 β 2 000 β½ | 1 day |
| Data recovery after resetting | 3 000 β 10 000 β½ | 3-7 days |
β οΈ What to Consider When Choosing a Service:
- π Check if the center has the status of an authorized partner of Xiaomi (list on the official website).
πΉ What to take with you service:
- π± Phone itself (preferably with a charge of at least 50%).
- π Checks or warranty card (if the phone is guaranteed).
- π Login and password from the Mi Account (if you remember).
- π Passport (may be required to prove ownership).