The proximity sensor in smartphones based on Android is responsible for automatically turning off the screen during a telephone conversation when the device is brought to the ear. This is a convenient feature that saves battery power and prevents accidental presses. However, in some situations, users are faced with the need to disable this sensor โfor example, due to incorrect operation, constant activation for no reason, or when using the device in non-standard scenarios (for example, for streaming with the screen turned off).
The most reliable way to do this is through engineering menu (Engineer Mode or Service Mode), which is hidden from ordinary users. In this article we will look in detail at how to safely access the engineering menu, find the necessary settings and deactivate the proximity sensor without the risk of damaging the system. We will also discuss alternative methods and possible consequences of such intervention.
It is important to understand that the engineering menu is intended for specialists and developers. Incorrect actions in it can lead to malfunctions of the smartphone, loss of warranty, or even bricking of the device. Therefore, before starting the procedure, make sure that you follow the instructions carefully and understand all the risks.
What is a proximity sensor and why disable it
A proximity sensor is an optical or infrared sensor that determines the distance between the smartphone screen and an object (usually the user's face). It activates during a call and turns off the screen backlight to avoid accidental touches and save energy. On most devices Android this sensor is located at the top of the screen, next to the front camera or speaker.
The reasons for disabling the sensor can be different:
- ๐ False triggering: the sensor reacts to the screen protector, case or even bright light, blocking the screen for no reason.
- ๐ Problems during calls: the screen does not turn off when brought to the ear, which leads to accidental presses.
- ๐ฅ Specific tasks: for example, streaming with the screen off or testing applications.
- ๐ง Fault diagnosis: checking the operation of the sensor after a fall or repair.
However, before disconnecting, you should make sure that the problem does not lie in a software failure or physical damage. For example, if the sensor is dirty or covered with film, its operation may be impaired. In this case, it is enough to clean the area around the sensor with a soft cloth.
Also keep in mind that Disabling the proximity sensor may affect the ease of use of the phone. During calls, the screen will remain on, which increases the risk of accidental clicks and drains the battery faster.
Before disabling the sensor, check its operation using a test application, for example Sensor Test or Phone Tester from Google Play. This will help make sure that the problem is really in the sensor, and not in the firmware.
Preparation: how to enter the engineering menu on Android
The engineering menu is a hidden settings section that allows you to test the hardware components of your smartphone, change network parameters and even calibrate sensors. How you enter this menu depends on the manufacturer and model of your device. Below is a universal method that works on most devices Mediatek (MTK), Qualcomm Snapdragon and some other chipsets.
The most common method:
- Open the application
Phone(standard dialer). - Enter the combination
##3646633##or##4636##. - If the combination does not work, try
#15963#(for some devices Samsung) or##8255##(for Google Pixel).
If none of the combinations are suitable, your manufacturer may have blocked access to the engineering menu. In this case, you can try alternative methods:
- ๐ฑ Install the application MTK Engineering Mode (for devices on Mediatek).
- ๐ Use
ADB-commands (requires USB debugging to be enabled). - ๐ Search for a unique combination for your model in the official documentation.
After successful login, you will see a menu with many tabs, such as Hardware Testing, Telephony, Connectivity and others. We will need a section related to sensors. (Sensors or Hardware Testing).
What to do if the engineering menu does not open?
If none of the combinations work, the manufacturer may have removed access to the engineering menu in your firmware. In this case, you can try:
1. Install custom software (for example, LineageOS), if the device is unlocked.
2. Use ADB-commands to disable the sensor (requires root access).
3. Contact the service center for diagnostics.
Step-by-step guide: how to disable the sensor proximity
When you get to the engineering menu, follow these instructions. Please note that the names of the items may vary slightly depending on the smartphone model and firmware version.
Step 1: Find the section with sensors
In the engineering menu, go to the tab Hardware Testing or Sensors. On some devices, this section may be called Device Test or Sensor Test.
Step 2: Select the proximity sensor
In the list of sensors, find Proximity Sensor (proximity sensor It may be labeled as PS Sensor or just Proximity. Click on it to open the test menu.
Step 3: Disable the sensor
In the sensor test menu you will see several parameters:
Enable/Disableโ the main switch (if there is one, set cDisable).Calibrationโ calibration (do not touch if you are not sure!).Thresholdโ response threshold (can be changed, but this is risky).
If there is an option Disable, select it. If not, try changing the value. Threshold to maximum (for example, 255) so that the sensor stops triggering.
Step 4: Save the changes
After turning off the sensor, press Save or Apply (if such a button yes). Then reboot the device for the changes to take effect.
โ๏ธ Check before disconnecting the sensor
If the sensor continues to work after rebooting, the changes may not have been saved. In this case, try repeating the procedure or use alternative methods (we will discuss them below).
On some devices Samsung i Xiaomi disabling the sensor through the engineering menu may be reset after updating the firmware. In this case, the procedure will have to be repeated.
Alternative ways to disable the proximity sensor
If access to the engineering menu is blocked or you do not want to take risks, you can use other methods. However, most of them require root access or special applications.
Method 1: Using ADB commands
For this method you will need a computer with drivers installed ADB USB debugging is enabled on your smartphone. Connect the device to the PC and run the command:
adb shell settings put global proximity_sensor_enabled 0
To return the sensor to working condition, replace 0 to 1.
Method 2: Applications to disable sensors
B Google Play there are applications that allow you to manage sensors without root access, but their capabilities are limited. For example:
- ๐ฑ Sensor Disabler (requires ADB or root).
- ๐ ๏ธ Proximity Sensor Reset (for calibration, not disabling).
- ๐ง QuickShortcutMaker (allows you to find hidden settings).
Method 3: Editing system files (for advanced users only!)
If you have root access, you can edit the file /system/build.propby adding the line:
persist.sys.proximity.disable=1
This method is risky and can lead to system instability.
Remember that alternative methods may not work on all devices. If the sensor is critical for your tasks (for example, you often make calls), it is better not to disable it completely, but try to calibrate it.
Possible risks and how to avoid them
Disabling the proximity sensor is not a harmless procedure. It can lead to undesirable consequences, especially if you act at random. Here are the main risks and ways to minimize them:
1. Loss of warranty
If you use the engineering menu or root access, the manufacturer may void the warranty. This also applies to physical damage caused by incorrect sensor settings.
2. Unstable operation of the phone
Changing sensor parameters can lead to failures in the firmware, for example:
- ๐ Spontaneous reboots.
- ๐ต Problems with the touch screen.
- ๐ Accelerated discharge batteries.
3. Problems during calls
Without a proximity sensor, the screen will not go dark during a call, which can lead to:
- ๐ Accidental presses (for example, on the end call button).
- ๐ Rapid battery drain.
- ๐๏ธ Discomfort from the screen backlight on the face.
To reduce risks:
- ๐ Write down the initial settings before making changes.
- ๐ Test changes step by step, not all at once.
- ๐ฑ Use a backup copy of the firmware.
If, after disconnecting the sensor, the phone begins to work unstable, try resetting the settings to factory settings via Settings โ System โ Reset. This will return all parameters to their original state.
How to return the proximity sensor to working condition
If you decide to turn the sensor back on or problems arise after disconnecting, you can restore its operation in several ways.
Method 1: Through the engineering menu
Repeat the steps from the instructions above, but instead of Disable select Enable. If you changed Threshold, return it to the standard value (usually 5 or 10).
Method 2: Reset sensor settings
In the engineering menu, find the option Restore Default or Reset Sensors. This will return all sensors to factory settings.
Method 3: Soft reset the phone
If the changes are not saved, perform a factory reset:
- Go in
Settings โ System โ Reset. - Select
Reset all settings(does not delete files) orDeleting all data(full reset). - Confirm the action and wait until the reboot.
Method 4: Reflash the device
As a last resort, you can reflash the phone using official software (for example, Odin for Samsung or Fastboot for Google Pixel). This will return all settings to their original state, but requires technical skills.
If none of the methods helped, the sensor may be physically damaged. In this case, repairs will be required at the service center. center.
Comparison of methods for disabling the proximity sensor
To choose the most suitable method, let's compare the main methods according to the criteria of complexity, risks and effectiveness.
| Method | Complexity | Required root/ADB | Risk to the system | Efficiency |
|---|---|---|---|---|
| Engineering menu | Average | No | Low (with accuracy) | High |
| ADB commands | High | Yes (USB debugging) | Medium | High |
| Applications from the Play Market | Low | Sometimes (depending on the application) | Low | Medium |
| Editing build.prop | Very high | Yes (root) | High | High |
| Sensor calibration | Low | No | Minimum | Low (if the sensor is faulty) |
As can be seen from the table, engineering menu is the best option for most users, so as it does not require additional tools and has minimal risks. ADB-method is suitable for advanced users, and editing system files is best left to specialists.
Frequently asked questions
Is it possible to disable the proximity sensor without engineering menu?
Yes, but this will require ADB commands or special applications with superuser rights (root). Without them, alternative methods may not work or will give a temporary effect.
Will the sensor work after updating the firmware?
On most devices, the engineering menu settings are reset after the update. If the sensor was disabled via build.prop or ADB, the changes may be saved, but this depends on the manufacturer.
What to do if the sensor does the proximity sensor work at all?
First check it for contamination or physical damage. If the sensor is clean but does not respond, try calibrating it through the engineering menu or contact a service center - it may be faulty.
Is it possible to disable the sensor only for specific applications?
No, the proximity sensor is controlled at the system level, and disabling it affects all processes. However, some applications (for example, for streaming) may ignore sensor signals in their interface.
Does disabling the sensor affect the operation of other sensors?
No, the proximity sensor works independently of the gyroscope, accelerometer or light sensor. However, in rare cases, incorrect settings in the engineering menu can affect neighboring ones. parameters.
If you still have questions about setting up the proximity sensor or have difficulties accessing the engineering menu, we recommend that you contact the official documentation of your device or seek help from specialists. Remember that you make any changes to the system settings at your own peril and risk!
Disabling the proximity sensor can be useful in specific scenarios, but for most users it is better to calibrate it or eliminate the cause of the false ones. triggers.