Calibration of autobrightness on Xiaomi: how to configure the light sensor and fix errors

Automatic screen brightness is one of the most useful features of modern Xiaomi, Redmi and POCO smartphones, which must adapt the display illumination to ambient light. However, many users are faced with the fact that the autobrightness works incorrectly: the screen is too dim in bright light, too bright in the dark or changes the backlight dramatically for no apparent reason, the reason most often lies in the wrong calibration of the light sensor or malfunction of the MIUI algorithms.

In this article, we will understand how to correctly calibrate autobrightness on Xiaomi devices, including models with a high-performance model. AMOLED- and IPS-And we'll also look at the solutions to the typical problems, and you'll learn where the light sensor is, how to reset it to the factory settings, and what to do if the calibration doesn't work. Special attention will be paid to hidden settings through the engineering menu and third-party applications for fine tuning.

Why does the autobrightness on Xiaomi work wrong?

Before you start calibrating, it's important to understand why autobrightness can behave inappropriately.

  • ๐Ÿ” Illumination sensor contamination โ€“ dust, greasy traces or protective film can distort readings.
  • โš™๏ธ Failure in settings MIUI โ€” after updating the firmware or resetting, the autobrightness parameters can fly.
  • ๐Ÿ“ฑ Hardware restrictions โ€“ cheap models (e.g. Redmi) 9A or POCO C31) They are often equipped with low-quality sensors.
  • ๐Ÿ”„ Conflict with third-party applications โ€“ some programs (such as Lux Auto Brightness or Tasker) may interfere with the standard algorithm.
  • ๐ŸŒก๏ธ Extreme temperatures โ€“ in overheating or extreme cold, the sensor may give incorrect readings.

If the autobrightness started to glittle after a phone drop or moisture hit, the problem may be physical damage to the sensor, in which case calibration will not help - it will need repairs, and it is worth checking whether the settings include Reading or Vision Protection, which forcibly reduces brightness regardless of the ambient light.

๐Ÿ“Š How often do you use autobrightness on your smartphone?
Constantly.
Only in the daytime.
Only at night.
Never turn it on.
Depends on the situation.

Where is the light sensor on Xiaomi?

The ambient light sensor on most Xiaomi smartphones is located at the top of the screen, next to the front camera.

  • ๐Ÿ“ฑ Xiaomi 11/12/13 series, Redmi Note 10/11/12, POCO F3/F4/F5 โ€” The sensor is hidden under the display (for AMOLED-screens) or in a small cutout to the right of the camera.
  • ๐Ÿ“ฑ Redmi 9/10, POCO X3/M3 โ€” The sensor is seen as a tiny black dot next to the speaker.
  • ๐Ÿ“ฑ Xiaomi Civi, Mix 4 โ€“ sensor integrated into the chamber module (under glass).

To check whether the sensor is working, you can use the test mode:

  1. Open the Phone app and type ##6484## (for some models, #4636##).
  2. Select the Hardware Testing option โ†’ Sensors.
  3. Cover the sensor with your finger โ€“ the Light sensor value should drop sharply to 0 or close to it.

If the readings don't change, the sensor is malfunctioning or is software-level disabled, and in this case, the calibration is meaningless, and you need to have a diagnosis at the service center.

๐Ÿ’ก

On some models (such as the Xiaomi 12 Pro), the light sensor is combined with the proximity sensor, and if you don't have autobrightness and lock the screen during the call, the problem may be in the general module.

Method 1: Calibration of autobrightness through standard MIUI settings

The easiest method is to use the built-in MIUI tools. It is suitable for most devices, including the Redmi Note 11 Pro, Xiaomi 12T and POCO X5.

  1. Go to Settings โ†’ Display.
  2. Activate the Auto Brightness slider (if it is turned off).
  3. Slip on the inscription "Autobrightness" (not on the slider!) - the calibration menu will open.
  4. Follow the instructions on the screen: the phone will suggest adjusting brightness in a dark and light environment.

During calibration:

  • ๐ŸŒ‘ In a dark room, set a comfortable brightness level for the eyes (usually). 20-30%).
  • โ˜€๏ธ In bright lighting (for example, under a lamp or on the street), select a value at which the text is well read, but the screen does not blind (60-80%).

Once you save the settings, the system will remember your preferences and adjust the brightness automatically. If the result does not suit, repeat the procedure.

Close the curtains or turn off the lights for dark environments|Make sure that the sensor does not receive direct sunlight.|Remove the protective film or cover covering the top of the screen|The battery should be at least 30%-->

Method 2: Reset autobrightness settings to factory

If the calibration doesn't work, try resetting the brightness settings, which will help if you've previously experimented with manual settings or installed third-party applications to control backlighting.

  1. Open the settings โ†’ Display โ†’ Autobrightness.
  2. At the bottom of the screen, find Reset brightness settings (on some firmware - Restore default values).
  3. Confirm the action.

After discharge:

  • ๐Ÿ”„ Autobrightness will work according to the standard algorithm MIUI.
  • ๐Ÿ“ฑ Recalibration may be required (see Method 1).
  • โš ๏ธ Manual brightness settings (such as in Google Books or Chrome apps) will also reset.

If there is no brightness reset, try an alternative method:

  1. Turn off Auto Brightness in the settings.
  2. Manually set the brightness to 50%.
  3. Reboot the phone.
  4. Turn on the autobrightness again and perform the calibration.

Method 3: Fine tuning through the engineering menu (for advanced)

If standard methods don't work, you can try calibrating the light sensor through an engineering menu (Engineer Mode), which is suitable for advanced users and requires caution!

Instructions:

  1. Open the Phone app and enter the code: ##3644633## Some models (e.g. POCO F1) may require a code: #4636###
  2. Go to Hardware Testing โ†’ Sensors โ†’ Light Sensor.
  3. Remember the current Min and Max values (usually 10-50000 lux).
  4. Go back to the main menu of the engineering mode and select Light Sensor Calibration.
  5. Follow the instructions on the screen (usually cover the sensor and then illuminate it with bright light).
ParameterDefault valueRecommended value
Min Lux105-15 (for sensitivity in the dark)
Max Lux5000030000-40000 (prevent blinding brightness)
Offset0-5...+5 (error-correction)

Warning: Incorrect values in the engineering menu can lead to sensor malfunction or even overheating of the screen. If you are not sure, do not change the settings!

What to do if the engineering menu is not opened?
On some firmware (e.g. global MIUI for Redmi Note 10 Pro), the engineering menu codes are blocked, in which case you can use the MTK Engineering Mode app (for MediaTek processors) or Qualcomm Engineer Mode (for Snapdragon), and download such programs only from official sources (e.g. APKMirror) to avoid viruses.

Method 4: Using third-party calibration applications

If the built-in MIUI tools don't work, you can use third-party tools.

  • ๐Ÿ“ฑ Lux Auto Brightness - allows you to create your own brightness profiles for different lighting conditions. ADB-permissions for full control.
  • ๐ŸŒ“ Velocity: Auto Brightness uses machine learning algorithms to adapt. AMOLED-screen.
  • ๐Ÿ”ง Screen Filter โ€“ does not replace autobrightness, but allows you to additionally darken the screen if necessary.

Example of Lux Auto Brightness setup:

  1. Install the app from Google Play.
  2. Permission to change system settings (required) ADB-Command: adb shell pm grant com.vito.lux android.permission.WRITE_SECURE_SETTINGS
  3. In the app, select Auto (Manual) and adjust the brightness curve by moving the dots on the chart.
  4. Save the profile and activate it.

Advantages of third-party applications:

  • โœ… More flexible setting than in MIUI.
  • โœ… The ability to create separate profiles for day/night time.
  • โœ… Support AMOLED-Adaptive color temperature screens.

Disadvantages:

  • โš ๏ธ Increased battery consumption (the application works in the background).
  • โš ๏ธ Possible conflicts with system autobrightness (you need to turn off the standard function).

๐Ÿ’ก

The side of the application for autobrightness requires permission WRITE_SECURE_SETTINGS, which can be provided only through ADB. Without it, they will be working in a limited mode.

What do you do if nothing helps?

If all methods have been tried, but the autobrightness still works incorrectly, check the following points:

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi) 9T or POCO M4 Pro) the problem may be due to a hardware defect in the sensor. If after calibration the brightness jumps or does not change at all, contact the service center.

  • ๐Ÿ”„ Update the firmware - in new versions MIUI They often fix sensor bugs. Check the updates in Settings. โ†’ The phone. โ†’ Updating the system.
  • ๐Ÿงน Clear the cache: Turn off the phone. Press the power button. + Volume up to log in to Recovery. Select Wipe Cache (not Wipe Data!).Reboot the device.

Check the developer's settings

USB debugging

Keep the screen down.

Settings โ†’ The phone. โ†’ Version. MIUI

Developer settings

If the problem occurs after installing custom firmware (such as LineageOS or Pixel Experience), the reason may be the lack of drivers for the sensor.

  1. Check if your firmware supports light sensor (information is available on the XDA Developers forum).
  2. Install the Magisk module to fix sensors (e.g. Sensor Disabler).

FAQ: Frequent questions about autobrightness on Xiaomi

Why is the avtobrightness on my Xiaomi Redmi Note 10 Pro changing brightness too aggressively?
This is a typical problem for AMOLED-screens with a high refresh rate (for example, 120 Hz). The system tries to quickly adapt to the change in lighting, but the algorithm in the system is very simple. MIUI Sometimes it works too harsh. Solutions: Turn off Adaptive Update Frequency in Settings โ†’ Display. Set a fixed 60Hz frequency, that'll smooth the transitions. Use Lux Auto Brightness for smooth adjustment.
Can you calibrate the autobrightness on the POCO X3 Pro without an engineering menu?
Yes. On the POCO X3 Pro (and other models with MIUI 12/13), calibration is available through standard settings: Go to Settings โ†’ Display โ†’ Autobrightness. Slip on the brightness slider and hold for 2 seconds, the settings menu will open. Follow the on-screen instructions (you will need to set brightness in a dark and light environment). If this method does not work, try resetting the display settings to the factory settings.
Autobrightness does not work after replacing the screen with Xiaomi Mi 11.
It's likely that when you replace the screen, the light sensor plume was damaged or the sensor itself is not connected: ๐Ÿ”ง Return to the service and check if the sensor is connected to the motherboard. ๐Ÿ“ฑ If the sensor is functional but not working, reset through the engineering menu (code ##3644633##). ๐Ÿšซ If the sensor is physically absent, you can't turn on the autobrightness, you have to use manual adjustment. Important: On some models (for example, the Mi 11 Ultra), the sensor is integrated into the on-screen module. When you replace the screen with a non-original avrightness, it may not work.
How to turn off the autobrightness forever if it interferes?
To fully deactivate autobrightness: Go to Settings โ†’ Display. Turn off the Avtobrightness slider. Manually set a comfortable brightness level (recommended) 40-60% If the autobrightness turns on on by itself, check: Google Assistant settings (sometimes it forcibly controls brightness). IFTTT Tasker, which can automatically change the settings.
Is this a good guide for Xiaomi Pad 5 or other tablets?
Yes, most of the ways (except for the engineering menu) work on Xiaomi tablets, including the Pad 5, Pad 6 and Pad 6 Pro: ๐Ÿ“ฑ The light sensor on tablets is usually located on the upper frame (with horizontal orientation). ๐Ÿ”„ Calibration through Settings โ†’ The display is identical to smartphones. โš ๏ธ On Pad 5s. MIUI For Pad may not have the option to reset brightness settings โ€“ in this case, only manual calibration will help.