The situation when a smartphone does not turn off the screen during a call is familiar to many users who have switched to Android 11. This results in accidental cheek presses, muting, or ending the call. The problem often lies in a software glitch or incorrect operation of the sensor, which has stopped responding when the device is brought to the ear.

In modern interfaces, Google rarely provides a direct “turn on sensor” button, since it should work by default. However, hidden engineering menus and accessibility settings allow you to forcefully activate or calibrate this module. Understanding the principles of operation infrared sensor will help you quickly fix the problem without flashing the device.

Below we will analyze all the available diagnostic methods, from simple checks of the case to the use of ADB commands. It is important to act consistently so as not to disrupt other system parameters. If the screen continues to light up during a conversation, it means that the system does not receive a signal that an object is approaching.

Checking the physical condition and blocking factors

Before delving into the software settings, it is necessary to eliminate physical obstacles. The proximity sensor is usually located at the top of the screen, often hidden under glass next to the earpiece. Any dirt, greasy marks or thick protective film can block the emitter.

Pay attention to the accessories. Some protective cases e with high sides or an opaque insert at the top may block the sensor. Even a microscopic crack in the glass in the receiver area can distort the readings, causing the system to think that the phone is constantly near the ear or, conversely, too far away.

⚠️ Attention: If you have recently replaced the screen or glass, make sure that the master center used the original cable or a high-quality analogue. Cheap components often do not have calibration data for the sensor.

Carry out a visual inspection of the top panel in bright light. Clean the speaker area with a soft, lint-free cloth. If your screen has tempered glass, check to see if it has moved over time. Sometimes it’s enough just to remove the case and test the call to understand that the problem lies in the accessory.

💡

Try wiping the top of the screen with an alcohol wipe for electronics - a greasy film from conversations often reduces the sensitivity of the sensor.

Diagnostics through the engineering menu and hidden codes

The fastest way to check module performance - use built-in diagnostic codes. B Android 11 access to them may be limited by the manufacturer, but basic commands often remain working. Enter the code ##7780## or #0# (for Samsung) into the dialer to enter test mode.

In the menu that opens, select the item Sensor or Proximity. A panel will open in front of you, where the sensor values ​​​​are displayed in real time. Place your palm on the top of the screen: the numbers should change and the status should switch from Near (close) to Far (far).

  • 📱 If the values do not change, the sensor driver may not be running or the (hardware) is faulty.
  • 📱 If the status is “stuck” in the Near position, the screen will always go dark, even when the phone is on the table.
  • 📱 If the reaction is successful, you can proceed to software calibration through the settings.

Not all codes work on all devices. For phones Xiaomi or Redmi often you need to activate the engineering menu through the “Phone” application in the SIM card settings, where you need to click on the MIUI version several times. This opens up access to advanced equipment testing.

📊 Have you encountered a problem when the screen does not go off during a call?
Yes, all the time
Happens rarely
Never happened
Screen turns off, but does not turn back on

Configuration through Android accessibility

In the operating system Android 11 Google has introduced a function that allows you to control the proximity sensor through the accessibility menu. This is not a full inclusion, but a useful crutch if the standard algorithm does not work correctly. Go to Settings → Accessibility.

Find the section related to call management. There may be an option “Remote control” or “Use proximity sensor”. Activating this item causes the system to react more aggressively to sensor signals, ignoring some software filters that can dampen the signal.

Settings → System → Language and input → Accessibility → Phone management

It is also worth checking the settings of the “Phone” application itself. Open Phone → Settings → Incoming calls. Make sure the Proximity Sensor option is active. On some shells, for example OneUI or MIUI, this switch may be hidden in the “Answer and end call” submenu.

⚠️ Attention: Settings interface may vary depending on the manufacturer. If you do not find the item in the specified location, use the search in the settings by entering the word “approximation.”

Sensor calibration and reset settings

If the sensor is physically intact, but does not work correctly, it requires calibration. There is no single “Calibrate” button, so the procedure depends on the brand. On devices Android 11 There is no single “Calibrate” button, so the procedure varies by brand. On devices Samsung the application is used Samsung Members, and on Xiaomi the engineering menu is used through code ##6484##.

In the testing menu, select Proximity Sensor. You will be asked to cover the sensor with your hand and then remove it. The system will record the minimum and maximum illuminance values ​​using them as a reference. After successfully passing the test, be sure to reboot the device.

☑️ Calibration checklist

Done: 0 / 1

As a last resort, resetting your phone will help. This will delete all data, so make a backup. Often, conflicts with third-party applications that monitor calls interfere with the operation of system sensors. A full reset will return all drivers to factory settings.

What to do if calibration does not help?

If software calibration does not produce results, the problem may be oxidation of the cable contacts. Try quickly pressing the top edge of the phone several times (gently) to clean the contact, or warm the top with a hairdryer (carefully!) to eliminate condensation.

Using third-party applications and ADB

When standard tools are powerless, utilities from Google Playcome to the rescue. Applications like Proximity Sensor Reset or Phone Sensor allow you to force a restart of the sensor service or perform deep calibration that is not available in the regular menu.

A USB debugging method is available for advanced users. By connecting your phone to your PC, you can send a command via ADB, which will reset the sensor configuration. This is especially true for devices with an unlocked bootloader.

ADB command Description of action Risk of error
adb shell svc proximity enable Forced activation of the service Low
adb shell settings put system proximity_on 1 Changing the system flag Medium
adb reboot Reboot after changes No

Remember that using third-party software requires permission. Some applications may request access to calls and contacts, which is redundant for their operation. Read the access rights carefully before installing calibration utilities.

💡

Third-party applications are a temporary solution. If the sensor requires constant “pinging” by the software, it is better to think about repairing or replacing the module.

Typical problems and their solutions

Often users are faced with a situation where the screen goes out, but does not light up when the phone is moved away. This is a classic symptom of a “stuck” or software error in Android 11related to energy saving. The system may turn off the sensor power too aggressively.

Another problem is false alarms in your pocket. If the phone is in a narrow pocket, the fabric may press against the screen, simulating proximity. In such cases, the “Pocket Mode” function helps, which uses the accelerator paired with a light sensor to more accurately determine the situation.

  • 🔋 Check the power saving mode: it can limit the frequency of sensor polling.
  • 🔋 Update the firmware: Google often fixes bugs in the operation of sensors in security patches.
  • 🔋 Disable Smart Screen: functions that leave the screen on when you look at it may conflict with the proximity sensor.

If all else fails and the screen behaves chaotically, the module itself or the cable may have failed. In this case, software methods are powerless, and a visit to the service center will be required to replace the component.

Why did the proximity sensor stop working after updating Android 11?

Updating the operating system often changes the operating algorithms of drivers. The new version may not read data correctly from old equipment, or the configuration files may have been damaged during the update process. Also, the new interface may handle interruptions from the sensor differently.

Is it possible to completely disable the proximity sensor?

Not using standard means, since this is a critical security module. However, you can use emulator applications that block the signal from the sensor, preventing the screen from going dark. This is useful if you are using a speakerphone or headset and the sensor is covered.

Does broken glass affect the operation of the sensor?

Yes, especially if the crack goes through the top of the screen. Even if the sensor is intact, a violation of the integrity of the glass changes the refractive index of the infrared beam, due to which the sensor receives incorrect data about the distance to the object.

How to check the sensor without the engineering menu?

Download any free application like “Sensor Test” from the application store. Run the "Proximity" test and simply move your hand to the top of your smartphone. The application will show a graph of changes in values in real time.