The light sensor on Xiaomi Redmi smartphones is a useful feature for automatically adjusting the brightness of the screen, but not everyone likes it. Some complain about the incorrect operation of autobrightness (the screen dims at inappropriate moments), others want to save battery power, and others just prefer manual adjustment. In this article, we will examine all the ways to turn off the light sensor, from standard MIUI settings to hidden commands for experienced users.
It's important to understand that the light sensor and the autobrightness function are not exactly the same thing: the sensor physically measures the level of ambient light, and the avlubraznost uses this data to change the backlight of the screen. We'll show you how to turn off both, and how to completely deactivate the sensor at the system level if standard methods do not help. All instructions are relevant for MIUI 14 and MIUI 15 (including HyperOS), and for most Redmi models (from Redmi Note 10 to Redmi 13 Pro).
1. Disable autobrightness through standard settings
The easiest way is to deactivate the auto-regulation of brightness in the settings menu, which will not turn off the light sensor itself (it will continue to work for other functions, such as Reading in the Dark), but the screen will not spontaneously dim or flare up.
Instructions:
- Open the Settings β Screen.
- Slip the Brightness slider.
- Remove the tick from the item Automatic brightness adjustment (or switch the switch to the off position).
- Manually set a comfortable level of brightness.
On some firmware (for example, on the Redmi Note 12 with HyperOS), the path may be slightly different:
- π± Settings β Display. β Brightness and colour β Autobrightness
- π If there is no item, update it. MIUI last-minute.
β οΈ Warning: After turning off autobrightness, the screen may appear too bright in dark rooms. We recommend manually reducing brightness in the evening to avoid straining your eyes.
2. Completely disabling the light sensor through the engineering menu
If you need to completely deactivate the light sensor (for example, due to malfunction or application conflict), this can be done through an engineering menu. This method requires caution - improper actions can disrupt the work of other sensors.
Step-by-step:
- Open the Phone app and type the combination: ##6484## (some models may run ##36446337##).
- You will be taken to the MTK Engineer Mode (or Qualcomm Engineer Mode, depending on the processor) menu.
- Go to Hardware Testing β Sensors β Light Sensor.
- Click Disable or uncheck the Enable Light Sensor.
- Save the changes and restart the phone.
After that, the light sensor will stop working for all functions, including autobrightness and Adaptive Mode in MIUI. To get it back, repeat the steps and turn the sensor on again.
βοΈ Preparation for work with the engineering menu
β οΈ Note: Some Redmi models (e.g. Redmi) K50) The engineering menu can be blocked. In this case, use the method of using the ADB (described below).
3. Disconnect the sensor via ADB (for advanced users)
If the standard methods donβt work, you can turn off the light sensor using Android Debug Bridge (ADB), a method that is suitable for users who are ready to work with the command line, the advantage is that the changes take effect immediately and are not reset after the MIUI update.
What you need:
- π₯οΈ A computer with installed Xiaomi drivers and ADB.
- π± Included Debugging by USB on the phone (Settings) β The phone. β Version. MIUI β 7 times tap to unlock the developer mode).
- π USB-cable (preferably original).
Instructions:
- Connect your phone to your PC and open the command line (cmd or terminal).
- Enter the command to check the connection: adb devices (should display the serial number of your Redmi).
- Disable the light sensor with the command: adb shell settings put system auto_brightness 0 (It'll turn off the autobrightness).
- To fully deactivate the sensor, use: adb shell pm disable-user --user 0 com.miui.weather2 (some firmware may require a different command).
Once these commands are done, the light sensor will be turned off at the system level. To bring it back, use:
adb shell pm enable com.miui.weather2π‘
If the screen becomes too dim after the sensor is turned off, try resetting the brightness settings with the adb shell settings delete system command. screen_brightness
4. Problems after disconnecting the light sensor and their solution
Turning off the light sensor can have unexpected consequences, and here are the most common problems and ways to fix them:
| Problem. | Reason. | Decision |
|---|---|---|
| The screen has become too bright/dull | Autobrightness disabled, but manual tuning lost | Manually adjust the brightness in Settings β Screen |
| The function of reading in the dark does not work. | The light sensor is responsible for activating the dark theme. | Turn on Dark Mode manually or use a schedule |
| The battery goes down fast. | The screen is operating at maximum brightness | Set brightness to 50-60% and turn on Adaptive backlight (if available) |
| No gestures are working to lift to unlock | Some gestures depend on the proximity sensor, which can be coupled to the light sensor. | Check your gesture settings in Settings β Screen β Lock |
If you experience persistent failures after the sensor is turned off (for example, the phone overheats or spontaneously reboots), try:
- π Return the sensor settings to the original state through ADB.
- π± Reset the screen settings in Settings β System system β Resetting settings β Resetting screen settings.
- π§ Update MIUI Up to the latest version (sometimes bugs are fixed in new firmware).
5. Alternative methods: applications and custom firmware
If none of the above methods have worked, you can try third-party solutions, and note that using informal tools can disrupt the stability of the system or lead to the loss of warranty.
Options:
- π± Sensor Disabler (requires root rights) QuickShortcutMaker β allows you to find hidden settings MIUI.
- π§ Custom firmware: Install LineageOS or Pixel Experience, where autobrightness is more flexible. Use Magisk modules to turn off sensors (for example, Disable Flags).
Warning: Installing custom firmware or obtaining root rights will void Xiaomi's warranty and may result in a device blink.Before experimenting, make a full backup via TWRP or Mi Flash Tool.
What is a breech and how to avoid it?
6.How to check if the light sensor is working after switching off
If you have disabled the sensor but are not sure if it worked, you can check its status in several ways:
Method 1: Through the Sensor Test
- Enter the code in the phone app: ##4636##
- Select Sensor Information.
- Look at the Light sensor bar β if the value does not change when the lighting changes, the sensor is turned off.
Method 2: Using a third-party application
- π Install Sensor Test or AndroSensor from Google Play.
- π¦ Open the Light tab β if the graph is flat, the sensor is inactive.
Method 3: Checking Auto Brightness
- π Turn on autobrightness in the settings.
- π¦ Point a flashlight on the screen β if the brightness does not change, the sensor is turned off.
π‘
If the light sensor is turned off at the system level (via ADB or engineering menu), it will not be turned on back in the standard ways. You will need to repeat the same commands with the enable option or reset the phone settings.