Many smartphone users are faced with the intrusive operation of the distance sensor, which turns off the screen when you bring the device to your ear or even just in your pocket. On Android 10 this mechanism works aggressively, which often leads to interruptions in conversations or the inability to control the interface in specific applications. It is impossible to disable the proximity sensor using standard system tools, since Google considers this function critical for energy efficiency and preventing accidental clicks.

However, there are proven ways to bypass this limitation, ranging from using the engineering menu to using third-party utilities or commands via a computer. You will need to carefully study the model of your device, since the settings menus may differ radically. In this article, we will look at all the available methods, from simple application settings to deep intervention into the system through debugging. Samsung, Xiaomi or Pixel may differ radically. In this article we will analyze all the available methods, from simple application settings to deep intervention in the system through debugging.

โš ๏ธ Warning: Disabling the proximity sensor may result in the screen being constantly lit during a call if the phone is pressed to the cheek, which will increase battery consumption and the risk of accidentally dialing numbers with your face.

Why the system blocks the shutdown sensor

The architecture Android 10 is built in such a way that sensor drivers are system and protected processes. A regular user does not have access rights to change their behavior through the standard settings menu. This is done to ensure the stability of the device and data security, since incorrect configuration of the sensors can lead to a system freeze or incorrect operation of the emergency call service.

Smartphone manufacturers often add their own add-ons on top of pure Android, which further limit user access. For example, in shells MIUI or OneUI the proximity sensor operating algorithms are strictly tied to energy saving algorithms. An attempt to disable them may cause conflicts in the task manager, so the system simply hides this option from the user's eyes.

However, there are scenarios when disabling is necessary. For example, if the sensor is physically broken and constantly blocks the screen, or if you use a smartphone as a navigator in a holder, where the sensor's response interferes with the view of the map. In such cases, you have to resort to non-standard methods of solving the problem.

๐Ÿ’ก

If your proximity sensor is simply dirty or covered with a thick protective glass, try cleaning the top of the screen before attempting software changes.

Using the engineering menu for diagnostics

The safest way to check the operation of the sensor and try to change its parameters is to enter the engineering menu. This is a hidden section of the system intended for service engineers, where all hardware components can be tested. To log in, special USSD codes are usually used, which depend on the processor of your device.

Owners of devices based on processors MediaTek the code ##3646633##is most often suitable. After entering, you will be taken to a menu where you need to go to the Hardware Testingtab, then select Sensor and find Proximity Sensor. Here you can run a test that will show the current distance to the object in centimeters. If the values โ€‹โ€‹jump for no reason, the sensor may be faulty.

For devices with Qualcomm Snapdragon the code may be different, often used ##4636## or *#808#. In this menu you can also find a sensor testing section. It is important to understand that in most modern versions of Android 10, the ability to fully calibrate or disable it has been removed from here, but you can see the current status of the component.

  • ๐Ÿ“ฑ Try entering the code ##3646633## to access MediaTek tests.
  • ๐Ÿ”ง Use the code ##4636## for devices on Qualcomm processors.
  • ๐Ÿ“ž On some models Samsung the code works #0# for general testing.
  • ๐Ÿšซ If the codes do not work, your operator or manufacturer may have blocked access to the engineering menu.
๐Ÿ“Š Which code worked for your smartphone?
Nothing worked
##3646633##
##4636##
#0#

Third-party applications for controlling the sensor

Since the standard settings do not allow you to turn off the sensor, developers have created special applications that intercept the signal from the sensor and ignore it. Such utilities work in the background and force the screen to remain on, even if the sensor reports a nearby object. This solution does not require root access and is suitable for most users.

One โ€‹โ€‹of the most popular solutions is the application Proximity Service or similar tools like Screen Off Pro. After installation, you need to give the application permission to run on top of other windows and access accessibility features. In the application settings, you need to activate the mode to ignore the proximity sensor.

It is worth considering that such applications consume additional battery power, since they do not allow the system to go into sleep mode when an object approaches. It is also possible that there may be a delay in the screen response when dismissing a call. Before installation, carefully read reviews, as some utilities may contain intrusive advertising.

โš ๏ธ Attention: Download applications for working with system sensors only from the official Google Play store to avoid installing malware that can intercept your calls.

Disconnection via USB and ADB debugging

For advanced users who do not want to install third-party software, there is a method to disable the sensor via a computer using the tool ADB (Android Debug Bridge). This method allows you to send commands directly to the system, bypassing the GUI. You will need to enable developer mode on your smartphone and install drivers on your PC.

First, activate developer mode by clicking seven times on the build number in the menu About the phone. Then go to Settings โ†’ System โ†’ For developers and enable the item USB debugging. Connect the phone to the computer with a cable and open the command line in the folder with ADB installed.

Enter the command to check the connection: adb devices. If your device is listed, you can try entering a command to change global settings. However, in Android 10, a direct command to disable the sensor is often blocked by security policy. However, you can try to reset the sensor settings with the command:

adb shell settings put global proximity_sensor_enabled 0

If this command does not work, it means that the manufacturer has blocked changing this parameter at the kernel level. In this case, the only way out is to use interceptor applications or obtain root access, which is much more difficult and risky.

What to do if ADB does not see the phone?

Make sure that a window asking for debugging permission appears on the smartphone screen, and you click โ€œAllowโ€. Also try replacing the USB cable with an original one, since cheap cables often only support charging.

Disconnection features for different brands

Different manufacturers implement the operation of sensors in their shells in different ways. Owners of Xiaomi i Redmi sometimes it helps to reset the calibration through the engineering menu, which was mentioned above. In the proximity sensor test menu, there is often a button Calibrationthat you need to press when placing the phone on a flat surface without obstacles in front of the top of the case.

Devices Samsung with a shell One UI have a built-in "Block accidental clicks" function that uses the proximity sensor. You can disable it in the screen settings, but this does not completely deactivate the sensor itself, but only changes the logic of its operation. To completely disable it on Samsung, it is often necessary to install specific modules through Magisk, if there is ROOT.

Smartphones Pixel and other devices running pure Android 10 most strictly follow Google's recommendations. Here it is almost impossible to disable the sensor without superuser rights. Any attempts to modify system files may result in loss of warranty and the inability to pass security checks in banking applications.

Brand Access method Complexity Efficiency
Xiaomi / Redmi Engineering menu Low High
Samsung Screen settings / ROOT Medium Medium
Google Pixel ADB / ROOT High Low (without ROOT)
Huawei / Honor Engineering menu Medium High

Solving problems with false triggers

Often users want to disable the sensor not out of principle, but because it does not work correctly. The screen turns off in your pocket when the phone should be ringing, or does not turn on when you bring it to your ear. In 90% of cases, the problem lies not in a software glitch, but in a physical obstacle. A protective glass glued skewed or a thick case may block the sensor area.

The proximity sensor is usually located at the top of the screen, next to the earpiece. If this area is dirty with grease or dust, the infrared beam is reflected incorrectly and the system thinks that the phone is pressed against the head. Wipe the top frame of the smartphone with a soft cloth and an alcohol solution.

If physical cleaning does not help, the calibration may have failed after a fall or firmware update. In this case, the calibration application from Google Play can help restore the correct distance values. After calibration, the need to completely disable the sensor often disappears by itself.

๐Ÿ’ก

In most cases, a โ€œbrokenโ€ proximity sensor on Android 10 is a consequence of contamination or poor-quality protective glass, and not a software error.

Is it safe to use applications to disable the sensor?

Using trusted applications from the official store is safe for the system, but may increase battery consumption. They do not violate the integrity of system files, but only intercept the signal.

Is it possible to permanently remove the sensor driver?

Theoretically, yes, if you have root access, you can rename or delete the system driver file, but this will lead to a loading error or constant reboots (bootloop). It is highly not recommended to do this.

Why does the screen not turn on during a call?

This is the normal operation of the proximity sensor to save energy and protect against cheek pressing. If the screen does not turn on after moving the phone away, try cleaning the sensor or checking the sensitivity settings.

Does turning off the sensor affect the operation of the voice assistant?

There is no direct effect, but some scenarios for activating โ€œHey Googleโ€ may be related to the state of the screen. When the sensor is disabled, the phone can activate the assistant in your pocket.

Do you need to restart the phone after changing the settings?

When using interceptor applications, a restart is usually not required. If you changed the settings through the engineering menu or ADB, a reboot is advisable to apply the changes.