How to turn off the “area” function on Xiaomi if the speaker is muted when closing

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 often do you get a softer sound on Xiaomi?
It's always annoying.
Sometimes, in specific situations
I used to, but I found a solution.
Never noticed.

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:

  1. 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.
  2. 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).
  3. 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.

  1. Open the Settings. → Sound and vibration.
  2. Scroll down to the "Additional Settings" section (or on some firmware).
  3. Find the item “Closing the speaker noise suppression” (or Speaker Occlusion, Pocket Mode).
  4. Transfer the slider to the "Off" position.

If there is no such item, try an alternative path:

  1. Go to Settings → Special features → Sound effects.
  2. Turn off the option "Automatic volume control".

On some models (for example, Xiaomi 13T or Redmi K60) the function may be called differently:

Xiaomi modelName of the function in MIUIThe path to settings
Redmi Note 11/12Pocket modeSettings → Sound → Pocket Mode
POCO F4/F5Occlusion DetectionSettings → Additional → Sound
Xiaomi 12/13Adaptive sound (tab)Settings → Sound → Adaptive sound → Settings
Xiaomi Pad 6Speaker ProtectionSettings → 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:

  1. Open the Phone app and enter the code ##3644633## (some models run ##4636###).
  2. Go to the Hardware Testing → Audio section.
  3. Find Speaker Occlusion or Pocket Mode and set Disable.
  4. Save the settings and restart the phone.

If the engineering menu is blocked (on some firmware for Europe), use the ADB-team:

  1. Connect your phone to your PC, enable USB Debugging (Settings → About Phone → MIUI Version → 7 times press to unlock the developer mode).
  2. Open the command line and type: adb shell settings put global speaker_occlusion_enabled 0
  3. Reset the device.
What to do if ADB is not working?
If the command returns the error not found, try an alternative method: 1. Install the Activity Launcher application from Google Play. 2. Find the activity in it com.android.settings.Settings$SoundSettingsActivity. 3. In the opened settings, a hidden item may appear to disable the function.

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:

  1. Install a file manager with root support (such as Root Explorer or Solid Explorer).
  2. Cross the path: /system/vendor/build.prop or /system/etc/audio_platform_info.xml
  3. Find the lines that contain ro.audio.speaker.occlusion.enable=true or
  4. 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:

  1. Install the SoundAssistant app from Google Play.
  2. Enable the option “Separate speaker management”.
  3. 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 consequencesHow to fix it
Disabling the proximity sensor through the engineering menuThe screen does not go out during the call, quick battery dischargeReturn the sensor settings to their original state or use the Proximity Sensor Reset app
Editing build.prop without backupBootloop or loss of soundRestore the file from the backup or reflash the phone
Using ADB without Developer RightsError device unauthorizedConfirm debugging on your phone screen and reconnect USB
Installation of incompatible firmwareLack of sound or microphoneGet 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).

FAQ: Frequent Questions About the Area Feature on Xiaomi

❓ Why the sound became quiet after the function was turned off?
This is because the Domain algorithm not only mutes the sound, but also optimizes it for closed space. After shutting down, the speaker operates in clean mode, without amplifying the low frequencies. Solution: Turn on Dolby Atmos in the sound settings. Use the equalizer to manually adjust.
❓ Can I turn off the music-only feature but leave it for calls?
Yes, but only on the firmware with MIUI 13+. To do this: Open Settings → Applications → Permissions Management → Auto Run. Find the Music app (or your player) and turn off the Microphone resolution for it. The Area function will ignore media applications.
❓ Why Xiaomi 14 doesn’t feature in the settings, but the sound is muted?
The new algorithm is integrated into MIUI Sound Assistant. To turn it off: Hold the volume button until the pop-up menu appears. ⚙️ In the upper right corner, turn off Adaptive Volume and Speaker Protection.
❓ Will there be harm to the speaker if you turn off the function?
Theoretically, yes, but in practice, the risk is minimal: the manufacturer puts a margin of safety of speakers in the light of such loads. The main thing is: do not listen to music at maximum volume for more than 30 minutes. Avoid closing the speaker for a long time (for example, when the phone is in the bag).
❓ How to return the function if you need it?
You can restore the settings: Through the same paths in the settings (Sound) → Noise suppression by resetting the sound settings to factory (Settings) → System system → Resetting settings → Resetting sound settings by returning the original values to build.prop or through ADB: adb shell settings put global speaker_occlusion_enabled 1