Redmi smartphones, particularly the Xiaomi A2 Lite, often experience touch screen features during phone conversations. Users notice that the screen goes off not when the phone is held to the ear, but at any time or does not light up at all when the device is removed. This is due to the operation of the proximity sensor, which in budget models is often implemented programmatically through the top of the display, rather than through a separate physical module.
This component can cause serious discomfort: you accidentally hit the chill button with your cheek or you canβt see the call timer. You need to intervene to adjust the sensitivity or completely deactivate the lock function when you talk. In this article, we will look at all the available methods for solving this problem, from standard settings to hidden engineering menus.
It's important to understand that turning off the sensor completely changes the logic of how the phone works when it makes calls, that the screen will stop turning off automatically, which can lead to accidental taps if you hold the device to your face, but for many users, this becomes the only way to communicate comfortably when the standard calibration stops coping with the task of recognizing objects.
The reasons for false positives on the Redmi A2 Lite
The problem is often with the design of the Xiaomi A2 Lite. Unlike the flagship models, it uses a virtual sensor that reads changes in light and capacitance at the top of the screen. Any film, even transparent, can interfere with the correct reading of data, causing chaotic screen behavior.
Another factor is a software glitch in the MIUI shell. Once the system is updated, the sensor processing algorithms may not work properly, and the system misinterprets the touch of the cheek as a signal to lock, even if the phone is 10-15 centimeters away from the face.
Physical pollution is also important to consider: Dust, greasy spots, or moisture in the area of the speaker block infrared radiation or distort the light sensor readings, which makes the Android system think that the device is in your pocket or ear, although this is not the case.
Checking the performance through the engineering menu
Before you try to disable the feature, you need to check the current state of the sensor. Xiaomi smartphones have a hidden test menu that allows you to see raw data from the sensors in real time, which will help you to understand whether the phone βseesβ your hand or object in front of the screen.
To enter diagnostic mode, use the standard phone code. Enter ##6484## in the dial box. The CIT (Customer Information Test) menu will open. In the test list, find "Proximity Sensor." When you hold your hand to the top of the screen, the Distance value should change from 5.0 to 0.0.
- π± If the value doesnβt change at all, itβs possible that the sensor is physically faulty or disabled in the system.
- π If the value jumps without touching β a thick protective film is pasted on the screen or there is a software conflict.
- β If the reaction is instant and accurate, the problem may be in sensitivity settings. MIUI.
The same menu often has a Calibrate button, and by pressing it and removing your hand from the screen, you'll let the system record new light reference values, which can solve the problem without having to shut down the function completely.
What if the code doesn't work?
Sensitivity setting in the system menu
In some versions of the MIUI shell installed on the Redmi A2 Lite, there is a software-based sensitivity adjustment that is not completely disabled, but an effective way to reduce false positives, and the settings are deep in the menu designed for developers or special features.
Go to Settings, then select Advanced Settings and find Special Options, and look for an option that is associated with pocket mode or proximity sensor, and if that option is not on the standard menu, it may be hidden.
To access hidden features, you sometimes need to activate the developer mode. Go to About Phone and quickly click on the build number (MIUI Version) 7 times to access it. After that, a new section for developers will appear in the settings menu, where additional sensor management options can be available.
| Parameter | Default value | Recommended value | Impact |
|---|---|---|---|
| Sensitivity | Medium | Low. | Reduces false blocking |
| Pocket mode | Included. | Off. | Prevents quenching in the bag |
| Sizing | Automobile | Hand-held | Accurate setup under film |
| Screen delay | 15 seconds | 30 seconds. | Increases working time |
βοΈ Check before changing the settings
Use of third-party applications for management
If Xiaomiβs standard tools donβt allow for flexible sensor behavior, Google Play apps come to the rescue, running on top of the system and can force the sensor to change its operating parameters or emulate its deactivation for certain scenarios.
One popular solution is the Proximity Sensor Reset & Fix app, which allows you to reset the sensor cache and perform deep calibration that is not available on the regular menu, and another is to use call management applications that ignore the system sensor and use alternative locking methods.
β οΈ Note: Installing third-party apps that require root rights or special permissions may reduce the security of your device. Use only proven high-ranking programs and carefully read the permissions requested.
There are also caller apps that have their own proximity sensor settings, ignoring the system settings, and once you install this software, you can manually set the distance at which the screen will go out, or you can turn it off completely only for incoming calls.
Disconnection through ADB and system commands
For advanced users who want to gain full control of the Xiaomi A2 Lite, there is a method to disable the sensor through USB debugging. This method requires connecting the smartphone to the computer and installing ADB drivers.
First, you need to activate USB debugging in the Developer menu. Then connect the phone to the PC and open the command line. Enter commands allows you to change the global system parameters that are responsible for the behavior of the proximity sensor.
adb shell settings put system proximity_on_off 0This command tries to translate the sensor switch on to "0" (off). However, depending on the Android and MIUI version, the parameter may be called differently. Sometimes you need to use the wm density command to change the density of the pixels, which indirectly affects the sense zones.
- π Make sure that drivers are installed on the computer ADB.
- π± Allow debugging on the smartphone screen when you first connect.
- π» Follow the commands carefully, one mistake can lead to instability.
π‘
Before making changes through ADB, make sure to make a full backup of the data. Resetting to factory settings may not undo changes made to system files through debugging.
Radical Methods: Changing Configuration Files
The most difficult and risky method is to edit system configuration files, which requires superuser (Root) rights, and the files that control the hardware are at the root of the file system, and changing them allows you to physically disable the sensor at the driver level.
You need to find the proximity.sensor.calibration file or similar in the /data/ or /system/ directory. By changing the calibration values to zero or by deleting the file (pre-backup), you can make the system ignore the sensor readings.
β οΈ Attention: Editing system files can lead to a bootloop (device building).If you are not sure about your actions, it is better to use software methods to disable through call settings.
The alternative is to install modified Magisk modules that patch the system on the fly, disabling the proximity sensor driver.This is safer than direct file editing, since the module can be removed at any time through Recovery.
Influence of accessories and protective glasses
Often, the problem is not solved software, but physically. Owners of the Redmi A2 Lite often notice that after sticking a new protective glass, the sensor begins to work incorrectly, the glass can block the infrared port or create glare, which the sensor perceives as an obstacle.
If you use a high-sided case, it can also interfere, and when you talk, your finger may slightly touch the side, pressurizing the screen or closing the sensor area, and removing the case is the first step in diagnosis.
In some cases, simple cleaning of the speaker zone with alcohol solution helps. Fat traces from conversations create a film that distorts readings. Regular hygiene of the gadget is an important part of preventing false positives.
π‘
In 80% of cases, the problem is solved by removing the protective film or correctly calibrating through the engineering menu, without the need for complex root rights.