Automatically turning off the speaker while calling or playing audio on Xiaomi Mi 9 is a common problem that causes a lot of inconvenience. Users face a situation where the sound suddenly switches to the headset (even if it is not) or disappears altogether. The reason lies in the energy-saving MIUI algorithms that mistakenly recognize connected devices or try to βoptimizeβ the speaker. In this article, we will discuss all the current ways to turn off this feature, from standard settings to deep changes to the system.
It's important to understand that the problem can manifest itself in many ways: some people have a speaker that shuts down after 30 seconds of talking, others only when they connect Bluetooth devices, and some people have a complete lack of sound after upgrading. We tested solutions with MIUI 10-14 and identified those that work consistently, and if you've tried resetting or cleaning the cache, this guide will help find alternative methods.
Why Xiaomi Mi 9 turns off the speaker: the main reasons
Before you start fixing, it is worthwhile to understand the root of the problem. In Xiaomi Mi 9, several mechanisms are responsible for turning off the speaker:
- π Energy conservation MIUI: The system forcibly turns off the speaker if it believes that it is not used (for example, during prolonged silence during a call).
- π§ False operation of the headset sensor: oxidized contacts of the 3.5 mm connector or port contamination USB-C They can simulate the connection of headphones.
- π Bluetooth conflict: If a device has been paired (e.g., wireless headphones), the system can stick in the audio redirection mode.
- π± Firmware problems: bugs in specific versions MIUI (especially 12.0.3.0 and 12.5.1.0) led to mass complaints of blackouts.
In practice, most of the problems are caused by a combination of these factors, such as when a user plugs in Bluetooth headphones and then retrieves them incorrectly, the system forgets to return the sound to the speaker, or when the update is updated, the power saving settings are lost, and in the next sections we will look at how to diagnose and fix each of the causes.
β οΈ Warning: If the speaker only turns off when charging is connected, the problem may be a faulty cable or power supply. check the charger on another phone before changing settings.
Method 1: Disconnecting energy saving for audio system
The safest method is to disable power optimization for audio services, which does not require superuser rights and works on all versions of MIUI.
Instructions:
- Open Settings β Battery and Performance β Battery Consumption Management.
- Select the App tab and find Media (or Audio System in older versions) in the list.
- Slip it and select it without restrictions.
- Repeat the steps for Phone and Bluetooth apps.
After you make the changes, restart your phone. If you've had an aggressive energy saving problem, you need to keep the speaker running smoothly, and this method works 60 percent of the time, but if the sound is still gone, move on to the next one.
Check the current version of MIUI in Settings β About the phone
Turn off Bluetooth and remove all headphones
Charge your phone at least 50%
Backup of important data-->
Method 2: Reset the sound and Bluetooth settings
If the problem occurs after connecting wireless devices or updating the system, resetting the audio path settings will help, which does not affect user data, but will return all audio parameters to the factory.
How to reset your settings:
- Go to Settings β Sound and vibration β Additional settings.
- Select Reset Sound Settings (in some versions, the item is called Reset Default Settings).
- Confirm the action and wait for the reboot.
For Bluetooth, perform a separate reset:
- Open Settings β Connections and Sharing β Bluetooth.
- Slip on the three-point menu in the upper right corner and select Clear Cache.
- Remove all paired devices and reboot the phone.
| Method | Implementation time | Reboot required | Efficiency |
|---|---|---|---|
| Sound reset | 1-2 minutes | Yes. | 75% |
| Bluetooth cleanup | 30 seconds | No. | 50% |
| Both methods together. | 3 minutes. | Yes. | 85% |
β οΈ Note: After resetting Bluetooth, all paired devices (earphones, smartwatches, car systems) will have to be reconnected. Prepare a list of devices in advance or take screenshots of settings.
Method 3: Engineering Menu Correction (MTK)
For advanced users, there is a method using an engineering menu that only works for the Xiaomi Mi 9 on a Qualcomm Snapdragon 855 processor (not working on models with MediaTek!).
Step-by-step:
- Open the Phone app and enter the combination: ##36446337###.
- In the engineering menu, select Hardware Testing β Audio.
- Scroll to the Normal Mode section and check the current sound route (Speaker must be active).
- If Headset or Bluetooth is displayed, manually select Speaker and save settings.
After leaving the menu, check the speaker, if the sound appears, but after a while disappears again, the problem lies deeper (possibly in the physical damage to the connector).
What to do if the engineering menu is not opened?
Method 4: ADB-commands for forced switching on the speaker
If standard methods didn't work, you can use Android Debug Bridge (ADB) to force audio route switching, which requires a computer and enabled USB debugging.
Preparation:
- Download and install ADB Tools on PC.
- On the phone, activate Settings β About Phone β MIUI version (tap 7 times to turn on the developer mode).
- Return to Settings β Additional β For developers and enable USB debugging.
Execution of commands:
adb shell
settings put global force_use_dynamic_audio_routing 0
settings put global audio_safe_volume_state 1
am broadcast -a android.media.AUDIO_BECOMING_NOISY -p com.android.phoneAfter each command is entered, press Enter. The first command turns off dynamic redirection, the second resets volume limits, the third force returns the sound to the speaker. Reboot the phone to apply the changes.
π‘
If, after the execution, ADB-The sound appears, but after a while it disappears again, create a.bat file on the desktop with these commands and run it every time you connect the phone to the PC.
Method 5: Physical cleaning of connectors and checking contacts
If the software methods failed, the problem could be hardware, most often oxidized contacts in the 3.5 mm connector (if you have one in your Mi 9 version) or contamination of the USB-C port, which is responsible for recognizing connected devices.
How to clean the connectors:
- π§΄ Use isopropyl alcohol (90%+) You can clean the contacts inside the connector carefully, avoiding excess moisture.
- π¨ After cleaning, dry the port with a dryer in cold mode for 2-3 minutes.
- π Check the connector for mechanical damage (such as bent contacts).
If you've had a problem after cleaning, try plugging your headphones in and gently moving the plug in the connector, and if the sound comes or goes, it confirms a hardware malfunction, and you need to replace the service center connector.
Yeah, all the time.
Sometimes, after updates
No, but I know about this problem.
I don't know, I haven't.-->
Additional advice and prevention
To avoid recurrence of the problem, follow these guidelines:
- π Regularly update the firmware. MIUI 13+ Many audio routing bugs have been fixed.
- π« Avoid using cheap Bluetooth devices that may conflict with the system.
- π When charging your phone, use the original cable - poor-quality accessories can cause false alarms of sensors.
- π± Periodically clear the cache of Phone and Media apps in Settings β Annexes β Application management.
Critical information: If none of the methods worked, and the speaker turns off even after resetting to the factory settings, with a high probability of faulty audio codec (chip responsible for sound processing), In this case, diagnostics are required in the service center - self-repair is impossible.
1. Reset the sound settings and Bluetooth (mode 2).
Disconnecting energy saving for audio system (method 1).
3. Clean connectors (method 5) - if you suspect a hardware problem.
4. ADB-Teams (Method 4) β for advanced users.
Menu (Method 3) rarely helps, but can provide diagnostic information.-->