Owners of the popular Xiaomi Redmi Note 7 often encounter an intrusive system notification that blocks access to the screen during a conversation. The message "Do not close the speaker area" or "Cover the sensor" appears suddenly and prevents full use of the smartphone. This is not just a bug, but the result of the protective mechanism of the MIUI shell, which responds to the slightest changes in lighting in the upper part of the case.
The problem lies in the location of the proximity sensor, which is integrated directly into the upper auditory speaker in this model. Any partial overlap, whether it is a case, a protective glass or even a finger, is perceived by the system as a signal to lock the screen. Redmi Note 7 is known for its sensitivity to such interference, which requires the user to fine-tune or physically modify the device for comfortable operation.
In this guide, we will look at all possible ways to solve this problem, from the software settings in the developer menu to the physical calibration of the sensor, you will learn how to correctly adjust the proximity sensor, turn off erroneous notifications and prevent accidental screen locks during important phone conversations.
Reasons for the appearance of the system warning on the Redmi Note 7
The main reason for the error is a design feature of the Redmi Note 7. Xiaomi engineers placed the proximity sensor under the mesh of the speaker, rather than displaying it in a separate window.This makes the sensor extremely susceptible to contamination, dust and improperly pasted protective glass. Even a microscopic speck of dust can distort the readings, making the system think that the phone is pressed to the ear.
The second factor is the software aggression of the MIUI shell. The operating system algorithms are set to prevent accidental cheekstrokes. If the sensor detects a dimming, the screen goes out. If you push the phone away at that point, but the sensor still "sees" the obstacle, a warning appears, a protective feature that, in poor calibration, becomes a problem.
⚠️ Warning: This constant notification may indicate that the upper part of the housing has become contaminated or the protective glass has shifted and overlaps the sensor work area.
It's also worth considering the impact of third-party applications: some messengers or call recording software can intercept the sensor's control, causing conflicts, and in rare cases, the problem lies in a hardware plume that may have left after the device fell.
Programmatic calibration of the proximity sensor
The first and most secure step is software calibration. MIUI There's a hidden engineering menu that allows you to reset the sensor to factory values, and you have to open the standard Phone app and enter a special application to access it. USSD-code.
Enter ##6484## or ##4636## to enter the CIT (Customer Information Test) menu. In the list that opens, look for the Proximity sensor or Approximation Sensor. You will see a window with two states: Near (close) and Far (far) and your goal is to make Far burn when the sensor is free, and Near when you close it with your hand.
☑️ Algorithm of sensor calibration
If you press the Calibrate button and then close the sensor with your hand, you don't feel vibrations or see a change in status, try repeating the procedure 3-5 times. Sometimes the system takes several cycles to correctly determine the light limits. After successful calibration, restart the device.
What to do if the calibration does not pass?
Physical causes and elimination of interference
Often the problem is not the software, but the physical obstruction. Redmi Note 7 owners complain about black-framed protective glass. If this frame is millimeter-long, the speaker-zone-lock, the sensor will constantly "think" that the phone is near the ear. Visually, this may be invisible, but for an infrared sensor it is a blank wall.
It is recommended to carefully examine the top of the screen when the display is off under bright light. If you see a black strip of glass coming into the area of the speaker grid, the solution is one - replacing the glass with a model with a notch under the speaker (U-shape or without a bezel).
Another common cause is that you get moisture or condensate into the speaker's grid, and when you use your phone in the bathroom or outside, you can get a micro fog inside, and in that case, the infrared light is scattered, and the sensor is wrong, and you let the device dry in a warm, dry place for a few hours.
⚠️ Warning: Do not use a dryer or heater to dry the speaker.High temperature can damage the screen's adhesive layer or the sensor itself, leading to costly repairs.
Using third-party applications to control the sensor
When MIUI is failing, Google Play apps come to the rescue. There are a number of utilities, such as Proximity Sensor Reset or Sensor Test, that allow you to force the sensor driver to restart or change the sensitivity threshold.
One radical but effective way is to install modules for Magisk (if you have a Root right), and there are scripts that completely disable the proximity sensor, in which case the screen will stop going out, but you will have to manually lock the phone with a button so that it does not put the phone down with its cheek while talking.
-->
Remember that installing third-party software requires permissions that may affect your privacy. Use only proven applications that rank highly and have a lot of positive reviews.
Resetting and extreme measures
If none of the above methods worked, there may have been some critical configuration errors in the system, in which case a full factory reset may help, and make sure to back up all important data before doing so, as the process will delete all user files.
Go to Settings → Advanced Settings → Reset and Reset → Reset. Once cleaned, the phone will return to out of the box, and all system bugs causing false sensor alarms should disappear. If the problem is left even on a clean system, it is a hardware malfunction.
In the event of a hardware breakdown (such as oxidation of sensor contacts or failure of the plume), you will need to contact the service center. Self-disassembly Redmi Note 7 is difficult due to the glass back cover and the risk of damage to the display when opened is very high.