Forgot the password on Xiaomi Redmi: how to unlock your phone without losing data

Why Xiaomi is getting blocked and what to do first

Forgotten password on Xiaomi Redmi is a bad situation, but it is solvable. Modern Xiaomi smartphones use several levels of protection: a pattern lock, PIN-If you typed the wrong code too many times, the system could lock the device for 5 minutes, an hour, or even require a reset. The key is not to panic or try to guess the combination at random, which will only make the problem worse.

The first thing to check is whether your phone is connected to the Internet (Wi-Fi or mobile network). Many unlocking methods require access to Xiaomi servers. If you don't have Internet, try connecting to another network or using it. SIM-Also make sure the battery is at least 30% charged - discharging during a reset can turn the phone into a brick".

If you've previously linked a device to a Mi Account, the chances of successfully unlocking without losing data are much higher, but even without a binding, there are working methods, from official to technical (via Fastboot or ADB), then we will analyze all the options in steps, taking into account the models of the Redmi Note 10/11/12, Redmi 9/10 and other popular lines.

Method 1: Unlocking with Mi Account (official method)

The safest and most recommended way for Xiaomi is to use a tied Mi Account.

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile data).
  • πŸ”‘ You remember the username and password from your Mi Account (or you can restore them).
  • πŸ”„ The device was tied to the account before being blocked.

Instructions:

  1. On the lock screen, tap the button Forgot password? (or Forgot password? on English firmware).
  2. Select the option to Sign in via Mi Account.
  3. Enter the email or phone number associated with the account, then the password.
  4. Confirm your login via SMS or email (if two-factor authentication is enabled).
  5. Follow the system instructions for resetting the lock password.

If the buttons Forgot your password? no, try entering any password 5 times in a row - after that, a recovery link should appear. Some firmware (MIUI 13/14) may require a Wi-Fi connection to activate the option.

⚠️ Note: If you bought your phone with your hands and the previous owner didn’t untie his Mi Account, this method won’t work).

πŸ’‘

If you do not remember the password from Mi Account, restore it on the official website account.xiaomi.com. Use the backup email or phone number specified during registration.

Method 2: Unlocking with Find Device (Remotely)

Find Device (similar to Google’s Find Phone) not only allows you to track the location of Xiaomi Redmi, but also unlock it remotely.

  • 🌍 The device is connected to the Internet.
  • πŸ”’ Find Device has been activated in settings (Settings) β†’ Mi Account β†’ Find Device).
  • πŸ“± You remember the data from your Mi Account.

Step-by-step:

  1. Go to i.mi.com from a computer or other phone.
  2. Sign in with your Mi Account.
  3. In the menu on the left, select Find Device (or Find Device).
  4. The map will show your Redmi. Click on it, then select Unlock (or Unlock).
  5. Confirm the action with a password from the account.

After that, the lock password on the phone will reset, and you can set a new one. If the Unlock option is inactive, then the Find Device function has been disabled in the device settings.

πŸ“Š Have you ever used the Find Device feature on Xiaomi?
Yeah, I found a lost phone.
Yeah, remotely blocked.
No, but I know it exists.
No, and no planning.

Method 3: Hard Reset (full reset via Recovery)

If the previous methods didn’t work, the radical method is Hard Reset, which will delete all data from the phone, including photos, messages and apps, but will return access to the device, which is suitable for all Redmi models, including the Redmi Note 8/9/10/11/12, Redmi 9A/9C/10A and others.

Instructions for resetting via Recovery Mode:

  1. Turn off the phone with a long press on the power button (or Power + Volume Up if the screen is unresponsive).
  2. Press the button combination: For most models: Volume Up + Power. For Redmi Note 10/11/12: Volume Up + Power (hold 10-15 seconds). For older models (Redmi 4/5): Volume Up + Power + Home (if there is a physical button).

Mi

Recovery

Use volume buttons for navigation and power button for selection.

Wipe Data

Wipe All Data

Confirm

Reboot

The phone will reboot in factory condition, and at the setup stage you will be asked to restore data from the backup (if it was created in the Mi Cloud).

⚠️ Attention: On some firmware (MIUI 12+) After Hard Reset, you may need to enter data from the Mi Account that was linked to the device. If you do not remember them, the phone will remain locked (so-called account binding after a reset).

Turn it off. SIM-card and memory card (if any)

Battery charging at least 50%

Another phone is on hand to record the process (in case of errors)

Check the button combination for your model-->

Method 4: Unlocking via Fastboot (for advanced users)

If Recovery Mode is unavailable or the phone asks for Mi Account after reset, you can try unlocking via Fastboot, USB-It's a cable and basic command line knowledge that's suitable for bootloader models).

What you need:

  • πŸ–₯️ Computer with Windows/Linux/macOS.
  • πŸ”Œ Original. USB-cable (better from the set).
  • πŸ“¦ The Mi Flash Tool or ADB/Fastboot.
  • πŸ”“ Unlocked bootloader (if not - see spoiler below).

Instructions:

  1. Turn off the phone.
  2. Press Volume Down + Power to enter Fastboot Mode (a hare in a hat-eared image will appear).
  3. Connect the phone to the computer.
  4. Download and install Mi Unlock Tool (the official utility from Xiaomi).
  5. Launch the utility, log in to your Mi Account and follow the instructions on the screen.
  6. If the bootloader is unlocked, you can flash the stock firmware through the Mi Flash Tool (this will delete all data).
How to unlock bootloader on Xiaomi?
Unlocking the bootloader is officially supported by Xiaomi, but requires waiting (usually) 7-15 days after the account is linked to the device: 1. Put the debugging on. USB in the developer settings (Settings) β†’ The phone. β†’ Version. MIUI (slip 7 once) β†’ Return to the Extra β†’ For developers β†’ Debugging by USB). 2. Attach the device to Mi Account in Settings β†’ Additionally. β†’ For developers β†’ Mi Unlock status. 3. Download Mi Unlock Tool, log in and follow the instructions. ⚠️ After unlocking the bootloader, all data will be deleted!

If you're not sure about your skills, you should go to a service center. Wrong actions in a Fastboot can turn a phone into a brick.

πŸ’‘

Unlocking through Fastboot is the only way to bypass Mi Account binding after Hard Reset, but requires an unlocked bootloader.

Method 5: Using ADB (without data loss)

If debugging is on USB (USB Debugging) was enabled before blocking, you can try to delete the file with the password through ADB. This method will not work if:

  • ❌ Debugging by USB was offline.
  • ❌ The phone has not connected to this computer before (no confirmed key is available).
  • ❌ The device is not recognized in ADB (drivers not installed).

Instructions:

  1. Connect your phone to your computer via USB.
  2. Open the command prompt (cmd on Windows or Terminal on macOS/Linux).
  3. Enter the commands in order: 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 reboot
  4. After rebooting, the lock password should be reset.

If you type in the su command, you have an error, you don't have root permission on your phone, and it won't work.

MethodMi Account requiredLoss of dataDifficultySuitable for
Through the Mi Account.βœ… Yes.❌ No.⭐All models.
Find Deviceβœ… Yes.❌ No.⭐Models with MIUI 10+
Hard Reset❌ No (but may be required after resetting)βœ… Yes.⭐⭐All models.
Fastbootβœ… Yes (to unlock the bootloader)βœ… Yes.⭐⭐⭐Models with unlocked bootloader
ADB❌ No.❌ No.⭐⭐⭐⭐Models with enabled debugging over USB

What to do if nothing helps: service center and alternatives

If all of these methods fail, there are two options:

  1. Contact the service center Xiaomi. Official SC can unlock the phone on the purchase documents (check or warranty card). The cost of the service is from 1000 to 3000 rubles, depending on the model.
  2. Use paid online services. There are sites on the Internet that offer remote unlock for 500-1500 rubles. Careful: 80% of these services are scams. Before paying, check reviews on independent sites (for example, 4PDA).

If the phone is bought by hand and the previous owner has not untied the Mi Account, it is impossible to officially unlock it, in which case only the firmware through EDL Mode (emergency mode), but it requires special equipment (Qualcomm HS-USB QDLoader 9008) and knowledge.

⚠️ Note: Forums often advise using programs like Miracle Box or UFi Box to bypass Mi Accounts (MIUI 9–11 and can damage current models (Redmi Note 10)+, Redmi 12).

FAQ: Frequent questions about unlocking Xiaomi Redmi

Can I unlock Xiaomi Redmi without losing data?
Yes, but only if: πŸ”‘ You remember the data from Mi Account and the phone is connected to the Internet (Method 1 or 2). πŸ–₯️ You've got debugging on. USB The phone has previously connected to this computer (Method 5.
What if after Hard Reset, the phone asks for an old Mi Account?
This means that the phone has activated the Mi Cloud Activation Lock function, and solutions: Remember your account data (or recover it via account.xiaomi.com), contact the previous owner (if you have a handheld phone), unlock it via Fastboot (you need an unlocked bootloader), contact the service center with purchase documents, and you can’t bypass this protection on new firmware (MIUI 13/14).
How to avoid blocking in the future?
Not to be faced with the problem of forgotten password: πŸ“ Write your password to a secure location (e.g. Google Password Manager or KeePass). πŸ”„ Regularly back up your Mi Cloud (Settings) β†’ The phone. β†’ Backup). πŸ” Link your phone to your Mi Account and enable Find Device. πŸ“± Use a fingerprint or facial recognition as an additional way to unlock.
Is this a good idea for POCO or Black Shark?
Yes, all of these methods work for other Xiaomi ecosystem brands: POCO (e.g. POCO X3/X4/X5, POCO F3/F4/F5), Black Shark (gaming smartphones), Redmi K (K20/K30/K40/K50 series). Except that some Black Shark models may have different button combinations for entering Recovery (e.g. Volume Up + Volume Down + Power).
Can I unlock Xiaomi through my Google Account?
Unlike pure Android phones, Xiaomi smartphones do not support unlocking through Google Account (FRP is disabled).