The proximity sensor in Xiaomi smartphones is a small but critical component that is responsible for turning off the screen during a phone call. When you hold the device to your ear, the sensor registers the obstacle and extinguishes the display, preventing accidental pressing and saving battery power. However, many users face the problem: the sensor either does not work out of the box or turns off after the MIUI update. In this article, we will analyze where exactly the proximity sensor is set up on different models of Xiaomi, Redmi and POCO, and how to diagnose its malfunction.
It's important to understand that the location of the option may vary depending on the firmware version and device model. For example, on the Xiaomi 12T Pro, the path to setup is one, and on the Redmi Note 10 Pro, we'll look at the universal methods, as well as the nuances for specific lines. If you notice that the screen does not go out during a call or, on the contrary, it turns off too early, this instruction will help to return the sensor to working condition.
What is a proximity sensor and why you need it
The proximity sensor is an infrared sensor that detects the distance between a smartphone screen and an object (usually your ear or face) and its main function is to automatically turn off the display during a conversation to:
- ๐ต Prevent accidental tapping of the screen with the cheek or ear (such as turning off a call or dialing a number).
- ๐ Save battery power, as the backlight of the screen is one of the main consumers of energy.
- ๐๏ธ Protect your eyes from unnecessary light in the dark.
- ๐ Extend service life AMOLED-matrices (constant burning of pixels reduces their resource).
On Xiaomi smartphones, the proximity sensor is usually located at the top of the screen, next to the front camera or speaker, and looks like a small circular hole (sometimes covered by a protective grid). Budget models (such as the Redmi 9A) can use software emulation of the sensor through the camera, but this is a less reliable option.
If the sensor fails, users face the following problems:
- ๐ซ The screen does not go out during the call, which leads to occasional taps.
- ๐ The display is shut down too early or with a delay.
- ๐ฑ The sensor works even when the phone is on the table (false positives).
Where to find the proximity sensor setting in MIUI
In most Xiaomi smartphones, the option to activate the proximity sensor is hidden in the call settings menu. However, the path to it may differ depending on the version of MIUI (12, 13, 14 or HyperOS).
- Open the Settings app (the gear icon on the desktop).
- Go to the Appendix section โ Application management.
- In the search bar, enter your Phone and select the standard call app.
- Slip it on the Permit. โ Additional (or Other Permits).
- Find the Approximation Sensor and activate the switch.
If this is not the case, try an alternative route:
- Go to Settings โ System and device โ More
- Choose Special Opportunities โ Physical buttons.
- Scroll down to the section During the call and enable the option to turn off the screen when approaching.
On some devices (e.g., POCO X3 Pro), the setting can be located directly in the Phone app:
- Open the Phone app.
- Press three points (โฎ) top-right โ Settings.
- Go to Call Settings โ Approximation sensor.
โ๏ธ Checking the proximity sensor
Why the proximity sensor may not work
If you've turned on the option in the settings, but the sensor is still not functioning, the reasons may be both software and hardware.
| Reason. | Signs. | Decision |
|---|---|---|
| Disabled in settings | The screen doesn't go out during the call, but the sensor works in tests | Include in Settings โ Applications โ Phone โ Permissions |
| Sensor contamination | False positives or complete lack of reaction | Clean the top of the screen with alcohol and soft cloth |
| Damage after falling | Sensor is not working, there is a crack in the sensor area on the screen | Replacement of sensors in the service center |
| Firmware failure | The problem arose after the MIUI update. | Reset or roll back to the old version |
| Conflict with the shell | The sensor is operating in safe mode, but not in normal mode. | Remove third-party launchers or reset settings |
Especially often, problems arise after upgrading to MIUI 14 or HyperOS, where the manufacturer can change the logic of the sensors, for example, in some firmware, the proximity sensor is turned off by default to save energy, and it is worth checking whether applications like Second Space or Dual applications are installed on the device, which can block access to the sensors.
โ ๏ธ Attention: If the proximity sensor stopped working after the screen was replaced, it is likely that the master damaged the sensor plume or installed an unoriginal spare part.
How to check the proximity sensor on Xiaomi without a call
You don't have to call someone to test the sensor, and MIUI has hidden engineering menus and codes that allow you to check the sensor manually, and here are two reliable ways to do this.
Method 1: Through the Engineering Menu (CIT)
This method works for most Xiaomi models, including the Redmi Note 11, POCO F4 and others:
- Open the Phone app.
- Enter the code ##6484##
- Choose the Manual Test โ Proximity Sensor.
- Put your hand up to the top of the screen, and if the sensor is working, you'll see a change from 5 (far) to 0 (close).
Method 2: Through the application "Equipment Test"
On some devices (such as Xiaomi 13 Lite), the engineering menu may be blocked.
- Install the MIUI Hidden Settings app (available on Google Play).
- Open the Hardware Tests section โ Proximity Sensor.
- Press Start Test and hold your finger to the sensor, and the value should change from Far to Near.
If the sensor doesn't respond in both tests, the problem is precisely hardware, and if it does respond but doesn't work during the call, it's the settings or the firmware.
๐ก
If the engineering menu doesnโt open, try entering the code ##4636##, then select Phone Information โ Equipment Check.
Features of setting up on popular Xiaomi models
Despite the general logic of MIUI, some models have unique nuances in the location of the proximity sensor settings.
Xiaomi 12/12 Pro/12T Series
On the flagships of 2022-2023, the path to customization is as follows:
- Settings โ Applications โ Application management.
- Find the phone โ permissions โ other permissions.
- Activate the Approximation Sensor and Change System Settings.
These models may also need to enable the Smart Disconnect option in Settings โ Screen โ Lock and Protection.
Redmi Note 10/11/12 Series
In the budget line of Redmi Note, the setting is often hidden in the menu of special features:
- Settings โ Special features โ Physical buttons.
- Scroll to the section during the call.
- Turn off the screen when approaching.
If you do not have an option, upgrade to the latest version of MIUI.
POCO F3/F4/F5 Series
On POCO devices with MIUI for POCO, the path may be different:
- Open Settings โ System and device โ More
- Select Call Settings โ Approximation sensor.
- Make sure the switch is active.
On POCO X5 Pro and later, also check the settings in the Phone app โ Settings โ Sensors.
What to do if the sensor is not working properly?
How to Calibrate the Approximation Sensor on Xiaomi
If the sensor is working but is not operating in a stable way (for example, the screen goes off too early or does not turn back on), it can be calibrated.
- Enter the phone code in the app: ##6484##
- Choose the Manual Test โ Proximity Sensor.
- Press Calibration.
- Place the phone on a flat surface and wait for the process to complete (usually 10-15 seconds).
- Reset the device.
If the engineering menu is not available, use the Sensor Test app from Google Play:
- Install and open the application.
- Select Proximity Sensor.
- Press Calibrate and follow the instructions on the screen.
โ ๏ธ Attention: Poor calibration may worsen the sensor. If the problem worsens after the procedure, reset the settings via Settings โ The phone. โ Resetting settings.
On some models (e.g. Xiaomi Mi 11), the calibration can be reset after the firmware update, in which case you will have to repeat the procedure after each update.
๐ก
Calibration of the proximity sensor only helps in case of software failures, if the sensor is physically damaged (for example, after a fall), calibration will not work.
What to do if the proximity sensor does not work after the MIUI update
One of the most common causes of sensor failure is a firmware update failure, which is because newer versions of MIUI or HyperOS can change sensor drivers.
1. Reset the settings of the Phone application
Sometimes it is enough to reset the settings of the standard application for calls:
- Go to Settings โ Applications โ Application Management.
- Find the phone and tap it.
- Select Warehouse โ Clear data and Clear cache.
- Reboot the phone.
2. Roll back the firmware
If the problem has occurred after the update, try returning to the previous version of MIUI:
- Download the old firmware from the official Xiaomi website (Support โ MIUI Downloads section).
- Go to Settings โ About the phone โ System update.
- Press three points (โฎ) โ Select a firmware file.
- Specify the downloaded file and wait for the process to be completed.
3. Enable the sensor via ADB
For power users: If the setting is hidden in firmware, it can be enabled via ADB:
adb shell settings put global proximity_sensor_enabled 1For this:
- Install Platform Tools on your PC.
- Turn on USB Debugging in Settings โ About Phone โ MIUI version (tap 7 times according to version).
- Connect the phone to the PC and execute the command above.
If none of the methods worked, you just have to wait for a patch from Xiaomi or install custom firmware (for example, LineageOS).