The problem of auto-brightness adjustment is familiar to many owners of Xiaomi, Redmi and Poco smartphones. The screen can suddenly go out in the bright sun or, conversely, blind your eyes in the dark, ignoring the environment. This occurs due to a malfunction of the light sensor, which stops reading data about the external environment correctly. In most cases, the device does not require soldering of components or complex hardware repairs.
The correct calibration can restore the system's ability to respond adequately to lighting changes. A light sensor is a small module, often hidden under a protective glass or next to a front camera, that transmits data to the operating system. When this data is distorted by a software failure, the user experiences discomfort when using the gadget. It takes no more than 10-15 minutes of your time to restore normal operation, if you follow the algorithm of actions.
In this article, we'll look at all the available methods, from simple reboots to the use of hidden engineering codes, how to force a system to retrain, what applications can help diagnose and why a simple screen cleaning sometimes solves a problem better than complex manipulations. It's important to understand that software calibration is only effective with proper hardware.
β οΈ Warning: Before any manipulations begin, make sure that the screen does not have protective films, stickers or thick covers covering the top of the display.
Diagnosis and preparation of the device
Before we go into action, we need to make sure that the problem is software failure, not physical damage. Often users try to calibrate an already broken module, which is not effective. The first step is to visually inspect the top of the screen and check the system's response through standard MIUI or HyperOS diagnostics.
The built-in engineering test allows you to see raw data coming from the sensor. To do this, in the Phone app, dial the code ##6484##. The CIT menu will open, where you need to find an item associated with the Light Sensor or Ambient Light. Cover the top of the smartphone with your palm and then remove it. If the numbers on the screen change dramatically (for example, from 0 to 2000+ lux), then the physical module is healthy.
If the readings don't change or jump randomly even when the sensor is closed, there may be a problem with contamination or hardware defects. Carefully wipe the area of the speaker and front camera with a microfiber dipped in isopropyl alcohol. Fat spots from the fingers are a common cause of incorrect reading of light, which many people ignore.
- π Check for cracks or chips in the top of the display, even if they seem minor.
- π§Ή Remove all stickers and protective glass that may have a black frame overlaid the sensor.
- π± Make sure that no dust or dirt has accumulated in the sensor area in the speaker grid.
After physical cleaning, repeat the test in the engineering menu, if the numbers start to respond to your palm, you can proceed to software calibration, if there is no reaction at all, there is a possibility of a hardware shatter or failure of the component itself, which requires a visit to the service.
Resetting settings through the standard menu
The safest and easiest method, which helps in 60% of cases, is to reset sensor settings through the systemβs standard menu.The Android operating system on Xiaomi shells stores cached calibration data, which can become obsolete or conflict with new software updates over time.
To do this, go to Settings, then select Advanced Settings (or "More") and find Recover and Reset. Here we're interested in the option of resetting Wi-Fi, mobile network and Bluetooth settings. While the name can be confusing, this process often initiates rechecking of all associated communication modules and sensors.
You can do a deeper reset via the About Phone menu, and click quickly and repeatedly on the MIUI version (or OS version) until it says "Additional features activated," and then a hidden section will appear in the Advanced Settings menu called "Developers" where you can find the screen recalibration option if available for your model.
After reset, be sure to restart the device. Don't ignore this step, as it is at the moment of onset that the system re-interviews all the connected hardware components and applies basic brightness profiles.
β οΈ Warning: Resetting network settings will remove saved passwords from Wi-Fi and a pair of Bluetooth devices. Write down the required data in advance or make sure you remember passwords.
Use of engineering code for calibration
The most effective method is to use a hidden engineering calibration menu, which allows you to force new reference values for minimum and maximum brightness directly into the memory of the display controller, access to this menu is available on most Xiaomi, Redmi Note and Poco F/X series models.
Open the standard "caller" and enter the universal code ##64663##. If the code didn't work, try ##4636## or ##3646633##. In the menu that opens, select the Single Item Test and then search the Light Sensor or Proximity & Light Sensor list.
Inside the test, you'll see the current readings. To start calibration, you often need to press the Calibrate or Start Calibration button. The system will ask you to close the sensor (put the phone down on a flat surface or cover it with your palm), and then open it, at which point new thresholds are recorded.
βοΈ Checklist before calibration
The process can take a few seconds. Successful completion is usually accompanied by a vibration or an audible signal. If you see the word Fail or Error, repeat the procedure, making sure that during the calibration the sensor did not fall shadow from hands or foreign objects.
| Model of the device | Menu entry code | Item | Action. |
|---|---|---|---|
| Xiaomi Mi 8 / 9 / 10 | ##64663## | Light Sensor | Press Calibrate |
| Redmi Note 9 / 10 | ##6484## | Version Test -> Light | Close/Open |
| Poco X3 / F3 | ##64663## | Single Item Test | Start Calibration |
| Xiaomi 11 / 12 / 13 | ##4636## | Testing -> Light | Data resetting |
It is important to understand that on newer versions of HyperOS, access to some engineering features may be restricted by the manufacturer for security reasons. If the codes don't work, move on to using third-party utilities.
Third-party calibration applications
When built-in tools don't work, Google Play applications come to the rescue, which are designed to force you to record parameters or emulate data from a sensor. One of the most popular and proven tools is Proximity Sensor Reset & Calibration, or Sensor Calibration.
The way they work is simple: they request sensor access, read current "off-the-road" or "dead" values, and suggest that they be reset to factory standards. Some applications also allow you to manually set a trigger threshold, which is useful if the automation is not working properly due to the security glass.
Install the app, run the scan, and follow the instructions on the screen. You usually need to close and open the top of the screen several times. Once you have finished, be sure to restart your smartphone so that the system accepts new configuration files.
Why aren't all apps working?
Be careful with applications that require Root-rights, and while they give you complete control of the system, misuse can lead to software errors, and for most users, there are enough applications that run in standard access mode.
Adjust autobrightness manually
Sometimes the problem is not with the sensor itself, but with the algorithms of the Avtobrightness function, and the system can be lazy or change parameters too aggressively, in which case manual retraining of the algorithm helps, and this is not literally calibrating the sensor, but an effective method of adjusting the response.
Turn on the autobrightness in the notification curtain. Go out into a bright light (or turn on a bright lamp) and wait until the screen is dim. Without turning off the autobrightness, slide the brightness to a comfortable level. Then close the sensor with your hand to dim the screen, and again turn down or add brightness manually.
Repeat this procedure 5-7 times in different lighting conditions, and MIUI remembers your preferences and creates its own profile for the light sensor, a technique that requires patience, but often works better than a single reset.
π‘
Let the phone lie down for 5-10 minutes with the screen on in mid-light, and the system will analyze the sensor readings and adjust the gamut.
Also check if the Power Savings or Reading mode is enabled, which forcefully limit maximum brightness and block the light sensor to keep the battery charged.
Frequent mistakes and their solution
Even with the instructions, users may find themselves in situations where calibration fails, often because of trivial things that are overlooked, such as using non-original displays when replacing them. Cheap screen copies often have low-quality light sensors that cannot physically function properly.
Another common mistake is calibration when the In-Pack mode is on, which uses a proximity sensor that is often paired with a light sensor, and if the proximity sensor is stuck (for example, due to dirt), it blocks the screen and distorts the light readings.
- π« Do not calibrate if the phone has a custom core or unofficial firmware without sensor patches.
- π« Avoid using βsignal amplifiersβ or magnetic holders at the time of setting, magnets affect Hall and light sensors.
- π« Do not try to calibrate a broken screen β it is impossible to fix a physical defect software.
If the sensor is not performing well after all the manipulations, including flashing the device, the probability of hardware failure is 95%, in which case only replacing the plume or display module at the authorized service center will help.
β οΈ Note: If you recently changed the screen in a third-party service and the sensor stopped working, demand a replacement part under warranty.
Questions and Answers (FAQ)
Why did the Android light sensor stop working?
Can the light sensor be turned off completely?
Does the security glass affect the sensor?
What if the calibration is reset after rebooting?
π‘
If none of the software methods worked within 30 minutes, the problem is hardware in nature and requires a replacement component.