The proximity sensor in Xiaomi smartphones is responsible for automatically turning off the screen during phone calls when you hold the device to your ear. However, sometimes this sensor does not work correctly: the screen does not go out when you call, accidentally press buttons or, conversely, the sensor is blocked for no reason, in such cases, users are looking for a way to turn off the proximity sensor completely or temporarily.
In this article, we will analyze all the current methods of deactivation of the sensor on Xiaomi, Redmi and other devices. POCO steerable MIUI different versions including MIUI 14 Android-based 13/14). You will learn how to do this through standard settings, engineering menus or third-party applications, as well as what consequences a shutdown can entail and how to avoid them. AMOLED-screens where the sensor is often integrated into the display.
Why you might need to shut down the proximity sensor
At first glance, the proximity sensor seems like a useful feature, but in practice it is often uncomfortable. Here are the most common reasons why Xiaomi users want to deactivate it:
- ๐ False positives during calls: The screen goes off when you just hold the phone in your hand, or doesnโt go out when you hold it to your ear.
- ๐ง Case problems: thick or magnetic cases can block the sensor signal, causing the sensor to stop working.
- ๐ฎ Games and applications: In some games (e.g., with tilt control), the sensor interferes by accidentally turning off the screen.
- ๐ Sensor malfunction: After falling or getting moisture, the sensor may work unstablely.
- ๐ Charge savings: On some models, the sensor consumes excess energy (although the effect is minimal).
It's important to understand that turning off the proximity sensor completely deprives you of automation when you make calls, for example, the screen will not go out when you talk, which can lead to accidental cheek pressing. AMOLED-displays (for example, Xiaomi 13 Pro or Redmi) K60) The sensor is often embedded in the screen, and turning it off can affect the performance of other sensors.
Method 1: Disconnect via MIUI settings (without root)
The easiest and safest method is to use the built-in MIUI settings.It is suitable for most Xiaomi, Redmi and POCO models on MIUI 12-14 firmware versions.
To disable the proximity sensor:
- Open the Settings app (cog icon).
- Go to the System Applications section โ Phone.
- Select Incoming Calls (or Call Settings on some models).
- Find the option of the Approach Sensor (may be called Automatic Screen Lock).
- Move the slider to the off position.
If you donโt have this item on your menu, try an alternative route:
Settings โ Special features โ Physical buttons โ Approximation sensorCheck the version of MIUI in the settings (section "About the phone")
Battery charge not lower than 30% (in case of failure)
Make a backup copy of important data
Make sure there are no important calls on the phone (the screen will not go out after turning off)-->
Note: Some models (e.g. POCO F5 or Redmi Note 12) have the option hidden, in which case try the method with an engineering menu or third-party apps.
Method 2: Use of the Engineering Menu (code ##)
If standard settings donโt allow you to turn off the sensor, you can use the engineering menu, which works on most Xiaomi devices, but you need to be careful โ wrong actions can disrupt the phone.
Instructions:
- Open the Phone app.
- Enter the combination: ##6484## (some models may run ##4636##).
- You will be taken to the MTK Engineer Mode (or Testing for Qualcomm) menu.
- Go to the Hardware Testing โ Sensor section.
- Find the Proximity Sensor and click on it.
- In the window that opens, select Disable or uncheck Enable.
- Save the changes and restart the phone.
Attention! Some firmware may not have an engineering menu or be blocked, and if nothing happens after you enter the code, your model doesn't support this method.
What to do if the engineering menu is not opened?
Method 3: Disconnect via ADB (for advanced users)
If previous methods have failed, you can use ADB (Android Debug Bridge), which requires connecting your phone to your computer and basic command line knowledge, and is suitable for all Xiaomi models, but will reset after the reboot if you donโt fix the change through Magisk.
Step-by-step:
- Enable USB Debugging in the Developer Settings (Settings โ About Phone โ MIUI Version โ Press 7 times, then return to Additional โ For Developers).
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell settings put global proximity_sensor_disabled 1To get the sensor back to work, use:
adb shell settings put global proximity_sensor_disabled 0If the command fails, try an alternative (requires root):
adb shell su -c "echo 0 > /sys/class/sensors/proximity/enable"๐ก
If the sensor doesnโt go out when you call, install the Gravity Screen app from Play Market, which allows you to automatically lock the screen when you bring your phone to your ear without using a built-in sensor.
Method 4: Applications to disable the sensor
If you don't want to dig into settings or use ADB, you can use third-party apps. They usually require super-user rights, but some work without them.
Top.-3 approximation:
- ๐ ๏ธ Proximity Sensor Reset โ resets the sensor calibration, sometimes helps with false positives.
- ๐ง Sensor Disabler - allows you to disable any sensors, including proximity.
- ๐ฑ QuickShortcutMaker โ Helps you find hidden settings MIUI, including sensor control.
Example of QuickShortcutMaker:
- Install an app from the Play Market.
- In the search, enter proximity.
- Find an activity with a name that contains ProximitySensor.
- Run it and turn off the sensor through the menu that opens.
Warning: Applications from unverified sources may contain malicious code. Only install programs with high ratings and a large number of reviews.
Possible problems after disconnecting the sensor and their solution
Disabling the proximity sensor can lead to unexpected consequences, and here are the most common ones and ways to eliminate them:
| Problem. | Reason. | Decision |
|---|---|---|
| The screen does not go out during the call. | Sensor is off, automatic lock is not working. | Use the lock button manually or an app like Gravity Screen |
| The sensor stopped working after the shutdown | On some models, the sensor is associated with the touch screen | Turn the sensor back on or reset the phone settings |
| Fast battery discharge | Background processes associated with the sensor are not optimized | Check your energy consumption in the settings โ Battery |
| Signs do not work (for example, an ear to answer) | Gestures depend on sensor data | Configure alternative gestures in Settings โ Special features |
If after turning off the sensor, the phone began to work unstable (for example, spontaneously restarts or freezes), return the settings to the original state.
- Go to Settings โ System โ Resetting settings.
- Select Reset all settings (does not delete files, only returns settings to factory settings).
๐ก
In the models with AMOLED-screens (Xiaomi) 13/14, Redmi K50/K60) The proximity sensor is often built into the display, and its deactivation can cause the automatic brightness or Always-On Display to malfunction.
Features of disconnection on popular Xiaomi models
Some Xiaomi smartphones have unique nuances when working with the proximity sensor.
- ๐ฑ Xiaomi 13/13 Pro, 14/14 Pro: The sensor is integrated into AMOLED-Disabling can affect the operation of Always-On Display. ADB ore-menu.
- ๐ฑ Redmi Note 12 Pro+/13 Pro+: In these models, the sensor often goes off falsely because of the protective film. Before you turn it off, try recalibrating the sensor through the engineering menu.
- ๐ฑ POCO F5/X5 Pro: In settings MIUI There's no direct shutdown option. ADB Sensor Disabler (requires root).
- ๐ฑ Redmi 10A/10C: On budget models, the sensor may be physically absent (emulated software). No need to disconnect - just remove the case.
For models with infrared sensors (such as Xiaomi Mi 11), the shutdown can affect the work of the device. IR-Before deactivating, check if you are using the remote control.
FAQ: Frequent questions about shutting down the proximity sensor
Can I turn off the proximity sensor without root?
Will the automatic screen lock work during a call after the sensor is turned off?
Why did the sensor stop working after the sensor was turned off?
How to check if the proximity sensor is working on my Xiaomi?
Can the sensor be turned off for specific applications only?
๐ก
If the proximity sensor is unstable, try recalibrating it. In the engineering menu (#6484###), select Proximity Sensor โ Calibration and follow the instructions on the screen.