You opened a file manager on your Xiaomi, Redmi or POCO, and suddenly you found a suspicious file with an unfamiliar name β perhaps with the.apk,.bin or no extension at all? Or the system notified you of a βnew fileβ that you definitely didnβt download? Donβt panic: 80% of the time itβs either a system cache, update residues, or background MIUI processes. But there are exceptions β from adware to potentially dangerous utilities.
In this article, we will discuss how to determine the nature of an unknown file, whether it can be safely deleted, and what to do if it is related to the system. We will not advise βjust delete everything in a rowβ β instead, you will receive a checklist for diagnostics, instructions for different versions of MIUI (including MIUI 14/15), and risk warnings.
1. How to determine what file appeared on Xiaomi
Before you delete something, you need to understand what we're dealing with, and here are the key features that will help you classify an unknown file:
- π File Location: System Files Are Usually Located in Folders /system/, /data/ or /vendor/. User-generated - in /storage/emulated/0/ (internal memory or SD-map.
- π Extension:.apk β application installer (can be cache or virus);.bin,.img β often associated with firmware or kernel modules;.log,.tmp β temporary files (usually secure); No extension β suspiciously, requires verification.
- β³ Date of creation: if the file appeared immediately after the update MIUI, It's probably a system artifact.
- π‘οΈ Access rights: System files usually have limited rights (e.g., rw-r)--r--). Files with 777 (full access) rights β a red flag.
If the file is in the /data/app/ or /data/data/ folder, it most likely belongs to the installed application. You can check this through Settings β Applications β Application Management β sort by installation date.
2. Xiaomi system files: what can be touched and what can not
MIUI is actively using background processes to optimize work, and many files appear without the user's knowledge. Here is a list of secure files that can be deleted (if they take up a lot of space):
| File/folder name | Location. | Can I remove it? | Effects of removal |
|---|---|---|---|
| com.miui.systemAdSolution* | /data/data/ | Yes. | Some banner ads in MIUI will disappear |
| miui_analytics* | /data/data/ | Yes. | Anonymous statistics will no longer be sent |
| download_manager* | /data/data/ | Yeah (cash) | The download history will be cleared |
| logcat_*, dumpstate_* | /data/log/ | Yes. | Error logs are removed (useful for bugs) |
| ota_update.zip | /cache/ or /data/ | Only after the update | May interrupt the MIUI update process |
β οΈ Note: Never delete files from folders /system/priv-app/, /vendor/ or /boot/ β This will lead to a device blink (completely inoperable). Also avoid files called persist*, modem* or boot.img.
What is a Brick device?
3. How to disable the creation of unnecessary files in MIUI
Many "extra" files appear because of MIUI background services, which can be disabled via settings or ADB (for advanced users).
Method 1: Using MIUI settings (without root)
Disable analytics|Limit background activity|Turn off advertising services|Clear the cache of system applications-->
1. Turn off analytics collection:
Settings β About Phone β MIUI version (shap 7 times to activate developer mode)
Settings β Additional β Privacy β Analytics β Disable βSending Usage Dataβ2. Limit background activity:
Settings β Battery and Performance β Battery Management β Select apps β Limit background activity for unnecessary services (e.g. Mi Video, Mi Browser)3. Turn off the advertising modules (for MIUI 12+):
Settings β Applications β Application Management β Three points (menu) β Show system β Find βmsaβ (Mobile Services Ads) β DisableMethod 2: ADB (for experienced users)
If you are ready to use ADB, these commands will disable the most intrusive services:
adb shell pm disable-user --user 0 com.miui.analytics
adb shell pm disable-user --user 0 com.xiaomi.ab
adb shell pm disable-user --user 0 com.miui.systemAdSolutionβ οΈ Note: Disabling system packages may cause some features to work unstable (such as design themes or cloud backups). β Additionally. β Backup and reset.
4. Deletion of unknown files: step-by-step instructions
If you're sure that the file isn't system-based, you can delete it.
- Check the file for viruses: Download Malwarebytes or Dr.Web Light from Google Play. Scan the folder with the file (donβt open it!).
- Backup: Copy the file to your computer or the cloud (in case it proves to be important).
- Delete the file: Use the built-in File Manager or Total Commander. If the file is not deleted, try using ADB: adb shell rm /path/to/file
Reset the device
If errors appear after deletion (e.g., com.android.systemui stopped), restore the file from the backup or reset settings through Settings β Additional β Backup and Reset β Reset.
π‘
Before deleting files with the.apk extension, check if it is an update for the system application. For example, com.google.android.gms-2.apk is part of Google Play Services and deleting it will disrupt Google services.
5. Frequent culprits: what files appear on Xiaomi most often
Analysis of the 4PDA and XDA Developers forums shows that Xiaomi users are most likely to encounter the following βunknownβ files:
- π¦ miui_HiddenSettings.apk β Hidden settings menu (you can delete, but you will lose access to some features).
- π¦ com.miui.hybrid.accessory β module for accessories (for example, Mi Band.
- π¦ fw_bcm4359_* β module-fix Wi-Fi/Bluetooth. Don't remove!
- π¦ persist_* β files with the communication module settings. Deleting will cause network loss.
- π¦ miui_debloat_* β cleaning-out MIUI (If you use scripts like Xiaomi ADB Fastboot Tools).
There are a lot of questions about the folder. /MIUI/debug_log/ β It's created when the developer mode is on, and it can weigh a few gigabytes. It can be cleaned, but you better turn off the logging first:
Settings β Additional β For developers β Disable βHCI journalβ and βDo not save logsβ6.If the file returned after deletion: what to do
Some files are automatically restored by the system, which is an indication that they are linked to:
- π Updates MIUI (for example, ota_update.zip);
- π Background services (e.g. com.miui.daemon);
- π Advertising modules (e.g. com.xiaomi.mipicks).
Decisions:
- For updates: Turn off automatic booting in Settings β About Phone β System Update β Three Points β Settings β Turn off βSwitching to Wi-Fiβ.
- For services: Use ADB to deactivate the packet (see Section 3).
- For advertising: install a patch through Magisk (root required). Popular modules: Disabler for MIUI (disables advertising and analytics); MIUI Optimizations (removes unnecessary processes).
If the file is associated with a virus that recovers after a reboot, do:
1. Install an antivirus (e.g. Kaspersky).
2. boot in Safe Mode (hold the power button β "Reboot in Safe Mode").
3. Remove suspicious applications in Settings β Apps.
4. Clear the cache through Settings β Memory β Clear the cache.π‘
If the file is returned after all the manipulations, it is likely critical to MIUI, in which case it is better to leave it alone or contact the XDA Developers forum with logcats.
7.When to contact the service center
There are situations where acting alone can make the problem worse.
- β οΈ The file appeared after a phone drop or moisture hit (the memory partition may be damaged).
- β οΈ The device overheats or discharges quickly after the file appears.
- β οΈ The file has a type name. mmcblk0p* or userdata.img β This indicates damage to the memory partition.
- β οΈ After deleting the file, the phone is not turned on or loaded into Fastboot.
Xiaomi Service Center can:
- Check the integrity of the file system through fsck;
- Reflash the device with data storage (if only the system partition is damaged);
- Replace the memory module (in case of physical damage).
The cost of diagnostics in official Xiaomi services is usually 500-1000 rubles, and flashing - from 1500 rubles. Unofficial workshops can offer cheaper, but the risk of installing unlicensed software is higher.