Faced with a situation when you need to unlock Xiaomi, which does not belong to you by documents? This can be a device bought from hand without resetting the settings, a gift with a forgotten password or the phone of a relative who lost access. It is important to understand that any attempt to circumvent the protection without the consent of the owner may violate the law (Article 272 of the Criminal Code of the Russian Federation on illegal access to computer information).
In this article, we will look at all the possible methods of unlocking Xiaomi, Redmi and POCO smartphones, from official to technical workarounds, and explain which ones are safe for data and which will lead to a complete reset. Particular attention will be paid to models with a chip MediaTek and Qualcomm Snapdragon, because the algorithms for unlocking them are fundamentally different.
1. Official ways to unlock through Xiaomi
If you have access to an email or phone number linked to your Mi Account, start with them. Xiaomi provides several legal tools to restore access:
- π Recovery of Mi Account Password: Go to account.xiaomi.com, select βForgot your password?β and follow the instructions. You will need access to your linked mail or SMS.
- π§ Confirmation via backup email: If the main mail is not available, the system may suggest sending the code to a backup address (if it was specified during registration).
- π Link to Xiaomi support: if there is a purchase check or box with IMEI You can contact the support team through the form on the website.
For models Xiaomi 12/13 series and newer, there is a strong protection: even after a reset via Fastboot, you will need to enter data Mi Account, previously associated with the device, and this applies to devices with HyperOS (the new firmware that replaced MIUI from 2026).
2 Unlocking through Recovery (Hard Reset) mode
The most radical, but versatile method is a full reset via Recovery Mode.It works on all Xiaomi models, but has critical flaws:
- π¨ All data: photos, contacts, messages and installed applications are deleted.
- π Mi Account is required: on new devices after reset, you will need to enter account data associated with the previous one.
- β οΈ Does not work on a locked bootloader: if the phone does not load beyond the Mi logo, you first need to unlock the Bootloader.
Instructions for discharge:
- Turn off your smartphone.
- Press the Power button + Volume up for 10-15 seconds at the same time until the Recovery menu appears.
- Use volume buttons to navigate, select Wipe Data β Wipe All Data.
- Confirm the action and wait for the reboot.
βοΈ Preparation for Hard Reset
β οΈ Note: On HyperOS devices (e.g. Xiaomi 14 or Redmi Note 13 Pro)+) After a reset, you may need to confirm via Mi Cloud even if you donβt have a password on your lock screen, which is due to Xiaomiβs security policy, introduced in 2023.
3. Bypass the lock screen via ADB (for Android 5-10)
If the smartphone is enabled debugging on USB (USB Debugging, you can try to delete the file with the password through ADB. The method only works on older versions. MIUI (up to 12.5) and requires a computer.
Algorithm of action:
- Connect your phone to your PC through USB-cable (original!).
- Open the command line (cmd) and enter:
adb shell
su
rm /data/system/gesture.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
rebootAfter the reboot, the lock screen should disappear.
- β Nana MIUI 13+ HyperOS does not work because of the changed password storage structure.
- β οΈ Root rights are required, which are not available on most production devices.
What if the ADB canβt see the device?
4 Unlock Bootloader: When it is necessary
If the smartphone is locked at the bootloader level (this device is locked appears), you will need an official unlock Bootloader. Xiaomi allows you to do this, but with restrictions:
- β³ Waiting 7-30 days: You have to wait until you link your Mi Account to your device (depending on the model).
- π± Owners only: Confirmation will be required through SMS or email linked to an account.
- π§ Mi Unlock Tool: Download the utility from the official website and follow the instructions.
Step-by-step:
- Install Mi Unlock Tool on Windows PC.
- Download the phone to Fastboot mode (clamp Power + Volume down).
- Connect the device to your PC and launch the utility. Sign in under the same Mi Account as you do on your phone.
- Press Unlock and wait until it is completed (usually 10-15 minutes).
Once you unlock Bootloader, the smartphone will be reset to factory settings, and all data deleted, and the warranty will fly off if it was still valid.
5. Alternative methods: risks and limitations
On the Internet, there are often offers to use:
- π Paid unlock services (e.g. DC-Unlocker or Octoplus): the cost ranges from 10 to 50$, But there's no guarantee of success. Many services require that you mail the device.
- π± Firmware through EDL-Mode: runs on Qualcomm chips, but requires an authorized Xiaomi account and special equipment (EDL cable).
- π οΈ Replacement of the motherboard: the last option if the phone is locked at the hardware level IMEI. Cost: 30-70% of the price of a new device.
β οΈ Note: Use of informal firmware (e.g. through TWRP) On new Xiaomi models (2022 and later), the deviceβs eMMC memory is often permanently blocked, and the phone can only be restored in a service center with a replacement chip.
| Method | Cost | Risk of data loss | Is a Mi Account Required? | It works on new models. |
|---|---|---|---|---|
| Recovery of Mi Account Password | Free of charge. | No. | Yes. | Yes. |
| Hard Reset via Recovery | Free of charge. | Yes (100%) | Yes (for activation) | Yes. |
| Unlocking Bootloader | Free of charge. | Yes (100%) | Yes. | Yeah (with waiting) |
| ADB (delete gesture.key) | Free of charge. | No. | No. | No (only MIUI <12.5) |
| Paid services (EDL, DC-Unlocker) | 10β50$ | Maybe. | Depends on the service. | Partially. |
Legal aspects: what the law says
In Russia and most CIS countries, unlocking someone else's smartphone without the owner's consent is qualified as illegal access to computer information (Article 272 of the Criminal Code of the Russian Federation).
- π° Fine up to 200,000 rubles.
- βοΈ Correctional work up to 1 year.
- π In some cases - imprisonment up to 2 years (if proven intent to steal data).
Exceptions:
- π You are the legal owner (there is a check, a contract of sale).
- π¨βπ©βπ§βπ¦ The phone belongs to a close relative (confirmation required).
- π The device was purchased as used with the consent of the previous owner for unlocking (written confirmation is required).
If you find a phone, the best option is to contact the police or the operator (by IMEI you can find the owner), in which case it will be considered an offence to unlock yourself.
π‘
Even if you successfully unlocked someone elseβs Xiaomi, the first time you connect to the Internet, the device can be blocked again through Mi Cloud services.
7. Frequent mistakes and how to avoid them
When trying to unlock, users often face typical problems:
- π Β«Invalid token in Mi Unlock Tool: means that Mi Account is not tied to the device.
- π΅ Phone is not defined in Fastboot: check drivers, cable and port USB. On Windows, sometimes disabling driver signatures helps.
- π Cyclical reboot after firmware: So the firmware is not suitable for your model. MIUI or HyperOS from Xiaomi's website.
- π Β«Device is locked after Hard Reset: New devices require Mi Account data entry even if the password on the lock screen is reset.
β οΈ Warning: If after unlocking Bootloader, the phone stopped booting, do not try to flash it again - this can lead to damage to the partition EFS (stored IMEI). In this case, it will be impossible to restore the network (calls, mobile Internet) without specialized equipment.
π‘
Before any firmware manipulation, save a backup copy of the EFS partition via TWRP (if installed) to help restore the IMEI in the event of a crash.