The proximity sensor problem on Xiaomi smartphones, especially the Redmi 7A budget model, is one of the most common user complaints: the screen goes out during a conversation, does not light up when you lift it to the ear or, conversely, refuses to respond to the distance of the device, making it impossible to complete a call or use hands-free communication. Device owners often look for a way to completely deactivate this sensor to get rid of false positives that overlap the call interface.
It should be noted that the standard Android settings menu or MIUI shell does not have a simple “Switch off the proximity sensor” button. Security and basic phone protocols do not provide for a regular shutdown of this module, since it is critical for basic communication functionality. However, there are workarounds that include engineering menus, special calibration applications and even using USB debugging via computer.
In this article, we will take a look at all the available methods of solving the problem, from software calibration to more complex manipulations.We will look at why the sensor behaves incorrectly on the Redmi 7A model, how to distinguish software failure from physical failure, and what hidden commands can help you regain control of the device during phone calls.
Why the proximity sensor on the Redmi 7A is not working
Before we start taking drastic measures to shut down the sensor, we need to understand the nature of the sensor's malfunction. The Redmi 7A uses an optical sensor at the top of the screen next to the speaker. The main cause of failure is factory calibration or physical contamination. A protective glass that is not glued according to the instructions or a thick film often overlaps the sensitive element, which causes the phone to "think" what is in the ear and extinguishes the display.
Another common cause is a software conflict in the MIUI shell. After a system update, old configuration files may not interact properly with the new kernel, leading to chaotic sensor behavior. It is also worth considering that budget Xiaomi devices often use approximation sensor software emulation, which is less accurate than hardware implementation and more susceptible to changes in firmware code.
⚠️ Warning: Before any manipulation, be sure to back up important data. Interference with system settings can lead to unstable phone operation.
Software calibration through the engineering menu
The safest and first step to take is to try to recalibrate the sensor through an integrated engineering menu, which requires no root rights and allows you to reset the sensor to factory values, which often solves the problem of false positives.
You need to open the Phone app and dial ##6484##. If the code is entered correctly, the CIT menu will open. In the test list, you need to find the item associated with the Proximity Sensor, which is usually at the top of the list or marked with the appropriate icon.
Inside the test, you'll see a screen with numerical values. When you put your hand up to the top of the screen, you should see the reading change (e.g., from 5.0 to 0.0). If the values change, but the phone still turns off the screen during the call, press the "Calibration" or "Pass" button, following the instructions on the screen. Once the procedure is complete, the phone can automatically reboot.
Use of third-party applications for calibration
If the built-in menu didn’t work, you can use specialized utilities from the Google Play Store. There are applications developed by enthusiasts specifically for recalibration of sensors on Xiaomi devices. One of the most popular and proven tools is the Proximity Sensor Reset & Fix app or similar utilities with high ratings.
The way these programs work is to force the sensor service to restart and write down new reference values. Once you install the app, run it and follow the instructions. Usually, the process is this: you remove all objects from the screen, press the Start button, then close the sensor with your hand and open it again. The program captures the minimum and maximum light values and writes them into the system configuration file.
⚠️ Note: Do not use applications with questionable reviews that require root rights without a clear explanation of your actions.
It's important to understand that these applications work within user permissions. They can't change low-level drivers, but they often do an effective job of adjusting trigger thresholds. If the problem persists after using multiple applications, it's probably not the software calibration, but the deeper system constraints or hardware malfunction.
Disconnection through developer and ADB settings
For more advanced users who want to try to programmatically disable or reconfigure sensor behavior, there is a method using debugging by USB. This is not a complete shutdown of the module, but a change in the logic of its operation through the ADB (Android Debug Bridge.You will need a computer and drivers installed to do this. ADB.
The first step is to activate the developer mode on Redmi 7A. Go to Settings → About Phone and quickly click 7-10 times on the MIUI Version. After the message “You became a developer” appears, go back to the main settings menu, find the “Additional” or “Extended settings” section and select “For developers”.
In the developer menu, turn on the item "Debugging by USB." Then connect the phone to the computer with a cable. On the computer, in the command line (terminal), you can enter commands to check the status of sensors or reset their state. For example, the command to restart the sensor service can look like this:
adb shell service call sensor_service 1☑️ Preparation for work with ADB
It is worth noting that direct commands to completely disable the proximity sensor via ADB in modern versions of Android are often blocked by security. However, resetting services can temporarily eliminate the sensor freeze. If standard methods do not help, some users resort to installing patched versions of system applications, but this requires superuser rights (Root) and carries high risks.
Analysis of causes of failures and diagnostic table
Understanding what is causing a crash helps you choose the right solution. On the Redmi 7A, problems are often complex. Below is a table that will help you categorize your situation and choose your strategy.
| Symptom | Probable cause | Method of solution |
| :--- | :--- | :--- |
| The screen goes out immediately when you call | Glass pollution, thick film | Take the film, wipe the screen |
| Screen not going off in the ear | Calibration failure, MIUI bug | Calibration through engineering menu |
| Sensor "blinks" (screen is turned on/off) | Program conflict, application bug | Resetting, software update |
| Complete no reaction | Hardware plume failure | Sensor replacement in service |
Effects of protective glazing
Hardware solutions and physical disconnection
If the software methods are powerless and the sensor continues to cause inconvenience, there is a hardware solution. On the Redmi 7A, the proximity sensor and the light sensor are often combined into one module or located very close to the display plume. Full physical shutdown is only possible when the device is disassembled, which deprives you of automatic screen quenching and can lead to accidental cheek pressing during a conversation.
Physical shutdown requires gently opening the back cover (plastic and held on latches and glue), unscrewing the frame screws and accessing the motherboard. The sensor module is usually connected through a small connector. Disconnecting the sensor plume, you force it to turn it off. However, the system can perceive this as a breakdown and either keep the screen on constantly or, conversely, block the call function.
💡
Use a thin plastic card or a special tool to open the case so as not to damage the plastic latches of the Redmi 7A. Metal tools can leave traces or close contacts.
FAQ: Frequently Asked Questions
Can the proximity sensor driver be removed completely?
Why did the MIUI update stop working?
Does the sensor have an effect on the magnetic case?
💡
In most cases, the problem is solved by removing the protective film and recalibrating through the engineering menu, without the need for complex repairs.