Advertising in smartphones Xiaomi, Redmi and POCO It was one of the most annoying features of the firmware. MIUI. Even after buying the device, users are faced with banners in the settings menu, notifications from system applications and intrusive advertising in branded services. The manufacturer explains this by βpersonalized offersβ, but in practice it looks like aggressive marketing that interferes with the comfortable use of the phone.
In this article, weβll look at all the ways you can disable ads, from standard settings to deep system changes, how to remove banners in Security, Themes, Music, and other apps, and how to permanently block impressions through the Internet. ADB and modification of system files. MIUI 12/13/14 Newer versions, including global and Chinese firmware.
Some methods require superuser rights or system files to be changed, which can lead to a loss of warranty.If you are not sure about your actions, use only the safe ways in the first sections.
1. Standard settings MIUI: What can be turned off without risk
To start with, the built-in options that Xiaomi officially allows to be changed are not root-rights or warranty-breaking, but their effectiveness depends on the firmware version and the region of the device.
The first thing you need to do is turn off personalized ads on your Mi Account, which will reduce the number of banners targeted, but will not eliminate them completely:
- π± Open the Settings. β Xiaomi account β Mi Account
- π Find Advertising Personalization (or Advertising Preferences)
- π Turn off the slider Personalized advertising
- ποΈ Click Reset Advertising ID (if there is such a clause)
Next, we move on to the settings of individual applications. the most "advertising" services Xiaomi:
- π΅ Music β Turn off the Recommendations in the app settings
- π± Topics - Ban impressions in Settings β Topics β Promotional notices
- π‘οΈ Security β Turn off Advertising Notifications in the Cleanup section
- π Mi Browser β Ban personalized content in your browser settings
β οΈ Note: On Chinese firmware (China) ROM) Many menu items may be missing or hidden, in which case move on to the next sections with more radical methods.
2. Hidden settings MIUI: How to Find and Disable Advertising Modules
Xiaomi hides some of the settings that drive ad impressions in special menus for developers or through secret combinations, settings that are not officially documented, but work on most devices.
The most effective way is to disable the mobile services analytics (MSA), which is responsible for collecting data and displaying personalized advertising.
- Open the phone app and enter the combination: ##4636##
- In the menu that appears, select Phone Information (or Usage Statistics)
- Find the msa string and click on it.
- Turn off all sliders related to analytics and advertising
Another hidden section β Advertising settings ID. To get there:
- π§ Go to Settings. β The phone.
- π 5 times tap on the line version MIUI, activate the developer mode
- π Return to the main settings menu and open additionally β Special facilities β Advertising ID
- π Turn off Advertising Personalization and Reset ID
On some firmware (MIUI 13+) These items can be hidden deeper. If you don't find them, try searching by settings (the magnifier icon in the upper right corner).
What is msa and why should it be turned off?
3. ADB-Teams: Radical Disconnection of Advertising Without Root
If standard methods donβt work, the next step is to use Android Debug Bridge (ADB). This method does not require root rights, but will require connecting the phone to the computer and enabling debugging. USB.
The advantage of the method: you completely block the ability to display ads at the system level, without violating the integrity of the firmware. MIUI repeat the procedure.
Instructions:
- π₯οΈ Install. ADB Fastboot Tools on the computer
- π± On the phone, activate the Developer Mode (5 taps according to the version) MIUI phone)
- π Connect your phone to your PC and select File Transfer Mode
- π In the command line (Windows) or terminal (Mac/Linux) execute:
adb shell
pm uninstall --user 0 com.miui.systemAdSolution
pm uninstall --user 0 com.xiaomi.midrop
pm uninstall --user 0 com.android.browser
pm hide com.miui.analyticThese commands remove or disable the main ad modules. Add more to the full effect:
settings put global captive_portal_detection_enabled 0
settings put global captive_portal_server falseOnce done, restart your phone. Advertisements should disappear from:
- π± Settings menu (banners at the top)
- π Security applications
- π¨ Annexes Topics
- π° Weather and calendar widgets
β οΈ Note: On some devices (POCO F3, Redmi Note 10 Pro) pm hide may not work. In this case, use the alternative: pm disable-user --user 0 packet.
Install ADB PC-only|Enable debugging on USB phone-on|Connect the phone in file transfer mode|Check the connection with the team `adb devices`|Make a backup copy of the data-->
Modification of system files: for advanced users
If you're willing to take more radical measures and have experience with root rights or custom firmware, you can completely remove the ad modules from the system, which is 100% effective, but you need to be careful.
The most reliable way is to remove APK-Advertising service files via root-access file manager (e.g. Root Explorer or Mixplorer:
| Annex/Service | The path to APK | What's he doing? |
|---|---|---|
| SystemAdSolution | /system/priv-app/SystemAdSolution | The main module of advertising display in MIUI |
| AnalyticsCore | /system/app/AnalyticsCore | Statistics collection and advertising personalization |
| MiuiDaemon | /system/bin/miui_daemon | Background process that manages advertising notifications |
| Msa | /system/priv-app/Msa | Analytics and Targeted Advertising |
Deletion procedure:
- Make a backup copy of the system through TWRP Or OrangeFox.
- Open a file manager with root access
- Follow these paths and delete folders from APK-file
- Clear the cache in /data/data/ bound-package
- Reset the device
For devices with a locked bootloader, an alternative method is to replace files with blank stubs, such as creating an empty file. SystemAdSolution.apk It's going to prevent the system from crashing, but it's going to completely shut down the ad module.
β οΈ Attention: Removal of system APK This can cause the firmware to work unstable on some devices (Xiaomi). 12T, Redmi K50) This causes problems with updates. OTA. Before experimenting, check compatibility on forums. 4PDA or XDA-Developers.
5.Castom firmware: the final solution to the problem
If you are ready to abandon the official firmware, switch to custom MIUI or AOSP β The most reliable way to get rid of advertising forever:
- π± Xiaomi.eu β modified MIUI Advertising-free and Chinese-based
- π€ LineageOS β pure Android without unnecessary modules
- π₯ PixelExperience β firmware with interface from Google Pixel
- β‘ ArrowOS β Lightweight and optimized build AOSP
Advantages of custom firmware:
- π« Total absence of advertising at the system level
- π Regular security updates
- β‘ Improved performance (no background Xiaomi processes)
- π¨ Ability to fine-tune the interface
Disadvantages:
- β οΈ Loss of official guarantee
- π The need to unlock the bootloader (bootloader)
- π± Risk of "bricking" if installed incorrectly
- π Possible problems with the camera or sensors (on some models)
Instructions for installing Xiaomi.eu (on the example of Redmi Note 11 Pro)+):
- Unlock bootloader through the official tool Xiaomi
- Install TWRP Recovery for your model
- Download the latest version of Xiaomi.eu from the official website
- Boot in. TWRP And make a full backup.
- Flip the firmware through Install β Select ZIP
- Clean it up. Dalvik/ART Cache and reboot.
π‘
Before installing custom firmware, check compatibility with your model on the forum 4PDA. Certain devices (e.g, POCO X3 NFC) have separate builds for the global and Indian versions.
6. Alternative methods: blocking through DNS firewall
If you don't want to interfere with system files, you can block Xiaomi's ad servers at the network level.
- π Change of change DNS β Redirecting requests to advertising domains to βnowhere"
- π₯ Firewall β blocking network activity of advertising applications
- π‘οΈ VPN with traffic filtering, such as AdGuard or Blokada
Method 1: Blocking through DNS
Use public DNS-ad-filtering servers:
- 1.1.1.3 β Cloudflare (blocks malicious websites and ads)
- 94.140.14.14 β AdGuard DNS
- 176.103.130.130 β Control D (with lock settings)
To change the DNS to Xiaomi:
- Open the Settings. β Connections and sharing β Private DNS
- Select the host name of the private DNS provider
- Enter dns.adguard.com or another address from the list
Method 2: Firewall through ADB
With help. ADB Internet access for advertising applications can be blocked:
adb shell cmd appops set com.miui.systemAdSolution android:data_network_access deny
adb shell cmd appops set com.xiaomi.midrop android:data_network_access deny
adb shell cmd appops set com.android.browser android:data_network_access denyMethod 3: Blocking applications
Install one of these applications (permission is required) VPN):
- π‘οΈ AdGuard β Blocks Advertising at Level DNS and HTTP
- π₯ Blokada β open blocker without registration
- π« NetGuard β Firewall with manual configuration
π‘
Network-level blocking (DNS/firewall) β The only way to disable ads in apps that cannot be modified (e.g. Mi Browser or Mi Video).
7. Frequent problems and their solutions
Even after all these methods have been applied, advertising can continue to appear, and let's look at typical situations and ways to fix them.
| Problem. | Possible cause | Decision |
|---|---|---|
| Advertising returns after MIUI update | System applications are being restored | Repeat. ADB-Install the Magisk module or install the Magisk module Disable_Miui_Ads |
| Banners in Settings don't disappear | Not all advertising packages are disabled | Check the list through the pm list packages | grep miui and remove the extras |
| Apps stain after removal APK | Critical system component removed | Restore the file from the backup or reflash the firmware |
| Push notifications are not working. | Blocked Mi Push Service | Allow access in battery settings for com.xiaomi.xmsf |
If the advertisement appears in a particular app:
- Open Settings β Applications β Application Management
- Find a problem app (such as Topics or Music)
- Turn off notifications and auto-start
- Clear the cache and app data
If after all the manipulations, the advertising remains:
- π Check if third-party launchers or widgets with ads are installed
- π± Install an alternative launcher (e.g. Nova Launcher)
- π‘οΈ Use AdGuard in Local Mode VPN
- π Reset your phone to factory settings and repeat the instructions