The log generator on Xiaomi smartphones is a system process that collects data about the operation of the device for diagnostics and debugging. In normal mode, it consumes minimal resources, but sometimes begins to aggressively load the processor, battery or memory, especially after MIUI updates or custom firmware installation. Users complain about sudden com.miui.analytics or com.xiaomi.midrop in the list of active processes that cannot be stopped by standard means.
In this article, we will discuss all the working ways to disable or remove the log generator on Xiaomi, Redmi and POCO, including methods without root rights and with them. It is important to understand that the complete removal of system components can interfere with the stability of the device โ so we will indicate which actions are safe and which require caution. If you are faced with constant freezes due to the logd or logcat process, this guide will help return the smartphone to normal operation.
What is a magazine generator on Xiaomi and why you need it
Logging system is a part of the Android operating system that records events, errors and actions of the user. On Xiaomi smartphones, several components are responsible for this:
- ๐ Logcat โ the standard Android tool for collecting application and system logs.
- ๐ MiuiAnalytics โ Xiaomi service that sends anonymous data about the use of the device (you can turn off in the settings).
- ๐ Logd (log daemon) โ a system demon that controls the collection of logs in the background.
- ๐ DropBoxManager โ Stores critical errors for sending to Xiaomi (for example, system crashes).
Normally, these processes take up no more than 1-3% of the CPU and 50-100 MB of memory. However, after failures, incorrect updates or installation of modified firmware, the log generator can start operating in an aggressive mode, consuming up to 30-50% of the processor and quickly draining the battery, most often on devices with MIUI 12-14, where Xiaomi has tightened its policy of collecting diagnostic data.
Before you start deleting, check if the problem is in the log generator.
- Open Settings โ About Phone โ MIUI version and tap 7 times on the kernel line to activate the developer mode.
- Return to Settings โ Additional โ For developers and turn on CPU statistics.
- Check which process consumes the most resources, and if it's logd, logcat, or com.miui.analytics, the problem is confirmed.
Method 1: Disabling Diagnostics Collection in MIUI Settings
The safest method is to turn off the standard settings for sending diagnostic data, which won't remove the log generator completely, but will reduce its activity by 70-80%.
Instructions:
- Go to Settings โ About Phone โ Reviews and Analytics (on some versions of Settings โ Memory โ User Reviews).
- Turn off the sliders: ๐ Send error reports ๐ Participate in the Improvement Program MIUI ๐ Automatic reporting (if any)
Google โ Google Settings โ Google Services โ Diagnostics
Diagnostics and services
Google Play Services
After that, restart the device. If the problem was with MiuiAnalytics, resource consumption should normalize. However, if the system logd is to blame, more radical measures will be needed.
๐ก
If your smartphone is still slowing down after disabling the data analysis, check the activity of the processes through the CPU Monitor app (available on Google Play), which will show which component is overloading the system.
Method 2: Stop processes through ADB (without root)
If a standard shutdown fails, you can force the problem to stop with the help of ADB (Android Debug Bridge), which does not require root rights, but requires a connection to a computer.
What you need:
- ๐ป Computer with Windows/Linux/macOS.
- ๐ USB-cable (preferably original).
- ๐ฅ Installed drivers Xiaomi and ADB Tools (download from Android site).
- ๐ง Developer's Included Mode and Debugging USB smartphone.
Step-by-step:
- Connect your smartphone to your computer and select File Transfer (MTP) mode.
- Open the command prompt (Windows) or terminal (Linux/macOS) in the adb folder.
- Enter the command to check the connection: Adb devices should appear the name of your device.
- Follow the commands to stop processes (one by one): adb shell pm disable-user --user 0 com.miui.analytics adb shell pm disable-user --user 0 com.xiaomi.midrop adb shell pm disable-user --user 0 com.miui.bugreport
- Reboot your smartphone: adb reboot
These commands will not remove the log generator, but they will disable the main modules, and if the processes are activated again after the reboot, then they start automatically, and a deeper intervention will be required.
โ๏ธ Preparation for work with ADB
Method 3: Remove via TWRP (unlocked bootloader required)
If previous methods have failed and the log generator continues to load the system, you can manually delete its files through custom TWRP recovery.This method is only suitable for users with an unlocked bootloader and installed TWRP Recovery.
โ ๏ธ Warning: Incorrectly deleting system files can lead to bootloop or loss of functionality!
Instructions:
- Turn off your smartphone and press Volume Up + Power to enter TWRP.
- Back up the System partition (click Backup โ Select System โ Swipe for confirmation).
- Go to Advanced โ File Manager.
- Delete the following files and folders (if any): ๐ /system/priv-app/MiuiAnalytics ๐ /system/priv-app/BugReport ๐ /system/bin/logd (Remove or rename logd.bak) ๐ /system/bin/logcat (similarly)
Reset the device.
If the smartphone does not boot after removal, return to TWRP You can also try flashing a Magisk module that disables logs without deleting files (for example, Disable_Logging_Magisk).
What if the smartphone does not turn on after deleting the files?
Method 4: Using Magisk modules to disable logs
If you have Magisk installed, you can use special modules that block the log generator at the kernel level, which is more secure than manual file deletion, since the modules are tested by the community.
The best modules for Xiaomi:
| Title of the module | What's blocking | Compatibility | Reference |
|---|---|---|---|
| Disable_Logging | Disable logd, logcat, MiuiAnalytics | MIUI 12-14, Android 10-13 | XDA |
| Universal SafetyNet Fix | Masks root and blocks diagnostic collection | All versions of MIUI | GitHub |
| MIUI Optimizations | Removes Xiaomi services, including logs | MIUI 13-14 | Telegram |
How to install the module:
- Download the module file (.zip) to your smartphone.
- Open Magisk Manager and go to the Modules section.
- Click Install from Storage and select the downloaded file.
- Reset the device.
Also worth checking is whether the high load is due to a virus or malware. Install an antivirus (such as Malwarebytes) and scan the system. Some Trojans disguise themselves as system processes, including logd.