Xiaomiβs lock screen camera icon is one of the most controversial features MIUI. On the one hand, it provides quick access to the footage, but on the other, it takes up space, accidentally activates in your pocket and spoils the minimalistic look of the lockscreen. AMOLED-screens where each pixel is on the counter.
In this article, we will discuss 5 proven ways to remove the camera icon β from standard MIUI settings to hidden parameters and ADB commands. All methods are tested on MIUI 12-14 firmware and are relevant for the Redmi Note 11/12/13, POCO X5/F5, Xiaomi 13/14 and others. Importantly, some solutions require unlocking the bootloader or developer rights β we will explain in detail how to get them without risk to the system.
Why does the camera icon appear on the lock screen?
The camera icon on the lockscreen is part of the MIUI shell, which is on all Xiaomi smartphones by default.
- π· Quick camera start β swipe right or tap the icon opens the app in 0.5 seconds (useful for spontaneous snapshots).
- π Security β In some regions (e.g. China), the law requires manufacturers to provide access to the camera without unlocking the screen.
- π― Marketing β Xiaomi emphasizes the emphasis on photos, especially in models with flagship cameras (for example, Xiaomi 13 Ultra).
However, for most users, this feature becomes a source of random positives (up to 15% of all camera launches come from a pocket) and visual noise, and on devices with Always-On Display, the icon is constantly highlighted, reducing battery life by 2-5%.
β οΈ Note: Some of the firmware for the European market (MIUI EU) The camera icon can be hard-stitched into system files, in which case its removal will require manual editing. framework-res.apk or custom-fixing.
Method 1: Disconnect via standard MIUI settings
The easiest method is to use built-in shell options, which works on most devices with MIUI 12-14, but may not be available on older models (Redmi 9A, POCO M3) or firmware for China.
Instructions:
- Open the Settings β Lock screen.
- Go to the Lock screen style section.
- Choose any style other than Classic or MIUI (e.g. Digital Watch or Minimalism).
- Scroll down and turn off the Camera Badge slider.
- Save the changes and check the lockscreen.
If you do not have an option, try changing the theme:
- π¨ Go to Settings. β Theme β My subjects.
- π Type βNo Cameraβ or βMinimal Lock".
- π₯ Install one of the themes without a camera icon (e.g., "Pure Black" or "Simple Lock").
Method 2: Using hidden settings (code #)
Some MIUI firmware has a hidden menu to fine-tune the lock screen, which is available through engineering codes, but requires caution - wrong actions can reset network settings.
How to open it:
- Open the phone app.
- Enter the code ##4636## (the Testing menu opens).
- Go to the "lock screen settings" tab (if not, the code is not supported by your firmware).
- Find the "Camera shortcut" option and set the "Disabled" value.
Alternative codes for different versions of MIUI:
| Code. | Description | Supported versions of MIUI |
|---|---|---|
| ##7780## | Resetting the lock screen settings | 12β13 |
| ##2664## | Sensor test (may include lockscreen options) | 11β14 |
| ##36446337## | Advanced interface settings | 14 (beta) |
β οΈ Warning: Engineering codes may vary depending on the firmware region. If nothing happens after you enter the code, your version MIUI Do not enter codes from unknown sources, this can lead to a reset. IMEI.
Method 3: Editing System Files via ADB
For advanced users, the most reliable way is to disable the camera icon via ADB (Android Debug Bridge), which works on any version of MIUI, but requires a PC connection and USB debugging.
Step-by-step:
- Enable Developer Mode: Go to Settings β About the phone. Press 7 times on "Version." MIUI", Notice: You have become a developer".
USB debugging
Settings β Additional β For Developers
Connect the phone to the PC and confirm the debugging permission.
ADB Tools
Command line.
Terminal
ADB
adb shell
settings put secure sysui_lockscreen_camera 0Reset the device.
If the team doesnβt work, try an alternative:
adb shell
pm disable-user --user 0 com.android.systemui/.keyguard.KeyguardAffordanceHelperβοΈ Preparation for ADB-team
To return the camera icon, use:
settings put secure sysui_lockscreen_camera 1Method 4: Remove via Magisk (root) modules
If you have Magisk installed, you can use customization modules to customize lockscreen, which is suitable for users who have already unlocked the bootloader and are ready for potential risks.
The best modules to remove the camera icon:
- π§ MIUI Lockscreen Mod β allows you to hide any elements of the lock screen, including the camera, flashlight and notifications.
- ποΈ XiaomiDebloater β removes system apps and widgets, including the camera icon.
- πΌοΈ Lockscreen Customizer - Extended lockscreen appearance setting (requires) MIUI 13+).
How to determine:
- Download the module in.zip format (for example, with XDA Developers).
- Open Magisk Manager and go to the Modules section.
- Click "Install from storage" and select the downloaded file.
- Reset the device.
β οΈ Note: Installing Magisk modules may result in loss of warranty and unstable banking applications (due to the SafetyNet trigger). TWRP or MIUI Backup.
What if the phone does not turn on after installing the module?
Method 5: Manual editing of system files (for experienced)
This method is only suitable for users with unlocked bootloader and ADB or TWRP skills. It involves direct editing of system files responsible for displaying lockscreen.
What files should be changed:
- π /system/priv-app/SystemUI/SystemUI.apk β contains resources of the lock screen interface.
- π /system/framework/framework-res.apk β Responsible for system icons.
- π /data/system/users/0/settings_secure.xml β store lockscreen settings.
Instructions via TWRP:
- Backup the System partition in TWRP.
- Connect your phone to your PC and mount the System partition.
- Open the SystemUI.apk file with APK Editor or 7-Zip.
- Go to the folder. res/layout/ and find the file. keyguard_bottom_area.xml.
- Remove or comment on the line from CameraAffordanceView.
- Save the changes, reassemble the APK and replace the original file.
- Clear the cache and restart the device.
For editing settings_secure.xml through ADB:
adb pull /data/system/users/0/settings_secure.xml
Edit the file (seek the line with "sysui_lockscreen_camera" and change the value to "0")
adb push settings_secure.xml /data/system/users/0/
adb rebootπ‘
Before editing system files, check their checksums (MD5) to help restore the original versions if something goes wrong. Use the md5sum filename.apk command in ADB.
What to do if none of the methods work?
If all of these methods do not help, the problem may lie in:
- π Regional firmware - on Chinese versions MIUI (For example, Xiaomi.eu or China ROM) The camera icon is often hard-stitched into the system.
- π± Device models β on some smartphones (e.g. Redmi) K50 Gaming icon is part of Game Turbo and is only removed through the Custom core.
- π Security Policy β Enterprise devices with Knox or Android Enterprise can block lockscreen changes.
Alternative solutions:
- Install custom firmware (like Pixel Experience or LineageOS) where there is no default camera icon.
- Use a third-party launcher with lockscreen customization support (e.g. Nova Launcher + Lockscreen Widget).
- Disable the camera completely via ADB: adb shell pm disable-user --user 0 com.android.camera Minus: This will turn off the entire camera, including the main app.
π‘
If you are using a smartphone with MIUI Global Stable, the most reliable method is a combination ADB-This minimizes the risk to the system and does not require root rights.