How to Clear Bluetooth History on Xiaomi: From Cache to Hidden Settings

Modern Xiaomi and Redmi smartphones accumulate a huge amount of service information during operation. One of the most often ignored areas is the list of paired Bluetooth devices. Over time, this list grows, including forgotten headsets, car stereo systems and smart watches that are no longer used.

Many users mistakenly believe that it is easy to โ€œforgetโ€ the device in the menu, but the system often stores technical logs and cached data to speed up reconnection, which can lead to conflicts when the phone tries to find an old gadget instead of a new one, or to slow down the communication module.

In this article, we will not only look at standard methods for removing devices, but also at advanced ways to clean up the Bluetooth system cache. You will learn how to use the engineering menu and command line to completely remove traces of past connections on devices running MIUI and HyperOS.

Why You Need to Clean Your Bluetooth Connections Regularly

Periodic cleaning of the connection list is not just a matter of aesthetics in the settings menu. Bluetooth protocol works in the background, constantly scanning the airwaves for familiar signals. If there are many โ€œdeadโ€ profiles left in the phoneโ€™s memory, the search process can take up more CPU resources than necessary.

Older configurations can also cause addressing conflicts, for example, if you sell your old headphones and buy a new model from the same brand, the phone may try to apply the settings of the old device to the new one, which will cause the sound or microphone to malfunction, and removing the old recordings will ensure that the pairing goes โ€œclean.โ€

There's also the digital security aspect. There are still unique devices on the list of connected devices. MAC-In rare cases, if there are vulnerabilities in the Bluetooth stack, attackers can use this data for tracking or "Bluejacking" attacks".

  • ๐Ÿ“‰ Reducing battery load by reducing the number of background search queries.
  • ๐Ÿ”’ Removal of potentially vulnerable entry points and old MAC-memory.
  • โšก Accelerating the process of connecting to new devices without profile conflicts.
๐Ÿ“Š How often do you clean your Bluetooth device list?
Never/Only when it glips/Once a month/Once a week

Basic method: Delete devices via MIUI settings

The most obvious and safe way to clear history is to use a regular operating system interface, which is suitable for 95% of users and requires no special knowledge. You need to go to Settings โ†’ Bluetooth and find a list of available and previously connected gadgets.

This list shows every device that has ever been paired with, and each device has a "Forget Device" option (or a gear/arrow icon, depending on the version of MIUI) available, and pressing this button removes the encryption keys and the device profile from the active database.

โš ๏ธ Warning: After performing the โ€œForget Deviceโ€ action, all stored data on the synchronization of contacts and call history for this gadget will be irretrievably deleted from the phone.

If the standard menu does not allow you to remove the device (the button is inactive or the menu freezes), try first to turn off the Bluetooth module itself with a slider, wait 5 seconds and turn it on again.

effluent-->

Cleaning up the cache and data of the Bluetooth service

Even after deleting devices from the visible list, temporary files and service logs remain in the system. They are stored in the system applications section and may take up space or contain errors. To access this data, you need to open Settings โ†’ Applications โ†’ All applications.

In the application list, find the Bluetooth system process (sometimes called Bluetooth MIDI Service or simply have a Bluetooth logo). Once inside, select Memory or Storage, and then click Clear or Reset.

This operation will force the Bluetooth service to restart, and unlike just turning off the slider, it's a complete reboot of communication demons, and the phone can lose the network for a second or vibrate to report a restart of system services.

What happens when the service data is reset?
When you clean up your Bluetooth data, it deletes all temporary files, search cache, and current active sessions, and it doesnโ€™t delete your personal files (photos, music), but it may require you to re-enter. PIN-code for some vehicle systems on the next connection.

This is recommended if you notice your phone is โ€œdullโ€ when you turn on Bluetooth or looking for devices for a long time, and this is an effective way to programmatically resuscitate the module without restarting the entire smartphone.

Using the Engineering Menu for Deep Diagnostics

For advanced users who want to look deeper than standard settings, the Xiaomi Engineering Menu is available, a hidden part of the system designed to test hardware. To get there, open the Phone app and type in ##6484##.

In the CIT menu that opens, you have to find a Bluetooth item, which is usually on the test list, and you can run a module test that will force it to reset and clear the active data buffers.

Parameter of the testDescription of actionInfluence on history
Bluetooth LoopbackVerification of packet reception and transmissionResets active compounds
Bluetooth AddressDisplay MAC-addressOnly view, no changes.
BLE TestBluetooth testingClears the cache. BLE-device

Using the engineering menu is safe as long as you do not change the parameters you do not know, but changing the value of "BD Address" in the engineering menu can lead to loss of warranty and incorrect operation of the communication module, so it is not recommended to touch the fields with addresses.

  • ๐Ÿ›  Allows you to diagnose hardware problems of the communication module.
  • ๐Ÿ”„ Forced to restart Bluetooth drivers at low level.
  • ๐Ÿ“ก Provides access to signal tests not available in normal mode.

Radical Method: Resetting through ADB commands

If the GUI is not working, you can use USB debugging and the ADB (Android Debug Bridge) utility, which requires connecting your smartphone to your computer and having drivers installed, and allows you to interact directly with system databases.

The first step is to activate the developer mode. Go to Settings. โ†’ About the phone and 7 times click on the version MIUI. Then in the advanced settings, turn on "Debugging by" USB". Connect your phone to your PC and open the command line.

adb shell pm clear com.android.bluetooth

This command completely clears the data and cache of the Bluetooth application, which is equivalent to reinstalling its system component. Once the command is executed, the phone can automatically restart the communication module, and this is the most effective way to remove "zombie devices" that are not deleted by standard methods.

โš ๏ธ Attention: For teams to work ADB You need debugging permission. Be careful when typing commands, as a syntax error can cause other system settings to reset.

You can also use the command to reset your network settings, which will affect Bluetooth, Wi-Fi, and mobile data:

adb shell settings put global bluetooth_on 0
adb shell settings put global bluetooth_on 1

Hidden developer settings and logging

The developer menu (Settings โ†’ Advanced Settings โ†’ Developer) hides options that affect Bluetooth behavior, and you can find the Bluetooth MAP version option or codec settings that sometimes affect the list of visible devices.

Special attention should be paid to the option to turn on the HCI Bluetooth log. If it is activated, the phone constantly records the logs of all Bluetooth actions in memory. This can slow down and fill up storage. Disabling this feature is a good step to optimize.

๐Ÿ’ก

Turn on the option โ€œShow Bluetooth Device Chargeโ€ in the developer menu to always see the headphone charge level in the status bar, even if the accessories manufacturer does not support this feature natively.

In the same section, you can reset your network settings, which is the equivalent of completely resetting all network interfaces, and this action will remove all stored Wi-Fi networks and Bluetooth keys, returning the phone to its factory state in terms of communications.

๐Ÿ’ก

Resetting network settings through the developer menu is a โ€œnuclear optionโ€ that is guaranteed to clear the entire history of connections, but requires reconfiguration of Wi-Fi and passwords.

Frequent problems and their solution

Users often face a situation where the device appears on the list but is not removed, or the phone does not see new gadgets after cleaning.In such cases, it is often helpful to completely reboot the smartphone after completing all the cache cleaning procedures.

If the problem persists, the system configuration file may be damaged, in which case it may be necessary to reset all the phone settings to factory (Wipe Data), but this is an extreme measure. Before you try to update the firmware through the About Phone menu, as new versions of HyperOS often contain patches of the Bluetooth stack.

Remember that some devices (such as car radios) can "remember" your phone, clearing the history on your smartphone won't remove it from your car's memory, and you need to perform the "Unpair" or "Delete Device" procedure on the receiving gadget.

  • ๐Ÿ”„ Perform a reboot after cleaning the service cache.
  • ๐Ÿ“ฑ Check for system updates MIUI/HyperOS.
  • ๐Ÿš— Donโ€™t forget to clean the memory of the connected device.
Is it safe to use third-party Bluetooth cleanup apps?
Most of the Play Market's client applications don't have the system rights to deep-clean Bluetooth, they can only duplicate the "Forget Device" function, and they often contain ads and collect data, and the built-in MIUI is enough to clean up the device.
Will Bluetooth Cleanup Reset the Mi Band Smartwatch Settings?
Yes, if you clean up Bluetooth data or forget the device, the watch will lose touch with the phone, you'll have to re-pair through the Mi Fitness or Zepp Life app, and the health data stored in the cloud won't be affected.
Can a remote device be restored from history?
No, once you confirm "Forget the device" or clear the service data, the encryption keys are permanently deleted, and the only way to get the device back on the list is to pair it again, like with a new gadget.