Calibration of the proximity sensor on Xiaomi Redmi Note 10 Pro: 3 proven methods

Xiaomi Redmi Note 10 Pro is one of the most popular mid-range smartphones, but even it is not immune to problems with the proximity sensor. If the screen does not go out when you hold the phone to your ear during the call, or vice versa, it does not turn on after you turn it off, this sensor is to blame. In 80% of cases, the problem is solved by software calibration, not replacing the module.

Approximate sensor on Redmi Note 10 Pro (model) M2101K6G) It's located next to the front camera, and it's responsible for turning off the screen during a conversation, and it can be caused by software errors after an update. MIUI, This article contains three working calibration methods, including hidden engineering menus and ADB-teams, as well as methods of diagnosing malfunction.

Signs of malfunction of the proximity sensor

Before you start calibrating, make sure the sensor is the problem.

  • πŸ“± 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 the phone is taken away from the ear (you have to press the power button).
  • πŸ”¦ Automatic brightness control is not working correctly (light and proximity sensors are often combined).
  • πŸ“ž In the call logs there are messages about the error SensorError: Proximity.

If the sensor is not fully responsive, check its physical condition: remove the protective glass (it can block the IR sensor) and wipe the area around the camera with an alcohol wipe. In 30% of cases, the problem is solved by cleaning.

⚠️ Note: On the Redmi Note 10 Pro, the proximity sensor is combined with the light sensor. If after calibration the automatic brightness stops working, reset the sensor settings in the engineering menu (section 3 of this article).

Method 1: Calibration through the engineering menu (without ROOT)

The safest method, no superuser rights required, is the engineering menu hidden in MIUI, but accessed through a secret code:

  1. Open the Phone app.
  2. Enter the combination: ##6484###
  3. Select Proximity Sensor (approximation sensor).
  4. Press Calibrate and follow the instructions on the screen.

Once calibrated, restart your phone. If the menu doesn't open, check if your carrier is blocking it (some firmware requires code entry ##4636# β†’ Testing β†’ Sensor Test).

Try another code (#36446337###)

Remove call blocking apps (they can intercept codes)

Update MIUI to the latest version

Reset network settings (Settings) β†’ SIM-maps and mobile networks β†’ Reset)

-->

Method 2: Manual calibration via ADB (for advanced)

If the engineering menu didn't work, use ADB (Android Debug Bridge), a method that requires a computer and enabled USB debugging.

Steps:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  3. Connect the phone to the PC, open the command line and type:
adb shell


su




echo 1 > /sys/class/sensors/proximity/proximity_calibrate

If the team doesn’t work, try an alternative route:

echo "1" > /sys/bus/i2c/devices/1-0044/proximity_calibrate

⚠️ Note: Some of the Redmi Note firmware 10 Pro, the path to the sensor may be different. To find the right one, type in ADB ls /sys/class/sensors/ Look for a folder with the word proximity.

πŸ’‘

If ADB issues a β€œpermission denied” error, try getting a temporary ROOT first via Magisk (without unlocking the bootloader) or use the Sensor Calibration app from the Play Market.

Method 3: Reset sensor settings via Safe Mode

If the sensor is unstable (it turns on, then not), the problem may be in conflict with the installed applications.

  1. Turn off the phone.
  2. Press the Power button and hold until the Redmi logo appears.
  3. Once the logo disappears, immediately press and hold the Volume Down button until the phone boots up.
  4. In the lower right corner, the inscription Safe mode will appear.

In this mode, test the sensor (e.g., call another phone) if it works properly, uninstall the recently installed apps (especially those related to calls or automation).

Rebooted phone |Cleaning sensor with alcohol |Updated MIUI |Used the engineering menu |I haven't tried anything-->

Diagnostics of the sensor: how to check its performance

Before you calibrate the sensor, make sure it's physically fit.

  1. Install the Sensor Test application (e.g. com.innovative.sensortest).
  2. Open the Proximity Sensor tab.
  3. Close the sensor with your hand – the value should change from 5.0 cm to 0.0 cm.
  4. Remove your hand – the value should return to 5.0 cm.

If the readings are unchanged or the sensor shows N/A, the problem may be:

  • πŸ”Œ Oxidized plume contacts (disassembly required).
  • πŸ› οΈ Damaged sensor (replacement required).
  • πŸ“± Incorrect firmware (try to reflash your phone via Fastboot).
Symptoms.Probable causeDecision
The screen does not go out during the call.Sensor contaminated or uncalibratedCleaning + Calibration through the Engineering Menu
The screen will not turn on after the call.Incorrect sensor thresholdsReset via ADB or Safe Mode
The sensor is not responding at all.Hardware malfunctionDiagnostics at the service center
Automatic brightness is not workingFailure of the light sensor (combined with the approximation)Calibration of both sensors

Frequent calibration errors and how to avoid them

On the Redmi Note 10 Pro, the proximity sensor uses an IR sensor that can fail when exposed to direct sunlight during calibration. Always perform the procedure in a room with normal light.

Common user errors:

  • πŸ”„ Calibration through third-party applications without checking compatibility with MIUI 12/13/14.
  • πŸ“± Use of non-original protective glasses (they can block IR rays).
  • πŸ”§ Skipping the reset step after calibration (settings apply only after rebooting).
  • πŸ› οΈ Attempt to mechanically clean the sensor with sharp objects (use only a soft brush or napkin).

⚠️ Note: If after calibration the sensor is turned on backwards (on when approaching and off when diverted), then the threshold values have been confused. proximity_delay 1000 (where 1000 β€” delay time).

What if the sensor is calibrated but the problem remains?
1. Check if the call settings have set screen shutdown via Settings β†’ Apps β†’ Phone β†’ Turn off screen during call. 2. Remove the Phone app cache (Settings β†’ Apps β†’ Phone β†’ Warehouse β†’ Clear cache). 3. If custom firmware is used (e.g. Pixel Experience), install the sensor-enabled kernel for the Redmi Note 10 Pro (look for the XDA forum). 4. At the last resort, reset to factory settings (but make a backup first!).

Hardware replacement of the sensor: when it is not possible to do without it

If software methods fail, the proximity sensor can be physically damaged. On the Redmi Note 10 Pro, it is soldered into a flexible plume along with the front camera and light sensor.

  • πŸ’° Replacement of the plume with sensors: 1500-2500 rubles (depending on the region).
  • πŸ”§ Independent replacement: 800-1200 rubles (price of a plume on AliExpress).
  • ⚠️ Risks: If you replace the camera or microphone, it can damage the camera.

If you choose to change the sensor yourself, use a temperature-adjusted hair dryer (not above 300Β°C) and a plastic mediator to separate the plume. On the Redmi Note 10 Pro, the plume is not only attached with glue, but also with latches - they are easy to break when you carelessly move.

πŸ’‘

Before replacing the sensor, check if the problem is due to damage to the motherboard (for example, after a phone fall), in which case replacing the plume will not help, and you will need to solder the contacts.

FAQ: Answers to Frequent Questions

Can I calibrate the sensor without a computer?
Yes, through an engineering menu (mode 1) or apps like Sensor Calibration from the Play Market, but you'd better use ADB to fine-tune it.
After calibration, the automatic brightness stopped working.
On the Redmi Note 10 Pro, the proximity and light sensors are combined. Reset the settings of both sensors through the engineering menu (#6484## β†’ Light Sensor β†’ Calibrate).
The sensor is working fine, but the screen doesn't go out when you call.
Check the settings in the Phone: Settings β†’ Calls β†’ Turn off the screen during a call. Also remove the cache of the Phone application.
Can I turn off the proximity sensor altogether?
Yes, but it's inconvenient: the screen will stay on while you're calling. ADB-Adb shell settings put system proximity_sensor_disabled 1 To return it, replace it. 1 on 0.
After the MIUI update, the sensor stopped working.
This is a typical problem when upgrading through OTA. Try: Reset sensor settings through the engineering menu. Reverse to the previous version of MIUI (if the sensor worked properly). Install a custom core with sensor support (for example, Perseus Kernel for the Redmi Note 10 Pro).