How to unlock Xiaomi phone remotely: 5 working ways (including bypassing Mi Account)

A forgotten pattern lock, PIN-Xiaomi’s code or fingerprint can be a serious problem, especially if you don’t have a computer or cable on hand. Fortunately, there are several ways to remotely unlock, from official tools like Find Device to bypassing through Mi Account or even bypassing your device. ADB. In this article, we will discuss all current methods for 2026, including nuances for different models (Redmi Note 12, POCO X5, Mi 13, etc., and also a warning against common mistakes that can turn a phone into a brickΒ».

It's important to understand that not all of these are universal. For example, unlocking through Mi Account only works with the device attached to the account, and the Fastboot method requires USB debugging. We'll describe each scenario in detail so you can choose the best option without the risk of losing data. If the phone is stolen, immediately go to the IMEI lock section to protect personal information.

1. Unlock through the official Find Device service (without loss of data)

The safest and most legal way is to use Xiaomi’s Find Device feature, which allows you to remotely unlock the screen if:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ The device is tied to Mi Account (check at account.xiaomi.com).
  • πŸ“ Find the device is activated in the settings (Settings) β†’ Mi Account β†’ Find the device).

Instructions:

  1. Go to i.mi.com and log in with the same account as you do on your phone.
  2. In the list of devices, select blocked Xiaomi.
  3. Click Unlock the device (option will appear if the phone is online).
  4. Confirm the action via SMS or email.

πŸ’‘

If the Unlock Device option is inactive, try updating the page or using the browser in incognito mode. Sometimes the lock is due to a cache.

⚠️ Note: Once unlocked this way, Xiaomi may require you to enter your Mi Account password the next time you turn on. email/phone.

2. bypass locking through Mi Account (if the screen password is forgotten)

If Find Device didn’t work (for example, there’s no internet on the phone), but you remember the data from Mi Account, you can use Xiaomi’s emergency unlocker, which is suitable for most models released after 2019 (Redmi Note 10, POCO F3, Mi 11 and later).

Steps:

  1. On the locked screen, click Forgot your password? (the option will appear after 5 failed attempts to enter).
  2. Choose Unblock with Mi Account.
  3. Enter the email/phone and password from the account associated with the device.
  4. Confirm the unlock via SMS or mail.

If you forgot your password, you will not see:

  • πŸ”„ Restart your phone – sometimes the button is hidden due to an interface glitch.
  • πŸ“Ά Make sure your phone is connected to the network (even if it is not connected). SIM-Connect to Wi-Fi via the notification panel if it is available).
What if the Mi Account is not tied to the phone?
If the account is not tied, the official ways of bypassing the lock will not work, in which case only a reset via Fastboot (section 4) or contacting the service center is left, and after the reset, all data will be deleted, including photos and messages.

Important: since 2023, Xiaomi has tightened its security policy, and some models (such as the Redmi Note 12 Pro+) may require proof of identity through a passport scan after being unlocked via Mi Account.

Remote unlocking via ADB (for advanced users)

The Android Debug Bridge (ADB) method is suitable if the phone is debugging on USB and has access to a computer.This is the only way to unlock Xiaomi without losing data if Find Device and Mi Account didn't help.

What you need:

  • πŸ–₯️ Computer with installed ADB-driver.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“± Included debugging by USB (Settings β†’ The phone. β†’ Version. MIUI (press 7 times) β†’ Additionally. β†’ For developers β†’ Debugging by USB).

Instructions:

1. Connect the phone to the PC.


2. Open the command line (Windows) or the terminal (Mac/Linux).




3. Enter the commands in order:




Adb devices (you should display your device)




adb shell




su




rm /data/system/gesture.key (for pattern lock)




or




rm /data/system/password.key (for PIN/password)




4.Reboot phone: adb reboot

Install ADB-PC-driver|Enable debugging on USB phone-on|Connect your phone to your computer with the original cable|Check the visibility of the device by the adb device command

-->

⚠️ Attention: On new versions MIUI 14+ This method may not work because of the increased protection. If the lock is still locked after the reset, try an alternative command:

adb shell am start -n com.android.settings/.ChooseLockGeneric

4.Reset via Fastboot (complete data cleanup)

If no other method has worked, it will be hard to reset via Fastboot mode, which will delete all data on the phone, including photos, contacts and apps, but will return access to the device, suitable for all Xiaomi, Redmi and POCO models.

Step-by-step:

  1. Turn off the phone.
  2. Press the Power button + Volume down before the Fastboot logo appears.
  3. Connect your phone to your PC and open the command line.
  4. Enter the commands: fastboot devices (check connection) fastboot flashing unlock fastboot reboot
  5. After the reboot, the phone will be like new – you will need to set up from scratch.

⚠️ Note: On some models (Redmi Note 11, POCO X4) After the command fastboot flashing unlock may require confirmation through Mi Account. If the account is not tied, the phone will be locked forever (brick).

Find Device|Mi Account|ADB|Fastboot|No one has read the instructions-->

5. Unlock via IMEI (if phone is stolen)

If your Xiaomi is stolen, first lock it through IMEI so that the attackers can not use the device.

  1. Find your phone’s IMEI (on the box, check, or through your Google account at Google Find My Device).
  2. Report theft to the police (IMEI will be required for the search).
  3. Write in support of Xiaomi (via support.xiaomi.com) asking you to block the device via IMEI.

⚠️ Attention: Blocking through IMEI Even if I find a phone, I can only unlock it at Xiaomi's service center when I present my purchase documents.

Unlocking methodInternet is requiredData retainedDifficulty
Find Deviceβœ… Yes.βœ… Yes.⭐
Mi Accountβœ… Yes.βœ… Yes.⭐⭐
ADB❌ No.βœ… Yes.⭐⭐⭐
Fastboot❌ No.❌ No.⭐⭐
IMEI (lockdown)❌ No.❌ No.⭐⭐⭐

6. Frequent mistakes and how to avoid them

Many users have trouble unlocking Xiaomi because they don’t know the nuances. Here are the most common mistakes:

  • πŸ”Œ Use of unoriginal cable - can lead to failures when connecting through ADB Or Fastboot. Always use a cable from the kit.
  • πŸ“΅ No backup – Before resetting via Fastboot, make sure that important data is synced with Mi Cloud or Google Drive.
  • πŸ”’ Trying to bypass Mi Account through third-party services – scammers often offer to β€œunlock” the phone for money, but in fact it is either a scam or installing malware.

πŸ’‘

If the phone gives an error "This device is locked" when trying to unlock through Fastboot, then the Mi Account is not tied, in which case it is impossible to officially unlock the device - only through the service center with purchase documents.

Another common problem is that the phone is not defined in Fastboot.

  • πŸ–₯️ Install the Mi Flash Tool driver.
  • πŸ”„ Try another one. USB-port (preferably) USB 2.0).
  • πŸ”§ Turn on Developer Mode (if the phone is responsive at least a little).
Can you unlock Xiaomi without losing data if USB debugging is disabled?
No. Without USB debugging enabled or a tied Mi Account, the only way to unlock is through Fastboot, which deletes all data. If your phone has important information, contact Xiaomi's service center with purchase documents, sometimes you can restore access without resetting.
What if, after unlocking through Mi Account, the phone requires an old password?
This is a known problem on some models (Redmi 9, POCO M3). Solutions: Reboot the phone - sometimes the password requirement disappears. If you do not remember the password, reset via Fastboot (section 4). Contact Xiaomi support with proof of ownership of the device (check, box).
Does Google Find My Device work on Xiaomi?
No. Unlike Samsung or Google Pixel, on Xiaomi, Find My Device can only show location or erase data, but not unlock the screen. Use Find Device from Xiaomi (section 1).
How to unlock Xiaomi if you forget the password from Mi Account?
Restore your account: Go to account.xiaomi.com and click Forgot your password?. Enter your email or phone linked to your account. Confirm your recovery via SMS or backup email. If you don't have access to your email/phone, contact Xiaomi with documents confirming your phone purchase.
Can I unlock Xiaomi with service codes (##)?
No. Service codes like ##4636## or #7780## on Xiaomi don't work to reset a screen lock, they're designed to diagnose a network or test hardware, and using those codes won't get around a pattern lock or a PIN.