How to completely disable advertising on Xiaomi Redmi 12 Pro: a step-by-step guide

Xiaomi Redmi 12 Pro smartphones running the proprietary shell MIUI are known for their functionality, but many users are annoyed by the built-in advertising. Banners appear in the settings menu, system applications, and sometimes even on the lock screen. Fortunately, you can turn them off without installing custom firmware or obtaining root rights. In this article, we will analyze all available methods, from standard settings to hidden developer settings.

It's important to understand that MIUI ads come in two types: personalized (based on your actions) and system-based (implemented in firmware). The first type can be turned off through privacy settings, and the second one has to be tinkered with. We'll look at both options, including the little-known tricks for the Redmi 12 Pro with MIUI 14/15.

If you’ve just purchased a smartphone or upgraded your firmware, ads can appear even where they didn’t exist before, due to Xiaomi’s policy of periodically changing the ad algorithms, our instructions are current for the latest software and are tested on Redmi 12 Pro with global and Chinese firmware.

1. disable personalized advertising in MIUI settings

The first step is to stop Xiaomi from collecting your preferences, which won't take away all the ads, but it will significantly reduce the number of banners targeted.

  1. Open Settings β†’ Google β†’ Advertising (if this item is missing, skip the step).
  2. Click Remove the Advertising ID and confirm the action.
  3. Go back to your basic settings and go to Settings β†’ Privacy β†’ Special Permissions β†’ Personalized Advertising.
  4. Turn off the slider Personalized recommendations.

These actions will block data collection for targeted advertising, but system banners (such as Security or Themes) will remain.

πŸ“Š Where you are most annoyed by advertising MIUI?
In the settings
On the lock screen
In the annex β€œThemes”
In system utilities
Everywhere equally

⚠️ Note: After you turn off personalized ads, some Xiaomi services (such as Mi Video or Mi Browser) may start showing irrelevant banners in English or Chinese, because the system stops filtering content by region.

2. Removal of advertising in system applications

The most intrusive banners appear in the standard utilities: Security, Themes, Calendar and Weather, to remove them:

  • πŸ“± Security App: Go to Settings β†’ Annexes β†’ Application management β†’ Security β†’ Notifications and disable notifications, and tap the icon on the app itself. βš™οΈ in the upper right corner and turn off the recommendations.
  • 🎨 Themes app: Open it, click on the profile avatar β†’ Settings β†’ Recommendations and deactivate all sliders. For reliability, clear the app cache in Settings β†’ Annexes.
  • πŸ—“οΈ Calendar and Weather: In the settings of each application, find Advertising Notices or Affiliate Content and turn it off.

On the Redmi 12 Pro with MIUI 15 firmware, a new type of advertising appeared in the Themes app - banners with an offer to buy a premium account. These can only be removed by turning off the Internet for the application (see the next section).

Disable notifications in "Security"|Delete the recommendations in the β€œTemes"|Clear the cache of all system utilities|Ban background activity for "Mi Video"-->

3. Blocking the Internet for advertising services

Many system banners are downloaded through special domains Xiaomi, and can be blocked at the network level:

  1. Install the NetGuard app (free, no root) or Blokada.
  2. Add the following hosts to the blacklist: ad.mi.com tracker.ai.xiaomi.com data.mistat.xiaomi.com sdkconfig.ad.xiaomi.com e.ad.xiaomi.com
  3. Activate the lock for all applications except the browser and instant messengers.

This method is effective against 90% of system advertising, but can disrupt some services (for example, synchronization Mi Account).If after blocking the weather or calendar stopped updating, add domains to the exceptions.

domainAppointmentCan we block it?
ad.mi.comMain advertising serverYes.
sdkconfig.ad.xiaomi.comConfiguration of advertising SDKsYes.
api.brs.intl.miui.comRecommendations serviceYes (but widgets may be missing)
time.api.miui.comSynchronization of timeNo.

πŸ’‘

If the weather widgets stopped working after blocking the domains, add global.msa.miui.com to the exceptions - it is responsible for geolocation services.

4. Hidden MIUI settings for power users

MIUI has hidden parameters that allow you to turn off ads at the system level.

  1. Turn on Developer Mode: Go to Settings β†’ About Phone and tap the MIUI version 7 times.
  2. Go back to Settings β†’ More β†’ For developers and find the Debugging by USB (enable it).
  3. Connect your phone to your PC and execute the command: adb shell settings put global hidden_api_policy 1
  4. Install the MIUI Hidden Settings app (available on 4PDA) and turn off all sliders in the Ads section.

This method removes even banners that are not removed by standard methods (for example, ads in Downloads or Settings). SIM-However, after updating the firmware settings may reset.

What to do after ADB-The phone stopped seeing the PC?
If, after the execution, ADB-commands the device is no longer determined by the computer, check: 1. Is the mode File transfer enabled when connecting to the USB. 2. Are Xiaomi drivers installed (you can download from the official website). 3. Does the antivirus block the connection (addb.exe as an exception). If the problem persists, follow the command adb kill-server and reconnect the device.

5. Alternative methods: from custom firmware to physical locking

If none of the above methods have helped, radical measures remain:

  • πŸ”§ Installation of custom firmware: firmware on the basis AOSP (LineageOS or Pixel Experience remove ads completely, but require unlocking the bootloader and may take away warranties.
  • πŸ›‘οΈ Use of the DNS-Filters: Set up a Private DNS In Settings β†’ Connections β†’ Private DNS dns.adguard.com. This will block some of the ads at the network level.
  • πŸ“΅ Physical lock: In extreme cases, you can turn off the Internet for all system applications through Settings β†’ Annexes β†’ Permits β†’ Mobile data, but it will disrupt many functions.

Custom firmware is the most reliable way, but it is only suitable for advanced users, and for beginners it is better to limit yourself to blocking domains and turning off personalized advertising.

⚠️ Warning: Unlocking the bootloader on the Redmi 12 Pro resets all data and requires you to link your Mi Account to the device.If you forget your account password, the phone will turn into a brick after you reset.

πŸ’‘

Blocking advertising domains through NetGuard or changing the DNS is the safest way to do so, without root rights and without violating the warranty.

6. Frequent mistakes and how to avoid them

Many users make common mistakes when trying to remove ads:

  • ❌ Disabling all notifications: This causes you to stop receiving important alerts (such as low battery charge.
  • ❌ Remove System Applications Without Root: Even if you turn off Security or Themes through Settings β†’ Apps, they will recover after the reboot.
  • ❌ Use of cleaners: Applications like Clean Master or DU Speed Booster not only does not remove advertising, but can also show its own.

If after all the manipulations, the advertisement continues to appear, check:

  1. Do you have pirated apps installed (they often contain hidden ads)?
  2. Are you connected to public Wi-Fi (some networks are running ads)?
  3. Has the firmware been updated (after the update, the settings may be reset).
Can I turn off the ads on the lock screen?
Yes, but it depends on the type of banners: If it is an advertisement from MIUI (For example, the suggestion to install the application, it can be removed in Settings. β†’ Lock screen β†’ Additionally. β†’ If it's an advertisement from an operator, it's blocked through SIM-Menu (Type ##4636## and select Phone Information) β†’ Disable the operator's advertising. Some firmware may not have these points, in which case only blocking domains through NetGuard will help.
Why did the ads reappear after the reset?
When resetting to factory settings, all changes to system files (including ad blocking) are removed. To avoid this: Save a list of blocked domains (for example, take a picture of the NetGuard screen). After reset, immediately repeat all the steps to disable the ad. Use Settings Backup β†’ Additional Backup β†’ (but don’t restore system applications!).
Is it safe to use ADB to remove ads?
Yes, if you follow proven instructions.Adb shell pm uninstall commands -k --user 0 com.miui.analytics only remove unnecessary services and do not disrupt the system. However: Do not remove applications called com.android. or com.qualcomm. - this can cause crashes. ADB Make a backup of the data. On some firmware, Xiaomi is blocking ADB-commands - in this case, only unlocking the loader will help.
How to check if the ad blocker works?
To make sure that the ads are actually turned off: Open Settings β†’ About β†’ MIUI version and tap it several times. If there are no banners suggesting you upgrade, the lock works. Run the Themes app and check if there are banners at the bottom of the screen. Try connecting to Wi-Fi in a public place (for example, in a cafe). If there are no pop-ups with ads, the domains are locked correctly. If the banners still appear, check the logs in NetGuard or repeat the settings.
Can I return the ad if something goes wrong?
Yes, all changes are reversible: To return personalized ads, include them in Settings β†’ Privacy β†’ Personalized advertising. To unlock domains, remove them from the NetGuard blacklist. If you have removed system applications through the NetGuard system ADB, Restore them with the command adb shell cmd package install-existing com.miui.analytics (replace the name with the desired one). β†’ The phone. β†’ Resetting settings.