Xiaomi does not switch to speakers after removing headphones: how to fix

Xiaomi MIUI-based smartphones sometimes face a common problem: once the wired or wireless headphones are removed, the device continues to β€œthink” that the headset is connected, resulting in sound not going through the speakers, but a headphone icon is displayed in the status bar, and the reasons can be different, from a contaminated 3.5 mm connector to software failures in the system.

In most cases, the problem is solved without visiting the service center, but it is important to understand that an incorrect turn off of the headset can be a symptom of hardware malfunctions (for example, a damaged connector) and MIUI errors. In this article, we will analyze all the working methods, from simple reboots to hidden engineering settings that will help return the sound to the speakers.

If your Redmi, POCO or Mi stubbornly ignores the removal of headphones, do not rush to carry the phone for repair. 80% of the time it is the software, not the hardware, the main thing is to act in order and not miss steps.

Why Xiaomi doesn’t automatically turn off the headset

MIUI detects headphones connected via contacts in the 3.5mm connector (for wired) or Bluetooth signal (for wireless). If the headset is removed, the sound continues to go into the headphones, this can mean:

  • πŸ”Œ Pollution or oxidation of contacts in the connector – dust, moisture or mechanical damage interfere with the correct determination of the condition.
  • πŸ€– Service failure media.audio_flinger β€” responsible for routing sound in Android.
  • πŸ”„ Jammed switch in the connector (relevant for older Xiaomi models until 2019).
  • πŸ“± Firmware error – especially after the update MIUI or reset.

Wireless headphones (AirDots, Buds, etc.) can β€œhang” in the system if they are not turned off through the Bluetooth menu, but simply turned off or carried out of range, in which case Xiaomi continues to send sound to a non-existent device.

Before you start correcting, check the obvious:

  1. Reconnect the headphones and carefully remove them – sometimes reconnecting physically helps.
  2. Try another set of headphones (if you have a problem with wired ones).
  3. Make sure that in the settings β†’ Connected devices do not have "ghost" headsets.
πŸ“Š Your Xiaomi model is in the series.
Redmi
POCO
Mi
Black Shark
other

Method 1: Forced reboot of the smartphone

The simplest and often most effective method is hard rebooting, which resets the system's temporary data, including the status of the audio router.

How to do this:

  1. Press the Power + Volume button up for 10-15 seconds until the screen goes out.
  2. Wait 30 seconds (don’t turn on your phone right away!)
  3. Turn on the device with the power button.

If after the reboot the sound returned to the speakers, the problem was a temporary failure of the service. audio_flinger. If not, move on to the next method.

⚠️ Note: On Xiaomi models with AMOLED-screens (e.g. Mi 11, Redmi) K50) Long-term button retention can trigger a Fastboot menu. in this case, just select Reboot.

β˜‘οΈ Preparations for reset

Done: 0 / 4

Method 2: Cleaning of the 3.5 mm connector (for wired headphones)

If the problem is only with wired headphones, it's probably the 3.5mm connector that gets dust, fibers from clothes, or even metal particles from the plug, and that causes the connection sensor to falsely fire.

How to clean the connector:

  1. Take a toothpick or plastic card (not metal objects!).
  2. Carefully, without pressure, walk through the internal contacts of the connector.
  3. Use compressed air (canister) to blow out dust.
  4. Wipe the connector with a cotton swab dipped in an alcohol solution (no more than 70%).

For models with a sealed connector (for example, Xiaomi 13 Pro), it is better to trust the cleaning center.

Xiaomi modelType of connectorRisk of damage during cleaning
Redmi Note 10/11Open 3.5 mmLow.
POCO X3/X4Open 3.5 mmMedium (thin contacts)
Mi 12/13Pressurized USB-C (adapter)High-pitched
Black Shark 5Reinforced 3.5 mmLow.

⚠️ Note: Never use it for cleaning. WD-40 They leave a film that attracts dust and makes contact worse.

πŸ’‘

If after cleaning the connector began to be determined unstable (it works, then not), try to connect headphones with a magnetic ring on the plug - it better fixes the contact.

Method 3: Resetting the sound settings in MIUI

If hardware methods didn't work, the problem lies in the software part. MIUI has a hidden audio reset menu that often solves problems with routing sound.

Instructions:

  1. Open the phone app and dial the combination: ##36446337###
  2. You will be taken to the Engineering Mode menu.
  3. Go to the Hardware Testing β†’ Audio section.
  4. Select Headset Mode and press Disable.
  5. Reboot the phone.

After this, the system will force the headset mode to be turned off, and if the combination doesn't work, try the alternative code:

##4636##

β†’ Usage statistics β†’ Audio β†’ reset.

On some firmware MIUI 14+ The engineering menu can be blocked. ADB-command (computer required):

adb shell settings put global headset_state 0
What to do if the engineering menu is not opened?
On newer versions of MIUI (14 and above), access to the engineering menu may be limited, and the alternative is to use the MTK Engineering Mode app from Google Play (only for MediaTek processor devices).

Method 4: Turning off Bluetooth headset manually

If a wireless headphone problem (Xiaomi AirDots, Buds, SoundPEATS, etc.) is encountered, the system may forget to turn it off, in which case the sound continues to be directed to the Bluetooth device even if it is turned off.

How to fix it:

  • πŸ“± Open the Settings. β†’ Bluetooth.
  • πŸ” Find your headset in the list of connected devices.
  • ❌ Click on the icon. βš™οΈ Next to the name and select Forget the device.
  • πŸ”„ Reboot the phone.

If the headphones are not displayed in the list, but the headset icon is lit in the notification bar:

  1. Activate flight mode for 10 seconds, then turn it off.
  2. Open the Quick Settings Panel and manually turn off Bluetooth.
  3. Connect the headphones again and correctly disable via the Bluetooth menu.

On Xiaomi models with Qualcomm chip (for example, POCO F4, Redmi K60) After forgetting the device, you may need to reset the network: β†’ SIM-maps and networks β†’ Resetting Wi-Fi, Mobile Network and Bluetooth.

Method 5: Testing for viruses and conflicting applications

Rarely, sound control applications (equilibriums, bass modifiers) or viruses block the audio system from working properly, such as popular utilities like ViPER4Android or Dolby Atmos MOD, which can conflict with native MIUI services.

How to check:

  1. Run Safe Mode: Press the Power button β†’ Hold your finger on Turn off β†’ select Safe Mode.

Check if the problem has gone away. If so, it's third-party software.

Remove newly installed applications related to sound.

Google Play Protect

Dr.Web

Pay special attention to applications with rights android.permission.MODIFY_AUDIO_SETTINGS. You can see them in the settings. β†’ Annexes β†’ Permits β†’ Changes in audio settings.

AnnexPotential conflictDecision
ViPER4AndroidIntercepting the audio streamDisable the driver in the settings
PowerAmpBlocks the system mixerReset the equalizer settings
Game TurboChanges the routing of soundDisable in game settings

πŸ’‘

If the problem occurs after installing custom firmware (e.g. xiaomi.eu or PixelExperience), the cause may be an incorrectly assembled audio driver, in which case only the firmware will help.

Method 6: Hardware diagnostics and service center

If none of these things worked, it's probably hardware, and here are the signs that it's time to get your phone repaired:

  • πŸ”Š The sound in the headphones works, but on the speakers – not (even after resetting).
  • πŸ”Œ 3.5mm connector wobbles or has visible damage.
  • πŸ’§ The phone fell into the water or was subjected to a strong vibration.
  • πŸ“‰ The problem arose after replacing the connector / display.

In the service center, diagnosis usually includes:

  1. Audio chip circuit checker (Qualcomm WCD93xx or MediaTek MT63xx)
  2. Test of contacts of the connector 3.5 mm multimeter.
  3. Diagnostics of the plume connecting the motherboard with the audio module.

Cost of repair:

  • Replacement of the 3.5 mm connector: ~1 500–3 000 β‚½.
  • Repair of the audio track: ~3 000–8 000 β‚½ (model).
  • Replacement of the plume: ~2 000–5 000 β‚½.

⚠️ Note: On Xiaomi models with USB-C And digitally, the Mi 10, Mi 11, for example, may be in the Type-C controller, not the audio chip, and repairing these devices on their own can cause the charging port to fail.

FAQ: Frequent questions about turning off the headset on Xiaomi

My Xiaomi shows the headphone icon, but the sound goes through the speakers. Is that normal?
No, it's a sign of a failure in determining the status of the connector. Try the method with the engineering menu (Method 3) or restart the phone. If the icon remains, the problem is in the connection sensor (diagnosis).
After the MIUI update, the phone stopped seeing the headphones.
This is a typical problem after updates. First, reset your audio settings (Method 3), then check for updates for the Mi Sound Enhancer app on Google Play, and if it doesn't work, roll back to the previous firmware version.
Can I repair the 3.5mm connector myself?
Only if you have experience with rationing SMD-The 3.5mm connector uses miniature contacts that are easily damaged. For sealed models (such as the Xiaomi 13), self-repair is almost impossible.
Why does the sound become quieter after the headphones are removed?
This involves automatically switching the audio profile. In headphones, MIUI uses one equalizer, and for speakers, another. To return the volume, open Settings β†’ Sound β†’ Equalizer and select Speaker profile.
My POCO F3 only has a problem with certain headphones. What's the matter?
These headphones probably have a non-standard resistance or plug shape. Some cheap models have a shortened plug that doesn't completely close the contacts in the connector. Try headphones with a 4-pin plug (for example, the original Xiaomi Piston).