Missing approximation sensor in Xiaomi settings: a complete guide to elimination

When the Xiaomi smartphone screen doesn't go out while you're talking, and the user's face accidentally pushes buttons, that's familiar to many owners of budget and mid-range models. Often users find that the calibration item has gone missing in the engineering menu or the developer's settings, or the sensor itself has stopped responding. This is not just an inconvenience, but also the reason for resetting calls or accidentally activating functions.

The problem can be either a software failure of the MIUI shell or HyperOS, or a physical damage to the protective film or display module. It is important to understand that the absence of a visible switch in the standard menu does not mean that the system is completely inoperable. In most cases, the touchpad is functional, but requires software activation or reset of accumulated calibration errors.

In this article, we will look at all the possible causes of the sensor’s failure and offer step-by-step solutions, learn how to use hidden codes to check whether to change the security glass and what system files can block Proximity Sensor. We will not use complex flashing methods unless urgently necessary.

⚠️ Before you start any manipulation of the engineering menu, make sure that the battery is more than 50%. interruption of the calibration process may lead to incorrect screen operation in the future.

Why the setting is missing and how it affects the work

The disappearance of the proximity sensor control point is often due to operating system updates. Xiaomi engineers periodically hide access to deep settings in new versions of Android to prevent accidental system failure by inexperienced users.

Physically, the sensor is an infrared emitter and receiver located at the top of the display. If the software stops receiving signals from it or interprets them incorrectly, the screen stops blocking when it is brought to the ear, which causes the cheek or hair to activate the speaker, reset a call or start a voice recorder.

πŸ“Š Have you encountered a problem with a broken sensor?
Yeah, the screen's not going out.
Yeah, but rarely.
No, it's working.
I have an iPhone.

It’s worth noting that some Redmi and Poco models use a virtual sensor that relies on artificial intelligence algorithms and accelerometer data. If the classic switch is missing from the settings, it may have switched to a virtual sensor that doesn’t require manual calibration but can work less accurately under certain lighting conditions.

Diagnostics: checking the state of the sensor

Before you look for missing settings, you need to make sure that the component is physically healthy. There is a universal method of checking through the engineering menu, which works on most devices with a MIUI shell. To do this, open the Phone app and type the combination ##6484##.

Once you enter the code, the CIT (Customer Information Test) menu will open. You will need to find the "Proximity Sensor" or "Proximity Sensor" item in the test list. You will click on it and see the current distance to the object. Close the top of the screen with your palm, and the value should change from "5.0" (or "Far") to "0.0" (or "Near").

  • πŸ” If the values change but the screen doesn’t go out, the problem is with software calibration or application conflict.
  • 🚫 If the value is constantly β€œ5.0” even with the area of the speaker closed by the palm, the sensor is physically defective or disabled by the plume.
  • ⚑ If you're on the menu CIT not open, perhaps the device has a global firmware with a stripped down functionality or damaged system partition.

It's also worth checking if the sensor is closed by foreign objects. High-sided covers or improperly pasted protective film often overlap the IR beam. In models with an Under-display camera or hidden sensor, even a greasy spot from the finger can play a role.

Including methods through engineering menus and codes

If the standard path is hidden, you can try activating the sensor through alternative codes. Some firmware versions use code ##77265226##, which forcefully includes approximation testing. However, a more effective method is to reset the calibration through the CIT menu described above.

When you enter the Proximity Sensor test, press the Calibration button. The screen may go out, and you will need to close and open the top of the smartphone several times with your palm, following the instructions on the display.

β˜‘οΈ Checklist before calibration

Done: 0 / 4

In cases where automatic calibration doesn't work, you can try manually resetting settings, and sometimes the "Disable" option followed by "Enable" is available in the test menu, which restarts the device driver without fully restarting the smartphone, and if that doesn't work, the system configuration file may have been damaged.

⚠️ Note: Do not try to calibrate repeatedly if the test consistently shows Fail, which may indicate a hardware defect, and software methods will only make the situation worse by writing incorrect data to the controller's memory.

Setup through the Developer Menu

In some cases, sensor management can be accessed through the developer's hidden menu. To get there, go to Settings β†’ About Phone and quickly click on the MIUI version seven times. A new section will appear in the advanced settings.

Inside the Developer menu, scroll down to the Enter or Sensors section, and there may be a Quickly Disable Nearby Sensor switch, make sure it's off. This option indirectly confirms that the system sees the sensor but blocks it from working.

ParameterDefault valueRecommended valueImpact
Quickly disable proximityOffOffAllows sensors to work
Pointer locationOffOffTouch visualization (for diagnosis)
Show tapsOffOnHelps you see the reaction of the screen
Animation scale1x0.5xAccelerates interface response

Also in this section, you should pay attention to the option β€œShow surface updates”, which allows you to see how the system redraws the screen. If the screen flashes when you call, but does not go out completely, this may indicate a conflict of display layers, which is solved by resetting the interface settings.

Secret code for sensor resetting
Dial ##2878## or ##6666## to log into the extended testing menu (not all models). You can find Proximity Sensor Test and deep-clean the data buffer. > Software conflicts and third-party applications Often cause incorrect work is third-party software. Call management applications, conversation recordings or smart blockers can intercept the sensor control. If a problem appears after installing a new application, try to delete it or check its permissions in the security menu. Special attention should be paid to the topic of design. Castomy themes from the Mimes store can contain an interference feature, which should not include a graphical feature on the system. πŸ“± Check out apps like β€œClean Master” or antiviruses that can aggressively optimize call processes. 🎨 Turn off Advanced Gestures in the screen settings, they sometimes conflict with the sensor. πŸ”„ Update the Phone and Contacts app via Google Play Store, as older versions may not work properly with newer versions API If you use root rights or a modified bootloader, the problem may be the modified kernel, in which case returning to stock firmware is often the only way to restore the stable operation of the sensors. Hardware causes and repairs When software methods are exhausted, the hardware remains. In Xiaomi smartphones, the proximity sensor is often integrated into the display plume or output by a separate module in the upper frame. In the models with IPS-The sensor is usually in a narrow frame above the display. OLED With a DotDisplay, the sensor can be hidden under the pixels, and damage to the protective glass in that area is almost guaranteed to render the sensor inoperable, even if the screen itself is intact. Replacing the sensor at home is possible, but requires disassembly skills and thermophene to remove the display accurately. In service centers, this procedure is carried out quickly, often changing the sensor along with the top plume or the entire display module. ⚠️ Attention: Self-disassembly of the Xiaomi smartphone will lead to loss of warranty. If the device is warranty, immediately contact an authorized center, rather than trying to open the case. Radical solutions: reset and flashing If nothing helps, there is a complete reset. Before that, make a backup of contacts and photos. Go to Settings. β†’ Advanced settings β†’ Recovery and discharge β†’ Resetting. This will remove any software errors that have accumulated over the course of use. In extreme cases, flashing the device through the computer using the Mi Flash Tool utility helps. It is important to choose firmware marked "Clean All" to completely clear the memory partitions. However, this is a complex process that requires an unlocked bootloader. πŸ’‘V 80% In cases, the problem is solved by removing the protective film or calibration through the engineering menu. CIT. Hardware repairs are rare, and remember, once you reset the system, it will learn again how the sensors work. 15-20 So, the sensor doesn't work after the screen is switched on, without loading it so that the background processes stabilize? When replacing the display, often low-quality copies are used, where the proximity sensor is either missing or has a different sensitivity, and the wizard may have forgotten to connect the plume or damage it during assembly. CIT-Can you turn off the sensor permanently? You can't turn it off completely, but you can minimize the impact. There are call screen locking apps that ignore the sensor data and use a timer or accelerometer to dampen the screen. Does the magnetic case affect the sensor? Yes, powerful magnets in bookcases can interfere with the magnetometer and, in rare cases, affect the IR sensor of the proximity, if the magnet is close to the top edge. What is pocket mode and how is it connected? It's a feature that uses the same proximity sensor to lock the phone in your pocket. If it's not working properly, it means that you'll have problems with calls, and you can turn it off in the screen settings or lock it.