Daemon on Xiaomi: The Hidden Processes That Control Your Smartphone

Introduction: The invisible assistants of your smartphone

Have you ever looked into Task Manager on your Xiaomi and seen strange processes called daemon or d at the end? These mysterious services work in the background, even when you haven't run any apps. They don't have a GUI, they don't show up in the app menu, but without them, your smartphone simply wouldn't be able to function.

The term daemon (or โ€œdemonโ€ in Russian) came from the world of Unix systems, where the so-called background processes that perform system tasks. MIUI โ€” And in the case of Xiaomi, these processes are responsible for everything from battery management to notification synchronization, but why are they so important, and can they be turned off to save power.

In this article, we will detail what demons work on Xiaomi smartphones, how they affect performance, and what happens if they are forcibly stopped. You will also learn how to distinguish a โ€œusefulโ€ demon from a potentially dangerous process masquerading as a system.

What is Daemon and Why is it Needed? MIUI

In the Android operating system, which runs all Xiaomi smartphones, daemon is a background process that is triggered automatically when the system starts or on demand. Unlike conventional applications, demons:

  • ๐Ÿ”„ It works continuously, even if you are not interacting with the device;
  • ๐Ÿ› ๏ธ Perform system tasks (e.g. checking for updates or monitoring temperature);
  • ๐Ÿ‘ป They do not have a graphical interface (they can not be opened as an application).

Without demons, your Redmi or POCO could not:

  • ๐Ÿ“ถ Maintain a connection to a mobile network or Wi-Fi;
  • ๐Ÿ”‹ Optimize battery consumption in standby mode;
  • ๐Ÿ”” Show notifications from messengers;
  • ๐Ÿ“ฑ Synchronize data with the Mi Cloud.

For example, the rild demon (Radio Interface Layer Daemon) is responsible for communicating with cell towers. If it is forcibly stopped, the smartphone will lose the network until you reboot the device, and the mediaserver demon controls the playback of multimedia โ€” without it, neither music nor video will work.

๐Ÿ“Š Have you ever tried to disable background processes on Xiaomi?
Yeah, to save the charge.
Yeah, but nothing's changed.
No, I'm afraid to break the system.
I don't know what that is.

The main types of demons in Xiaomi smartphones

V MIUI There are dozens of demons working, but weโ€™ll highlight the most important ones that are found on all models, from the Redmi Note 10 to the flagship Xiaomi 14:

Demon typeExamples of processesWhat is responsible for?
Systemicsurfaceflinger, zygote, installdBasic Android work (displaying the interface, installing applications)
Networkedrild, netd, wpa_supplicantMobile, Wi-Fi, Bluetooth
Service (MIUI)miui.daemon, securitycenter, mms_serviceShell functions (security, notifications, topics)
Multimediamediaserver, audiopolicy, cameraserverSound, video, camera.

Some demons are unique to Xiaomi, such as miui.daemon running proprietary features like Game Turbo or Second Space, and the securitycenter process is responsible for building antivirus and checking apps for malicious code.

Interesting fact: on smartphones POCO (which work on the โ€œlightweightโ€ version MIUI) Some of the demons are off by default. mms_service, if you don't use SMS/MMS.

โš ๏ธ Warning: Some demons may masquerade as system-based but actually be part of malware. If you see a process called com.android.update.d or systemx-daemon that is heavily loading the processor, that's a reason to check the device for viruses.

How to see working demons on Xiaomi

To see the list of active demons, you don't need root rights. You just need to use standard tools. MIUI Or third-party applications. Here are three ways:

  1. Through Task Manager: Open Settings โ†’ Annexes โ†’ Task Manager. Process tab will show all active services, including demons. Look for names with d suffix (e.g. logd, keystore).
  2. Through ADB (Connect your smartphone to your PC and execute the command: adb shell ps -A | grep "d$" This will list all processes ending in d (standard demon designation).
  3. Termux app: Install Termux from Google Play and type: ps -ef | grep -E 'd$|daemon'

Note that you'll see dozens of processes on the list, but most of them are critical to the system, like ueventd for interactions with the Linux kernel, and healthd for battery status, and stopping them will cause the system to crash.

Check the name of the process on Google|Make sure itโ€™s not a system demon.|Try restarting your smartphone.|Use antivirus to scan|Contact Xiaomi if the problem persists-->

Can you turn off demons on Xiaomi and what it will lead to?

You can technically turn off the demon, but it's almost always a bad idea. Here's what happens if you force the key processes to stop:

  • ๐Ÿ“ต Mobile phone service will disappear (no calls, no internet);
  • ๐Ÿ”• audiopolicy: The sound will stop working (including the alarm clock!);
  • ๐Ÿ“ฑ Surfaceflinger: The screen will go out, but the smartphone will remain on;
  • ๐Ÿ”‹ Battery: The system will stop tracking the battery.

The only demons that can be turned off without serious consequences are services. MIUI, which you're not using, for example:

  • ๐ŸŽฎ com.miui.gameturbo โ€“ if you donโ€™t play games;
  • ๐Ÿ“Š com.miui.analytics โ€“ if you donโ€™t want to send statistics to Xiaomi;
  • ๐Ÿ“ท com.miui.gallery โ€“ if you use a third-party gallery.

To disable unnecessary services:

  1. Go to Settings โ†’ Applications โ†’ Application Management;
  2. Find the right process (e.g. Analytics)
  3. Click Disable (not โ€œStopโ€, but turn it off!).

โš ๏ธ Warning: If after the demon is turned off, the smartphone starts to brake, overheat or discharge quickly - immediately return it to work! Some processes are interconnected, and their stopping can cause a chain reaction of failures.

What happens if you kill the surfaceflinger?
The screen will go out, but the smartphone will remain on. You can only return the image by rebooting or commanding through the device. ADB: adb shell am start -n com.android.systemui/.SystemUIService. In some cases, reset to factory settings will be required.

How Demons Affect Battery and Performance

Many Xiaomi users complain that the smartphone is quickly discharged โ€œon standbyโ€, often the fault of the demons โ€“ especially those responsible for:

  • ๐Ÿ”„ Synchronization (e.g. com.android.email for mail);
  • ๐Ÿ“ Geolocation (processes such as locationd);
  • ๐Ÿ”” Push notifications (mtk-pppoe demon on MediaTek processors).

To reduce battery consumption:

  1. Turn off autosynchronization for unnecessary accounts (Settings) โ†’ Accounts);
  2. Limit the background activity of applications (Settings) โ†’ Battery โ†’ Optimizing the battery);
  3. Use the High Performance mode only when necessary.

On the other hand, some demons improve performance, like:

  • ๐Ÿš€ Lmkd (Low Memory Killer Daemon) automatically closes unnecessary processes, freeing up RAM;
  • โšก Thermald monitors the temperature and slows down the processor when overheating;
  • ๐Ÿ”„ Vold controls access to storage, speeding up reading/write of files.

If your Xiaomi is slowing down, don't be quick to blame the demons.

  • ๐Ÿ—‘๏ธ Completed memory (clear the cache in Settings) โ†’ Warehouse);
  • ๐Ÿฆ  Viruses (check out Google Play Protect);
  • ๐Ÿ”„ Refreshing the old slate (refresh) MIUI In Settings โ†’ The phone).

๐Ÿ’ก

If the mediaserver demon loads the processor, try clearing the cache of Gallery and Music apps. Often the problem is caused by corrupted media files.

Frequent Demon Problems and Solutions

Sometimes demons start behaving incorrectly, like consuming too much resources, overheating, or constantly rebooting, and consider typical situations and ways to fix them.

Problem.Possible causeDecision
The smartphone is very warm in simpleThermald or mediaserver demons are loopingReboot the device. If it doesn't work, reset the cache to Recovery.
The battery goes down in a few hours.locationd activity or network_stackTurn off geolocation and background data transmission
Continuous resetsFailure in Surfaceflinger or zygoteUpdate the firmware or reset the settings
Notifications are not workingStopped. mms_service or push_serviceCheck the permissions for Google Play Services

If the problem persists after the reboot, try:

  1. Clear the partition cache through Recovery (does not delete data!);
  2. Remove updates if the failure began after the update MIUI;
  3. Perform a reset to factory settings (pre-do backup!).

For diagnosis, use the command:

adb shell dumpsys -l

It'll show you the status of all system services (ERROR or CRASH).

โš ๏ธ Note: If you see errors in the logs related to hwservicemanager or vendor.qti.hardware, this may indicate a problem with firmware or hardware.

๐Ÿ’ก

Most demon problems are solved by rebooting or cache resetting, and forced shutdowns almost always make things worse!

Can you remove the demons from Xiaomi?
No, it's not possible without root rights and deep firmware modification. Even if you get root, removing critical demons (like zygote or surfaceflinger) will make your smartphone inoperable. MIUI via settings.
Why is the mediaserver demon loading the processor 100%?
This problem is typical for Xiaomi on MediaTek processors. Causes: damaged media files (for example, videos with a non-standard codec); Conflict with applications like VLC or MX Player; Firmware error (especially relevant for beta versions) MIUI). Solution: Clear the cache of Gallery and Music, delete suspicious files, update firmware.
How to distinguish a systemic demon from a virus?
Malware is often disguised as system processes: ๐Ÿ” Name: Systemic demons are usually short (e.g. logd, vold). Viruses use long names like com.android.system.update.service.d; ๐Ÿ“ Location: Check the path to the process through Termux with the ps command -ef | The system demons lie in the /system/bin; ๐Ÿ“Š Behavior: If the process consumes >30% CPU Always, it's a cause for suspicion. Use Malwarebytes or built-in Security to check. MIUI.
Why After Updating MIUI There are new demons?
Every new version MIUI adds new system services, such as: MIUI 14 miui.privacy.d for improved permission control MIUI 13 added miui.optimize.d to optimize performance; on Xiaomi 12/13 HyperOS is used with the demons hyper.clock.d and hyper.thermald. Itโ€™s okay โ€“ donโ€™t delete them unless you know what theyโ€™re responsible for.
Can demons be reconfigured to improve performance?
No root rights, no. But there are a few safe tricks: Turn on Developer Mode and turn off animations (Settings) โ†’ The phone. โ†’ Version. MIUI (slip 7 once) โ†’ For developers โ†’ Animation scale; Use Greenify (without root) to โ€œfreezeโ€ unnecessary background processes; Activate Lean Mode in battery settings โ€“ it limits demon activity. For advanced users: with root, you can edit files into the battery /system/etc/init.d, But it's risky!