Problems with connecting headphones, fitness bracelets or car systems via Bluetooth on Xiaomi smartphones are often related to clogged module cache. Even if the gadget previously worked steadily, over time, temporary files, conflicting data about the mated devices and outdated connection profiles accumulate, which leads to hangings on connection, communication breaks or complete invisibility of the devices in the list of available devices.
Many users mistakenly believe that it is enough to simply forget the device in the settings β but this only removes the pairing record, without affecting the system cache. In this article, we will discuss 5 proven ways to completely clean the Bluetooth cache on Xiaomi, including hidden methods through ADB and engineering menu. The instructions are relevant for all modern models, from the Redmi Note 12 to the flagship Xiaomi 14 Ultra.
MIUI firmware features aggressive caching to speed up reconnections, saving time on the one hand, but also creating a build-up of junk that interferes with new devices, such as if you were connecting AirPods and then trying to use Sony WH-1000XM5, the system can confuse profiles by giving you an error called "Unconnected."
Before you start cleaning, make sure that the problem is in the cache, and not in the hardware malfunction of the Bluetooth module.
- π The device is then connected, then disconnected spontaneously
- π The gadget does not appear in the list of available, although it is included and is nearby.
- π΅ Sound is interrupted or distorted when played through Bluetooth headphones
- βοΈ The βBluetooth Errorβ message appears in the settings without specifying
1. Standard cache cleaning through MIUI settings
The safest and most recommended way for Xiaomi is to use the built-in tools, which do not require root rights and is suitable for all versions of MIUI (including MIUI 14 and HyperOS).
Go to Settings β Applications β Application Management. In the upper right corner, click on three dots and select "Show all apps." In the list, find "Bluetooth" (or "Bluetooth Settings" on some firmwares). Open it and select sequentially:
- Warehouse
- Clear the cache
- Clear the data (optional if the standard cleaning did not help)
Important: Once the data is cleaned, all the associated devices will be removed and reconnected, and this method is effective in 80% of cases and solves the problem of "forgetting" devices after updating the firmware.
If there is no βBluetoothβ item in the list of applications, try an alternative path: Settings β Connections and Sharing β Bluetooth β Settings (cogs) β Additional β Reset Bluetooth settings.
Write down MAC- addresses of important devices (located in their settings)
Check the battery charge of the smartphone (minimum 30%)
Disable VPN or proxy servers
Close all background applications that use Bluetooth-->
2. reset Bluetooth settings to factory
When cleaning the cache doesn't work, the next step is to completely reset the Bluetooth module, which removes all stored devices, resets the power saving settings, and restores the default settings.
Instructions for MIUI 12-14 and HyperOS:
- Open Settings β Connections and Sharing β Bluetooth
- Click on the three dots in the upper right corner and select Bluetooth Settings.
- Scroll down and tap "Bluetooth Reset"
- Confirm the action by entering the screen unlock password
On some models (e.g., POCO F5 or Redmi K60), the path may be different: Settings β System and device β Additional settings β Resetting β Resetting Bluetooth settings.
β οΈ Warning: After resetting, some devices (such as Mi Band or Xiaomi wireless headphones) may require re-authorization in the Mi Fitness or Xiaomi Wear app. Check in advance for data backups in these apps.
On smartphones with a Bluetooth 5.2 chip and later (for example, Xiaomi 13T Pro), the reset also resets the LE Audio protocol, which can temporarily worsen the sound quality in the first connections. This is normal - after 2-3 sessions, the quality will be restored.
3. Cleaning through the engineering menu (for experienced users)
The ##4636## Engineering Menu provides access to hidden Bluetooth settings, including low-level caching options, a method that requires caution as improper changes can disrupt wireless modules.
Step-by-step:
- Open the Phone app and enter the combination ##4636###
- In the menu that appears, select βPhone Informationβ (or βTestingβ on some firmware)
- Scroll down to the Bluetooth block and click on Bluetooth Test.
- In the new window, select "Clear BT Cache" or "Reset BT Stack"
- Confirm the action and restart the smartphone
On Qualcomm Snapdragon models (e.g. Redmi Note 12 Pro+) an additional step may be required: In the Engineering Menu β Hardware Testing β Bluetooth β BT FW Version β Clear Pairing Devices.
β οΈ Warning: Some firmware MIUI for China has the engineering menu blocked. If nothing happens after you enter the code, try using the MTK Engineering Mode app (for MediaTek chips) or Qualcomm USB Driver (for Snapdragon).
What to do if the engineering menu does not open?
4. Complete cleaning through ADB (for advanced)
The Android Debug Bridge tool (ADB) allows deep cleaning of Bluetooth cache, including system files that are not available through the standard interface.This method requires USB- debugging and is suitable for users willing to work with the command line.
Preparation:
- Activate Developer Mode: Settings β About Phone β MIUI Version (Tap 7 times)
- Enable USB- to debug in Settings β More β For developers
- Download ADB Tools and unpack it on your computer.
- Connect your smartphone to your PC and confirm your trusted device
Cleaning commands (input in turn in cmd or terminal):
adb shell
pm clear com.android.bluetooth
rm -rf /data/misc/bluedroid/*
rm -rf /data/misc/bluetooth/*
rebootFor models with HyperOS (such as Xiaomi 14), add the command:
adb shell cmd bluetooth_manager clear_config| ADB Team Team | Action. | When to use |
|---|---|---|
| pm clear com.android.bluetooth | Resetting the Bluetooth app | For errors like "Bluetooth has stopped" |
| rm -rf /data/misc/bluedroid/* | Removing the Bluedroid Protocol Cache | If the devices are not detected |
| settings put global bluetooth_on 0 | Software disabling of the module | For a forced stack reboot |
| cmd bluetooth_manager clear_config | Cleaning HyperOS configurations | For new firmware (2023-2026) |
adb shell settings put global bluetooth_on 1
This force activates the module. If the problem persists, check the integrity of the system files through the MIUI System Repair Tool.-->
5. Manual deletion of cache files (requires root)
For users with unlocked bootloaders and root rights, the most radical method available is direct deletion of cache files through the file manager, which is guaranteed to remove all traces of previous connections, but requires caution.
Instructions:
- Install a file manager with root support (such as Solid Explorer or Root Explorer)
- Go to /data/misc/bluedroid/
- Delete all files with extensions:.conf (configuration).bin (binary cache).dat (device data)
Reset the device
For Android 13/14-based firmware, check the folders: /data/misc/bluetooth/ and /data/vendor/bluetooth/.
β οΈ Warning: Deleting files in /data/misc/ without root rights can cause data loss in other system applications. Never modify files manually unless you are sure of their purpose. For example, deleting bt_config.conf will reset all settings, but touching bt_stack.conf is not recommended - it can disrupt the protocol stack.
adb shell pm clear com.android.bluetooth && adb shell rm /data/misc/bluedroid/bt_config.conf
This will only delete the configuration file without a complete reset.-->
6. Alternative methods: rollback of drivers and module firmware
If all previous methods failed, the problem may lie in damaged drivers or the firmware of the Bluetooth module, which is relevant after the failed MIUI updates or experiments with custom firmware.
Options:
- π Pushback MIUI: If problems started after the update, return to the previous stable version via MIUI bootloader and Fastboot
- π§ Module flashing: For Qualcomm chips, use QFil or QPST with the original BT_firmware.elf (you can download the Xiaomi Firmware Updater)
- π οΈ Replace configuration file: Copy bt_config.conf from a working device of the same model in /data/misc/bluedroid/
Models with a MediaTek chip (e.g. Redmi 12C) may require firmware via the SP Flash Tool with only a selection of the BLUETOOTH partition (usually a MTxxxx_Bluetooth.img file where xxxx is the chip model).
Before proceeding with firmware, check the integrity of the current version through the command:
adb shell dumpsys bluetooth_managerIn the conclusion, note the lines "Stack Version" and "Controller State." If the status is UNINITIALIZED, the module requires flashing.
Frequent mistakes and their solutions
Even after cleaning the cache, users face typical problems, and here are the most common ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Bluetooth is on, but does not detect devices. | Frequency conflict with Wi-Fi (both operating at 2.4 GHz) | Turn off Wi-Fi or switch to 5GHz, then reboot Bluetooth |
| "It's on, but there's no sound." | Incorrect profile (A2DP instead of HFP) | In the device settings, select "Use for Media" |
| "The device is connected and immediately disconnected." | Too many saved profiles (limit 10-15) | Remove unnecessary devices from the list of associated |
| "Authentication error" | The encryption key in the cache is damaged | Complete Bluetooth reset (Section 2) |
If, after all the manipulations, Bluetooth still doesnβt work, check the hardware:
- π Make sure the battery is more than 15% charged (at low charge, the module shuts down)
- πΆ Check the Bluetooth antenna (located next to the main camera) for physical damage.
- π Connect the charger β some models turn off Bluetooth in power saving mode