The light sensor on Xiaomi smartphones automatically adjusts the brightness of the screen depending on the ambient light. For most users, this is a convenient feature, but some people face incorrect sensor operation: the screen dims in a bright room or blinds in the dark. Others simply prefer manual brightness control for stable display. In this article, we will examine all the ways to turn off the sensor, from standard MIUI settings to hidden commands via ADB.
Xiaomi is often hiding some options in deep menus or blocking them at the firmware level. For example, newer versions of MIUI 14 may not have a direct switch on the sensor, while older models (Redmi Note 8 Pro, POCO F1) may not have a direct switch on the sensor, but they may still be available. We tested all the methods on current devices (2023-2026) and identified those that work independently of the firmware version.
If you want to not just turn off the autobrightness, but completely deactivate the sensor (for example, to save charge or test), methods using ADB or engineering menus will come in handy. But beware: improper actions can lead to malfunctions in the screen. All the instructions below are safe if followed accurately.
1. Standard Auto Brightness Shutdown in MIUI
The easiest way is to deactivate automatic brightness control through settings. This won't physically shut down the sensor itself, but the system will stop using its data. The method works on all Xiaomi, Redmi and POCO smartphones with MIUI 12/13/14.
Instructions:
- Open the Settings β Display.
- Slip the Brightness slider.
- Uncheck the box opposite Automatic adjustment (or switch the switch to off position).
After that, the brightness of the screen will be fixed at the current level, but the light sensor will remain active, it can be seen in the list of sensors through an engineering menu or applications like CPU-Z.
π‘
If after turning off the autobrightness, the screen still spontaneously dims, check the settings of the reading or vision protection mode - they can also affect the backlight.
Disconnect the sensor via the engineering menu (MTK and Qualcomm)
The Engineering Menu is a hidden settings section where you can test the hardware components of a smartphone. On Xiaomi devices with MediaTek (Helio G95, Dimensity 700) and Qualcomm (Snapdragon 660/732G/865), the path to the menu is different. Attention: do not change other options in the engineering menu unless you are sure about their purpose!
For MediaTek:
- Open the Phone app.
- Enter the combination: ##36446337## (or #4636## on some models).
- Go to the Hardware Testing β Sensor section.
- Find the Light Sensor and tap it.
- Choose Disable or uncheck Enable.
For Qualcomm:
- Enter the phone: ##4636###.
- Select Testing β Sensor Test.
- Find the Light Sensor and turn it off.
What to do if the engineering menu is not opened?
Warning: After the sensor is turned off through the engineering menu, some functions (for example, automatically turning on the flashlight at low light) may not work properly.
3.Use ADB to completely disable the sensor
If standard methods donβt work, you can turn off the system-level light sensor using the Android Debug Bridge (ADB), which is suitable for all Xiaomi models, but requires a connection to a computer.
Step-by-step:
- Turn on Developer Mode: Go to Settings β About Phone. Tap 7 times on MIUI Version. Go back to Settings β Additional β Developer. Activate USB Debugging.
Connect the phone to the PC and confirm the debugging permission.
ADB Tools
cmd
ADB
adb shell settings put system screen_brightness_mode 0This command turns off the autobrightness. To fully deactivate the sensor, use:
adb shell pm disable-user --user 0 com.android.server.lightsensorβ Developer mode is on
β Debugging is permitted. USB
β Installed drivers Xiaomi on PC
β Downloaded. ADB Tools (last version)
β The phone is connected by the original cable-->
To get it all back, do this:
adb shell pm enable com.android.server.lightsensorβ οΈ Note: Disconnect the sensor through ADB It can cause a flash of the camera and fingerprint scanner to fail on some models (e.g. Redmi Note 10 Pro.
4. Disable the sensor through third-party applications
If you don't want to mess with ADB or the engineering menu, you can use specialized applications that allow you to control sensors without manually entering commands.
Top.-3 tested applications:
- π§ Sensor Disabler β a simple interface to disable any sensors (requires root rights).
- π± QuickShortcutMaker β allows you to create a shortcut for quick access to hidden sensor settings.
- π οΈ Shizuku + AppOps - an alternative ADB To control sensor resolutions without a PC.
Example of QuickShortcutMaker:
- Install the app from Google Play.
- In the search, type in the Light Sensor.
- Select Disable action and create a shortcut on the home screen.
β οΈ Note: Apps like Sensor Disabler require root access, which voids Xiaomiβs warranty. Use them only if you understand the risks!
5. Checking the operation of the sensor after disconnection
To make sure that the light sensor is actually deactivated, use one of the methods of checking:
Method 1: Through the CPU-Z application
Method 2: Testing through the Engineering Menu
- Open the engineering menu (see section 2).
- Go to the sensor test (Sensor Test).
- Cover the light sensor (usually located next to the front camera) with your finger β if the values do not change, the sensor is turned off.
Method 3: ADB teams
Do it at the terminal:
adb shell dumpsys sensorserviceIn the conclusion, find the Light Sensor block β if it is marked as disabled, everything is done correctly.
If the sensor is still active, try restarting the phone or repeating steps from previous sections.
Possible problems and solutions
When you turn off the light sensor, Xiaomi users often experience side effects, and we've collected the most common ones and ways to eliminate them.
| Problem. | Reason. | Decision |
|---|---|---|
| The screen has become too dim/bright | The system reset the brightness settings | Manually adjust the brightness in Settings β Display |
| Automatic screen locking does not work when calling | The proximity sensor is connected to the light sensor | Turn on the proximity sensor separately through the engineering menu |
| The battery goes down fast. | The system is constantly trying to initialize the sensor. | Execute adb shell pm disable-user --user 0 com.android.server.lightsensor |
| The function "Rise to wake up" does not work. | A gyroscope or accelerometer is disabled | Check the performance of other sensors in the CPU-Z |
If you have artifacts on the screen or spontaneous reboots after the sensor is turned off, immediately return the settings to their original state!
π‘
On devices with AMOLED-screens (for example, Xiaomi 12 Pro, Redmi) K50) Turning off the light sensor can cause pixels to burn out faster because of fixed brightness.