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:
- Open the Settings app (cog icon).
- Go to the Lock Screen section (or Lock and Password on some firmware).
- Find the shortcuts on the lock screen or the camera's quick start.
- 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.
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:
- Open Settings โ System applications.
- Pick a camera.
- Go to Quick Camera Launch.
- 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 buttonOn 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:
- 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:
- Download and install Android SDK Platform-Tools on your computer.
- Enable USB debugging in the developer settings on your phone.
- 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).
- Use the command to turn off the camera on the lock screen: adb shell settings put global lockscreen_camera_disable 1
- Reboot the phone.
Instructions for MacroDroid:
- Install the app from Google Play.
- Create a new macro with trigger The power button is pressed twice.
- Add the action Block the launch of the application and select the Camera.
- 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?
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:
- Install Magisk and get root access.
- Download a file manager with root support (such as Root Explorer).
- Go to /system/usr/keylayout.
- Find the Generic.kl file and open it in the text editor.
- Find the key line 116 POWER WAKE_DROPPED And replace it with a key. 116 POWER WAKE.
- 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:
- Check if the option is disabled in Settings โ Lock screen โ Shortcuts.
- Update the Camera app via Google Play.
- Clear the camera cache: Settings โ Apps โ Camera โ Storage โ Clear the cache.
- 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.