How to Delete an Error Report on Xiaomi: 5 Ways to Work

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.

πŸ“Š How often does your Xiaomi make error reports?
Never noticed.
Rarely (once a month)
Frequently (once a week)
Constantly (daily)

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 reportThe path to filesSize (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:

  1. Open Files (standard Xiaomi app).
  2. Click on the three dots in the upper right corner β†’ Settings β†’ Show hidden files.
  3. Cross the path. /sdcard/MIUI/debug_log/.
What happens if you delete all the reports?
Deleting error reports will not affect the system, but it can make it harder to diagnose problems when you contact the service center, and the system will create new files when the next failure occurs.

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:

  1. Open the Settings. β†’ The phone.
  2. Click 5-7 times on the MIUI version (or HyperOS version) to activate the developer mode.
  3. Return to Settings β†’ Additional settings β†’ For developers.
  4. Activate the USB Debugging option (required for the following methods).
  5. Go to Settings β†’ Storage β†’ Cleaning.
  6. 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:

  1. Connect your phone to your PC and confirm debugging via USB.
  2. 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:

  1. Turn off your phone and press Volume Up + Power to enter TWRP.
  2. Select Advanced β†’ File Manager.
  3. Go to /data/tombstones/ and delete all files (swipe to the right).
  4. Go to /data/data/com.miui.bugreport/files/ and repeat the action.
  5. 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 modelSupport for unlockingComplexity of the process
Redmi Note 10/11Yes.Average (3-7 days wait)
POCO F3/F4Yes.Low (1-3 days)
Xiaomi 12/13/14Yes (with limitations)High (Mi Account required)
Redmi A1/A2No (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 0

Method 2: System Properties Editor (root required)

  1. Install the BuildProp Editor app from Google Play.
  2. Open the file /system/build.prop.
  3. Add the lines: ro.bugreport.enable=false persist.logd.size=1M
  4. 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:

  1. Make a backup copy of important data (photos, contacts, messages).
  2. Go to Settings β†’ About the phone β†’ Reset settings.
  3. Choose to erase all data and confirm the action.
  4. 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?
If error reports continue to be generated after a reset, this indicates a hardware problem (such as a memory malfunction) or firmware conflict.

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.

Can I delete error reports without rooting?
Yes, some reports can be deleted without rooting through ADB (Method 2) or standard cleaning in settings (Method 1). However, root rights or TWRP are required to completely delete system logs (/data/tombstones/).
Why do error reports take up so much space?
The MIUI/HyperOS system stores not only textual information about the failure, but also memory dumps (snapshots of the state of RAM and the processor at the time of the error), one such file can weigh 100-500 MB.
How can we prevent future reports from being created?
You can turn off the generation of reports through ADB (Method 4), but this is not recommended as it can make it harder to diagnose problems. TWRP.
Is it safe to delete files in /data/tombstones/?
Yes, but only if the device is not in the process of writing logs (for example, immediately after a crash), deleting these files will not affect the system, but may interfere with the analysis of the causes of future errors.
Can error reports contain personal data?
Yes, in some cases, reports include snippets of application logs that may contain personal information (such as message history or geolocation).If you transfer your phone to another person, it is recommended to perform a full reset.