How to completely remove ads on Xiaomi Redmi 9: from system banners to push notifications

Xiaomi Redmi 9 smartphones have become one of the most popular budget devices due to a combination of performance and price. However, many users face intrusive advertising that appears in the settings menu, on the lock screen, in system applications and even in push notifications. This problem is associated with the MIUI proprietary shell, which integrates advertising modules for monetization by default.

Unlike flagship models, where ads can be turned off through Mi Account settings, Redmi 9 (especially in global and Chinese versions of firmware) requires more profound manipulation. In this article, we will discuss 5 working methods β€” from standard settings to root rights and custom firmware β€” that will help get rid of ads forever. It is important to understand that some methods can affect the warranty or stability of the device, so we will describe in detail the risks and alternatives.

If you're willing to spend 10 to 15 minutes setting up, most banner ads will disappear after the first three steps. Complete removal of all ad modules (including hidden services) will require root rights or firmware reflashing, starting with the safest and easiest solutions.

1. Disabling personalized advertising in MIUI

The first step is to deactivate system advertising services through MIUI settings, which does not require root rights and is suitable for all firmware versions (from MIUI 12 to MIUI 14), but it only removes some of the ads, such as banners in the settings menu and some push notifications.

Instructions:

  • πŸ“± Open the Settings. β†’ Mi Account (if not authorized, sign in or create an account).
  • πŸ” Go to Mi Account. β†’ Account settings β†’ Personalization of advertising.
  • 🚫 Turn off the slider Personalized recommendations (or Advertising preferences in new versions).
  • πŸ”„ Restart the device to make the changes effective.

This method removes ads based on your data (such as in Weather, Themes or Mi Browser).

  • πŸ“’ System notifications from Xiaomi (e.g., new features).
  • 🎯 Advertising in standard applications (Music, Video).
  • πŸ“± Banners on the lock screen (if enabled in your firmware).

⚠️ Note: Some regional versions of Redmi 9 (e.g., Indian or Chinese) may not have Ad Personalization.

πŸ“Š Which advertisements annoy you the most?
Banners in settings
Push notifications
Advertising in annexes
Advertising on the lock screen
All of the above.

2. Blocking Advertising through Application Settings

Many MIUI system applications (e.g. Themes, Browser, Music) have built-in advertising modules that can be turned off individually, but you need to know where to look.

List of applications with advertising and how to remove it:

AnnexThe path to settingsWhat to turn off
TopicsSettings β†’ Topics β†’ βš™οΈ β†’ RecommendationsDisable Displaying Recommendations
Mi browserbrowser β†’ βš™οΈ β†’ Additionally. β†’ AdvertisingDisable Personalized Advertising and Push Notifications
Music.Music. β†’ Profile β†’ βš™οΈ β†’ SettingsDisable Recommendations on the main screen
VideoVideo β†’ Profile β†’ βš™οΈ β†’ NotificationsDisable Advertising Notices
Weather.Weather. β†’ βš™οΈ β†’ NotificationsDisable Sponsored Content

After disabling these options, the ads in these apps will disappear, but banners may remain in Settings and on the lock screen, and some applications (for example, Mi Video) can reset settings after the update – they will have to be reconfigured.

Recommendations in β€œTemes” are disabled"|Personalized advertising is disabled in the Mi Browser"|Disabled notifications in β€œMusic” and β€œVideo"|Weather settings checked"-->

3.Use of ADB-commands for deep disabling advertising

If previous methods didn’t work, you can use ADB (Android Debug Bridge), a tool for debugging Android devices, which does not require root rights, but requires connecting the smartphone to a computer.

Step-by-step:

  1. πŸ’» Install. ADB Fastboot Tools on PC (Windows, macOS or Linux).
  2. πŸ“± On Redmi 9, turn on Developer Mode: Go to Settings β†’ The phone. β†’ Version. MIUI and tap 7 times on this item.
  3. πŸ”§ Back to Settings β†’ Additionally. β†’ For developers and enable debugging by USB.
  4. πŸ–₯️ Connect your phone to your PC, open the command line (or Terminal) and enter:
adb devices

(Your device should appear. If not, install Xiaomi USB Drivers.)

adb shell pm disable-user --user 0 com.miui.systemAdSolution
adb shell pm disable-user --user 0 com.android.browser
adb shell pm disable-user --user 0 com.miui.analytics

These commands are off:

  • 🎯 Main advertising module com.miui.systemAdSolution.
  • 🌐 Built-in browser com.android.browser (if not used).
  • πŸ“Š com.miui.analytics analytics service that collects data for targeted advertising.

⚠️ Note: Disabling com.miui.analytics may cause some system functions to malfunction (e.g., battery optimization).If you notice problems, return the application with the command: adb shell pm enable com.miui.analytics

πŸ’‘

If, after the execution, ADB-Commands will return after the reboot, add tasks to the scheduler (for example, through the MacroDroid app) so that commands are executed automatically when the phone is turned on.

4. Removal of advertising through root rights

Root rights are required to remove all ad modules completely, a method that is suitable for power users, as improper actions can lead to a device blink (inoperability). On Redmi 9, root can be obtained through unlocking the bootloader and installing Magisk.

Steps to remove advertising:

  1. πŸ”“ Unlock the bootloader through the official Xiaomi tool (requires a Mi Account and wait 7-15 days).
  2. πŸ“± Install. TWRP Recovery and scroll Magisk to get root.
  3. πŸ› οΈ Use Root Explorer or Titanium Backup to remove the following system packs:
/system/app/MSA (com.miui.systemAdSolution)


/system/priv-app/Analytics (com.miui.analytics)




/system/priv-app/Browser (com.android.browser)




/system/app/MiuiDaemon (com.miui.daemon)




/system/app/HybridAccessory (com.xiaomi.hybrid)




/system/app/HybridPlatform (com.xiaomi.hybrid.platform)

After the packets have been removed:

  • βœ… Disappear ads in Settings, on the lock screen and in push notifications.
  • βœ… Some system services will stop working (for example, Mi Cloud may give out errors).
  • ❌ Updates MIUI through OTA It will be impossible (you will have to hand-write it).
What if after removing the system packets, the phone stopped turning on?
If the device does not boot after deleting system files, try: 1. Go to TWRP Recovery (press Power + Volume Up). 2. Restore backup (if you did a backup before the changes). 3. Refuse the original firmware through Fastboot using Mi Flash Tool. If it does not help - contact the service center (but the warranty will be lost).

5. Installation of custom firmware without advertising

The most radical, but also the most effective way is to install alternative firmware, such as LineageOS, Pixel Experience or Xiaomi.eu. The latter is a modified version of MIUI without advertising and Chinese services, but with support for all the features of Redmi 9.

Benefits of Xiaomi.eu:

  • πŸš€ Total lack of advertising (including hidden modules).
  • πŸ“± Optimized performance and advanced settings.
  • πŸ”„ Regular updates (weekly builds).

Disadvantages:

  • ⚠️ Requires an unlocked bootloader (the warranty is lost).
  • πŸ”‹ Possible bugs (for example, non-functioning) NFC or camera problems).
  • πŸ“΄ No official support (updates are manually installed).

Instructions for installing Xiaomi.eu:

  1. Download the latest firmware version for Redmi 9 (codename Lancelot) from the official website.
  2. Download TWRP Recovery for your model (e.g. here).
  3. Install TWRP via fastboot flash recovery twrp.img.
  4. Boot to TWRP, back up your current firmware and stream Xiaomi.eu through Install.

πŸ’‘

Installing custom firmware is the only way to get rid of advertising forever, but it requires technical skills and lacks guarantees. If you are not confident in your abilities, use methods 1-3.

Alternative methods: blockers and DNS

If root rights and ADB seem too complex, you can try software solutions that don't remove ads completely, but they reduce ad count significantly.

Ways:

  • πŸ›‘οΈ Adblockers: Apps like Blokada or AdGuard can filter ads at the level of the user’s search engine. DNS. Install them from F-Droid (no root work is limited).
  • 🌐 Change of change DNS: In the settings of Wi-Fi or mobile network specify DNS-Cloudflare servers 1.1.1.1 or 94.140.14.14 DNS). This blocks some of the advertising domains.
  • πŸ“± Replacement of system applications: Install alternatives instead of standard ones (Google Chrome instead of Mi Browser, VLC video).

Limitations:

  • 🚫 System banners are not blocked in Settings.
  • πŸ”„ Can slow down the internet connection (due to traffic filtering).
  • πŸ“΅ Some apps (such as Topics) will still show ads.

FAQ: Frequent questions about removing ads on Redmi 9

❓ Why does it appear again after the ad is turned off in the settings?
This is due to automatic updates to system applications (such as MSA or MiuiDaemon) to avoid this: Disable auto-update for system applications on Google Play. Use ADB to permanently disable ad packages (see Section 3).
❓ Can you remove advertising without rooting and ADB?
Yes, but not completely. A combination of methods 1 and 2 (disabling settings + blockers like AdGuard) will reduce the amount of advertising by 70-80%, and 100% of the result will need root rights or custom firmware.
❓ Does removing ads affect your phone’s performance?
On the contrary, disabling advertising services (com.miui.analytics, MSA) can increase battery life and speed up the system, as these processes constantly consume resources in the background.
❓ What to do if after ADB-The phone has stopped updating?
This is normal: disabled system packets are blocked OTA-Update: Temporarily turn on disabled packets via ADB (Pm enable command. Update via Settings β†’ Update the system. After the upgrade, turn off the ad modules again. Or manually run the update through the TWRP.
❓ How to get it all back if something goes wrong?
If the ADB or root phone is not working properly after manipulating it: For ADB: run the adb shell pm enable command for all applications disabled. For root: restore remote backup packets to TWRP. In extreme cases, make a full reset via Settings β†’ Additional β†’ Recovery and Reset.