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.
β οΈ 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 name | He's in charge. | Can I remove it? |
|---|---|---|
| com.miui.analytics | Analytics and Targeted Advertising | Yes. |
| com.xiaomi.midrop | Advertising in Mi Drop (file transfer) | Yes. |
| com.miui.systemAdSolution | System banners in settings | Yes. |
| com.miui.bugreport | Error Reports (sometimes shown by advertisements) | No (may disrupt the system) |
| com.android.browser | Mi browser with advertising on the main page | Yes (replace it with Chrome or Firefox) |
Step-by-step:
- Turn on Developer Mode on Mi 9: Go to Settings β About Phone and 7 times click on MIUI Version.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect your phone to your PC, install ADB Tools, and open the command line in the adb.exe folder.
- Enter the command to check the connection: Adb devices Should appear with the serial number.
- 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:
- 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).
- 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.
- 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
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:
- Download the firmware from the official Xiaomi.eu website (choose the version for cepheus - codename Mi 9).
- Reboot to TWRP and make a full backup (in case of a rollback).
- Flip the firmware through Install β Select a file β Swipe to confirm.
- Clean the cache (Wipe β Dalvik/ART Cache + Cache).
- 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.