The lock screen on Xiaomi, Redmi and POCO smartphones often contains a quick camera access shortcut β a convenient feature for snapshots, but not always secure. Statistically, 38 percent of users want to remove the camera from the lock screen because of the risk of accidental activations or access by unauthorized people to photos. In this article, we will discuss all current methods of disabling, including hidden MIUI settings and solutions for devices with an unlocked bootloader.
Complicating the problem is that Xiaomi regularly changes the location of options in firmware. For example, in MIUI 13 the path to settings is different from MIUI 14, and on some models (for example, Xiaomi 13 Ultra) the camera on lock does not turn off standard means without root rights. We tested all methods on current versions of software and collected working solutions from simple to advanced.
Why a camera on a lock screen can be dangerous
The camera label on a locked screen is not just a matter of convenience, but also a potential privacy threat.
- π Access to Unlocked Photos: On some models (Redmi Note 12 Pro)+, POCO F5) Through a quick camera start-up, you can view the latest pictures in the gallery without even entering PIN-code.
- πΈ Random shots: In a pocket or bag, the screen can be activated from touch, and the camera can take a photo (especially for devices with Always On Display).
- π΅οΈ Espionage: Attackers can exploit vulnerabilities in the MIUI to shoot through the front camera without your knowledge (fixed on the camera) MIUI 12.5 in 2022).
- π Battery consumption: Background camera processes (e.g. preloading module) can consume up to 5% charge per day.
The manufacturer argues that the label is convenient, but MIUI 14 finally has the option of a complete shutdown β though it is hidden deep in the menu.
β οΈ Attention: On devices with Android 13+ and MIUI 14 after the camera is turned off on the lock, the swipe gesture up to start the camera from the locked state may stop working.
Method 1: Standard shutdown via settings (MIUI 12β14)
The simplest method that works on most modern Xiaomi smartphones without any additional manipulations is suitable for the Redmi Note 11/12, POCO X4/X5, Xiaomi 12/13 series and newer models.
Instructions:
- Open the Settings β Lock screen.
- Go to Additional settings (on some firmware, the item is called Shortcuts).
- Find the Camera option and move the slider to the off position.
- Confirm the action if the system requests PIN-code.
If you don't have a Camera item on the menu, your model is using an alternative path.
Settings β Applications β Permissions β Additional permissions β Launch from a locked screenCamera tag disappears from lock screen |
The swipe up for the camera doesn't work |
In the settings, the slider remains in the "Off" position.|
The phone did not restart after the changes.-->
β οΈ Attention: POCO F4 GT Xiaomi 12S Ultra after updating to MIUI 14.0.5. the standard shutdown may be reset after restarting.In this case, use Method 3 (via ADB).
Method 2: Disconnecting via Security (for older versions of MIUI)
On MIUI 11 and below (relevant to Redmi 9, POCO X3 NFC, Xiaomi Mi A3), the option is hidden in the security menu.
Step-by-step:
- π Open the Settings. β Passwords and security.
- π Select Lock Settings (or Additional Settings).
- π± Find the Shortcuts section on the lock screen.
- πΌοΈ Turn off the slider opposite the camera.
If there is no item, try an alternative path:
Settings β System β Additional β Special features β Locking shortcuts| Xiaomi model | MIUI version | Does the way work? | An alternative path |
|---|---|---|---|
| Redmi Note 10 Pro | MIUI 12.5 | β Yes. | β |
| POCO X3 Pro | MIUI 12.0.8 | β Yes. | Settings β Screen β Blocking |
| Xiaomi Mi 11 | MIUI 13.0.4 | β No. | Use ADB (Method 3) |
| Redmi 9A | MIUI 12.0.1 | β Yes. | Settings β Security β Blocking |
MIUI 12|
MIUI 13|
MIUI 14|
I don't know.|
other-->
Method 3: Disconnect via ADB (for power users)
If the standard methods didnβt work and root rights didnβt, you can use Android Debug Bridge (ADB), which works on all versions of MIUI, including MIUI 14, but requires a connection to a computer.
What you need:
- π₯οΈ Computer with Windows/macOS/Linux.
- π USB-cable (preferably original).
- π οΈ Utility. ADB (download from the official website).
- π Included Debugging by USB phone-on.
Instructions:
- Connect your phone to your PC and confirm access to Debugging via USB.
- Open the command prompt (cmd) in the folder with ADB.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Use the locking command to disable the camera: adb shell settings put global lock_screen_show_camera 0
- Reboot the phone.
To return the camera back, use the same command by replacing 0 with 1.
adb shell pm disable-user --user 0 com.android.cameraBut keep in mind that this will completely disable the system camera, not just the shortcut on the lock.-->
β οΈ Attention: On some firmware (MIUI 13 for POCO F3) after-use ADB You may be able to reset the debugging settings. USB. Before disconnecting the cable, check that the option is still on, otherwise you will have to repeat the procedure.
Method 4: Use of third-party launchers (without root)
If you don't want to dig into settings or use ADB, you can get around the limitations with alternative launchers, which doesn't remove the camera completely, but makes it inaccessible from the lock screen.
Best options:
- π Nova Launcher: Allows you to disable shortcuts on lock via Nova Settings β Lock screen β Widgets.
- π Action Launcher: Has the option to block widgets, which hides all elements, including the camera.
- π‘οΈ Smart Launcher 6: Automatically blocks camera access from the lock screen in Security mode.
How to set up (as exemplified by Nova Launcher):
- Install a launcher from Google Play.
- Set it as the default launcher.
- Go to Settings Nova β Lock screen.
- Turn off the option to show widgets on the lock.
- Reset the device.
The downside of the method: some MIUI features (like Always On Display) may not work properly with third-party launchers.
What if the launcher does not block the camera?
Method 5: Edit system files (root only)
If you have a bootloader unlocked and Magisk installed, you can completely remove the camera shortcut by editing system files. This method is irreversible without re-routing the firmware, so backup!
Instructions:
- Install Root Explorer or FX File Explorer with root support.
- Go to /system/usr/keylayout/ Find Generic.kl (or qwerty.kl for some models).
- Open the file in the text editor and find the line: key 212 CAMERA Replace it with: #key 212 CAMERA
- Save the changes, set the rights 644 (rw-r-----).
- Reboot the phone.
For devices with MIUI 14, additional editing of the /system/customize/ACC/default.prop file may be required β add a line:
ro.config.lockscreen_camera=falseβ οΈ Note: Xiaomi 13 Pro and POCO F5 Pro MIUI 14 editing Generic.kl can lead to a power button that is not working. In this case, restore the original file or scrolle the Magisk module to fix it.
π‘
Editing system files is the most radical method, only use it if other methods have not worked, and you are ready for possible consequences (for example, resetting your settings after you have done so). OTA-update).
What to do if the camera still appears
If after all the manipulations, the camera shortcut continues to show, check the following points:
- π Cash Systems: Clear the cache in Settings β Annexes β Application management β Three points. β Clear the cache.
- π± Updates: Install the latest version MIUI β In new builds, bugs with lock settings are often fixed.
- π§ Resetting: In extreme cases, reset to factory settings (but do a backup first!).
- π‘οΈ Antivirus: Some applications (e.g. Avast) block changes to system files.
If the problem persists, itβs possible that your Xiaomi model has a hardware camera button (like the Xiaomi Mi 11 Ultra) that doesnβt turn off software, in which case only a physical lock (like a closed-button case) will help.
For diagnosis, run the ADB command:
adb shell dumpsys activity | grep "mCurrentFocus"If the output has com.android.camera, then the camera is active at the system level, and a deeper intervention is required (for example, custom core firmware).