Xiaomi smartphones based on MIUI or the new HyperOS collect a huge amount of data about your activity: browser history, call log, correspondence in messengers, app cache and even geolocation. If you plan to sell the phone, transfer it to relatives or just want to ensure privacy, it is not enough just to delete a few files. In this article, we will analyze all the kinds of history that your Redmi, POCO or Mi saves, and show you how to clean them correctly without a trace.
It's important to understand that simple deletion through the interface often leaves traces in system folders. For example, com.android.providers.contacts can back up calls even after cleaning the log. And Mi Browser browser stores data in the Mi Account cloud if synchronization is not disabled. We'll look not only at standard methods, but also at hidden settings that the manufacturer does not advertise.
1. Clearing the history of the browser on Xiaomi
By default, Xiaomi smartphones use the Mi Browser (or Mint Browser on some models) that is integrated with the Mi Account ecosystem. Even if you delete the history manually, it can be restored the next time you log in. Here's how to delete it irrevocably:
- π Through browser settings: Open Mi Browser, tap three points β History β select Clear Data. Make sure that the "Browsing History", "Cookies" and "Cache" items are marked".
- π Disconnect Sync: Go to Settings β Accounts. β Mi Account β Synchronize and deactivate the option "Browser".
- ποΈ Delete system files: Use a file manager (e.g. Files by Google) and manually delete the folder /data/data/com.mi.globalbrowser/files (Root rights are required).
If you use Google Chrome, the algorithm is different: open browser β three dots β History β Clear data. Select the All-Time period and mark all data types. For complete cleaning, also go to Settings β Google β Account Management β Data and Personalization β Application History and Web Search and delete activity.
Warning: If you are logged in to Mi Account on multiple devices, your browser history can be synced automatically, and to avoid this, disconnect the Internet or log out before clearing.
2. Deletion of call and message log
Call logs and SMS are stored not only in the visible interface, but also in system databases. Standard deletion through the Phone or Messages app is not always effective - especially if backup is enabled in the Mi Cloud.
Open the phone β βJournalβ β βDelete everythingβ
Go to "Messages" β three points β "Delete all threads"
Disable backup in Mi Cloud (Settings β Mi Account β Backup)
Clear the cache of the Phone and Messages applications (Settings β Applications β Application Management)
-->
For deep cleaning:
- Go to Settings β Applications β Application Management.
- Find the Phone (com.android.dialer) and Messages (com.android.messaging) apps.
- Put it on each one. β Warehouse β Clear the data (not just the cache!).
- For models with HyperOS, additionally clear the folder /data/com.android.providers.telephony/databases (requires access to the root directory).
If you use Google Messages or Truecaller, remember to clear the history there. In Truecaller, for example, data is stored in the cloud, so you need to delete it through the web version of the service.
π‘
Before selling your phone, reset to factory settings (Settings β About Phone β Settings Reset). But remember: this does not delete data from Mi Cloud unless you are logged out!
3. Clean Up App History and Google Activity
Xiaomi is integrated with Google services that track your activity regardless of MIUI. For example, Google Activity stores search history, voice commands, locations, and even data from Fitbit or Mi Band.
To delete this data:
- Open Settings β Google β Manage your Google account.
- Go to Data and Personalization β Application History and Web Search.
- Click History Management β Select the βAll Timeβ Period β Delete.
- To delete geodata, go to the Location Chronology and clear it.
We also recommend that you turn off activity retention:
- π Web search: In the same section, deactivate the option "Enable Web and Application Activity".
- π Geolocation: Turn off Location Chronology in Google Settings.
- π€ Voice commands: Remove history in Settings β Google β Search, helper and voice β The history of voice commands.
What happens if you donβt clean up Google Activity?
4. Deletion of cache and temporary files
The application cache and the system temporary files take up gigabytes of memory, but cleaning them isn't always obvious. MIUI has a built-in tool, but it doesn't delete everything. Here's how to clean everything:
| Type of data | Where it's stored | How to clean up |
|---|---|---|
| Application cache | /data/data/*/cache | Settings β Storage β Cleaning β Cache of applications |
| Dalvik-cash | /data/dalvik-cache | Requires root or reset to factory |
| Mini-dumps (logs) | /data/tombstones | Delete through the file manager with root |
| Thumbnails (sketch) | /data/media/0/DCIM/.thumbnails | Hand-delete folder |
For cleaning without root rights:
- Go to Settings. β Warehouse.
- Slip on Cleanup (or "Free Place" in HyperOS).
- Select the categories "App Cache", "Downloads", "Unused Files" and confirm the deletion.
For deep cleaning with root:
su
rm -rf /data/dalvik-cache/*
rm -rf /data/tombstones/*
rm -rf /data/media/0/DCIM/.thumbnailsπ‘
Regular cache cleaning speeds up the phone and prevents errors in applications. However, do not delete files in /system or /vendor folders - this can cause MIUI to crash!
5. Reset history in Mi Account and cloud services
Even after the data is cleaned on the phone, they can stay in the Mi Cloud.
- π± Backup copies of applications and settings
- π Call log and SMS (if synchronization is enabled)
- π Location data (if Mi Location services are used)
- πΌοΈ Photo and video from Mi Gallery
To delete this data:
- Go to i.mi.com and log in.
- Go to the Cloud β Backups section and delete all saved copies.
- In the Gallery section, select files and click "Delete".
- To completely delete your account (if the phone is sold), go to Account Settings β Delete your account.
β οΈ Attention: Deleting your Mi Account linked to your phone may lock your device! If you sell a smartphone, log out first in your phone settings (Settings) β Mi Account β Sign out, and then delete your account through the web version.
6. Hidden methods: ADB and engineering menu
For advanced users, there are ways to clean up history through ADB (Android Debug Bridge) and engineering menus, which allow you to delete data that is not available through the standard interface.
Through ADB, for example, you can clear the entire call history, including system logs:
adb shell
su
pm clear com.android.providers.contacts
rm -rf /data/data/com.android.providers.contacts/databases/*
rebootThe engineering menu (code ##4636###) can be used to reset data usage statistics, but this does not remove activity history. For models with Qualcomm, the ##7780## (soft reset) menu is also available, but it does not clear user data.
β οΈ Attention: Teams ADB With su rights, you can crash your system if you're entered incorrectly. Don't use them unless you're sure you're doing it. -rf /data/* Without filters, delete all user data, including photos and documents!
7. Cleaning automation: planner and third-party utilities
To avoid manually clearing the history, you can set up automatic cleaning using:
- π€ Planner MIUI: Go to Settings. β Additionally. β Planner and create a cache cleaning task once a week.
- π§Ή Third-party utilities: Applications like CCleaner or SD Maid (requires root for deep cleaning).
- π MacroDroid: Automating cleaning by event (e.g. when connecting to Wi-Fi).
HyperOS also has a Smart Clean feature in Settings β Battery and Performance, which automatically deletes unnecessary files, but does not affect browser history or calls.
If you're using Tasker, you can create a task to clean up your history on a schedule.
Profile: Daily cleaning (Time: 03:00)
Task:
1. Clear Cache (Action: Clear App Cache, Package: com.mi.globalbrowser)
2 Action: Run Shell, Command: content call-log --clear