How to remove the camera button from the lock screen on Xiaomi: all working methods

Why the camera button on the lock screen interferes – and how to turn it off

The camera quick start icon on Xiaomi’s lock screen is a handy feature for those who often take pictures, but for many users, it becomes a source of random taps, battery discharge (due to the module’s background activity), or even a privacy risk. In public places, for example, outsiders can quietly activate the camera if the smartphone is lying upside down.

Depending on the version MIUI (12 to 14) and device models (Redmi Note 12, POCO X5, Xiaomi 13 et al.) the ways to remove the button vary: somewhere it can be disabled through standard settings, and somewhere you need to edit system files or use it. ADB-In this article, all the current methods, including those that work on the latest firmware in 2026, are covered.

Before you start, consider that some methods require unlocking the bootloader or the rights of the superuser (root), which can affect the warranty and security of the device. If you are not sure about your actions, use only the official MIUI settings.

Method 1: Disconnect via standard MIUI settings

The simplest method, which works on most MIUI 12-14 devices (including Redmi and POCO), is suitable for users who don’t want to get into the technical details.

Instructions:

  1. Open the Settings β†’ Lock screen.
  2. Select Lock Screen Style (or Additional Settings, depending on version).
  3. Find the shortcuts option on the lock screen or Quick Start.
  4. Turn off the slider next to the Camera (or uncheck if the interface is different).
  5. Save the changes and restart the device (sometimes required for use).

⚠️ Note: Some models (e.g. Xiaomi) 12T or POCO F4) This item may not be available, so move on to the next one.

Make sure you have the latest version of MIUI| Backup settings | Battery charge at least 30% | Turn off two-way authentication (if used)

-->

Method 2: Using Developer Mode and ADB

If the standard settings do not help, you can use Android Debug Bridge (ADB) β€” It's a deep-tuning tool, and it doesn't require root rights, but it requires a computer and a computer. USB-cable.

Step-by-step:

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

USB debugging

Settings β†’ Additional β†’ For Developers

Xiaomi

adb devices

If the device is displayed, you can continue.

adb shell settings put global lockscreen_camera_disable 1

Reboot your smartphone.

To return the button back, use the same command by replacing 1 by 0.

adb shell pm disable-user --user 0 com.android.camera

But keep in mind: this will completely disable the camera’s system app, not just the lock label.

-->

Method 3: Editing system files (root required)

For advanced users who are ready to get root access, there is a method of editing MIUI configuration files. This is the most reliable way, but also the most risky – wrong actions can lead to a bootloop.

Instructions:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Go to /system/usr/keylayout/ Find Generic.kl (or qwerty.kl, depending on the model).
  3. Open the file in the text editor and find the line: key 212 CAMERA Replace it with: #key 212 CAMERA (symbol # comments a line by disabling the function).
  4. Save the changes, set the rights 644 (rw-r--r---) and restart the device.

⚠️ Attention: On some firmware (MIUI 14 for Xiaomi 13 Pro) this file can be protected from changes, in which case you need to disable dm-verity via Magisk.

What if the smartphone does not turn on after editing?
If the device is stuck on the MIUI logo, try: 1. Go to Recovery Mode (press Power + Volume up). 2. Select Wipe Cache Partition. 3. Reboot. If it doesn't work, you'll have to refashion the device via Fastboot.

Method 4: Using third-party launchers

If you don’t want to interfere with system files, you can bypass the limitations of MIUI with alternative launchers like Nova Launcher or Action Launcher, which allow you to customize the lock screen, including removing unnecessary items.

How it works:

  • πŸ“± Install a launcher from Google Play (for example, Nova Launcher Prime).
  • πŸ”§ In the launcher settings, find the Lock Screen or Gestures section.
  • 🚫 Turn off the option to show shortcuts MIUI Add the camera to the blacklist.
  • πŸ”„ Restart the device to apply changes.

The downside of this method is that not all launchers support deep customization of the lock screen on Xiaomi. For example, Nova Launcher can hide the shortcut only on the home screen, but not on the lock. Before buying a paid version, check the functionality in the free version.

Standard settings MIUI|ADB-team|Editing system files|Third-party launchers|I don't know, I haven't tried it yet.

-->

Method 5: Reverse firmware or switch to custom

If neither method worked, it could be because of the firmware of your model, leaving two radical options:

  1. Reverse to an earlier version of MIUI (if the camera button came after the update). To do this: Download the old firmware from the official Xiaomi website (Archive section). Use the Mi Flash Tool to install via Fastboot.
  2. Installing custom firmware (like LineageOS or Pixel Experience) will remove all MIUI restrictions completely, but will require: Unlock the bootloader (via Mi Unlock Tool); TWRP Recovery installations; Data backup (all data will be erased!).

Important: Sliding back or installing customized will result in a reset of all data and may disrupt some features (such as NFC or 5G broadband on some models).

MethodRoot is required.Risk to the systemCompatibility
Standard settings❌ No.⚠️ Low.MIUI 12-14 (not all models)
ADB-team❌ No.⚠️ Medium.Most devices
File editingβœ… Yes.❗ High-pitchedAll models (at risk)
Third-party launchers❌ No.⚠️ Low.Limited functionality
Custom firmwareβœ… Yes.❗ criticalAll models (with full reset)

Frequent Mistakes and How to Avoid Them

When you try to remove the camera button, users often encounter typical problems, and here are the most common ways to solve them:

  • πŸ”„ Settings are not saved after restarting β†’ Check if settings are reset due to battery optimization. Turn off optimization for the Settings app in Settings β†’ Annexes β†’ Application management β†’ Settings β†’ Battery.
  • πŸ”Œ ADB can't see the device β†’ Make sure that the debugging is enabled USB And you've got Xiaomi drivers installed. Try another one. USB-cable (preferably original).
  • πŸ“± After editing files, the smartphone does not turn on β†’ Load into Safe Mode (clip the power supply) + Volume down when turned on) and return the changes back.
  • πŸ”’ It's not possible to root. β†’ On new models (Xiaomi) 13/14) Unlocking the loader may take up to 7 days due to Xiaomi policy.Follow the official instructions on the website en.miui.com/unlock.

⚠️ Note: If you are using a corporate device with security policies (e.g., through Android Enterprise), some methods may be blocked by the administrator. IT-service.

Can I remove the camera button without root and ADB?
Yes, but only if your model supports disabling through standard MIUI settings (see Method 1). On most devices with MIUI 14 (2023-2026), this option is available. If it is not available, there is no alternative without root/ADB.
Why did the camera button return after the MIUI update?
Firmware updates often reset user settings, including changes to system files.To avoid this: Before upgrading, back up through Settings β†’ System system β†’ Backup. If you used it. ADB-For root users, install the Magisk module to protect changes (e.g. MagiskHide Props Config).
Is it safe to turn off the camera via ADB?
Adb shell settings put global lockscreen_camera_disable 1 It is safe, it only hides the label without affecting the camera itself. However: Do not use commands to disable system applications (e.g. pm disable-user) unless you are sure of the consequences. Always check the syntax of commands before executing.
How to remove the camera button on the POCO F5 or Redmi Note 12 Pro+?
On these models, the standard method (through settings) often doesn't work. ADB-Method (see Method 2) If it does not help, TWRP and edit the Generic.kl file (see Method 3). POCO F5 s MIUI 14 may need to disable dm-verity protection via Magisk.
Does removing the camera button affect the work of Face Unlock?
No, these features are not related. The camera button on the lock screen is just a shortcut to quickly launch the app. Face Unlock uses a separate module (infrared or front camera) and is independent of the icon.