You took a Xiaomi phone out of your pocket, and the headphone icon still burns on the screen — even though no wired or wireless headsets are long gone? — This problem is familiar to many owners of smartphones on MIUI, especially after upgrades or mechanical damage to the 3.5mm connector. The icon is not just annoying visually: it blocks the output of sound to speakers, making it impossible to call and listen to music without connected devices.
The reasons for the appearance of the “ghost” icon are diverse: from the banal contamination of the connector to malfunctions in the work of an audio driver or firmware. Qualcomm/Mediatek. V 80% In cases, you can solve the problem yourself without going to the service center. 7 Proven methods, including software tricks, hardware checks and even hidden engineering menus that are not written in the official instructions. 10/11/12, POCO X3/X4 and flagships Xiaomi 13/14, where the problem is most often encountered.
Before you go to radical measures (like resetting), try simple steps. For example, on models with a Snapdragon 8 Gen 1 chipset and later, the failure is often associated with a Bluetooth stack-audio driver conflict - it can be fixed by restarting in safe mode. And owners of devices with MIUI 14 should first check the updates: version 14.0.6.0 fixed a critical error in determining the connected accessories.
1. Basic checks: what to do before resetting
Start with the basics -- they take less than a minute, but they solve the problem in 30 percent of the cases -- and most often, the headphone icon gets stuck because of a temporary audio subsystem failure or physical contact in the connector.
The first thing you need to do is force the phone to restart. Press the power button for 10-15 seconds until the screen goes out and the MIUI logo appears. This method works if the fault is caused by the sound card driver freezes. After rebooting, check if the icon is gone. If not, move on to the next step.
- 🔌 Turn off all accessories: Remove the charger, OTG-cables, adapters, sometimes connectors. USB-C or 3.5 mm closed, simulating the connection of headphones.
- 🧹 Clean the connector: Take a toothpick (not a metal one!) and carefully remove dust or oxides from the socket. 9A/9C Often accumulates dirt, which closes the contacts.
- 🔊 Check the sound: try to turn on music or video. If the sound is going through the speakers, the only problem is the icon. If there is no sound, the failure is deeper.
- 📱 Put your headphones on and off, put any working headphones in the jack, wait for the icon to appear, then remove them. Sometimes it resets the state of the audio port.
If the basic methods didn't work, go to the software methods, but first make sure that the problem is not a hardware malfunction. For example, on the POCO F3 and Xiaomi 11T, the audio port controller often fails, in which case only repairs will help.
Reboot in Safe Mode: Diagnosing Conflicts
Safe Mode loads MIUI with minimal driver set and no third-party apps, and if the headphone icon disappears in this mode, the problem is a conflict of programs or corrupted cache data.
To enter safe mode:
- Press the power button until the shutdown menu appears.
- Press and hold your finger on the “Switch off” (or “Switch off power”) option.
- After 2-3 seconds, a proposal will appear to go to safe mode - confirm.
In safe mode:
- 🔍 Check if the headphone badge is gone.
- 🎵 Try to play the sound through the speakers.
- 📱 Connect and turn off the headphones (if possible).
If the problem disappears, one of the installed applications is to blame, and most often conflicts are caused by:
- 🎧 Applications for sound management (Equalizer) FX, ViPER4Android).
- 🔊 Modified firmware or patches (Magisk, Xposed).
- 🤖 Automation applications (Tasker, MacroDroid).
To find the culprit, remove suspicious programs one by one, restarting the phone after each deletion. On Xiaomi with MIUI 13+, you can use the built-in Activity Monitor (Settings → Special Opportunities → Activity Monitor) to track which application is interacting with the audio system.
☑️ Diagnosis in safe mode
3. Resetting audio and cache settings of audio services
If the headphone icon remains even after the reboot, the audio driver or system services cache may be damaged. MIUI has hidden settings that allow you to reset the sound settings without completely resetting the phone.
First, try resetting the sound settings:
- Go to Settings. → Sound and vibration.
- Slip on three points in the upper right corner (or additionally).
- Select “Reset settings” (or “Restore default values”).
If this method does not help, clear the cache of audio services through the application settings:
- Open Settings → Applications → Application Management.
- Tap it on three points. → «Show system-based».
- Find and select: com.android.bluetooth (Bluetooth) com.miui.player (Music) com.android.media (Media)
"Clear the cache."
"Stop it."
For Android 12+ models (such as the Xiaomi 12 Pro or Redmi Note 11 Pro+), additional cache cleaning of AudioFX may be required:
adb shell pm clear com.android.effectsThis command must be executed via ADB (read more about ADB settings in Section 5).
What if there is no "Reset" item in the sound?
4. Engineering menu and audio port tests
The hidden engineering menu (Engineer Mode) allows you to test the phone’s hardware components, including the audio port, which is especially useful if you suspect a physical malfunction of the 3.5mm or USB-C connector.
To open the engineering menu:
- Open the phone app.
- Enter the code: ##4636## (to test) or ##3644633## (to use the engineering menu on Mediatek).
- On Qualcomm chipsets (most of Xiaomi’s flagships), use the code: #86583###.
On the engineering menu:
- 🔧 Go to the section "Hardware Testing» → «Audio».
- 🎧 Select Headset Mode and run the test.
- 🔄 If the test shows “Headset Inserted” (earphones connected) in the absence of the device – the problem is the connector or controller.
- 📊 Check the "Impedance" value. The normal value for a disconnected connector is infinity (∞) or 0 ohm.
On models with Qualcomm Snapdragon (for example, POCO F4 GT or Xiaomi 12S Ultra), you can use the advanced test:
adb shell am start -n com.qualcomm.qti.engineermode/.EngineerModeIf the engineering menu shows that the headphones are “connected” despite not having them, try blowing the jack with compressed air (for example, a canister to clean the keyboard). On the Redmi Note 10 Pro and similar models, it often helps to insert / remove the headphones several times with effort - this can “unlock” jammed contacts.
💡
If the engineering menu does not open, try entering the code through the Calculator app (enter the sequence of numbers and characters, as on the phone keyboard).
5. ADB-commando
If the software methods don’t work, you can manually reset the state of the audio driver via Android Debug Bridge (ADB), a method suitable for advanced users, as it requires connecting the phone to a computer.
First, turn on the USB debugging:
- Go to Settings. → The phone.
- Tap 7 times on the MIUI version to activate Developer Mode.
- Back to Settings → Additionally. → For developers.
- Activate "Debugging by" USB».
Install. ADB-Drivers to your computer (download Google’s Platform Tools) and execute commands:
adb devices
adb shell
su
echo 0 > /sys/class/switch/h2w/state
exit
exitIf the su command doesn’t work (no root rights), try an alternative method:
adb shell settings put global headset_connected 0For Mediatek chipsets (such as Redmi 10C or POCO M4 Pro), another command may be required:
adb shell am broadcast -a android.intent.action.HEADSET_PLUG --ez state 0 --ez microphone 0Once you've done the commands, restart your phone. If the icon is gone, the problem was the software failure of the audio stack. If it's not, there are two options: hardware failure or factory reset.
💡
ADB-commands are the most effective way to reset the "hung" state of the audio port, but requires a connection to a PC. 90% The settings put global command headset_connected 0.
6. Hardware reasons: when to carry in the service
If none of the software methods worked, the problem is probably a physical malfunction of the phone, and here are the most common hardware causes:
| Reason. | Symptoms | Models where it is more common | Decision |
|---|---|---|---|
| Oxidation of 3.5 mm/USB-C connector contacts | The badge appears after moisture hits, the sound is interrupted. | Redmi 9, POCO X3 NFC | Cleaning with alcohol or replacing the connector |
| Damage to the flexible plume of the audio port | The badge flashes, the sound is distorted. | Xiaomi Mi 11, Redmi Note 10S | Replacement of the plume |
| Failure of the Audio Codec (Sound Controller) | The badge burns constantly, there is no sound through the speakers or through headphones. | POCO F3, Xiaomi 12T | Replacement of motherboard |
| Short circuit in the connector | The badge appears when you press the body next to the connector | Redmi 8A, POCO M3 | Replacement of connector or soldering of contacts |
To diagnose a hardware problem yourself:
- 🔦 Light the flashlight in the connector 3.5 mm/USB-C — If oxides or bent contacts are visible, cleaning or replacement is required.
- 🤏 Carefully press the body of the phone next to the connector. If the icon flashes, the problem is poor plume contact.
- 🔊 Put your headphones on and rock the plug in the connector. If the sound is interrupted, the contacts are worn out.
Cost of repair in the service center:
- 🔧 Replacement of the 3.5 mm connector: 800-1 500 ₽.
- 🔧 Replacement USB-C port: 1,200–2,500 ₽.
- 🔧 Repair of the plume: 1,500–3,000 ₽.
- 🔧 Replacement of audio codec: 3,000–6,000 ₽ (It is often cheaper to buy a new phone).
💡
If the phone is warranty, don't disassemble it yourself! opening the case will void the Xiaomi warranty.
7.Extreme measures: reset to factory settings
If all previous methods failed, you will have a complete reset, which will delete all data from your phone, so back up first:
- 📱 Go to Settings. → The phone. → Backup.
- 🖥️ Connect to Mi Cloud or copy files to your PC.
- 🔐 Remember the Mi Account data – after the reset, authorization will be required.
To reset the settings:
- Open Settings → Additional → Recovery and Reset.
- Select “Reset” → “Delete all data”.
- Confirm the action and wait for the reboot (it will take 5-10 minutes).
After discharge:
- 🔄 The phone will reboot to its initial state (like after purchase).
- 📱 Go through the initial setup, but don’t restore data from the backup right away – first check if the headphone icon has disappeared.
- 🔊 If the problem is solved, alternately install applications to identify the culprit of the conflict.
⚠️ Attention: On models with MIUI 14 and Android 13 may need to link your Mi Account to unlock after reset.Make sure you remember your password!