How to permanently remove ads from the screen of Xiaomi phone: a step-by-step guide

Advertising in Xiaomi, Redmi and POCO smartphones has become one of the most talked-about issues among brand users. Even after buying a device, many face intrusive banners in system applications, notifications and on the desktop. The reason lies in the MIUI branded shell, which integrates advertising modules for monetization by default. In this article, we will discuss 7 working ways to completely or partially remove ads from your phone screen – from standard settings to hidden features for power users.

It is important to understand that the methods differ depending on the version of MIUI (global, Chinese, European) and the firmware region. For example, in Xiaomi 13 Pro with MIUI 14, the path to disabling advertising in Settings β†’ Memory may differ from the same section in Redmi Note 10 on MIUI 12.5. We took these nuances into account and prepared universal instructions that are relevant to most models of 2020-2026. If you use a device with custom firmware (for example, LineageOS or Pixel Experience), there is no advertising there initially – the problem is typical only for official Xiaomi software.

Before you start, check your firmware version: go to Settings β†’ About Phone β†’ MIUI version. This will help you follow the instructions more accurately. Also note that some methods require you to restart your device or temporarily shut down the Internet – save important data in advance.

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Redmi 10/11
Another model

1. disable personalized advertising in MIUI settings

The easiest and safest way to reduce the amount of ads is to deactivate personalized recommendations, which does not remove banners completely, but significantly reduces their appearance in system applications like Security, Themes or Music.

Instructions:

  • πŸ“± Open the Settings. β†’ Google β†’ Advertising (if no item, skip the step).
  • πŸ”„ Switch the switch toggle β€œSwitch off personalized advertising” in the active position.
  • πŸ“΅ Go back to the main settings and select Settings. β†’ Annexes β†’ Application management β†’ Settings (βš™οΈ) β†’ Advertising.
  • 🚫 Turn off the β€œPersonalized Recommendations” option and confirm the action.

This method works on all versions of MIUI, but in Chinese firmware, the path may differ. For example, in Xiaomi Mi 11 Ultra with the Chinese version of the software, the Advertising item is hidden in Settings β†’ Additional.

⚠️ Note: After personalization is disabled, advertising will become less targeted, but it will not disappear completely. In some regions (for example, India), this method may not work due to the peculiarities of local versions. MIUI.

2. Manual disabling of advertising in system applications

Many of Xiaomi’s standard apps (e.g. Security, Themes, Music) have built-in ad modules that can be turned off individually for each application, which takes longer, but produces noticeable results.

Examples of apps with advertising and ways to disable them:

AnnexThe path to settingsOption to shut down
SecuritySettings (βš™οΈ) β†’ RecommendationsDisable recommendations
TopicsProfile β†’ Settings β†’ AdvertisingDisable personalized advertising
Music.Settings β†’ AdditionalDisable recommendations
Weather.Settings β†’ NotificationsDisable advertising notifications

The path may be different for the Gallery app: in some versions of MIUI 13/14, ads are turned off via Settings β†’ Lab β†’ Recommendations. If there is no option, then there is no advertising in your gallery in your firmware.

Open each system application on the list |

Find the "Settings" or "Recommendations" section |

Turn off all toggles associated with advertising |

Reboot your phone to apply changes-->

⚠️ Warning: Security (or Security in global versions) may lose the virus scanning feature after disabling the ad. To return it, reinstall the app via Settings β†’ Annexes β†’ Application management β†’ Security β†’ Remove updates.

3.Using the hidden msa menu for global shutdown

MIUI firmware has a hidden msa (Miui System Ads) menu that is responsible for displaying system ads, and disabling the settings in this menu removes banners from notifications, desktop and some system applications, a method that works on most devices, but requires care.

Step-by-step:

  1. Open the phone app and enter the combination: ##672###
  2. In the msa menu that appears, select Disable MSA (may be called Disable Advertising in Russified versions).
  3. Confirm the action and restart the phone.

If the combination does not work, try an alternative method:

  • πŸ”§ Install Activity Launcher from Google Play.
  • πŸ” In search, type in msa and select com.miui.msa.global.
  • πŸ”„ Click Disable to turn off the service.

After disabling msa, ads will disappear from notifications and system windows, but may remain in applications like Theme or Music – they need to be customized separately.

πŸ’‘

If nothing happens after entering the #672##, try using the Secret Codes app from Google Play.It automatically finds all hidden menus for your Xiaomi model.

4. Removal of Advertising through ADB (for Power Users)

The Android Debug Bridge (ADB) method allows you to permanently remove ad modules from the system without requiring root rights.This is the most radical way, but it requires connecting the phone to a computer and basic command line knowledge.

What you need:

  • πŸ’» A computer with installed Xiaomi drivers and ADB (You can download from the official Android website).
  • πŸ“± Included debugging by USB on the phone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times press "Version" MIUIΒ», Then go back to the settings. β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-cable (preferably original).

Commands for entering into ADB (alternately):

adb shell pm uninstall --user 0 com.miui.msa.global


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




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




adb shell pm hide com.android.browser

These commands are deleted:

  • πŸ“’ com.miui.msa.global – System Advertising in Notifications.
  • πŸ›’ com.xiaomi.market – GetApps app (Xiaomi store with ads).
  • 🌐 com.android.browser – standard browser with banners.

⚠️ Note: Removing system applications through ADB This can cause the phone to work unstable. Before executing commands, make a backup through Settings. β†’ Additionally. β†’ Backup and reset: If errors occur after deletion, return applications by command: adb shell cmd package install-existing com.miui.msa.global

5. Reset Advertising Settings via MIUI Optimization

In some versions of MIUI (especially in China), the ad is managed by MIUI Optimization, which can remove banners but also affect system performance, and is recommended only if other methods have not worked.

Instructions:

  1. Install ADB (as in the previous section) and connect the phone.
  2. Enter the command: adb shell pm disable-user --user 0 com.miui.optimization
  3. Reset the device.

After disabling MIUI Optimization:

  • βœ… Advertising in Settings and Security will disappear.
  • ⚠️ Some animations and battery optimization features may be missing.
  • πŸ”„ To return to standard settings, use the command: adb shell pm enable com.miui.optimization
What happens if you turn off MIUI Optimization?
Disabling this service removes not only advertising, but also some system optimizations. Possible consequences: - Increased battery charging time. - Loss of smooth animations when opening applications. - Errors in the operation of some functions (for example, Game Turbo). - In rare cases, overheating of the processor due to the absence of restrictions on background processes. If after the disconnection the phone becomes worse, return the settings with the adb shell pm enable com.miui.optimization command and try other methods from this article.

6. Installation of custom firmware (for advanced users)

If none of the methods worked, the radical solution is to install custom firmware without advertising.

  • πŸ“± Pixel Experience – pure Android with Google Services support.
  • πŸ”„ LineageOS - stable firmware with minimalist interface.
  • πŸš€ Xiaomi.eu – modified version MIUI Advertising-free and Chinese-based.

Advantages of custom firmware:

  • 🚫 Complete lack of advertising in the system.
  • ⚑ Higher performance (no background advertising processes).
  • πŸ”„ Regular security updates.

Disadvantages:

  • ⚠️ Loss of warranty (if the phone is under warranty).
  • πŸ”§ Installation difficulty (bootloader unlock and knowledge required) TWRP).
  • πŸ“΅ Possible bugs (e.g., non-functioning) NFC camera).

If you’re considering this, follow the official guides on the XDA Developers or 4PDA forums. Check if your model is supported first, for example, the Pixel Experience is good for the POCO X3 Pro, and LineageOS 20 is good for the Redmi Note 10 Pro.

πŸ’‘

Installing custom firmware is the only way to permanently get rid of advertising in MIUI, but it is only suitable for advanced users. For beginners, we recommend the methods from sections 1-3.

7. Alternative methods: blockers and VPNs

If system methods don't work, you can use third-party tools to block ads, which don't remove banners completely, but make them invisible.

Popular solutions:

  • πŸ›‘οΈ Blokada – Blocker of Advertising at the Level DNS (no root).
  • 🌍 AdGuard – Creates a Local VPN, filtering.
  • πŸ”’ DNS66 β€” Open source software to block advertising domains.

How to set up AdGuard:

  1. Download the app from Google Play or from the official website.
  2. Turn on the protection in the main menu.
  3. Go to Settings β†’ Filters β†’ Advertising and activate all available listings.
  4. Add a custom rule to block Xiaomi domains: ||ad.mi.com^ ||tracker.ai.xiaomi.com^

These apps block ads not only in the MIUI, But they can also be in conflict with some banking applications (e.g. Sberbank Online or Tinkoff) because they detect VPN-linkage.

⚠️ Note: Ad blockers like AdGuard or Blokada consume an extra battery because they work through a system. VPN. If you notice a quick discharge, turn them off or add exceptions for frequently used apps.

FAQ: Frequent questions about Xiaomi advertising

❓ Why After Updating MIUI The commercial reappeared?
When you update your firmware, some settings are reset, including the ads that are disabled. After the update: Check the settings in msa (section 3). Turn off personalized ads again (section 1). If you use ADB, repeat commands (section 4). MIUI 14 adds Resets after the update - turn it on to Settings β†’ Additional β†’ Backup.
❓ Can you remove advertising without a computer?
Yes, most of the methods in this article don't require a PC: Disable personalization (section 1); Manual disable in applications (section 2); Hidden menu msa (section 3 if code is running); Adblockers like AdGuard (section 7). Only ADB and custom firmware require a computer.
❓ Why in the Chinese version MIUI more advertising?
Chinese firmware (China ROM) contains more advertising modules, as they are focused on the domestic market, where monetization through advertising is more aggressive. Global and European versions (Global/EU ROM) have fewer banners, but they are not completely rid of them. If you have Chinese firmware, we recommend: Reflash your phone to Global ROM (officially through the Mi Flash Tool). Use ADB to remove advertising packages (section 4). Install Xiaomi.eu - unofficial firmware without advertising.
❓ Will Google Pay work after the ad is turned off?
Yes, disabling ads does not affect the performance of Google Pay, NFC or banking applications. Exception: If you have removed system applications through ADB (section 4), some features (such as Mi Pay) may stop working. Adblockers like AdGuard sometimes conflict with banking applications over VPNs - in this case add the application as exceptions. Google Pay is stable enough methods from sections 1-3.
❓ How to return ads if something goes wrong?
If, after the manipulation of the settings, or ADB The phone is not working properly, restore the standard parameters: ADB: Use the adb shell cmd package install-existing com.miui.msa.global (section 4). For the hidden msa menu, re-enter the code ##672## and select "Enable" MSAΒ». To reset all settings: Settings β†’ Additionally. β†’ Backup and reset β†’ Reset settings (data will not be deleted). If the problem is serious (for example, the phone does not turn on), perform a hard reset via Recovery Mode (press the Power). + Volume Up with the device switched off).