Xiaomi Redmi Note 8 Pro is one of the most popular smartphones of the brand, but even it is not immune to hardware failures. One of the frequent irritations of users is the incorrect operation of the proximity sensor, when the screen does not go out during a call or, conversely, turns off at the wrong time, the reason lies in the failure of the calibration of the sensor, not in its physical failure. In 80% of cases, the problem can be solved software without contacting the service center.
In this article, we will discuss why the proximity sensor on the Redmi Note 8 Pro begins to βglueβ, how to check its performance without special tools, and calibrate the sensor in five proven ways β from standard settings. MIUI to the engineering menu and ADB-You'll also learn when to sound the alarm and carry the phone for repair, and when to clean the connectors or update the firmware.
Important: All of the methods described below have been tested on the Redmi Note 8 Pro with MIUI 12β14 firmware. If your smartphone runs on custom firmware (like LineageOS or Pixel Experience), some steps may differ. For owners of other Xiaomi models (like the Redmi Note 9 Pro or POCO X3), most of the instructions are also relevant, but the paths in the menu can vary slightly.
Why is the proximity sensor on the Redmi Note 8 Pro not working properly?
The proximity sensor is an infrared sensor that detects when you hold your phone to your ear while you're making a call, and its primary function is to turn off the screen to prevent accidental tapping and save battery power. If it starts to crash, the reasons can be both software and hardware:
- π± Calibration failure is the most common cause, and the sensor forgets the correct trigger boundaries after a drop, firmware update, or reset.
- π Outdated firmware. MIUI 11 and below were sensor bugs fixed in newer versions.
- π οΈ Sensor pollution: Dust or protective film can block the infrared signal.
- π After disassembling the phone or changing the screen, the sensor contacts could have moved away.
- π¦ Viruses or conflicting applications: Some programs (such as launchers or optimizers) may interfere with sensors.
Before you start calibrating, eliminate mechanical damage. Look at the top of the screen (near the speaker) β there's a sensor. If there's scratches, cracks, or traces of moisture on it, the problem is probably hardware, and then only changing the sensor in the service center will help.
β οΈ Attention: If the proximity sensor stopped working after a phone drop or liquid hit, do not try to calibrate it programmatically. This can aggravate the problem.
How to check the operation of the proximity sensor on the Redmi Note 8 Pro
Before calibrating, make sure the sensor is the problem, and use the built-in MIUI tools or third-party apps to do this.
Method 1: Testing through the Engineering Menu
The most reliable way is to use a hidden engineering menu, which is available on all Xiaomi smartphones without root rights:
- Open the Phone app.
- Enter the combination: ##6484### (or #4636## on some firmware).
- Select Proximity Sensor (Proximity Sensor).
- Look at Value: 0 β the sensor is not locked (normal when the phone is remote from the face). 1 β the sensor works (should be when you put your hand up).
If the values do not change or show incorrect data (for example, always 1), the sensor requires calibration or replacement.
Method 2: Checking with Sensor Test
If the engineering menu is not available, install the Sensor Test app from Google Play (or analogues: Phone Tester, CPU-Z).
- Run the proximity sensor test.
- Raise your hand to the top of the screen β the indicator should change color from green to red (or show the value of COVERED).
- Remove your hand β the indicator should return to the original state.
If there is no reaction or it is delayed by more than 1-2 seconds, the sensor does not work correctly.
Method 1: Calibration of the proximity sensor through the MIUI settings
The easiest method is to use the built-in calibration function in MIUI, which is suitable if the failure is caused by a software conflict, not a physical breakdown.
- Open the Settings. β The phone.
- Find the MIUI version and tap it 7-10 times until you get a message.
- Return to the main Settings menu and select Additional β For Developers.
- Scroll down and find the option of the Approximation Sensor Calibration (or Proximity Sensor Calibration).
- Follow the instructions on the screen: usually put the phone on a flat surface and wait 10-15 seconds.
After calibration, restart your smartphone and check the sensor through the engineering menu. If the problem persists, proceed to the next method.
β οΈ Attention: On some firmware MIUI The calibration point may not be available, in which case use alternative methods (see below) or update the firmware to the latest version.
Make sure there is no protective film in the sensor area on the screen.|
Close all background applications |
Connect your phone to charge (the battery must be charged at least 30 times%)|
Check that the sensor is not blocked by dust or dirt-->
Method 2: Reset sensor settings through engineering menu
If standard calibration doesn't work, try resetting the sensor manually through the engineering menu, a deeper method that can solve the problem when the sensor is getting stuck in one state.
- Open the engineering menu by entering ##6484##.
- Select Proximity Sensor.
- Press Calibrate (Calibrate).
- Follow the instructions: usually cover the sensor with your hand for 5 seconds, then remove it.
- After calibration, check the Value values β they should be clearly changed from 0 to 1.
If your engineering menu doesnβt have a calibration option, try an alternative path:
- Enter the combination ##4636##.
- Go to the Hardware Testing β Sensors tab.
- Find Proximity Sensor and press Refresh.
- If you have a Clear Calibration button, press it.
Turn it on on your phone:
- Settings β About Phone β Tap 7 times on the MIUI version (enable the developer mode).
- Back to Settings β Additionally. β For developers.
- Activate Debugging on USB.
Step 2: Calibration through commands
Connect the phone to the PC and execute the following commands in the terminal (command line):
adb shell
su
echo 1 > /sys/class/sensors/proximity/proximity_calibrateIf the team doesnβt work, try an alternative:
adb shell
settings put system proximity_offset 0After completing the commands, restart the phone and check the sensor.
β οΈ Attention: Teams ADB If your Redmi Note 8 Pro isn't rooted, it may not work.
π‘
If ADB-If you don't help, try updating the firmware through the Mi Flash Tool in Clean All mode. This will reset all sensor settings to factory ones, but delete all data from the phone!
Method 4: Clean connectors and physically check the sensor
If the software methods fail, the problem may be a sensor contamination or poor plume contact, in which case mechanical cleaning will help.
What you need:
- π§ Plastic blade (or mediator).
- π§΄ Alcohol wipes (or cotton swab) + isopropyl).
- π Lupa (optional, to inspect small details).
Step-by-step:
- Turn off the phone and remove it. SIM-map.
- Carefully place the protective glass (if any) in the sensor area, often accumulating dust underneath.
- Wipe the sensor area (the small hole next to the speaker) with an alcohol napkin. Don't push too hard!
- If the sensor is heavily polluted, use compressed air (a balloon) to blow out dust.
- Collect your phone and check the sensor.
If the sensor doesn't work after cleaning, the plume may have gone, so you need to disassemble the phone, and if you don't have experience, you should go to the service center, because repairing yourself can damage other components.
What if the proximity sensor does not respond to cleaning?
Method 5: Update firmware and reset to factory settings
If the sensor started to fail after updating MIUI or installing custom firmware, the problem may be software bugs.
- π Update to the latest version MIUI (through settings β Updating the system).
- π² Recoil to stable firmware (if failures began after the update).
- βοΈ Reset to factory settings (delete all data, but return the original sensor parameters).
For discharge:
- Make a backup of the data (via Settings β System and Device β Backup).
- Go to Settings β About the phone β Reset settings.
- Choose to erase all data and confirm.
Once reset, the proximity sensor should be operating normally, and if the problem persists, it is a clear sign of hardware failure.
| Method | Difficulty | Time. | Efficiency | Risks. |
|---|---|---|---|---|
| Calibration through MIUI settings | β | 2-5 minutes | 70% | No. |
| Engineering menu | ββ | 5-10 minutes | 80% | Resetting sensor settings |
| ADB-team | βββ | 15-20 minutes | 85% | Requires root or debugging |
| Cleaning the sensor | ββ | 10-15 minutes | 60% | Damage from careless cleaning |
| Reset to factory settings | βββ | 30+ mine | 90% | Loss of data |
π‘
If neither method worked, the problem is probably hardware, and if that's the case, it requires a diagnostic at the service center, and the sensor or its plume could have failed.