Have you ever encountered a situation where while talking or listening to music on Xiaomi, the sound suddenly becomes muted, you just slightly cover the speaker with your hand? The reason for this is the “Domain” function (or “Noise suppression when closing the speaker”), which is supposed to protect your hearing from sharp sounds, but often works too aggressively, especially when listening to podcasts in transport when the phone is in your pocket, or during speakerphone communication when the speaker accidentally closes the palm.
In this article, we will explain why Xiaomi smartphones automatically turn down the volume when the speaker is closed, as it is associated with proximity sensors and MIUI algorithms, and most importantly, how to completely disable this feature on different models (from Redmi Note 10 to Xiaomi 14 Ultra).
Spoiler: the solution isn't always on the surface. Some firmware has the option hidden in the engineering menu, and others can only deactivate it through the use of a software. ADB-But don't worry, we've detailed each method with step-by-step screenshots and explanations.
What is the “Region” function and why does it interfere with
The Domain function (Pocket Mode or Speaker Occlusion Detection) was implemented in MIUI to prevent two problems:
- 🔊 Hearing damage – when the speaker is closed (such as a phone in your pocket), the sound is reflected and can cause discomfort or even ear injury at high volume.
- 📱 Overheating speaker – closed speaker is worse cooled, which theoretically reduces its resource.
- 🚫 False positives – the proximity sensor or accelerometer mistakenly recognizes the speaker closing (for example, when you hold the phone horizontally).
In practice, the algorithm often works even with minimal touch on the speaker — just put your finger next to the grille and the volume drops by 30-50%, especially on models with a lower speaker (for example, the POCO X5 or Redmi 12), where the hand often touches the sound grille.
Interesting fact: on some firmware (MIUI 14+), the function works even with wireless headphones connected, if the system sound is going through the speaker (for example, notifications or alarm clocks), this is due to the fact that the algorithm analyzes not only the physical closure, but also the change in acoustic resistance around the speaker.
How to Check if Area is Enabled on Your Xiaomi
Before you turn off the function, make sure that the problem is in it. Here are 3 ways to diagnose:
- Close speaker test: turn on the music at medium volume and slowly close the speaker with your palm. If the sound is sharply muffled, the function is active.
- Check through the engineering menu: enter the code ##4636## in the phone application, go to Audio → Speaker Test and see the Occlusion Detection option (if any, the function works).
- Log analysis: connect your phone to your PC, turn on Debugging USB and enter ADB command: adb shell dumpsys audio Look for lines with occlusion or pocket_mode.
If none of the methods showed activity, but the sound is still muted, the problem may be:
- 🔋 Proximation sensor (contaminated or defective).
- 📲 Firmware failure (especially after update) MIUI).
- 🎧 Conflict with applications (e.g. Google Assistant or Dolby Atmos).
💡
If you close the speaker, you don't just mute the sound, you completely lose it, check the Adaptive Sound settings in Settings → Sound. Sometimes these functions conflict.
Method 1: Disconnect via standard MIUI settings
On most modern Xiaomi smartphones (starting with MIUI 12.5), the Domain feature is hidden in the audio menu.
- Open the Settings. → Sound and vibration.
- Scroll down to the "Additional Settings" section (or on some firmware).
- Find the item “Closing the speaker noise suppression” (or Speaker Occlusion, Pocket Mode).
- Transfer the slider to the "Off" position.
If there is no such item, try an alternative path:
- Go to Settings → Special features → Sound effects.
- Turn off the option "Automatic volume control".
On some models (for example, Xiaomi 13T or Redmi K60) the function may be called differently:
| Xiaomi model | Name of the function in MIUI | The path to settings |
|---|---|---|
| Redmi Note 11/12 | Pocket mode | Settings → Sound → Pocket Mode |
| POCO F4/F5 | Occlusion Detection | Settings → Additional → Sound |
| Xiaomi 12/13 | Adaptive sound (tab) | Settings → Sound → Adaptive sound → Settings |
| Xiaomi Pad 6 | Speaker Protection | Settings → Device → Sound |
Make sure the proximity sensor isn't the problem | Back up the audio settings | Check the MIUI version (updates may reset) | Write down the current volume levels to compare-->
Method 2: Disconnect via the engineering menu (for advanced)
If the function does not appear in the standard settings, it can be deactivated through the engineering menu.
⚠️ Warning: Changes to the engineering menu are not officially supported. If the speaker stops working after manipulation, you will need to reset or flash the device.
Instructions:
- Open the Phone app and enter the code ##3644633## (some models run ##4636###).
- Go to the Hardware Testing → Audio section.
- Find Speaker Occlusion or Pocket Mode and set Disable.
- Save the settings and restart the phone.
If the engineering menu is blocked (on some firmware for Europe), use the ADB-team:
- Connect your phone to your PC, enable USB Debugging (Settings → About Phone → MIUI Version → 7 times press to unlock the developer mode).
- Open the command line and type: adb shell settings put global speaker_occlusion_enabled 0
- Reset the device.
What to do if ADB is not working?
Method 3: Editing configuration files (root)
For users with unlocked bootloaders and root rights, there is a radical method: editing system files, which is the most reliable way to turn off the function permanently, but requires caution.
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Cross the path: /system/vendor/build.prop or /system/etc/audio_platform_info.xml
- Find the lines that contain ro.audio.speaker.occlusion.enable=true or
- Replace true with false, save the file and reboot the phone.
⚠️ Warning: Incorrect editing of system files can lead to bootloop ( looped boot). TWRP.
If there are no files, the function can be written in /vendor/etc/audio_effects.conf. Look for options with occlusion or pocket.
Alternative solutions if the function is not disabled
If none of these methods worked, try to get around the problem in other ways:
- 🔧 Use an external speaker: connect a Bluetooth speaker or headphones – the Area feature does not affect them.
- 📱 Disable the proximity sensor: in the engineering menu (#6484##) deactivate the Proximity Sensor. Minus - may stop working functions during the call.
- 🔊 Set up the equalizer: in Settings → Sound. → Increase the low frequencies – this partially compensates for the muffling.
- 🛠️ Install custom software: firmware like LineageOS or Pixel Experience does not have the “Domain” function».
For models with stereo speakers (for example, Xiaomi 11T or POCO F3), you can reassign the output of sound to the upper speaker, which is less likely to close:
- Install the SoundAssistant app from Google Play.
- Enable the option “Separate speaker management”.
- Turn off the lower speaker in the application settings.
💡
If Area only interferes with calls, try turning off Voice Improvement in your phone settings, an option that often conflicts with sensors.
Common Mistakes and How to Avoid Them
When you try to disable the feature, users often make mistakes that lead to new problems.
| Mistake. | Effects of consequences | How to fix it |
|---|---|---|
| Disabling the proximity sensor through the engineering menu | The screen does not go out during the call, quick battery discharge | Return the sensor settings to their original state or use the Proximity Sensor Reset app |
| Editing build.prop without backup | Bootloop or loss of sound | Restore the file from the backup or reflash the phone |
| Using ADB without Developer Rights | Error device unauthorized | Confirm debugging on your phone screen and reconnect USB |
| Installation of incompatible firmware | Lack of sound or microphone | Get back to the official MIUI with the Mi Flash Tool |
Another common problem is that the feature returns after the MIUI update.
- 📵 Turn off automatic updates in Settings → The phone. → Updating the system.
- 🔄 Create a script to automatically disable the feature after rebooting (Tasker required) + ADB).
- 📥 Install the Disable Speaker Occlusion (available on the forum) XDA Developers).