If you can’t manually pin down and remove the exploit that hacked your device, launch Google Play Store, tap your profile icon, then Google Play Protect. Tap the green scan button to scan for any potentially harmful apps. Some manufacturers preload their version of Android with their own security solutions. Samsung devices, for instance, feature Samsung Knox protection which can scan and quarantine threats.
If everything else fails, you can always reset to factory settings to foil the hackers. A factory reset erases your files, preferences, and accounts (via Google). We recommend memorizing the login credentials for the Google account(s) on your device before resetting (you’ll need them to log back in). Try and back up what files you can, but be careful that you don’t copy any files that might be compromised and capable of spreading the malware again.
1. Go to Settings and search for the reset menu there.
2. Tap Reset and follow the on-screen instructions.
3. Your device will reboot and present you with a fresh setup.
If hackers have locked you out of the device entirely, you can also perform a hard reset. Exact instructions may vary, but most manufacturers require you to power down completely and hold the volume up or down key while powering back on. This will usually launch a boot menu with the option to wipe the system entirely.