The sudden appearance of advertising banners on top of the desktop or while using applications is one of the most common problems of users Android. This is not only annoying and distracting, but also significantly reduces the performance of the device, using up the battery and mobile data. Often the culprits are accidentally installed utilities with malicious code or aggressive browser settings.

Fortunately, the operating system provides built-in protection tools, and third-party solutions allow you to block the channels of unwanted content. In this article, we will look at how to identify the source of the problem and get rid of annoying windows forever, using both standard functions and advanced blocking methods. pop-up windows using both standard functions and advanced blocking methods.

Identifying the source of pop-up windows

Before taking drastic measures, you need to determine exactly which application generates the ads. Often, users install โ€œflashlights,โ€ โ€œmemory cleaners,โ€ or simple games that disguise their malicious activity. The first step will be a careful analysis of the list of installed software.

Go to the settings and open the section Applications. Review the list carefully, paying special attention to apps without an icon or with a blank name. Such โ€œinvisibilityโ€ is often the reason for the chaotic appearance of banners. If you notice a suspicious item that you don't remember installing, this is a sure sign of infection.

It's also worth checking your battery usage statistics. Malware that displays advertisements actively runs in the background, resulting in abnormal energy consumption. Find in the list energy consumption applications with a high percentage of discharge that you rarely use. This will help identify the hidden culprit.

โš ๏ธ Attention: If the application does not have a name or icon, do not try to launch it. Proceed immediately to remove it, as its interface may be specially blocked by the developers of the virus.

Sometimes advertisements appear only when connected to a specific Wi-Fi network. In this case, the problem may lie not in the phone, but in the settings of the router, which redirects traffic to advertising servers. Check whether banners disappear when using mobile data to eliminate this scenario.

๐Ÿ“Š How often do you see ads on your phone?
Constantly, every 5 minutes
Only in the browser
Rarely, after installing new games
Never had a problem

Disabling notifications from sites in the browser

A significant part of pop-up advertising comes not from applications, but through the browser in the form of push notifications. Users often accidentally click the "Allow" button on sites with questionable content, after which they begin to receive spam even when the browser is closed.

To stop this flow, you need to go to the settings of your main browser, for example Chrome or Yandex. Find the section Site Settings or Notifications. There you will see a list of all the resources that you have given permission to send messages. Ruthlessly remove or block all unknown domains.

In Google Chrome, the path usually looks like this: Settings โ†’ Site Settings โ†’ Notifications. This list may contain hundreds of addresses. The fastest way is to use the "Clear all permissions" function or manually disable each suspicious item. This will instantly stop the appearance of advertising push notifications in the notification curtain.

  • ๐Ÿ” Check the "Pop-up windows" section in your browser settings and make sure the slider is in the "Blocked" position.
  • ๐Ÿšซ Clear your history and browser cache to delete saved ad network scripts.
  • ๐Ÿ›ก๏ธ Install an ad blocking extension if your browser supports addons.

Do not forget that some sites use clever techniques that simulate system messages about a virus. Never click on links in such notifications. Blocking sources at the browser level is the most effective method of prevention.

๐Ÿ’ก

If you cannot find a specific site in the allow list, simply disable notifications for all sites completely. This will not affect the operation of instant messengers, but is guaranteed to remove web spam.

Using a private DNS to block ads

One โ€‹โ€‹of the most effective and invisible to the user ways to combat advertising is setting up a private DNS (Domain Name System). This method allows you to block advertising requests at the level of the entire operating system, without requiring the installation of additional applications.

Starting with version Android 9, the system has a built-in "Private DNS" function. It redirects all domain name requests through a secure server that can automatically filter out known advertising networks. For this method to work, just enter the address of a special server in the connection settings.

Go to Settings โ†’ Connection โ†’ Other connection settings โ†’ Private DNS. Select the "Provider Host Name" mode and enter the address: dns.adguard.com. After saving, the phone will begin to ignore requests to advertising servers, which will speed up page loading and remove banners in most applications and games.

Settings parameter Value for blocking Effect
DNS mode ISP hostname Filtering activation
Server address dns.adguard.com Blocking ads and trackers
Alternative one.one.one.one Only acceleration, without blocking
Family filter family.adguard-dns.com Blocking ads and content 18+

It is important to note that this method may not work in some applications that use their own encrypted communication channels or registered IP addresses of advertising networks. However, for web surfing and most free utilities, this solution works flawlessly.

๐Ÿ’ก

Setting up a private DNS is a system solution that saves battery and traffic, since advertising content is simply not downloaded to the device.

Searching for and removing malicious applications

If advertisements appear on top of other windows or when the screen is unlocked, Most likely, a real virus or aggressive adwarehas settled in the system. Standard removal through the app menu may not be enough if the malware hides its icon.

Use safe mode for diagnostics. Long-press the power button on the screen, and then press and hold Power Off on the touchscreen until you are prompted to enter Safe Mode. In this state, only system applications are loaded. If the advertisement disappears, it means that the culprit was found among the installed software.

While the phone is in safe mode, go to the application settings again. Sort the list by installation date. Uninstall all apps that were installed shortly before the problem occurred. Pay special attention to utilities for saving battery, QR code scanners and simple games from unknown developers.

โš ๏ธ Attention: If the "Delete" button is inactive (gray), it means that the application has received device administrator rights. You need to first go to Settings โ†’ Security โ†’ Device Administrators and uncheck the suspicious app.

After removing all suspicious elements, restart your smartphone in normal mode. If the problem is resolved, be careful in the future when downloading files from unverified sources. Installing software only from the official store Google Play reduces risks, but does not guarantee complete security.

โ˜‘๏ธ Actions when a virus is detected

Done: 0 / 5

Setting background activity restrictions

Even Legitimate apps can abuse ad serving by running in the background. The operating system Android allows you to strictly limit the capabilities of such apps, prohibiting them from launching without the user's knowledge.

Go to the specific application card in the settings and find the "Battery" or "Charge Consumption" item. Change the operating mode from "Unlimited" to "Limited" or "Hard Limit". This will prevent the application from running adware when you are not using it.

It is also recommended to revoke the "Display on top of other applications" permission. This feature is often used to create pop-ups. Find the section Special. features โ†’ Display on top of other applications in the settings and disable this right for all apps except instant messengers and navigators.

Limiting background activity not only removes advertising, but also extends the battery life of the smartphone. Applications will not be able to constantly poll servers for new advertising creatives, which will have a positive impact on overall system performance.

  • ๐Ÿ”‹ Set "Hard Restriction" for games and utilities that you rarely use.
  • ๐Ÿšซ Deny access to the clipboard for suspicious applications in the privacy settings.
  • ๐Ÿ“ฑ Disable autorun for all non-system apps.
Why do advertisements return after removal?

Some applications have self-healing mechanisms or download additional modules when first launched. Therefore, it is important not only to remove the app, but also to check the Download folder for installation APK files that could have been downloaded secretly.

Installing specialized blockers

When the built-in tools are not enough, specialized blocker applications come to the rescue. Unlike conventional antiviruses, they work as a local VPN filter, passing all traffic through themselves and cutting out advertising requests.

One โ€‹โ€‹of the most popular and reliable solutions is AdGuard. This application does not require root access and creates a local tunnel to filter content. It effectively blocks banners in browsers, YouTube and inside free games. The free version has limited functionality, but it is quite enough for basic protection.

When installing such software, the system will ask for permission to create a VPN connection. This is necessary for the filter to work. Agree with the request, but make sure that the settings of the blocker itself do not enable the transfer of your data to third-party servers if you are concerned about privacy.

In addition to AdGuard, there are easy alternatives such as Blokada or DNS66. They work on the principle of a block list (blacklist), regularly updated by the community. Such apps consume a minimum of resources and have virtually no effect on Internet speed.

โš ๏ธ Attention: Do not install several blockers at the same time. A conflict between two VPN services will result in loss of Internet connection or unstable network operation. Leave only one active application.

Using external blockers is a last resort if other methods have not helped. They require periodic updating of filtering lists and can sometimes block useful content, so periodically check the app logs.

๐Ÿ’ก

Third-party blockers work at the network traffic level, so they are effective even in applications where advertising cannot be disabled through settings.

Frequently asked questions (FAQ)

Why Ads appear even if I didnโ€™t open the browser?

Most likely, you have installed an application with malicious code that has permission to display windows on top of other apps. Check the list of installed applications for apps without icons and disable the "Display on top of other applications" permission for suspicious utilities.

Is it safe to use private DNS dns.adguard.com?

Yes, it is safe. The server belongs to the well-known company AdGuard, specializing in ad protection. It does not collect your personal data, but only filters requests to known advertising domains, returning an empty response instead of the ad server address.

Can a factory reset remove an ad virus?

Yes, a full factory reset (Hard Reset) is guaranteed to remove all third-party applications, including viruses. However, before doing this, be sure to save important data, since all information from the internal memory will be erased.

Does an antivirus help remove pop-up ads?

Conventional antivirus apps most often find and delete the virus file itself, but cannot always block advertising if it comes through legitimate but aggressive applications. To block the content itself, it is better to use DNS filtering or specialized blockers.

What to do if advertising appeared after a system update?

Sometimes system updates reset application permissions. Recheck your browser notification settings and permissions for recently updated apps. It is also possible that the update contained a vulnerability that is being exploited by attackers - in this case, keep an eye out for new security patches.