How to completely remove the virus from Xiaomi Redmi 9: 7 proven ways

Viruses on Xiaomi Redmi 9 are not just annoying ads or suspicious notifications; they are a real threat to your data, accounts and even bank cards. In 2026, scammers are actively exploiting vulnerabilities in MIUI (especially on older versions of firmware), masking malware as useful utilities, games or updates. The main problem is that many users are not even aware of the infection, writing off the phone brakes as β€œweak hardware” or β€œcurve firmware”.

This article is not just another retelling of common tips like β€œinstalle antivirus.” We will analyze the specific symptoms of infection for Redmi 9 (including Redmi 9A/9C/9T models), show how to find hidden threats in system folders, and give instructions to remove viruses without losing data. And if the phone is already blocked by ransomware, we will tell you how to return control with minimal losses. All methods are tested on current versions of MIUI 14 and Android 11/12.

Signs of a virus on Xiaomi Redmi 9: how to recognize infection

Viruses on Redmi 9 rarely appear as bright banners "Your phone is infected!" - modern malware acts secretively. Here are 7 key symptoms that should alert you:

  • πŸ”‹ Battery sits down in 2-3 hours without active use (virus can mine cryptocurrency in the background).
  • πŸ“± The phone spontaneously restarts or turns off when you open certain applications (for example, banking applications).
  • πŸ’° They disappear from the account or come in. SMS About write-offs (trojans intercept confirmation codes).
  • πŸ“Ž Unknown apps with names like β€œSystem Update”, β€œFlash Player” or β€œClean Master” appear (they are not on Google Play).
  • 🌐 Traffic goes to nowhere (check Settings) β†’ SIM-maps and mobile networks β†’ Using traffic).
  • πŸ“Έ The camera or microphone turns on itself (spyware can spy on you).
  • πŸ”’ Blocking the screen with a demand for payment (extortionists encrypt files and require transfer to the Internet) Qiwi/Bitcoin).

The FakeApp virus, which masquerades as a MIUI update and requests administrator rights, is particularly dangerous.

  • πŸ“² Substitute the numbers SMS (For example, instead of a bank, you send a code to scammers).
  • πŸ”„ Redirect calls to paid numbers.
  • πŸ“‚ Delete files or encrypt photos/video.

⚠️ Warning: If the phone stops turning on after infection or shows a Fastboot Mode that says "This device is locked" - the virus damaged the bootloader. In this case, do not try to sew the phone through Mi Flash: this can lead to complete "brick" (irreparable damage). First try the methods in the Recovery section".

πŸ“Š Have you encountered viruses on Xiaomi?
Yeah, the phone was locked.
Yeah, but I removed the virus myself.
No, but I suspect infection.
No, never.
I'm having trouble answering.

Step 1: Put your phone in safe mode

Safe Mode is an Android diagnostic mode where all third-party apps are disabled, and if the virus disappears in this mode, the problem is precisely in the installed software.

How to run Safe Mode on Xiaomi Redmi 9:

  1. Press and hold the power button until the off menu appears.
  2. Press the β€œSwitch Off” icon with your finger (don’t let go!).
  3. After 2-3 seconds, you will be asked to switch to Safe Mode.

In safe mode:

  • πŸ” Check if the symptoms of infection have gone away (advertising, brakes, unknown apps).
  • πŸ“± Remove suspicious programs through Settings β†’ Annexes β†’ Application management.
  • πŸ”§ Disable Administrator Rights for Unknown Applications (path: Settings) β†’ Passwords and security β†’ Application authorizations β†’ Special access β†’ Administrator rights).

⚠️ Note: Some viruses (such as Agent Smith) may block the exit from safe mode. If the phone loads again in Safe Mode after rebooting, reset via Recovery (instruction in Section 5).

πŸ’‘

If the phone is working normally in safe mode, but after a normal boot, the symptoms return - the virus is hiding in one of the system processes. Use the "Folder Search" method from section 3.

Step 2: Find and remove viruses through system folders

Many of the viruses on Redmi 9 hide in folders that are not visible through standard Explorer, and you will need a root file manager (like FX File Explorer or Solid Explorer) to find them. If root is not, use MI File Manager with hidden file display mode enabled.

Where to look for viruses:

Folder/pathWhat to look forDanger.
/system/app/APK-files with the names com.android.XXX (e.g. com.android.fakeupdate)⭐⭐⭐⭐⭐ (Systemic virus, removed only through firmware)
/data/app/Folders with random letters/digits (e.g. a1b2.c3d4-1)⭐⭐⭐ (hand-removed)
/sdcard/Download/APK-name-file update.apk, flash_player.apk⭐⭐ (remove and clean the basket)
/data/local/tmp/Scripts with.sh or.bin extension⭐⭐⭐⭐ (can be performed during loading)

How to delete the found files:

  1. Open the file manager and follow one of the paths above.
  2. Select a suspicious file/folder and click "Delete".
  3. If you have an error "Operation not allowed" - the virus is protected. Use ADB (instruction in section 4).

What if the virus returns after removal?
This means that the malicious code is written in the system scripts of the boot (for example, in /system/etc/init.d/).

Step 3: Use antivirus software (which works on Redmi 9)

Not all antiviruses are equally useful, such as the Clean Master or the DU Speed Booster can themselves be the source of viruses.

  • πŸ›‘οΈ Malwarebytes – finds Trojans and spyware, does not conflict with MIUI.
  • πŸ” Kaspersky Mobile is effective against ransomware).
  • πŸ“± Bitdefender Mobile is lightweight for weak processors (suitable for Redmi) 9A).

How to check your phone with antivirus:

  1. Download antivirus from Google Play (not from third-party sites!).
  2. Start a full scan (not fast!).
  3. If you find threats like β€œAndroid/Trojan.Spy” or β€œAdWare.Elex”, remove them through the antivirus.
  4. Restart your phone and check for symptoms.

β˜‘οΈ Antivirus verification

Done: 0 / 5

⚠️ Note: Some viruses block the installation of antiviruses. If you download an error "failed to download", use APK-file from an official website (e.g. Malwarebytes) but before installing it, disable Google Play Protect in the security settings - it can falsely trigger legitimate ones APK.

Step 4: Removing viruses through ADB (for power users)

ADB (Android Debug Bridge) is a tool for controlling your phone through a computer, which will help you remove viruses that are not removed by standard methods.

  • πŸ’» Computer with Windows/Linux.
  • πŸ”Œ USB-cable (preferably original).
  • πŸ“¦ Installed drivers Xiaomi and ADB.

Instructions:

  1. Turn on USB debugging on your phone: Settings β†’ About Phone β†’ MIUI Version (click 7 times until β€œYou’re a developer”) Settings β†’ Additional β†’ Developers β†’ Debugging on USB (enable)
  2. Connect your phone to your computer and open Command Prompt (Windows) or Terminal (Linux/Mac).
  3. Enter the commands in turn: adb devices (you should have the name of your device) adb shell pm list packages -f | grep "suspicious name" (e.g. grep "com.android.fake") pm uninstall -k --user 0 name packet

Example of removal of the com.android.fakeupdate virus:

pm uninstall -k --user 0 com.android.fakeupdate

πŸ’‘

ADB allows you to remove system applications without root rights, but be careful: an erroneous removal can cause MIUI to fail.

Step 5: Recovery through Recovery (if the virus has blocked the phone)

If the virus has blocked the screen, encrypts files or prevents the system from booting, Recovery Mode will help. Redmi 9 has two recovery options:

  1. Soft Reset – deletes all data but leaves the firmware intact.
  2. Hard Reset – returns the phone to factory settings (viruses are deleted, but all data is lost).

How to get in to Recovery:

  1. Turn off the phone.
  2. Press the power button + volume button for 10 seconds.
  3. Let go when the Mi logo appears.
  4. Select the language (volume buttons) and go to the menu.

Next:

  • πŸ”„ For Soft Reset: Select Wipe Data β†’ Wipe All Data.
  • πŸ”§ For Hard Reset: Select Wipe Data β†’ Format Data (you will need to enter a password if it was set).
  • πŸ“± After reset, select Reboot β†’ Reboot to System.

⚠️ Note: If after a reset, the phone requires you to enter a Mi Account and you do not remember it, this is a hardware lock (Mi Account Lock), which can only be removed through the official Xiaomi service with proof of ownership (check or box). Self-attempts to bypass will lead to complete blocking IMEI!

Step 6: Flashing the phone (last resort)

If the virus has damaged the system files and none of the methods have worked, it's still firmware. Redmi 9 has two official ways:

  • πŸ“² Through the Mi Flash Tool (full firmware, removes everything, including viruses in the file) /system).
  • πŸ”„ Through OTA-Update (if the virus does not block the download of updates).

The following is a step-by-step guide for the Mi Flash Tool:

  1. Download the official firmware for Redmi 9 (select Global or Russia region).
  2. Unpack the archive in a folder without Cyrillic.
  3. Install the Mi Flash Tool on your computer.
  4. Transfer the phone to Fastboot mode (clip the power + volume reduction).
  5. Connect the phone to your computer and in Mi Flash select a folder with firmware.
  6. Press Flash and wait until it is completed (10-15 minutes).

What to do if Mi Flash gives an "Anti Rollback" error
This error means that you are trying to flash the old version of MIUI on top of the new one. Download the firmware with the higher version number (for example, instead of V12.0.1.0 take V12.0.3.0).

Step 7: Protect Redmi 9 from future viruses

To avoid re-infection:

  • πŸ”’ Disable the installation from unknown sources: Settings β†’ Privacy β†’ Special permits β†’ Installation of unknown applications
  • πŸ›‘οΈ Update. MIUI Up to the latest version (new versions close vulnerabilities): Settings β†’ The phone. β†’ Updating the system
  • πŸ“± Install a reliable antivirus (such as Malwarebytes) and set up a weekly scan.
  • 🌐 Do not connect to public Wi-Fi without VPN (Viruses can be spread through networks).
  • πŸ” Check the permissions of the applications: Settings β†’ Annexes β†’ Application management β†’ [name] β†’ Permissions (for example, why the messenger needs rights to the Internet) SMS geolocation?).

πŸ’‘

The most common cause of infection is downloading hacked games (GTA, PUBG) or app mods. Even if the source seems reliable, use a sandbox (like the Shelter app) to test suspicious APKs.

FAQ: Frequent questions about virus removal with Xiaomi Redmi 9

Can the virus be removed without data resetting?
Yes, if the virus has not damaged the system files, try the methods in sections 1-4 (safe mode, antivirus, ADB). If the virus blocks the installation of antivirus – use APK-file from an official website (for example, Malwarebytes).
The phone is locked with ransomware.
If the screen shows a payment requirement (e.g., "Your files are encrypted, send 5,000"β‚½ Qiwi: Don't pay, it doesn't guarantee unlocking. Try downloading Safe Mode (section 2) and uninstalling suspicious apps. If it doesn't work, run Hard Reset via Recovery (section 5). To decrypt files, try Kaspersky RannohDecryptor or Emsisoft Decryptor (not all viruses work).
After the virus was removed, the phone started to slow down.
Possible causes: Virus has damaged system files - flashing will help (section 6). Antivirus works in the background - turn off auto scanning in its settings. There are still "tails" of the virus - check the folders /data/local/tmp/ and /sdcard/ (section 3). If the brakes appear after reset - it's normal: MIUI optimizes within 24 hours.
Can I recover data after a Hard Reset?
Yes, if: You made a backup through Settings β†’ Additionally. β†’ Backup and reset, used Google Account to sync contacts and photos, and stored files on the same page. SD-To recover deleted data, try DiskDigger or Recuva (not all Xiaomi models work).
How to check if the virus remains after treatment?
Follow 3 steps: Run Malwarebytes and Kaspersky Mobile - if both show "No Threat Found", the first step is passed. Check traffic usage in Settings β†’ SIM-maps and mobile networks β†’ Traffic usage: If the phone eats 100 at night+ MB β€” the virus is still active. Install NetGuard and see which apps are trying to get online without you knowing.