How to exit headphone mode on Xiaomi: all working ways

You plugged your headphones into Xiaomi, but the sound keeps going through them, even after you disconnect? Or does the phone even think it's still connected, even though it's long gone? This problem is familiar to many owners of Redmi, POCO and Mi smartphones - especially after MIUI upgrades or mechanical damage to the 3.5mm connector.

In 90% of cases, headphone mode on Xiaomi is turned on due to software failure or contamination of the audio jack. Less often, it is a damaged firmware or hardware malfunction. In this article, we will analyze 5 proven ways to return sound to the speakers, from simple (reboot) to radical (reset to factory settings).

Why Xiaomi is β€œstuck” in headphone mode

Before we get to the solution, it’s important to understand why: Xiaomi smartphones detect the connection of headphones through the contact mechanism in the 3.5 mm connector (or through a Bluetooth connection for wireless headsets). If the system receives a false connection signal, it automatically redirects the sound to β€œnon-existent” headphones.

Main reasons:

  • πŸ”Œ Connector pollution: dust, moisture, or contact oxidation interfere with the correct connection determination.
  • πŸ€– Failure MIUI: After updating or installing third-party applications (e.g. modified firmware), the system may not properly process audio routes.
  • πŸ”§ Mechanical damage: wear of the connector, break of contacts or damage to the headphone plug.
  • πŸ“± Bluetooth conflict: if a wireless headset was previously connected and the connection was interrupted incorrectly.

In the models with USB-C (for example, Xiaomi 12T or POCO F5) The problem is more often associated with software failures, since the digital audio port is less prone to mechanical failures. 8/9 classically 3.5 First, check the physical condition of the connector.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi (Note/Number series)
POCO (F/X/M)
Mi (11/12/13)
Black Shark
Other

Method 1: Reboot and Hot button combinations

Start with the simplest one, forced reboot, which works 30 to 40 percent of the time if the failure was temporary.

⚠️ Note: If your Xiaomi doesn't respond to the power button, don't try to remove the battery yourself - it's non-removable on most models. + Volume up (hold 10-15 seconds).

Instructions:

  1. Hold the Power button for 10-20 seconds until the screen goes out and the MI logo appears.
  2. If the phone doesn’t reboot, try Power + Volume up (for models with MIUI 12+).
  3. After turning on, check the sound – if the problem persists, proceed to the next method.

For some models (such as the POCO X3 Pro or Redmi K40) there is a hidden combination for resetting audio settings:

1. Open the Phone app.


2. Enter the code ##36446337## (some firmware may not work).




3. Select "Audio Testing" β†’ "Headset Mode" β†’ "Disable."

β˜‘οΈ What to Check Before Rebooting

Done: 0 / 4

Method 2: Clean the connector and test with other headphones

If the reboot didn't work, check the 3.5mm or USB-C connector for contaminants, and even a small amount of dust can close the contacts, simulating the headset's connection.

How to clean the connector:

  • 🧹 Use a toothpick (not metal!) or compressed air to remove dust.
  • πŸ’§ For oxidized contacts: moisten the cotton swab in isopropyl alcohol (not vodka!) and gently wipe the inside of the connector.
  • πŸ” Light a flashlight - if you see bent contacts, it is better to contact the service.

After cleaning:

  1. Connect other headphones (preferably original or with a proven plug).
  2. If the sound went through the speakers, the problem is in your headset.
  3. If the headphone mode remains - go to the software methods.
What to do if the connector is physically damaged?
If the contacts are bent or absent, self-repair is impossible – you need to replace the audio module. On Xiaomi models with USB-C (for example, Mi 11), the audio chip is often soldered into the motherboard, so repairing will cost 30-50% of the cost of the phone.

Method 3: Resetting sound settings through an engineering menu

If the hardware methods don’t work, try resetting audio through the Engineering Mode, which is suitable for most MIUI 10-14 models.

Instructions:

  1. Open the Phone app and enter the code: ##4636###
  2. In the menu that opens, select Audio (or Hardware Testing on newer versions).
  3. Scroll to the Headset Mode section and click Disable.
  4. Reboot the phone.

Some firmware (e.g., POCO Launcher) may not have an engineering menu, and the alternative is to use the MTK Engineering Mode app (for MediaTek processors) or Qualcomm Service Menu (for Snapdragon).

Xiaomi modelEngineering menu codeSound reset section
Redmi Note 10/11##4636##Audio β†’ Headset Mode
POCO F3/F4##36446337##Hardware Testing β†’ Audio
Mi 11/12##284##Audio Test β†’ Headset
Black Shark 4/5##2834##Audio Settings β†’ Reset

πŸ’‘

If the engineering menu doesn’t open, try entering the code through the Contacts app (the Set tab). Some firmwares block access, in which case only resetting will help.

Method 4: Using ADB to force the headphone mode to be turned off

If previous methods didn’t work, try USB debugging (ADB), which requires a computer but is effective in 80% of software failures.

What you need:

  • πŸ–₯️ Computer with Windows/macOS/Linux.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ“₯ Google's Platform Tools utility.

Step-by-step:

  1. Turn on the phone Developer Mode: Settings β†’ About Phone β†’ MIUI version (click 7 times)
  2. Activate USB Debugging in Settings β†’ Additional β†’ For developers.
  3. Connect your phone to your computer and open the terminal (command line) in the folder with Platform Tools.
  4. Enter the commands in turn: adb shell settings put global force_use_headset 0 settings put global wired_headset 0
  5. Reboot the phone.

If after executing the commands, the sound did not return to the speakers, check the audio status through the command adb shell dumpsys audio - the output should be the headset=0 parameter.

⚠️ Attention: Do not use commands ADB They're not reliable sources, they can disrupt the system. The commands above are safe and only reset audio routing settings.

Method 5: Reset to factory settings (last chance)

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

How to reset Xiaomi to factory settings:

  1. Go to Settings β†’ About Phone β†’ Backup and Reset.
  2. Select Resetting β†’ Delete all data.
  3. Confirm the action (a password may be required).
  4. After the reboot, set the phone as new and check the sound.

If the smartphone does not turn on or hovers on the MI logo, use Recovery mode:

  1. Turn off the phone.
  2. Keep the food up + Volume up until the menu appears.
  3. Select Wipe Data β†’ Wipe All Data (Change Volume Buttons).
  4. Confirm the reset and wait for the reset.

πŸ’‘

Resetting to factory settings deletes all data, including photos and apps. If the phone doesn't recognize the connection to your computer for backup, use the Mi Cloud (if it was set up in advance).

What to do if nothing helps: Diagnosing hardware problems

If after all the manipulations, the sound still goes to the non-existent headphones, the problem is probably hardware.

  • πŸ” Multimeter connector check: if you have a tester, measure the resistance of the contacts in the connector 3.5 mm. Normal value is 0.5-1.5 ohms.
  • 🎧 Bluetooth headset test: connect wireless headphones. If the sound switches to them, the problem is the physical connector.
  • πŸ“± Diagnostics via service menu: enter code ##6484## (for hardware component testing).

Typical hardware faults:

Symptoms.Probable causeCost of repair (approximately)
The sound goes into the headphones, but the connector is clean.The audio chip or contacts on the board are damaged2 000–5 000 β‚½
The phone doesn't see the headphones, but the sound is there.Oxidation or break of contacts in the connector1 000–3 000 β‚½
The sound disappears when the plug moves.Unwound connector 3.5 mm800–2 000 β‚½

If you're not sure about your skills, you should go to a service center, and the average cost of a diagnosis is 500 to 1,000. β‚½. For models older than 3 years, repairs may not be cost-effective (e.g., replacing the audio module with a Redmi). 9A It'll cost half the cost of the phone).

FAQ: Frequent questions about headphone mode on Xiaomi

My Xiaomi shows the headphone icon, but they're not connected. What do I do?
First, try restarting your phone. If it doesn't work, clear the jack of dust and check it for damage. If the problem persists, use the engineering menu (code #4636###) or ADB-sound-resetting command.
After the MIUI update, the sound was lost in the speakers.
This is a typical problem after updates. Try: Reset the sound settings through the engineering menu. roll back the update (if available) to Settings β†’ About Phone β†’ System Update. Set up custom recovery (like TWRP) and flash the previous version of MIUI. If nothing helps, write in support of Xiaomi with the model and firmware version.
Can I repair the 3.5mm connector myself?
If the problem is pollution, yes, you can clean the connector with alcohol or compressed air, but if the contacts or the connector are damaged, you need soldering equipment and microelectronics experience, and for most users, it's easier and cheaper to use the service.
On my POCO X3 Pro, the sound goes into the speakers and the headphones at the same time. Is that normal?
No, it's not normal. This behavior indicates a failure in the audio driver. Try: Turn off all Bluetooth devices. Reset the audio settings through the audio ADB (settings put global force_use_headset 0). Fastboot phone search (if you have experience).
How much does it cost to repair the audio connector in the service?
Cost depends on the model and type of breakdown: Cleaning connector: 300-800 β‚½. Replacement of the connector 3.5 mm: 1000-3000 β‚½. Repair of audio track on board: 2000-6000 β‚½. In the models with USB-C (Xiaomi 13 repairs are more expensive due to the complexity of disassembly.