How to Unlock Xiaomi with OK Google: All the Working Techniques of 2026

Introduction: Can you unlock Xiaomi with your voice?

You asked yourself a question: Β«OK Google, how to unlock Xiaomi" - and for good reason.Google's voice assistant can really help with some unlock scenarios, but with important caveats, PIN-A code or password on a Xiaomi smartphone (such as the Redmi Note 12, POCO X5 or Mi 11), then direct voice unlock through OK Google doesn't exist, that's a myth, but voice assistants can indirectly simplify the process if certain settings are enabled on the device.

In this article, we’ll look at real-world unlocking methods (including those where OK Google plays a supporting role), as well as alternative methods, from resetting via Mi Account to using Fastboot mode. Importantly, the effectiveness of each method depends on the Xiaomi model, the MIUI version and security settings. For example, on Redmi with MIUI 14 and later, some life hacks have stopped working due to Xiaomi’s tightening policy.

Warn immediately: if the device activated the function "Data Protection after reset" (found on MIUI 12+), then after the hard reset will require entering the username and password from Mi Account. Without this data, unlock the smartphone will be extremely difficult - up to contacting the service center.

1. Unlocking with OK Google: What Really Works

Many users mistakenly believe that you can just say, "OK Google, unlock your phone" and the smartphone will open. In practice, Google Assistant does not have access to the system settings for locking the screen. However, there are two indirect ways in which the voice assistant can help:

  • πŸ”Š If you're calling a locked phone, if you're using voice commands for outbound calls, you can call it from another phone, you can take it from another phone, you can take it from the phone. OK Google, then try to bypass the lock via the call menu (does not work on all models).
  • πŸ“± Smart home management. If Xiaomi is tied to Google Home, you can use a voice assistant to launch a command to unlock Smart Lock (if it is configured: Β«OK Google, unlock my phone when I’m homeΒ».

In practice, these methods work only if several conditions are met:

Device connected to the Internet (Wi-Fi/mobile data)

Voice commands enabled in Google Assistant settings

Smart Lock (location, devices or voice unlock) is configured on the phone

There is no Mi Account protection after a reset-->

Important: On Xiaomi with MIUI 13/14 and later, voice unlocking via OK Google is most often blocked by default due to security policy. Check if voice commands are enabled in the settings: go to Settings β†’ Google β†’ Settings for Google apps β†’ Search, Assistant and Voice β†’ Voice Assistant.

πŸ’‘

If the "Emergency Call" button is displayed on the lock screen, try dialing the code ##4636## - on some firmware this opens the testing menu from where you can go to the settings.

2 Unlocking through Mi Account: the official method

The most reliable method of unlocking is to use a Mi Account if it was tied to a device. Xiaomi provides an official tool for resetting a password through a website, but there are nuances:

  1. Go to the recovery page: account.xiaomi.com β†’ β€œForgot your password?” β†’ enter your email or phone number.
  2. Identify yourself: you will receive a code to the mail or SMS. Enter it on the site.
  3. Reset the screen password: after logging into the account on the locked phone, the option β€œUnlock the device” will appear (if the phone is connected to the Internet).

If the phone is not connected to the network, you can use the recovery mode:

  1. Turn off your smartphone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. Choose Wipe & Reset β†’ Unlock with Mi Account.
  4. Enter the data from the Mi Account.
What to do if you don’t remember your Mi Account?
If you don't remember the Mi Account password, you can restore it through the attached email or phone number. If access is lost completely, contact Xiaomi with proof of purchase (check, box). EDL-regime (paid).

On Xiaomi models from 2023 to 2026 (such as the Redmi Note 13 Pro+ or Xiaomi 14), unlocking through Mi Account may require additional verification by SMS or email, even if you remember the password.

3. Reset to factory settings: when it works

If other methods don't work, you have to do a hard reset, which is to reset your phone to the factory settings, and it will delete all the data, but it will unlock the device.

  1. Turn off the phone.
  2. Press Volume Up + Power button for 10-15 seconds until the Fastboot menu appears.
  3. With volume buttons, select Recovery Mode, confirm with the power button.
  4. From the recovery menu, select Wipe Data β†’ Wipe All Data.
  5. Confirm the action and wait for the reboot.

Once reset, the phone will require Mi Account data entry if the post-reset Data Protection feature has been activated. On Xiaomi models with a MediaTek processor (such as the Redmi 10A), it is almost impossible to get around this protection without an official account.

Reset via Mi Account|hard-reset|OK Google|I've been to the service.|I haven't tried it yet.-->

Unlocking methodWorks without data loss?You need a Mi Account?Difficulty
OK Google (indirectly)Yes.No.Low.
Mi Account (web)Yes.Yes.Medium
hard-resetNo.Yes (if protection is on)Tall.
Fastboot (EDL)No.No (but you need skills)Very high.

4. Unlock via Fastboot and EDL: for advanced

If the standard methods didn’t work, you can try unlocking Xiaomi via Fastboot modes or EDL (Emergency Download Mode.This requires a PC, USB-cable and special tools.

Method 1: Fastboot

  1. Install Android SDK Platform-Tools on your PC.
  2. Connect the phone to the PC, holding Volume Down + Power (to log in to Fastboot).
  3. In the command line, run: fastboot oem unlock Note: on new Xiaomi models, this command may not work without first binding the developer account.

Method 2: EDL (for experienced)

EDL mode allows you to flash the device bypassing the lock, but requires:

  • πŸ”§ Authorized Xiaomi account to unlock the bootloader.
  • πŸ’» Mi Flash Tool and Firmware for Your Model.
  • πŸ”Œ Transitioner EDL (for some).

πŸ’‘

Using Fastboot and EDL can result in a loss of warranty or device brik, methods only recommended for users with firmware experience.

5. Alternative methods: bypassing the lock without resetting

If you don’t want to lose data, try these methods:

  • πŸ“ž Emergency call: dial on the locked screen ##7780## - on some firmware this resets the pattern lock.
  • πŸ”„ Smart Lock: If a trusted Bluetooth device (such as a Mi Band smartwatch) is configured, the phone can unlock automatically when connected.
  • πŸ“§ Find My Device Recovery: If Google Find My Device is enabled on your phone, you can try locking the device with a temporary password (sometimes resets the old one).

On Xiaomi with MIUI 14 and later, these techniques are often blocked, but on older models (e.g. Redmi 5 or Mi A2) they may work.

πŸ’‘

If the lock screen displays a notification from a messenger (such as WhatsApp or Telegram), try to respond to it – sometimes this opens up access to part of the interface.

6. What should I do if nothing helps?

If all of these methods fail, there are two options:

  1. Contact the Xiaomi service center: official centers can unlock the phone on the purchase documents (guarantee card, check). The cost of the service is from 1000 to 3000 rubles, depending on the model.
  2. Use paid online services: There are sites on the internet that offer EDL unlocking for a fee (like DC-Unlocker).The risk of fraud is high - check reviews before paying.

Warnings:

⚠️ Warning: Don't trust services that promise to unlock "in 5 minutes" without access to your phone. Often these are scammers who can steal your Mi Account details.

⚠️ Note: On Xiaomi models with Qualcomm Snapdragon processor (for example, POCO F5) After unsuccessful attempts to unlock through Fastboot, Qualcomm Firehose protection can work, which will lock the device forever.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi via OK Google if my phone is turned off?
No. OK Google only works on a device that's on, and it's connected to the Internet, and if the phone's off, the voice assistant can't unlock it.
Why does Xiaomi ask for an old password after a reset?
This is the post-reset data protection (FRP) feature that is activated when you link your Mi Account, and to get around it, you need to enter the Xiaomi account data that was tied to your phone before the reset.
How to unlock Xiaomi if you forgot your Mi Account email?
Restore your account through account.xiaomi.com by providing a linked phone number or backup email. If the data is lost completely, contact Xiaomi with proof of purchase.
Does Smart Lock unlock work on all Xiaomi models?
No. On devices with MIUI 12 and later, the Smart Lock may be disabled by default due to security policy. Check settings in Settings β†’ Screen Lock β†’ Smart Lock.
Can I unlock Xiaomi without losing data?
Theoretically, yes, but only if you have a backup or sync with Mi Cloud enabled.In most cases, unlocking without reset is only possible through Mi Account or Smart Lock.