Headphone mode on Xiaomi: how to turn off in 2 minutes (all ways)

Why Xiaomi phone is β€œstuck” in headphone mode and how to fix it

Have you connected your headphones to the Xiaomi Redmi Note 12 or POCO X5 Pro, and the sound continues to go through them, even after disconnecting? Or, worse, the phone does not recognize speakers at all - the music plays quietly, as if in headphones, although they are not in the jack for a long time? This is a classic symptom of the "hang" headphone mode, and it is found on all Xiaomi smartphones, from the budget Redmi A2 to the flagship Xiaomi 14 Ultra.

The reason is usually a software failure to identify the connected accessory or a mechanical damage to the 3.5 mm/USB-C connector. Sometimes even the usual garbage in the socket, like fibers from your pocket or oxidation of contacts, is to blame. But the good news is that in 90% of cases, the problem can be solved without repair by simply restarting the phone or resetting the audio settings. We've put together all the working methods, including hidden commands for the engineering menu and ADB.

If you are in a hurry, start with the first section (the fastest methods). If the problem comes back after a reboot, read about the causes of the failure and hardware solutions.

5 Ways to Turn Off Headphone Mode on Xiaomi: From Simple to Complex

Before you dig into the settings, follow the basic steps:

Check if the headphone plug is stuck in the connector (light the flashlight carefully)

Connect and disconnect headphones 2-3 times – sometimes contacts β€œstick”

Try another set of headphones (maybe the problem is them)

Reboot the phone with a long power button hold (10-15 seconds)-->

If the sound is still going into the headphones, go to the methods below, which are in increasing complexity, from standard settings to development commands.

1. Resetting the sound settings via the menu

The most secure method that works on all Xiaomi models with MIUI 12-14 is resetting the audio system configuration, but does not affect personal data.

  1. Open the Settings. β†’ Sound and vibration.
  2. Scroll down and select Additional settings.
  3. Press Reset sound settings and confirm the action.

After you restart your phone, check the sound. If the headphone mode is still in place, move on to the next method.

πŸ’‘

On some firmware, the "Reset Sound" option is hidden. To see it, pre-activate Developer Mode (7 times click on the MIUI version in Settings β†’ About Phone).

2. Forced reboot with buttons clamped

If the phone doesn't respond to a normal reboot, try a hardware reset, which helps when the crash is caused by a temporary conflict of audio drivers.

  • πŸ”„ For models with a 3.5 mm connector: pinch the power + Volume up for 15-20 seconds until the logo appears MI.
  • πŸ”Œ For USB-C models (e.g. Xiaomi) 13T): clamp down on power. + Loudness down for 10 seconds.
  • πŸ“± For phones without physical buttons (rarely): Use the Power combination + volume-button.

After you restart, check the sound through the speakers. If there's a problem, go to the engineering menu.

3.5 mm (standard)

USB-C (without 3.5 mm)

Unconnectable (Bluetooth only)

I don't know.-->

Engineering menu (codes for diagnostics)

The hidden engineering menu allows you to manually reset the audio port settings. Attention: do not change other settings so as not to disrupt the phone!

  1. Open the Phone app and enter the code: ##36446337##
  2. Select Hardware Testing β†’ Audio β†’ Headset Mode.
  3. Press Disable Headset (or Headset Switch β†’ Off).
  4. Reboot the phone.

If the code doesn’t work, try an alternative:

##4636##

β†’ Phone information β†’ Menus. β†’ Audio β†’ Headset.

What to do if the engineering menu is not opened?
Some of the majors (for example, global ones) POCO F5) The engineering menu is locked. ADB-Teams (Method 4) or contact the service center.

4. ADB-Audio Resetting Commands (for Advanced Audio Resetting)

If previous methods didn’t work, try resetting audio settings via Android Debug Bridge (ADB).This requires connecting the phone to your computer, but is guaranteed to help with software crashes.

  1. Download ADB Tools and unpack the archive.
  2. Enable USB Debugging in Settings β†’ About Phone β†’ MIUI version (7 times press, then return to Additional β†’ For Developers).
  3. Connect your phone to your PC and type in the command line: adb shell settings put global headset_connected 0
  4. Reset the device.

If the team doesn’t work, try an alternative:

adb shell am broadcast -a android.intent.action.HEADSET_PLUG --ez state 0 --ez microphone 0 --ez name "unplug"

πŸ’‘

ADB-commands are the most reliable way if the failure is caused by an error in the system settings, but they require minimal technical skills.

5. Reset to factory settings (extreme case)

If none of these methods work, you'll have a complete reset, and that will delete all the data from your phone, so back up first.

  1. Go to Settings β†’ About the phone β†’ Reset settings.
  2. Choose to erase all data.
  3. Confirm the action and wait for the reboot.

After resetting, the headphone mode should disappear. If not, the problem is guaranteed to be hardware (damaged connector or audio chip).

πŸ’‘

Remove before resetting SIM-A card and memory card. on some Xiaomi models (e.g. Redmi) 10C) The reset may erase the data SD-map.

Why Xiaomi β€œhangs” in headphone mode: 7 reasons

So, to keep the problem from recurring, it's important to understand the source of the problem, and here are the most common reasons:

Reason.How it manifestsDecision
Contamination of the connector 3.5 mmThe sound disappears when the plug moves.Cleaning with alcohol or compressed air
Oxidation of USB-C contactsThe headphones are switched on by themselves.Wipe contacts with a swallow or alcohol
Firmware failure (MIUI)The problem arose after the update.Resetting to the old version or resetting settings
Damage to the audio chipThere is no sound in the headphones and speakers.Replacement of motherboard
Conflict of Bluetooth devicesHeadphone mode is turned on when connected to the car / columnRemove all paired devices

The most insidious cause is damage to the flexible plume that connects the 3.5mm connector to the motherboard, which often happens after falls or moisture, in which case only repairs will help.

⚠️ Note: If headphone mode appears after connecting to a car radio or wireless headphones, the problem may be Bluetooth settings. Before resetting your phone, try removing all paired devices in Settings β†’ Connections β†’ Bluetooth.

When you need help from a service center: signs of hardware malfunction

If you’ve tried all the ways, but the phone still β€œthinks” that it has headphones connected, it’s probably the hardware that’s to blame.

  • πŸ”Š The sound disappears even in headphones (or goes with a strong noise).
  • πŸ”Œ Connector. 3.5 mm/USB-C staggered or has visible damage.
  • πŸ’§ The phone fell into the water or was exposed to severe humidity.
  • πŸ”₯ After connecting the headphones, the phone overheats or turns off.
  • πŸ› οΈ Headphone mode appears after physical impact (hit, bending the body).

The average cost of repairing a 3.5 mm connector in Xiaomi service centers is from 800 to 2000 rubles. Replacing a USB-C port will cost 1500-3500 rubles (depending on the model). If the audio chip on the motherboard is damaged, repair can cost up to 50% of the price of the phone - in this case, it is more advisable to consider buying a new device.

⚠️ Warning: Don't try to solder a connector or chip yourself if you don't have experience! Xiaomi boards often use small ones SMD-components that are easily damaged without special equipment, which can result in complete loss of sound or even short circuit.

How to prevent the reappearance of headphone mode

To prevent the problem from returning, follow simple rules:

  • 🧼 Clean the connector regularly 3.5 mm/USB-C dust-free (use a plastic toothpick or compressed air).
  • 🚫 Do not insert the headphone plug with force - if it does not enter, check if there is no debris inside.
  • πŸ”‹ Avoid using your phone in wet conditions (such as in the bathroom or in the rain).
  • πŸ”„ After connecting the headphones, always completely remove the plug - do not leave it in a semi-inserted state.
  • πŸ“± Update the firmware MIUI up to the latest version - in new builds, bugs with sound are often corrected.

If you often connect your phone to a car radio or external speakers, use Bluetooth instead of an aux cable, which will reduce the load on the audio jack and reduce the risk of crashes.

Alternative solutions: if nothing helps

In rare cases, headphone mode may be associated with firmware incompatibility or application conflict. Here's another thing to try:

1. Removal of conflicting applications

Some programs (such as sound clips or modified players) can block system audio settings. Remove newly installed audio-related apps and restart the phone.

2. Flashing through Fastboot

If the failure occurred after the MIUI update, try to reflash the phone manually. Download the official firmware for your model on the Xiaomi website andfollowing instructions:

  1. Unpack the archive with the firmware in the folder with fastboot.
  2. Connect your phone to your PC in Fastboot mode (clip Power + Volume down).
  3. Launch the file. flash_all.bat (For Windows, or type in the command: fastboot flash all

3.Using an external USB-C/Bluetooth adapter

If a hardware malfunction does not allow you to fix the connector, you can connect an external sound card via USB-C. For example, adapters from Apple or Anker allow you to output sound to headphones or speakers bypassing the damaged connector.

FAQ: Frequent questions about headphone mode 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. The headphone icon on the notification panel means that the system "thinks" that the headphones are connected, even if the sound is coming through the speakers. Follow the instructions in the first section to reset the settings.
After the phone fell, the sound was gone. Is it connected to the headphone mode?
If there's no sound in the speakers or the headphones, the problem is that the audio chip is damaged or the plume is disconnected, and then only repairs will help.
On my POCO X3 Pro, the headphone mode turns on on its own. What's the matter?
This is a typical problem for USB-C models, because the contacts are oxidized or short-circuited in the port, try to wipe the connector with an alcohol tampon or compressed air, and if it doesn't work, bring it to the service.
Can I turn off the headphone mode without restarting?
Yes, if the failure is software. Try typing a command through the engineering menu (method 3) or using ADB (method 4). You can also temporarily switch the sound to a Bluetooth device and then turn it off - sometimes this resets the mode.
Setting reset didn't help.
Even if a full reset doesn’t fix the problem, there are two options: Fastboot your phone (see Alternative Solutions section) and call the service center, most likely the audio chip or connector is damaged.