Xiaomi Proximity Sensor Fail: Why the Error Happens and How to Fix It

Have you noticed that when you call, Xiaomi's screen doesn't turn off when you hold your phone to your ear? Or does the display go out on its own for no reason? It's likely that the problem is a proximity sensor malfunction, one of the most common errors on Redmi, POCO and Mi smartphones, especially after drops, MIUI updates or prolonged use.

In this article, we will discuss what proximity sensor fail is, why it occurs on Xiaomi devices, and what to do if the sensor stops working, how to check its performance without disassembling the phone, what MIUI settings can affect its operation, and when to carry the device to the service center, and also a list of Xiaomi models most susceptible to this problem, and hidden MIUI features that will help to temporarily bypass the malfunction.

What is the proximity sensor and why it is needed in a smartphone

A proximity sensor is a small infrared module located next to the front camera or speaker of a phone, and its main task is to detect when you bring the device to your ear while you're talking. When it's triggered, the sensor sends a signal to the system, and the screen automatically turns off so that:

  • πŸ“± Prevent accidental tapping of the cheek or ear (e.g., turning off a call or dialing a number).
  • πŸ”‹ Save battery power, as the backlight of the screen is one of the main "eaters" of energy.
  • πŸ”Š Improve communication quality: When the screen is off, the microphone focuses on the voice, not the extraneous noise.

On Xiaomi smartphones, the proximity sensor is paired with a light sensor that regulates the brightness of the screen. Both modules are often combined in one chip, so a malfunction of one can affect the other. For example, if the screen becomes dim or too bright for no reason, this can be an indirect sign of proximity sensor problems.

πŸ“Š How often have you experienced sensor malfunctions on Xiaomi?
Never.
1-2 times
Regularly.
I remember.

Signs of malfunctioning proximity sensor on Xiaomi

The proximity sensor fail error is different depending on the phone model and the MIUI version, and here are the main symptoms that should alert you:

  • πŸ“΅ The screen doesn't go out during the call, even if you press the phone tightly to your ear.
  • πŸ–₯️ The display turns off on its own at random moments (e.g., when reading messages or watching videos).
  • πŸ”„ After the MIUI update, the sensor stopped working, although there had been no problems before.
  • πŸ“± In the engineering menu (code ##6484###), the sensor shows a value of 5.00 cm regardless of the distance to the object.
  • πŸ”§ In the system logs (viewed through adb logcat) errors such as ProximitySensor: event failed appear.

On some models (such as the Redmi Note 10 Pro or the POCO X3 Pro), sensor failure can lead to additional glitches:

  • πŸ”Š Automatically activate speakerphone during a call.
  • πŸ“ž Inability to answer a call the first time (screen does not respond to touch).
  • πŸ”„ Spontaneous reboots in long conversations.

⚠️ Warning: If the proximity sensor starts to glittle after a phone drop or moisture hits, don't try to disassemble the device yourself! In 80% of cases, the problem lies in damage to the plume or motherboard contacts, and without special equipment, you risk aggravating the breakdown.

Why is the proximity sensor fail error in Xiaomi?

The causes of proximity sensor failure can be divided into two categories: software (related to MIUI or firmware) and hardware (physical damage).

Type of malfunctionReason.How it manifestsCan I correct myself?
SoftwareFailure after MIUI updateSensor is unstable, errors in the logsYes (setting reset, firmware rollback)
SoftwareConflict with custom firmwareThe sensor does not respond or shows false positives.Yeah (flashing, patching)
Hardware.The fall of the phoneThe sensor is not working at all or is delayed.No (repair needed)
Hardware.Pollution of the infrared windowThe screen is delayed or not alwaysYeah (cleaning)
SoftwareSensor calibration failureFalse positives, incorrect readings in the engineering menuYeah (recalibration)

The most common reasons on Xiaomi devices are:

  1. Update MIUI. After the release of new firmware versions (especially on the Redmi Note 9/10 and POCO F3), users are massively complaining about sensor problems, due to driver errors or incorrect optimization.
  2. Fall or hit. Even if the phone looks whole, micro-cracks on the board or detachment of the sensor contacts can cause it to fail.
  3. Moisture intrusion: The proximity sensor is sensitive to condensation, which can remain after the phone gets wet, and over time, this leads to corrosion of the contacts.
  4. Pollution of the IR window: Dust, grease or protective film that covers the sensor interferes with its normal operation.
  5. Application conflict: Some programs (such as Greenify or Tasker) can block sensors to save battery life.
What Xiaomi models are most affected by proximity sensor failure?
According to statistics of service centers, most often with the malfunction of the proximity sensor are faced by the owners of the following models: - Redmi Note 8/8 Pro (problems after upgrading to MIUI 12.5+) - POCO X3 NFC (defect of the 2020 party associated with poor-quality soldering of the sensor) - Mi 9T/9T Pro (frequent failures after falls due to a fragile plume) - Redmi 9A/9C (factory marriage in early batches, replaced by warranty) - Mi A2/A3 (problems with compatibility of the sensor One) and the stream of Android

How to check the operability of the sensor of approach

Before you carry your phone for repair, make sure the sensor is the problem. Here are 3 reliable diagnostic methods:

1. Verification through the engineering menu

Type ##6484## on your phone keyboard (some models run ##4636##). From the menu that opens, select Hardware Testing β†’ Proximity Sensor. Put your hand to the top of the screen:

  • 🟒 If the value changes from 5.00 cm to 0.00 cm, the sensor is activated.
  • πŸ”΄ If the value remains 5.00 cm or jumps randomly, the sensor is faulty.

2. Test through an annex

Install Phone Tester or Sensor Test from Google Play. In the Proximity Sensor section, check your hand's response.

  • πŸ”Ή Response time (normal to 0.5 seconds).
  • πŸ”Ή Stability of indications (no jumps)

3. Real-world verification

Call another phone and pay attention to:

  • πŸ“ž Does the screen go out when you put it in the ear?
  • πŸ”Š Does it turn back on when it's pushed away?
  • πŸ•’ Is there a delay between approach and reaction?

⚠️ Note: On some Xiaomi models (e.g. Redmi Note 11), the proximity sensor may conflict with the Always-on Display function. AOD, temporarily disable it before the test via Settings β†’ Screen. β†’ Always-on Display.

5 Ways to Fix Xiaomi’s Intimacy Sensor Fail

If the diagnosis confirmed a sensor malfunction, try these methods (from simple to complex):

1. Reboot and reset settings

Sometimes the sensor fails because of a temporary freeze.

Restart your phone (hold the power button for 10 seconds)

Turn off and re-enable call mode in Settings β†’ SIM- Cards and mobile networks

Reset network settings: Settings β†’ Memory and backups β†’ Reset settings β†’ Reset network settings

Remove the cache of the Phone application in Settings β†’ Applications β†’ Application Management-->

Calibration of the sensor

On some Xiaomi models, the proximity sensor can be recalibrated via the engineering menu:

  1. Dial ##6484##.
  2. Choose Proximity Sensor β†’ Calibration.
  3. Follow the instructions on the screen (usually hold and remove your hand 3-5 times).

If there is no calibration point, try an alternative method:

adb shell settings put system proximity_delay 1000

This command increases the sensor response delay (value in milliseconds).

3. Cleaning the sensor

If the sensor is contaminated, gently wipe the area around the front camera and the speaker:

  • 🧴 Use a cotton swab dipped in isopropyl alcohol (at least 70%).
  • 🚫 Don't press hard - the sensor is located under the glass and may get damaged.
  • πŸ” Check if the sensor is covering the protective film or cover.

4. Firmware rollback

If the problem occurred after the MIUI update, go back to the previous version:

  1. Download stable firmware for your model from the official Xiaomi website.
  2. Go to Settings β†’ About the phone β†’ System update.
  3. Click on the three dots in the upper right corner and select Select the firmware file.
  4. Install the downloaded file and restart the phone.

5. Software shutdown of the sensor (temporary solution)

If the sensor is not repairable, and the phone is urgently needed, you can turn off its reaction to the approach:

  • πŸ“± Install the Proximity Sensor Fix app from Google Play.
  • πŸ”§ Enable the Disable Proximity Sensor option.
  • ⚠️ Minus: During calls, the screen will not go out, which can lead to occasional taps.

πŸ’‘

If none of these methods worked, the problem is probably hardware, which requires a replacement of the sensor or plume in the service center, and the average cost of repair is between 800 and 2500 rubles, depending on the model.

When repairs are required in the service center

It is worth contacting specialists in the following cases:

  • πŸ”§ Sensor does not respond to calibration and program resets.
  • πŸ’§ The phone fell into the water or was subjected to a strong vibration.
  • πŸ”¨ There were cracks or swellings on the screen after the fall.
  • πŸ“‰ In the engineering menu, the sensor shows -- cm (complete failure).

The cost of repair depends on the model:

Xiaomi modelType of repairAverage price (β‚½)
Redmi Note 10/11Sensor + plume replacement1200–1800
POCO X3/X4Contact soldering1500–2200
Mi 11/12Replacement of sensor module (with illumination)2000–3000
Redmi 9A/9CCleaning contacts500–1000

Before the service visit:

Make a backup of data (via Settings β†’ Memory and backups)

Write down the IMEI (type *#06#)

Remove the pattern lock or PIN (if the phone is unlocked)

Remove the cover and the protective glass-->

⚠️ Warning: If your Xiaomi is warranty-free, don't open it yourself! In this case, the proximity sensor repair should be free (provided it's not your fault) Contact an authorized service center with a check and a box.

FAQ: Frequent questions about proximity sensor fail on Xiaomi

Can I use my phone if the proximity sensor is not working?
Yes, but it's inconvenient: during calls, the screen won't turn off, and you can accidentally hit the buttons with your cheek, the temporary solution is to use headphones or turn on speakerphones, and you can also turn off the approach response via the engineering menu (code ##6484##), but this will not eliminate the cause of the breakdown.
After the MIUI update, the sensor stopped working.
First, try resetting to factory settings (Settings β†’ About Phone β†’ Settings Reset). If it doesn't help, roll back the firmware to the previous version via Fastboot or Mi Flash Tool. Official rollback instructions are available on the Xiaomi Community forum.
How much does it cost to replace the proximity sensor with Xiaomi?
Price depends on the model and type of breakdown: Sensor replacement + plume: 1000-2500 β‚½. Contact clean: 500-1000 β‚½. Board soldering: 1500-3000 β‚½. Redmi and POCO repairs are usually cheaper than Mi or Black Shark flagships.
Can I replace the proximity sensor myself?
Theoretically, yes, but it's risky. You need to replace it with a special hair dryer to depilch the plume, a set of screwdrivers and plastic mediators, a new sensor (cost 200-800 β‚½ on AliExpress) without experience, you can damage a flexible plume or display, and we recommend that you contact the service if you are not sure about your skills.
Why does the sensor only work in some applications?
This may be due to: conflict with the power saving settings (turn off optimization for a problem application); errors in the application itself (try updating it or clearing the cache); incompatibility with the MIUI shell (often with third-party calls, such as Truecaller); Check if there is a problem in the standard Phone application; if not, delete or reinstall the problem software.

πŸ’‘

If the proximity sensor started to glittle after changing the screen, chances are the wizard damaged the plume or didn't plug it in correctly.