How to permanently remove ads on Xiaomi Mi 9: from system banners to push notifications

Xiaomi Mi 9

Unlike the new models.

Mi 9

In this article, we will discuss 5 proven ways to remove ads on Xiaomi Mi 9 – from standard settings to advanced methods using ADB. All instructions are relevant for MIUI 12/13/14 (including global and Chinese versions of firmware).

Before you start, check the MIUI version on your device: go to Settings β†’ About Phone β†’ MIUI version. This will help you avoid errors when choosing a method.

═══

1. disable personalized advertising in MIUI settings

The easiest way to reduce the amount of ads is to deactivate personalized recommendations in system services, which will not remove banners completely, but will reduce the number of banners by 40-60%.

Go to:

Settings β†’ Xiaomi Account β†’ Mi Account β†’ Advertising β†’ Personalized recommendations

Turn off all the switches in this section. Then go back to the basic settings and do the same things for:

Settings β†’ Google β†’ Advertising β†’ Disable personalized advertising
  • πŸ” What it does: reduces targeted banners in Weather, Themes and Mi Browser.
  • ⚠️ Restriction: Does not remove ads in Security, Downloads and push notifications.
  • πŸ“± Additional: Reset the Ad ID in the same menu (Reset the Advertising ID) ID).

⚠️ Warning: After disabling personalized ads, some system applications (such as Mi Video) may show an error "No Internet connection." This is a temporary bug - restart your phone.

If you still have the ads, move on to the next method, which is more radical.

═══

2 Manually disabling advertising through hidden MIUI settings

MIUI has hidden settings that allow you to disable banners in specific areas of the system, which does not require root rights, but you need to be careful.

Follow the instructions:

  1. Open the Security app (the shield icon).
  2. Go to Settings (cog icon in the upper right corner).
  3. Tap about the app 5-7 times in a row until the message β€œYou became a developer!” appears.
  4. Return to the basic Security settings and select the new Advanced Settings option.
  5. Disable options: Receive notifications Show ads

Do the same for the applications:

  • πŸ“ Downloads. β†’ Settings β†’ disable Advertising Notices.
  • 🌍 Mi browser β†’ Settings β†’ Confidentiality β†’ Disable Personalized Content.
  • 🎡 Mi Music β†’ Settings β†’ Advertising β†’ switch off.

Disable recommendations in "Security" | Remove banners in "Downloads" | Deactivate personalized content in "Mi Browser" |Reset advertising ID in the settings of Google-->

After this manipulation, the ads in the system applications will disappear by 80-90%, but push notifications from Mi Push Service may continue to come.

═══

3. Block push notifications from system services

Push notifications with ads are the most annoying part of MIUI, which come even when the phone is locked, and often masquerades as "helpful tips."

Method 1. Through notification settings (works for MIUI 12+):

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. In search, type in Mi Push Service and select this app.
  3. Tap Notifications. β†’ Turn off all switches.
  4. Repeat for: MSA (Mobile Services Framework) MiuiDaemon System Trichrome Library (if any)

Method 2. via ADB (for power users)

If notifications keep coming, use the ADB command:

adb shell pm disable-user --user 0 com.xiaomi.mipush.sdk

Note:

everything

ServicePackage nameWhat's blocking
Mi Push Servicecom.xiaomi.mipush.sdkPromotional Notices and Spam
MSAcom.miui.systemAdSolutionSystem banners in settings
MiuiDaemoncom.miui.daemonBackground advertising processes
Analyticacom.miui.analyticsData collection for targeted advertising

⚠️ Attention: Disconnection MSA If you notice a bug, return the settings with the command: adb shell pm enable com.miui.systemAdSolution

═══

4.Use of alternative launcher (without root)

If you are annoyed by banners on the home screen (for example, in the Weather or Calendar), install a third-party launcher. This will not remove ads from system applications, but will hide them from the desktop.

The best options for Xiaomi Mi 9:

  • πŸ† Nova Launcher – supports gestures, hiding icons and blocking widgets with ads.
  • 🎨 Lawnchair is a lightweight open source launcher, no ads.
  • πŸ”§ Hyperion Launcher – Optimized for the MIUI, Allows you to disable system widgets.

How to set up:

  1. Install a launcher from Google Play.
  2. When you first start, select it as the default launcher.
  3. In the launcher settings, disable: Show Miui Widgets hints (if any) Advertising banners (in the "Additional" section)

πŸ’‘

To return the standard MIUI launcher, go to Settings β†’ Applications β†’ Default β†’ Launcher and select Launcher (system).

The downside of the method is that some system notifications (such as low battery charge) may be duplicated, and the Double Tape lock and other MIUI gestures will also be lost.

═══

5. Radical method: firmware without advertising (TWRP + cast)

If nothing works, you have to install custom firmware without ad modules, which is suitable for advanced users, as it requires unlocking the bootloader and installing TWRP.

Step-by-step:

  1. Unlock the bootloader through the official Xiaomi tool (it will require an account binding Mi).
  2. Install TWRP for Xiaomi Mi 9 (codename cepheus) from twrp.me.
  3. Download firmware without advertising: πŸ“± LineageOS – pure Android without unnecessary services. πŸ”„ Pixel Experience – firmware with Pixel interface and no advertising. πŸš€ Xiaomi.eu – modified MIUI without advertising modules (but with support for all Xiaomi features).

TWRP

Food + Volume up

Install

FirmwarePlusesCons
LineageOSClean Android, no ads, frequent updatesIt may not work. IR-port NFC
Pixel ExperienceGoogle Pixel interface optimized for Mi 9No proprietary MIUI features (e.g. Game Turbo)
Xiaomi.euIt retains all MIUI features, but without advertisingYou need to update manually, there may be bugs with OTA

⚠️ Attention: Installing custom firmware resets the warranty and can result in the device locking if the process is disrupted. TWRP (backup).

What if the camera doesn’t work after the firmware?
On Xiaomi Mi. 9 After installing custom firmware, the main camera may be lost, due to the lack of libarcore drivers: 1. Download the file. fix_cepheus_camera.zip forum XDA. 2. Set it up through TWRP (section). 3. If the problem persists, try Xiaomi.eu firmware, which includes all the necessary drivers for the Mi. 9.

═══

6. Additional tips: how to avoid ad returns

Even after the ad is turned off, it can come back after the MIUI update or reset, so that it doesn't happen:

  • πŸ”„ Turn off automatic updates MIUI: Settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ β†’ Auto-update β†’ Turn it off.
  • πŸ“΅ Freeze Advertising Services (root only): Use the App Quarantine or Titanium Backup app to disable: com.xiaomi.mipush.sdk com.miui.systemAdSolution com.miui.analytics
  • πŸ›‘οΈ Use it. DNS-filter: Set in the settings Wi-Fi/mobile network DNS (for example, 1.1.1.3 from Cloudflare or 94.140.14.14 This will block the download of banner ads at the network level.

If the ad comes back after the update, repeat the steps from Section 2 and 3 - usually enough. For full control, consider installing Magisk and the Xiaomi Debloater module, which removes the ad components at the system level.

Turned off in the settings. MIUI|Used. ADB|I put in a custom firmware.|Set another launcher.|I didn't do anything, advertising didn't interfere.-->

═══

FAQ: Frequent questions about removing ads on Xiaomi Mi 9

❓ Why does it appear again after the ad is turned off in the settings?
This is due to background updates to system applications (such as MSA or Mi Push Service).Solution: Disable automatic app updates in Google Play. Freeze problem services via ADB (pm disable-user command). Use App Ops (requires root) to block permissions for ad modules.
❓ Can you remove advertising without a computer?
Yes, but not completely. Without a PC, you can: Turn off personalized ads in your settings; set an alternative launcher; block notifications from Mi Push Service; and remove ads (like Security or Theme) completely, you need ADB or root.
❓ Will it work? NFC Google Pay after the firmware?
Depends on the firmware chosen: Xiaomi.eu β€” NFC Google Pay is working without problems. LineageOS/Pixel Experience β€” NFC Google Pay is often blocked due to lack of certification (solved by Magisk installation) + Check the forum reviews before you run the firmware. XDA for your model (cepheus).
❓ How to return the standard settings if ADB-commands phone is bugging?
If you have disabled critical services (e.g. com.miui.home), run: adb shell pm enable com.name.pack For full reset: Go to Settings β†’ System β†’ Reset.Select Reset all settings (does not delete files). If the phone does not turn on, press Power + Volume up to go to Recovery and select Wipe Data.
❓ Is it legal to turn off ads on Xiaomi?
Yes, disabling ads through settings or ADB does not violate the user agreement. Xiaomi allows deactivating personalized recommendations, but: Removing system applications from root may result in a loss of warranty. The use of pirated "patches" to block ads (such as modified APKs) is prohibited. Xiaomi's official position is that users can turn off ads, but the company does not guarantee stable system operation after changes to ADB or TWRP.

═══

πŸ’‘

The most effective risk-free method is a combination of disabling ads in settings + blocking push notifications through ADB. This removes 95% of banners without losing warranty and root rights.