How to completely disable advertising on Xiaomi Mi 9: from system banners to push notifications

The Xiaomi Mi 9, launched in 2019, is still a popular choice thanks to its powerful hardware and affordable price tag, but owners often face intrusive ads in MIUI, from banners in settings to push notifications from system applications. Unlike newer models (such as the Xiaomi 13 or Redmi Note 12), where some of the ad mechanisms are simplified, the Mi 9 requires a deeper setup.

The problem is compounded by the fact that MIUI aggressively integrates ads even into standard menus, from β€œSecurity” to β€œTheme,” with many guides on the network offering outdated methods (such as disabling via msa in 2020) that stopped working after updates. In this article, current ways for MIUI 12-14 firmware (including global and Chinese versions) tested on the Mi 9 with the latest security patches of 2026.

Important: Some methods require unlocking the bootloader or installing custom recovery (such as TWRP).If you're a beginner, start with the "soft" ways - they don't violate the warranty and don't require technical skills.

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 does not remove banners completely, but reduces their frequency by 40-60%, suitable for users who do not want to interfere with system files.

Instructions:

  • πŸ“± Open the Settings. β†’ Google β†’ Advertising.
  • πŸ”„ Switch the switch to the "Personalized Advertising" to the off position.
  • πŸ—‘οΈ Click "Reset advertising" IDΒ» (This will clear the data for targeting).
  • πŸ”’ Go back to the main settings and go to Settings β†’ Annexes β†’ Application management β†’ All applications.
  • πŸ” Find it. MSA (Mi Service Framework), open it and disable the permissions β€œShow over other windows” and β€œShoot upΒ».

After this action, ads in Weather, Themes and Mi will become less intrusive, but banners in Settings and Security will remain β€” more radical measures are needed to remove them.

πŸ“Š How often do you see ads on your Xiaomi?
All the time, all the menus.
Only in certain applications
There's almost no advertising.
Didn't notice the ad.
I'm a different brand.

⚠️ Attention: Resetting advertising ID Google may cause temporary disruptions to services such as YouTube or Google Play Store. If applications become incorrect after resetting, restart your device.

2. Removal of advertising modules through ADB (without root)

If the system settings did not help, the next step is to disable advertising packages through the ADB (Android Debug Bridge. This method doesn't require root rights, but you need a computer and a computer. USB-It's good for firmware. MIUI 12-14 on Mi 9.

List of advertising packages that can be safely disabled:

Package nameHe's in charge.Can I remove it?
com.miui.analyticsAnalytics and Targeted AdvertisingYes.
com.xiaomi.midropAdvertising in Mi Drop (file transfer)Yes.
com.miui.systemAdSolutionSystem banners in settingsYes.
com.miui.bugreportError Reports (sometimes shown by advertisements)No (may disrupt the system)
com.android.browserMi browser with advertising on the main pageYes (replace it with Chrome or Firefox)

Step-by-step:

  1. Turn on Developer Mode on Mi 9: Go to Settings β†’ About Phone and 7 times click on MIUI Version.
  2. Return to Settings β†’ Additional β†’ For developers and activate Debugging over USB.
  3. Connect your phone to your PC, install ADB Tools, and open the command line in the adb.exe folder.
  4. Enter the command to check the connection: Adb devices Should appear with the serial number.
  5. Disable ad packages one at a time (example for com.miui.analytics): adb shell pm uninstall -k --user 0 com.miui.analytics

Install ADB Tools on PC|Enable the Developer Mode on Mi 9|Activate debugging by USB|Connect your phone to the original cable|Make a backup copy of the data-->

If the team returns the error DELETE_FAILED_DEVICE_POLICY_MANAGER, So the package is protected by Xiaomi policies, and in this case, only unlocking the bootloader will help (see section). 4).

3. Blocking advertising through DNS (method for beginners)

One of the safest ways to change is to DNS-This blocks the download of banner ads from Xiaomi servers without affecting system files).

Instructions:

  • 🌐 Go to Settings. β†’ Wi-Fi.
  • πŸ”— Click on the current network and select β€œChange Network” (or β€œMoreΒ»).
  • πŸ”§ In the field Β«DNSΒ» Enter one of the addresses: 1.1.1.1 (Cloudflare - blocks part of the trackers) 94.140.14.14 (AdGuard) DNS β€” specialised for advertising blocking) 176.103.130.130 (DNS from Yandex with Advertising Filtering)
  • πŸ”„ Save the settings and restart the phone.

To check effectiveness, open Settings β†’ About Phone – if banners are missing, DNS works. If the adverts are left, try another server or combine the method with disabling packets via ADB.

πŸ’‘

To block the mobile network, install the application. DNS Changer from Google Play and set up the same ones DNS-This will help reduce advertising in Mi Browser and some system utilities.

4. Unlock the bootloader and remove system applications

To completely remove ads on the Xiaomi Mi 9, you need to unlock the bootloader and get root access. This method is suitable for power users, as it violates the warranty and can lead to a β€œbrick” of the device if errors occur.

Step-by-step:

  1. Unlocking the loader: πŸ”“ Go to the Mi Unlock website and download the Mi Unlock Tool utility. πŸ“± Link your Mi Account to your phone in Settings β†’ Xiaomi account. πŸ”— Connect Mi 9 to PC in Fastboot mode (clip Volume Down) + Power with the phone turned off). πŸ–₯️ Start the Mi Unlock Tool and follow the instructions (the process will take up to 72 hours due to Xiaomi restrictions).
  2. Installation TWRP rooting: πŸ“₯ Download. TWRP for Mi 9 (The version should match your firmware). πŸ’» Install recovery with fastboot: fastboot flash recovery twrp-3.7.0_9-0-cepheus.img πŸ”„ Reboot to TWRP and use Magisk to obtain root rights.
  3. Removal of advertising packages: πŸ—‘οΈ Use Root Explorer or Titanium Backup to remove packets from the table in the section 2. πŸ”§ Edit the file. /system/build.prop, line: ro.miui.has_real_blur=1 (This will disable blurring and some of the banner ads in the MIUI).

⚠️ Note: Once the bootloader is unlocked, the Xiaomi Mi 9 will reset all data (including photos and apps). β†’ Additionally. β†’ Backup or Mi Cloud.Also note that some banking applications (e.g. Sberbank Online) may stop working on devices with unlocked bootloader.

What to do if Mi Unlock Tool gives you a "Couldn't unlock" error
The error often occurs due to: (1) Mi Account mismatch on the phone and utility. (2) Insufficient latency (Xiaomi requires 168 hours between unlock attempts). (3) An outdated version of the Mi Unlock Tool (download the latest from the official website). Solution: check the account's link, wait 7 days and try again. If the error persists, try using alternative tools like Fastboot Enhance (at your own risk).

5. Alternative methods: firmware custom MIUI or AOSP

If none of these methods worked, the radical solution is to install custom firmware. Xiaomi Mi 9 is available:

  • πŸ“± MIUI without advertising (for example, MIUI EU or MIUI Pro) – modified versions of the official firmware with remote advertising modules.
  • πŸ€– AOSP-Firmware (for example, LineageOS, Pixel Experience) – completely clean Android without Xiaomi services.
  • ⚑ GSIs (Generic System Image) - universal firmware compatible with Mi 9 (e.g. Havoc-OS).

The advantages of custom firmware:

  • βœ… Total absence of advertising (including system banners).
  • βœ… More smooth work (especially on the AOSP).
  • βœ… Regular security updates.

Cons:

  • ❌ Loss of function MIUI (For example, Double Apps or Game Mode).
  • ❌ Possible bugs with camera or sensors (especially on early firmware versions).
  • ❌ Violation of warranty and risk of β€œbrick” in case of firmware errors.

Instructions for installation of MIUI EU:

  1. Download the firmware from the official Xiaomi.eu website (choose the version for cepheus - codename Mi 9).
  2. Reboot to TWRP and make a full backup (in case of a rollback).
  3. Flip the firmware through Install β†’ Select a file β†’ Swipe to confirm.
  4. Clean the cache (Wipe β†’ Dalvik/ART Cache + Cache).
  5. Restart the device (the first start can take 10-15 minutes).

πŸ’‘

Custom firmware is the most reliable way to get rid of advertising, but it requires technical skills. If you're a beginner, start with MIUI EU: it retains the familiar interface, but removes all advertising modules.

6. Additional tips: how to avoid the return of advertising

Even after a successful ad disabling, it can return after the MIUI update.

  • 🚫 Turn off automatic system updates: go to Settings β†’ The phone. β†’ Update the system and deactivate the option β€œAuto UpdateΒ».
  • πŸ”„ Check the permissions periodically: Xiaomi may activate again after updates MSA Or Analytics. Go to Settings. β†’ Annexes β†’ Permits and disable suspicious rights.
  • πŸ›‘οΈ Use firewall: apps like NetGuard or AFWall+ (requires root to block access to advertising services.
  • πŸ“΅ Remove unnecessary system apps: Even if they don’t show ads, some utilities (such as Mi Video or Mi Music) can load banners in the background.

If the ad returns after the update, repeat the steps from Section 2 (disabling packages via ADB) or consider switching to custom firmware.

For users who don’t want to spend time on manual settings, there is an alternative to buying a smartphone without ads. In new Xiaomi models (such as Xiaomi 13T or POCO F5), advertising is significantly less, and in some regions (such as the EU), it is turned off by default due to local laws.

FAQ: Frequent questions about disabling ads on Xiaomi Mi 9

❓ Why after the shutdown ADB The advertisement will return in a few days?
This is due to background updates to system applications. Xiaomi periodically restores deleted packages through the service com.miui.systemAdSolution. Solution: Freeze packages with the App Quarantine (requires root). Disable automatic updates of applications in the Google Play Store. Use Lucky Patcher to remove unnecessary services (risky, can disrupt the system).
❓ Can you turn off advertising without a computer?
Yes, but the possibilities are limited: πŸ”§ Change. DNS (section). πŸ—‘οΈ Delete the cache and application data MSA, Analytics and Security in Settings β†’ Annexes. πŸ›‘οΈ Install Blokada or AdGuard from Google Play (block some adverts at the level) VPN). But without ADB or root completely remove system banners will not work.
❓ Will the way to work with ADB on MIUI 14?
In MIUI 14, Xiaomi has tightened the protection of system packages, so: Some ADB commands (e.g. for com.miui.systemAdSolution) may not work. Before disabling the packets, check their relevance with the command: adb shell pm list packages mi| grepui If ADB returns an error, try first disabling the packet via pm disable-user: adb shell pm disable-user --user 0 com.miui.analytics.
❓ How to return remote system applications if something goes wrong?
If, after removing the packages, ADB or root has stopped working important functions (e.g., H)FC Or Google Pay, restore them like this: Download the original firmware for Mi 9 From the Xiaomi Firmware Updater. system.img And you can mount it through DiskInternals Linux Reader. /system/priv-app/ or /system/app/ And copy it back to your phone through TWRP. Set up rights. 644 (r-w-r--r--) for the file and 755 (r-wxr-xr-x) for folder. If you're not sure what you're doing, it's easier to do a full reset via Settings. β†’ Additionally. β†’ Recovery and discharge.
❓ Is there a risk of blocking the Mi Account when unlocking the bootloader?
Xiaomi can temporarily block an account if: You are trying to unlock more than 1 device per month. VPN or proxy when you link your account, enter the wrong password more than 5 times in a row to avoid being blocked: πŸ” Link your account to your phone in advance (7 days before unlocking). πŸ“§ Use a real email (not temporary). πŸ“± Do not unlock multiple devices from one device IP-If your account is blocked, please contact Xiaomi with a photo of the phone box (proof of ownership).