Forgot your pattern key or PIN code on Xiaomi Redmi? Or just want to remove the screen lock because it's in the way? In this article - 5 proven methods cancel the password on smartphones Redmi (including models Note 12 Pro+, Redmi 10C, Redmi A2 Lite and others). We will look at options without data loss (through settings and Mi Account) and methods with full reset (through Fastboot or recovery).

Important: if you don't remember your Xiaomi account password, some methods will not be available. In this case, you will have to use hard reset โ€”but this will delete all data from the phone. Let us warn you in advance: on models with a chip MediaTek (for example, Redmi 9A) unlocking via ADB may not work due to restrictions manufacturer.

Before you start, check:

  • ๐Ÿ”‹ The battery charge is at least 30% (the phone should not turn off when resetting).
  • ๐Ÿ“ก A stable connection to Wi-Fi or a mobile network (required for authorization in Mi Account).
  • ๐Ÿ’พ Backup of important data (photos, contacts, messages) - in case of a reset.
๐Ÿ“Š What Redmi smartphone do you have?
Redmi Note 12/11/10
Redmi A2/A1/A3
Redmi 9/9A/9C
Redmi 10/10C/10X
Other

1. Disabling the password through settings (if you know the current code)

The easiest way is to remove the password directly in the settings menu. It is suitable if you remember the current PIN, pattern or fingerprint.

Instructions:

  1. Unlock the phone in the usual way (enter the PIN or swipe the pattern).
  2. Go to Settings โ†’ Passwords and security โ†’ Screen lock.
  3. Enter the current password again to confirm.
  4. Select option "No" (or "Remove password" in new versions MIUI).
  5. Confirm the action.

If there is no item in the menu "No", then your Redmi security policy is installed (for example, corporate or via Find My Device). In this case, you cannot disable the password - you can only change it.

โ˜‘๏ธ What to check before disabling the password

Completed: 0 / 4

2. Resetting the password via Mi Account (if your Xiaomi account is linked)

If you have forgotten the lock password, but remember. data from your Xiaomi account (Mi Account, you can reset the lock through the website. This method works on most models Redmi, released after 2018.

Step-by-step guide:

  1. On a locked phone, press "Forgot your password?" (will appear after 5 unsuccessful entry attempts).
  2. Select "Unlock via Mi Account".
  3. Enter your login (email or phone number) and password from your account Xiaomi.
  4. Confirm unlocking via SMS or email (if two-factor authentication is enabled).
  5. Set a new password or disable blocking completely.

โš ๏ธ Attention: if the phone was purchased secondhand and linked to someone else Mi Account, this method will not work. In this case, you will need to contact the previous owner or contact support Xiaomi with proof of purchase.

What to do if the code does not arrive. confirmation?

Check the "Spam" folder in your mail. If the SMS does not arrive, try requesting a call with a code (if available). Also make sure that mobile data or Wi-Fi is turned on on your phone - the code will not be sent without a network.

3. Unlocking via ADB (for advanced users)

Method via Android Debug Bridge (ADB) suitable if your phone USB debugging mode is enabled has access to a computer. This is one of the few ways remove the password without losing it data, but it requires preparation.

What you will need:

  • ๐Ÿ–ฅ๏ธ Computer with installed drivers Xiaomi and tool ADB.
  • ๐Ÿ”Œ USB cable (preferably original).
  • โš™๏ธ Enabled USB debugging (Settings โ†’ About phone โ†’ MIUI version โ†’ press 7 times to unlock the developer menu, then Settings โ†’ Advanced โ†’ For developers โ†’ Software debugging USB).

Instructions:

1. Connect your phone to the computer and confirm trust in the device (on the phone screen).

2. Open the command line (Windows) or terminal (Mac/Linux) and enter:

adb shell

su

rm /data/system/gesture.key (for pattern key)

or

rm /data/system/password.key (for PIN code)

3. Reboot the phone: adb reboot

After reboot, the screen lock should disappear. If an error appears "Permission denied", then you do not have rights root - this method will not work.

๐Ÿ’ก

If ADB does not recognize the device, try reinstalling the drivers via Mi PC Suite or manually download them from site Xiaomi.

4. Reset via Recovery mode (will delete all data)

If other methods did not help, you can do so only by hard reset through recovery. This will delete all data from the phone, including photos, applications and settings!

How to reset:

  1. Turn off the phone.
  2. Press the buttons simultaneously Power + Volume up (on some models Redmi โ€” Power + Volume up + Volume down).
  3. Wait for the logo to appear Mi and release the buttons - the menu will open Recovery.
  4. Use the volume buttons to navigation and the power button to select.
  5. Select "Wipe Data" โ†’ "Wipe All Data".
  6. Confirm the action and wait for completion.
  7. Restart the phone ("Reboot").

โš ๏ธ Attention: on some models Redmi (for example, Note 10 Pro) after resetting via recovery you may need to enter data from Mi Accountthat was linked earlier. If you do not remember these data, the phone will turn into a โ€œbrickโ€!

Redmi model Is Mi Account required after reset? Does the ADB method work?
Redmi Note 12 Pro+ Yes No (without root)
Redmi 10C Yes Yes (if debugging is enabled)
Redmi 9A No No (MediaTek chip)
Redmi A2 Yes Yes (with restrictions)

5. Unlocking via Fastboot (for technically savvy)

If recovery is not available or does not help, you can try resetting via mode FastbootThis method is more complicated, but sometimes it saves when other options do not work.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Fastboot and drivers Xiaomi.
  • ๐Ÿ”Œ USB cable.
  • ๐Ÿ“ฅ Firmware for your model (download from the official website Xiaomi).

Instructions:

1. Turn off the phone.

2. Press Power + Volume down to enter Fastboot.

3. Connect the phone to the computer.

4. In the command line, enter:

fastboot devices (check connection)

fastboot oem edl (to go to EDL mode, if required)

fastboot flash userdata (to reset data)

5. Reflash the phone via Mi Flash Tool.

โš ๏ธ Attention: wrong commands in Fastboot can disable the phone forever. If you are not sure, it is better to contact the service center.

๐Ÿ’ก

Reset via Fastboot is an extreme measure. Use it only if other methods have not worked and you are ready to risk the phone becoming bricked.

Common mistakes and how to avoid them

When trying to remove the password on Redmi users often encounter typical problems. Here are the most common of them and solutions:

  • ๐Ÿ”„ "The phone asks for the old password after reset" โ†’ This means that the account Mi Account is still linked. You need to enter data from it or do a reset via Xiaomi Unlock Tool (official tool).
  • ๐Ÿšซ "ADB does not see device" โ†’ Check the drivers, enable USB debugging or try a different cable/port.
  • โš ๏ธ "After resetting, the phone requires the account of the previous owner" โ†’ This FRP lock (Factory Reset Protection). This can only be solved through the original owner or a service center with a receipt.

If all else fails, it may be installed custom firmware or activated on the phone anti-theft protection (for example, via Google Find My Device). In such cases, self-unlocking is almost impossible - you will have to contact specialists.

๐Ÿ’ก

Before purchasing Redmi always check whether it is unlocked Mi Account. Ask the seller to do the reset in front of you and make sure that the phone does not require old data after reboot.

Is it possible to remove the password on Redmi without losing data?

Yes, but only if:

  • You know the current password (via settings).
  • USB debugging is enabled on the phone and there is access to ADB.
  • The phone is linked to yours Mi Account (can be reset via account).

In all other cases, the data will be deleted.

What what to do if you forgot your Mi Account password?

Restore access through the official website account.xiaomi.com (link for help, do not click if you do not trust external resources). If recovery is impossible (for example, there is no access to email/phone), contact support Xiaomi with proof of purchase (receipt, box, IMEI).

Why does the phone require the old password after resetting through recovery?

This means that it is activated on the phone FRP protection (Factory Reset Protection). It is linked to the account Mi Account or Googlethat was on the phone before the reset. Without data from this account, it is impossible to unlock the phone.

Does unlocking work through service codes (##...)?

No, on modern smartphones Xiaomi Redmi service codes do not remove the screen lock. These codes (for example, ##4636##) are intended for diagnostics, not for resetting the password.

Is it possible to remove the password through Google Find My Device?

No, Google Find My Device allows only lock or erase data from the phone, but does not remove the current screen lock. This service is not suitable for unlocking.