Modern smartphones are equipped with many hidden sensors that make using the device comfortable and energy efficient. One of these important elements is proximity sensorwhich automatically turns off the display during a telephone conversation when you bring the device to your ear. Without this function, you risk accidentally pressing the reset button with your cheek, activating the speakerphone, or opening an unnecessary application right in the middle of an important dialogue.
In the operating system Android 10 control of this component is often hidden from the eyes of the average user, since by default it should work automatically. However, sometimes situations arise when the sensor stops responding, the screen does not go off or, conversely, turns off prematurely. In this article, we will look in detail at how to check functionality, enable hidden settings and calibrate the proximity sensor on your device.
Usually the problem lies not in a physical breakdown, but in a software glitch or contamination of the upper part of the case. Understanding the operating principles of infrared emitter and the receiver will help you quickly diagnose the problem. Next, we will look at step-by-step guide for various manufacturers and universal methods for solving problems through the engineering menu.
Principle of operation and location of the sensor
The proximity sensor is a compact module consisting of an LED emitting infrared light and a photodetector. When you hold the phone to your head during a call, the beam reflects off a surface (your ear or cheek) and returns to the receiver. The system Android interprets this signal as a command to lock the screen to save battery power and prevent false clicks.
Physically, this component is most often located at the top of the front panel of the smartphone, next to the earpiece and front camera. In modern models with frameless design, manufacturers often mask the sensor under the display glass or integrate it directly into the body. That is why it is important to monitor the cleanliness of this area, since even a thin film of protective glass can distort the operation of infrared ray.
It is worth noting that in some budget models, instead of an optical sensor, a virtual algorithm is used that analyzes data from the accelerometer and gyroscope. However, devices running Android 10 predominantly install classic hardware solutions. If your screen does not turn off when you hold it to your ear, the first thing to do is check to see if access to the sensor is blocked by a case or sticker.
⚠️ Warning: Do not try to cover the sensor area with opaque materials to test the operation - this may result in the screen being permanently turned off and you will not be able to end the call.
Before starting diagnostics Be sure to wipe the top of the screen with a soft microfiber cloth. Greasy fingerprints can block the passage of infrared light.
Checking functionality through the engineering menu
The most reliable way to make sure that the sensor is turned on and functioning correctly is to use the built-in engineering testing menu. This hidden section of the system allows you to check the status of all hardware components without installing third-party software. To access it, you must enter a special combination of characters in the Phone application.
The universal code for most devices based on chipsets MediaTek and some models Samsung looks like this:
##6484##
After entering the last asterisk, the menu should open automatically. If the code does not work, try alternative combinations, such as #0# for Samsung or ##4636## for pure Android devices. In the list that opens, find the item containing the word Proximity or “Proximity sensor”. By clicking on it, you will see the current sensor readings in real time.
In test mode, the screen usually displays two values: distance in centimeters and a logical state (0 or 1). Bring your palm to the top of the phone without touching it. If the numbers change and the status switches from “Far” to “Near”, then the hardware is good and turned on. Lack of response indicates a software shutdown or physical malfunction of the module.
What to do if the code does not work?
Some telecom operators or firmware block access to the engineering menu by dialing a number. In this case, you can try installing the Engineering Mode Shortcut application from the Play Market store, which creates a shortcut to enter this section.
Activation through system and application settings
In the standard settings of Android 10, there is rarely a separate switch for the proximity sensor, since it is considered a system component that works by default. However, shells from different manufacturers may have hidden options that affect its behavior. It's worth checking the sections related to calls and accessibility.
Go to the menu Settings → Applications → Phone. In some versions of MIUI or EMUI, here you can find the “Incoming calls” item, where there is a checkbox “Turn off the screen when approaching”. Make sure it is active. Also check the section Accessibilitywhere sometimes there are gesture control settings that may conflict with the operation of the sensor.
If you use third-party calling applications, for example, from Google or Truecaller, the settings may located inside the application itself. Open the settings of the selected dialer and look for the “Screen during a call” section. Activating the function proximity sensor here often solves the problem when the system application does not work correctly.
- 📱 Check if the “Pocket” mode is enabled in the screen lock settings, which uses the same sensor.
- 📞 Make sure that the application "Phone" does not have the "Motion Response" function activated; it may interfere with the operation of the sensor.
- ⚙️ Reboot the device in safe mode to eliminate the influence of third-party launchers on the sensor.
Calibrating the proximity sensor
Even if the sensor is turned on, it may not work correctly due to a malfunction calibration. This often happens after replacing the display module or a failed firmware update. In this case, it is necessary to carry out a calibration procedure so that the system remembers the response limit values again.
To do this, again use the engineering menu mentioned above. Find the test Proximity Sensor and follow the on-screen instructions. Typically the process looks like this: first you need to remove all objects from the sensor and press the confirm button, and then cover the sensor with your palm and confirm the action again. The system will record the minimum and maximum illumination values.
On some devices, such as Xiaomi or Huawei, there is a separate calibration application, which can be found in the “Tools” menu or downloaded from the official store. Launch it, place the phone on a flat surface and press the "Calibrate" button. Do not touch the device until the process is completed, which usually takes a few seconds.
| Manufacturer | Engineering menu code | Path in settings | Features |
|---|---|---|---|
| Samsung | #0# |
Settings → Display | Test through the Service Mode menu |
| Xiaomi | ##6484## |
CIT application | Built-in test in CIT mode |
| Huawei | ##2846579## |
Service → Equipment test | Requires entering a code in the dialer |
| Pixel / Motorola | ##4636## |
No direct access | Using third-party utilities |
⚠️ Attention: Changing calibration values in the engineering menu without understanding the process can lead to complete inoperability of the sensor. Write down the initial values before making changes.
☑️ Correct calibration algorithm
Using third-party applications for control
If system methods did not help enable or configure the sensor, specialized ones will come to the rescue utilities from Google Play. There are applications that allow you to forcefully activate the sensor, change its threshold, or emulate its operation using software methods.
One of the popular solutions is the application Proximity Sensor Reset Fix. It does not require root access and works by resetting the sensor data cache and restarting related system services. After installation, run the utility, click the “Calibrate” button and follow the prompts. This often helps when the software driver is stuck in an incorrect state.
There are also diagnostic applications such as Phone Tester or Sensor Test. They do not directly enable the sensor, but provide detailed information about whether the system sees it at all. If there are no available sensors in the list Proximity Sensor, then the problem is hardware in nature or the driver has been completely removed from the system.
Third-party applications are only effective in case of software failures. If the sensor is not detected by the system even in diagnostic utilities, repair is required at a service center.
Possible causes of the malfunction and their elimination
Sometimes turning on the sensor is impossible due to third-party factors that the user does not immediately notice. The most common reason is poor-quality protective glass that blocks the area of the infrared emitter. Even microscopic film movement can render the sensor useless.
Another common problem is a software conflict. Some themes, launchers or call recording applications can intercept control of the sensor. Try uninstalling recently installed apps or resetting the interface settings to factory settings.
In rare cases, the culprit is a low battery. When the charge is critically low, the system can turn off non-essential sensors to save energy. If the charge indicator shows less than 5%, connect the phone to the network and check the operation of the sensor again.
- 🧼 Clean the speaker and the area around it from dust using a soft brush.
- 🔄 Perform a full reset (Backup is required!) if the problem appeared after the update.
- 🛠️ Check the integrity of the sensor cable if the phone has previously been opened or dropped.
⚠️ Attention: Interfaces and menu names may differ depending on the firmware version and device model. If you do not find the item described, please refer to the manufacturer's official documentation.
Frequently asked questions (FAQ)
Why does the screen not turn off during a call, although the sensor is on?
This may occur due to contamination of the sensor, the application of a protective film, or a software failure. Try wiping the top of the screen and rebooting your device. If this does not help, perform calibration through the engineering menu.
Is it possible to completely disable the proximity sensor on Android 10?
There is usually no standard button for completely disabling it in the settings, since this is a system security feature. However, you can use applications like "Proximity Off" or change settings in the engineering menu, although this is not recommended.
Does the case affect the operation of the proximity sensor?
Yes, some cases with thick sides or opaque inserts at the top may block the sensor beam. Try removing the case and checking the phone's operation without it.
What to do if, after replacing the screen, the sensor stops working?
Most likely, the sensor cable was not connected during replacement or a non-original display module without a built-in sensor was used. You need to contact the service to check the connection or replace the part.
Why does the sensor trigger when the phone is lying on the table?
This is a sign of incorrect calibration or contamination. The sensor “thinks” that there is an object in front of it. Perform the calibration procedure in free space to reset false readings.