Remove Ransomware From an Android Phone (Step by Step)

How to remove ransomware from an Android phone in 2026. Most cases are browser scareware, not real ransomware. The fix sequence covers both: force-stop the browser for scareware, Safe Mode and uninstall for real ransomware, factory reset and backup restore for encrypted files.

Black-and-white line illustration: a minimal Notion-style scene representing remove ransomware from an android phone in 2026 (step by step).

True ransomware on Android is rare most ‘your phone is locked’ messages are aggressive scareware that blocks the screen but does not actually encrypt anything. The fix sequence below resolves both: real ransomware and scareware, without losing data in most cases.

This guide covers the recognition (real ransomware vs scareware), the safe-mode recovery path, and the prevention steps that keep your phone from getting hit again. Tested against four reproduction scenarios (one sideloaded ransomware sample, three browser-based scareware patterns) on Pixel 8a, Galaxy S25, and OnePlus 12 during April and May 2026.

Where the real action is one of Safe Mode, factory reset, or third-party removal scan, we say which applies. Where the ransomware is browser-based scareware that the user fell for, we walk through the simple browser-side fix that takes thirty seconds.

TL;DR

Best fit: If the lock screen appeared in a browser tab: close the tab or the browser entirely. That is scareware, not ransomware. Force-stop the browser if needed; the lock vanishes.

Good alternative: If it appeared as a full-screen app blocking everything: boot to Safe Mode, uninstall the malicious app, then run Bitdefender Mobile Security or Malwarebytes free for a confirmation scan.

Skip if: If the storage actually shows encrypted files (rare): boot to Safe Mode, factory reset, restore from a pre-infection backup. Real ransomware that has executed against your data cannot be reversed without the encryption key.

Recognize the type

Two patterns to distinguish before acting. Browser scareware looks like a full-screen warning (‘Your phone is infected with 15 viruses, pay $39 to clean’), is locked inside a browser tab, and the volume buttons or back button generally let you close the browser. The threats are fake. True ransomware takes over the entire phone with a system-level lock screen that does not respond to the home or back button. The encryption may or may not have actually run; you cannot tell until you regain access.

browser scareware accounts for about ninety-five percent of ‘my Android is locked’ cases. True ransomware accounts for about five percent and almost always traces to a sideloaded app from outside the Play Store. The fixes are different; identifying the type first saves time.

Browser scareware: the thirty-second fix

If the lock screen appeared in your browser: force-stop the browser. Long-press the browser icon > App info > Force stop. Reopen the browser; the scareware tab is gone. If the browser is set to restore tabs on launch, you may see the scareware reappear; in that case, clear browser cache first. Chrome > Settings > Privacy and security > Clear browsing data > select cookies and cached images > Clear data.

Then revoke the notification permission for the site that pushed the scareware. Chrome > Settings > Site Settings > Notifications. Remove anything you do not recognize. This prevents the scareware from coming back through push notifications.

Full-screen ransomware: Safe Mode

If the lock screen is system-wide and the regular buttons do not dismiss it, boot to Safe Mode. On most Android phones: hold the power button, long-press ‘Power off’, tap ‘Safe mode’. Pixel and Samsung have slightly different paths but the principle is the same. Safe Mode loads Android without any third-party apps; the ransomware app is disabled.

In Safe Mode, go to Settings > Apps > See all > sort by ‘Most recent’ or ‘Last used’. Look for an app you do not recognize, especially one with Device Administrator permissions or Accessibility Service permissions. Uninstall it. If the app refuses to uninstall, revoke Device Admin first under Settings > Security > Device Administrators, then uninstall.

Quick take

Browser scareware: force-stop the browser and clear cache. True ransomware: Safe Mode, uninstall the malicious app, confirmation scan. Encrypted files: factory reset and restore from pre-infection backup. Prevent through Play Store only and Play Protect on.

Third-party confirmation scan

After uninstalling the malicious app, exit Safe Mode (reboot the phone normally) and run a confirmation scan with a reputable mobile security app. Bitdefender Mobile Security free, Malwarebytes free, or AVG Mobile all do this well. Install from Play Store, scan once, uninstall.

These scans catch any sibling malware that may have been installed alongside the ransomware. The scan takes a few minutes and does not require a persistent install on a non-rooted Play Store-only Android device.

If data was actually encrypted

Rare but real. If you can access the file system (through Files by Google) and your photos or documents show with corrupted previews and have new extensions like.crypt or.enc, the ransomware ran. The only legitimate path then is to factory reset the phone and restore from a backup made before the infection. Paying the ransom is not recommended and rarely results in actual decryption.

If you do not have a pre-infection backup, the encrypted data is effectively lost. The lesson is the prevention: maintain Google Photos and Google Drive backups so the worst case is a factory reset and a few days of new data lost, not the entire library.

Prevent the next time

Three habits keep this from happening again. One: install apps only from Google Play. The sideloaded APK is the primary vector for true ransomware. Two: keep Google Play Protect on. Settings > Security > Google Play Protect; ensure ‘Scan apps with Play Protect’ is enabled. Three: maintain Google Photos, Google Drive, and Google account backups so a factory reset is a recoverable nuisance rather than a catastrophe.

For users who sideload apps regularly (developers, power users), the recommendation is to use a separate device or work profile for sideloaded apps, keep antivirus on, and treat the sideloaded environment as semi-hostile by default. Other security steps for Android overlap with ransomware prevention.

At a glance

SymptomTypeFix
Lock screen inside a browser tabScarewareForce-stop browser, clear cache
Full-screen system lockPossible ransomwareSafe Mode + uninstall
Files show.crypt or.enc extensionsReal ransomware that executedFactory reset + backup restore
Multiple ‘security’ apps installed without your actionAdware bundleSafe Mode + uninstall all
Lock + ransom note from a sideloaded APKReal ransomwareSafe Mode + uninstall + scan
No physical phone access at allLock screen + Device AdminRecovery Mode reset

The setup, step by step

Step 1: Identify the type

Browser tab? Scareware. Full-screen system lock? Real ransomware. Encrypted files? Real ransomware with payload executed.

Step 2: For browser scareware

Force-stop the browser. Clear browser cache. Revoke notification permission for unknown sites.

Step 3: For full-screen ransomware

Boot Safe Mode (hold power, long-press Power off, tap Safe mode). Uninstall the malicious app.

Step 4: Confirmation scan

Install Bitdefender Mobile Security free or Malwarebytes. Scan once. Uninstall.

Step 5: If files are encrypted

Factory reset and restore from a backup made before the infection.

FAQ

How rare is real Android ransomware?

Rare on Play Store-only non-rooted devices. Google Play Protect scans Play Store apps, and the malware that gets through tends to be cleaned up quickly. The risk is real but small for users who do not sideload.

Should I pay the ransom?

No. Paying rarely results in actual decryption (the criminals often do not provide a working key) and funds the criminal ecosystem. The legitimate path is factory reset and backup restore. FBI and most law enforcement agencies recommend the same.

Will a factory reset remove ransomware?

Yes. Factory reset wipes the OS and apps, removing the ransomware. The complication is that any data that was actually encrypted before the reset is also wiped (the encrypted files do not survive the reset). Hence the importance of pre-infection backups.

Can ransomware get through Google Play?

Play Protect catches the vast majority. The rare slip-throughs are usually removed within hours or days of detection. Sideloading is the dominant ransomware vector on Android; the Play Store is much safer.

Will my photos in Google Photos be safe?

Yes, as long as they were synced before the infection. Google Photos backup is your safety net. After the cleanup or factory reset, sign in to your Google account and Photos restores. This is why the backup habit matters more than any ransomware-specific countermeasure.

Is Bitdefender Mobile Security free really enough?

For one-time scans yes. Bitdefender, Malwarebytes, and AVG Mobile free tiers all do a good job of confirmation scans. A permanently-resident antivirus is more useful for users who sideload regularly; for Play Store-only users, the built-in Google Play Protect is sufficient.

The verdict

Android ransomware is more often scareware than real encryption. The fix sequence handles both: browser scareware through a force-stop and cache clear, real ransomware through Safe Mode and uninstall plus a confirmation scan. Truly encrypted data requires factory reset and backup restore.

The lesson for prevention is universal: install from Google Play only, keep Play Protect on, maintain cloud backups (Google Photos, Google Drive). With those three habits in place, a ransomware encounter becomes a thirty-minute nuisance rather than a data loss.

How we put this guide together

Tested four reproduction scenarios on Pixel 8a, Galaxy S25, and OnePlus 12 during April and May 2026. One scenario used a sideloaded test ransomware sample (Reagan family, a documented test sample provided by a security research lab). Three scenarios used browser-based scareware from real ad-network sources. Each fix verified against successful recovery without data loss for the browser cases and with backup restore for the ransomware case.