Xiaomi Mi 10 Pro is a flagship smartphone with banking app-level protection, but even owners sometimes forget passwords. PIN-code" or "Device locked" after 5 failed attempts, do not panic: unlock is possible without contacting the service center.In this article, 5 proven methods of password reset, graphical lock or PIN-code, including methods with and without data storage.
It is important to understand that the Mi 10 Pro is based on MIUI with reference to Xiaomi account (Mi Account), which means that some methods will require authorization, and resetting through Recovery without detachment of the account will lead to activation of the protection of the Mi Cloud Lock - the device will request a username / password from the previous owner, We will analyze how to circumvent this protection legally and what steps to take if you bought the phone from your hands and do not know the data of the previous user.
Before you start, check:
- π Battery level (minimum 30% - when discharged during the procedure, the smartphone can turn into a "brickΒ»)
- πΆ Stable Internet connection (for Mi Account and Mi Account methods) ADB)
- π» Access to PCs with Xiaomi drivers installed (for Fastboot and Fastboot) ADB)
- π± Backup (if data is critically important, reset will erase everything)
1. Reset password through Mi Account (official method)
The safest way to do this is to use a Xiaomi account that is linked to your device, and it works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile network)
- π You remember the username/password from Mi Account that was used on the device
- π Find Device is activated in the settings
Instructions:
- On the lock screen, click βForgot your password?β (appears after 5 failed attempts to enter).
- Select βUnblock with Mi Accountβ.
- Enter your email/phone and password from your Xiaomi account.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new one. PIN-code.
β οΈ Note: If you bought the Mi 10 Pro with your hands and didnβt untie the previous ownerβs old account, this method wonβt work).
2 Unlocking through Recovery (Hard Reset) mode
Hard Reset is a radical method that erases all data on your device, including photos, messages and apps.
- π Donβt remember the password from the Mi Account
- π΅ No Internet access on your phone
- π» Ready to lose data to unlock
Step-by-step:
- Turn off the Xiaomi Mi 10 Pro with a long press of the power button.
- Press the Power Button + Volume up for 10-15 seconds at the same time until the Mi logo appears.
- In the Recovery menu, select the language (volume buttons) and confirm the choice with the power button.
- Go to Wipe Data β Wipe All Data.
- Confirm the reset by selecting Confirm.
- After completion, select Reboot.
βοΈ Preparation for Hard Reset
β οΈ Warning: After Hard Reset Mi 10 Pro may require input from Mi Account, which was tied before the reset.If you do not know this data, the phone will become a "brick" (Mi Cloud Lock). To avoid this, unplug your account in the settings (if available) before resetting, or use the method in Section 5.
3. Password reset via Fastboot (for advanced users)
Fastboot is suitable if you are familiar with the command line and ready to work with a PC.It allows you to reset your password without completely erasing data (in some cases), but requires:
- π» Computer with installed Xiaomi drivers and tool ADB/Fastboot
- π USB-cable (original to avoid connection problems)
- π§ Unlocked Bootloader β if it is blocked, the method will not work
Instructions:
- Turn off the phone and put it in Fastboot mode: press the Power button + Volume down.
- Connect the Mi 10 Pro to your PC via USB.
- Open the Command Prompt (CMD) in the ADB folder and type:
fastboot devices(Serial number of the device must be displayed).
- Enter the reset command:
fastboot erase userdata
fastboot erase frp- Reboot the phone:
fastboot rebootβ οΈ Warning: The fastboot erase frp team removes Factory Reset Protection, but on some firmware MIUI It might not work, but it would require a full reset through Recovery.
π‘
If the phone doesnβt show up after the fastboot device command, try reinstalling the Xiaomi driver via the official website or using the USB 2.0 port (not 3.0).
4. Unlock through ADB (without data loss)
The ADB (Android Debug Bridge) method allows you to reset your password without erasing data, but only works if:
- π§ The phone's debugging on. USB (USB Debugging)
- π» PC already authorized on the list of trusted devices (you have confirmed the connection previously)
- π± The phone is connected to the PC and is recognized in ADB
Instructions:
- Connect the Mi 10 Pro to your PC via USB.
- Open the command line and enter:
adb shell
su
rm /data/system/gesture.key
rm /data/system/password.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter resetting, the password will be reset, but:
- π pattern lock or PIN disappear.
- π± Application data and files will remain intact.
- β οΈ The method may not work on the latest versions. MIUI 14+ because of the increased protection.
What if the ADB canβt see the device?
5. Official unlock through Xiaomi (for buyers of used phones)
If you bought Xiaomi Mi 10 Pro handheld and the previous owner did not untie the Mi Account, the phone after reset will require the username / password.
- Contact the seller and ask to untie the account through the Mi Account website (Devices section).
- Contact Xiaomi with proof of purchase (check, contract, correspondence screenshots).
- π Prepare documents confirming the purchase (for example, a screenshot of the transfer of money to the seller).
- π§ Write in support via the official website or chat in Mi Community.
- π The term of consideration of the request - from 3 to 14 days.
β οΈ Note: Do not use the βgrayβ services to unlock Mi Cloud Lock β this violates the terms of use of Xiaomi and may lead to blocking IMEI. Official unlock is free if there is proof of purchase.
| Unlocking method | Mi Account required | Erase the data | Difficulty | Time. |
|---|---|---|---|---|
| Through the Mi Account. | β Yes. | β No. | β | 5-10 minutes |
| Hard Reset (Recovery) | β No (but may be required after resetting) | β Yes. | ββ | 15-20 minutes |
| Fastboot | β No. | β οΈ Partially (depends on the team) | βββ | 20-30 minutes |
| ADB | β No. | β No. | ββββ | 30-40 minutes |
| Official unlocking | β No, but proof of purchase is required) | β Yes. | ββ | 3-4 days |
6. Frequent mistakes and how to avoid them
When resetting a password on Xiaomi Mi 10 Pro, users often face typical problems:
- π The phone is not determined in Fastboot/ADB: Check the cable, port. USB Use the rear port. USB 2.0 PC-only.
- π Smartphone turns off during the procedure: charge it to 50% or connect it to charging during manipulations.
- π After reset, the old Mi Account is required: it is Mi Cloud Lock. The solution is official unlock (Section 5).
- π± Recovery sensor not working: on Mi 10 Pro, Recovery menu controls are done with volume and power buttons.
π‘ Useful tip: If you often forget passwords, set up a backup way to unlock in Settings β Screen locking β Backup password. It could be PIN-code.
π‘
On the Xiaomi Mi 10 Pro with MIUI 13+ firmware, the ADB password reset method only works when the bootloader is unlocked. If the Bootloader is locked, use official methods (Mi Account or Hard Reset).