How to completely disable the lighting sensor on Xiaomi Redmi Note 8 Pro

Xiaomi Redmi Note 8 Pro is a popular smartphone with automatic brightness control, but many users are faced with the incorrect operation of the light sensor. It can too aggressively dim the screen indoors or, conversely, not respond to changes in light. If you want to completely turn off the light sensor β€” this article will help to do this in three proven ways.

Unlike most instructions, here we're going to look at not only standard MIUI settings, but also hidden methods through ADB and engineering menus. Importantly, turning off the sensor will lead to manual brightness adjustments, which can affect autonomy. But if you're annoyed by the constant flickering of the screen, this is a justified step.

Why is the light sensor not working properly?

Problems with the light sensor on the Redmi Note 8 Pro are often related to:

  • πŸ”Ή Sensor contamination (dust, greasy prints)
  • πŸ”Ή Firmware failures (especially after updates) MIUI)
  • πŸ”Ή Incorrect calibration in the factory
  • πŸ”Ή shell conflict (for example, after installing custom themes)

Before you turn off, try to wipe the sensor (on the right of the front camera) with an alcohol wipe. If that doesn't work, move on to radical measures. Note that on some firmware, the sensor can spontaneously turn on after rebooting. We took this into account in the instructions.

πŸ“Š How often do you have a light sensor?
Constantly.
Sometimes.
It used to, but it's okay now.
Never noticed a problem.

Method 1: Disconnect via standard MIUI settings

The easiest method is to use the built-in options, suitable for MIUI 12, 13 and 14:

  1. Open the Settings β†’ Display.
  2. Slap it on Automatic Brightness.
  3. Move the slider to the off position.
  4. For reliability, also turn off Adaptive Brightness (if any).

⚠️ Note: On some versions MIUI After the automatic brightness is turned off, the sensor continues to work in the background. To check this, close the sensor with your palm β€” if the screen is not darkened, then the blackout has worked. If the blackout has occurred, use method 2 or 3.

β˜‘οΈ Preparation for sensor shutdown

Done: 0 / 4

Method 2: Deactivation via ADB (for power users)

If the standard method didn't work, use ADB, the Android debugging tool, which will reliably disable the sensor at the system level.

  • πŸ–₯️ Computer with Windows/Linux/macOS
  • πŸ”Œ USB-cable (original)
  • πŸ“± Included Debugging by USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap β†’ Developer β†’ Debugging by USB)

Steps:

  1. Download Platform Tools and unpack.
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the command line in the adb.exe folder and type:
adb shell settings put system screen_brightness_mode 0

This command will force the manual brightness mode to return the automatic mode, use:

adb shell settings put system screen_brightness_mode 1

πŸ’‘ If the sensor is activated again after the reboot, create a task in Automate or Tasker that will automatically execute this command when the phone is turned on.

What if the ADB can’t see the device?
1. Check if drivers are installed (for Windows, download Mi Phone Manager). 2. Try another one. USB-cable (not all support data transfer). 3. Enable debugging by USB (Security settings) and Allow debugging when locked. 4. Restart your phone and PC.

Method 3: Engineering menu (hidden settings)

The Redmi Note 8 Pro has a hidden engineering menu where you can turn off the sensor hardware. Careful: wrong actions here can disrupt the phone.

Instructions:

  1. Open the Phone app.
  2. Enter the code ##36446337# MTK-chips, like in the Redmi Note 8 Pro).
  3. Go to Hardware Testing β†’ Light Sensor.
  4. Press Disable or reset calibration (Calibration β†’ Reset).
ParameterDefault valueRecommended value
Screen brightness mode1 (auto)0 (handheld)
Light sensor calibrationDepends on the firmware.Reset (dumping)
Ambient light luxDynamic.Ignore

⚠️ Note: Do not change other options, especially those related to Radio or Modem, in the engineering menu, this can lead to network loss or phone buildup. If the screen becomes too dim or bright after the changes, reset the screen settings in the standard settings.

πŸ’‘

The engineering menu is a powerful tool, but it's dangerous. Use it only if the first two things don't work, and you understand the risks.

What if the sensor turns on after restarting?

This is a common problem on Xiaomi with MIUI 12+ firmware, and it's caused by miui.brightness, which resets settings.

  • πŸ“΅ Install Shizuku + App Ops and Block the Permission CHANGE_CONFIGURATION system-apply UI.
  • πŸ”„ Create an automatic rule in Tasker that will run ADB-boot-off.
  • πŸ› οΈ Reflash your phone to custom firmware (e.g. Pixel Experience) where there are no such bugs.

If you don’t want to go into the settings, the easiest way out is to turn off battery optimization for System UI:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Put three points on it. β†’ Show system-based.
  3. Find System UI, open the Battery β†’ Battery Optimization.
  4. Choose No Limits.

Impact on autonomy: should the sensor be turned off?

Many people fear that manual brightness adjustment will increase battery consumption, and in practice, the difference is minimal:

  • πŸ”‹ With automatic brightness, the sensor consumes ~5-10 mA/h (data from AccuBattery).
  • 🌑️ When manually adjusted, the flow rate depends on the level selected: 30% brightness β‰ˆ 3-5 mAh.
  • ⚑ If you often change the brightness manually, the cost can increase by 1-2% post 8 hours.

Critical: On the Redmi Note 8 Pro, the light sensor is connected to the proximity sensor. When completely disconnected through the engineering menu, you may have problems turning off the screen during calls. ADB-method.

FAQ: Frequent questions about the light sensor

Can the sensor be turned off for specific applications only?
No, system brightness settings are global, but you can use apps like Tasker to automatically change the brightness when you open certain programs (like dimming the screen on YouTube and returning the brightness in messengers).
Why did the screen become too dim after the sensor was turned off?
Most likely, Adaptive Mode (in some firmware it is separated from automatic brightness). Go to Settings β†’ Display β†’ Additional and turn off all options related to color / brightness adaptation. Also check if Read or Vision Protection is activated.
Will Face Unlock work after the sensor is turned off?
Yes, facial unlocking uses an infrared camera, not a light sensor, but if you turn off the sensor through the engineering menu and reset the Proximity Sensor calibration, you might have problems, and then you can return the proximity sensor settings to their original state.
How to check if the sensor is turned off?
There are 3 ways: Close the sensor with your finger, the screen should not respond. Use the Sensor Test app (like the Phone Tester from the Play Market). Type ##4636## in the engineering menu and check the status of the sensor in the Sensors section.
Can I physically disable the sensor (for example, tape)?
Technically, yes, but it's not recommended. The light sensor on the Redmi Note 8 Pro is combined with a proximity sensor. If you tape it with tape or paint, it will stop working: πŸ“ž Automatically shut down the screen during a call πŸ”¦ Auto-adjustment of key illumination πŸŒ“ Some camera functions, for example, HDR) If the sensor is physically damaged, it is better to take the phone to the service for replacement than to block it software.