Disable the function “Do not close the speaker area” on Xiaomi Redmi Note 7

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.

📊 What is most often covered by the sensor on your Redmi Note 7?
Protective glass
High-sided case
Dust in the grid dynamics
Finger while talking

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

Done: 0 / 4

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?
If the system consistently produces a Fail error, try to wipe the top of the screen with an alcohol wipe. Fat spots can interfere with the correct operation of the sensor. Also make sure that you do not close the camera or other sensors with your palm during the test. Configure through the developer menu and additional settings If standard calibration didn't help, you can use the advanced system settings. To do this, you need to activate the developer mode. Go to Settings, select About phone and quickly click 7-10 once-point version MIUI, until you have a message that you have become a developer. → For developers, find the section that's connected to sensors or input. In some versions MIUI (Especially on Android 9 and 10, which are relevant for the Redmi Note 7, you can find the option of “Test Sensors” or the ability to disable certain monitoring services, although direct disabling of the proximity sensor is usually not available here to avoid critical errors. A more effective method in this section is to clean up the system services data, and look for the system process that is responsible for Phone Services or Phone Services in the application list, and cleaning up the cache of this component can remove the software glitch that causes false positives. Parameter Default Value Recommended Action Approximation Sensor Included Calibration through CIT Pocket Mode Active Disable in lock settings Protection against accidental presses Active Try to disable Google Play Services Active Update to the latest version

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.

Can I completely disable the proximity sensor without Root rights?
The official means of the system are not. MIUI It doesn't provide that option in the standard menu. ADB-commands to disable a specific system component, but it requires a PC connection and Android administration knowledge.
Why did the MIUI update get worse?
Newer firmware versions often change the algorithms for working with the hardware. The updated driver can be more sensitive to interference or, conversely, have compatibility bugs with a specific batch of sensors installed in your Redmi Note 7.
Does the battery discharge affect the sensor?
At a critically low charge (less than 5%), the system can go into power saving mode, turning off some background monitoring processes, which sometimes leads to incorrect operation of the periphery, including sensors.