How to remove headphone mode on Xiaomi Redmi: all ways from the reboot to ADB

Did you connect your headphones to the Xiaomi Redmi, but the phone still "thinks" they're inserted - even after being removed? Or did the sound suddenly stop going through the speakers, even though there are no wired accessories in the connector? This problem is familiar to many owners of Redmi Note 10/11/12, Redmi 9/10 and other MIUI-based models. The fault is the detection of the connected device that blocks the output of sound to the main speakers.

80 percent of the time, the problem is solved software--without repairing or replacing the connector. We put together 5 proven methods, including hidden developer settings, ADB commands, and hardware reset. Importantly, some methods require superuser rights, but most of the instructions work on standard firmware. If your Redmi gives an error "Hearphones are connected" but they're not in the connector, you're in the right place.

Reasons for the false operation of the headphone mode on Xiaomi:

  • πŸ”Œ Pollution or oxidation of the connector 3.5 mm (dust, moisture, mechanical damage).
  • πŸ€– Software failure after update MIUI or custom-fixing.
  • πŸ”Š Conflict of Sound Control Applications (Equalizers, Modified Players).
  • πŸ”§ Hardware malfunction of the sound controller (less often, but requires diagnosis).
πŸ“Š Your Xiaomi Redmi model?
Redmi Note 10/11/12
Redmi 9/9A/9C
Redmi 8/8A
Redmi 7/7A
Another model

Basic methods: rebooting and cleaning the connector

Start with the simplest of things, which are helpful in 60 percent of cases, and if you have a problem with your headphones, you should first physically examine the jack.

Take a flashlight and check if there are any foreign objects inside the 3.5mm (villi, pieces of plastic from the plug). Often the reason for the headphone mode to freeze is small debris that closes the contacts of the connector, which the smartphone perceives as a connected device.

  • πŸͺ₯ Dental cleaning (carefully, without pressing on contacts!).
  • πŸ’¨ A bottle of compressed air (don’t blow with your mouth – moisture will aggravate the problem).
  • 🧴 Alcohol and cotton swab (to remove oxidation if the connector is green).

After cleaning:

  1. Connect and disconnect the headphones 3-5 times in a row (this will reset the state of the controller).
  2. Reboot your phone with a long power button hold (10-15 seconds).
  3. Check the sound through the speakers – if the problem persists, move on to the next method.

⚠️ Warning: Do not use metal objects (needles, paper clips) to clean the connector, this can close the contacts and disable the sound controller. If after cleaning the sound is completely lost, the microphone contacts or speaker are likely damaged.

2.Reset audio settings via MIUI menu

If the hardware cleaning didn't work, the problem is the software settings. MIUI has hidden audio settings that can be reset without losing data.

Open Settings β†’ Sound and vibration and do the following:

Check the volume slider (is it at a minimum?)

Turn off the option "Adaptive sound" (if any)

Reset the equalizer settings (return to factory settings)

Turn off all sound effects (Dolby, Hi-Fi, etc.)

-->

If these manipulations didn’t help, move to reset via developer mode:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Return to the main settings menu, open Additional settings β†’ For developers.
  3. Find the item Turn off absolute volume and turn it on (this will reset the settings of the audio router).
  4. Reset the device.
MethodImplementation timeNeed root?Efficiency
Reboot.1 minuteNo.30%
Cleaning the connector5-10 minutesNo.50%
Resetting sound settings2 minutes.No.40%
Developer mode3 minutes.No.60%

⚠️ Attention: If after resetting the audio settings, the sound in the headphones disappeared, but the speakers worked - the problem was in the conflict of routing the audio streams. β†’ Updating the system.

3. Forced reset via engineering menu(s)

On the Xiaomi Redmi smartphones there is a hidden engineering menu, which can be accessed through special devices. USSD-It allows you to manually reset the state of the audio port, which works on 90 percent of models, but it takes care that you do something wrong and you can crash the sound.

Enter the following code in the Phone application:

##36446337##

After that, the MMITest menu will open.

  1. Hardware Testing β†’ Audio β†’ Headset Mode
  2. Press Switch Off (turn off headphone mode).
  3. Go back to the main menu and select Restart Audio System.

If the code doesn’t work, try the alternative for the newer versions of MIUI 13/14.

##4636##

From the menu that opens, select Usage Statistics β†’ Audio β†’ Force Headset Off.

πŸ’‘

If the engineering menu doesn't open, check if it's blocked by an antivirus or privacy application (e.g., Xiaomi's Security).

4.Use ADB to force headphones to shut down

If standard methods don't work, you'll need to connect to your phone via ADB, which is a universal low-level management tool.

  • πŸ–₯️ Computer with installed Xiaomi and ADB-tools drivers.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“± Included debugging by USB on the phone (Settings) β†’ For developers β†’ Debugging by USB).

Connect your phone to your PC and execute the following commands in the terminal (command line):

adb shell


settings put global headset_blacklist_enabled 1




settings put global force_use_headset 0




am broadcast -a android.intent.action.MEDIA_BUTTON -e android.intent.extra.KEY_EVENT KEYCODE_HEADSETHOOK --ez android.intent.extra.KEY_EVENT 0

After you've done the commands, restart the device. If the sound hasn't recovered, try an alternative method by resetting the audio policy:

adb shell


su




rm /data/vendor/audio/* (requires root!)




reboot

⚠️ Attention: Command rm /data/vendor/audio/* It deletes the audio configuration files and requires root permissions. It won't work without them. It can cause total loss of sound if you're not sure, skip this step.

What if the ADB can’t see the device?
Make sure: 1. USB debugging is enabled on the phone (Settings β†’ Developers). 2. Xiaomi drivers are installed on a PC (download them from the official website). 3. Use the original cable (cheap cables often do not transmit data). 4. File Transfer (MTP) or Debugging (ADB) mode is selected in the USB connection settings on the phone. If the problem persists, try reinstalling the platform-tools or using another PC.

Hardware discharge and extreme measures

If the software methods didn't work, the problem could be a hardware malfunction.

Option 1: Hard Reset (Hard Reset)

This will delete all the data from the phone, but it will return the factory sound settings.

  1. Turn off the phone.
  2. Press the Power button + Volume up for 10 seconds until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the reboot.

Option 2: Replace the connector or sound controller

If the problem remains after the reset, it is likely to be damaged:

  • πŸ”Œ 3.5 mm connector (most often oxidation or break of contacts).
  • πŸ”Š Sound chip (less often but requires soldering).
  • πŸ“± The plume of the motherboard (with mechanical damage).

Cost of repair in the service center:

Type of repairCost (β‚½)Time.
Cleaning/replacement of 3.5 mm connector800–1 50030-60 minutes
Replacement of the sound controller2 500–4 0002-3 hours
Diagnosis + soldering of the plume1 500–3 0001-2 days

Before repairing, check if your Redmi warranty is valid. If so, contact the official Xiaomi service center, where the connector will be replaced for free.

πŸ’‘

If the phone is warranty, DO NOT disassemble it yourself and DO NOT use root methods (e.g. deleting files via ADB).

6.Alternative solutions: Bluetooth and external speakers

If you can not turn off the headphone mode, but the sound is urgently needed, use the workarounds:

Method 1: Wireless headphones or speakers

Connect the device via Bluetooth:

  1. Open Settings β†’ Bluetooth and turn on the search.
  2. Put your headphones or your speaker on.
  3. In a playback app (such as YouTube or Music), select audio output to a Bluetooth device.

Method 2: USB-C/Type-C dynamics

Modern Redmis (starting with the Note 10) support audio output via USB-C. Buy a USB-C adapter β†’ 3.5 mm or connect the speakers directly.

Method 3: Applications for forced routing of sound

Install one of the apps from Google Play:

  • 🎧 SoundAbout (allows you to manually select the output device).
  • πŸ”Š Audio Routing (switches sound between speakers and headphones).
  • πŸ› οΈ Headset Blocker (blocks false headphone definition).

⚠️ Note: Sound routing applications require permission to access system settings. Do not install them from unverified sources - this can lead to data leakage.

FAQ: Frequent questions about the headphone mode on Xiaomi Redmi

❓ Why does the phone say β€œHearphones are connected” but they are not?
This is due to: Connection closure (dust, moisture, damage), audio driver failure (especially after the MIUI update); conflict with applications that control sound (equalizers, modified players); start by cleaning the connector and restart; if it doesn't work, use an engineering menu or ADB.
❓ Can I turn off the headphone mode without restarting?
Yes, there are two quick ways: Connect and turn off your headphones 5-10 times in a row (sometimes this resets the controller state). Turn on and off the plane mode (Settings β†’ Airplane Mode). If that doesn't work, use the engineering menu (code #36446337##).
❓ Why After Updating MIUI missing the speaker?
Updates MIUI Sometimes they reset the audio routing settings. Try: Reset the audio settings (Settings) β†’ Sound. β†’ Reset. Turn off the absolute volume in the developer menu. Delete the Settings app cache (Settings) β†’ Annexes β†’ Application management β†’ Settings β†’ If the sound is not restored, roll back to the previous version. MIUI recover.
❓ How to check if the 3.5mm connector is working?
Diagnostics: Put your headphones on and check if it's sounding. See if the phone detects connection/disconnection (should be an audible signal or notification); Use a tester (multimeter) to check the resistance of the connector contacts (should be ~0 Ohms on mass contacts). If the connector doesn't respond to the connection, it needs to be repaired or replaced.
❓ What to do if none of the methods helped?
If all software methods have been tried, and the sound through the speakers has not recovered: Contact the Xiaomi service center (if the phone is warranty). Try to reflash the phone via Fastboot (instructions are on the forum). 4PDA). Use Bluetooth devices to output sound until you fix the connector. 99% of the time, the problem is solvable, but sometimes you need to replace the sound chip (cost) ~2 000–4 000 β‚½).