The words “Don’t close the speaker area” on the Xiaomi Redmi screen appear when the MIUI system detects the lock of the top speaker — whether with a finger, a case or even dust in the connector. The message should protect the device from overheating and distortion of sound, but in practice it often works falsely, interfering with watching videos, games or calls. Worse, the warning can hang on the screen for several seconds, overlapping important elements of the interface.
The problem is particularly relevant for the Redmi Note 10/11/12, Redmi 9/10 and POCO flagships, where the speaker is close to the edge of the case. In this article, 5 working ways to disable annoying notification, including hidden MIUI settings, ADB commands and even hardware solutions, we will also discuss why a message appears for no apparent reason and how to avoid it reappearing after a system update.
Why is a warning and when can I ignore it?
The MIUI system analyzes the proximity sensor and microphone data to determine if the speaker is closed.
- 📱 Case with high sides - even a factory silicone bumper can block the vents of the speaker.
- 🧹 Dust or dirt in the speaker grid - especially after prolonged use without cleaning.
- 🎮 Games in horizontal mode – the palm accidentally covers the top of the smartphone.
- 🔊 Volume above 80% – the system perceives the vibrations of the body as a blockage.
- 🔄 The bug in the bug. MIUI 13/14, when the sensor is triggered for no reason (often after an update).
In most cases, a warning can be safely ignored if:
- 🔇 The speaker is working normally (no wheezing or silence).
- 📱 The phone does not overheat in the speaker area.
- 🔄 The message only appears in certain applications (for example, in TikTok or in the Internet). PUBG Mobile).
⚠️ Attention: If the warning is accompanied by a sound loss or the speaker is making extraneous noise, the problem may be hardware, for example, a membrane has detached or the contact has departed. In this case, it is not recommended to turn off the notification: it is better to contact the service.
Method 1: Disconnect via hidden MIUI settings (no root)
MIUI has an engineering menu where you can deactivate speaker check, which works on most Redmi devices with MIUI firmware version 12.5-14:
- Open the Phone app and enter the combination: ##36446337###
- In the menu that appears, select Hardware Testing → Audio → LoudSpeaker Mode.
- Find the Speaker Obstacle Detection (or the speaker obstacle sensor) and turn it off.
- Reboot the phone.
If the combination doesn’t work, try the alternative code:
##4636## → Phone information → Test menu → AudioBattery charge > 30%|Make a backup copy of the settings|Close all background applications|Check the version. MIUI on the telephone"-->
On some models (e.g. Redmi Note 11 Pro+), this option may be called Speaker Block Detection or hidden in the Sensor Test submenu. If you don't find an option, move on to the next method.
⚠️ Warning: After the sensor is turned off, the system will stop warning you of a real lock on the speaker. If you often put the phone down on soft surfaces (for example, on the sofa), you risk overheating the speaker.
Method 2: Use of the ADB-Teams (for advanced users)
If the engineering menu fails, you can disable the Android Debug Bridge (ADB) check, which requires a computer but does not need root rights, suitable for MIUI 13/14 and Android 11-14.
Step 1: Preparation
- 🖥️ Install. ADB Tools on PC.
- 📱 Turn on Debugging. USB on the phone: Settings → The phone. → Version. MIUI (Press 7 times to activate Developer Mode, then Settings → Additionally. → For developers → Debugging by USB.
- 🔌 Connect your phone to your PC and confirm your trust in your computer.
Step 2: Execution of commands:
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter in turn: adb shell settings put global speaker_obstacle_detection_enabled 0
- Reboot your phone with the command: adb reboot
To return the warning, use the same command, but with a value of 1 instead of 0.
| Xiaomi model | Support ADB-method | Notes |
|---|---|---|
| Redmi Note 10/11/12 | ✅ Yes. | Works on MIUI 12.5-14 |
| Redmi 9/9A/9C | ⚠️ Partially. | Maybe you need root. |
| POCO X3/X4/X5 | ✅ Yes. | Checked out at Global ROM |
| Redmi K40/K50 | ❌ No. | Use method 3 or 4 |
💡
If ADB does not recognize the device, try reinstalling drivers through Google’s official package or use Universal ADB Drivers.
Method 3: Edit the build.prop file (requires root)
For users with unlocked bootloader and root rights (for example, through Magisk) there is a radical method - editing the system file build.prop. This will disable the check at the firmware level.
Instructions:
- Install a file manager with root support (such as Root Explorer).
- Go to /system/build.prop and open the file in the text editor.
- Add the line at the end: persist.speaker.protect.disable=1
- Save the changes, set the rights 644 (rw-r-----).
- Reboot the phone.
If you've rebooted your phone and it's stuck on the MIUI logo, you've got a build.prop file that's damaged, restore it from a backup, or reflash the device.
⚠️ Attention: Incorrect editing of build.prop can lead to network loss, camera errors or complete system failure. TWRP!
What if the phone is not turned on after building.prop editing?
Method 4: Physical cleaning speaker (if the problem is dust)
If the warning comes from a speaker contamination, mechanical cleaning can solve the problem without software interventions.
- 🧴 Isopropyl alcohol (70%+) or a special liquid for cleaning electronics.
- 🖌️ Soft brush (for example, for makeup) or toothpick.
- 💨 Compressed air cylinder (optional).
Step-by-step cleaning:
- Turn off the phone and remove it. SIM-map.
- Carefully tuck the speaker grid with a plastic card (do not use metal!).
- Wet the brush in alcohol and clean the inside of the speaker without pressing.
- Dry the phone for 10-15 minutes (you can dryer at minimum power with cold air).
- Blow the hole with compressed air to remove the remaining dust.
On Redmi Note 10 Pro and newer grids, the speaker is often glued to the floor, so warm up the area with a hair dryer (temperature no higher than 60°C) and tuck it neatly with a mediator.
💡
Cleaning the speaker is recommended every 3-6 months, especially if you often carry your phone in your pocket or use it in dusty conditions (for example, at a construction site or in a workshop).
Method 5: Alternative solutions (if nothing worked)
If all of the above methods do not work, try:
- 🔄 Firmware rollback: On some devices, a warning bug appeared after updating to MIUI 14. Try going back to the MIUI 13 via Xiaomi’s official website.
- 🛠️ Replacement of the speaker: If the sensor is physically damaged (for example, after a fall), it may be necessary to replace the module.
- 📲 Using a magnetic film: Stick a thin magnetic film (for example, from an old case) onto the speaker area – this will fool the proximity sensor.
- 🎧 Switching to Bluetooth headphones: In some apps (like YouTube), the sound automatically switches to Bluetooth and the warning doesn’t appear.
For Redmi 9 and Redmi 10 models, users on the forums recommend disabling battery optimization for system applications:
- Go to Settings → Applications → Application Management.
- Find System Settings and MIUI bootloader.
- Select Battery Limitations → No restrictions.
Frequent Mistakes and How to Avoid Them
When trying to remove a warning, users often make the following mistakes:
| Mistake. | Effects of consequences | How to fix it |
|---|---|---|
| Using the wrong thing ADB-code | The command does not apply, or other settings are reset. | Check the symbol register and gaps in the team |
| Editing build.prop without backup | The phone is not switched on or loses the network | Restore the file from the backup or flash the stock firmware |
| Cleaning dynamics with metal objects | Damage to the membrane or contacts | Use only plastic or wooden sticks |
| Disabling the proximity sensor completely | Signs and automatic screen locking during a call are not working | Use target commands for the speaker only |
Another common problem is that the alert comes back after the MIUI update.
- 📵 Turn off automatic updates in Settings → The phone. → Updating the system → ⚙️ → Auto-update.
- 🔧 After manual update, reapply ADB-command or edit build.prop.