The proximity sensor issues on Xiaomi smartphones are one of the most common malfunctions faced by Redmi, POCO and Mi users. This small but important sensor is responsible for turning off the screen during a call when you hold the phone to your ear, as well as for automatically adjusting the brightness in some scenarios. If the sensor stops working, it is not only annoying, but also leads to accidental taps during a conversation, rapid battery discharge and even overheating the device.
In most cases, the malfunction is software-based and fixes itself without visiting a service center, but sometimes the problem lies in the hardware, such as after a phone drops or moisture hits. In this article, we will analyze all possible causes, from banal settings to serious breakdowns, as well as give step-by-step instructions for diagnosis and repair. 12/13/14 series, Redmi Note 10/11/12 and POCO F/X The series where the problem is most common.
Before you start repairing, it's important to understand exactly how the malfunction manifests itself.
- π΄ Do not respond completely β the screen does not go out during the call.
- π‘ Working with delay - goes out through 5-10 seconds after being applied to the ear.
- π’ Falsely activate β the screen turns off for no reason or at the slightest movement of the hand.
- βͺ The screen is turned off, then turned on during the conversation.
1. Check the operation of the sensor through the engineering menu
The first step is to make sure that the sensor is physically fit, so you don't have to take your phone apart, just go to Xiaomi's hidden engineering menu, which works on all models, including the Redmi Note 12 Pro+ and Xiaomi 13 Ultra.
Instructions:
- Open the Phone app.
- Enter the combination: ##6484## (for some models, #4636##).
- Select Proximity Sensor (Proximity Sensor).
- Put your hand to the top of the screen (where the front camera is located).
If the sensor is in good shape, you'll see a change from 5.00 cm (or Far) to 0.00 cm (or Near). If the numbers don't change or there's an error, it's hardware. If the values change but the screen doesn't go out during the call, it's the software's fault.
π‘
On some MIUI firmware, the engineering menu may be blocked, in which case use the Sensor Test app from Google Play, which will show the same data without entering the codes.
2. Software failures: resetting settings and software updates
In 60 percent of cases, the proximity sensor stops working because of a firmware failure or a conflict with the update, and this is especially true for phones on MIUI 13/14, where sensor bugs are a known problem.
- π± Reboot your phone β sometimes it resets temporary driver errors.
- π Update. MIUI Up to the latest version through Settings β The phone. β Updating the system.
- βοΈ Reset your network settings (does not delete data!): Settings β SIM-maps and mobile networks β Resetting network settings.
- π§Ή Clear the sensor cache through Settings β Annexes β Application management β Three dots (menu) β Show system-based β Sensor Service β Clear the cache.
If the problem occurred after the MIUI update, try to roll back to the previous version.
- Download the archive with firmware from en.miui.com.
- Rename the file to update.zip and place it in the root of the phoneβs memory.
- Press Volume Up + Power, select Recovery β Install update.zip.
β οΈ Attention: Firmware rollback will reset all data if you do not use the Fastboot method. β Additionally. β Backup and reset.
3. Hardware causes: what breaks physically
If the software methods didn't work, the problem is the hardware. The proximity sensor on Xiaomi is an infrared sensor that consists of two parts:
- Transmitter (emitting IR rays).
- Receiver (receives the reflected signal).
Any damage to one of the elements causes a failure.
| Reason. | Signs. | How to check | Decision |
|---|---|---|---|
| Detachment of sensor plume | The sensor doesn't respond at all, but the camera is working. | Disassemble the phone and check the connection of the plume | Replace or replace the sleeve (cost) ~1500β½) |
| Moisture/dust intrusion | The sensor is delayed or false | Light a flashlight in the sensor area - pollution is visible | Dry your phone, clean with alcohol (without disassembling!) |
| Cracking in glass above sensor | The screen goes out chaotically, the sensor works again and again. | Check the top of the screen for microcracks | Glass replacement (~3000-8000β½ model-wise) |
| Failure of the sensor chip | Sensor fails to respond, engineering menu error | Call the multimeter of the sensor's power chain | Replacement of sensor (~2000-5000β½) |
Critical information: On Xiaomi 12T and Redmi Note 11 Pro+, the proximity sensor is combined with the light sensor in one module. If one of them fails, you will have to change the entire unit!
4.Firmware problems: custom ROM and root rights
If you have installed custom firmware (LineageOS, Pixel Experience) or received root rights, the proximity sensor may not work properly due to:
- π No drivers for the sensor in the custom firmware.
- π§ Incorrect settings in the build.prop file.
- π οΈ Conflict with Magisk modules (e.g. XiaomiEU or DisableMIUI).
How to fix it:
- Check if your firmware supports the proximity sensor for your model (see the XDA Developers forum).
- Remove conflicting Magisk modules through Magisk Manager β Modules.
- Edit the file. /system/build.prop, line: ro.vendor.sensors.prox_cal_path=/persist/sensors/prox_cal.data
β οΈ Warning: Incorrect editing build.prop can lead to bootloop.Always backup before changes!
Check firmware compatibility with model |Remove all Magisk modules |Return to stock MIUI |Call the sensor circuits with multimeter-->
5. Influence of covers, films and accessories
Often, the proximity sensor stops working because of mechanical obstacles.
- π± Thick covers with high sides cover the IR ray.
- πΌοΈ Protective glass with a metallized layer shields the signal.
- π§² Magnetic holders (for example, for cars) create interference.
How to check:
- Remove the cover and the safety glass.
- Wipe the top of the screen with an alcohol napkin (removes fat and dust).
- Try calling without accessories.
If the sensor is working, the problem is in the accessories. For the Xiaomi 13 Pro and POCO F5 models, choose a case with a notch for the sensor or use thin silicone options.
How to choose a case that does not lock the sensor?
6. Repair in the service center: when it is impossible to do without it
If all of the above methods do not work, there are two options:
- Self-replacement of the sensor (requires experience in soldering) SMD-component).
- Contact the service center (recommended for most users).
The cost of repairs in official Xiaomi services (for 2026):
- π§ Diagnostics β 500-1000β½.
- π Replacement of sensor plume β 1500-3000β½.
- π± Replacement of the entire module (sensor) + lighting + frontal) β 4000-8000β½.
Before the service visit:
- π Keep all data (repair may require a complete reset).
- π Check if the center has experience with your model (e.g., Xiaomi 14 requires special equipment to calibrate sensors).
- π° Compare prices in 2-3 Services β the range can reach 50%.
π‘
If the phone is warranty, don't disassemble it yourself! opening the case will void Xiaomi's warranty obligations.
7. Alternative solutions: how to use a phone without a sensor
If repairs are delayed and the sensor is not working, you can temporarily do without it:
- π Turn off the screen manually while the power button rings.
- π Use a headset (Bluetooth or wired) β the screen will not go out.
- π² Install an app like Proximity Sensor Fix (simulates the sensor through a gyroscope).
For the POCO F4 GT and Redmi K50 Gaming, there is another lifehack: turn on the Game Turbo mode (Settings β Special Opportunities β Game Turbo).
Important: Long-term use of a phone without a working proximity sensor can lead to:
- π Quick battery discharge (the screen remains on during calls).
- π₯ Overheating of the processor (constant operation of the display loads GPU).
- π€³ Accidental clicks (risk of disabling a call or dialing a number during a call).