The proximity sensor on Xiaomi Redmi does not work: how to fix yourself

The proximity sensor in Xiaomi Redmi smartphones is a small but critical element that is responsible for turning off the screen during a conversation. When it fails, the phone starts to β€œglue”: the screen goes off on its own, does not respond to touches or, conversely, remains active during a call, which leads to accidental taps. If your Redmi Note 10 Pro, Redmi 9 or other model of the series behaves like this, do not rush to carry it to the service. In 80% of cases, the problem can be solved by yourself without disassembling the case.

In this article, we will analyze all possible causes of malfunction – from software failures to physical damage, as well as give step-by-step instructions for diagnosis and repair. You'll learn how to test the sensor without special applications, reset it, clean the contacts and even replace the module if you really need it (IR) sensors, as they require a separate approach.

Before you start repairing, check if the problem only occurs during calls or constantly? The screen responds to the approach of the hand in any application or only in the standard phone module?

Causes of failure of the proximity sensor

The proximity sensor can fail for several reasons, and not all of them are related to physical failure.

  • πŸ“± Software failure: Firmware errors MIUI, Application conflict or incorrect system settings often occur after updating or installing third-party launchers.
  • πŸ”§ Module pollution: Dust, sweat, or residues of protective film block the infrared signal, relevant for open-sensor models such as Redmi 5/6/7).
  • πŸ’₯ Mechanical damage: A hit, fall or moisture can damage both the sensor and its plume. 8T, Redmi 10).
  • πŸ”‹ Firmware problems: Unofficial (castom) firmware or a failed "over-the-air" update can knock down sensor calibration.
  • πŸ› οΈ Contact wear: Over time, the contacts on the sensor plume oxidize or depart, which leads to unstable operation.

Interesting fact: Xiaomi Redmi models used infrared-based sensors until 2019, while newer ones (starting with the Redmi Note 8) used capacitive sensors, which are less susceptible to contamination but sensitive to screen damage.

⚠️ Attention: If the sensor stopped working after the display was replaced, the problem almost always lies in the wrong connection of the plume or damage to the flexible cable.

How to check the proximity sensor on Xiaomi Redmi

Before you fix it, you need to make sure that the sensor is the problem, and there are a number of ways to do that, from built-in MIUI tools to third-party applications.

Method 1: Integrated MIUI test

The hidden engineering test allows you to check the operation of the sensor without additional programs:

  1. Open the Phone app and dial the code: ##6484##.
  2. Select Proximity Sensor (Proximity Sensor).
  3. Put your hand up to the top of the screen (where the listener is located) and if the sensor is in good condition, the value will change from 5.00 to 0.00.

Method 2: Appendix CPU-Z

The CPU-Z utility shows the status of all sensors, including the proximity sensor:

  1. Download CPU-Z from Google Play.
  2. Go to the Sensors tab.
  3. Find the Proximity string and check for your hand's reaction.

If the sensor doesn't respond in both tests, it's a hardware problem, and if it does, but the screen doesn't go out when you call, it's the system settings or the firmware.

πŸ“Š Your proximity sensor stopped working after
MIUI updates
Screen replacements
Falls/blows
On his own.
I don't know.

Calibration of the proximity sensor

Often the sensor is working but it's not calibrated correctly, like it's going too early or late, and then resetting the settings will help.

  1. Go to Settings β†’ About Phone β†’ MIUI version.
  2. Click on the string with the firmware version 7 times in a row to activate the developer mode.
  3. Back to Settings β†’ Additionally. β†’ For developers.
  4. Find the Debugging Point of the Approach Sensor and turn it on.
  5. Reboot the phone.

If this method didn’t help, try hard resetting the calibration through the engineering menu:

  1. Dial the code ##4636##.
  2. Select Usage Statistics (Usage Statistics).
  3. Click on the three dots in the top right corner and select Reset calibration.

⚠️ Warning: After resetting the calibration, the sensor may temporarily be unstable. Give the phone 10-15 minutes to reset the process without interrupting the process.

β˜‘οΈ Preparation for sensor calibration

Done: 0 / 4

Cleaning the proximity sensor

If the sensor is dirty, you can clean it neatly without disassembling the phone.

  • 🧴 Cotton swab (better with a plastic base, so as not to leave the villi).
  • πŸ’§ Alcohol (isopropyl or medical, at least 70%).
  • πŸ” Lupa (optional, for accuracy).

Step-by-step:

  1. Turn off your phone and wait for it to cool down completely.
  2. Slightly moisten the cotton swab in alcohol (it should be wet, but not wet!).
  3. Gently wipe the area around the speaker and sensor (usually a small hole or a transparent window next to the front camera).
  4. Let the phone dry for 10-15 minutes.
  5. Turn on the device and check the sensor.

For models with a capacitive sensor (like the Redmi Note 11), mechanical cleaning won’t help β€” it’s built under the glass, in which case it’s just calibrating or replacing the display module.

What to do if the alcohol does not help?
If the sensor doesn't work after cleaning, try blowing the hole with compressed air (such as a spray to clean the appliances). Don't use a hair dryer - hot air can damage the microphone or speaker.

Replacement of the proximity sensor

If all previous methods have failed, the last resort is to replace the sensor, which is a complex procedure that requires disassembling the phone, so we recommend it only to users with experience in electronics repair.

What you need:

  • πŸ”§ Set of screwdrivers (cross, flat, tweezers).
  • πŸ”₯ A hair dryer or a glue heating station (to separate the screen).
  • πŸ› οΈ Suction cups for display removal.
  • πŸ“± New proximity sensor (you can buy on AliExpress or in specialized stores).

Step-by-step process:

  1. Turn off the phone and remove it. SIM-map.
  2. Heat the screen edge with a hair dryer (temperature ~60Β°C) and gently tuck it with a plastic spatula.
  3. Disconnect the display and battery plumes (be sure to take a picture of their location!).
  4. Find the proximity sensor – it’s usually located next to the front camera or speaker.
  5. Set off the old sensor and install a new one, observing polarity.
  6. Put the phone back together.
Xiaomi Redmi ModelType of sensorDifficulty of replacement (1–5)The approximate price of the sensor (ruble)
Redmi Note 8/8TInfrared3300–500
Redmi 9/9A/9CCapacitive4400–700
Redmi Note 10 ProCapacitive5600–900
Redmi 7/7AInfrared2250–450

⚠️ Note: When replacing the sensor on models with OLED-screens (e.g. Redmi) K40) Be very careful, the plumes are very fragile, and one wrong move can cause damage to the matrix.

πŸ’‘

Before buying a new sensor, check its compatibility by model number (printed on the back cover of the phone). For example, for the Redmi Note 9 Pro, a sensor labeled XM-2029-1 will suit.

Software solutions: if the sensor is serviceable but not working

Sometimes the sensor is physically functional, but the screen doesn't go out during the call due to MIUI failures.

  • πŸ”„ Resetting the settings of the Phone app: Go to Settings β†’ Annexes β†’ Application management. Find your phone and select Warehouse. Click Clear Data and Clear Cache.

Related: Rejection of MIUI Update

If the problem appears after the update, go back to the previous firmware version via Settings β†’ About Phone β†’ System Update β†’ Three Points β†’ Select the Service Pack.

Disabling Battery Optimization for the Sensor

  1. Go to Settings β†’ Battery and Performance β†’ Battery Optimization.
  2. Find the Approach Sensor (or Sensor Service) and select Unlimited.

You should also not believe in β€œpeople’s” advice like:

  • β€œWarm the phone with a hair dryer – the sensor will work” (this will lead to detachment of the screen).
  • β€œKnock on the top of the phone” (you can break the gyroscope calibration).
  • β€œUpdate your firmware to the latest version” (sometimes newer versions of MIUI break the sensor).

Minus: During the call, the screen will not go out, and you may accidentally press the buttons with your cheek.

Why does the sensor work in tests but not turn off the screen when you call?
This is a typical MIUI problem. Causes: Failure in the Phone app (try resetting it), conflict with call recording apps (turn them off), incorrect special features settings (check Settings β†’ Special Features β†’ Physical buttons).
How much does it cost to replace a sensor in a service center?
The cost depends on the model: Redmi 5/6/7: 800-1 200 rubles Redmi Note 8/9/10: 1000-1 500 rubles Redmi Note 11/12: 1,500-2000 rubles Price includes work and spare parts. In informal services may be cheaper, but the risk of running into a poor-quality sensor is higher.
Can the protective glass interfere with the sensor?
Yes, if it's too thick (over 0.3 mm), it's curved and it covers the sensor area, it's metalized (in cheap glass), so you can use sensor-cut glass or thin flexible films.
What if the sensor is activated by itself (without approximation)?
This is a sign: Sensor contamination (clean it up), moisture (quish your phone in rice or silica gel for 24 hours), plume damage (requires diagnostics in the service), try calibrating the sensor through the engineering menu (#6484###).