Xiaomi: how to unlock if you forgot your password - Step-by-step instructions

When you pick up your Xiaomi smartphone and realize you canโ€™t unlock the screen, it causes panic.It can happen to anyone: a pattern lock, PIN-The code or complex password could have been changed in a hurry or just blown out of your head after a long break in using the device. MIUI, They don't have simple loopholes, so standard methods of bypassing protection don't work here, but it's too early to despair, because there are several proven ways to get back access to the gadget.

Before you start taking action, you need to be clear about the consequences of each step. Most of the methods described below involve completely cleaning the device's memory. This means that all your photos, contacts, messages and installed applications will be permanently deleted. Unless you have an automatic backup set up in Mi Cloud or Google Drive, it will not be possible to restore personal files after the procedure. So carefully study all options and choose the one that is right for your situation.

In this article, we will take a look at all the current methods of unlocking Xiaomi and Redmi phones in 2026.We will look at both the official methods through the Google account and Mi Account, and more radical methods through the Recovery engineering menu. It is important to understand that the effectiveness of the method depends on the version of the operating system and model of your smartphone.

Using Mi Account to Remotely Unblock

The most civilized and safe way to restore access is to use the Find Device feature, which is built into the Xiaomi ecosystem.This method only works if the locked smartphone has logged in to Mi Account, enabled Find Device and has an active Internet connection (Wi-Fi or mobile network).

To do this, you'll need a computer or other smartphone with Internet access. You'll need to go to the official Mi Cloud site and log in to the same account that you used on the locked device. Once you log in, you'll see a map and a list of your devices. Select your phone from the list, and the "Unlock" option will appear on the right or in the control menu. When you click on it, you'll send a command to the device that will unlock the screen.

โš ๏ธ Note: After successful remote unlocking via Mi Cloud, all data on the device will be deleted for security reasons.This is a standard anti-theft procedure that ensures that an unauthorized person does not access your personal information, even if they know your account.

If the phone has an internet connection, the unlock command will not be executed instantly, the system will queue it up, and once the device is connected to the network (even if it happens in a few days), the lock will be removed automatically. It is worth noting that this method does not work if the phone is completely turned off or is in flight mode for more than 24 hours without intermittent switching on, and the method may not work on devices with a very old version of firmware, where Xiaomi services have not yet been fully integrated.

Resetting with Recovery Mode (Hard Reset)

The most common and versatile method, which works on 99% of Xiaomi devices, is to run the so-called Hard Reset through the Recovery Mode recovery menu.This method does not require Internet or password knowledge, but it is guaranteed to erase all user data. The essence of the method is to force the phone to restart in a special mode where you can manage system partitions.

To get into the Recovery menu, you need to turn off your smartphone completely. Then you need to press the on button and the volume button at the same time. You need to hold them until the Mi or Redmi logo appears, then you can release the on button, and then you can keep the volume on. When the language selection menu appears (usually in English or Chinese), you can release all the buttons. The navigation in this menu is done by the volume buttons, and the choice is by the power button.

โ˜‘๏ธ Preparation for Hard Reset

Done: 0 / 4

After selecting the language (if the menu is in Chinese, focus on the gear icon or the second button on top to select English), you need to find Wipe Data or Wipe & Reset. In newer versions of MIUI, the system may require you to enter a confirmation code that will be shown on the screen, or press the confirmation button several times. This is done to protect against accidental reset. After confirmation, the cleaning process will begin, which will take from a few seconds to a couple of minutes.

When the process is complete, the phone will suggest a reboot. The first run after a reset will last longer than usual, as the system will recreate the necessary files and configure the operating environment. Don't worry if the phone "hangs" on the logo for 5-10 minutes - this is normal behavior. After downloading, you will be asked to configure the phone as new or restore data from a backup.

Unlocking with Google Find My Device

An alternative to Xiaomiโ€™s branded service is Googleโ€™s standard Find My Device tool, which is effective if the phone logs in to a Google account, geolocates and has Internet access, and is similar to unlocking through Mi Cloud: you send a command from a remote server that initiates a factory reset.

To use this method, go to android.com/find from any device and log in to your Google account. From the list, select your locked smartphone. From the action menu, select the option โ€œErase Deviceโ€ (Erase Device). The system will warn you that all data will be deleted. Confirm the action and the phone will receive a reset command.

ParameterDescription of the requirementProbability of success
InternetWi-Fi or mobile data must be requiredHigh (with network availability)
GPSPreferably included, but not strictly requiredMedium
Account.Signing in to Google on your device is mandatory100% for the same conditions
Battery chargeThe phone should be on.Depends on the state of the AKB.

It's important to understand that Google Find My Device doesn't remove the password, it erases all the data, including the password itself. Once you reboot the phone, it will look like the one you just bought. It's also worth considering that if you have FRP (Factory Reset Protection) enabled on your device, the first time you set up the system will require you to enter the username and password from the Google account that was synchronized before the reset.

Unlocking through Fastboot and PC mode

Fastboot is a low-level protocol designed to flash and debug Qualcomm-based devices. Unlike Recovery, Fastboot allows you to interact with your phone via a computer using special commands. USB-cable, PC and installed drivers ADB/Fastboot, It can be useful if the Recovery menu is not opened or damaged.

To enter Fastboot mode on Xiaomi phones, you usually need to turn off the device and press the on and down button at the same time. The screen will show an image of a rabbit repairing a robot and the inscription FASTBOOT. Once you connect the phone to the computer, you can start the command line and enter a command to reset: fastboot erase userdata. However, on modern versions of MIUI, this command may not work without an unlocked bootloader.

What is an unlocked bootloader?
Unlock Bootloader is Xiaomiโ€™s official procedure for changing system partitions, requiring a request on MIUI, waiting 7 to 30 days, and a complete data reset. Without an unlocked bootloader, many Fastboot commands are blocked by security.

If the bootloader is locked, using Fastboot to unlock the screen password is almost impossible without data loss, since the system will not allow you to erase the partition with user data, in which case the Fastboot is used rather to flash the device blindly through the Mi Flash Tool, which also leads to complete deletion of information. This is a more difficult way, requiring finding the right firmware for your particular model.

It is worth noting that trying to flash an incompatible version of the software through Fastboot can lead to the โ€œfixingโ€ of the device. So use this method only if you are confident in your actions and the firmware version strictly matches the model of your smartphone. For the average user, this method is less preferable than the standard Hard Reset through Recovery.

FRP protection and accounts after reset

Once you've done a Hard Reset, you'll come across a screen that's set up in the first place, and this is where FRP comes in, and if you've had a Google account or a Mi Account attached to your phone, you'll need to enter your password to prove ownership, and this is anti-theft protection, because even if you drop the phone, you won't be able to use it without the owner's data.

If you forget not only your screen password, but also your Google account password, it gets complicated: you have to restore your account through a recovery procedure on another device (computer or tablet), and only after you successfully restore your password and log in to your account on a locked phone can you use the device further.

๐Ÿ“Š What you forgot?
Screen password
Password from Google account
Password from Mi-account
Nothing, just checking.

In some cases, if the phone is not connected to the internet immediately after reset, it may miss the FRP check. However, once the connection is established, the verification will still occur. FRP bypassing through third-party utilities (so-called "FRP Bypass") exists, but these methods are permanently closed by security updates from Google and Xiaomi, and their use can be considered a violation of the terms of use of the software.

Prevention and backup

In order not to face such problems in the future and not to lose important data, you need to regularly create backup copies. Xiaomi smartphones have a built-in backup tool that allows you to save settings, SMS, call logs and even apps for internal memory or SD-The way to it: Settings โ†’ The phone. โ†’ Backup and restoration.

It is also important to sync with cloud services. Google Photos is great at saving your photos, and contacts are better kept in sync with Google contacts. For users of the Xiaomi ecosystem, it is useful to set up sync with Mi Cloud, where you can store not only contacts, but also notes, voice recordings and even the location of icons on the desktop.

๐Ÿ’ก

Write down yours. PIN-And you can have a code or a pattern lock in a notebook and you can store it in a safe place. Human memory has a tendency to fail, especially when we're making up complex passwords for security.

It is also recommended to enable the โ€œFind Deviceโ€ feature in advance, check in the security settings to see if the device search is activated for both accounts (Google and Mi), which will take only a couple of minutes, but at a critical moment can save the situation by allowing the phone to be unlocked remotely or at least erase the data remotely if there is no hope of a return.

What if your phone is not included in Recovery Mode?
If the button combination doesn't work, it may be the buttons themselves or the Recovery system partition that are damaged. USB-cable and command ADB: adb reboot recovery. ADB not included, only flashing through Fastboot or contacting the service center remains.
Can I unlock my phone without losing data?
Officially, no, unless you remember your password and the Mi Cloud method worked. Third-party programs that promise to save data are 99% fraudulent or viruses. Android security is built on encryption, and without a key (password) data can not be read.
How many times can I enter the wrong password?
After 5 failed attempts, the phone will lock for 30 seconds, then the intervals will increase (1 minute, 5 minutes, 15 minutes), after many attempts, the device can offer a reset via Google account or completely lock for a long time (up to 24 hours).

๐Ÿ’ก

The only guaranteed way to get back access to your phone is a full reset that deletes all data. Regular backup is your main protection against loss of information.