Suddenly appearing advertisements on the smartphone screen can turn using the device into a real nightmare. Banners cover the desktop, notifications stream in an endless stream, and the browser opens by itself on dubious sites. This problem affects millions of users around the world, regardless of the model. Galaxy, Xiaomi or Honor.
Fortunately, in most cases you will not have to pay for expensive antivirus software or take your phone to a service center. Pop-up advertising is often a consequence of installing one specific application or changing system settings, which can be returned back. In this article, we will look at effective methods for cleaning the system from annoying junk.
You will learn how to find the culprit among installed apps, how to block advertising at the network connection level, and what to do if your phone is already infected with a complex virus. The instructions are suitable for both experienced users and beginners who are encountering aggressive marketing in a mobile OS for the first time.
Searching for and removing a malicious application
The most common reason for banners appearing on top of all windows is a recently installed application. Often these are free utilities to โspeed up your phone,โ flashlights, QR code scanners, or simple games with low ratings. The developers of such apps build into them aggressive advertising modules that work even after closing the utility itself.
To find the culprit, go to the settings of your device. Go to section Settings โ Applications โ All applications. Review the list carefully. Look for apps with no name, no icon, or a suspiciously simple name. Often, malware disguises itself as system services, but gives itself away by the absence of a logo.
If you cannot find a strange application in the general list, try sorting them by installation time. Pop-up advertisements usually start to bother you immediately after installing new software. Find the app that was installed the day before the problem appeared and remove it.
โ ๏ธ Attention: If the "Delete" button is inactive (gray), it means that the malicious application has received device administrator rights. You need to first go to Settings โ Security โ Device administrators and uncheck the suspicious app, and then remove it in the usual way.
Sometimes the virus hides so deep that it is not visible in the standard application menu. In this case, try starting your phone in safe mode. To do this, you usually need to hold down the power button on the screen, and then long tap on the โShut Downโ icon that appears until you are prompted to reboot into safe mode. In this state, only system applications work, which allows you to safely remove the infection.
โ๏ธ Diagnosis of hidden viruses
Blocking ads via private DNS
One of the most effective and free ways to remove ads in the browser and most applications is to set up a private DNS (Domain Name System). This method does not require the installation of third-party software and works on the Android 9 system level and higher. It redirects requests to ad servers โnowhereโ without downloading unnecessary data.
To activate this feature, open your phone settings. Find the section Connections or Network and Internet. Inside the menu, find the item Private DNS (Private DNS). By default, it is usually set to "Auto" or "Disabled". You need to select the "DNS Provider Hostname" mode (manually).
In the field that appears, enter the address of a reliable blocker. One of the most popular and proven services is AdGuard. Enter the following line:
dns.adguard.com
After entering the address, save the settings. Now the system will filter traffic. Advertising in browsers Chrome, Firefox and in many free games should disappear. This method also saves mobile traffic, since advertising banners simply do not load.
If, after enabling private DNS, some applications stop working or loading content, try temporarily disabling this feature. Some corporate services or specific apps may conflict with DNS blockers.
It is worth noting that this method will not remove advertising inside YouTube or in those applications where it is intentionally โbuilt intoโ the interface by the developer. However, it copes well with pop-up windows and banners on websites.
Disable notifications from websites in the browser
Often users confuse viral advertising with legal, but intrusive push notifications from websites. You may have accidentally clicked the โAllowโ button on some news portal or movie site, and now it constantly sends notifications about โwinningโ or โhot newsโ directly to the notification curtain.
To stop this stream, you need to go to your browser settings. If you use Google Chrome, click on the three dots in the corner of the screen and select Settings. Next, go to the section Notifications or Site settings โ Notifications.
You will see a list of all sites to which you have given permission to send messages. Study it carefully. Any unfamiliar address with a suspicious name should be deleted or blocked. Click on the site and select the option Delete or Block.
- ๐ Check the list of permissions in the browser Chrome.
- ๐ซ Revoke access from all unclear domains.
- ๐ก๏ธ Enable the "Block pop-up windows" option in your browser settings.
Similar steps must be done in other browsers that you use, for example, in Opera or Yandex.Browser. Each of them has its own site management section. After clearing the list, notifications should stop instantly.
Why do sites ask for permission?
Websites use push notifications to return the audience. However, unscrupulous resources use this to display ads even when the browser is closed. Permission to notifications gives the site the right to write to you at any time.
Resetting advertising and ID settings
In the Android system, there is a special advertising identifier (Advertising ID) that is used by companies to target advertising to your interests. While it doesn't directly cause pop-ups, resetting it can help break the connection between your device and the ad networks that analyze your behavior.
Open your phone to complete this procedure. Find the section Settings phone. Find a section Google (usually it is located at the very bottom of the list or in the "Google Services" group). Inside the menu, select Advertising.
Here you will see two useful options. The first one is Remove advertising identifier. This action will reset your accumulated interest profile. The second option is Disable ad personalization. Turning on this switch will prevent Google from using your data to tailor ads.
| Action | Result | Impact on system |
|---|---|---|
| Reset ID | Interest profile is reset | Safe, does not delete data |
| Disable personalization | Advertising becomes random | Reduces the relevance of ads |
| Deleting history | Clearing activity data | May take several minutes |
This measure is more of a preventive measure. It will not remove an already installed virus, but it will make your digital life a little more private and less saturated with targeted advertising from the Google ecosystem.
Regular resetting of the advertising identifier (once every 1-2 months) prevents advertising networks from building a complete user profile, which reduces the number of intrusive offers.
Using anti-virus scanners
If manual methods did not help and advertisements continue to appear, it is possible that a more complex Trojan or miner has settled on the device. In this case, it is worth using specialized software. It is not necessary to buy expensive subscriptions; there are excellent free versions.
It is recommended to use solutions such as Malwarebytes, Dr.Web Light or Kaspersky Free. Download antiviruses only from the official store Google Playto avoid running into fakes. After installation, run a full system scan.
The antivirus will find hidden threats that are not displayed in the list of applications. It can detect scripts that run when the system boots, or files masquerading as caches. Follow the app's recommendations to delete or quarantine found objects.
โ ๏ธ Attention: Never install two active antiviruses at the same time. They will conflict with each other, slow down the phone and may cause system crashes. Choose one reliable product.
After treating the system, it is advisable to reboot the device. If the antivirus finds serious threats, rescan after a couple of days to ensure complete cleaning.
Prevention and safe installation of applications
The best way to combat advertising - this is to prevent its appearance. Most problems arise due to user inattention when installing software. Always carefully read the permissions that the application requests when you first launch it.
Why does a simple flashlight need access to your contacts and geolocation? Why does a calculator need the right to send SMS? If an application asks for unnecessary rights, this is a warning sign. Deny access or remove the app.
Avoid installing applications from unverified sources. Files of the format .apk, downloaded from forums or file hosting services, often contain modified code with advertising inserts. Use only the official store Google Play or proven alternatives like F-Droid.
- ๐ Read reviews before installation: users often write about advertising in the comments.
- ๐ Check the developer: well-known companies value their reputation.
- ๐ซ Ignore offers to โspeed up your phoneโ from unknown companies.
It is also worth updating your operating system regularly. New versions of Android improve security mechanisms and block background application activity. Go to Settings โ System โ System update and check for new software versions.
Danger of pirated versions
Hacked versions of paid games and apps often contain hidden miners. They use the power of your processor to mine cryptocurrency, which leads to overheating and rapid drainage of the battery.
Frequently asked questions (FAQ)
Advertising appears even after removing all suspicious applications. What to do?
Perhaps the virus remains in the browser cache or system files. Try clearing the cache of all browsers through application settings. If this does not help, consider resetting your phone to factory settings, after saving important data.
Is it possible to remove advertising on YouTube for free?
Officially, no. Methods with DNS or notification blockers do not affect advertising inside the YouTube video player, since they are broadcast from the same servers as the video itself. This requires modified clients, the installation of which may violate the terms of use of the service.
Is it safe to use Private DNS for blocking?
Yes, it is absolutely safe. You simply change the address of the server that processes site name requests. The data is not encrypted to third parties, and the service itself dns.adguard.com is widely used by millions of users and does not collect personal information.
The phone began to slow down after the ad appeared. Is this connected?
Most likely, yes. Advertising modules and virus miners consume significant processor and RAM resources. Removing malware should return your device to its previous performance.
Do you need root access to completely block ads?
No, in modern versions of Android, most methods work without superuser rights. root access provide more opportunities for deep cleaning, but they also complicate the use of banking applications and reduce the overall security of the system.