Advertising notifications on Android are one of the most annoying problems of modern smartphones. They appear suddenly, slow down your device and often lead to dubious sites. Unlike regular push messages from applications, advertising notifications often come from built-in manufacturer services (MIUI na Xiaomi, One UI na Samsung) or malware that has penetrated the system. This article will help you understand how to completely disable advertising in notifications - from standard methods to hidden settings and commands ADB.

It is important to understand that advertising sources are different: these can be both legitimate services (for example, Google Play Services with personalized advertising), and viruses, masquerading as system processes. We will look at all options - from simple actions in the smartphone menu to radical measures for experienced users. If you are tired of annoying banners in the notification curtain, follow the instructions below.

1. Disabling advertising in Android settings

The first and most obvious way is to check the system settings. Many manufacturers (Xiaomi, Realme, Oppo) integrate advertising modules directly into the firmware, but they can be deactivated. Let's start with the universal steps:

Open Settings โ†’ Applications โ†’ Manage applications. Here you need to find the system services responsible for displaying advertising. Their names depend on the brand:

  • ๐Ÿ“ฑ Xiaomi/Redmi/Poco: Msa (Mobile Services Analytics), MiuiDaemon, Security (Advertising tab).
  • ๐Ÿค– Samsung: Samsung Push Service, Samsung Free (formerly Bixby Home).
  • ๐Ÿ”„ Realme/Oppo: HeyTap Push, OPPO Push Service.
  • ๐Ÿ“ฒ Huawei/Honor: Huawei Mobile Services (Notifications tab).

For each from these applications:

  1. Tap on the name of the service.
  2. Select Notifications.
  3. Disable the switch Allow notifications.
  4. In some cases (for example, on Xiaomi) you need to additionally go to Additional โ†’ Personalized advertising and deactivate it.
โš ๏ธ Attention: On some devices (Xiaomi s MIUI 14+, Samsung One UI 6.0) after disabling advertising services, weather widgets or updates of branded applications may disappear. This is not critical, but take this nuance into account.
๐Ÿ“Š What brand of your smartphone?
Xiaomi
Samsung
Realme/Oppo
Huawei/Honor
Another brand

2. ID)

Advertising ID is a unique code that Google assigns to each device for targeted advertising. It can be reset or completely disabled to reduce the number of personalized notifications. This is done like this:

Go to Settings โ†’ Google โ†’ Advertising (on some devices the path may be different: Settings โ†’ Accounts โ†’ Google โ†’ Google account management โ†’ Data and personalization โ†’ Advertising settings). Here you will see two key parameters:

  • ๐Ÿ”„ Reset advertising ID โ€”this will delete the current ID and create a new one. The advertisement will become less relevant.
  • ๐Ÿšซ Disable personalized advertising โ€”this will prohibit Google from using your data for targeting.

After resetting the ID, it is also recommended to clear the cache Google Play Services:

  1. Open Settings โ†’ Applications โ†’ Google Play Services.
  2. Click Storage โ†’ Clear cache.
  3. Reboot the device.
๐Ÿ’ก

If after resetting the ID, advertisements continue to appear, check whether applications with administrator rights are installed on the device (for example, Clean Master or DU Battery SaverThey often show hidden advertisements.

3. Disabling advertising via ADB (for experienced users)

If standard methods do not help, you can use ADB debugging. data-i="93">๐Ÿ–ฅ๏ธ Computer with installed a deep configuration tool Android. This method is suitable for removing system advertising packages that cannot be disabled through the interface. You will need:

  • ๐Ÿ–ฅ๏ธ Computer with installed Platform Tools (or any distribution ADB).
  • ๐Ÿ“ฑ Smartphone with USB debugging on (turns on in Settings โ†’ About phone โ†’ Build number - tap 7 times, then return in Settings โ†’ System โ†’ For developers).
  • ๐Ÿ”Œ USB cable (preferably original).

Connect your phone to the PC and run the following commands in the terminal (cmd or PowerShell):

adb devices

(Checks the device connection. If the list is empty, confirm permission for debugging on the smartphone screen.)

adb shell pm list packages | grep -i "advertis"

(This command will display a list of packages associated with advertising. Usually they contain the words ad, push, msa.)

To disable the found packages, use:

adb shell pm disable-user --user 0 com.example.adpackage

(Replace com.example.adpackage with the real name of the package.)

Brand Name of the advertising package Command to disable
Xiaomi com.miui.systemAdSolution adb shell pm disable-user --user 0 com.miui.systemAdSolution
Samsung com.samsung.android.app.spage adb shell pm disable-user --user 0 com.samsung.android.app.spage
Realme/Oppo com.heytap.push adb shell pm disable-user --user 0 com.heytap.push
Huawei com.huawei.android.hsf adb shell pm disable-user --user 0 com.huawei.android.hsf
โš ๏ธ Attention: Disabling system packages via ADB can lead to unstable operation of the firmware, for example, on Xiaomi after deactivation com.miui.systemAdSolution Sometimes the theme stops working. Before executing commands make a backup copy of your data!

USB debugging is enabled

ADB drivers are installed on PC

The smartphone is connected with an original cable

A backup of important data has been made-->

4. Check for viruses and malware

If advertising notifications appear even after disabling all system services, most likely on the device. installed malware. Such apps are often disguised as harmless applications (flashlights, optimizers, games) and display advertisements through WebView or Firebase Cloud Messaging.

To search for viruses:

  1. Install an antivirus with a signature database for Android: Malwarebytes, Bitdefender or Kaspersky Mobile.
  2. Run a full system scan.
  3. Pay attention to applications with suspicious permissions (for example, access to notifications or autorun).

Typical signs of an infected device:

  • ๐Ÿ“ข Advertising appears even when the screen is locked.
  • ๐Ÿ”— Notifications lead to sites with suspicious domains (for example, .xyz, .click).
  • ๐Ÿ“ฑ Unknown applications in the installed list (often with Chinese hieroglyphs in the name).
  • ๐Ÿ”‹ Rapid battery drain due to background activity.

If the antivirus finds threats, remove them and reset the advertising settings (as described in section). 2If the problem persists, you will have to do this in the reset to factory settings.

How to remove an application that cannot be removed?

If the malware is not removed in the standard way (the "Delete" button is inactive), try:

1. Disable it via ADB: adb shell pm uninstall -k --user 0 com.example.virus.

2. Use App Inspector (available in Google Play) to find hidden packages.

3. Install an alternative launcher (for example, Nova Launcher) and hide the malicious application icon from the menu.

5. Setting up Firebase Cloud Messaging (FCM)

Firebase Cloud Messaging is a service Googlethat is used by many applications to send push notifications. Attackers often exploit it to display ads to restrict access to FCM:

Go to Settings โ†’ Applications โ†’ Google Play Services โ†’ Notifications and turn off all unnecessary channels. Then:

  1. Open Settings โ†’ Accounts โ†’ Google โ†’ Account management Google.
  2. Select a tab Security.
  3. Find the section Devices on which you are logged in and delete suspicious sessions.
  4. Return to Settings โ†’ Applications and check permissions for Google Play Services. Disable access to Notifications for unnecessary applications.

For complete shutdown FCM required ADB:

adb shell pm disable-user --user 0 com.google.android.gms/.firebase.MessagingService
โš ๏ธ Attention: Disconnection Firebase Cloud Messaging can disrupt the operation of legitimate applications (messengers, banking services). Use this method only if other methods have not helped.

6. Using alternative firmware (for advanced ones)

If you are ready to take radical measures, you can install custom firmware without built-in advertising. Popular options: custom firmware confidentiality.

  • ๐Ÿ“ฑ LineageOS - clean Android without unnecessary services.
  • ๐Ÿ”„ Pixel Experience - firmware with interface Google Pixel.
  • ๐Ÿ›ก๏ธ GrapheneOS โ€” Focused on security and privacy.

Advantages of custom firmware:

  • โœ… No built-in advertising from the manufacturer.
  • โœ… Regular security updates.
  • โœ… Ability to fine-tune the system.

Disadvantages:

  • โŒ Loss of warranty (on most devices).
  • โŒ Risk of the smartphone becoming bricked if an installation error occurs.
  • โŒ Not all functions may work (for example, Samsung Pay or Xiaomi IR Blaster).

Before installing custom firmware:

  1. Unlock Bootloader (instructions differ for each brand).
  2. Install TWRP Recovery or another custom recovery.
  3. Download the firmware from the official website (for example, LineageOS).
  4. Make a full backup via TWRP.
๐Ÿ’ก

Custom firmware is a last resort. If you are not confident in your skills, it is better to refer to other methods from this article or take the phone to a service center.

7. Additional measures: blocking at the DNS level

If advertising comes via the Internet (for example, in a browser or some applications), you can block advertising domains at the level DNS. To do this:

Install the application to change DNS, for example DNS Changer or 1.1.1.1: Faster Internet. Then:

  1. Select Private DNS in settings Android (Settings โ†’ Network and Internet โ†’ Private DNS).
  2. Enter the address dns.adguard.com (or 1.1.1.3 to block malicious sites).
  3. Restart the device.

This will help block:

  • ๐Ÿ“ข Advertising in the browser (Chrome, Firefox).
  • ๐ŸŽฎ Intrusive banners in games.
  • ๐Ÿ“ฑ Trackers that collect data for targeted advertising.

For maximum effect, combine this method with disabling personalized advertising (section 2).

FAQ: Frequently asked questions about advertising notifications

๐Ÿ” Why does advertising return after resetting the settings?

Resetting to factory settings deletes user data, but does not always affect system applications. If advertising returns, it means:

  • It is built into the firmware (typical). for Xiaomi i Realme).
  • You have restored data from a backup copy where advertising settings were saved.
  • There are uninstalled malicious applications left on the device.

Solution: after the reset, immediately disable advertising services (section 1) and do not restore data from backup.

๐Ÿ“ต Is it possible to disable advertising without root access?

Yes, in most cases root is not required. Enough:

  • Disable system applications via ADB (section 3).
  • Reset Google Advertising ID (section 2).
  • Use private DNS (section 7).

Root needed only to remove deeply embedded advertising modules (for example, on some devices Lenovo or ZTE).

๐Ÿ›ก๏ธ How to protect yourself from advertising in the future?

To minimize the risk of advertising notifications:

  • ๐Ÿ“ฑ Install applications only from Google Play (avoid APK from questionable sites).
  • ๐Ÿ” Before installing, read reviews and check application permissions.
  • ๐Ÿ”„ Update regularly Android i antivirus.
  • ๐Ÿšซ Disable the installation of applications from unknown sources (Settings โ†’ Security โ†’ Unknown sources).
๐Ÿ“ฑ Why do advertisements appear on Samsung even after disabling all services?

On devices Samsung s One UI advertising can come through:

  • Samsung Free (formerly Bixby Home) - disable it in the home screen settings.
  • Samsung Push Service - remove updates for this application (Settings โ†’ Applications โ†’ Samsung Push Service โ†’ โ‹ฎ โ†’ Uninstall updates).
  • Samsung Pay - sometimes shows promotions (disabled in the application settings).

If all else fails, try resetting the settings via Samsung Members (Settings โ†’ Device maintenance โ†’ Reset).

๐Ÿ”ง What to do if advertising appears on the locked screen?

Advertising on the locked screen is a sign of:

  • ๐Ÿฆ  Virus (most often HiddenAds or Shamoon).
  • ๐Ÿ“ฑ Malicious application with rights SYSTEM_ALERT_WINDOW.
  • ๐Ÿ”„ Firmware with pre-installed adware (typical for some Lenovo i Alcatel).

Solution:

  1. Boot into Safe Mode (hold the power button โ†’ "Security Mode").
  2. Remove suspicious applications.
  3. If advertising remains, perform a reset via ADB or reflash the device.