The spontaneous appearance of advertising banners or full-fledged windows on top of the lock screen is one of the most annoying problems faced by mobile device users. This nuisance not only interferes with quick access to the phone, but also creates a feeling of vulnerability in the security system. Most often, the culprit is not the operating system itself Android, but third-party software installed by the user through negligence.

To regain control of your gadget, you need to conduct a thorough diagnosis of installed applications and system settings. In most cases, the problem is solved by removing specific malicious software or changing access rights for legitimate apps. In this article, we will analyze in detail the mechanisms by which unwanted content appears and provide effective methods to combat it.

The nature of the occurrence of advertising on a locked screen

Advertising windows that overlap the lock screen are usually the result of the so-called adware software designed to display advertising. Unlike classic viruses, such apps are often disguised as useful utilities: virus scanners, memory cleaners, flashlights, or even simple games.

The developers of such software implement permissions into the code for displaying on top of other windows. This allows the application to be activated at any time, even when the screen is dark or locked. The user may accidentally agree to install such an application by downloading it from an unofficial source or by missing a checkmark in the free app installer.

Sometimes the reason is aggressive monetization of completely legal applications. Developers can implement advertising SDKs (Software Development Kit), which under certain conditions do not work correctly. It is important to understand that the system itself Google Play Protect does not always have time to block new versions of such apps immediately after they appear in the store.

โš ๏ธ Attention: If advertising appears immediately after unlocking or when you press the "Home" button, this is almost guaranteed to indicate the presence of an active malicious process in the system, and not a system failure.
๐Ÿ“Š How often do you see ads on the locked screen?
Daily
Once a week
Rarely, after installing new applications
Never encountered

Search and removal malicious applications

The first and most effective step is to identify the culprit application. Often such apps hide in the list of installed apps, having no icon or using a transparent icon to remain undetected. To detect it, you need to go to the device settings and carefully examine the list of all installed packages.

Pay special attention to applications that were installed shortly before the problem appeared. Even if the name of the app seems familiar to you, check its developer. Fraudsters often use names similar to well-known brands, for example Flashlight Pro instead of the official application from the phone manufacturer.

In some cases, the application may have an empty name or an icon that blends into the background. To find it, scroll to the very end or the beginning of the list of installed apps. If you see a line without a name or with a white square instead of a logo, this is almost certainly the source of the problem.

  • ๐Ÿ” Go to Settings โ†’ Applications โ†’ All applications and carefully look through the entire list.
  • ๐Ÿ—‘๏ธ Find the application with a suspicious name, a missing icon, or set to the date the ad appeared.
  • ๐Ÿšซ Click on it and select the button Uninstall. If the button is inactive, first disable administrator rights.

โ˜‘๏ธ Checking suspicious applications

Done: 0 / 4

Checking accessibility and administrator rights

Many ad viruses require elevated privileges to operate. They request rights device administrator or access to accessibility (Accessibility) in order to intercept control of the screen and block the delete button. Without revoking these rights, you will not be able to uninstall malware in the standard way.

You need to go to the security section and check which applications have administrator rights. This list should only include system services, such as Find My Device, or corporate profiles if you're using a work phone. Third-party apps, especially flashlights or optimizers, should not have such permissions.

It's also worth checking the accessibility section. Services that emulate button presses or read screen contents are often hidden here. If you see an unfamiliar application there with screen reading or gesture control rights, disable it immediately.

Permission type Where is in the menu User risk Action
Administrator devices Settings โ†’ Security โ†’ Administrators High: prohibit deletion Uncheck
Accessibility Settings โ†’ Special capabilities Critical: full control Disable service
Display on top of others Settings โ†’ Applications โ†’ Special. access Medium: pop-up advertising Deny access
Notifications Settings โ†’ Notifications Low: spam in the curtain Disable notifications
What to do if the Delete button is inactive?

If the system does not allow you to delete an application, then it has administrator rights. Go to the security settings, find the "Device Administrators" item, uncheck the suspicious application, and only then return to the application menu to uninstall.

Blocking ads through browser settings and DNS

The source of intrusive advertising can be not only installed applications, but also web browsers. If you've allowed sites to send push notifications, they may even appear on your lock screen, mimicking system messages. Clearing permissions for sites will help solve this problem.

Modern versions Android (starting from version 9) support setting up private DNS. This is a powerful tool that allows you to block ads at the network connection level without installing additional applications. Using DNS filters is effective against most well-known advertising networks.

To activate this feature, you do not need to obtain root access. It is enough to enter the address of a special server in the network settings. This method is safe and does not affect the speed of the Internet, while significantly reducing the amount of downloaded advertising traffic.

dns.adguard.com

Enter the above address in the private DNS setting field. This will redirect all requests to ad servers to nowhere, making it impossible to load banners in applications and browsers. If, after enabling this feature, an application no longer works correctly, you can always return the setting to "Auto".

๐Ÿ’ก

Use browsers with built-in tracker protection, such as Brave or Firefox with the uBlock Origin add-on installed, to minimize the risk of accidentally going to a malicious site.

Resetting notification settings for specific applications

Even legitimate applications can abuse the right to send notifications. Some instant messengers, news aggregators, or games use notifications to promote affiliate products. These messages often appear on the lock screen, creating information noise.

You can fine-tune the permissions for each application, prohibiting them from displaying content on the lock screen, while keeping important notifications in the curtain. This will preserve the functionality of the app, but will remove visual clutter from the lock screen.

Go to the notification settings of a specific application. There you can find the "On lock screen" switch. Set to "Do not show" or "Hide sensitive content." This action will apply only to the selected application and will not affect the operation of the entire system.

  • ๐Ÿ”” Open Settings โ†’ Applications and select the problematic app.
  • โš™๏ธ Go to the section Notifications and find the category "Advertising" or "Other".
  • ๐Ÿšซ Turn off the "On the lock screen" toggle switch for this category.
โš ๏ธ Attention: The notification settings interface may differ depending on the manufacturer's shell (MIUI, OneUI, ColorOS). If you don't find the item you need, use the settings search by entering the word "Notifications".

Radical measures: reset to factory settings

If none of the above methods helped eliminate ads, it is possible that malware is deeply embedded in the system or is masquerading as a system process. In such cases, the only reliable solution is to completely reset the device to factory settings.

This procedure will delete all user data, including contacts, photos and installed applications, returning the phone to the "as from the store" state. Before starting the operation, it is critical to create a backup copy of all important data in the cloud storage or on your computer.

After the reset, do not restore applications from the old backup immediately. Install only the most necessary apps from the official store Google Play and observe the operation of the device for several days. This will help ensure that the source of the advertising has been successfully eliminated.

๐Ÿ’ก

Factory Reset is a guaranteed way to remove any software virus, but requires first saving all the user's personal data.

Can advertising on the lock screen be a virus?

Yes, in 90% of cases such advertising is caused by the activity of malicious software (adware), which the user installed independently, often without even knowing it.

Why does advertising appear even after uninstalling the application?

Perhaps the application still has administrator rights or has installed an additional module. It's also worth checking your accessibility settings and clearing your browser cache.

Is it safe to use DNS to block ads?

Yes, using trusted DNS servers like AdGuard DNS is completely safe and is standard practice for increasing privacy and blocking trackers.

How to distinguish between system notifications and advertising?

Advertising notifications often lead to sites offering games or bets, have a_generic_ icon and do not relate to the functionality of the applications you have installed. System notifications usually come from specific Google services or the manufacturer.