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:
- Tap on the name of the service.
- Select
Notifications. - Disable the switch
Allow notifications. - In some cases (for example, on Xiaomi) you need to additionally go to
Additional โ Personalized advertisingand 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.
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:
- Open
Settings โ Applications โ Google Play Services. - Click
Storage โ Clear cache. - 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 debuggingon (turns on inSettings โ About phone โ Build number- tap 7 times, then return inSettings โ 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 viaADBcan lead to unstable operation of the firmware, for example, on Xiaomi after deactivationcom.miui.systemAdSolutionSometimes 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:
- Install an antivirus with a signature database for Android: Malwarebytes, Bitdefender or Kaspersky Mobile.
- Run a full system scan.
- 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:
- Open
Settings โ Accounts โ Google โ Account management Google. - Select a tab
Security. - Find the section
Devices on which you are logged inand delete suspicious sessions. - Return to
Settings โ Applicationsand check permissions for Google Play Services. Disable access toNotificationsfor 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:
- Unlock
Bootloader(instructions differ for each brand). - Install TWRP Recovery or another custom recovery.
- Download the firmware from the official website (for example, LineageOS).
- 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:
- Select
Private DNSin settings Android (Settings โ Network and Internet โ Private DNS). - Enter the address
dns.adguard.com(or1.1.1.3to block malicious sites). - 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
APKfrom 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:
- Boot into
Safe Mode(hold the power button โ "Security Mode"). - Remove suspicious applications.
- If advertising remains, perform a reset via
ADBor reflash the device.