How to completely eliminate security threats on your Xiaomi Redmi phone: from viruses to spyware

Your Xiaomi Redmi has slowed down, displayed suspicious ads or quickly discharged? It is likely that malware has settled on the device, from harmless advers to dangerous Trojans that steal bank card data. Unlike other brands’ Android devices, Xiaomi smartphones have a unique MIUI firmware, where threats are disguised as system processes (for example, com.miui.analytics or com.xiaomi.midrop).

We'll take it. 5 Key sources of threats on Redmi: infected APK-Files, phishing sites, vulnerabilities MIUI, fake updates and malicious services Google Play, especially pay attention to hidden threats in the folder /system/priv-app/, All methods tested on Redmi Note models are not visible to standard antiviruses. 10/11/12, Redmi 9/10 and POCO X3/X4 s MIUI 13–14.

1. Signs of infection: how to recognize a threat on Xiaomi Redmi

The first step is diagnosis. Malware on MIUI is often disguised as legitimate processes, but there are 7 clear symptoms that can not be ignored:

  • πŸ”‹ Battery discharges in 2-3 hours without active use (check Settings) β†’ Battery β†’ Battery use – if there are unknown processes with consumption >15%, that's a warning sign).
  • πŸ“± Accidental reboots or hangs on the Redmi logo (especially after installing apps from third-party sources).
  • πŸ’° SMS about money write-offs or notifications from the bank about unauthorized transactions (often associated with Trojans Anubis or Cerberus).
  • πŸ“’ Status bar ads or pop-up banners over all windows (even in Safe Mode).
  • πŸ“‘ Suspicious traffic (check in Settings) β†’ SIM-maps and mobile networks β†’ Traffic usage – if an unknown app is eating" >500 MB per month).
  • πŸ” Search engines are redirected to strange sites (for example, instead of google.com opens gooogle-search[random characters].com).
  • πŸ“ Unknown files in folders (Download, DCIM or /sdcard/.thumbnails β€” often hide out APK malware).

If you notice at least 2-3 signs from the list, immediately disconnect the phone from the Internet (In-plane mode) and start cleaning. MIUI has built-in Safe Mode - press the power button and hold the Turn off icon until the option appears. This mode only works system applications, which will help detect the virus.

⚠️ Note: If a message appears on the lock screen such as "Your phone is blocked by the FSB/police, pay a fine" is fraud. Do not transfer money! Such locks are only removed through Hard Reset (see section 5).

πŸ“Š How you usually install apps on Xiaomi?
Only from Google Play
From APK (from verified sites)
From unknown sources
I'm not setting anything over.

2. Step-by-step instructions: how to remove viruses without losing data

To start with, the softest methods that don't require resetting, and the important thing is that not all antiviruses are equally useful -- some, like the Clean Master or the DU Speed Booster, have ad modules themselves, and we only recommend proven tools:

  1. Remove suspicious apps: Go to Settings β†’ Applications β†’ Application Management and sort the list by installation date. Remove anything you installed in the last 3 days (especially games, β€œoptimizers” or APKs from Telegram channels). Pay attention to applications with device administrator rights – they must first be stripped of their rights to Settings β†’ Passwords and Security β†’ Device Administrators.
  2. Check autoboot: Viruses are often prescribed in autoboot. Open Settings β†’ Battery β†’ Select autoboot apps and disable anything suspicious (e.g., com.android.system.update is not a system update, it’s a malware!).
  3. Scan with built-in MIUI Security: Run Security β†’ Scan. If you find threats like RiskWare.AndroidOS.Agent or AdWare.Elex, remove them through this menu. MIUI Security is better than many third-party antiviruses at recognizing threats that are sharpened for Xiaomi.
  4. Use Malwarebytes or Kaspersky: Download Malwarebytes (free version) and do a deep scan. If Trojan-Dropper or Backdoor are found, follow the removal instructions. Kaspersky Mobile is also effective, but requires a subscription to remove threats.

β˜‘οΈ Checklist before removing viruses

Done: 0 / 5

If the threat persists after all the manipulations, check the system folders through a file manager (for example, Mi File Manager or Solid Explorer).

/storage/emulated/0/Android/data/[random symbols]


/system/priv-app/[unknown APK]




/data/local/tmp/

⚠️ Note: Do not delete files from the folder /system It can lead to a phone blink (completely disabled) if you're not sure, skip this step.

3. Hidden threats: what to do if the antivirus does not find anything

Some viruses (e.g. xHelper or SharkBot) reset and re-infect the device, either in recovery sections or disguised as MIUI updates.

  • πŸ” Check it out. ADB-Log: Connect the phone to the PC, turn on debugging USB (Settings β†’ The phone. β†’ Version. MIUI β€” Press 7 times, then return to the Additional Settings β†’ For developers) and execute the command: adb shell dumpsys package | findstr "suspicious" If the output has lines with com.android.update or com.qualcomm... is a sign of infection.
  • πŸ“‘ Network traffic analysis: Install NetGuard or PCAPdroid (without root). If an application called System Update type sends data to the Internet IP-addresses in China or Russia (e.g. 112.80.248.76 or 45.153.232.100) are 100% virus.
  • πŸ›‘οΈ Download Hidden Eye Detector (available on the Internet) 4PDA). It finds apps that are tracking you through a camera or microphone (like AhMyth or SpyNote).

If you find an undeletable virus that returns after a reboot, there are two options:

  1. Fastboot phone (instructions in section 6).
  2. Contact the service - if you do not have experience with ADB or SP Flash Tool.
How do you check if MIUI is spying on you?
MIUI firmware collects telemetry (usage data), but does not transmit personal information. To disable data collection, go to Settings β†’ Additional Settings β†’ Privacy β†’ Send usage data and deactivate all switches. Also disable Ad Personalization in Settings β†’ Google β†’ Advertising.

How to Protect Xiaomi Redmi from Future Attacks: 10 Security Rules

Even after cleaning, the phone will remain vulnerable if the holes are not closed.

VulnerabilityHow to closeThe risk of neglect
Installation of APK from unknown sourcesDisable in Settings β†’ Privacy β†’ Special Permissions β†’ Install Unknown ApplicationsViruses, Trojans, spyware
Phishing SMS/callsInstall Truecaller or enable spam filter in Google MessagesStealing money from your account
The outdated MIUI firmwareUpdate through Settings β†’ About the phone β†’ System updateExploits for remote access
Connecting to public Wi-FiUse a VPN (ProtonVPN or Windscribe)Traffic interception (login/password)
Backup copies in the cloudTurn off autosynchronization in Settings β†’ Accounts β†’ Mi CloudLeakage of photos / contacts when hacking an account

Pay special attention to the settings of Google Play Protect:

  1. Open Google Play Store β†’ click on the avatar β†’ Play Protect.
  2. Enable App Scanning and Improved Threat Search.
  3. Click Scan – If you find threats like the Dangerous App, remove them.

πŸ’‘

If you often install APKs from Telegram channels, create a separate Google account without being tied to bank cards, so that viruses can not steal payment data.

5. Extreme measures: resetting and flashing

If the virus doesn't get removed or the phone is blocked by a ransomware, you'll have to resort to radical methods.

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data β†’ Wipe All Data (manage by volume buttons, confirm by power button).
  4. After resetting, the phone will reboot to its original state.

If the reset didn't work (the virus stayed), it's embedd in the recovery or boot section, and then you need to flash it through Fastboot.

β˜‘οΈ What you need to flash it over

Done: 0 / 5

Instructions for Redmi Note 10/11 (the steps are similar for other models, but the firmware should be strictly for your device!):

  1. Download Fastboot firmware for your model (for example, redmi_note_10_global_images_...).
  2. Unpack the archive in the folder C:\MiFlash.
  3. Install the Mi Flash Tool.
  4. Turn off the phone, press Volume Down + Power to enter the Fastboot (a rabbit will appear with the inscription Fastboot).
  5. Connect your phone to your PC, in the Mi Flash Tool, press Refresh – the device must be determined.
  6. Select a firmware folder, press Flash and wait for the end (10-15 minutes).

⚠️ Note: If there is an error during the firmware anti_rollback, So you're trying to install an older version. MIUI, In this case, download the latest stable firmware for your model.

6. Frequent errors: What NOT to do when removing viruses

Many Xiaomi users make the problem worse with the wrong actions. Here are the 5 most dangerous mistakes:

  • 🚫 Install Google Play cleaners – many of them (Clean Master, Phone Booster) themselves contain advertising modules or sell your data.
  • 🚫 Rooting unknown applications gives you full access to the system. IMEI lock-in.
  • 🚫 Ignore updates MIUI β€” In older versions, there are vulnerabilities (for example, in the, CVE-2022-20472 into MIUI 12.5, remotely).
  • 🚫 Download "hacked" firmware from torrents - they often contain backdoors (for example, Triada or Ztorg).
  • 🚫 Trying to delete system files manually will result in a "brick" (the phone will not turn on). For example, deleting com.miui.securitycenter will deprive you of the built-in antivirus.

If after all the manipulations the phone still behaves strangely (for example, it turns on modem modem or sends SMS), do not hesitate – contact the service center. Some viruses (for example, FluBot) can multiply over Bluetooth and infect other devices.

πŸ’‘

If the virus has blocked access to settings, try entering Safe Mode (hold off the button) and removing suspicious apps from there. If it doesn't work, just flashing it.

FAQ: Answers to Frequent Questions

Can the virus be removed without resetting?
Yes, 80 percent of the time, the combination of removing suspicious apps + scanning Malwarebytes + cleaning the cache helps, but if the virus is embedded in system files (e.g. xHelper), you can't do without resetting or flashing.
Why does the virus return after removal?
That means that: The virus is hidden in the /system folder (you need root rights to delete it), you install it again from a backup (check Mi Cloud or Google Drive), you have an infected application that downloads the virus again (like a modified WhatsApp or TikTok), Solution: make Hard Reset and don't restore data from backups!
How to protect banking applications on an infected phone?
Urgent: Revoke all permissions from banking applications in Settings β†’ Apps β†’ Permissions. Remove bank applications and install them only after the phone is completely cleaned. Enable two-factor authentication in banking services. Use a virtual card (e.g. from Tinkoff or Sber) for payments instead of the main one.
Can a virus damage the phone’s hardware?
Viruses can’t cause direct damage to the processor or memory, but: Loapi Trojans overload the CPU, which leads to overheating and shortened battery life. Cryptocurrency mining viruses wear out the battery in 3-6 months. Spyware can turn on a camera / microphone in the background, draining the battery. If the phone starts to warm up for no reason, check it for viruses!
How to check your phone for viruses from another device?
If Redmi is locked or not turned on: Remove the memory card (if any) and check it on your PC with Kaspersky Rescue Disk. Connect your phone to your PC in Fastboot mode and scan through ADB: adb shell ls /data/app | findstr "suspicious" Use an external scanner - connect the phone to another smartphone via OTG and scan files via Total Commander.