The proximity sensor in the Xiaomi Mi 10T is a small but critical component that shuts down the screen during phone calls. When it doesn't work properly, you run into annoying problems: random taps on the screen with your cheek, a non-switching display when you hold the phone to your ear, or a black screen that doesn't respond to the device's withdrawal, symptoms that are often mistakenly attributed to software failures, even though 80 percent of the time the sensor's calibration is to blame.
Mi 10T owners often face this problem after a firmware update, mechanical damage (for example, after a fall), or even a banal replacement of the protective glass. Fortunately, in most cases, calibrating the proximity sensor does not require a visit to the service center - it can be done independently in 5-10 minutes. In this article, we will analyze all available methods, from standard MIUI settings to the engineering menu and manual adjustment through ADB.
Signs of malfunction of the proximity sensor
Before you start calibrating, it is important to make sure that the problem is really related to the sensor, not a software failure or hardware breakdown.
- π± The screen does not go out when you bring the phone to your ear during a call (the risk of accidental pressing).
- π The screen does not turn on after removing the phone from the ear, you have to press the power button.
- π Spontaneously turning on/off the screen when talking.
- π οΈ Message "Approximation sensor does not respond" in diagnostic utilities.
If you have any of these signs on a regular basis, it's likely that the sensor needs calibration, but don't rush right into the settings, check if the sensor is being affected by a protective film or glass, because the Mi 10T uses an infrared proximity sensor that can be blocked by opaque or thick coatings, and try temporarily removing the protection and testing the phone, and if the problem is gone, you'll have to pick up a thinner glass.
Another nuance: In rare cases, sensor failures are caused by conflicts with third-party applications, especially those that control calls or screens (such as programs to record conversations or lock the screen). Before calibrating, load the phone in Safe Mode (hold the power button β Safe Mode) and check if the problem persists. If so, start setting up the sensor.
π‘
To quickly check the sensor, type the code ##6484## in the phone keyboard and open the sensor test, where you can see the response of the proximity sensor in real time.
Method 1: Calibration through standard MIUI settings
The easiest method is to use the built-in MIUI tools, which are suitable for most users and do not require technical skills.
- Open the Settings app.
- Go to the About Phone section. β All characteristics.
- Find the MIUI version line and tap it 7 times in a row until the message βYou are a developer!β appears.
- Return to the main Settings menu and open a new Developer section (usually at the bottom of the list).
- Scroll down and find the proximity sensor calibration option (in some versions of MIUI, it may be called proximity sensor setting).
- Follow the instructions on the screen: you usually need to put the phone on a flat surface and wait for the process to be completed (it will take 10β30 seconds).
Once calibrated, be sure to restart the phone, which will help to fix the changes. If the calibration option is not in the developer menu, this may mean that:
- π± Your version. MIUI Does not support this function (relevant to older builds).
- π§ The sensor is physically damaged and needs to be replaced.
- π‘οΈ On the phone installed custom recovery or firmware that removed this option.
Make sure the phone has enough charge (minimum 30%)|Remove the cover and the protective glass|Close all background applications|Connect to a stable Wi-Fi network (to download updates if required)-->
Method 2: Manual calibration through an engineering menu
If the standard method didnβt work, try using the Engineering Mode, a hidden section available on all Xiaomi smartphones, but it should be handled carefully β wrong actions can lead to failures.
To open the engineering menu:
- Open the Phone app.
- Enter the combination ##36446337## (or #4636### for some versions).
- Select Hardware Testing β Sensor β Proximity Sensor.
In this menu you will see the current readings of the sensor:
- The "0" value is the sensor does not detect obstacles (the screen must be turned on).
- 1 - The sensor detects an obstacle (the screen must turn off).
To calibrate the sensor:
- Put the phone on the table with the screen up.
- Press Calibrate (or Do Calibration in some versions).
- Wait until the process is complete (the phone can vibrate).
- Check the sensor response by holding your hand to the top of the screen (where the sensor is located).
Attention: if after calibration the sensor shows "1" in the absence of obstacles or "0" with the upper part closed by the palm, this indicates a hardware malfunction, in which case the calibration is useless - a replacement of the sensor is required.
What to do if the engineering menu is not opened?
Method 3: Calibration through ADB (for power users)
If previous methods didn't work, you can try calibrating the sensor through Android Debug Bridge (ADB), which requires connecting the phone to a computer and basic command line knowledge, and the advantage of the method is that it allows you to manually set sensor thresholds, which is useful for "floating" failures.
First, prepare everything you need:
- π₯οΈ Computer with installed Xiaomi drivers and package ADB Tools.
- π± Initiated Debugging Mode USB developer-setting.
- π Cable USB (preferably original).
Follow the instructions:
- Connect your phone to your computer and open the command prompt (or terminal) in the ADB folder.
- Enter the command to check the connection: adb devices If the phone is determined, you will see its serial number.
- Get the current sensor values: adb shell dumpsys sensorservice In the output, find the proximity block - there will be maxRange and resolution parameters.
- Set new thresholds (example for Mi) 10T): adb shell settings put system proximity_delay 1000 adb shell settings put system proximity_offset 2.0 Here. proximity_delay β delay in reaction (in ms) and proximity_offset β sensitivity.
- Restart the phone and check the sensor.
If you are not sure about the parameters, you can reset the sensor settings to the factory:
adb shell settings delete system proximity_delay
adb shell settings delete system proximity_offsetπ‘
ADB-Calibration is the most flexible method, but it requires caution. Wrong values can make the sensor even less sensitive. Start with minimal changes (e.g., reduce the sensitivity of the sensor). proximity_delay on 100β200 miss-at-a-time).
Verification of calibration results
After any calibration, you need to make sure that the sensor is working correctly.
- Call another phone or use a voice assistant to simulate a call.
- Hold the phone to your ear β the screen should go out instantly (without delay of more than 1 second).
- Take the phone away - the screen should turn on within 0.5-1 seconds.
- Repeat the test 3-5 times, changing the angle of the phone.
If the screen behaves unpredictably (for example, it goes out with a delay or does not turn on after a diversion), try:
- π Repeat calibration by another method (e.g. after the ADB Try the engineering menu).
- π² Reset your phone settings (without deleting data) via Settings β System system β Resetting settings.
- π§ Update the firmware to the latest version - in new builds MIUI Often fix sensor bugs.
Third-party applications such as Sensor Test or Phone Tester can be used to make the diagnosis more accurate, and they show real-time graphs of the sensorβs response, which helps detect floating failures.
π‘
If the sensor is perfectly sensing after calibration, but it fails during real calls, check the settings of the Phone app. Sometimes the problem is with the "Block Screen During Call" option, which you need to manually turn on.
Frequent mistakes and their solutions
Even after successful calibration, Xiaomi Mi 10T users sometimes face recurring problems, and consider typical scenarios and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The sensor only works on the engineering menu, but not during calls. | Conflict with the "Phone" application or MIUI add-ons | Reset the phone app settings or update it via Google Play |
| The screen goes out too late (in 2-3 seconds) | Overestimated proximity_delay into ADB | Reduce the delay with adb shell settings put system proximity_delay 500 |
| The sensor is triggered by any movement of the phoneβs hand. | Sensitivity is overstated or sensor is contaminated | Wipe the top of the screen with alcohol or reduce proximity_offset before 1.5 |
| After calibration, the sensor stopped responding completely. | Wrong settings in ADB or firmware failure | Reset the sensor settings via the engineering menu or return the factory ADB values |
If none of the methods helped, it is worth considering the hardware reasons:
- π§ Moisture falling under the screen (even if the phone didn't sink, condensation could damage the sensor).
- π¨ Mechanical damage after falling (even if there are no cracks, the sensor plume could have moved away).
- β‘ Firmware problems after a failed update or rooting.
In these cases, self-repair is not possible β contact the Xiaomi service center.
π‘
Before visiting the service, back up your data via Settings β System β Backup. Replacing the proximity sensor with the Mi 10T takes 1-2 hours and costs about 1500-2500 rubles (depending on the region).
Prevention of problems with the proximity sensor
To avoid repeated failures, follow these guidelines:
- π‘οΈ Use only high-quality security glass with a sensor cutout. Cheap films can block infrared signals.
- π Regularly update the firmware in new versions MIUI Often optimize the sensors.
- π« Avoid mechanical stress on the top of the phone (do not put it down on hard surfaces).
- π§Ή Clean the sensor from dust and dirt with a soft napkin dipped in alcohol (no more than 1 time per month).
It is also useful to periodically check the sensor through the engineering menu (every 2-3 months).If you notice that the screen has become slower to respond to the approach, do not wait for a complete failure - timely calibration will prevent serious failures.
For users who often face sensor problems, Sensor Box for Android is a utility that allows you to monitor all the sensors of the phone in real time and record the slightest deviations in their work.
How to protect the sensor when replacing glass?
FAQ: Answers to Frequent Questions
Can I calibrate the proximity sensor without a computer?
Why does the sensor work unstable after calibration?
How to check if the proximity sensor is working on the Mi 10T?
How much does it cost to replace the proximity sensor in the service?
Can custom firmware affect the operation of the sensor?
If your question isn't covered in the FAQ, try searching for a solution on topic forums like 4PDA or XDA Developers by specifying the phone model (Mi 10T) and firmware version. Often users share unique problem-solving techniques specific to specific MIUI builds.