How to log into Xiaomi phone without password: methods of bypassing lock

A situation where the owner forgets the pattern lock, PIN-The code or digital password on Xiaomi’s smartphone is one of the most stressful, and the lock screen becomes an insurmountable barrier that hides important contacts, photos and work documents. The standard Hard Reset procedure results in the complete deletion of all information, which is often unacceptable to the user.

Fortunately, the MIUI ecosystem has alternative scenarios to bypass security or restore access to the system. The security of modern devices is built on layered protection, but it also has loopholes provided by the manufacturer for legitimate owners. In this article, we will discuss in detail the methods that will help you log into the phone without forced erasure.

It's worth noting that the success of the operation depends on what settings were activated in advance. If you haven't previously linked an account or enabled USB debugging, the range of options is narrowing, but even then there are software crutches and system features that are worth trying before drastic measures.

Use the “Find Device” function from Google

The most reliable way to unlock a smartphone if it has a Google account activated is remote control via Find My Device, which works only if the device is connected to the Internet (via Wi-Fi or mobile network) and remote control is allowed in the settings.

You have to go to the official website of the service from any other device, enter credentials of your Google account, the system will suggest to select the device from the list if there are several. After selecting Xiaomi, three options will appear on the screen: "Call", "Block" and "Clear".

Once you have selected the "Block" option, you can set a new temporary password. Once you have entered and confirmed, the new code will be sent to your smartphone. This action will force the old forgotten pattern lock or pin to replace the one you just created. In a few minutes, try unlocking the screen with a new password.

  • 🔒 It only works if the phone is online at the time of the request.
  • 📱 Requires an active Google account on a locked device.
  • ⚡ Replaces old password with new one without losing files.
  • 🌐 Available from any browser (PC, tablet, other phone).

⚠️ Note: If the phone is in flight mode or turned off, the command from the Google server will not arrive until the moment of connection to the network.

What if Google can’t see the device?
If your phone is not on the list, it means that it is either not connected to the Internet or it is not logged in to your Google account. Check the connection status through another service, such as Google Maps location history, if it was enabled.

Unlocking with Mi Account and Find Device

Xiaomi, Redmi and POCO smartphone owners have an advantage over other brands thanks to the built-in Mi Account security system. If you have linked your phone to your Mi Account, the recovery process is simplified. Xiaomi’s Find a Device service allows you not only to track your location, but also to manage your screen lock.

To get started, go to the official i.mi.com portal. Log in using your Mi ID. In the web version interface, find your smartphone icon. If the device is displayed on the map and has an Online status, select the “Block” or “Unlock” function (the name may vary depending on the version of MIUI).

The system may require confirmation via SMS to a linked number or code from an authenticator application. Once successful, you can either unlock the screen completely or set a new password. This method often ignores the local screen password, as it has a higher priority of rights in the MIUI security system.

📊 What type of lock you forgot?
pattern lock
Digital. PIN-code
A complex password
Fingerprint.

It's important to understand the difference between locking a screen and locking an account, and if after a reboot, your phone requires a password from your Mi Account to activate, that's anti-theft protection, and it's almost impossible to get around it without the owner's data without going to the service center with checks.

Safe Mode: Bypassing Third-Party Blockers

Often, users are faced with the problem when the lock screen is installed not by the system itself, but by a third-party application (antivirus, launcher, parental control application), in which case the standard Android password may not have anything to do with it.

Safe Mode loads the operating system with only the basic components, disabling all the programs installed by the user. If the blocker was a third-party, in this mode it will not start, and you will access the desktop.

The algorithm for entering Safe Mode on Xiaomi:

  1. Press the power button until the shutdown menu appears.
  2. Press and hold your finger on the "Switch off" (or "Switch off power") item on the screen.
  3. In a few seconds, a pop-up will appear, suggesting that you go to Safe Mode. Confirm the action.

After the reboot, the corner of the screen will say "Safe Mode." If the phone is unlocked, immediately go to Settings → Apps and delete newly installed blockers or suspicious software. After rebooting in normal mode, the password will no longer be required.

☑️ Checking before Safe Mode

Done: 0 / 4

Use of USB and ADB debugging (for advanced ones)

This method is only suitable for those who have prudently included USB Debugging in the developer menu before locking.If this feature is active, the computer can access the phone's file system and commands even when the screen is locked using the Android Debug Bridge (ADB) toolkit.

You'll need a PC, USB-cable and installed drivers ADB. Connect the phone to the computer. Open the command line (CMD) or terminal in a folder with ADB. Enter a command to check the connection:

adb devices

If the list shows a device with device status, the connection is established. Next, you can try to delete the files that store password hashes. The path to them depends on the Android version, but most often it is /data/system/gesture.key or /data/system/password.key.

adb shell rm /data/system/gesture.key

Once you execute a command and reboot (adb reboot), the phone can let you in without a password or request a new one. However, on modern versions of Android (10 and above) with encryption enabled, this method often does not work without root rights, since the data partition is protected.

ParameterRequirementProbability of success
Android 6-8Debugging is on.Tall.
Android 9-10Debugging + No encryptionMedium
Android 11+Root rightsLow.
No debugging.Impossible.0%

⚠️ Attention: Incorrect use of commands ADB Only execute commands that you are sure of assigning.

💡

If ADB Can't see the phone, try different ones. USB-Some cables only support charging and don't transmit data.

Bypassing Mi Unlock Tool and FRP reset

If nothing works, and the phone requires a password you don't remember, there's the final frontier: a factory reset followed by a FRP Lock account bypass. A standard Recovery (Volume Up + Power) reset activates Google's protection. To log into the phone, you'll need to enter a password from a Google account that was synced earlier.

If you remember Google's login, but you forgot your screen password, just reset. If you don't remember Google's data, the situation gets complicated. The official Mi Unlock Tool is designed to unlock the bootloader, not the screen. However, unlocking the bootloader automatically makes Wipe Data (complete clean).

The process looks like this:

  • 📥 Download Mi Unlock Tool on PC.
  • 🔌 Enter Fastboot Mode (Lock Volume Down) + Power when the phone is turned off).
  • 🔓 Launch the program and follow the instructions to unlock.

After this procedure, the phone will be clean. If it was wearing Mi Account protection, it will stay, but the lock screen will be reset. It's the only guaranteed way to bring the device back to life by donating data.

💡

Unlocking the bootloader via the Mi Unlock Tool is a 100% way to remove the screen password, but all data will be irretrievably lost.

Prevention and backup

The best way to avoid access problems is to be competently trained. Today's Xiaomi smartphones offer flexible security settings. Instead of a complex password, you can use biometrics: a fingerprint or facial recognition, which is not only more convenient, but also reduces the risk of forgetting the combination of numbers.

Backup your important data regularly. MIUI has a powerful backup tool built in. Go to Settings → About Phone → Backup and Restore. You can save it to internal memory, to an SD card or to the Mi Cloud. You can also set up contacts and photos sync with Google Photos.

Write down yours. PIN-A code or pattern lock in a safe place (notebook, password manager on a PC) Human memory is prone to errors, especially when we use multiple devices with different codes. Simple writing can save hours of nerves and potential data loss.

What if your phone says “Too many attempts to enter a pattern lock”?
The system temporarily blocks password entry for 30 seconds, 1 minute, 5 minutes, etc. This is rebound protection. Wait for the timer to end. If the phone requires logging in to Google to unblock and you don't remember it, you'll have to reset.
Can I unlock a Xiaomi phone through a service center?
Xiaomi’s official service centers will only unlock the device if they have purchase documents (check, warranty card) and passports, confirm that the phone is not listed as stolen, and reset the Mi Account.
Will a password reset work through Find My Device if the phone is in flight mode?
No. The command to change the password must be received by the device from the server. If there is no Internet, the command will queue up and execute only after the network has appeared, until that point the old password will remain active.
How to turn off password check every time you turn on your phone?
You can't completely disable the pre-boot authentication check for security reasons, but you can configure the Smart Lock to keep the phone unlocked in trusted locations or when connected to a Bluetooth headset.