The proximity sensor in the Xiaomi Redmi Note 9 Pro is a small but critical element that is responsible for turning off the screen during a phone conversation. When you hold the phone to your ear, the sensor detects the obstacle and extinguishes the display, preventing accidental pressing and saving battery power. However, over time or after software updates, this module can begin to fail: the screen does not go out when you call, accidentally turns off in your pocket or reacts with a delay. In 80% of cases, the problem can be solved independently without visiting the service center.
If you notice that the sensor is not behaving correctly, donβt be quick to blame the hardware. Most often, software settings, glass contamination over the sensor or improper calibration. In this article, we will discuss all the ways to adjust the proximity sensor on the Redmi Note 9 Pro, including hidden engineering menus, test codes and manual sensitivity adjustments. You will learn how to return the phone to normal operation in 10-15 minutes, even if you have previously had no experience in repairing equipment.
βββ
Signs of malfunction of the proximity sensor
Before you start setting up, it is important to make sure that the problem is really related to the sensor, and not to the other components of the smartphone.
- π΅ The screen does not go out during the call, which is why you accidentally press the buttons with your cheek or ear.
- π The display spontaneously turns off in your pocket or when you hold the phone in your hand (false positives).
- β³ Reaction delay: screen goes out 2-3 seconds after being applied to the ear.
- π¦ Keylighting or notification indicator does not turn off during a conversation.
- π± Apps (like Truecaller or WhatsApp) complain about lack of sensor access.
If you know any of these signs, it's likely that the sensor needs calibration, but there are exceptions, such as the Redmi Note 9 Pro with MIUI 13+ firmware, which sometimes has false positives due to optimizing power consumption, in which case it helps to turn off the Adaptive Brightness function in the screen settings.
Also, check if the phone has a protective film or a case with high sides, which can block the infrared signal of the sensor, try to remove the accessories and test the sensor again.
Where is the proximity sensor on the Redmi Note 9 Pro
On the Xiaomi Redmi Note 9 Pro, the proximity sensor is located at the top of the screen, to the right of the speaker. This is a small circular hole (~2 mm in diameter) behind which an infrared sensor hides. To see it, shine a flashlight on the top of the display, the sensor will be slightly different in texture from the rest of the glass.
Important: Don't confuse it with a front camera (centered) or a light sensor (may be left of the speaker), the proximity sensor is always on the right and looks like a small dark spot.
| Component | Location. | Function |
|---|---|---|
| Approximation sensor | Right of the speaker | Turns off the screen when you bring the phone to your ear |
| Light sensor. | Left of the speaker | Adjusts the brightness of the screen |
| Front camera. | Centered to the upper frame | Selfies and video calls |
| Conversation dynamics | Top grid. | The sound output during the call |
If you plan to clean the sensor, do so carefully: do not use alcohol-containing liquids (they can damage the oleophobic coating of the screen) and avoid rough materials (cotton sticks, toothpicks).
π‘
Before cleaning the sensor, turn off the phone and let it cool down β this will prevent condensation from forming inside the case.
Check the operation of the sensor through the engineering menu
To diagnose the problem accurately, use the hidden engineering menu, which allows you to test the sensor in real time and see its current performance.
- Open the Phone app.
- Enter the combination: ##6484### (or #4636## for the alternative menu).
- Select Proximity Sensor (Proximity Sensor).
- The screen will show a graph with the numbers 0 (no obstacle) and 1 (there is an obstacle).
Now, run the test:
- π± Hold your hand to the top of the screen (where the sensor is located) β the value should change from 0 to 1.
- ποΈ Remove your hand β the value should go back to 0.
- β±οΈ Repeat the action 3-5 times, observing the reaction rate.
If the numbers don't change or react with a delay, the sensor needs calibration, but if the values jump randomly between 0 and 1 without your intervention, the problem may be in the hardware (for example, the plume has gone away or the sensor is contaminated inside).
β οΈ Note: Not all firmware MIUI Support code ##6484##. If it doesn't work, try an alternative method: install the Sensor Test app from Google Play and check the sensor through it.
Calibration of the proximity sensor without root rights
If the test shows that the sensor is unstable, try software calibration first. On the Redmi Note 9 Pro, you can do this without superuser rights (root) through standard settings or engineering menus.
Method 1: Through the Engineering Menu
Follow the instructions:
- Open the engineering menu with the code ##6484##.
- Select Proximity Sensor.
- Press the Calibrate button.
- Place your phone on a flat surface and wait until the process is complete (usually 10-20 seconds).
- Reset the device.
Method 2: Through the MIUI settings
Some versions of MIUI allow you to reset the sensor settings via the menu:
- Go to Settings β About Phone β MIUI version.
- Click on the MIUI logo 7-10 times until the notification βYou became a developerβ appears.
- Return to the main settings menu and open Additional β for developers.
- Find the Debugging Sensors item and turn it on.
- Reboot the phone.
If the sensor still doesnβt work properly after calibration, try resetting the network settings (this sometimes helps in firmware conflicts):
β SIM-maps and mobile networks β Network resetCharge your phone at least 50 times%|Remove the cover and film|Close background annexes|Check the operation of the sensor after restarting-->
Manual sensitivity setting of the sensor
On the Redmi Note 9 Pro with custom firmware (such as Pixel Experience or LineageOS) or root rights, you can manually change the sensorβs trigger threshold, which is useful if the sensor is too sensitive (reacts to the pocket) or, conversely, responds poorly to the approach.
For this:
- Install Sensor Settings from Google Play (requires root).
- Open the Proximity Sensor section.
- Find Near Threshold (offset threshold) and Far Threshold (offset threshold).
- By default, the values are usually 0-5 cm. Try to increase Near Threshold to 7-10 if the sensor does not respond, or reduce to 2-3 if it works too often.
- Save the settings and restart the phone.
Important: Do not set values below 1 or above 15 - this can lead to complete sensor failure.The optimal range for the Redmi Note 9 Pro is 3-10 cm.
β οΈ Warning: Changing the sensor settings on unofficial firmware can lead to conflicts with system services. If after setting up the phone begins to overheat or discharge quickly, return the standard values and reset the settings.
What if there are no root rights?
Hardware causes of malfunction and their elimination
If software methods fail, the problem may be physical damage to the sensor or its contacts, and here are the most common hardware causes and ways to fix them:
- π§ Even if the phone is not sinking, condensation from a sudden change in temperature (for example, after a bath or rain) can cause contact corrosion. Solution: Put the device in a bag of silica gel for 24 hours.
- π The plume that's gone, and when you fall or break up your phone, the sensor plume can move away from the motherboard, so you can take the phone apart (or check the service) and check the density of the connection.
- π§Ή Sensor pollution: Dust, sweat, or film glue residue can block the infrared signal. Solution: gently clean the sensor with a soft brush (no alcohol!).
- π If the sensor doesn't respond at all, its controller may have failed.
For self-diagnosis of hardware problems:
- Turn off the phone and remove the back cover (if it is removable).
- Check if the plume running from the top of the screen to the motherboard is moving away.
- Examine the contacts of the sensor for oxidation (green or white coating).
- If you see damage, clean the contacts with a wipe or an alcohol wipe (only for experienced users!).
On the Redmi Note 9 Pro, the proximity sensor is integrated into the display module, so its replacement requires a complete disassembly of the phone and the cost of repair in the service can reach 3-5 thousand rubles. If you are not sure of your skills, it is better to contact specialists.
π‘
Before disassembling the phone, be sure to turn off the battery (or wait for it to completely discharge) - this will prevent short circuit.
Frequent errors in sensor adjustment and how to avoid them
Many users make the same mistakes when trying to set up the proximity sensor, which only makes the problem worse.
- π¨ Use sharp objects to clean the sensor. Toothpicks or needles can scratch the sensor or damage the plume. Use only soft materials.
- π₯ Heat the phone to dry. A hair dryer or battery can warp the screen or melt the internal components. Dry the phone at room temperature.
- π² Install unofficial firmware without backup. MIUI They have sensor bugs. Always back up through Settings. β Additionally. β Backup.
- β‘ Reset the settings to the factory without checking. If the problem is firmware, reset won't help, but it will delete all your data. Try other methods first.
Also avoid:
- π§² Using magnets to βcalibrateβ a sensor is a myth, the magnetic field does not affect the infrared sensor.
- π Discharge phone to zero before setting up β this can cause the file system to crash.
- π οΈ Independent replacement of the sensor without experience - on the Redmi Note 9 Pro, it is soldered to the display module, and careless actions will lead to damage to the screen.
If you doubt your actions, it is better to contact the authorized service center Xiaomi. the cost of diagnosis usually does not exceed 500-1000 rubles, but you will receive a warranty for repair.