Calibration of the proximity sensor on Xiaomi Redmi Note 9 Pro: full instructions with expert advice

The proximity sensor in the Xiaomi Redmi Note 9 Pro is a small but critical component that automatically shuts down the screen during phone calls. When it doesn’t work properly, you run into annoying problems: the screen goes off on its own, doesn’t respond to touch, or stays active during a call, leading to accidental taps, often due not to hardware breakdowns, but to software errors or miscalibration.

In this article, we will discuss how to self-calibrate the proximity sensor on the Redmi Note 9 Pro without going to the service center. You will learn about the causes of malfunctions, step-by-step adjustment methods (including hidden engineering menus), and how to check the performance of the sensor after calibration, pay special attention to typical user errors that can exacerbate the problem, and give recommendations for prevention.

Why is the proximity sensor on the Redmi Note 9 Pro not working properly?

Before you start calibrating, it's important to understand what caused the malfunction, and 80 percent of the time, the problem is software-based and it's solved without disassembling the device, and here are the main reasons:

  • πŸ“± Firmware failure after update MIUI β€” New versions of software sometimes conflict with sensor drivers.
  • πŸ”§ Incorrect settings in the engineering menu (for example, after manual adjustment of parameters).
  • πŸ› οΈ Mechanical damage: cracks on the glass near the sensor, moisture or dust under the body.
  • πŸ”‹ Processor overheating – at high load, sensors can give false positives.
  • πŸ“² Conflict with applications, especially those that request access to sensors (e.g., automation software).

If the sensor stopped working after the phone fell or fluid hit, calibration is unlikely to help β€” you will need to replace the module. Otherwise, try software methods.

πŸ“Š Have you encountered proximity sensor problems on Xiaomi?
Yeah, the screen goes out on its own.
Yeah, it doesn't go off during the call.
No, it's working fine.
I don't know how to check that.

How to check the operability of the proximity sensor?

Before you calibrate the sensor, make sure it is really faulty. Use built-in MIUI tools or third-party apps to do this.

Method 1: Testing through the Engineering Menu

  1. Open the Phone app and enter the code: ##6484##.
  2. Select Proximity Sensor (Proximity Sensor).
  3. Put your hand up to the top of the screen (where the sensor is located), and when you work properly, you will see a change in values from 5 (far) to 0 (close).

Method 2: CPU-Z or Sensor Test

Download one of the apps from Google Play and check the sensor readings in real time. If the values do not change or jump randomly, the sensor needs to be calibrated or replaced.

πŸ’‘

If the sensor doesn't respond at all (the value is always 5), try to clean the surface of the sensor with a soft wipe.

Step-by-step instruction: calibration of the proximity sensor

If the test shows that the sensor is unstable, calibrate it. There are two main methods: through the engineering menu and using third-party utilities, and we recommend starting with the first method, since it does not require the installation of additional software.

Method 1: Calibration through the engineering menu

β˜‘οΈ Preparation for calibration

Done: 0 / 4
  1. Open the Phone app and enter the code: ##6484##.
  2. In the engineering menu, select Proximity Sensor.
  3. Press the Calibrate button. If it's not there, move on to the next step.
  4. Close the sensor with your hand (or a piece of paper) and wait until the value is 0.
  5. Remove your hand and make sure the value is back to 5.
  6. Reboot the phone.

If the problem persists after the reboot, try the alternative engineering menu code: ##4636# β†’ Testing β†’ Sensors.

Method 2: Calibration with Proximity Sensor Reset

If the engineering menu doesn't work, install Proximity Sensor Reset from Google Play, which automatically resets the sensor settings to factory settings:

  1. Open the app and press Reset Proximity Sensor.
  2. Confirm the action and wait for the process to be completed.
  3. Reset the device.
What to do if the app does not find the sensor?
This could mean that the sensor driver is disabled in the system. Try resetting the phone to factory settings (but back up the data first).

Manual sensitivity setting of the sensor

In some cases, the sensor works, but it goes too late or too abruptly, and you can fix this by changing the thresholds in the engineering menu.

Instructions:

  1. Enter the code ##36446337## (for some versions of MIUI).
  2. Go to the Proximity Sensor section.
  3. Find Near Delay (delay in approach) and Far Delay (deletion delay).
  4. Set the values: Near Delay: 200-300 ms (the smaller, the faster the screen goes out). Far Delay: 500-700 ms (the larger, the longer the screen stays off).

Save the settings and restart the phone.

ParameterRecommended valueConsequences of improper setting
Near Delay250msToo low a value. β†’ The screen goes out at the slightest movement of the hand.
Far Delay600 ms.Too high. β†’ The screen does not turn on for a long time after the call is completed.
Threshold (threshold)3-4 cmToo low β†’ false positives from a cover or hair.

πŸ’‘

Do not install Near Delay less than 100ms – this can cause the screen to permanently shut down even with normal phone use.

Frequent calibration errors and how to avoid them

Many users compound the problem by following questionable advice from the Internet, and here are the most dangerous errors that can make the sensor fail:

  • ⚠️ Use of informal firmware. ROM (LineageOS, for example, often don’t have the right drivers for Xiaomi sensors.
  • ⚠️ Resetting settings via fastboot without backup.It could erase calibration data forever.
  • ⚠️ Cleaning the sensor with alcohol or liquids. Alcohol and moisture damage the infrared sensor.
  • ⚠️ Change the persist.sy.proximity settings manually without understanding the consequences.

⚠️ Attention! If after calibration the sensor has stopped responding at all, do not try to repeat the procedure repeatedly. This may indicate a hardware malfunction (for example, a train disconnected.

Another common mistake is ignoring MIUI updates. Xiaomi regularly releases patches to fix sensor bugs. Check for updates in Settings β†’ About Phone β†’ System Update.

Hardware malfunctions: when calibration will not help

If all software methods have been tried, but the sensor is still not working properly, the problem may be in the hardware.

  • πŸ”΄ The sensor does not respond to calibration or tests.
  • πŸ”΄ The values in the engineering menu are always 0 or 5, regardless of obstacles.
  • πŸ”΄ Visible damage: cracks in glass above the sensor, traces of oxidation.
  • πŸ”΄ The problem occurred after a phone drop or contact with water.

In such cases, it is required:

  1. Diagnosis in the service center (the cost of verification is from 500 rubles).
  2. Replacement of the proximity sensor (price of the part + work - 1,500-2,500 rubles).
  3. Check the plume connecting the sensor to the motherboard.

⚠️ Attention! Don't try to disassemble the Redmi Note 9 Pro yourself to replace the sensor.The module is soldered to the board, and its replacement requires soldering equipment.Unprofessional repairs can damage other components.

Prevention of problems with the proximity sensor

To avoid repeated failures, follow these guidelines:

  • πŸ“΅ Use cases without a projection over the sensor. Plastic or metallic linings can block the infrared signal.
  • 🚫 Don't install apps to "accelerate" your phone. They often turn off background processes, including sensor drivers.
  • πŸ”„ Update regularly MIUI. In new versions, bugs with sensors are corrected.
  • πŸ› Avoid moisture. Even a little humidity can cause the sensor contacts to corrosion.

If you make frequent calls in high humidity (such as outside in rain), wipe the top of the screen with a dry wipe after talking, which will prevent condensation from accumulating inside the case.

FAQ: Frequent questions about the proximity sensor on the Redmi Note 9 Pro

Can I turn off the proximity sensor altogether?
Without the sensor, the screen will remain on during calls, which will lead to accidental taps, and if you need to turn it off temporarily, use the Disable Proximity Sensor app.
Why does the sensor work when I just hold my phone in my hand?
This is because it's too sensitive. Try to increase the Far Delay setting in the engineering menu to 800 to 1,000 ms. Also check if the sensor is blocking the cover or protective film.
The calibration helped, but after a week the problem returned.
It's probably caused by a conflict with one of the apps. Try: Boot in Safe Mode (hold the power button β†’ long tap on "Stop" β†’ "Safe Mode"). If the sensor is working normally in Safe Mode, delete the apps one at a time, starting with the last ones installed.
Can I reset the sensor settings without an engineering menu?
Yes, with help. ADB-Connect the phone to the PC, set up debugging. USB Adb shell settings put system proximity_offset 0 Then restart the device.
How much does it cost to replace the proximity sensor in the service?
The cost depends on the region and the service center: Official service Xiaomi: 2000-3 000 rubles (with work). Informal workshops: 1,200-2000 rubles. Self-replacement (if you have experience): part costs 300-800 rubles on AliExpress. Repair period - from 30 minutes to 2 days.