How to set up and calibrate the proximity sensor on Xiaomi Redmi Note 10 Pro

The proximity sensor problem on Xiaomi smartphones is one of the most common scenarios that users face after buying or upgrading the system. Owners of the Xiaomi Redmi Note 10 Pro model often complain that the screen goes out during a conversation, does not light up when you lift it to the ear or, conversely, constantly burns in your pocket, making random calls, this is due to the peculiarities of hardware implementation and MIUI software algorithms that require fine-tuning.

Unlike many competitors, this model uses a virtual sensor based on an accelerometer, which makes it extremely sensitive to software failures and physical impacts, such as protective films or covers. It is critical to understand that in 90% of cases the problem is solved by software calibration through an engineering menu, rather than requiring replacement of parts.

In this guide, we will look at all the diagnostic and tuning methods available, from simple actions in a standard interface to deep calibration through hidden service codes. You don't need to be an experienced engineer to do these actions, follow the instructions carefully enough. We will also look at cases where software methods are powerless and require physical intervention.

Diagnosis and main causes of malfunctions

Before you start to make complex manipulations in the engineering menu, you need to exclude trivial physical reasons. Often users do not even suspect that the protective glass or a dense case overlap the area of operation of the sensor. In the Redmi Note 10 Pro model, the sensor is located at the top of the screen, next to the speaker, and does not have a separate visible window, making it vulnerable to contamination.

If you use a protective film, make sure it doesn't have any blackouts or thick glue in the top center of the display. Even a microscopic crack in that spot can distort the accelerometer readings, which emulates the approximation work. Dirt, greasy spots, or glue residue can also block the sensor from working, giving the illusion that the phone is near the ear.

⚠️ Warning: Before starting any settings, be sure to wipe the top of the screen with a microfiber and remove the case.If the problem disappears after removing the accessories, no further software adjustment is required.

Another common cause is third-party conflict. Some programs that request sensor access (such as voice recorders, pedometers or launchers) can intercept the sensor's control. Check if you've recently installed dubious software from unverified sources. It's also worth remembering whether the phone fell recently - a mechanical impact could damage the plume or the module itself inside the case.

πŸ“Š Have you encountered a screen dim during a conversation?
Yeah, all the time.
Sometimes.
No, it's working perfectly.
I did, but I solved the problem.

Standard check through CIT's engineering menu

The most reliable way to test hardware components on Xiaomi devices is to use the built-in CIT (Customer Information Test) test menu, which is available on all devices of the brand and allows you to isolate software failures from physical damage.

Open the standard Phone app and enter the universal code ##6484#. If the code is entered correctly, the screen will instantly change and you will see a list of all available tests. Find the "Proximity sensor" or "Approximation Sensor" item in the list. Click on it to start testing. The system will show the current state: closed (1) or open (0).

When you test, close the top of the screen and remove it. Digital readings should change from 1 to 0 and back. If the values stick or change randomly without touching, this indicates a calibration failure. In the same menu, a Calibration button is often available, which you can press to automatically reset the parameters. However, manual calibration using code ##64663# (or similar to your version of MIUI) gives a more accurate result.

  • πŸ“± Make sure the battery is at least 20% charged so that the phone doesn’t turn off during the testing process.
  • πŸ“± Close all background applications before launch CIT, Avoiding resource conflicts.
  • πŸ“± If you're on the menu CIT not open, check for system updates in settings.
What if the code doesn't work?
In some regions or on global firmware, codes can be changed by the carrier. Try downloading the CIT app from GetApps or using an alternative code ##4636##, although it is less informative for sensors.

Manual calibration of the sensor: step-by-step instructions

If the standard test showed deviations, you need to perform manual calibration, which requires carefulness, because you will be required to perform certain actions with the device in strict sequence, and an error at any stage can lead to the calibration not remaining, and the procedure will have to be repeated.

First, open the engineering calibration menu. Depending on the version of the MIUI shell on your Redmi Note 10 Pro, the path may vary slightly, but the basic algorithm is the same. Once you input the code and select the sensor calibration point, an instruction will appear on the screen. Usually, she asks you to close the sensor with your finger and press the confirmation button, and then remove your finger and press the button again.

Sequence of action:


1 Enter the code ##64663## (or select from CIT).




2. Press "Start" or "Start."




3. Close the top of the screen with your palm (without touching the display much).




4. Press "Pass" or "OK."




5. Remove your hand and press OK again.




6. Wait for the message "Success."

It's important to do things quickly, but without fuss. The system reads the readings at a particular time. If you hold your hand too long or remove it too quickly, the algorithm may not have time to fix the boundary values. Once you're done successfully, be sure to restart the device so that the new parameters apply to the system.

β˜‘οΈ Checklist of successful calibration

Done: 0 / 4

Resetting settings and software solutions

In situations where calibration doesn't work, consider software resetting sensors, not completely resetting the phone to factory settings, but cleaning the cache and data from the system services responsible for the sensors. Often, errors accumulate in the system that interfere with the correct processing of signals.

Go to Settings β†’ Applications β†’ All Apps. In the upper right corner, click on three dots and select β€œShow System Processes.” Find the sensor-related app (may be called Sensors, Proximity, or have a system name like com.xiaomi.sensor) in the list and select β€œClean” β†’ β€œClean All.”

⚠️ Warning: Don't confuse sensing data cleanup with a full phone reset (Wipe Data).Sensor system application data cleanup is secure and won't delete your personal files, contacts or photos.

It’s also worth checking for operating system updates. Xiaomi engineers regularly release patches that fix the virtual proximity sensor. Go to Settings β†’ About the phone and click on the MIUI version. If an update is available, install it. Sometimes the problem lies in a specific Android version bug that has already been fixed by the developers.

  • πŸ”„ After cleaning these services, be sure to perform a full reboot of the device.
  • πŸ”„ If you use custom design theme, try to switch to standard – some themes conflict with drivers.
  • πŸ”„ Turn off the Smart Response function or voice control, they can block the sensor.

πŸ’‘

Useful tip: If you use speakerphone or headset frequently, you can temporarily turn off the proximity sensor in call settings so that the screen doesn't go out at all. This is a temporary solution, but it helps in emergency situations.

Table of codes and parameters for different versions of MIUI

The interface and available commands may vary depending on the version of the firmware installed (Global, China, EU). Below is a table that will help you navigate the basic commands and parameters relevant to the Redmi Note 10 line. Using the right codes will save you time.

MIUI versionCIT login codeCalibration codeFeatures
MIUI 12 / 12.5##6484##Through the CIT menuStandard interface, high compatibility
MIUI 13 Global##6484####64663##Improved algorithm for noise filtering
MIUI 14##6484##Automatically.Often requires resetting through ADB in case of errors.
Chinese version##6484##Extended menuMore test parameters, there is calibration of the accelerometer separately

Note that on some global firmware, direct calibration codes may be blocked by the operator, in which case the only option is to use the CIT menu or install third-party calibration applications that emulate system requests.

When repairs are needed: hardware problems

If neither software method worked, and in the CIT menu, the sensor shows a constant unit (closed) even without touching, or zero (open) when closed with your hand, a hardware malfunction is likely. In the Xiaomi Redmi Note 10 Pro, the proximity sensor is integrated into the display plume or located on a separate board under the screen, which complicates diagnosis.

Moisture is a common cause of failure, and even if the phone hasn't fallen into the water, high humidity or condensation can oxidize the sensor contacts, and only professional ultrasound cleaning and module replacement will help. It's also worth checking if the screen has unstuck after falling - the display's retreat from the body changes the distance to the sensor, and it stops seeing objects.

⚠️ Warning: Don't try to disassemble the phone yourself unless you have experience.The Redmi Note 10 Pro screen is glued around the perimeter and a careless autopsy is guaranteed to damage it.

In service centers, they use oscilloscopes to check the sensor signal, and if the module is faulty, it is changed along with the display or a separate plume, depending on the design of the particular circuit board revision, and the cost of repairing it varies, but is often comparable to the cost of replacing the glass, because the sensor is underneath.

πŸ’‘

If after complete flashing and calibration the sensor does not work, it is a physical breakdown that requires replacing the hardware component.

Conclusion and prevention

Setting up the proximity sensor on the Xiaomi Redmi Note 10 Pro is a problem that is solved in most cases by software methods. Regular calibration and keeping the top of the screen clean will avoid blocking problems during calls. Remember that virtual sensors are sensitive to software failures, so timely system updates are the best prevention.

Use high-quality safety glass with speaker cutouts and don’t neglect checking through the CIT menu at the first sign of malfunction, which will help identify the problem early, before it becomes critical for comfortable use of the smartphone.

Why does the screen go out when I just hold my phone in my hand?
This happens if the calibration is knocked down and the trigger threshold is too low, the sensor thinks the phone is near the ear, because the fingers are close to the top frame, and recalibration is required.
Can the proximity sensor be completely turned off?
Normal MIUI means -- no. You can use third-party apps from the Play Market that emulate the sensor or you can keep the screen on, but that increases battery consumption.
Does the sensor have an effect on the magnetic field?
Yes, strong magnets (for example, in bookcases or car holders) can operate the magnetometer and accelerometer, which are involved in the operation of the virtual proximity sensor.
Is the calibration reset after the firmware update?
Usually not, the settings are saved in a separate partition of memory, but after a major update (for example, from MIUI 12 to 13), it is recommended to recalibrate, as the algorithms of operation may change.