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).
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:
- Connect and disconnect the headphones 3-5 times in a row (this will reset the state of the controller).
- Reboot your phone with a long power button hold (10-15 seconds).
- 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:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Return to the main settings menu, open Additional settings β For developers.
- Find the item Turn off absolute volume and turn it on (this will reset the settings of the audio router).
- Reset the device.
| Method | Implementation time | Need root? | Efficiency |
|---|---|---|---|
| Reboot. | 1 minute | No. | 30% |
| Cleaning the connector | 5-10 minutes | No. | 50% |
| Resetting sound settings | 2 minutes. | No. | 40% |
| Developer mode | 3 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.
- Hardware Testing β Audio β Headset Mode
- Press Switch Off (turn off headphone mode).
- 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 0After 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?
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.
- Turn off the phone.
- Press the Power button + Volume up for 10 seconds until the Mi logo appears.
- From the Recovery menu, select Wipe Data β Wipe All Data.
- 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 repair | Cost (β½) | Time. |
|---|---|---|
| Cleaning/replacement of 3.5 mm connector | 800β1 500 | 30-60 minutes |
| Replacement of the sound controller | 2 500β4 000 | 2-3 hours |
| Diagnosis + soldering of the plume | 1 500β3 000 | 1-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:
- Open Settings β Bluetooth and turn on the search.
- Put your headphones or your speaker on.
- 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.