Constantly pop-up advertising, a blocked delete button and error messages when trying to uninstall an Android app most often indicate that the device is infected with a virus that disguises itself as a system process or a legitimate one utility to protect against deletion.

Users often panic when they see a gray “Delete” button or the absence of such an item in the menu. However, even the most cunning viruses have vulnerabilities in the operating system architecture that make it possible to forcefully get rid of them. In this article, we will look at not only basic methods, but also advanced removal techniques, including the use of USB debugging and special utilities that will help you regain control of your gadget.

It is important to understand that the removal process may vary depending on the version Android and the manufacturer's shell (for example, MIUI, One UI or ColorOS). The menu interfaces may differ, but the logic of the security system remains the same for all devices based on this platform. We will analyze the algorithms of actions from the simplest to the most complex so that you can solve the problem with minimal data loss.

Diagnostics of the problem: why the delete button is inactive

Before taking active steps, you need to understand the nature of the blocking. Most often, the delete button becomes inactive (grayed) because the application has received extended device administrator rights. The malicious code specifically requests these rights during installation so that the user cannot simply uninstall the app through the standard settings menu.

Another common scenario is for the application to run in the background using the “On top of other applications” feature. The virus can intercept button presses, preventing you from opening the delete menu or redirecting the click to another location on the screen. In some cases, malware disguises itself as a system process with a name similar to System Update or Google Servicesto mislead the user.

For an accurate diagnosis, go to the Settings → Applications → All applicationssection. Study the list carefully: look for apps without an icon, with strange names, or those that you did not knowingly install. If, when you try to enter the card of such an application, you are immediately thrown back to the main menu or a pop-up window appears, this is a sure sign of virus activity.

⚠️ Attention: If a message appears on the screen about blocking the device with a requirement to transfer money (banner on behalf of the Ministry of Internal Affairs or the police), in no case pay the bill. This is fraud, and payment will not unlock the phone, but will only confirm to the attackers that you are solvent.

It is also worth checking whether the application is part of a system bundle from the manufacturer. Some vendors preinstall software that cannot be removed without root accessalthough this is rarely a virus. The difference is that the system bundle usually does not exhibit aggressive behavior, such as pop-up ads or heating the case.

Safe mode: the first line of defense

The most effective and safe way to remove intrusive software is to boot the device in safe mode (Safe Mode). In this mode, the operating system disables all third-party applications, loading only basic system components. This deprives the virus of the ability to run and block your actions.

To enter safe mode, you usually just need to hold down the power button until the shutdown menu appears, and then hold down the “Shut down” or “Reboot” item on the screen for a long time. On different smartphone models (Samsung, Xiaomi, Huawei), the combination may differ slightly, but the principle is the same: the system will offer to switch to safe mode. Confirm the action, and after reboot you will see the inscription “Safe Mode” in the corner of the screen.

📊 Have you encountered uninstallable viruses on Android?
Yes, it happened several times
Once a long time ago
No, my antivirus protects
I just reset the phone

While in safe mode, go to application settings. The “Remove” button for the malware should now become active. Find the suspicious application in the list and uninstall it. After removal, restart your smartphone in normal mode to check the result.

If the virus was disguised as a system application and hidden in the list, it may become visible in safe mode. Sometimes malware has duplicates with different names. Carefully check the entire list of installed software, sorting it by installation date to find recent “guests.”

Revoking device administrator rights

If safe mode did not help or you cannot enter it, the next step is to forcefully revoke administrator rights. Viruses often use the “Device Administrator” status to prevent themselves from being removed. While this status is active, the system blocks any uninstallation attempt.

Go to the menu Settings → Security → Device administrators (the path may vary: sometimes this is section Biometrics and security or Special access). In the list that opens, you will see checkboxes next to applications that have elevated privileges. Find the suspicious app there and uncheck the box, confirming the action in the pop-up window.

As soon as you revoke rights, immediately proceed to uninstalling the application through the standard menu. Do not delay this step, as some advanced viruses may try to re-request rights at the first opportunity. If the item in the administrators menu is not clickable or the window closes, try doing this from the safe mode described above.

  • 🔍 Check the names carefully: viruses may be called Wi-Fi Tool, Flash Player or System Service.
  • 🛡️ After revoking rights, be sure to check your phone with an antivirus, for example Dr.Web or Kaspersky.
  • 🔄 If an app reappears after being uninstalled, it may have a hidden bootloader component.
💡

Before revoking administrator rights, take a screenshot of the list of active administrators. This will help you remember which app was suspicious if you accidentally revoke rights from a system utility.

In rare cases, malware can block access to the administrators menu itself. If you cannot open this section, try using the settings search by typing in the phrase “administrators”, or use the USB debugging method, which will be described below.

Removal via computer and ADB (Android Debug Bridge)

When methods on the device itself do not work due to the interface being strictly blocked by a virus, a computer comes to the rescue. The utility ADB (Android Debug Bridge) allows you to control your smartphone from a PC by sending commands directly to the system, bypassing the phone's graphical interface.

First, you need to enable “USB Debugging” in the “For Developers” menu on your smartphone. If this item is hidden, go to Settings → About phone and quickly click 7 times on the build number. Then connect your phone to your computer with a cable. On your PC, you need to download platform tools ADB from the official website of Android developers.

After installing the drivers and setting up ADB, open the command line (Terminal or CMD) in the folder with the utility. Enter the command to check the connection:

adb devices

A request should appear on the phone screen to allow debugging from this computer - confirm it. If the console displays the device serial number, the connection is established. Now you need to find out the exact package name of the malicious application. Enter the command:

adb shell pm list packages

The list will be huge, so it is better to search by part of the name, for example: adb shell pm list packages | findstr virus_name (for Windows) or use grep (for Mac/Linux). Once you have the full package name (for example, com.malware.adware), enter the final command to remove:

adb shell pm uninstall -k --user 0 com.malware.adware
What to do if ADB does not see the phone?

Make sure the cable is working and supports data transfer, not just charging. Try a different USB port or install generic Google USB Drivers through Device Manager on Windows.

This method removes the application for the current user (user 0), which essentially completely uninstalls it from the device, even if it was built into the system by the manufacturer. This is one of the most powerful tools in a repair specialist's arsenal.

Analysis of behavior and search for hidden components

Sometimes deleting the main application does not solve the problem, since the virus installs additional modules or changes system settings. After uninstallation, a thorough check of residual traces must be carried out. Malware often changes the default browser or installs its own security certificates to intercept traffic.

Check the section Settings → Applications → Access to accessibility. Trojans often hide here and use accessibility services to imitate user finger presses. If you see an unfamiliar application with broad rights there, immediately disable it.

Threat type Signs of presence Removal method
Advertising banner Pop-up windows on the desktop Safe mode + revoking admin rights
Cryptor Trojan Screen lock, requirement ransom Hard Reset
Miner Strong heating, fast discharge ADB removal + process check
Spyware Increased traffic consumption, strange SMS Anti-virus scanning

Also go to your browser settings (Chrome, Firefox) and check the list of notifications. Viruses often subscribe users to spam mailings that look like system notifications. Clear your browser data and revoke permissions for all suspicious sites.

💡

Removing the application itself is only half the battle. Be sure to check the special features, browser notifications and the list of device administrators to prevent re-infection.

Radical measures: reset to factory settings

If none of the above methods helped, and the virus continues to parasitize the system, the last but most reliable option remains - a complete data reset (Hard Reset). This procedure will return the phone to its out-of-the-box state, deleting absolutely all user data and applications.

It is important to understand that this step is irreversible. All photos, contacts, messages and installed apps will be destroyed. Therefore, if possible, before resetting, try saving important files to your computer or cloud storage, but do this with caution so as not to transfer the virus along with the files.

To perform a reset, go to the menu Settings → System → Reset settings → Delete all data. If the menu is blocked by a virus, you will have to use hardware buttons. Turn off the phone, then hold down the combination of buttons (usually Volume Down + Power or Volume Up + Power) to enter the Recoverymode. There, select the item Wipe data/factory reset.

⚠️ Attention: After reset settings When setting up your phone for the first time, do not restore data from an old backup immediately. First, check the phone in its purest form. If the virus was in the backup, it will return along with the restoration.

After the reset is complete, the phone will reboot. Set it up as a new device, sign in to your Google account, and install a reliable antivirus before installing other applications. This ensures that the system will be clean.

Prevention of re-infection

To prevent the story of an uninstallable virus from repeating itself, you need to change your smartphone usage habits. The main reason for infection is the installation of applications from unverified sources. Try to download software only from the official store Google Playwhere the security system is in place Play Protect.

Regularly update the operating system and installed applications. Developers Android constantly close vulnerabilities that virus writers exploit. An outdated version of the system is an open door for attackers.

  • 🚫 Prohibit installation from unknown sources in the security settings.
  • 👀 Carefully read the permissions that the application requests during installation.
  • 📲 Install a high-quality mobile antivirus for periodic scanning.

Do not follow suspicious links in SMS and instant messengers, even if they came from friends (their accounts could have been hacked). Phishing sites often offer to “update Flash Player” or “get a prize,” which is a classic trap for downloading a malicious APK file.

☑️ Android Security Checklist

Done: 0 / 5

Frequently asked questions (FAQ)

Is it possible to remove a system application that is a virus without root access?

Yes, this is possible using the ADB command pm uninstall -k --user 0. This command removes the application for the current user, hiding it from the system, although the file may physically remain on the system partition. For this method to work fully, you need developer rights and USB debugging enabled.

Why does the virus appear again after removal?

This means that several virus components (droppers) remain on the device. One is deleted, and the second, hidden deep in the system or disguised as a legitimate process, downloads it again. In such cases, only a complete reset of the settings (Hard Reset) helps.

Is it safe to use anti-virus applications?

You should only use proven solutions from well-known vendors (Kaspersky, Dr.Web, ESET). Many free “cleaners” from the store themselves contain advertising and collect user data, doing more harm than good.

What to do if a virus demands money for unlocking?

Do not pay anything. This is a fraudulent scheme. Try entering Safe Mode to remove the blocker, or perform a factory reset through the Recovery menu. Police and intelligence agencies never block phones or require transfers to electronic wallets.