Forgetting the pattern lock on Xiaomi Redmi is a frustrating situation, but it is not a hopeless one. Unlike iPhones, where unlocking without an Apple ID often means losing all data, Xiaomi smartphones offer several ways to solve the problem. However, it is important to understand that models with a MediaTek chip (for example, Redmi 9A, 10A) are more likely to save data than Snapdragon devices (Redmi Note 10 Pro, 11 Pro+), where reset via Fastboot usually erases everything.
In this article, we will discuss 5 working methods, from official (via Mi Account) to technical (using ADB or Recovery mode), each method illustrated with screenshots and accompanied by warnings about possible risks. If you are not sure about your Redmi model, check it in the settings along the Settings path β About Phone β Model β this will help you choose the right algorithm for actions.
1 Unlocking through Mi Account (official method)
The safest way to do this is to use a linked Mi Account, which works if:
- π± The phone is connected to the Internet (Wi-Fi or mobile data).
- π You remember the username and password from Mi Account (or you can restore them).
- π The "Find the device" function was activated in the settings.
Instructions:
- On the lock screen, tap Forgot the password? (or Forgot pattern? on English firmware).
- Select Sign in via Mi Account and enter the details.
- Confirm unlocking via SMS or email (if two-factor authentication is enabled).
- Create a new pattern lock or PIN-code.
β οΈ Note: If the phone is not connected to the network, this method will not work, and Xiaomi can request confirmation of ownership of the device through the tied number - without it, unlocking is impossible.
2. Recovery Mode reset (data loss)
If Mi Account is not tied or you don't remember the data, you'll have a hard reset through Recovery mode, which will delete all the data on your phone, including photos, contacts and apps. On Redmi models with MIUI 12/13/14, the path to Recovery may be different, below is the universal instruction.
Turn off the phone (press the power button for 10 seconds)
Connect the charger (the battery must be charged at least 30%)
Make sure there are no important unsaved data on your phone.
Prepare. PIN-code SIM-Cards (required after resetting)-->
How to log in to Recovery:
- Turn off the phone (if it is getting stuck β press Power + Volume up for 15 seconds).
- Click the combination: For most Redmi: Power + Volume up. For older models (Redmi 4/5): Power + Volume up + Volume down.
Recovery
Wipe Data
Wipe All Data
Reboot
β οΈ Note: Some Xiaomi firmware may require you to enter data on the Mi Account that was previously linked (even if you donβt remember it) after a reset, which is anti-theft protection, in which case you will have to contact Xiaomi with proof of purchase.
What to do if you need a Mi Account after resetting?
3. Unlock through ADB (for advanced users)
The Android Debug Bridge (ADB) method is fine if the phone has been debugging USB before locking. This is rare, but if you've previously connected Redmi to your computer for development or modifications, there's a chance.
- π₯οΈ A computer with installed Xiaomi drivers and ADB.
- π USB-cable (original, do not damage the port!).
- π Knowledge of the command line (or willingness to follow instructions).
Instructions:
- Connect your phone to your PC and open Command Prompt (Windows) or Terminal (Mac/Linux).
- Check the connection command: adb devices If the device is displayed, move on. If not, install drivers or try another cable.
- Delete the file with the pattern lock: adb shell rm /data/system/gesture.key or for newer versions of MIUI: adb shell rm /data/system/locksettings.db
- Reboot your phone: adb reboot
β οΈ Attention: MIUI 13/14 This method may not work because of the increased protection, and after the reboot, the phone may request PIN-code SIM-cards or data.
π‘
If ADB not seeing the device, try to turn on Fastboot mode (clamp Power) + Volume down) and use the command fastboot devices. You may need to unlock the bootloader, which will lead to a complete reset.
4.Use of the service "Find the device" (Mi Cloud)
If you have Find My Device enabled on your phone, you can try unlocking it remotely, which works even if your phone is not connected to Wi-Fi but has a mobile network.
Instructions:
- Go to [i.mi.com](https://i.mi.com/) and log in to your Mi Account.
- Select the blocked Redmi from the list of devices.
- Click Delete Data (or Erase Device).
- Confirm the action via SMS/email.
After that, the phone will be reset to factory settings and the pattern lock removed, minus the method: all data will be erased, including photos and messages.
| Unlocking method | Mi Account required | Loss of data | Difficulty |
|---|---|---|---|
| Through "Forgot your password"? | β Yes. | β No. | ββ (simple) |
| Reset via Recovery | β No. | β Yes. | ββ (simple) |
| ADB (USB debugging) | β No. | β Not if it works) | ββββ (difficult) |
| Mi Cloud ("Find the Device") | β Yes. | β Yes. | ββ (simple) |
| Contacting the service center | β No, but I need a check) | β Yeah (usually) | βββ (middle-of-the-road) |
5. Contact the Xiaomi Service Center
If none of the methods worked, the official service remains. Xiaomi can unlock the phone upon presentation:
- π Check or warranty card (proof of purchase).
- π Passports (for proof of identity).
- π± The device itself (must be in good condition).
The cost of the service varies from 500 to 2000 rubles depending on the model and region, in some cases, the service may refuse if the phone is listed on a blacklist (for example, was stolen).
β οΈ Warning: Don't go to informal workshops with "unlock in 5 minutes" offers. Often, these "specialists" use exploits that can be exploited:
- π΄ Forever lock the bootloader (bootloader).
- π΄ Install malware.
- π΄ Deprive the warranty (if the phone is guaranteed).
π‘
Xiaomiβs official service is the only legal way to unlock without losing data if other methods have failed, but there is no guarantee of data retention: it depends on the service centerβs policies.
6. Alternative methods (at your own risk)
You can find tips on how to unlock through firmware (Fastboot) or bypass your account (Mi Account) using special programs (for example, Mi Flash Tool).
- π¨ They can lock the phone forever).
- π¨ Requires unlocking bootloader, which erases data.
- π¨ Violate the terms of the guarantee.
If you do decide, here is a short algorithm for firmware via Fastboot:
- Download the official firmware for your model from [en.miui.com](https://en.miui.com/download.html).
- Unpack the archive and put the files in a folder with the Mi Flash Tool.
- Turn your phone into Fastboot mode (Power + Volume Down).
- Connect to your PC and run the firmware through the Mi Flash Tool (select Clean All).
β οΈ Note: On models with Snapdragon (e.g. Redmi Note 10 Pro), the firmware via Fastboot necessarily erases data. On MediaTek (e.g. Redmi). 9C) The chance to keep the information higher, but not guaranteed.