Suddenly locking the smartphone screen with a ransom demand is one of the most unpleasant scenarios for the user Android. The malicious app, known as Android Locker or Trojan ransomware, blocks access to all functions of the device, imitating messages from the Ministry of Internal Affairs, the FSB or anti-virus scanners. Often a countdown timer appears on the screen and a requirement to transfer money to an electronic wallet or card.

Panic in such a situation is natural, but it prevents a sober assessment of the situation. It is important to understand that locker virusesas a rule, they do not encrypt your personal files, but only block the interface. This means that your photos and contacts are safe and the main task is to forcefully terminate the malicious application process. There are several proven methods for eliminating this threat, from simple to more complex.

In this article we will look in detail at how to remove Android Locker without data loss, using standard system tools and special tools. You'll learn how to enter Safe Mode, how to use USB debugging, and what to do if all else fails. Follow the instructions carefully so as not to aggravate the situation.

Threat analysis: what is a Trojan ransomware

Trojan ransomware is malicious software that gains device administrator rights immediately after installation. This is what allows it to block the Home button, disable the task manager and prevent it from closing itself. Typically, such viruses are disguised as harmless utilities: flashlights, memory cleaners, players or even system updates.

Most often, infection occurs when downloading applications from third-party sources, and not from the official one store Google Play. Attackers distribute APK files through dubious forums, file hosting services, and phishing links in instant messengers. As soon as the user installs such an application and gives it rights administrator, the system is under complete control of the virus.

Visually, blocking can look very convincing. Law enforcement logos and accusations of viewing prohibited content or copyright infringement are displayed on the screen. However, this is just a picture superimposed on top of the desktop. No law enforcement agencies block phones or demand a ransom through payment terminals.

An attempt to pay a ransom does not guarantee unlocking. On the contrary, this will confirm to attackers that the number is active and the owner of the phone is solvent, which will lead to new attacks. Therefore, the only correct solution is to forcefully remove malicious code.

โš ๏ธ Attention: Some advanced versions of lockers may block entry to safe mode or disable volume buttons. If standard methods do not work, you may need to flash the device.

Method one: removal via Safe Mode

The easiest and safest way to get rid of the blocker is to boot your smartphone into Safe Mode (Safe Mode). In this mode, the system boots only with pre-installed applications, and all third-party software, including the virus, becomes inactive. This allows you to calmly go into the settings and delete the problematic application.

The login procedure may differ depending on the model of your device. On most modern smartphones Samsung, Xiaomi, Huawei you need to hold down the power button, and when the reboot menu appears on the screen, press and hold your finger on the item Shutdown or Reboot until a message about switching to safe mode appears.

If the screen is completely locked and the menu does not open, try the hardware method. Turn off your phone completely. Then turn it on and, as soon as the manufacturerโ€™s logo appears, hold down the volume down button (on some models, both volume buttons). Hold it until the system is fully loaded. The message should appear in the lower left corner of the screen Safe Mode.

After a successful download, you will find that the blocker has disappeared or become inactive. Now you need to find it in the list of applications. Go to Settings โ†’ Applications โ†’ All applications. Carefully look through the list, paying attention to apps without an icon or with a suspicious name (for example, "System Update", "Flash Player") that were installed recently.

๐Ÿ“Š How did you get infected with the virus?
Downloaded the application from forum
Followed the link in SMS
Accidentally clicked on the banner
I donโ€™t know, it appeared on its own

Having found a suspicious application, click on it and select the button Delete. If the button is inactive, you must first revoke administrator rights. To do this, go to Settings โ†’ Security โ†’ Device administrators (the path may differ depending on the version Android). Uncheck the virus, confirm the action, and then return to the application menu and delete it.

โ˜‘๏ธ Uninstall checklist in safe mode

Done: 0 / 5

Method two: using ADB and a computer

If entering safe mode is impossible or a virus is blocking the settings, a tool ADB (Android Debug Bridge)will come to the rescue. This method requires a computer and USB debugging to be enabled on your phone. If debugging was disabled before infection, this method, unfortunately, will not work without unlocking the bootloader. First, download the package from the official developer website to your computer. Unpack the archive into a convenient folder. Connect the infected smartphone to the PC via a USB cable. If the phone responds to the connection (makes sound, charges), there is a chance that ADB will see the device, even if the screen is locked.

To get started, download the package Platform-Tools from the official developer website Android to your computer. Unpack the archive into a convenient folder. Connect the infected smartphone to the PC via a USB cable. If the phone responds to the connection (makes a sound, charges), there is a chance that ADB will see the device, even if the screen is locked.

Open a command line or terminal in the ADB tools folder and enter the command to check the connection:

adb devices

If a device with status deviceappears in the list, then the connection is established. If the status unauthorized, you will not be able to unlock the phone without confirmation on the screen, which is covered by the virus.

If the connection is successful, you can try to forcefully remove the application. First you need to find out the full name of the virus package. Enter the command:

adb shell pm list packages

Among the list, find a suspicious name (often it does not match the visible name). Then run the uninstall command:

adb shell pm uninstall --user 0 virus package name

This command will uninstall the application for the current user, which effectively deactivates the virus and returns access to the interface.

๐Ÿ’ก

If the uninstall command does not work, try revoking administrator rights through ADB first: adb shell dpm remove-active-admin name.component.administrator

Method three: reset via Recovery Mode

When software methods are powerless and the virus permanently blocks the system, a radical but effective method remains - resetting to factory settings through the menu Recovery. This method will delete all data from the phoneโ€™s internal memory, including photos, contacts and the virus itself, so use it only as a last resort.

To enter recovery mode, you must turn off your smartphone. Then hold down a specific key combination. On most devices this is Volume Up + Power or Volume Down + Power. Hold the buttons until the logo or menu appears with the android lying on its back.

In the Recovery menu, control is carried out with the volume buttons (up/down) and confirmation with the power button. Find the item Wipe data/factory reset and select it. The system will ask for confirmation as this action is irreversible. Select Yes or Factory data reset.

After completing the cleaning process, select Reboot system now. The phone will reboot like new. The virus will be completely destroyed, since it is stored in the user memory section, which has been formatted. This is a guaranteed way to get rid of any software locks.

Method Complexity Risk of data loss Efficiency
Safe Mode Low No High (for simple lockers)
ADB (Computer) Medium No Medium (requires USB debugging)
Recovery Mode High Total loss 100% guarantee
Service Center Low Depends on the master High
โš ๏ธ Attention: Before performing a reset via Recovery, make sure that you remember the data from your Google account. After the reset, the system will require you to enter a login and password to confirm ownership of the device (FRP protection).

Prevention and protection against re-infection

After successful removal Android Locker it is important to analyze the causes of infection so that the situation does not recur. The main cause of the vulnerability is the installation of applications from unverified sources. Try to download software exclusively from the official store Google Playwhere applications undergo security checks Google Play Protect.

In the security settings of your smartphone, disable the ability to install applications from unknown sources. If this feature is needed for a specific app, enable it temporarily and only for verified files. Regularly update your system Android and installed applications, as updates often contain patches for vulnerabilities that viruses exploit.

Install a reliable antivirus from a reputable vendor, such as Kaspersky, ESET, Dr.Web or Avast. Even free versions of these apps are able to promptly detect and block an attempt to install a Trojan or report the presence of malicious code in the system.

Why do antiviruses not always detect viruses?

Modern Trojans use polymorphism methods, changing their code every time they are loaded, which makes them difficult to detect by signatures. In addition, some lockers disguise themselves as system processes, which deceives simple scanners.

Frequent questions and problems during removal

Users often encounter unusual situations when trying to unlock their phone. For example, a virus may return after a reboot if it managed to download additional modules from the network. In this case, before deleting the main application, it is recommended to turn off the Internet (Wi-Fi and mobile data) by removing the SIM card.

Another problem is call blocking. Some lockers intercept incoming calls so that you cannot call specialists or loved ones. In safe mode this feature is usually disabled, but if not, only a hard reset will help. It is also worth checking the list of recent applications to understand which file launched the infection.

๐Ÿ’ก

The main principle of protection is skepticism. If an application asks for strange permissions (for example, flashlight requires access to contacts and SMS), do not install it.

Is it possible to remove a virus without losing photos?

Yes, if you use the method with safe mode or a command through ADB. In these cases, only the application itself is deleted, while user data remains intact. Resetting via Recovery will delete everything.

What to do if the phone demands a ransom in bitcoins?

Do not transfer money under any circumstances. This is a financial pyramid of criminals. Even after payment, the blocking is most often not removed, since scammers usually do not have an automatic unlocking system.

Will changing the SIM card help?

No, the virus is in the phone's memory, and not on the SIM card. However, removing the SIM card is useful for disabling the Internet so that the virus cannot contact the control server and download new modules.

Why is the "Delete" button inactive in the settings?

This means that the application has device administrator rights. You need to first go to the "Security" -> "Device Administrators" section and revoke the rights of the suspicious app.

How to understand that the phone is completely cleaned?

After removal, reboot the device into normal mode. If the lock does not appear within 10-15 minutes of operation, and you can freely install and uninstall other applications, the phone is clean. It is recommended to conduct a full scan with an antivirus for control.