The proximity sensor on Xiaomi Redmi smartphones is a useful thing that automatically turns off the screen when you hold the phone to your ear when you hold it. But what if it doesn't work correctly? For example, the screen goes out when you hold the phone in your hand, doesn't respond to gestures or interferes with games. Disabling the proximity sensor can solve these problems, but it's important to understand the consequences: without it, the screen will not lock during calls, which can lead to accidental taps.
In this article, we will look at 5 proven ways to disable the proximity sensor on the Redmi Note 10/11/12, Redmi 9/10/13C and other models โ from standard MIUI settings to using ADB and engineering menus, and find out which models allow you to do this without root rights, and where additional manipulations will be required.
If you find that the sensor is running "over and over" or not working at all, turning it off may be a temporary solution before repair, but remember that on some MIUI firmware (especially global ones), the option is hidden - you have to use workarounds.
Before you start, check if the sensor is really the problem.
Works correctly |Works too often |Responsive at all |Interfested in games/applications |Another option-->
1. Disable the proximity sensor through standard MIUI settings
The easiest way to do this is to take advantage of the built-in MIUI options. Unfortunately, it doesn't work on all firmware versions and models. For example, on the Redmi Note 11 with MIUI 14, the path may be different from the Redmi 9A with MIUI 12.5.
The instructions are relevant for most modern Xiaomi smartphones (2020-2026 release):
- Open the Settings โ Screen.
- Scroll down and find the Autoturn or Sensors section (on some firmware โ Additional).
- Slip on the Approach Sensor (or Automatic Screen Lock).
- Move the slider to the off position.
If there is no such item, try the alternative path: Settings โ Applications โ System applications โ Phone โ Approximation Sensor.
Important! On some models (e.g. Redmi 10C), the option may be hidden in Settings โ Special Features โ Physical buttons.
Make sure the problem is not with the protective film/glass.|Try calibrating the sensor (see Section 3)|Make a backup copy of the settings|Check the version. MIUI (relevant ADB)-->
2.Use of the engineering menu (codes ##)
If standard settings don't work, you can try to turn off the sensor through an engineering menu, which works on most Redmis, but it takes care that the wrong actions can disrupt the sensors.
Steps:
- Open the Phone app and enter the code ##6484## (some models run #36446337###).
- You will be taken to the MIUI Version menu โ tap on Hardware Testing (or Sensor Test).
- Find the Proximity Sensor section.
- Some versions of the menu will have a Disable button or a clean calibration option.
On Redmi Note 8 Pro and older, the engineering menu can block sensor access, in which case only ADB can help.
โ ๏ธ Warning: Do not change other options in the engineering menu unless you are sure of their purpose, GPS oracelerometer.
What to do if the engineering menu is not opened?
Calibration of the proximity sensor (if it is not working correctly)
Sometimes the sensor doesn't turn off, it just bugs -- it's delayed, it's light-reacting, for example -- calibration helps, and it takes less than a minute and doesn't require root rights.
How to calibrate:
- Enter the code in the phone application: ##6484##
- Select Proximity Sensor.
- Press Calibrate (or Do Calibration).
- Place your phone on a flat surface and wait until it is completed (usually 10-20 seconds).
If the calibration didnโt help, try a physical check:
- ๐ฆ Inspect the sensor area (usually next to the speaker) for dirt or damage.
- ๐ฑ Remove the protective glass โ sometimes it blocks the signal.
- ๐ Restart the phone and check the sensor in call mode.
Note: On Redmi with AMOLED-screens (e.g. Redmi) K50) The proximity sensor can be integrated into the display, in which case the calibration through the engineering menu may not work.
Disconnect the sensor via ADB (no root rights)
If previous methods failed, youโll need to use ADB (Android Debug Bridge), which requires a computer, but does not violate the warranty or require unlocking the bootloader.
Step-by-step:
- Download and install ADB Tools on PC.
- On your phone, turn on USB Debugging: Settings โ About Phone โ MIUI Version (tap 7 times to activate Developer Mode) โ Additional โ For Developers โ Debugging by USB.
- Connect Redmi to your computer and confirm the debugging permission.
- Open the command line (Windows) or the terminal (macOS/Linux) file ADB Enter: adb shell settings put global proximity_delay 0 This command disables the sensorโs delay, effectively making it inactive.
- Use the following: adb shell settings put global proximity_sensor_disabled 1
- Reboot the phone.
To return the sensor to operating state, execute the same command with the parameter 0 instead of 1.
โ ๏ธ Attention: On some firmware MIUI (especially Chinese teams ADB They can be reset after the system is updated, and then you have to repeat the procedure.
๐ก
If ADB doesnโt recognize the device, try installing Xiaomi USB Drivers or using the original cable from the kit.
5. Disabling the sensor through applications (requires root)
If you have a bootloader unlocked and root rights installed, you can use specialized applications, which is suitable for power users, since improper actions can lead to a system failure.
Top.-3 sensor-control applications:
| Annex | Functional | Compatibility |
|---|---|---|
| Sensor Disabler | Allows you to disable any sensors, including approximations | MIUI 12-14 requires root |
| Xposed Framework + Sensor Disabled Module | Flexible sensor settings without removal | Only for older versions of Android (up to 10) |
| Tasker | Automatically disable the sensor under conditions (e.g. in games) | Any version of MIUI, but you need plugins |
Examples of Sensor Disabler:
- Install the application from XDA Developers.
- Give root access.
- In the list of sensors, find Proximity Sensor.
- Press Disable and confirm the action.
Warning: Disabling the sensor via root may cause conflicts with MIUI system services, such as Screen Rotation or Gesture.
๐ก
Use root methods only if other methods have not worked, and improper manipulation of system files can lead to a device "brick".
6. Alternative solutions: if the sensor does not turn off
If none of these methods worked, consider alternatives:
- ๐ฑ Use headphones: When wired or Bluetooth headphones are connected, the proximity sensor is automatically ignored.
- ๐ฎ Do Not Disturb Mode: Turn it on during games - this will turn off automatic screen locking.
- ๐ Resetting: In extreme cases, reset to factory settings (Settings) โ The phone. โ Reset).
- ๐ ๏ธ Replacement of the sensor: If it is physically damaged, contact the service center. at Redmi, the cost of repair usually does not exceed 1-2 thousand rubles.
On some models (for example, the Redmi Note 12 Pro+), the proximity sensor is integrated into the infrared port, in which case, turning it off can disrupt the remote control for equipment.