How to remove the camera from the lock screen on Xiaomi: all ways

Modern Xiaomi smartphones are equipped with a convenient function of fast start of the camera directly from the lock screen โ€“ just twice press the power button or make a gesture up the camera icon. However, for many users, this feature becomes a source of accidental positives, battery discharge or even a risk to privacy, especially on models with a retractable front-facing camera (for example, the Mi Mix 3 or Mi Mi). 9T), where the mechanism may wear out from frequent activations.

In this article, weโ€™ll look at all the ways you can turn off your camera on your lock screen, from standard MIUI settings to hidden developer settings. Instructions are relevant for devices on MIUI 12-14, including the latest flagships Xiaomi 13/14, Redmi Note 12 and POCO F5.

โš ๏ธ Important: Some methods require superuser rights (root) or activation of the developer mode. If you are not sure about your actions, use only the official settings from the first section.

1. Disconnection through standard MIUI settings

The easiest and safest way to do this is to take advantage of the built-in options, which are suitable for most Xiaomi, Redmi and POCO models on MIUI 12-14:

  1. Open the Settings app (cog icon).
  2. Go to the Lock Screen section (or Lock and Password on some firmware).
  3. Find the shortcuts on the lock screen or the camera's quick start.
  4. Turn off the switch next to the Camera option.

On some devices (such as the POCO X3 Pro), the path may be slightly different:

Settings โ†’ All settings โ†’ Lock screen โ†’ Additional settings โ†’ Quick camera start

โš ๏ธ Warning: Once you turn off this option, you won't be able to quickly start the camera with either a double press of the power button or a swipe on the icon on the locked screen. To take a picture, you'll have to unlock the phone and open the app manually.

๐Ÿ“Š What kind of screen locking you use?
PIN code
pattern lock
Fingerprint.
Facial recognition
Unlocked.

2. disable the double press of the power button

Many Xiaomi users experience the camera being triggered by the occasional double press of the power button โ€” for example, when the phone is in your pocket or bag โ€” a feature called the Double tap power button and is deactivated separately:

  1. Open Settings โ†’ System applications.
  2. Pick a camera.
  3. Go to Quick Camera Launch.
  4. Turn off the option of double pressing the power button.

If there is no such item, try an alternative path:

Settings โ†’ Special features โ†’ Physical buttons โ†’ Power button

On some firmware (e.g. MIUI Global for Redmi Note 10), this option may be hidden, in which case resetting the camera settings will help:

Settings โ†’ Applications โ†’ Application Management โ†’ Camera โ†’ Storage โ†’ Clear data

๐Ÿ’ก

If the camera still starts after you turn off double-press, check if this feature conflicts with MIUI gestures. For example, on the Xiaomi 12T, a swipe up the lock screen can activate both the camera and the notification bar at the same time.

3.Use of the Developer Mode

If the standard settings didnโ€™t work, you can use hidden options for developers, which works on most Xiaomi devices, but requires pre-activation of the mode:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone. Find the MIUI Version and click on it 7 times in a row. You will be notified of becoming a developer!

For developers

Entering

Turn off the camera on the lock screen

Disable camera on lockscreen

Activate the switch.

โš ๏ธ Note: In some versions MIUI (for example POCO F4 GT) This option may not be available, so try an alternative method through ADB (section).

On devices with MIUI 14 and later, the option may be called Quick Launch Camera and can be found in the System โ†’ Developer options โ†’ Input section.

Install Xiaomi drivers on PC| Enable debugging over USB in the developer settings | Download Android SDK Tools | Connect your phone to your computer via cable-->

4. Disconnection via ADB (for power users)

If previous methods have failed, you can use ADB commands. This method requires connecting the phone to a computer and basic knowledge of working with the console.

Instructions:

  1. Download and install Android SDK Platform-Tools on your computer.
  2. Enable USB debugging in the developer settings on your phone.
  3. Connect Xiaomi to your PC and type in the command line (cmd): Adb devices Make sure the device is identified (its serial number should appear).
  4. Use the command to turn off the camera on the lock screen: adb shell settings put global lockscreen_camera_disable 1
  5. Reboot the phone.

Instructions for MacroDroid:

  1. Install the app from Google Play.
  2. Create a new macro with trigger The power button is pressed twice.
  3. Add the action Block the launch of the application and select the Camera.
  4. Save the macro and activate it.

โš ๏ธ Note: Blocking applications may conflict with MIUI Optimization is a system service that closes the background processes. To avoid problems, add the selected application to Settings. โ†’ Annexes โ†’ Special access โ†’ No restrictions.

What if the camera is still running?
If neither method worked, the problem could be firmware. Some custom ROMs (e.g. xiaomi.eu or Pixel Experience) ignore system settings. In this case, there are two options: 1. Install official firmware via Mi Flash Tool. 2. Get root rights and manually edit /system/build.prop by adding ro.lockscreen.camera.disable=1.

6. Radical methods: root and modification of system files

If you're willing to go to extreme lengths, you can completely remove the ability to run the camera from the lock screen through file editing.

  • Unlocked bootloader (bootloader).
  • Superuser rights (root).
  • Backup of the system (required!).

Instructions:

  1. Install Magisk and get root access.
  2. Download a file manager with root support (such as Root Explorer).
  3. Go to /system/usr/keylayout.
  4. Find the Generic.kl file and open it in the text editor.
  5. Find the key line 116 POWER WAKE_DROPPED And replace it with a key. 116 POWER WAKE.
  6. Save the changes, set the 644 license and restart the phone.

โš ๏ธ Warning: Incorrect editing of system files can lead to a device breeze (complete failure!

After these changes, double-pressing the power button will stop working at all (including running the flashlight and other functions).To get it back, restore the original Generic.kl file.

๐Ÿ’ก

If you are not an experienced user, it is better to stay on the standard settings or ADB-Root methods are only suitable for enthusiasts who are prepared for potential risks.

7.What to do if the camera disappeared from the lock screen itself?

Sometimes Xiaomi users face the opposite problem: the camera icon disappears from the lock screen for no apparent reason.

  • MIUI updates.
  • Resetting.
  • Custom firmware installations.
  • Conflict with security applications (e.g. Avast or 360 Security)

To return the function:

  1. Check if the option is disabled in Settings โ†’ Lock screen โ†’ Shortcuts.
  2. Update the Camera app via Google Play.
  3. Clear the camera cache: Settings โ†’ Apps โ†’ Camera โ†’ Storage โ†’ Clear the cache.
  4. If nothing helps, reset your camera settings (see Section 2).

On some devices (such as Xiaomi 12S Ultra), the camera icon on the lock screen only appears when active authentication (fingerprint or facial recognition) is used. If you use a PIN or pattern lock, the shortcut can be hidden.

FAQ: Frequent questions

Can I turn off the camera on the lock screen without losing the functionality of the double press of the power button?
Yes, but not on all devices. On most Xiaomi smartphones, double-pressing the power button is tied to the camera launch. However, on some models (for example, Redmi K50 Gaming), this button can be reassigned to another action through the settings of the Physical buttons in the Special features section.
Why does the camera reappear on the lock screen after the MIUI update?
This is standard MIUI behavior โ€“ after major updates (e.g., from MIUI 13 to MIUI 14), some settings are reset to default values. To avoid this, check the Lock Screen section in the settings immediately after the update.
Is it safe to use ADB to turn off the camera?
Yes, if you follow the instructions and do not change other settings. lockscreen_camera_disable 1 It just adds a record to the system settings and doesn't affect the stability of the phone. ADB Make sure: The phone is on debugging USB. You downloaded Google's official Platform-Tools. The computer recognizes the device (check with adb devices).
Can I turn off the camera on the lock screen only for the front camera?
No, MIUI doesn't have a separate setup to turn off the front camera or the main camera. All the methods in this article block any camera launch from the lock screen. If you need to restrict access to only the selfie camera, use apps like AppBlock that can block individual camera functions on a schedule.
Why is my POCO X3 NFC not having the camera launch option in the settings?
On some devices POCO (firmware-wise MIUI for POCO) This option can be hidden or in another section. Try: Search through the search bar in the settings for "camera". Update the firmware to the latest version. ADB-If nothing helps, check if this feature is removed in your regional firmware version (for example, in the MIUI India has some options missing).