Advertising in Xiaomi smartphones is one of the most controversial features of MIUI firmware. On the one hand, it allows the company to keep device prices at an affordable level. On the other hand, it annoys users, especially when banners appear in settings, notification center or even on the lock screen. Redmi Note 8, despite its age (model released in 2019), is still actively used, and owners are looking for ways to clean the interface from intrusive advertising.
In this article, weโll look at all the possible methods, from standard MIUI settings to advanced ADB tricks. Importantly, some methods require care, because the wrong actions can lead to system failures. If youโre not sure about your skills, start with the simplest steps.
Also note that after major MIUI updates (e.g., switching from 12th to 13th version), the paths to some settings may change. We have updated the instructions for the latest firmware for Redmi Note 8 (including MIUI 14 based on Android 12).
1. disable personalized advertising in MIUI settings
The safest and most obvious way to do this is to deactivate the options associated with targeted advertising, which won't take away all banners, but will reduce them significantly.
Go to Settings โ Google โ Advertising and:
- ๐ Turn off the Personalized Advertising slider (this will block the collection of your interests data).
- ๐ Click "Reset advertising" ID" โ This will reset your current identifier used to display ads.
- ๐ Enable "Disable Interest-Based Ads" (if such a clause exists).
Then go back to the main settings and open Settings โ Applications โ Application Management โ Settings (cog in the upper right corner) โ Special permissions โ Show pop-ups. Here you will see a list of applications that are allowed to display pop-up ads. Turn off permission for all suspicious applications, especially for:
- ๐ฑ Mi Browser (if you don't use it)
- ๐ฑ Mi Video / Mi Music
- ๐ฑ Cleaner (cleaning utility)
- ๐ฑ Security (security center)
โ ๏ธ Note: Some system applications (e.g. Security) may stop working properly after the pop-ups are turned off.
2. Removal of built-in Xiaomi applications (without root)
Many banners are created by pre-installed Xiaomi services that cannot be removed by standard means, but can be disabled or removed through ADB (without root rights), a more radical method, but one that yields noticeable results.
First, try to disable unnecessary apps manually:
- Go to Settings โ Applications โ Application Management.
- Select an app (e.g. Mi Browser, Mi Video, Mi Music).
- Press "Disable" (if the button is active).
- Confirm the action โ the application will stop working and show ads.
If the "Disable" button is inactive, you will have to use ADB.
- Download and install Platform Tools (the official tool from Google).
- Enable USB debugging on your phone: Settings โ About Phone โ MIUI version (click 7 times to activate Developer Mode), then Settings โ Additional โ Developers โ Debugging over USB.
- Connect your phone to your PC and type in the command line: adb devices (your device should appear).
- Run the command to remove an unnecessary application (example for Mi Browser): adb shell pm uninstall --user 0 com.android.browser
Below is a list of packages that can be safely removed (if you donโt use them):
| Annex | Packet name | Description |
|---|---|---|
| Mi Browser | com.android.browser | Xiaomi browser with advertising |
| Mi Video | com.miui.video | Video player with banners |
| Mi Music | com.miui.player | Music player |
| Cleaner | com.miui.cleanmaster | Cleaning utility with advertising |
| Mi Drop | com.xiaomi.midrop | File sharing (if not required) |
โ ๏ธ Warning: Do not delete system packages called com.android. or com.miui. unless you are sure of their purpose! this may cause your phone to fail. For example, deleting com.miui.securitycenter will cause security errors.
Download Platform Tools from Googleโs official website
Enable debugging over USB on your phone
Connect your phone to your PC and confirm your trusted device
Check the list of packages with the command adb shell pm list packages
Create a backup copy of important data-->
3. Set up background activity restrictions
Many banner ads are created because Xiaomiโs system apps are running in the background and loading data, and limiting their activity will help reduce the number of impressions.
Open Settings โ Applications โ Application Management, select an application (e.g., Security) and:
- ๐ Click "Limit background activity".
- ๐ Disable Auto Start (this will prevent the application from starting when the system starts).
- ๐ In the "Mobile Data" and "Wi-Fi" section, disable background traffic.
Pay particular attention to the following annexes:
- ๐ก๏ธ Security (com.miui.securitycenter) โ Security center, often displays ads in notifications.
- ๐ Analytics (com.miui.analytics) โ collects data for personalized advertising.
- ๐ MSA (com.xiaomi.msa.global โ Xiaomiโs advertising and statistics service.
After limiting background activity, restart your phone. Advertisements will become smaller, but some features (such as automatic garbage cleaning) may not work properly.
๐ก
If important notifications (e.g. updates) have stopped coming after the background activity has been limited, return the settings for system applications to their original state.
4. Use of alternative launchers
Ads in MIUI are often embedded directly into the system launcher (main screen), and replacing it with a third-party one (such as Nova Launcher, Lawnchair or Hyperion Launcher) can completely remove banners on the desktop.
How it works:
- ๐ฑ Download the alternative launcher from Google Play (we recommend Nova Launcher โ it is lightweight and flexible to configure).
- ๐ฑ Set it as the default launcher (when you first start the system will prompt you to choose the default launcher).
- ๐ฑ Customize your appearance โ most alternative launchers do not contain ads.
Advantages of the method:
- โ Complete absence of advertising on the main screen and in the application menu.
- โ Ability to fine-tune the interface (icons, gestures, animations).
- โ No need to interfere with system files.
Disadvantages:
- โ Some chips MIUI (For example, built-in weather or calendar widgets may not work.
- โ Advertising in settings and notifications will remain (launcher does not affect system menus).
How to return the MIUI system launcher?
5. Blocking ads through the hosts file (without root)
One of the most effective ways is to edit the hosts file, which blocks access to ad servers, which doesn't require root, but requires a computer and an ADB.
Instructions:
- Download the ready-made hosts file to block Xiaomi ads (for example, from here).
- Connect the phone to your PC and execute commands: adb shell su -c"mount -o rw,remount /system" su -c"cp /sdcard/hosts /system/etc/hosts" su -c"chmod 644 /system/etc/hosts" su -c"mount -o ro,remount /system" (replace /sdcard/hosts on the way to your file).
- Reboot the phone.
If the su command is not working (no root), use an alternative method via ADB without superuser rights:
adb push hosts /sdcard/
adb shell"su -c'mount -o rw,remount /system' || mount -o rw,remount /system"
adb shell"su -c'cp /sdcard/hosts /system/etc/hosts' || cp /sdcard/hosts /system/etc/hosts"
adb shell"su -c'chmod 644 /system/etc/hosts' || chmod 644 /system/etc/hosts"This method blocks most of Xiaomiโs ad servers, but has limitations:
- ๐ After updating MIUI The hosts file may be reset โ you will have to repeat the procedure.
- ๐ Some apps (such as Mi Browser) may stop opening pages because of redirect blocking.
๐ก
Editing a hosts file is one of the most effective ways to block ads, but it requires caution. Incorrect file access rights can lead to network failures.
6. Disabling Advertising in Specific Applications
Some Xiaomi system utilities (e.g. Security, Cleaner, Mi Video) have their own ad settings. Disabling them will not remove banners completely, but will reduce their number.
Security Center (Security):
Mi Video and Mi Music:
- ๐ต Open the app and go to settings (three dots in the corner).
- ๐ต Find the Advertising or Personalization section".
- ๐ต Disable all options related to ad impressions and recommendations.
Mi Browser:
- ๐ Open the browser, press. โฎ โ Settings โ Additionally.
- ๐ Turn off โPersonalized Newsโ and โRecommended Content".
- ๐ In the Privacy section, disable Interest-Based Advertising".
If the application does not have explicit advertising settings, check the "About the program" section - sometimes there are hidden options to disable banners.
7. Advanced methods: Magisk and custom firmware
If youโre willing to take drastic measures, you can completely remove advertising modules from MIUI with Magisk (root) or switch to custom firmware (like LineageOS or Pixel Experience), which require unlocking the bootloader and can take away warranties, but give you maximum control over the device.
Method 1: Removing advertising modules through Magisk
Method 2: Installation of custom firmware
โ ๏ธ Attention: Unlocking the bootloader resets all data on the phone! Xiaomi can also block the account for 72 hours after unlocking.
Once you install custom firmware, you will lose access to Google Pay services and some banking applications due to the lack of SafetyNet certification.This can be fixed with Magisk modules, but the process requires technical skills.