Have you ever noticed how your Xiaomi screen automatically adjusts brightness to ambient light? A tiny but critical component, the light sensor, is responsible for this function, but when it fails or gets polluted, users run into problems: The screen gets too dark in sunny weather or blinds your eyes at night. In this article, we will not only show you where the light sensor in Xiaomi smartphones (including Redmi models) is located, POCO and flagship series), but also teach to diagnose its malfunctions without disassembling the device.
The manufacturer rarely indicates the exact location of the sensor in the documentation, and its miniature size (usually the sensor is not specified in the document). 2ร2 It makes the search visually difficult. We've collected data from the 30+ Xiaomi models (2018โ2026 We analyzed the dispersion schemes and interviewed the masters of service centers to compile a universal map of the location of the sensor for all popular lines. You will also learn how to distinguish it from a front-facing camera or infrared port, and what to do if the sensor stops working after a fall or upgrade. MIUI.
What does the light sensor look like and what it is responsible for
The light sensor (Ambient Light Sensor, ALS) โ It's an optoelectronic component that converts the intensity of ambient light into an electrical signal. In Xiaomi smartphones, it performs three key functions:
- ๐ Automatic adjustment of screen brightness (adaptive brightness) - adjusts the backlight to lighting conditions, saving battery power.
- ๐ Activation of the "Dark theme" mode - includes night mode in low light (starting with the MIUI 11).
- ๐ฑ Color temperature adjustment โ In some models (such as Xiaomi 13 Ultra), the sensor helps adjust white balance for comfortable reading.
The sensor is externally:
- ๐ Tiny round or oval opening (diameter) ~1 mm) next to the front camera, often disguised as a decorative netting.
- ๐ Black or dark grey square on the board (the size of a grain of rice) when disassembling the device.
- ๐ก Transparent or semi-transparent filter โ some models (e.g, POCO F5) have a protective glass over the sensor.
It's important not to confuse it with other sensors: The infrared port (for the remote control) is usually symmetrically located on the right and has a reddish hue when turned on. The proximity sensor is hidden under the screen and not visible from the outside - it is responsible for turning off the display during a call.
The exact location of the sensor in popular Xiaomi models
The location of the light sensor depends on the design of the front panel and the generation of the smartphone. We have organized the data by the main rulers in the table below. Note that in models with a cut-out for the camera (" bang"), the sensor is always on the left of the front camera, and in devices with a hole display - under the screen, next to the top bezel.
| Line/Model | Year of release | Location of the sensor | Features |
|---|---|---|---|
| Redmi Note 8/9/10/11 | 2019โ2022 | In the cutout ("bang"), to the left of the front camera | It is often contaminated due to an open hole. |
| POCO F3/4/5, X3/4/5 | 2020โ2023 | Under the display, at the top edge (not visible from the outside) | Requires diagnosis through the engineering menu |
| Xiaomi 11/12/13 (Pro/Ultra) | 2021โ2023 | Hidden under the screen, to the right of the speaker | It uses an advanced sensor. STK3338 |
| Redmi A1/A2, 9A/10A | 2020โ2023 | In a plastic frame above the screen, on the left | Often confused with a microphone |
| Black Shark 4/5 | 2021โ2022 | On the right side of the upper frame | Protected by a metal mesh |
For models with AMOLED-screens (e.g. Xiaomi) 12T or POCO F4 GT) The sensor is often integrated into the matrix, and it's not visible indiscriminately:
# #6484## - Light sensor test (shows current values in luxes)
#4636## โ โPhone Informationโ โ โSensorsโHow to check the sensor Xiaomi with MIUI 14+?
Why the light sensor may not work: top-5 cause
If the automatic brightness control has stopped working, the problem is not always with the sensor itself.
- Dust, greasy prints or remnants of a protective film block the light from entering. Redmi Note 10 Pro and POCO X3 NFC This is especially true because of the sensorโs open location. โ ๏ธ Warning: Do not use alcohol or abrasive wipes to clean - this will damage the anti-reflective coating of the sensor. Take a soft brush (for example, for camera lenses) and carefully remove dust.
- Software failure after update MIUI Update to MIUI 13/14 Sometimes they reset the sensor settings. โ Display. โ Brightness โ Automatic adjustment (enable) If the slider is inactive - reset the screen settings to factory (Settings) โ System system โ Resetting settings โ Resetting display settings).
- A smartphone drop can displace the sensor plume or damage its contacts on the motherboard, symptoms: the brightness "jumps" or fixes at the same level, in which case only diagnostics at the service center with a check of the sensor's power chain will help.
Less obvious reasons:
- ๐ Discharged battery โ at a charge level below 15%, the system turns off โextraโ sensors to save energy.
- ๐ก๏ธ Third-party shells (like Nova Launcher) can block access to sensors.
Check the automatic brightness settings|Clean the sensor hole with a soft brush|Reboot your smartphone|Test the sensor through the engineering menu|Make sure the battery is more than 20 times charged%-->
How to clean the light sensor yourself
If the problem is pollution, you can clean the house without disassembling the device.
- ๐๏ธ Soft brush (for cleaning lenses or makeup).
- ๐จ A compressed air canister (optional, for blowing out dust).
- ๐ฆ Flashlight โ to illuminate the sensor at an angle.
- ๐งด Microfiber wipe (not containing alcohol!).
Step-by-step:
- Turn off your smartphone to avoid false sensor alerts.
- Point the flashlight at the sensor area (see table above) โ the contamination will be visible as dark spots.
- Carefully swipe the brush through the hole without pressing. POCO F5) Use compressed air from a distance of 10 cm.
- Wipe the top screen frame with a napkin to remove greasy marks.
- Turn on your phone and check the sensor through the test code ##6484###.
โ ๏ธ Warning: Do not use toothpicks, needles or cotton swabs, they can scratch the sensor or shift its position. If the sensor does not work after cleaning, there is a likely hardware malfunction (a plume break or a chip failure).
๐ก
For models with an under-screen sensor (such as the Xiaomi 13 Lite), cleaning is not possible indiscriminately, in which case only a professional ultrasonic bath in the service center will help.
What to do if the light sensor is broken: repair or replacement
If the diagnostics show that the sensor is not responsive to light, you have three options:
| Renovation method | Cost (โฝ) | Time. | When it comes |
|---|---|---|---|
| Reflashing MIUI | Free of charge. | 30โ60 minutes | If the failure is software (for example, after updating) |
| Replacement of the sensor in the service | 1 500โ3 000 | 1-2 days | Mechanical damage or a break in the plume |
| Self-sustained rationing | 500โ1,000 (part) | 3-4 hours | Only for experienced users with soldering equipment |
More about each method:
1. Flashing MIUI
Sometimes the sensor stops working after the update due to driver conflict.
- Reverse to the previous version of MIUI via Fastboot.
- Install custom recovery (for example, TWRP) and sew clean firmware.
For this, download the official ROM From Xiaomi and follow the instructions for your model.
2. Replacement at the service center
If the sensor is physically damaged, it's replaced with a new one.
- ๐ฑ Redmi Note 11 โ 1 800 โฝ.
- ๐ฑ Xiaomi 12 Pro โ 2 500 โฝ (owing to the complexity of the).
- ๐ฑ POCO F4 GT โ 2 200 โฝ (sensor integrated into the camera module).
3. Self-repair
For power users, you can buy the light sensor on AliExpress (search using a model, for example, "Xiaomi Redmi Note 10 Pro light sensor") and replace it yourself.
- ๐ง Setting screwdrivers T3โT5.
- ๐ฅ A blow dryer (for welding the plume off).
- ๐งฒ Screen suction cup.
โ ๏ธ Attention: In Xiaomi models 13/14 The sensor is soldered to the motherboard in a series, and it needs to be reflashed. EEPROM after soldering, otherwise the sensor will not be recognized by the system.
๐ก
Before repairing, check whether your smartphone is not valid warranty Xiaomi. in this case, self-examination will cancel it, and official repairs will cost less (or free in the case of industrial defects).
Xiaomi models with frequent light sensor problems
Analysis of user complaints in forums 4PDA, Mi Community and service center data have shown that some Xiaomi models are particularly prone to sensor malfunctions.-5 "Problem devices include:
- Redmi Note 9 Pro (2020) Reason: design defect - the sensor is too close to the edge of the case, causing it to get moisture and dust.
- POCO X3 NFC (2020 Cause: weak contact of sensor plume with motherboard, often fails after falls.
- Xiaomi Mi 10T / 10T Pro (2020) Reason: Overheating due to the powerful Snapdragon 865 processor causes sensor malfunctions.
- Redmi A1 / A1+ (2022: Cheap sensor with no protection against static electricity, often fails after battery discharge to zero.
- Xiaomi 12 Lite (2022) The reason: poor calibration in the factory. The sensor shows understated values of the luxury, which makes the screen always too dark.
For the Redmi Note 9 Pro and POCO X3 NFC Xiaomi has released a correction in MIUI 12.5, but it doesn't help everyone. If your smartphone is on this list, we recommend it:
- ๐ Update to the latest version of the firmware.
- ๐ ๏ธ Contact the service for soldering of the sensor (if the warranty has expired).
- ๐ต Turn off automatic brightness and use manual tuning through the widget.
How to turn off the light sensor (if it interferes)
In some cases, users prefer to turn off automatic brightness control:
- ๐ฎ For gamers โ to avoid jumps in brightness during the game.
- ๐ For people with sensitive eyes, if the sensor is not working properly.
- ๐ To save charge โ automatic adjustment consumes up to 5% of the battery per day.
Methods of shutdown:
Method 1. Through settings MIUI
Settings โ Display โ Brightness โ Disable โAutomatic adjustmentโIn some firmware (for example, MIUI 14 for Xiaomi 13) this item is hidden:
Settings โ Special features โ Display settings โ Automatic brightness (disable)Method 2. ADB (power-user)
If the switch off point is not in the menu, use the command:
adb shell settings put system screen_brightness_mode 0To return automatic adjustment, replace 0 with 1.
Method 3. Applications for fine-tuning
Utilities like QuickShortcutMaker or MacroDroid allow you to create shortcuts to quickly switch brightness mode.
- Install MacroDroid from Google Play.
- Create a macro with the trigger "Double press statusbar".
- Add the action "Change system settings" โ "Brightness mode" โ "Hand-held".
โ ๏ธ Note: On some models (for example, Redmi Note 12) to turn off the light sensor through the ADB It causes a malfunction in the screen calibration, and then you can only reset the settings to the factory.