On Xiaomi smartphone screens, an annoying notification regularly pops up: “Don’t close the speaker area,” which appears when talking, listening to music, or even during games if the system thinks you accidentally closed the top speaker with your hand. For most users, this warning is not of practical use — especially if you are used to holding the phone in a certain way or using a case with a cutout under the speaker.
Unfortunately, the standard MIUI settings don't have an obvious switch to disable this feature. The manufacturer added it as part of "proof against random audio blocking," but in practice it often works falsely. In this article, we'll look at all the working methods, from simple tricks with settings to deep changes through ADB and modified firmware. Importantly, some methods require an unlocked bootloader or root rights, so carefully evaluate the risks before applying them.
Why is there a warning and can it be ignored?
The message “Don’t close the speaker area” is part of the Smart PA (Power Amplifier) technology that Xiaomi has integrated into its devices since MIUI 12.
- 📱 Approximation sensor – determines how close to the speaker is the obstacle (hand, cover, table surface).
- 🔊 Algorithm of sound analysis - compares the outgoing signal with the "reference" and reveals distortions characteristic of a closed speaker.
- 🤖 Machine learning in new models (e.g. Xiaomi) 13/14) The system learns from your habits and can reduce the number of false positives.
In theory, the function is useful: it prevents the speaker from overheating and distortion of sound, but in practice, users face problems:
- ⚠️ Notification appears even when the speaker is not closed (for example, when using transparent covers).
- 🎵 Interrupts music or video playback by dropping volume.
- 📞 Interfering with calls, especially if you use a speakerphone.
Can we ignore this warning? Yes, but with reservations:
- 🔇 If you're sure the speaker isn't closed, there's no consequences for the device.The system just warns "just in case».
- 🔥 With prolonged closure of the speaker (for example, if the phone is lying down on a soft surface), the risk of overheating increases - but modern models have additional protections.
Method 1: Disconnect via hidden MIUI settings (no root)
Some versions of MIUI 13/14 have a hidden option to deactivate the alert without using ADB or root, a technique that doesn’t work on all models, but it’s worth trying first.
Instructions:
- Open the Phone app and type in the code ##6484## (some devices may require code #64663##).
- You’ll be taken to the “MTK Engineer Mode” (MediaTek chip engineering menu) or “Hardware Testing” (Snapdragon) menu.
- Go to the Audio section → Speaker Test.
- Find the Smart PA Protection or Dynamic Speaker Warning option and turn it off.
- Save the changes and restart the phone.
If the code doesn’t work, try an alternative path:
- Go to Settings. → The phone.
- Tap 5-7 times on the MIUI version until the message “You are a developer!” appears.
- Go back to the main settings, open “Additional settings → For developers”.
- Find the option “Debug by USB” and turn it on.
- Connect your phone to your PC and use it. ADB-command (see Method 3).
Developer mode is on
Connected. USB-cable (original)
Installed ADB drivers on PC
Backup of important data is made
-->
⚠️ Warning: The engineering menu contains options that could disrupt your phone. Do not edit other settings unless you are sure of their purpose!
Method 2: Using third-party applications (without root)
If hidden settings are not available, you can try to circumvent the restriction with third-party utilities. These applications do not require root, but their effectiveness depends on the version of MIUI and the phone model.
Top.-3 tested applications:
| Annex | How it works | Compatibility | Risks. |
|---|---|---|---|
| MIUI Hidden Settings | Unlocks access to hidden MIUI settings, including speaker settings. | MIUI 12-14, most models | Maybe not working on custom firmware. |
| QuickShortcutMaker | It allows you to create a shortcut for direct access to Smart PA settings. | All versions of Android | Requires manual search of the desired parameter |
| Disable Flags | Disables system alert flags, including dynamic messages. | MIUI 13+, Android 11+ | May be reset after the update |
Instructions for MIUI Hidden Settings:
- Download the application from APKMirror (the official store can block such utilities).
- Launch and provide all the requested permissions.
- Go to the "System" section UI» → «Notifications».
- Find the Smart PA Warning and turn it off.
- Reset the device.
If the app doesn’t find the right setting, try QuickShortcutMaker:
- Open the app and type in “Smart PA” search.
- Create a shortcut for the activity found (e.g. com.android.systemui.smartpa.SmartPASettings).
- Through the label you will get to the hidden menu, where you can turn off the warning.
⚠️ Note: Some applications may request Notification Listener permission, but only give it to trusted utilities, which can be used by attackers to intercept personal data!
Method 3: Disconnect via ADB (for advanced users)
If previous methods have failed, the most reliable way is to use ADB (Android Debug Bridge) which requires connecting the phone to a computer, but no root rights are needed.
What you need:
- 🖥️ Computer with Windows/macOS/Linux.
- 📱 USB-cable (preferably original).
- 🔧 Installed drivers ADB and Fastboot.
- 🔓 Included debugging by USB phone-on.
Step-by-step:
- Download Google’s Platform Tools and unpack the archive.
- Connect your phone to your PC and select File Transfer mode.
- Open the command prompt (cmd in Windows or Terminal in macOS/Linux) and go to the folder with the platform-tools.
- Enter the command to check the connection: Adb devices should appear the name of your device.
- Execute the command to disable the warning: adb shell settings put global smart_pa_warning_enabled 0
- Reboot the phone.
If the team doesn’t work, try an alternative:
adb shell am broadcast -a android.intent.action.SMART_PA_DISABLERefrain the warning if required:
adb shell settings put global smart_pa_warning_enabled 1What if the ADB can’t see the device?
💡
ADB-The wrong commands can be the most versatile way, but it takes care!
Method 4: Editing system files (root required)
If you have a bootloader unlocked and root rights set (for example, through Magisk), you can turn off the warning by editing system files, which is the riskiest method, but gives 100% results.
Instructions for MIUI 13/14:
- Install a file manager with root support (such as Root Explorer or Mixplorer).
- Go to /system/vendor/build.prop
- Find the line: ro.vendor.audio.smartpa.enable=true and replace true with false.
- Save the file and restart the phone.
For MIUI 12 and older versions:
- Open the file: /system/etc/audio_platform_info.xml
- Find the block: <smart_pa> <enable>true</enable> </smart_pa> and replace true with false.
- Set the rights 644 (rw-r----) for the file.
An alternative method is to remove the applet responsible for the prevention of:
- In Magisk, install the Disable Smart PA Warning module (available in the Magisk Modules repository).
- Or manually delete the file: /system/priv-app/SmartPA/SmartPA.apk (pre-backup!).
⚠️ Note: Editing system files can result in bootloop (locked on) or loss of warranty.Be sure to create a full backup through the TWRP or MIUI Backup!
Method 5: Install custom firmware (for enthusiasts)
If you’re willing to take drastic measures, installing custom firmware (like LineageOS, Pixel Experience or Xiaomi.EU) will completely remove the dynamic warning, but this method is only suitable for power users.
The advantages of custom firmware:
- 🚀 No unnecessary system warnings (including Smart) PA).
- 🔄 Regular updates and lack of Bloatware.
- 🛠️ Possibility of fine tuning of sound through ViPER4Android or JamesDSP.
Cons:
- ⚠️ Loss of official guarantee.
- 🔋 Possible battery or camera problems (depending on firmware).
- 🔄 Requires unlocking the loader and installation TWRP.
Recommended firmware for Xiaomi:
| Firmware | Features | Compatibility |
|---|---|---|
| Xiaomi.EU | MIUI without Chinese restrictions, weekly updates. | All models of Xiaomi/Redmi/Poco |
| Pixel Experience | Pure Android with Pixel features, stable operation. | Popular models (Mi 11, Redmi Note 10, etc.) |
| LineageOS | Maximum customization, long-term support. | Limited list of devices |
Installation instructions:
- Unlock the bootloader through the Mi Unlock Tool (requires a wait of 7-15 days).
- Install TWRP Recovery for your model.
- Download firmware and GApps (if you need Google services).
- In TWRP, run Wipe → Format Data (all data will be deleted!).
- Install firmware and Magisk (for root).
💡
Before installing custom firmware, check the feedback on its stability for your model on the XDA Developers forum.
What to do if nothing helps
If none of these methods worked, the problem may be deeper:
- 🔊 Approximation sensor malfunction – if the sensor is constantly falsely triggered, a replacement is required (in the service center).
- 📱 Software failure – try resetting to factory settings (Settings) → Additionally. → Recovery and discharge).
- 🔄 Update MIUI — In new firmware versions, the bug could have been fixed (check in Settings). → Updating the system).
You can also try to “deceive” the system:
- 🎧 Use Bluetooth headphones – a warning won’t appear if the sound goes through them.
- 📦 Plug thin tape on the proximity sensor (temporary solution, may impair the performance of other functions).
- 🔇 Disable notifications from System Applications** in notification settings.
If you are sure that the problem is in the hardware, contact the service center. In official centers Xiaomi can turn off the warning via the service menu (but this is not guaranteed).