How to permanently disable ads in Xiaomi Redmi apps: from MIUI 12 to HyperOS

Advertising in Xiaomi Redmi system applications is one of the most annoying features of MIUI firmware (and its successor HyperOS), with banners in Security, Thematic Design, Music and even notification menus appearing unexpectedly, slowing down your smartphone and eating up traffic, which the manufacturer describes as โ€œpersonalized recommendations,โ€ but users perceive as intrusive spam.

In this article, weโ€™ll look at 5 proven ways to disable ads, from standard settings to hidden settings and commands via ADB. All methods have been tested on Redmi Note 10/11/12, Redmi 9/10 and K-series flagships (including the K60 Pro).

If you use Xiaomi with global firmware (MIUI Global), some of the ads can be removed by regular means, owners of Chinese versions (MIUI China) or devices with HyperOS will have to apply advanced methods, which we also described below.

1. disable personalized advertising in MIUI settings

The easiest way is to deactivate the โ€œrecommendationsโ€ in the privacy menu, which works on all versions of MIUI 12-14 and HyperOS, but only removes some of the ads (the banners in the system applications will remain).

Instructions:

  1. Open Settings โ†’ Google โ†’ Advertising (if there is no item, skip the step).
  2. Click Remove the Advertising ID and confirm the action.
  3. Return to the main settings menu and go to Settings โ†’ Privacy โ†’ Special Permissions โ†’ Personalized Advertising.
  4. Turn off the slider Show personalized advertising.

โš ๏ธ Note: After that, ads on Google Play and some third-party apps will disappear, but banners in Mi Browser, Mi Video and Themes will remain.

Disable sync with Mi Account|Create a backup of data |Check the MIUI/HyperOS version |Charge the phone at least 50%-->

2. Hidden MIUI settings: disabling ads via MSA

MIUI System Ads (MSA) is a service that displays banners in system applications, and can be deactivated through a hidden menu, but the path to it varies depending on the firmware version.

For MIUI 12-14 and HyperOS:

  1. Open the Settings app.
  2. In the search bar (lamp in the upper right corner) enter msa.
  3. Choose. msa_global Advertising Services (the name may be different).
  4. Disable all sliders: Personalized recommendations, Advertising ID, Show ads.

If the MSA search doesnโ€™t give results, try an alternative path:

  • ๐Ÿ“ฑ Settings โ†’ The phone. โ†’ Version. MIUI (Tap 7 times to activate the developer mode).
  • ๐Ÿ”ง Back to Settings โ†’ Additionally. โ†’ Special facilities โ†’ Advertising services.
  • ๐Ÿšซ Turn off all available options.

On some models (such as the Redmi Note 12 Pro+), the MSA menu is hidden deeper. If you can't find it through search, use the ADB method in Section 4.

3. Removing Advertising in Specific Xiaomi Apps

Some system applications (Mi Browser, Mi Video, Mi Music) have their own ad settings, and their deactivation does not require developer rights, but only applies to the selected software.

AnnexThe path to settingsWhat to turn off
Mi Browserโ‹ฎ โ†’ Settings โ†’ Additionally. โ†’ Advertising preferencesAll sliders (including personalized news)
Mi VideoProfile โ†’ Settings โ†’ AdvertisingShow recommendations and interesting advertising
TopicsProfile โ†’ Settings โ†’ Advertising preferencesPersonalized advertising and affiliate offers
Securityโš™๏ธ โ†’ Settings โ†’ Privacy โ†’ Advertising servicesShowing Advertising in Notifications

โš ๏ธ Note: Even after the ad is turned off, banners from Google may appear in Mi Browser (if you use the default search). To remove them, change the search engine to DuckDuckGo or Yandex in the browser settings.

Mi Browser|Mi Video|Topics|Security|Other-->

4. Completely disabling ads via ADB (for advanced)

If standard methods donโ€™t work, the most reliable way is to disable advertising services via Android Debug Bridge (ADB), which requires connecting the phone to a PC, but is guaranteed to remove all ads in MIUI/HyperOS.

Step-by-step:

  1. Download ADB Tools and unpack the archive.
  2. Activate Developer Mode (7 taps according to the MIUI version in Settings โ†’ About Phone).
  3. Enable USB debugging in Settings โ†’ Additional โ†’ For developers.
  4. Connect your phone to your PC and execute in the command line (from the folder with ADB):
adb devices


adb shell pm uninstall --user 0 com.miui.systemAdSolution




adb shell pm uninstall --user 0 com.xiaomi.midrop




adb shell pm hide com.android.browser




adb shell settings put global private_dns_mode hostname




adb shell settings put global private_dns_specifier dns.adguard.com

These teams:

  • ๐Ÿ—‘๏ธ Remove the service com.miui.systemAdSolution (responsible for banners in the Internet) MIUI).
  • ๐Ÿ”’ Block Mi Drop (often displays ads when transferring files).
  • ๐ŸŒ Tune in. DNS AdGuard to block advertising domains.

What if the ADB canโ€™t see the device?
Make sure that Xiaomi drivers are installed USB Drivers (download official website) If the phone is not identified, try: 1. Change USB-cable (or original or data support required). 2. Switch the connection mode to File Transfer (MTP) 3. execute the command adb kill-server, then adb start-server.

5. Alternative methods: from root rights to third-party firmware

If none of these methods worked, there are radical measures that are suitable for power users and require unlocking the bootloader or obtaining root rights.

Option 1: Installation of custom firmware

  • ๐Ÿ“ฑ LineageOS or Pixel Experience firmware completely removes all Xiaomi services, including ads.
  • โš ๏ธ Requires unlocking the bootloader (can be done through the official Xiaomi tool).
  • โš ๏ธ The risk of loss of warranty and the โ€œbrickโ€ of the device in case of an error.

Option 2: Using Magisk modules

  • ๐Ÿ›  Disabler for Xiaomi disables advertising services without deleting system files.
  • ๐Ÿ”ง Install Magisk, then download the module from the repository.
  • โšก After installation, restart the phone.

6. Frequent mistakes and how to avoid them

Many users have trouble trying to remove ads, and here are the most common mistakes and solutions:

Problem.Reason.Decision
After the MSA shutdown, the adverts returnedMIUI resets settings after updateRepeat the steps in Section 2 or use ADB
ADB issues an error device unauthorizedNo confirmed access to debugging on the phoneThere will be a request on the phone - allow debugging
Not removed by com.miui.systemAdSolutionApplication protected by systemUse adb shell pm hide instead of uninstall
After the DNS change, the internet is not working.Incorrectly stated DNS addressCheck the command: dns.adguard.com or 1.1.1.1

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 11 Pro)+ 5G) after the advertisement is cut off through ADB push notifications from system applications may stop working:

adb shell cmd appops set com.xiaomi.xmsf ALLOW_RECEIVE_BOOT_COMPLETED

FAQ: Answers to Frequent Questions

โ“ Why After Updating MIUI The commercial reappeared?
In major updates (e.g., from MIUI 13 to MIUI 14), the system restores the standard ad settings. To avoid this: Before updating, back up via Settings โ†’ About Phone โ†’ Backup. After updating, re-run the steps from Section 2 or Section 4 (ADB). If you use HyperOS, ads can come back more often, in which case only ADB or custom firmware will help.
โ“ Can you turn off advertising without a computer?
Yes, but not completely. Without a PC, you can: Turn off personalized ads (section 1). Remove banners in individual apps (section 3). DNS-filtering through apps like AdGuard or Blokada, and completely removing ads (including banners in the notification curtain) requires ADB.
โ“ Will the way to work with ADB HyperOS?
In HyperOS (which replaced MIUI), some ad services are renamed. Instead of com.miui.systemAdSolution, you may need to disable: adb shell pm uninstall --user 0 com.xiaomi.msa.global adb shell pm uninstall --user 0 com.miui.hyperos.ad Before executing commands, check the current packet names through: adb shell pm lists | grep -i ad
โ“ Can I return the ad if something goes wrong?
If system functions (such as themes or cloud storage) have stopped working after the ad has been disabled, restore settings: For ADB: perform adb shell cmd package install-existing com.miui.systemAdSolution. For manual shutdown: return the sliders to the MSA menu or Advertising Services to their original position. If you deleted the system application via pm uninstall, you can only return it via factory reset or flash.
โ“ Why there are fewer ads on global firmware than on Chinese?
Xiaomi is adapting firmware for regions. MIUI Global and EEA (Europe is less advertising because of the: ๐Ÿ“œ Tough demands GDPR (EU data protection law). ๐Ÿ’ฐ Other sources of monetization (partnership agreements with Google, Amazon, etc.). ๐Ÿ›ก Blocking some ad domains at the carrier level (MIUI China) ads 2-3 times more and it is harder to turn off without ADB.

๐Ÿ’ก

The most reliable way to get rid of advertising forever is a combination ADB-teamwork DNS This method works on 90% of Xiaomi Redmi models and does not require root rights.