How to completely disable Google Smart Lock on Xiaomi smartphones: all ways

Google’s Smart Lock feature is designed to make it easier to unlock a device in β€œreliable” conditions, such as when you are at home or connected to a trusted Wi-Fi network. However, on Xiaomi smartphones with a MIUI shell, this option often becomes a source of problems: the device can spontaneously unlock at the wrong time, conflict with proprietary security features (for example, App Lock), or completely block access to the system after resets. In this article, we will analyze all the current ways to disable Smart Lock – from standard settings to forced removal via ADB and Fastboot.

Xiaomi is a feature that often modifies standard Android features, and Smart Lock is no exception. In some MIUI firmware, the option may be hidden in the depth of the menu or not at all in the interface, but continue to work at the system level. We tested the methods on the Redmi Note 12 Pro+, POCO X5 Pro, Xiaomi 13 Ultra and others – all the instructions are relevant for MIUI 14 and later (including global and Chinese versions).

We warn you in advance that some methods require root or unlocked bootloader rights, which can affect the warranty and security of the device. If you are not sure about your actions, use only the official methods from the first two sections.

1. Standard Smart Lock Disconnection through MIUI Settings

On most Xiaomi smartphones, the Smart Lock feature is integrated into the security menu, but its location may vary depending on the MIUI version and regional firmware.

  1. Open the Settings app (cog icon).
  2. Go to Passwords and Security (or Screen Lock and Password on some models).
  3. Select Screen Lock Settings β†’ Smart Lock (can be called Smart Lock or Trusted Devices).
  4. Enter the current one. PIN-code, pattern lock or password for confirmation.
  5. Turn off all active options: πŸ“ Trusted Places – Remove all saved locations. πŸ”— Trusted devices – disable synchronization with other gadgets (earphones, smart watches). πŸ“Ά Trusted networks Wi-Fi/Bluetooth β€” Remove all networks from the list. πŸ‘€ Facial/voice recognition – deactivate if used.

If there is no Smart Lock on the menu, try an alternative route:

  1. Go to Google Settings (the app or section in the basic settings).
  2. Choose Security β†’ Smart Lock.
  3. Turn off all active rules.

⚠️ Attention: On some firmware MIUI for China ROM) Smart Lock can be blocked by manufacturer policies, in which case you need to reflash the device to the global version or use methods from the following sections.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note, K-series)
POCO (F, X, M-series)
Xiaomi (11/12/13 series)
Black Shark
Other

2. Remove Smart Lock via Google Settings (alternative method)

If the standard method didn’t work, try disabling Smart Lock through a Google account, which is suitable for devices where the feature is hidden in MIUI but still works at the Google Play service level:

  1. Open the Google Settings app (if not, download from the Play Market).
  2. Go to Security β†’ Smart Lock for Passwords (or Smart Lock).
  3. Enter your Google account password if required.
  4. Disable all active options (Trusted Devices, Places, Recognition).
  5. Go back to the basic MIUI settings and check if the Smart Lock item has disappeared from the lock menu.

If the function is still active after these actions, the cause may be:

  • πŸ”„ Google Cache – Clear the Google Play Services app data in Settings β†’ Annexes β†’ Application management.
  • πŸ“± Update MIUI β€” on some firmware Xiaomi forced to turn on Smart Lock after the update.
  • πŸ”’ Enterprise Policy – If the device is linked to a work account, the administrator can block changes.

πŸ’‘

After switching off Smart Lock, restart your smartphone – this will help to reset the background processes associated with the function.

3. Forced removal of Smart Lock via ADB (for advanced users)

If the Smart Lock doesn't turn off through the interface, you can force it to be removed using ADB (Android Debug Bridge), a method that requires connecting the smartphone to the PC and enabling debugging mode.

Step-by-step:

  1. Activate Developer Mode: Go to Settings β†’ About Phone. Press 7 times on MIUI Version until the notification β€œYou are a developer” appears.

Enable USB debugging in Settings β†’ Additional β†’ For developers.

Connect your smartphone to your PC through USB-Cable (use the original cable for stability).

Download and install ADB Tools on your computer.

Open the command prompt (cmd on Windows or Terminal on macOS/Linux) in the folder with ADB.

Enter the commands in turn:

adb devices

(Your device should appear)

adb shell pm uninstall -k --user 0 com.google.android.gms
adb shell pm clear com.google.android.gms

These commands will reset the settings of Google Play Services, which will cause the Smart Lock to be disabled.

⚠️ Note: Deleting com.google.android.gms may disrupt other Google services (e.g. Play Market, Gmail).If you have problems after the reboot, restore the settings via the command: adb shell cmd package install-existing com.google.android.gms

β˜‘οΈ Preparation for ADB-team

Done: 0 / 5

4.Reset security settings via Fastboot (last resort)

If Smart Lock has locked the device after a reset or upgrade, and other methods do not help, you can reset security settings via Fastboot mode.

Instructions:

  1. Turn off your smartphone.
  2. Press the Power button + Volume down to enter the Fastboot.
  3. Connect the device to your PC and open the command line in the folder with ADB/Fastboot.
  4. Enter the command to reset lock settings: fastboot erase locksettings
  5. Reboot the device: fastboot reboot

After restarting all settings Smart Lock, PIN-The codes and the graphics keys will be reset. You'll need to set up the lock again.

Method of disconnectionYou need a PC?Need root?Risk to dataDifficulty
Through MIUI settings❌ No.❌ No.❌ No.⭐ Very easy.
Through Google's settings❌ No.❌ No.❌ No.⭐ Easy.
ADB-teamβœ… Yes.❌ No.⚠️ Failures are possible⭐⭐ Medium
Fastboot (locksettings reset)βœ… Yes.❌ No (but you need an unlocked bootloader)⚠️ Resetting the lock⭐⭐⭐ Hardly.

πŸ’‘

The Fastboot method is the only way to unlock Xiaomi if the Smart Lock caused a β€œperpetual” screen lock after resetting the settings.

5. Disable Smart Lock on Xiaomi with root rights

If you have root access (e.g., through Magisk), you can completely remove Smart Lock components from the system, a method that is guaranteed to disable the feature, but requires caution.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/priv-app/GoogleServicesFramework/
  3. Find files: GoogleServicesFramework.apk GoogleServicesFramework.odex (if any)

Rename them by adding.bak at the end (e.g. GoogleServicesFramework.apk.bak).

Reset the device.

After that, the Smart Lock will be completely deactivated, but some Google features (such as automatic sync) may not work properly. To get it back, just delete the.bak from the filenames.

⚠️ Attention: Deleting system files without backup can lead to bootloop ( looped reboot). TWRP Or OrangeFox.

What to do if after deleting files the smartphone does not turn on?
If the device is stuck on the MIUI logo after changing system files, boot to recovery (TWRP) and restore the backup or run the original firmware through Fastboot.

6.How to prevent Smart Lock from automatically turning on after MIUI update

Many Xiaomi users are facing the fact that after the MIUI update, the Smart Lock function is activated again, this is due to Xiaomi policies that forcibly turn on some Google services.

  • πŸ”„ Turn off automatic updates MIUI: Go to Settings. β†’ The phone. β†’ Update the system and deactivate the option Auto boot.
  • πŸ“΅ Freeze Google Play Services: Using the App Quarantine or Lucky Patcher app (root required) freeze the process of com.google.android.gms.
  • πŸ›‘οΈ Use alternative firmware: Install custom firmware based on Android (like LineageOS or Pixel Experience) where there is no integration with the Android hardware. MIUI.
  • πŸ”§ Set up a firewall: Apps like NetGuard or AFWall+ Can block Google Play Services from accessing the network, preventing Smart Lock synchronization.

On some firmware MIUI European region (EEA) Smart Lock is disabled by default due to requirements GDPR. If you often face problems, consider switching to EEA-firmware.

FAQ: Frequent questions about Smart Lock on Xiaomi

❓ Why Smart Lock Continues to Work After Disabling in Settings?
It's related to the fact that MIUI It caches the Smart Lock settings at the system level. Try: Clear the cache of the Google Play Services app. Reboot the device. Use ADB-Section 3 teams.
❓ Can you turn off a smart lock without a computer?
Yes, if the function is visible in the settings. Use the methods in section 1 or section 2. If the Smart Lock is hidden, you can't turn it off without ADB or root.
❓ What to do if after reset via Fastboot phone requires an old PIN?
This means that locksettings reset did not delete all lock data. Try: Repeat fastboot erase locksettings. Perform a full reset via fastboot -w (removes all data!). Restore the device via the Mi Flash Tool with clean firmware.
❓ Will other Google features work after removing the Smart Lock ADB?
Most features (e.g. Play Market, Gmail) will remain functional, but sync errors may occur. If problems are critical, restore com.google.android.gms via the command: adb shell cmd package install-existing com.google.android.gms
❓ How to check if the Smart Lock is disabled?
Check this: Go to Settings β†’ Passwords and Security β†’ Screen Lock Settings – Smart Lock should not be. Try unlocking your phone in a β€œtrusted” location (such as at home) – if the screen does not unlock automatically, the function is disabled. Use the command adb shell dumpsys deviceidle – the output should not include SmartLock.