Error reports on Xiaomi smartphones are automatically generated by MIUI or HyperOS when applications crash, interface crashes, or critical kernel errors take up space in the deviceβs memory, can contain sensitive data (activity logs, memory dumps), and even slow down the phone as it accumulates. However, standard cache cleaning methods often donβt delete them β special actions are required.
In this article, you will find 5 proven ways to delete error reports, including manually cleaning through the file system, using ADB, resetting settings and even modifying system settings to prevent them from being created. The instructions are relevant for all Xiaomi, Redmi and POCO models based on MIUI 12/13/14 and HyperOS, and take into account the features of working with a locked bootloader.
1.What is the Xiaomi Error Report and Why Should It Be Deleted
A crash report or bug report is a file with the extension.dmp,.log, or.zip that is automatically generated by the system when:
- π Emergency termination of the application (e.g., "The Gallery app has stopped")
- π₯οΈ System failures (reboot, interface freeze) MIUI)
- π± Critical kernel errors (e.g., kernel panic)
- π§ Software update errors (failed firmware installation)
These files are stored in secure folders of the system and can take from 50 MB to 1-2 GB depending on the frequency of failures.
- π Freeing up memory: on devices with 64/128 GB storage reports can take up to 5β10% total.
- π Privacy: Files contain activity logs, including application launch history and system events.
- β‘ Performance: with a large number of reports, the system spends resources on indexing them.
β οΈ Attention: Deleting error reports does not eliminate the cause of the error. If crashes occur regularly, check your device for viruses or contact Xiaomi Service Center.
2 Where error reports are stored on Xiaomi
Report files are distributed across multiple system folders, and their location depends on the MIUI/HyperOS version and device model.
| Type of report | The path to files | Size (example) |
|---|---|---|
| Application reports (.log) | /data/data/com.miui.bugreport/files/ | 10β500 MB |
| System dumps (.dmp) | /data/tombstones/ | 50β200 MB per file |
| Full reports (.zip) | /sdcard/MIUI/debug_log/ | 100 MB-1 GB |
| Kernel logs (kmsg) | /proc/last_kmsg (virtual) | 1-10 MB |
Access to folders /data/ It can only be done with root rights or through ADB. folder /sdcard/MIUI/debug_log/ available without additional rights, but can be hidden from the standard file manager.
To see the hidden files:
- Open Files (standard Xiaomi app).
- Click on the three dots in the upper right corner β Settings β Show hidden files.
- Cross the path. /sdcard/MIUI/debug_log/.
What happens if you delete all the reports?
3. Method 1: Removal through standard settings MIUI/HyperOS
The easiest method is to use built-in cleaning tools, which are suitable for deleting reports stored in user memory (/sdcard/), It doesn't affect system folders.
Instructions:
- Open the Settings. β The phone.
- Click 5-7 times on the MIUI version (or HyperOS version) to activate the developer mode.
- Return to Settings β Additional settings β For developers.
- Activate the USB Debugging option (required for the following methods).
- Go to Settings β Storage β Cleaning.
- Select Report Files or System Logs β click Clear.
This method only removes a portion of the reports. Use the following methods to clean up the entire process.
Developer mode activated|Debugging is on. USB|Backup of important data is made|Battery charge > 50%-->
Method 2: Manual deletion through file manager (without root)
If you donβt have root rights but have access to ADB, you can delete reports via the command line.This method works on all Xiaomi devices with the bootloader unlocked.
Step-by-step:
- Connect your phone to your PC and confirm debugging via USB.
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) and type:
adb shell
su -c "rm -rf /sdcard/MIUI/debug_log/*"
su -c "rm -rf /data/tombstones/*"If the commands run with a Permission denied error, you don't have root rights. In this case, use Method 3.
To delete the application reports (root required):
su -c "rm -rf /data/data/com.miui.bugreport/files/*"β οΈ Note: Delete files in /data/tombstones/ This can cause system services to fail if new logs are being written at that point.
π‘
If ADB does not recognize the device, install Xiaomi USB Drivers and check the connection in Transfer Files (MTP) mode.
5. Method 3: Complete cleaning through TWRP (requires unlocking the bootloader)
If your device has an unlocked bootloader and a custom TWRP recap is installed, you can delete all error reports, including system ones.
Instructions:
- Turn off your phone and press Volume Up + Power to enter TWRP.
- Select Advanced β File Manager.
- Go to /data/tombstones/ and delete all files (swipe to the right).
- Go to /data/data/com.miui.bugreport/files/ and repeat the action.
- Go back to the main menu and select Reboot β System.
This method is guaranteed to delete all reports, but requires the bootloader to be pre-unlocked via the Mi Unlock Tool. On new devices (after 2022), unlocking can take up to 7 days to wait.
| Xiaomi model | Support for unlocking | Complexity of the process |
|---|---|---|
| Redmi Note 10/11 | Yes. | Average (3-7 days wait) |
| POCO F3/F4 | Yes. | Low (1-3 days) |
| Xiaomi 12/13/14 | Yes (with limitations) | High (Mi Account required) |
| Redmi A1/A2 | No (blocked by manufacturer) | β |
Method 4: Disable the creation of error reports (for power users)
If reports are created too often, you can turn off their generation through system settings, which requires root rights or access to ADB.
Method 1: Through ADB (without root)
adb shell settings put global bugreport_in_power_menu 0
adb shell settings put global bugreport_in_developer_options 0Method 2: System Properties Editor (root required)
- Install the BuildProp Editor app from Google Play.
- Open the file /system/build.prop.
- Add the lines: ro.bugreport.enable=false persist.logd.size=1M
- Save the changes and restart the device.
β οΈ Note: Disabling error reports can make it harder to diagnose problems when contacting Xiaomi Service Center. Use this method only if you are confident in the stability of the system.
π‘
Disabling report generation does not delete pre-existing files. Combine this method with manual deletion to clean up completely (Method 2 or 3).
7. Method 5: Reset to factory settings (extreme case)
If error reports accumulate due to a system failure and other methods fail, perform a hard reset, which will delete all data, including reports, but return the device to a "clean" state.
How to reset your settings:
- Make a backup copy of important data (photos, contacts, messages).
- Go to Settings β About the phone β Reset settings.
- Choose to erase all data and confirm the action.
- After restarting, set your phone as new.
This method is guaranteed to delete all reports, but should only be used in extreme cases, as it erases all user data.
What if the reports appear again after the reset?
8. Frequent mistakes and how to avoid them
When deleting error reports, users often face the following problems:
- π "ADB Does not see the device: Install Xiaomi drivers USB Drivers and turn on Debugging by USB developer-setting.
- π "No access to the folder. /data/": Unlock the bootloader or get root rights.
- π± "Phone freezes after deleting files": Do not delete files in /data/tombstones/ during active log recording (for example, when running heavy applications).
- π "Reports appear again": Check the device for viruses or reset settings.
If you are not sure about your actions, use Method 1 (clean through settings) or contact a specialist.