How to completely disable the light sensor on Xiaomi smartphones: 5 working methods

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.

πŸ“Š Why do you want to turn off the light sensor?
The screen will spontaneously dim.
I don't like auto-regulation of brightness.
Savings in battery charge
Other causes
I don't know, just curious.

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:

  1. Open the Settings β†’ Display.
  2. Slip the Brightness slider.
  3. 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:

  1. Open the Phone app.
  2. Enter the combination: ##36446337## (or #4636## on some models).
  3. Go to the Hardware Testing β†’ Sensor section.
  4. Find the Light Sensor and tap it.
  5. Choose Disable or uncheck Enable.

For Qualcomm:

  1. Enter the phone: ##4636###.
  2. Select Testing β†’ Sensor Test.
  3. Find the Light Sensor and turn it off.
What to do if the engineering menu is not opened?
On some MIUI firmware, access to the engineering menu is blocked. In this case, try: 1. Use the MTK Engineering Mode app (for MediaTek) or Qualcomm Engineer Mode from Google Play. 2. Enable the developer mode and try the combination again. 3. Update the firmware to the latest version - sometimes the lock is removed after the update.

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:

  1. 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 0

This 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:

  1. Install the app from Google Play.
  2. In the search, type in the Light Sensor.
  3. 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

    1. Open the engineering menu (see section 2).
    2. Go to the sensor test (Sensor Test).
    3. 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 sensorservice

    In 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/brightThe system reset the brightness settingsManually adjust the brightness in Settings β†’ Display
    Automatic screen locking does not work when callingThe proximity sensor is connected to the light sensorTurn 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 disabledCheck 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.

    FAQ: Frequent questions about turning off the light sensor

    Can I turn off the light sensor without root rights?
    Yes, most of the methods in this article (standard settings, ADB, engineering menus) don't require root access, but root-level sensors may need to be completely deactivated.
    Will the battery be saved after the sensor is turned off?
    The savings are minimal β€” the light sensor consumes about 0.1-0.3% of the charge per hour. But if you turn off the autobrightness and lock the screen in the minimum lighting, the battery consumption will decrease significantly (by 5-15% depending on the model).
    Why did the screen start flashing after the sensor was turned off?
    This is due to a conflict of screen drivers. Try: Return the sensor settings to their original state. Update the firmware to the latest version of MIUI. Reset the screen settings to Settings β†’ Display β†’ Reset. If the problem persists, contact the service center.
    How to turn off the light sensor on POCO F3?
    Nana POCO F3 (and other devices on Snapdragon 870) All methods from the article work, but there is a nuance: after disconnecting through ADB To avoid this, use the command: adb shell settings put system screen_brightness_mode 0 instead of completely shutting down the sensor.
    Can the sensor be turned off for specific applications only?
    No, the system sensors are global, but you can: Turn off the autobrightness manually before you start the application, use applications like Tasker to automatically switch brightness modes.