Have you ever encountered a situation where while calling or listening to music on Xiaomi, the sound suddenly becomes muted, and the warning βDonβt close the speakerβ appears on the screen? This feature of protecting against accidentally overlapping the speaker with your hand or surface can be annoying, especially if you deliberately close the bottom of the phone β for example, to muffle the sound without using buttons. In this article, we will examine why MIUI reacts so aggressively to a closed speaker, which Xiaomi models suffer from this βfeatureβ, and most importantly, how to turn it off permanently or temporarily.
Prolonged overlapping of the speaker can lead to overheating of internal components, lower sound quality or even break the speaker on models with powerful stereo systems (for example, Xiaomi 13 Ultra or POCO F5). However, if you are confident in your actions, we have working ways to disable the warning, including hidden settings of MIUI and even editing system files for advanced users.
Why Xiaomi blocks sound when the speaker is closed
The speaker protection feature appeared in MIUI 12 and has been enhanced in subsequent versions, with the goal of preventing three key problems:
- π₯ Overheating: A closed speaker creates a βheat pocketβ effect that can damage the membrane or magnetic system, especially in Dolby Atmos models.
- π Sound distortion: Under mechanical pressure on the speaker, sound waves are reflected back, leading to wheezing and lower volume.
- π Reduced resource: Constant work in the βclosedβ mode accelerates the wear of the speaker by 20-30% (data from internal tests Xiaomi).
In practice, protection works not only when the speaker is physically closed with his hand, but also when the phone is lying on a soft surface (for example, on the sofa) or pressed to the ear during a call. The algorithm analyzes data from the proximity sensor, accelerometer and even the microphone (in some models). If the Detects system obstructs, the sound is automatically muffled to 30-50% of the maximum level, and a notification appears on the screen.
Interestingly, on budget models (Redmi Note 12, POCO M5), the protection works softer β the sound is muted only by 10-15 dB, while on flagships (Xiaomi 14, Mix Fold 3) the full shutdown of low frequencies works. This is due to the different design of the speakers: more sensitive components are used in expensive devices.
What Xiaomi models are suffering from the problem
The speaker protection feature is present in all devices on MIUI 12 and later, but its aggressiveness depends on the model.
| Model | MIUI version | Protection activation | Can I turn it off? |
|---|---|---|---|
| Xiaomi 13/13 Pro/13 Ultra | 14.0+ | Frequent, with complete shutdown of low frequencies | Yes (ADB requires) |
| Redmi Note 12 Pro+/12S Ultra | 13.0β14.0 | Moderate, 30 percent muting | Yes (through hidden settings) |
| POCO F5/F5 Pro | 14.0 (HyperOS) | Medium, triggered at pressure >2 seconds | Yeah (no root) |
| Xiaomi 12T/12 Lite | 13.0 | Rare, only with complete overlap | Yes (via Engineering Mode) |
| Redmi 10A/10C | 12.5β13.0 | Minimum, only with prolonged closure | No (no options in firmware) |
Note that on HyperOS devices (e.g. Xiaomi 14 or POCO F6), the logic of protection has changed. Now the system takes into account not only the physical overlap, but also the temperature of the speaker. If the sensor detects heat above 45Β°C, the sound is muted whether the speaker is closed or not, which makes it difficult to bypass the protection, but does not make it impossible.
β οΈ Note: On devices with Dolby Atmos (e.g. Xiaomi 13 Ultra), a forced shutdown of protection may result in warranty voiding.The manufacturer considers this to be "emergency useΒ».
Method 1: Disconnect via hidden MIUI settings (no root)
The easiest method is to use the built-in MIUI lab settings, which works on most devices with MIUI 13-14 and does not require superuser rights.
- Open the Phone app and enter the combination: ##36446337## (Engineering Mode login code).
- Go to the Hardware Testing β Audio β Speaker Test section.
- Find Speaker Protection (or Dynamic Gain Control on new firmware) and turn it off.
- Save the settings and restart the device.
If the code doesnβt work, try an alternative:
- π± Go to Settings. β About the phone and tap 7 times according to the version MIUI, activate the developer mode.
- π§ Back to Settings β Additionally. β For developers, find the option to Disable Speaker Protection (on some firmware it is called Disable Speaker Obstruction Detection).
On HyperOS, the path may be different. For example, on Xiaomi 14, you need to go to Settings β Sound β Additional settings β Protect the speaker and move the slider to the off position.
Make a backup copy of the sound settings
Check the version of MIUI (Settings β About the phone)
Charge your phone at least 50%
Connect to Wi-Fi (for downloading updates if required)-->
Method 2: Use of the ADB-Teams (for experienced users)
If hidden settings are not available, you can turn off protection via Android Debug Bridge (ADB), which works on 90% of Xiaomi devices, but requires a connection to a computer.
- Download and install ADB Tools on PC.
- Activate USB debugging on your phone: Settings β About Phone β MIUI Version (tap 7 times) β For developers β Debugging over USB.
- Connect the phone to your PC and type in the command line: Adb devices Make sure the device is defined.
- Execute the command to disable protection: adb shell settings put global speaker_protection_disabled 1 For HyperOS, use: adb shell settings put global audio_speaker_obstruction_enabled 0
- Reboot the phone.
To return protection, replace the command with 1 for 0 (or 0 for 1 for HyperOS).
β οΈ Note: Some of the updates after the update MIUI setting ADB To avoid this, you must execute the command adb shell cmd before updating. settings_backup restore --include global
π‘
If ADB Does not recognize the device, try reinstalling Xiaomi drivers USB Drivers or using other drivers USB-cable (preferably original).
Method 3: Editing system files (requires root)
For users with unlocked bootloader and root rights, a radical method is available - editing a configuration file mixer_paths.xml. This file is responsible for the sound parameters, including the speaker protection!
Instructions:
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Cross the path: /vendor/etc/mixer_paths.xml (or /system/vendor/etc/ firmware).
- Find the lines with the parameters: <path name="speaker"> <ctl name="Speaker Protection Enable" value="1" /> Change value="1" to value="0".
- Save the file, set the rights to 644 (rw-r--r---) and restart the device.
On HyperOS, the path to the file may be different: /vendor/etc/audio_platform_info.xml. Look for options with a mention of obstruction or protection.
What if the sound is lost after editing?
Method 4: Bypassing protection with Magisk module
For users with Magisk, there is a ready-made Disable Speaker Protection module that automates the shutdown, and you can install it through Magisk Manager:
- Download the module by link (available in the Magisk Modules repository or on XDA Developers).
- Open Magisk Manager, go to Modules and click Install from Storage.
- Select the downloaded file and confirm the installation.
- Reboot the phone.
The module runs on most MIUI 13-14 and HyperOS firmware, but can conflict with other audio modifications (e.g. ViPER4Android). If audio artifacts appear after installation, disable the module and use another method.
The advantage of this method is automatic updates. If Xiaomi changes the protection mechanism in a new firmware, the author of the module usually promptly releases an update.
Method 5: Alternative solutions (if nothing worked)
If all of the above methods fail, try alternative approaches:
- π§ Use headphones: Connect wired or Bluetooth headphones β speaker protection automatically turns off when active audio output.
- π Turn off the sound with the button: Quickly pressing the volume button down mutes the sound without triggering the protection.
- π± Change the position of the phone: In some models, the sensor only works when the speaker is horizontally closed. Try to close it vertically (for example, with the edge of the palm of your hand).
- π Firmware rollback: If the problem has occurred after the update, go back to the previous version MIUI through settings β The phone. β Updating the system β Three points. β Select a Service Package.
Another trick for HyperOS devices is to activate left-handed mode in the audio settings, which changes the logic of the sensors, and the protection is less effective.
π‘
The most reliable method is a combination ADB-This ensures that the protection is turned off even after the updates. MIUI.