Why users want to disable the proximity sensor and when it is dangerous
Approximate sensor in Xiaomi Redmi 9A β A small but critical component that automatically shuts down the screen during a phone call, but many owners are faced with the incorrect operation of the screen: The screen goes out for no reason, does not respond to the phone's withdrawal from the ear, or, conversely, remains active during the call, which leads to accidental pressing, these failures are especially annoying when using the headset or during games, when the sensor locks the screen mistakenly.
Turning the sensor off via the engineering menu is a radical solution that can both fix the problem and create new ones, for example, after the sensor is deactivated, the screen will remain on while making calls, which increases the risk of clicking buttons with the cheek or ear. In addition, some system functions (e.g., power optimization) may not work properly. 9A firmware MIUI 12+ Disabling the sensor through the engineering menu may reset after restarting or updating the system.
In this article, we will discuss:
- π Causes of proximity sensor failures and how to diagnose them without turning them off
- π οΈ Step-by-step access to the engineering menu on Redmi 9A (including codes and alternative methods)
- βοΈ Menu parameters responsible for the operation of the sensor and their safe values
- β οΈ Risks and consequences of deactivation, including battery and call effects
- π Alternative methods (e.g., through ADB third-party)
Signs of malfunctioning of the proximity sensor: how to make sure that the problem is in it
Before you turn off the sensor, make sure it's the fault.
- π΅ The screen goes out when the phone is tilted or covered with a hand (even not during the call).
- π¦ During a conversation, the screen is not blocked, which causes buttons to be pressed.
- π The sensor is triggered with a delay (for example, the screen turns on 2-3 seconds after the phone is removed from the ear).
- π± Apps (like Google Playβs Sensor Test) show unstable sensor values.
For diagnostics, use the built-in hardware testing:
- Open the Phone app and type ##6484## (or #4636## β Testing of equipment).
- Select Sensor Test (also known as Hardware Test).
- Cover the top of the phone (where the sensor is located) with your hand. the value should change from 5 (no obstacle) to 0 (there is an obstacle).
β οΈ Warning: If the sensor does not respond to the test or shows a constant value 0/5 Regardless of the obstacle, the problem may be a hardware failure (for example, a departed plume or a sensor contamination.
Also check if the sensor is disturbed by a protective glass or cover, for example, thick bumpers or metallic film can block the infrared signal, try to remove the accessories and repeat the test.
π‘
If the sensor is only unstable in certain applications (for example, when calling via WhatsApp), the problem may be in the settings of the specific software. β Annexes β Permits.
How to enter the engineering menu on Xiaomi Redmi 9A: work-in
Engineering Mode β Hidden section MIUI, It's designed for testing and debugging, and it's accessed through secret codes or third-party utilities. 9A the following methods are used:
Method 1: Code for Entry into Engineer Mode
The easiest way to do this is to use USSD-code:
- Open the standard phone application.
- Enter the combination: ##36446337## (or alternative code ##4636###).
- The EngineerMode menu will appear on the screen (it can be called Testing or the EngineerMode menu). MTK Engineer Mode, if the phone is on a MediaTek processor).
Method 2: Through the application MTK Engineering Mode
If the codes donβt work (for example, due to operator restrictions), install the app from Google Play. MTK Engineering Mode:
Download the app from an official source (avoid clones)
Provide all the permissions requested (camera, microphone, sensors)
Close background applications that may block sensor access
Connect your phone to charge (recommended for stability)
-->
After installation:
- Open the app and select MTK Settings.
- Go to the Hardware Testing β Sensor section.
- Find the Proximity Sensor (approximation sensor).
β οΈ Attention: Some versions MIUI You block access to the engineering menu through third-party applications. If you enter a code or run the utility, you get a Connection problem error, try disabling Mi Cloud and Settings. β Additionally. β For developers β Debugging by USB (if included).
Method 3: Through ADB (for advanced users)
If standard methods do not work, you can use them. ADB (Android Debug Bridge:
- Turn on Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect your phone to your PC, open the command line and type in: adb shell am start -n com.miui.engineermode/.EngineerMode
Step-by-step: how to disable the proximity sensor in the engineering menu
After successfully logging into Engineer Mode, follow this instruction. 9A The path to sensor settings may differ depending on the version MIUI Processor type (Qualcomm or MediaTek).
For phones running a Qualcomm processor (e.g. Redmi) 9A Snapdragon 439)
- In the engineering menu, select Hardware Testing.
- Go to Sensor. β Proximity Sensor.
- Find the parameter. PS Calibration (calibration of the proximity sensor).
- Select Disable or set 0 in the field PS Offset.
- Save the settings and restart the phone.
For phones on the MediaTek processor
- In the engineering menu, go to MTK Settings β Hardware Testing.
- Select Sensor. β Proximity Sensor.
- Find a point. PS Enable and change the value from 1 to 0.
- In some cases, it may be necessary to disconnect PS Auto Test.
| Parameter | Default value | Value for disconnection | Note |
|---|---|---|---|
| PS Enable | 1 | 0 | Basic activation parameter of the sensor |
| PS Calibration | Varying (e.g. 5) | 0 or Disable | Sensitivity calibration |
| PS Offset | Depends on the model. | 0 | Reflection bias |
| PS Auto Test | Enable | Disable | Automatic testing |
β οΈ Note: After disabling the sensor in the engineering menu, some features MIUI They may not work properly, for example: π During calls, the screen will not be blocked, which will lead to accidental pressing. π Possible increased battery consumption due to constant screen activity. π± Some applications (e.g. banking) may be in error due to lack of sensor data. To get it back, repeat the steps and set a value of 1 to PS Enable.
π‘
Disabling the sensor through the engineering menu is a temporary solution. MIUI The parameters can return to the factory.
Alternative ways to disable the proximity sensor
If the engineering menu is not available or changes are not saved, try other methods:
Method 1: Through ADB (shutdown)
This method requires a PC and enabled debugging on USB:
- Connect your phone to your computer and open the command line in the ADB folder.
- Enter the command to check the connection: adb devices (should display the name of your device).
- Disable the sensor command: adb shell settings put system proximity_sensor_disabled 1
- Reboot the phone.
To return the sensor back, use the same command with a value of 0.
Method 2: Sensor Disabler application
Google Play has tools that allow you to turn off sensors without root rights, such as Sensor Disabler:
- π₯ Install the application and provide access to Special Features.
- π In the list of sensors, find Proximity Sensor.
- π Switch the slider to the Disabled position.
The disadvantage of the method: the application must work in the background, which increases battery consumption.
Method 3: Physical Disconnection (only for power users)
If the sensor breaks physically (for example, after a fall), it can be turned off at the plume level:
How to Disable the Sensor Physically (Risks!)
What to do if the proximity sensor shuts down on its own
Sometimes the sensor stops working without user intervention.
| Problem. | Possible cause | Decision |
|---|---|---|
| Sensor fails to respond to tests | Firmware failure after update | Reset the settings to factory (Settings) β Additionally. β Reset) |
| The screen is not locked during the call. | Error in the Phone app | Clear the application cache (Settings) β Annexes β Phone. β Warehouse β Clear the cache) |
| Sensor is delayed. | Sensor contamination or damage | Clean the top panel of the phone with alcohol or contact the service |
| Constant value of 0 in tests | Discarded plume or hardware breakdown | Disassemble the phone and check the connection of the plume |
If the sensor is disabled after installing custom firmware (for example, LineageOS or Pixel Experience), the problem may be the lack of drivers.
- Install the official firmware through the Mi Flash Tool.
- Update the kernel or patches for sensors (if available for your firmware).
β οΈ Warning: If the sensor stops working after a phone drop or moisture hits, do not try to turn it on through the engineering menu. This may lead to a short circuit.
The effect of the disconnected sensor on the battery and functionality of the phone
Many users fear that deactivation of the proximity sensor will adversely affect the work of Redmi. 9A. Let's look at the real consequences:
1. Battery consumption
The proximity sensor consumes a minimum amount of energy (about 0.1-0.3% of charge per day), its shutdown will slightly increase the operating time, but the effect will be invisible against the background of other processes (for example, mobile Internet or mobile Internet). GPS). However, if the screen is turned on during calls, the battery consumption will increase.
2. Calls and SMS
The main risk is random tapping during a conversation, such as:
- π You can accidentally put the phone down or turn on the speakerphone.
- π In messengers (WhatsApp, Telegram) can send voice messages or press buttons.
Solution: Use a headset or turn on Airplane Mode when making calls (if you donβt need mobile internet).
3. Operation of the applications
Some programs (such as banking or fitness trackers) check for sensors, and after shutdown, you may experience:
- π¦ Authorization errors in banking applications (requires to turn the sensor back on).
- πββοΈ Incorrect operation of pedometers or sleep trackers (if they use data from the proximity sensor to determine the position of the phone).
π‘
Disabling the proximity sensor does not affect the basic functions of the phone (communication, camera, GPS), But it can make you uncomfortable when you call.