How to bypass the password on Xiaomi: all working ways to unlock

When you forget your digital key, the digital key PIN-code or complex password on a Xiaomi, Redmi or smartphone POCO, It happens quite often, and it can happen after a long period of downtime, after buying a used gadget, or just because of human forgetfulness. Attempts to enter incorrect data gradually block the screen, increasing the waiting time, and ultimately can lead to complete inability to access the system without special actions.

Restoring access to the operating system requires understanding what type of lock is installed. There is a difference between protecting a lock screen, a Mi Account account and a Google account. Each of these layers of protection has its own vulnerabilities and bypass methods, which we will examine in detail, relying on current versions of the MIUI shell and HyperOS.

You should be warned right away: most effective methods to bypass protection involve completely deleting user data. Hard Reset is the only guaranteed way to access the phone if the password is unknown, but it will destroy all photos, contacts and applications. Before starting any manipulations, you need to weigh the risks and make sure that you have backups or are willing to lose information in order to return the device to work.

Use Find Device to Remotely Unlock

The most civilized and secure method provided by the manufacturer is the use of the cloud service Xiaomi Cloud. If the locked device was enabled on the Internet and activated Mi Account, and the function "Find the device", you can delete the password remotely, this method does not require cable connection or computer use, but critically depends on the presence of the network.

To implement this method, you will need any other device (computer or smartphone) with Internet access. You need to go to the official website of the Xiaomi cloud service and log in under the same account that is used on the locked phone.

In the device management interface, select the option “Wipe Data” (Wipe Data), which initiates a command to completely reset settings, including deleting the pattern lock or password. Once rebooted, the phone will be as new, without screen protection, but without your personal files.

  • 🔒 Requires an active Internet connection on a locked smartphone.
  • 🔒 You need to know the username and password from Mi Account.
  • 🔒 The “Find Device” function must be pre-activated in the settings.

⚠️ Note: If Find Device has been disabled in your phone settings, this method will not work, and deleting your account from the server will not remove the lock if the phone is offline.

💡

If you have two-factor authorization enabled, make sure you have access to a phone number or authenticator app to log into Mi Cloud from another device.

Reset passwords via Recovery Mode (Hard Reset)

When cloud-based methods are not available, recovery mode, or Recovery Mode, comes to the rescue, which is a low-level environment built into the phone's memory that allows you to control the system bypassing the main interface, and this is where you force all settings to be reset, effectively removing the lock on the screen.

To enter recovery mode on most Xiaomi models, you need to turn the device off completely. Then press the Volume Up and Power buttons simultaneously. Hold them until the Mi or Android logo appears, after which the power button can be released, continuing to hold the volume control.

In the Recovery menu, you can navigate with volume buttons (up/down), and the power button confirms the choice. You need to find Wipe Data or Clear Data, then select Wipe All Data and confirm the action (Confirm), the process will take a few minutes, after which the phone will restart.

☑️ Recovery login algorithm

Done: 0 / 4

Importantly, newer versions of MIUI 12/13/14 and HyperOS may require a password from a previously synchronized Mi Account or Google after a reset, a security measure designed to protect the owner’s data in the event of a device being stolen.

Unlocking through ADB (for advanced users)

The Android Debug Bridge (ADB) debugging method is more technically sophisticated, but sometimes allows you to delete lock files without completely resetting data, although on modern versions of Android (7.0 and higher) this works extremely rarely due to the increased security.

To work with this method on the phone should be pre-enabled debugging USB (USB If the phone is locked and you haven't had time to turn on this optics before, this method, unfortunately, will not help. ADB.

Connect your smartphone to your PC through USB-Open the command line on your computer in the folder with ADB and enter a command to check the connection:

adb devices

If the device appears in the list, you can try to delete the files that are responsible for the pattern lock.

adb shell rm /data/system/gesture.key

Once you have completed the command, reboot the device. If you smile and the Android version allows, the unlock screen will disappear or accept any code entered. However, on modern Redmi Note or Xiaomi 13/14, this file is often protected or the path to it is changed.

Why is ADB not working on new Android?
Starting with Android 7.0 Nougat, key files are encrypted and linked to the device’s hardware identifier, and access to /data/ without an unlocked bootloader is closed even to ADB.

Unlocking Google Accounts (FRP Bypass)

Once you reset your settings through Recovery, FRP (Factory Reset Protection) is often triggered, which is Google's security mechanism, which requires you to enter an account synchronized with your phone before the reset, and if you don't remember that, the phone turns into a brick at the initial setup stage.

FRP bypassing is a complex and constantly changing field, and it depends on the specific version of Android and the security patch, and often exploits vulnerabilities in the Google Assistant, browser, or special features menu.

One common way to do this is to activate TalkBack to call menus or use guest mode. However, there is no universal instruction, as Google quickly closes security holes. Current models often require specialized software on a PC, such as UnlockTool or Chimera, which can be paid for.

Bypass methodDifficultyRisk of data lossEfficiency on Android 12+
Find DeviceLow.100% (full reset)Tall.
Recovery ModeLow.100% (full reset)Tall.
ADB (no ruths)Tall.No (theoretically)Low.
FRP Bypass (software)Very high.No.Medium

⚠️ Note: Using third-party software to bypass FRP This may be considered a violation of Google's terms of service, and only use these methods on personal devices.

📊 What kind of blockage problem do you have?
Forgot the pattern lock
Forgot my Mi Account password.
Google Blocking (FRP)
Phone purchased with a used password

Use of service codes and engineering menu

Some users are looking for rescue in service codes that can be entered through the dialing bar. Indeed, there are codes for logging into the engineering menu (##6484# or analogues), but they are designed to test hardware components and do not have a security password reset feature.

Attempting to enter codes like ##7780## (setting reset) will not work if the phone is locked, as the system will not let you into the dialing interface without first unlocking the screen.It is a myth that there is a “magic code” that can be entered from another phone or through an emergency call to remove protection.

The only thing that can help in the context of a diagnosis is to check the status of the device, so if the phone is responding to calls or vibrations, then the system is working, and the problem is purely software in the lock layer, in which case you have to rely on the reset methods described above.

💡

Service codes cannot bypass the lock screen password, as the dialing interface is not available until the user is authorized.

Professional Unblocking and Service Centers

If none of the software methods did not help, or you are afraid to harm the device, there is a call to professionals. Xiaomi official service centers can unlock the device when providing documents confirming the purchase (check, warranty card, box with IMEI).

Private workshops often use hardware programmers (boxes) such as Octoplus, Medusa or EasyJTAG. These devices connect directly to the smartphone board (often requiring it to be disassembled) and allow you to rewrite memory or reset protection at the bootloader level.

This method, known as EDL Mode (Emergency Download Mode), allows you to download special firmware bypassing standard security protocols. However, for authorization on the Xiaomi server in such a reset, the wizard often requires a paid account with authorization, a paid service, the cost of which varies depending on the model.

  • 🛠 Requires physical access to the insides of the phone (disassembly).
  • 🛠 Special (hardware box) and license required.
  • 🛠 It is a good idea to keep your Mi Account (in most cases).

When you go to the service, you have to be prepared that you can't recover the data, and the goal of the service is to get the phone back to working order, not to keep your gallery.

Prevention and backup

To avoid the problem of “password bypassing” in the future, you should prepare your device in advance. Regular backups in Google Drive or Xiaomi Cloud will allow you to quickly restore contacts, photos and settings after a forced reset.

It is also recommended to write complex passwords to a secure location or use password managers that are synchronized between devices. PIN-codes for different services.

Check your account status. Make sure you remember the password from Mi Account and Google, and have access to the linked phone number to restore access via SMS. This will save you hours of nerves and finding solutions in the event of a lockdown.

Can I unlock Xiaomi without losing data?
In 99% of cases, on modern versions of Android and MIUI, it is impossible to unlock the phone without losing data. The system encrypts user data with a key that is tied to the screen password. Without a password, the data remains encrypted forever. Except for older devices with Android 6.0 and below, where encryption could have been disabled.
What if the phone says “Device locked” after resetting?
This is FRP (Google) or Mi Cloud Lock. You need to enter an account that was synced to your phone before the reset, and if you bought the phone with your hands and don't know the previous owner's account, it's almost impossible to unlock it legally without a purchase check to contact the service.
Will the reset via Recovery work if location transfer is enabled?
Yes, a reset via Recovery (Hard Reset) will delete all data, including your lock settings, but if the Mi Account connection is activated in the security settings, the phone will require you to enter the password from that account for activation, which is anti-theft protection.
Will the phone help to remove the password?
Official flashing through the Mi Flash Tool in Fastboot mode usually requires an unlocked bootloader that cannot be unlocked without access to the system or waiting 7-168 hours from the moment the account is linked.