How to Fix an Android Phone with a Virus (Step-by-Step Removal)
Wondering how to fix an Android phone with a virus? Most “viruses” on Android are harmful apps, and you can usually remove them yourself: scan with Google Play Protect, find the bad app in Safe mode, uninstall it, and factory reset only if the problem comes back. This guide goes from the easiest fix to the most drastic one and warns you before any step that erases data.
Is It Really a Virus? Quick Checks
Google calls these programs “potentially harmful apps”, sometimes known as malware. Watch for these signs:
- Ads that pop up on the home screen or over other apps.
- Apps you do not remember installing.
- Unexpected battery drain or mobile data use. Samsung lists both as warning signs.
Some problems look like a virus but are not:
- Website notifications. If the pop-ups appear in the notification bar under your browser’s name, a website you allowed is sending them. Step 3 below shows how to block them.
- System ads on Xiaomi phones. Xiaomi’s own apps on MIUI and HyperOS show ads. These come from the phone’s software, not from malware. See our guide to removing Xiaomi MIUI system ads.
- “Your phone is infected” pages. Treat these as ads. Close the tab and do not install the app the page pushes. Samsung warns that ads and emails can be used to push harmful software.
Step-by-Step Fixes
Work through these in order and stop as soon as the problem is gone. Do not install “cleaner” or antivirus apps from ads while you do this.
Step 1: Check Google Play Protect
Play Protect checks apps when you install them and also scans your phone from time to time, including apps from outside Google Play.
- Open the Google Play Store app.
- Tap your profile icon at the top right, then tap Play Protect.
- If it lists a harmful app, tap Uninstall. If your version shows a scan button, tap it to check again.
- Tap Settings (the gear icon) and make sure Scan apps with Play Protect is on.
Play Protect may also disable a harmful app or remove it by itself and show you a notification. Google recommends keeping it on (Play Protect help).
Step 2: On Samsung, Run Device Protection
- Open Settings > Battery and device care > Device protection. The name can be slightly different on older One UI versions.
- Tap Scan phone. If you do not see it, turn on Device protection first.
- If threats are found, follow the on-screen steps to remove them.
Step 3: Block Spam Notifications from Websites
In Chrome:
- Open Chrome and tap More (the three dots) > Settings > Site settings > Notifications.
- Look at the sites that are allowed. Tap any site you do not trust and block it, or switch notifications off for all sites.
Chrome can also block notifications by itself on sites it finds abusive or misleading.
Step 4: Find the Bad App in Safe Mode
Safe mode starts the phone with downloaded apps turned off. If the pop-ups stop in Safe mode, a downloaded app is the cause. Safe mode removes some home screen widgets, so take a screenshot of your home screen first.
Samsung Galaxy:
- Press and hold the Power and Volume down buttons together.
- Touch and hold Power off, then tap Safe mode. “Safe mode” appears in the bottom-left corner.
Google Pixel: Turn the phone off, then press the Power button. When the animation starts, press and hold Volume down until the animation ends. “Safe mode” appears at the bottom of the screen.
Other brands: The steps differ, so check your phone maker’s support site.
Once you are in Safe mode:
- Open Settings > Apps and sort or scroll through the list.
- Tap any app you do not recognise or that you installed just before the problem started, then tap Uninstall.
- Restart the phone normally to leave Safe mode.
- If the problem is still there, remove the next suspect app and restart again. Google recommends removing recently installed apps one at a time.
Step 5: If Uninstall Is Greyed Out
Some harmful apps make themselves a “device admin” so you cannot remove them. Android’s developer documentation says an active device admin app must be removed as an administrator before it can be uninstalled.
- Open Settings and search for Device admin apps. On recent Galaxy phones it is under Security and privacy > More security settings > Other security settings. Menu names vary by phone.
- Switch off the suspect app and tap Deactivate if asked.
- Go back to Settings > Apps and uninstall it.
On a work phone, admin apps set by your company may be locked; ask your IT team.
Step 6: Close the Door: Unknown Apps and Permissions
- On Android 8.0 and later, each app needs its own permission to install other apps. Search Settings for Install unknown apps and switch it off for browsers, file managers and chat apps.
- Review permissions in Settings > Apps > the app > Permissions and set anything it does not need to Don’t allow.
- Install apps only from Google Play or your phone maker’s store. For upcoming changes to apps from outside Play, see our guide to Android developer verification.
Step 7: Update the Phone
Updates fix security holes that malware can use. On a Pixel or similar phone, go to Settings > System > Software updates. Other brands use different menu names; our guide on how to check for Android system updates covers this.
Step 8: Factory Reset (Erases Everything)
Warning: a factory reset deletes all apps, accounts, photos and files on the phone. Back up your photos and contacts first, but not APK files from outside the Play Store. Samsung says most malware can be removed this way.
- Charge the phone to at least 70% and connect to Wi-Fi. A reset can take up to an hour.
- Make sure you know the Google Account password on the phone. If you changed it recently, Google advises waiting 24 hours before resetting.
- Samsung: open Settings, search for Factory data reset, tap Reset, enter your PIN, then tap Delete all.
- Pixel: Settings > System > Reset options > Erase all data (factory reset) > Erase all data.
- After the reset, restore your backup, but do not reinstall the app that caused the problem.
Step 9: If the Malware Survives a Reset
A factory reset wipes the data partition, where your downloaded apps live. It does not replace the phone’s system software. Malware that is built into the system can therefore survive a reset. In 2019 Google reported that the Triada backdoor was added to some phones’ system images by a third-party vendor. In July 2025 Google said the BADBOX 2.0 botnet had infected over 10 million uncertified devices running Android’s open-source software, such as connected TVs.
- Check whether your phone is certified: open the Play Store, tap your profile icon > Settings > About, and look at the Play Protect certification status. Google warns that uncertified devices “may not be secure”.
- If a system update (Step 7) does not help, flash the official firmware for your exact model. This erases all data. Use our guides for Samsung (Odin), Xiaomi (Mi Flash Tool) or MediaTek phones (SP Flash Tool v6).
If malware is still there after flashing the maker’s own firmware, the firmware itself may be infected. Ask the seller or brand for a fix or a replacement.
After Cleaning: Secure Your Accounts
Malware can steal passwords. Samsung advises changing your passwords and PINs, ideally from a different device. For your Google Account, Google recommends:
- Change your password, plus the password of any site where you used the same one.
- Check your devices and remove any you do not recognise.
- Review third-party apps with account access and remove unknown ones.
- Turn on 2-Step Verification.
Change your banking and mobile wallet passwords too.
When to Get Professional Help
Visit an official service centre if the problem returns after a factory reset and update, if you cannot remove an admin app on a personal phone, or if you are not comfortable flashing firmware. For Galaxy phones, Samsung support can also help through chat or the Samsung Members app. Back up your data before you hand the phone over.
Related Guides
- How to Flash Samsung Firmware with Odin (2026 Guide)
- Mi Flash Tool Latest Version: How to Flash a Xiaomi Fastboot ROM
- Remove Xiaomi MIUI System Ads
- Android Developer Verification: What Changes for Sideloading
- How To Check For Android System Updates
FAQ
Can an Android phone really get a virus?
Yes, though what people call a virus is normally a harmful app rather than a classic self-copying virus. Common routes are apps installed from outside the Play Store, often pushed by ads, emails or messages. Some low-cost uncertified devices have shipped with malware already in their system software.
Do I need an antivirus app?
Usually not. Certified Android phones include Google Play Protect, and Galaxy phones also have Device protection. Samsung says it does not recommend third-party anti-malware apps.
Will a factory reset remove a virus?
It removes apps you installed and their data, which covers most malware. It does not remove malware that is part of the system software. That needs an official update or a reflash of the official firmware.
https://droid-developers.com/fix-android-phone-with-virus/https://droid-developers.com/wp-content/uploads/2026/11/fix-android-phone-with-virus-featured-1024x538.jpghttps://droid-developers.com/wp-content/uploads/2026/11/fix-android-phone-with-virus-featured-150x150.jpgAndroidHelp & TroubleshootingSoftware FixWondering how to fix an Android phone with a virus? Most 'viruses' on Android are harmful apps, and you can usually remove them yourself: scan with Google Play Protect, find the bad app in Safe mode, uninstall it, and factory reset only if the problem comes back. This guide...Fahim MahmudFahim Mahmud[email protected]AdministratorDroid-Developers
Leave a Reply