How to adjust the light sensor on the Xiaomi phone: full instructions with nuances

Light sensor in smartphones Xiaomi, Redmi and POCO It is responsible for automatic brightness control, a function that should save battery power and reduce eye strain, but many users are faced with the fact that autobrightness does not work correctly: The screen is too dim in sunny weather, too bright in the dark, or changes the backlight abruptly at the slightest change in lighting, most often due to incorrect sensor calibration or software failures.

In this article, we’ll break down all the ways to configure the light sensor on Xiaomi phones – from the standard tools in the Settings menu to hidden engineering modes and manual calibration. You will learn how to check the sensor, reset it to factory settings and even physically clean the sensor if the problem is pollution. 4/5) We will give some recommendations - their sensors often require a special approach.

Before you start setting up, make sure that the problem is with the sensor, not the firmware or the screen. For example, if the brightness does not change at all, maybe the auto-adjustment function is disabled or the sensor is physically damaged. β†’ Display. β†’ Autobrightness and turn the slider on/off. If there's no change, read the Fault Diagnostics section.

How does the light sensor in Xiaomi smartphones

A light sensor (or photosensor) is a miniature module, usually located next to a front-facing camera or speaker, that measures the intensity of ambient light and transmits the data to a processor that adjusts the brightness of the screen, and on Xiaomi phones, it is responsible for this:

  • πŸ“± Hardware: the sensor itself (e.g, TSL2572 or APDS-9930 model POCO F3 Xiaomi 11T).
  • πŸ€– Software part: algorithms MIUI, Analyze sensor readings and apply correction.
  • βš™οΈ Custom settings: manual calibration in the Settings menu or through the engineering menu.

Ideally, the sensor should respond to light changes smoothly, without sudden jumps.

  • ⚑ Too aggressive reaction (the screen flickers at the slightest movement of the hand).
  • πŸŒ‘ Insufficient brightness in sunny weather (no screen is visible outside).
  • β˜€οΈ Excessive brightness in the dark (blind eyes at night).
  • πŸ”„ Brightness getting stuck at one level (the sensor forgets to adapt).

The causes of such failures are diverse: from sensor contamination (dust, fingerprints) to software errors after the update. MIUI. In the following sections, we will discuss how to diagnose and fix each of the problems.

πŸ“Š How the light sensor works on your Xiaomi?
Perfect, no complaints.
It's working, but with delays.
Too much change in brightness
It doesn't work.
I don't know how to check.

Customize autobrightness through the standard menu

Before you climb into the engineering menus or reset the settings, try adjusting the sensor through standard tools. MIUI. This method is suitable for all Xiaomi, Redmi and other models. POCO (including Redmi Note 10 Pro, Xiaomi 12, POCO X4 Pro and others.).

Instructions:

  1. Open the Settings β†’ Display.
  2. Activate the β€œAutolightness” slider (if it is turned off).
  3. Click on the icon. βš™οΈ next to the slider (or tap on the slider itself in some versions) MIUI).
  4. In the menu that opens, select β€œCalibration of the light sensor”.
  5. Follow the instructions on the screen: The phone will suggest placing it under different light sources (e.g., in the shade, then in bright light) and confirming the current conditions.

If the option "Calibration" is missing, then your model does not support manual adjustment through the MIUI. In this case, go to the engineering menu.

Place your phone on a flat surface

Make sure the sensor is not covered with a cover or film

Turn off the energy-saving mode.

Close all applications that work in the background-->

Important nuance: after calibration, give the phone 5-10 minutes to adapt. MIUI They analyze new data and adjust the brightness to your preferences. If the problem persists after that time, then proceed to the following methods.

⚠️ Note: Do not calibrate at extremely low (less than 15%) or extremely high (over 85%) battery levels, which can cause the process to fail due to automatic power-intensive shutdowns.

Manual setting through the engineering menu (MTK/Qualcomm)

If standard calibration doesn't work, try manually adjusting through an engineering menu. This method works on phones with MediaTek processors (MTK) Qualcomm Snapdragon, but the ways to access the menu are different.

For MediaTek (Redmi models) 9A, POCO M3, Xiaomi Civi and others.):

  1. Open the Phone app.
  2. Enter the combination: ##36446337## (or #3644633## on some firmware).
  3. Go to Hardware Testing β†’ Light Sensor.
  4. Press Calibrate and follow the instructions (usually cover the sensor with your hand, then open).

For Qualcomm (models Xiaomi 11 Lite, POCO F3, Redmi Note 11 Pro+ etc.):

  1. Enter the phone: ##4636###.
  2. Choose Testing β†’ Light Sensor.
  3. Write down the current values (e.g. Lux: 100 in room light).
  4. If the values do not change when the lighting changes, the sensor is defective.

You can also manually set the trigger thresholds in the engineering menu, for example, if the screen is too dim outside, increase the Max Lux value (maximum illumination, which reaches 100%).

  • πŸ“ Get in the Light Sensor. β†’ Set Calibration.
  • πŸ”’ Install Min Lux = 10 (for dark rooms), Max Lux = 50,000 (for sunlight).
  • πŸ”„ Save the settings and restart the phone.
What to do if the engineering menu is not opened?
If the ## combinations... don’t work, try: 1. MTK Engineering Mode (for MediaTek) or Shortcut Master (for Qualcomm) from Google Play. 2. Enable Developer Mode (Settings) β†’ The phone. β†’ Version. MIUI β€” tap 7 times) and find the option Engineering menu in additional settings. 3. Update firmware: in new versions MIUI The path to the engineering menu may change.

Processor modelEngineering menu codeSensor section
MediaTek (Helio G85, G95, etc.)##36446337##Hardware Testing β†’ Light Sensor
Qualcomm Snapdragon (732G, 870, 8 Gen 1)##4636##Testing β†’ Light Sensor
Exynos (rarely in Xiaomi)#0#Sensor β†’ Light

Diagnostics of sensor faults

If the setting didn't work, it could be that the sensor is physically damaged or contaminated, and you can check this in a number of ways.

Visual inspection:

  • πŸ” Inspect the area around the front camera – the sensor looks like a small round or square hole (sometimes closed with transparent plastic).
  • 🧴 Wash it with a soft wipe (do not use alcohol or abrasives!).
  • 🚫 Make sure the sensor is not covered by a film, cover or sticker.

Verification through annexes:

Install utilities for sensor testing, such as:

  • πŸ“± Sensor Test (shows sensor values in real time).
  • πŸ”¦ Light Meter (measuring the illumination in the suites).
  • πŸ› οΈ Phone Doctor Plus (Complex Diagnostics).

If the app shows Lux: 0 in any light, the sensor doesn't work. If the values change but the autobrightness doesn't respond, the problem is the firmware or settings. MIUI.

Test with another case:

Some cases (especially those with high sides) can overlap the sensor. Remove the case and check for autobrightness. If the problem is gone, pick up a case with a notch for the sensor.

⚠️ Note: If the sensor is physically damaged (for example, after a phone crash), it will cost 1,500-3,000 rubles to replace it at the service center. AMOLED-With screens (such as the Xiaomi 13), the sensor is often soldered into the display module, so replacing it may require a complete disassembly of the phone.

πŸ’‘

If the sensor is working, but the autobrightness is buggy, try turning it off for 10 minutes, then turn it on again. MIUI.

Software solutions: reset, update, rollback

If the sensor is in good working order, but the autobrightness is not working properly, the problem may lie in the firmware or system settings.

Resetting the screen settings:

  1. Go to Settings β†’ Display β†’ Additional.
  2. Select Reset Brightness Settings (or Reset Default Settings).
  3. Confirm the action and restart the phone.

2. Clearing the cache MIUI:

  • πŸ“± Go to Settings. β†’ Annexes β†’ Application management.
  • πŸ” Find β€œSettings” (system application) and open it.
  • 🧹 Click Clear Cache and Clear Data (Warning: This Will Reset Some Personal Settings!).

3. Update or rollback of firmware:

In some versions MIUI (for example, MIUI 13.0.4 for Redmi Note 10) there were bugs with light sensor:

  1. Settings β†’ About the phone β†’ System update.
  2. If there are no updates, but the problem has appeared after the last update – consider rolling back to a stable version via Fastboot or Recovery.

On Xiaomi models with MediaTek processor (for example, Redmi 9, POCO M2) Firmware rollback can block the bootloader. Before the procedure, unlock it through the official Mi Unlock tool.

Problem.Probable causeDecision
Auto-brightness not switched onFailure in MIUI settingsResetting screen settings or cleaning the cache
The brightness jumps chaoticallySensor contamination or firmware bugCleaning the sensor or updating MIUI
The screen is too dim on the streetIncorrect Lux thresholds in the engineering menuManual calibration via ##36446337##
Autobrightness only works after restartingConflict with the energy-saving regimeDisable Adaptive Battery in Settings

How to use your phone without autobrightness

If the light sensor is not repairable, and autobrightness is critical to you, you can emulate its work manually or using third-party applications.

Manual adjustment through the notification panel:

  • πŸ“² Add the brightness slider to the Quick Settings panel (swipe down from the top edge of the screen) β†’ βš™οΈ β†’ Edit).
  • πŸ”„ When changing the lighting, adjust the brightness manually (for example, outdoors - 80%, indoors - 40%).

Applications for automatic adjustment:

Utilities like Lux Auto Brightness or Velocity can replace the standard autobrightness using:

  • πŸ“Š Specified profiles (e.g., β€œHouse”, β€œStreet”, β€œNightΒ»).
  • ⏱️ Timers (automatic brightness decrease in the evening).
  • 🌑️ Approximate sensor (to determine if the phone is on the table).

3. Setup through ADB (for advanced users):

If you have access to ADB, You can force the brightness values:

adb shell settings put system screen_brightness_mode 1


adb shell settings put system screen_brightness 150

Where 150 is the brightness level (0 to 255).

adb shell settings put system screen_brightness_mode 0

⚠️ Attention: Manual autobrightness apps can drain the battery faster because they are constantly running in the background. β†’ Battery β†’ Optimizing the battery.

πŸ’‘

If the light sensor is completely out of order and repair is not feasible, the best solution is to turn off the autobrightness and use manual adjustment or third-party applications, which will eliminate sharp spikes in brightness and prolong the screen life.

Some Xiaomi phones have unique nuances in the light sensor, and we have compiled recommendations for the most common models:

Xiaomi Redmi Note 8/9/10 Pro:

  • πŸ”§ The sensor is often contaminated by being close to the speaker.
  • πŸ“‰ V MIUI 12-13 avtobrightness may freeze after the update.

POCO F3 / Xiaomi 11T:

  • β˜€οΈ Nana AMOLED-The screens are more aggressive than the screens. IPS. Reduce sensitivity in the engineering menu (Max Lux) = 30000).
  • πŸ”„ After updating to MIUI 14 may require recalibration.

Xiaomi Mi A2/A3 (Android One):

  • πŸ€– These models run on pure Android, so the engineering menu opens with code ##4636##.

Redmi 7/8/9 (budgetary models):

    Why not? POCO X3 Pro autobrightness is worse than on the Redmi Note 10 Pro>?
    Nana POCO X3 Pro is a sensor APDS-9960, It is designed for gestures (like a wave of a hand), and is less sensitive to light than the special sensors in the Redmi Note 10 Pro (TSL2572). Solution – manual calibration through the engineering menu with an increase in the Max Lux threshold to 60,000.

    Frequent questions about setting up the light sensor

    πŸ”Ή Why does the sensor calibrate again?
    It could be because of: πŸ“± Energy saving mode (disable Adaptive battery in settings). πŸ”„ Automatic profile updates MIUI (The solution is to roll back the firmware or use it. ADB-fixation. 🧹 Sensor contamination (wipe it again).
    πŸ”Ή Can I turn off the light sensor completely?
    Yeah, but that'll turn off all autobrightness. β†’ Display. Turn off the "Autolightness" slider. From the engineering menu (#36446337##) select Light Sensor. β†’ Disable (not recommended, it can cause malfunctions) On some models (for example, Redmi 9) the sensor can not be turned off software - only physically (glaze tape).
    πŸ”Ή Why the screen is getting too dim outdoors, even though autobrightness is on?
    This is a typical problem with phones. AMOLED-screens (e.g. Xiaomi 11 Lite) or POCO F4). Causes: 🌞 The sensor is miscalibrated to high Lux values. So the solution is to manually set Max Lux. = 50,000 on the engineering menu. πŸ”‹ Charge Saving mode is enabled, which limits brightness. πŸ“± On some firmware MIUI It artificially lowers the maximum brightness to save the battery, and it helps to roll back to an earlier version.
    πŸ”Ή How to reset the light sensor settings to factory?
    There are two ways: MIUI: Settings β†’ Display. β†’ Additionally. β†’ Reset brightness settings. Confirm action and restart the phone. Through the engineering menu: Enter ##36446337##. Go to Light Sensor β†’ Restore Default.If both methods fail, complete a full reset (Settings) β†’ The phone. β†’ Resetting settings), but it will remove all data from the phone.
    πŸ”Ή Why the light sensor works normally, but the brightness still jumps?
    Probable causes: πŸ€– Conflict with apps (like Twilight or Night Shift. πŸ”„ Failure to serve MIUI (com.android.systemui. Clear her cache in Settings β†’ Annexes. πŸ“‘ Poor contact of sensor plume (relevant after falls or repairs) Diagnostics required at the service center.