Calibration of the proximity sensor on Xiaomi Mi 10T: a complete guide with solutions to typical problems

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.

πŸ“Š Have you encountered proximity sensor problems on Xiaomi?
Yes, the screen doesn't turn off during the call.
Yes, the screen doesn't turn on after the call.
No, but I want to know how to check.
I don't know what that is.

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.

  1. Open the Settings app.
  2. Go to the About Phone section. β†’ All characteristics.
  3. Find the MIUI version line and tap it 7 times in a row until the message β€œYou are a developer!” appears.
  4. Return to the main Settings menu and open a new Developer section (usually at the bottom of the list).
  5. Scroll down and find the proximity sensor calibration option (in some versions of MIUI, it may be called proximity sensor setting).
  6. 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:

  1. Open the Phone app.
  2. Enter the combination ##36446337## (or #4636### for some versions).
  3. 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:

  1. Put the phone on the table with the screen up.
  2. Press Calibrate (or Do Calibration in some versions).
  3. Wait until the process is complete (the phone can vibrate).
  4. 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?
If the code is entered and the message "Connect is not available" or nothing happens, try: 1. Use the alternative code: ##4636## or ##6484##. 2. Install the MTK Engineering Mode application from Google Play (for phones with MediaTek processor). 3. Update the firmware to the latest version - in older MIUI builds, the engineering menu can be blocked.

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:

  1. Connect your phone to your computer and open the command prompt (or terminal) in the ADB folder.
  2. Enter the command to check the connection: adb devices If the phone is determined, you will see its serial number.
  3. Get the current sensor values: adb shell dumpsys sensorservice In the output, find the proximity block - there will be maxRange and resolution parameters.
  4. 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.
  5. 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.

  1. Call another phone or use a voice assistant to simulate a call.
  2. Hold the phone to your ear – the screen should go out instantly (without delay of more than 1 second).
  3. Take the phone away - the screen should turn on within 0.5-1 seconds.
  4. 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 causeDecision
The sensor only works on the engineering menu, but not during calls.Conflict with the "Phone" application or MIUI add-onsReset the phone app settings or update it via Google Play
The screen goes out too late (in 2-3 seconds)Overestimated proximity_delay into ADBReduce 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 contaminatedWipe 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 failureReset 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?
If you plan to glue a new protective glass, choose models with an open top edge (without covering the sensor area). Before the sticker, wipe the sensor area with a hairless wipe and make sure that the glue does not hit the sensor. After installation, check the sensor response in the engineering menu.

FAQ: Answers to Frequent Questions

Can I calibrate the proximity sensor without a computer?
Yes, in most cases, standard MIUI settings or engineering menus are enough. ADB is only needed for fine-tuning or if other methods have not worked. First try the method through Settings β†’ For developers.
Why does the sensor work unstable after calibration?
This may be due to: Incorrectly selected parameters in ADB (too high or low sensitivity); conflict with the battery optimizer (add the phone app to exception); physical damage to the sensor (requires diagnostics in the service); try resetting the sensor to the factory settings and repeat the calibration.
How to check if the proximity sensor is working on the Mi 10T?
The quickest way is to type ##6484## and select Proximity Sensor, and in real time you can see how the sensor responds to obstacles, and you can also use Sensor Test or CPU-Z (Sensors tab).
How much does it cost to replace the proximity sensor in the service?
The cost of replacing the sensor with Xiaomi Mi 10T in official service centers is 1500-2500 rubles (including work and spare parts). In informal workshops, the price may be lower (from 1000 rubles), but there is a risk of installing an unoriginal sensor. The repair period is 1-3 hours.
Can custom firmware affect the operation of the sensor?
Yes, informal firmware (like LineageOS or Pixel Experience) sometimes contains bugs affecting sensor drivers. If the sensor stopped working after firmware is installed, try: Set a sensor patch (see the 4PDA forum for your firmware). Return to the official MIUI via Fastboot. Calibrate the sensor via ADB with manual settings.

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.