You open YouTubeand instead of a video there is a banner with a dubious promotion. You launch the game, and suddenly the screen is blocked by an advertisement for โ€œwonโ€ iPhone 15 Pro Max. Even in the settings menu, there are sometimes pop-up windows with suggestions. If your smartphone has turned into an advertising platform, this is not just an irritation, but a signal of serious problems. In 90% of cases, it is not โ€œsystem featuresโ€ that are to blame, but specific user errors or malicious software. Android turned into an advertising platform - this is not just an irritation, but a signal of serious problems. In 90% of cases, it is not โ€œsystem featuresโ€ that are to blame, but specific user errors or malicious software.

According to data Kaspersky for 2023, every third owner Android devices faced uncontrolled advertising, and in 45% of cases its source was legitimate applications with hidden modules. Another 30% are the consequences of installing pirated content, and the remaining 25% are distributed among viruses, firmware vulnerabilities and aggressive browser settings. In this article we will not just list the reasons, but also give step-by-step guide taking into account the features of different versions Android (from Android 8 Oreo to Android 14).

It is important to understand: advertising on Android rarely appears โ€œjust like that.โ€ Behind every banner is a monetization mechanismโ€”from harmless (but annoying) push notifications to dangerous data-stealing Trojans. We will look how to distinguish Google system advertising from malicious ones, why even factory firmware sometimes shows banners, and what to do if advertising appears even in the screen lock.

1. Viruses and malware: the main source of advertising

If advertising appears outside the browser โ€”on the desktop, in the settings menu or on top of any applicationsโ€”with an 85% chance your device is infected adware (advertising virus). It is especially dangerous when banners:

  • ๐Ÿ”ด Block the screen and require you to click "OK" or "Close"
  • ๐Ÿ”ด Redirect to Google Play suspicious applications
  • ๐Ÿ”ด Appear even without an Internet connection (cached advertising)
  • ๐Ÿ”ด Accompanied by notifications like โ€œYour phone is infected!โ€ or โ€œYou won a prize!โ€

Main ways of infection:

  • ๐Ÿ“ฑ Installation of APK files from unverified sources (torrents, sites like apkpure.com)
  • ๐ŸŽฎ Pirated games or โ€œhackedโ€ versions of paid applications (Spotify Premium, Netflix Mod)
  • ๐Ÿ”— Follow links in SMS or messengers (โ€œYour account is blocked! Download the updateโ€)
  • ๐Ÿ“ฅ Attachments in letters from suspicious addresses (for example, support@amazon-security.ru)

How to check your device for viruses:

  1. Install Malwarebytes or Kaspersky Mobile Antivirus (free versions are sufficient).
  2. Run deep scan (not fast!).
  3. Check the list of installed applications in Settings โ†’ Applications for suspicious names (for example System Update, Flash Player, Clean Master - popular masks for adware).
  4. Open Settings โ†’ Accounts and delete unknown accounts with administrator rights.
โš ๏ธ Attention: Some viruses disguise themselves as system processes (for example, com.android.system). Before deleting, check the name on Google - real system applications cannot be deleted!
๐Ÿ“Š Where do you most often install applications?
Only from Google Play
From APK (sites, torrents)
Through file sharing (Bluetooth, Telegram)
I donโ€™t know/donโ€™t follow

2. Legitimate applications with hidden advertising

Even applications from Google Play can show aggressive advertising if:

  • ๐ŸŽฏ They are free and monetized through banners (games, launchers, weather widgets).
  • ๐Ÿ“ฆ They have built-in SDKs from AppLovin, Unity Ads or IronSource โ€”popular advertising networks.
  • ๐Ÿ”„ They have been updated and added advertising modules (often found in older versions ES Explorer or UC Browser).

How to identify such software:

  1. Open Settings โ†’ Applications โ†’ [Select an application] โ†’ Permissions.
  2. Check if it has permission "Show on top of others windows" (SYSTEM_ALERT_WINDOW).
  3. Launch the application and see if advertising appears only in it or everywhere.

List of applications often guilty of annoying advertising:

Application Typical advertising How to remove
ES Explorer Banners at the bottom of the screen, push notifications Delete or disable notifications in settings
UC Browser, Opera Mini Pop-up windows when opening new tabs Disable "Recommendations" in browser settings
Clean Master, DU Speed Booster Notifications about "optimization", banners on the desktop Delete completely (these applications are useless)
Games from Lion Studios or Voodoo Advertising between levels, forced viewing Play offline or buy a premium version

If the application cannot be removed (for example, it is pre-installed by the manufacturer), disable it:

  1. Go to Settings โ†’ Applications โ†’ [Select an application].
  2. Click Disable (not "Uninstall updates").
  3. Reset the cache and application data.
๐Ÿ’ก

Before deleting the application, check it in the service VirusTotal (download the APK file from the website apkpure.comif the application is not from the Play Market). This will help identify hidden advertising modules.

3. System advertising from Google and manufacturers

Yes, even โ€œcleanโ€ Android can display advertising - but it is strictly regulated and appears only in certain places:

  • ๐Ÿ“ฑ On the lock screen (devices Samsung, Xiaomi, Huawei with proprietary skins).
  • ๐Ÿ” In the search results Google (Advertising tags next to the links).
  • ๐Ÿ“ In the folder Google on the desktop (widgets Discover or At a Glance).
  • ๐ŸŽต In the application YouTube (unskippable advertising before the video).

How to disable legitimate system advertising:

For devices Samsung (One UI):

  1. Go to Settings โ†’ Lock screen โ†’ Lock screen notifications.
  2. Disable Advertising notifications or Samsung Global Goals.
  3. T Settings โ†’ Google โ†’ Advertising disable Personalized advertising.

For devices Xiaomi (MIUI):

  1. Open Settings โ†’ Lock screen โ†’ Advanced.
  2. Disable Recommendations and Msa (Mi Security Ads).
  3. In Settings โ†’ Applications โ†’ Manage applications โ†’ System applications find Msa and disable it.

For all devices (universal method):

  1. Go to Settings โ†’ Google โ†’ Advertising.
  2. Disable Personalized advertising and reset Ad ID.
  3. T Settings โ†’ Applications โ†’ Google Play Market โ†’ Notifications disable all types of notifications.
โš ๏ธ Attention: On some firmware (for example, ColorOS from Oppo/Realme), advertising can be disabled only through ADB commands. If standard methods do not help, use the command:
adb shell pm uninstall -k --user 0 com.heytap.browser

(replace com.heytap.browser with the advertising module package of your firmware).

4. Push notifications from sites and applications

If advertising comes in the form notifications (even when the phone is locked), the culprits are:

  • ๐ŸŒ Subscriptions to push notifications of sites (often slipped through "Please confirm that you are not a robot."
  • ๐Ÿ“ฒApps with permission to send notifications (for example, AliExpress, Wildberries, news aggregators).
  • ๐Ÿ“ก Advertising networks that use Firebase Cloud Messaging (FCM) to send spam.

How to disable:

For notifications from sites (Chrome, Firefox, Edge):

  1. Open your browser and go in Settings โ†’ Site settings โ†’ Notifications.
  2. Remove all sites from the list or turn off notifications completely.
  3. In Chrome you can block notifications for all sites: enter chrome://settings/content/notifications.

For notifications from applications:

  1. Go to Settings โ†’ Applications โ†’ [Select an application] โ†’ Notifications.
  2. Disable all types of notifications or select Important instead of Everything.
  3. For aggressive applications (for example, Avito or Drom) additionally disable Show notifications on the lock screen.

If notifications continue to arrive:

  • ๐Ÿ›ก๏ธ Install blocker notifications (for example, Notification History & Block).
  • ๐Ÿ”ง Use ADB command to completely disable notifications from a specific package:
    adb shell pm revoke APPLICATION_PACKAGE android.permission.POST_NOTIFICATIONS

    (replace APPLICATION_PACKAGE with a real name, for example, com.avito.android).

How to find the application package for an ADB command?

Open Settings โ†’ Applications โ†’ [Select an application] โ†’ Advanced. The package name will be in the "Application Information" section (for example, com.facebook.katana for Facebook).

5. Advertising in browsers: where it comes from and how to block

Browsers are the second most popular source of advertising after viruses. Particularly dangerous:

  • ๐Ÿ•ท๏ธ Malicious extensions (even in Chrome!).
  • ๐Ÿ” Spoofed search engines (instead of Google opens search.bravogol.com).
  • ๐Ÿ“ก Pop-up windows with the offer to "unblock" content. data-i="234">Step-by-step guide for
  • ๐ŸŽฏ Redirects to sites like win-prize.online.

How to clear your browser:

Remove all extensions|Reset browser settings|Disable push notifications|Install an ad blocker (uBlock Origin)|Check your homepage and search engine-->

Step-by-step guide for Google Chrome:

  1. Open โ‹ฎ โ†’ Settings โ†’ Privacy and Security โ†’ Clear history.
  2. Select All the time and check all the boxes (Cookies, Cache, History).
  3. Go to Settings โ†’ Search engine and make sure it is selected Google (and not Yandex, Mail.ru or an unknown search engine).
  4. B Settings โ†’ Home page delete the address if it is not there chrome://newtab.
  5. Open chrome://extensions and remove all extensions (especially AdBlock from unknown developers - they are often replaced with viruses).

To completely block ads in the browser:

  • ๐Ÿ›ก๏ธ Install uBlock Origin (available for Chrome, Firefox, Edge).
  • ๐Ÿ”’ Use DNS filtering: in Settings โ†’ Network and Internet โ†’ Private DNS enter dns.adguard.com.
  • ๐Ÿšซ In Chrome open chrome://flags/#enable-site-per-process and enable Site Isolation โ€”this will make it difficult to display ads.
โš ๏ธ Attention: Some ad blockers (for example, AdBlock Plus) themselves show โ€œacceptable advertisingโ€. Use uBlock Origin or AdGuard โ€”they do not have such โ€œaffiliate apps.โ€

6. Advertising on the lock screen: who is to blame and what to do

If advertising appears on the locked screenit could be:

  • ๐Ÿ“ฑ Firmware function (for example, Xiaomi or Samsung show news/advertising on the lock).
  • ๐Ÿ”ณ Virus with rights SYSTEM_ALERT_WINDOW.
  • ๐Ÿ“ก Push notifications from high priority applications.

How to remove:

For firmware MIUI (Xiaomi, Redmi, POCO):

  1. Go to Settings โ†’ Lock screen โ†’ Advanced.
  2. Disable Recommendations, Msa and Weather.
  3. In Settings โ†’ Applications โ†’ Manage applications โ†’ System find Msa and turn it off.

For firmware One UI (Samsung):

  1. Open Settings โ†’ Lock screen โ†’ Lock screen notifications.
  2. Disable Advertising notifications and Samsung Global Goals.
  3. T Settings โ†’ Device maintenance โ†’ Battery โ†’ Optimization functions disable Personalized data.

Universal method (for all firmware):

  1. Install an alternative launcher (for example, Nova Launcher or Lawnchair).
  2. Disable system notifications via ADB:
    adb shell pm uninstall -k --user 0 com.miui.weather2 (for Xiaomi)
    

    adb shell pm uninstall -k --user 0 com.samsung.android.app.withtv (for Samsung)

  3. Use the application Lockscreen Ad Remover (requires root).

If advertising appears even after disabling all settings, check the device for viruses (see section 1) and remove applications with rights SYSTEM_ALERT_WINDOW:

  1. Go to Settings โ†’ Applications โ†’ โ‹ฎ โ†’ Special access โ†’ Show on top of other windows.
  2. Disable access for all suspicious applications.
๐Ÿ’ก

Advertising on the lock screen is not always a virus. Most often this is a โ€œfeatureโ€ of custom firmware (MIUI, One UI, ColorOS). It is disabled through system settings or ADB commands.

7. Advertising in games and applications: can it be removed?

If advertising appears only in specific games or applications, you have three options:

  • ๐ŸŽฎ Buy premium version (if available).
  • ๐Ÿ›ก๏ธ Use a blocker (for example Lucky Patcher or GameGuardian, but this requires root).
  • ๐Ÿ”ง Disable the Internet for the application (but then online functions may not work).

How to limit advertising in games:

  1. In the game settings, find the section Advertising or Monetization and disable personalized ads.
  2. Use DNS filter (for example, 1.1.1.3 from Cloudflare blocks advertising domains).
  3. For Android 9+ limit the background activity of the game in Settings โ†’ Applications โ†’ [Game] โ†’ Battery โ†’ Limit background activity.

List of games with the most aggressive advertising (according to data Sensor Tower, 2023):

Game Advertising type How to reduce
Subway Surfers, Temple Run Banners at the bottom of the screen, forced videos Buy Starter Pack for 100 rubles (removes banners)
Candy Crush Saga Video between levels, pop-ups Play offline (without the Internet)
Homescapes, Gardenscapes Advertising "bonus lives" every 30 minutes Disable game notifications in settings
Among Us Banners in the lobby, pop-ups upon death Buy No Ads for 200 rubles
โš ๏ธ Attention: Use Lucky Patcher or modified APKs (Mod APK) to block ads may lead to account ban in games (for example, Clash of Clans or PUBG MobileYou risk losing progress!

8. Radical methods: if nothing helps

If you have tried everything, but the advertising remains, itโ€™s time for radical measures:

1. Reset to factory settings

This will remove all data, but is guaranteed to remove viruses and settings associated with advertising. How to do it right:

Save contacts in Google Account|Download photos to PC/cloud|Record Wi-Fi passwords|Delete Google Account (if you are selling a phone)|Disable Factory Reset Protection (FRP)-->

  1. Go in Settings โ†’ System โ†’ Reset settings โ†’ Delete all data.
  2. Select Clear everything (including internal memory, if advertising was in files).
  3. After the reset do not restore data from a backup copy โ€”it may contain a virus!

2. Reflashing the device

If resetting does not help, perhaps advertising is embedded in firmware (often found on cheap smartphones like Doogee or Ulefone). Solution:

  • ๐Ÿ“ฅ Install custom firmware (for example, LineageOS or Pixel Experience).
  • ๐Ÿ”ง Use official firmware from the manufacturer's website (for Samsung โ€” Sammobile, for Xiaomi โ€” Xiaomi Firmware Updater).
  • โš ๏ธ Before flashing the firmware, unlock Bootloader and make a backup EFS (otherwise you will lose IMEI!).

3. Using root and Xposed

For advanced users:

  • ๐Ÿ” Get root access via Magisk.
  • ๐Ÿ›ก๏ธ Install Xposed Framework + module AdAway (blocks advertising at the system level).
  • ๐Ÿ“ต Use AppOps to disable permissions for system applications.
โš ๏ธ Attention: Root and custom firmware no warranty and can lead to brik devices. On some models (for example, Samsung s Knox), root permanently activates the flag Knox 0x1, which blocks Samsung Pay and Secure Folder.

FAQ: Frequently asked questions about advertising on Android

โ“ Why does advertising appear even without the Internet?

This is cached advertising from viruses or applications. Some adware download banners in advance and display them offline.

  1. Clear the cache of all applications in Settings โ†’ Storage.
  2. Delete applications with permission SYSTEM_ALERT_WINDOW.
  3. Scan your device for viruses (see section 1).
โ“ Is it possible to sue Google for advertising?

Technically, yes, but practically useless. The user agreement Google states that they have the right to display advertising in their services (YouTube, Play MarketThe exception is if advertising:

  • ๐Ÿ”ž Violates local laws (for example, advertising of gambling in Russia).
  • ๐Ÿ•ต๏ธโ€โ™‚๏ธ Contains your personal data without consent.
  • ๐Ÿ’Š Advertises prohibited goods (drugs, weapons).

In such In cases, you can complain to Roskomnadzor (for Russia) or FTC (for the USA).

โ“ Why did the advertising return after resetting the settings?

Probable reasons:

  • ๐Ÿ”„ You restored data from a backup that contained a virus.
  • ๐Ÿ“ฅ The device firmware contains built-in advertising (often on budget smartphones).
  • ๐Ÿ”Œ The virus was in system partition and was not removed when resetting.

Solution: flash the device clean firmware (for example, LineageOS) or use ADB to remove system advertising modules.

โ“ Which browsers do not show advertising?

No browser blocks advertising completely, but some minimize it:

  • ๐Ÿ›ก๏ธ Brave Browser โ€”blocks trackers and ads by default.
  • ๐ŸฆŠ Firefox + extension uBlock Origin.
  • ๐ŸŒ Kiwi Browser โ€”supports extensions Chrome and has a built-in blocker.

Avoid