How to remove a miner from Xiaomi phone completely: from diagnosis to treatment

Introduction: why miners are dangerous for Xiaomi smartphones

Hidden cryptocurrency mining on Xiaomi smartphones has become one of the most insidious threats of 2023-2026. Unlike traditional viruses, miners do not steal your data - they steal the resources of the device, turning it into a "farm" for mining cryptocurrency. Redmi Note, POCO X and Mi 11 models are especially vulnerable due to their powerful Snapdragon 8xxx and Dimensity processors, which are ideal for mining Monero or Ethereum Classic.

To make matters worse, 90% of Android miners are disguised as MIUI systems, which are almost impossible to detect without special tools. For example, com.qualcomm.thermalservice can consume up to 40% of CPUs in the background, and users will write off overheating as โ€œbad firmware.โ€

Signs of Miners Infection on Xiaomi

The first step is diagnostics. Mining viruses are specific, and their symptoms are often confused with hardware problems.

  • ๐Ÿ”ฅ Overheating even on simple tasks (e.g., +50ยฐC on WhatsApp). Normally for Snapdragon 8 Gen 2, up to 42ยฐC in plain.
  • ๐Ÿ”‹ Dramatic drop in battery life: If the Redmi Note 12 Pro+ discharges in 4-5 hours without active use, that is a worrying sign.
  • โšก Suspicious activity CPU in Settings โ†’ Battery State โ†’ Usage CPU Miners are often masquerading as mediaserver or android.process.acore processes.
  • ๐Ÿ“‰ Internet Slowdown: Miners consume traffic to communicate with pools (e.g. minexmr.com or pool.supportxmr.com).

The critical sign is activity at night. Miners often start when the phone is connected to charging and the screen is off.

  1. Connect your phone to charge before bedtime.
  2. In the morning, open the settings โ†’ Battery โ†’ Use schedule.
  3. If the chart shows a constant load of 30-70% in the โ€œsleepโ€ mode, it is almost a minerโ€™s guarantee.
๐Ÿ“Š How did you discover a miner on your Xiaomi?
Accidentally in the settings
The phone started to slow down.
A friend suggested
Read articles about safety
I don't know, but I suspect.

How to check Xiaomi phone for miner

For accurate diagnosis, use a combination of system tools and third-party utilities. Start with the built-in MIUI tools:

Verification by "Battery state"

Go to Settings โ†’ Battery โ†’ Battery status โ†’ Using the CPU. Pay attention to:

  • ๐Ÿ“Š Processes with a constant load of 20%+ (e.g., com.android.systemui should not consume more than 5% in idle).
  • ๐Ÿ•’ Operating time: If a process has been running for 10+ hours in a row, it is suspicious.
  • ๐Ÿ” Unknown names: Miners often masquerade as Google Play Services (but consume 3-5 times more resources).

2. Analysis of network activity

Miners exchange data with pools to find them.

  1. Install NetGuard (free on Google Play).
  2. Start monitoring traffic for 10-15 minutes.
  3. Check for suspicious domains: pool., mine., stratum+tcp://.

Typical โ€œminingโ€ domains in 2026:

domainType of miningDanger.
pool.supportxmr.comMonero (XMR)Tall.
minexmr.comMoneroMedium
etn.heavenpool.euElectroneumLow.
stratum+tcp://xmr.pool.gntl.co.ukMoneroTall.

๐Ÿ’ก

If you find a suspicious domain, copy it and check it through VirusTotal service โ€“ this will help confirm that it is associated with mining.

Manual removal of the miner: step-by-step instructions

If you've confirmed an infection, delete it. Don't use the antiviruses from Google Play, most of which are useless against today's miners.

Step 1: Remove suspicious applications

Miners often penetrate through:

  • ๐Ÿ“ฑ Pirate APK (hacked games modified by TikTok/Instagram)
  • ๐Ÿ”— Fake updates (e.g., Update MIUI 15" before official release).
  • ๐ŸŽฎ Free Fire, PUBG Mobile (Ph000)

How to delete:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Sort by installation date โ€“ miners are often installed in โ€œpacksโ€ with other programs.
  3. Delete anything suspicious, especially with ADMIN or SYSTEM_ALERT.

Step 2: Cleaning up the autoload

Miners add themselves to autoboot to start after the reboot. To turn off:

  1. Install Autostarts (requires root or ADB).
  2. Find processes with the names miner, pool, xmr.
  3. Turn off their auto-start and delete.

โ˜‘๏ธ Checklist before deleting miner

Done: 0 / 4

Step 3: Removal through ADB (for Advanced)

If the miner is embedded in the system processes, ADB will help. Connect the phone to the PC and do:

adb shell pm list packages | grep -i "mine\|pool\|xmr"

Then remove the packages found:

adb shell pm uninstall -k --user 0 com.example.malware
What if ADB does not find a miner?
Some miners hide their packets, and this will help to analyze the file system through adb shell ls /data/app/ or using MT Manager (requires root).

Deleting the miner without losing data (a way for beginners)

If manual methods don't help or you're afraid of damaging the system, use a secure reset.This method saves your files but deletes all apps and settings:

  1. Go to Settings โ†’ About the phone โ†’ Reset settings.
  2. Select "Reset all settings" (Do not "Delete all data!").
  3. After the reboot, do not restore data from the backup โ€“ the miner can return!
  4. Install only verified apps from Google Play.

Important: this method does not remove miners embedded in the firmware (for example, through a modified boot.img). If the problem persists after the reset, you need to flash it again.

๐Ÿ’ก

Backups made after infection may contain a miner. Never restore a system from a suspicious backup!

How to protect Xiaomi from miners in the future

Prevention is the best treatment. Follow the rules.

  • ๐Ÿ›ก๏ธ Disable the installation from unknown sources (Settings โ†’ Applications โ†’ Special Rights).
  • ๐Ÿ” Check application rights: Miners often request ACCESS_BACKGROUND_LOCATION or REQUEST_INSTALL_PACKAGES.
  • ๐Ÿ“ฑ Use alternative firmware: LineageOS or Pixel Experience are free of vulnerabilities MIUI.
  • ๐Ÿ”„ Update the firmware: MIUI 14+ has closed critical holes used by miners (e.g., the Dirty Pipe vulnerability).

For additional protection:

  1. Install Bouncer โ€“ it gives temporary permissions to applications.
  2. Use NetGuard to block suspicious connections.
  3. Check your phone regularly through Malwarebytes (the only antivirus that detects miners on Xiaomi).
๐Ÿ“Š What security measures do you use?
Antivirus
Ad-blocker
Disabling Unknown Sources
I don't use anything.

What to do if the miner returns after deleting

If the miner appears again, it means:

  1. It is embedded in the firmware (for example, through modified recovery).
  2. You recovered it from an infected backup.
  3. There is a root access on the phone that exploits the malware.

Decisions:

  • ๐Ÿ”ง Frisk your phone through the Mi Flash Tool (instructions for your model on the official website).
  • ๐Ÿ”’ Close the root access if it has been opened (via Magisk โ†’ Uninstall).
  • ๐Ÿ“ฆ Remove all backups made after infection.

โš ๏ธ Warning: If a miner comes back after flashing, it could indicate a hardware chip miner (found in fake Xiaomi from unofficial stores).

FAQ: Frequent questions about Xiaomi miners

Can a miner damage the battery?
Yes. Constant CPU load and high temperature accelerate the degradation of lithium-ion batteries, for example, if a miner keeps a temperature of 50ยฐC+ for a month, the battery capacity can decrease by 15-20%.
Do antiviruses help miners?
Most antiviruses (like Avast or 360 Security) are not detected by modern miners, and the only effective tools are Malwarebytes and manual verification through ADB.
Can miners be infected through Google Play?
In theory, yes, but extremely rare. In 2023, Google removed more than 170 apps with miners, but they masqueraded as legitimate utilities (like the Pro Battery or the Cache Cleaner). Always check the reviews and permissions of the apps before installing.
How do miners bypass MIUI protection?
Miners exploit: Kernel vulnerabilities (e.g., CVE-2022-20421 in MIUI 13); Fake updates via notifications (e.g., "Your MIUI is outdated! Download the patch"); Root access if it was opened for modifications (e.g., via Magisk).
Can a miner work without the internet?
No. Mining requires a constant connection to the pool (the server that distributes tasks). However, some miners cache tasks and send results later, so they can consume resources and offline.