How to set up a proximity sensor on Xiaomi Redmi 10: a complete guide with solutions to typical problems

Xiaomi Redmi 10 is one of the most popular budget smartphones, but even it is not immune to problems with the proximity sensor. This small but important sensor is responsible for turning off the screen during phone conversations, preventing accidental tapping of the cheek or ear. If the sensor is not working correctly, you risk running into a dead screen when calling, spontaneous pressing or, conversely, a lack of response to the approach of the face.

In this article, we will learn how to configure the proximity sensor on Redmi 10 (including the Redmi 10 2022, Redmi models). 10C, Redmi 10A and other modifications on the basis of MIUI), Check its performance without special applications, as well as fix typical failures. MIUI, which the manufacturer does not advertise, but which can save the situation.

Before you start setting up, make sure that the problem is with the sensor, not the software. For example, after upgrading MIUI to version 13 or 14, many users have encountered a bug in which the screen goes out arbitrarily - this is treated by resetting the settings, not calibrating the sensor.

What is a proximity sensor and how it works in Xiaomi Redmi 10

The proximity sensor in Redmi 10 is an infrared sensor located at the top of the screen next to the front camera, and its main task is to detect when you hold your phone to your ear during a call, so that:

  • πŸ“΅ Turn off the screen and touch buttons (to avoid accidental pressing).
  • πŸ”‹ Save battery power, as the backlight of the screen is one of the main β€œeaters” of energy.
  • 🎧 Activate the speaker (if you pull the phone away from your ear, the sound automatically switches to speakerphone).

The Xiaomi Redmi 10 uses a sensor like STK3338 or similar (depending on the revision of the device), which works on the principle of radiation and receiving an IR signal: when an object (for example, your head) approaches the sensor, the reflected signal changes, and the system knows that it needs to turn off the screen.

Fun fact: In some MIUI firmware, the proximity sensor is also used in the Raise to Wake function, and if you notice that the screen turns on itself when you hold the phone in your hand, that sensor is to blame.

πŸ“Š How often do you have problems with the proximity sensor?
Never had a problem.
Sometimes the screen doesn’t go out during the call.
The screen goes off on its own for no reason.
Other problems

Signs of malfunction of the proximity sensor

Before you set up the sensor, make sure it's really not working properly. Here are the typical symptoms of a malfunction:

Problem.Possible causeDecision
The screen does not go out during the call.Sensor is contaminated, damaged or disabled in settingsCleaning, calibration, settings check
The screen goes out arbitrarily (not during the call)Failure of software, conflict with a cover or protective glassReset sensor settings, firmware update
The screen is turned on with a delay after removing the phone from the earIncorrect calibration or slow sensor responseManual calibration through the engineering menu
The sensor is activated at a distance (for example, in a pocket)Increased sensitivity or sensor damageReduced sensitivity in settings

If you see any of these symptoms, it's likely that the sensor needs to be tuned, but before you go into the engineering menu, check the physical condition of the sensor, which is often the problem with dirt trapped under the protective glass, or with a too thick case blocking the IR signal.

⚠️ Warning: If the sensor stopped working after a phone drop or moisture hit, it's likely a hardware breakdown, in which case calibration won't help - you need to replace the sensor at the service center.

How to check the operation of the proximity sensor without applications

Many users install third-party utilities like Proximity Sensor Tester or Sensor Box, but MIUI has a built-in way to check the sensor.

  1. Open the phone app and dial the combination: ##6484##
  2. You will be taken to the test menu of hardware components (MTK Engineer Mode or Qualcomm Diag, depending on the processor).
  3. Select Proximity Sensor (or Approximation Sensor).
  4. Put your hand to the top of the screen, and the value should change from 5 (no obstacle) to 0 (there is an obstacle).

If the values don't change or the sensor is showing 0 constantly, the sensor is faulty. If the values jump randomly (e.g., 5 β†’ 0 β†’ 3 β†’ 1), the sensor is contaminated or requires calibration.

πŸ’‘

If the test menu doesn’t open, try entering the code ##4636##, then go to Phone Information and select Equipment Testing.

Another way to check is to call another phone:

  • πŸ“ž Call another number (or use the speaker function).
  • πŸ‘‚ Hold the phone to your ear – the screen should go out in 1-2 seconds.
  • πŸ–οΈ Take the phone away from your ear – the screen should turn on immediately.

If the screen is unresponsive or is turned on with a delay of more than 3 seconds, the sensor requires adjustment.

Step-by-step setting up the proximity sensor in Xiaomi Redmi 10

In most cases, the problem is solved by calibrating the sensor through the hidden MIUI settings.

Remove the cover and protective glass (if any)|Clean the top of the screen from dust and dirt|Charge your phone at least 50 times%|Close all background applications-->

Method 1: Calibration through the engineering menu

  1. Open the Phone app and enter the code ##36446337## (this is universal code for MIUI based on Qualcomm; for Mediatek, use ##3644633##).
  2. Select Hardware Testing β†’ Sensor β†’ Proximity Sensor.
  3. Press Calibrate (or Calibration).
  4. Follow the instructions on the screen: usually you need to bring and withdraw your hand from the sensor 3-5 times.
  5. After calibration, restart the phone.

Method 2: Reset sensor settings via MIUI

If the engineering menu is not available, try resetting the sensor settings through standard settings:

  1. Go to Settings β†’ About Phone β†’ MIUI version.
  2. Click on the MIUI logo 7-10 times until you become a developer!
  3. Back to Settings β†’ Additionally. β†’ For developers.
  4. Find the Debugging by USB and turn it on.
  5. Connect your phone to your PC, install it. ADB Adb shell settings put global settings proximity_delay 0 (This will reset the sensor's delay).

⚠️ Note: If after calibration the sensor began to work worse (for example, the screen goes out at the slightest approach of the hand), return the settings to the factory through Settings. β†’ Resetting settings β†’ Reset all settings (without deleting data).

What to do if the proximity sensor does not work after setting up

If calibration doesn't work, the problem can go deeper.

  • πŸ› οΈ Physical damage: Check the sensor for cracks or dents. If the sensor is damaged, it will have to be replaced (the cost of replacing at the service center is from 800 to 1500 rubles).
  • πŸ“± Firmware conflict: After update MIUI beforehand 13/14 Many users have complained about sensor bugs, the solution being a rollback to the old version or waiting for a patch.
  • πŸ”„ Reset to factory settings: If the sensor worked normally but after installing apps or changing settings started to glittle, perform a full reset (Settings) β†’ The phone. β†’ Resetting settings).
  • πŸ“¦ Third-party applications: Some battery-saving utilities (such as Greenify or AccuBattery) can block the sensor.

Critical information: In Xiaomi Redmi 10 (models 2021-2022), the proximity sensor is integrated into one module with lighting. If after changing the screen, the sensor stopped working, most likely, the wizard damaged the plume or improperly connected the new display.

How to temporarily disable the proximity sensor if it interferes
If the sensor is falsely triggered (for example, in a pocket), it can be turned off via a device. ADB: Connect your phone to your PC and execute the command: adb shell settings put global proximity_sensor_enabled 0 To get it back, use: adb shell settings put global proximity_sensor_enabled 1 Warning: When the sensor is turned off, the screen will not go out during calls, which can lead to accidental pressing!

Top.-3 applications for diagnosis and adjustment of the proximity sensor

If the built-in methods didn't work, you can use third-party utilities.

AnnexFunctionsLink (Google Play)
Proximity Sensor ResetSensor reset and calibration, sensitivity testDownload
Sensor Box for AndroidFull diagnostics of all sensors, including the proximity sensorDownload
CPU-ZVerification of the sensor model and its technical parametersDownload

When using Proximity Sensor Reset, follow the on-screen instructions: You usually need to bring and move your hand away from the sensor several times, after which the application will automatically apply the new settings.

⚠️ Note: Do not install applications like Proximity Sensor Fix or Sensor Repair, which often contain malicious code or do not work on the software. MIUI. Use only proven utilities from the official store.

Frequent Questions and Answers (FAQ)

πŸ”Ή Why does the proximity sensor work in your pocket?
This is a typical problem if: Sensor sensitivity is overstated (solved by calibration); the case is too dense or has metal inserts (try removing the case); there are other items (keys, coins) in the pocket that reflect the IR signal. Solution: reduce sensitivity through the engineering menu or turn off the sensor while you carry it in your pocket (see spoiler above).
πŸ”Ή Can I replace the sensor by myself?
Technically, yes, but it's risky: The sensor is soldered to the plume of the screen, so you need to completely disassemble the phone to replace it. The cost of a new sensor is from 300 rubles, but without experience you can damage other components. After replacing it, you will need to calibrate in the service center.
πŸ”Ή Why After Updating MIUI sensor stopped working?
This is a well-known bug in the firmware MIUI 13/14. Solutions: Reverse to the previous version via Fastboot (the instructions are on the 4PDA forum). Expect a patch - usually Xiaomi fixes such bugs within 1-2 months. Reset to factory settings (Settings β†’ Reset settings).
πŸ”Ή How to check the proximity sensor on Redmi 10 without an engineering menu?
If the engineering menu codes don't work, use: Sensor Box (shows the sensor values in real time); Test call - if the screen doesn't go out when you approach the ear, the sensor is faulty; flashlight: shine on the sensor (in the dark, a faint red light should be visible - this is an IR emitter).
πŸ”Ή Does the protective glass affect the operation of the proximity sensor?
Yes, but not any: Thick glasses (more than 0.3 mm) can block the IR signal; metal-coated glasses (like "private") completely disrupt the sensor; hydrogel films usually don't interfere. Solution: use sensor-cut glass or thin films.

πŸ’‘

If the proximity sensor on Xiaomi Redmi 10 stopped working after falling or getting moisture, calibration will not help - you need to replace the sensor in the service.