How to check the proximity sensor on Xiaomi Redmi Note 8 Pro

The Xiaomi Redmi Note 8 Pro is a popular smartphone with a powerful filling, but even it is not immune to hardware failures. One of the common problems is that the proximity sensor stops working correctly. This is manifested in the fact that the screen does not go out during the call, accidentally pressed buttons with the cheek, or the sensor does not respond at all to the approach of the hand, the reasons can be different from a software failure to physical damage to the module.

In this article, we will discuss 5 working methods for checking the proximity sensor on the Redmi Note 8 Pro, from simple tests through the engineering menu to hardware diagnostics with a multimeter. You will learn how to distinguish sensor malfunction from firmware problems, and what to do if the sensor fails. All instructions are adapted specifically for the M1906G7G model (codenamed begonia) and tested on current versions of MIUI 12-14.

What is the proximity sensor and how it works in the Redmi Note 8 Pro

The proximity sensor in the Redmi Note 8 Pro is an infrared sensor located at the top of the screen next to the speaker, and its main task is to turn off the touch screen during a phone conversation when you bring the device to your ear, which prevents accidental pressing and saves battery power.

Principle of work:

  • πŸ“Ά Infrared LED emits an invisible signal.
  • πŸ”„ Photodiode picks up a signal reflected from an object (like your head.
  • πŸ“± The controller analyzes the data and sends a command to turn off the screen.

The Redmi Note 8 Pro uses the STK3311 sensor (or similar APDS-9960 in some revisions), which is regulated by firmware, but may decrease over time due to glass contamination, plume damage, or chip failure.

πŸ’‘

If the sensor stopped working after the smartphone fell, first check the integrity of the glass above the sensor – cracks or chips can block the infrared signal.

Signs of malfunction of the proximity sensor

How do you know if the sensor is the problem, not the firmware or the screen?

Symptoms.Probable causeCan I correct myself?
The screen does not go out during the call.Sensor not detects approximation, failure in MIUIYes (reset, calibration, reset)
The screen goes out too early (before being lifted to the ear)Sensor pollution, high sensitivityYes (cleaning, setting the threshold)
Sensor works once in a while.Poor plume contact, chip damagePartially (reconnecting the plume)
The screen flashes during the callConflict with shell or third-party softwareYes (Returning Updates, Removing Apps)

If symptoms only appear in certain apps (like WhatsApp or Telegram), the problem is likely in the messaging settings, not the hardware. Try turning off the "Screen is always on" feature in the call settings.

⚠️ Note: On the Redmi Note 8 Pro with custom firmware (for example, Pixel Experience or LineageOS), the proximity sensor may not work properly due to the lack of drivers. MIUI sensor-enabled core.

Method 1: Check through the engineering menu (code ##6484##)

The fastest way to diagnose is to use a hidden engineering menu, which is available on all Xiaomi smartphones without root rights.

Instructions:

  1. Open the Phone app.
  2. Enter the combination: ##6484### (some firmware may require ##64663###).
  3. Select Proximity Sensor (Proximity Sensor).
  4. Cover the top of the screen with your hand – the value should change from 5.00 cm to 0.00 cm.

If the values do not change or if the Sensor not available error is displayed, this indicates:

  • πŸ”§ Hardware malfunction of the sensor or plume.
  • πŸ“± Software failure (solved by resetting or flashing).
  • πŸ› οΈ Sensor pollution (dust, fat, protective film).

Make sure there is no protective film on the screen |Close all background apps |Check battery power (minimum 20%)|Use a clean hand without gloves-->

Method 2: Application Testing (CPU-Z)

If the engineering menu is not available or does not show data, use third-party utilities, which visualize the operation of the sensor and help identify problems.

Top.-3 diagnostics:

  • πŸ“Š Sensor Test (by Innovative Apps) – shows a real-time graph of sensor response.
  • πŸ” CPU-Z β€” Sensors displays the status of all sensors, including proximity.
  • πŸ› οΈ Phone Doctor Plus – conducts a comprehensive test of hardware components.

How to check:

  1. Install one of the applications (e.g., Sensor Test).
  2. Run the proximity sensor test.
  3. Cover the top of the smartphone with your hand – the graph should show a sharp drop in value to 0.
  4. Remove your hand – the value should return to 5 (maximum distance).

⚠️ Note: Redmi Note 8 Pro with MIUI 13+ Some sensor testing applications may not show data due to security limitations. ADB (see method 4).

πŸ“Š How often do you check your smartphone sensors?
Only when there's a malfunction.
Six months
Never.
I don't know how to do that.

Method 3: Calibration of the sensor through hidden MIUI settings

Sometimes the proximity sensor doesn't work properly because of a miscalibration setting, and MIUI has a hidden partition for manual sensitivity adjustment.

How to open the calibration menu:

  1. Go to Settings. β†’ The phone.
  2. Press 5-7 times on the MIUI version until the message β€œYou are a developer” appears.
  3. Return to the main settings menu and open Additional settings β†’ For developers.
  4. Activate the option to Enable debugging via USB.
  5. Go back and find the Calibration of the proximity sensor (could be called Proximity Sensor Calibration).
  6. Follow the instructions on the screen – usually cover the sensor with your hand and wait for the process to complete.

If there is no calibration point, try an alternative method:

adb shell settings put global proximity_delay 1000

This command increases the sensor delay to 1 second (in milliseconds). After entering, restart the smartphone.

What if calibration doesn’t help?
If the sensor still doesn’t work after calibration, check: 1. Integrity of the plume – when falling, it can move away from the motherboard. 2. MIUI updates – some versions of the firmware have sensor bugs (for example, MIUI 12.0.3 for begonia). 3. Resetting to factory settings – removes possible conflicts with user settings.

Method 4: Checking through ADB (for advanced users)

If standard methods fail, you can test the sensor using Android Debug Bridge (ADB), which requires connecting the smartphone to a PC, but gives the most accurate data.

Step-by-step:

  1. Download and install ADB Tools on your computer.
  2. Enable USB debugging on your smartphone (see Method 3).
  3. Connect the Redmi Note 8 Pro to the PC USB-cable.
  4. Open the command line (Windows) or terminal (macOS/Linux) and type:
adb devices

Make sure the device is identified. Then type in:

adb shell dumpsys sensorservice

In the conclusion, look for the Proximity Sensor block.

  • handle - Sensor ID (should not be 0).
  • enabled - true status (if false, the sensor is disabled by the system).
  • Values - current readings (should change when the sensor is covered).

If the output is missing the proximity block or the value is always 5.0, this confirms the malfunction.

πŸ’‘

ADB-verification is the most reliable method of diagnosis, since the data is read directly from the sensor controller, bypassing the shell. MIUI.

Method 5: Hardware inspection (multimeter and disassembly)

If the software didn't detect any problems, but the sensor didn't work, then the hardware diagnostics would be left, and that would require disassembling the smartphone and checking the sensor's power circuits.

Tools required:

  • πŸ”§ Set of screwdrivers (cross, flat, suction cup for the screen).
  • πŸ“Ÿ Multimeter (Diode or Resistance Checking Mode).
  • 🧴 Alcohol and cotton swabs to clean contacts.

Procedure:

  1. Turn off your smartphone and remove it. SIM-map.
  2. Carefully put the back cover (it is held on the latches).
  3. Unscrew the screws holding the metal plate above the screen plume.
  4. Disconnect the proximity sensor plume (located next to the front camera).
  5. Call the contacts of the plume multimeter: the resistance between the VCC and GND should be ~1.8-2.0 kOhm. VCC voltage with the phone on is ~2.8 V.

Clean the contacts of the plume with alcohol and connect back.

⚠️ Note: On the Redmi Note 8 Pro, the proximity sensor plume is often combined with the front camera plume. When disassembling, do not pull the wires - they are fragile and can break! If the sensor does not work after cleaning the contacts, you will need to replace the module (cost) ~500–800 β‚½).

Where to buy parts for Redmi Note 8 Pro?
Original Proximation Sensors (Article: XIAOMI 1906G7G Proximity Sensor can be found: - AliExpress (search by model code). - Xiaomi service centers (part warranty 6 months). - Radio parts stores (for example, Chip and Deep). The cost of the new sensor: 300-1000 β‚½ depending on the supplier.

What to do if the proximity sensor is not working

If the diagnosis confirmed the malfunction, here is the algorithm of actions:

Reason.DecisionCost/time
Sensor contaminationCleaning with alcohol, replacing protective glassFree / 10 minutes
MIUI failureResetting settings, flashing through FastbootFree / 30-60 min
Damage to the plumeReconnecting or replacing the plume200–500 β‚½ / 20 minutes
Sensor failureReplacement of the proximity module500–1500 β‚½ / 40 minutes
The motherboard problemDiagnostics at the service center1000–3000 β‚½ / 1-2 days

If you're not sure about your soldering skills, you should contact the service. On the Redmi Note 8 Pro, the solder sensor approaches the tail of the front camera, and its replacement requires accuracy - if the plume is damaged, you will have to change the entire module (cost). ~2500 β‚½).

Provisional solution (before repair):

  • πŸ“± Turn off the "Screen is always on" function in the call settings.
  • πŸ”• Use a headset or speakerphone.
  • πŸ› οΈ Install Proximity Sensor Fix (not working on all firmware).

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

Can I turn off the proximity sensor if it interferes?
Yes, but it's not recommended -- the screen will remain active during calls, which will lead to accidental taps. To turn off: Activate Developer Mode (see Method 3). Go to Developer Mode β†’ Disable Sensors. Select Proximity Sensor. Some firmware may not have this option, so only root or modified software will help.
Why does the sensor only work in some applications?
This is because apps like WhatsApp or Viber can use their own sensor processing algorithms: Try: Clear the app cache; disable "Screen is always on" in the messenger settings; update the app to the latest version.
Can the protective glass interfere with the sensor?
Yes, if the glass is too thick or has a metallized layer. The optimal thickness for the Redmi Note 8 Pro is up to 0.2 mm. Also make sure that there are no bubbles or detachments in the sensor area. If necessary, replace the glass with a model with a cutout for sensors.
How to check the sensor without disassembling the phone?
Use a combination of Method 1 (engineering menu) and Method 2 (testing applications). If both methods show that the sensor is not responding, it is likely a hardware problem. Also try bringing an infrared remote to the top of the screen and pressing any button β€” if the sensor is working, it will respond to an IR signal.
How much does it cost to repair a sensor in a service center?
Cost depends on the cause: Cleaning/calibration – 300–500 β‚½. Replacement of the plume - 800-1500 β‚½. Replacement of sensor + plume - 1500-2500 β‚½. Repair of the motherboard - from 2000 β‚½. Xiaomi's official services cost more, but offer a 6-month warranty, and in informal workshops, repairs are cheaper, but the risk of using non-original parts is higher.