How to unlock Xiaomi phone if you forget your graphical password

When you pick up your Xiaomi smartphone to answer an important call or check a message, but the screen greets you with a request to enter a forgotten pattern lock, it can disembark anyone. Panic at such moments is a natural reaction, but modern Android security systems, especially in the shell of MIUI and the new HyperOS, are designed to protect the owner’s data from outsiders. Which is why standard methods of bypassing locks that worked several years ago can today be useless without prior preparation.

There are several proven ways to restore access to the device, but their effectiveness depends on the version of the operating system, the presence of a Mi Account and the USB debugging enabled. In some cases, you will have to go to extreme measures to completely remove the lock and perform a complete data reset, which will lead to the loss of photos and contacts if they were not synchronized with the cloud. Below we will consider all the current methods, from the most gentle to radical, which will help regain control of the gadget.

Before you start taking action, you need to understand which lock you are facing, which may be a standard lock screen, FRP lock after a reset, or bootloader lock. If the device is simply locked with a pattern lock and does not require a password from your Mi Account after a reset, the chances of successfully restoring access without losing data are higher, but they fall rapidly with each new Android security update. Carefully read each step to choose a strategy that is suitable for your Redmi or Poco model.

Use the “Find Device” function from Google

The easiest and most legal way to unlock your phone if you forget your graphical password is to use Google’s built-in tools, which only works if the locked device has internet (Wi-Fi or mobile data) on and geolocation activated, and you will need access to a computer or other smartphone to log into your Google account.

Go to the official Find Device website and log in to the same mailbox that was used on the locked phone. If the system successfully detects the device, you will see its location on the map and the control panel. Among the options available is the Clean Device function, which will delete all data, including the pattern lock.

⚠️ Note: Using the cleaning feature will result in the complete removal of all photos, contacts and applications. After this procedure, the phone will return to factory settings, and when turned on, you may need to enter a password from your Google account to confirm ownership.

It's worth noting that in recent versions of Android, the remote unlock feature without resetting data has been eliminated for security reasons. Now Find Device is primarily used to track location or remotely destroy information in the event of a theft. If your goal is to save data, this method, alas, will not work, but it is guaranteed to return access to use of the device as new.

📊 Have you unlocked your phone without resetting data?
Yes, through the Mi Account.
Yeah, through USB debugging.
No, I had to do a reset.
I didn't get to unlock it.

Entering through Mi Account on the lock screen

Owners of Xiaomi devices have the added advantage of the Mi ecosystem. If your phone has logged in to Mi Account and enabled the Find Device feature in the cloud settings, you can try to unlock the gadget through a special interface. This method is relevant for devices running older versions of MIUI, but sometimes works on new builds.

After five failed attempts to enter the pattern lock, the screen should appear the link "Forgot the password?" or "Forgot the pattern lock?" By clicking on it, the system will prompt you to enter the username and password from the Mi Account, in some cases, this will allow you to remove the lock screen without losing user data, simply replacing the old key with a new one or removing it.

However, modern security algorithms often require confirmation through the use of a security system. SMS Or additional authorization on a trusted device, and if the phone doesn't have access to the network when you try to type in, you can't unlock it that way. SIM-The card is active and has a balance, or that the device is connected to a known Wi-Fi network.

What to do if you forget your Mi Account password?
If you don't remember the Mi Account password, you can restore it through i.mi.com, you'll need access to your linked phone number or backup email, and without re-accessing your account, unlocking through Mi Cloud won't work.

Resetting settings via Recovery Mode

If the soft methods didn’t work, the only guaranteed way to bring your phone back to life is a full reset via the Recovery Mode, which is universal and works on all Xiaomi, Redmi and Poco models, regardless of the Android version.

To enter recovery mode, you need to turn off your smartphone completely. Then press the key combination: usually a Volume Up and a Power button. Hold them simultaneously until the Mi logo appears, then the power button can be released, continuing to keep the volume. When the Recovery menu appears, the volume buttons (up/down) control the volume button, and the choice is confirmed by the power button.

☑️ Preparing for resetting through Recovery

Done: 0 / 4

From the Recovery menu, select a language (if available) or go straight to Wipe Data. Then select Wipe All Data and confirm the action. The process will take a few minutes, after which the phone will restart. You will get a clean device, like from the store, but without your personal files.

⚠️ Warning: After resetting through Recovery, protection will work FRP. When you first set up the phone, you'll need to enter a Google account that was synced to the device before locking it, and without that, the phone will be a brick».

Unlocking via Fastboot and PC

For more advanced users who previously enabled USB debugging and unlocked the bootloader, a method of using Fastboot mode is available. This low-level interface allows you to send commands from your computer directly to your device. However, for the usual reset of a screen password with standard ADB commands, this method is often useless due to data encryption, but it can be useful for flashing.

To enter Fastboot mode, turn off your phone and press the Volume Down button along with the power button. The screen will show an image of a hare repairing an android, or a message that says: FASTBOOT. Connect your phone to your computer through the original USB-cable.

If you have ADB and Fastboot drivers installed on your computer, you can check the connection by entering the command line:

fastboot devices

If the device is determined, it is theoretically possible to erase the key partition, but on modern versions of Android this is impossible without an unlocked bootloader. If the bootloader is locked (which is the default for all Xiaomi), you will need the official Mi Unlock Tool tool and a wait of 7 to 30 days to obtain permission to unlock. This is a protection against theft that cannot be circumvented legally in 5 minutes.

MethodData retentionA PC is needed.Difficulty
Google Find the deviceNo.Yeah (or second phone)Low.
Mi Account.Maybe.No.Low.
Recovery ModeNo.No.Medium
Fastboot / Mi UnlockNo.Yes.Tall.

💡

Use only the original. USB-Cheap “charging only” cables don’t transmit data, which will lead to errors when trying to log in to Fastboot or ADB.

FRP bypass lock and nuances of new versions of Android

The biggest problem users face after resetting is FRP (Factory Reset Protection), which Google has implemented to ensure that the stolen phone cannot be used after being forced to reset.If you don't remember the password from the Google account, the phone turns into a useless piece of plastic and glass.

On Android versions 11, 12, 13 and 14 (vulnerabilities) that allow you to easily bypass the activation screen, close very quickly. APK-Files or triple clicks often stop working after updating Google Play services. Trying to find a working way on the Internet can take hours, as instructions quickly become obsolete.

The only surefire way to avoid FRP problems is to remember your credentials. If you are buying a used phone, always demand a full reset from the seller on your behalf. In case you forget your Google password, try to restore access through the account recovery form on another device by answering security questions or confirming login via a trusted device.

Prevention of blocking and safety advice

To prevent the “forget password” situation from catching you off guard at the most inopportune moment, it’s important to maintain digital hygiene. Regularly check if sync with Google and Mi Cloud is active. Make sure that the phone number and backup email in your account security settings are up to date.

Use biometric unlocking techniques like fingerprint or facial recognition as an addition to the pattern lock, and while they don’t replace the password completely (which is required after a reset), they make it less likely to enter complex combinations, reducing the risk of forgetting them, and you can use Smart Lock to automatically unlock in secure places like your home.

Write your passwords in a safe place, whether it's a paper notebook stored in a safe, or a dedicated password manager, or relying on memory for a complex 9-dot graphical pattern is risky, especially if you rarely use locking because of the fingerprint scanner.

Can I unlock Xiaomi without losing data?
Officially, no, unless the Mi Account login on the lock screen fails. All other methods, including Recovery resets, involve completely deleting user information for security reasons. Third-party programs that promise to save data are often fraudulent.
What if the phone says “Device locked” after resetting?
This means that FRP protection is working. You need to enter a Google account that was synced to the phone before the reset, and if you don't remember the data, you have to restore access to the account through the Google site.
How many times can I enter the wrong password?
After 5 failed attempts, the phone will lock for 30 seconds. With each successive series of errors, the lock time will increase (5 minutes, 15 minutes, 1 hour). After many attempts, the device may require a login to Google account to continue.
Will the phone help to remove the password?
Fastboot flashing is similar to Recovery resetting – it will delete the password, but it will also delete all data and not remove it. FRP-Installation of new firmware often requires an unlocked bootloader, which is impossible to do on a locked phone without permission from Xiaomi (waiting). 7-30 days).