How to completely disable ads in applications on Xiaomi Redmi Note 9: all ways

Xiaomi Redmi Note 9 owners often face intrusive ads in system applications, browsers, and even on the lock screen. This is not a coincidence, but part of the business model of MIUI, Xiaomi’s branded shell, which is monetized by displaying banner ads. In this article, we will discuss all the current ways to disable ads on your device, including both standard settings and advanced methods for experienced users.

It is important to understand that there are two types of ads in the Redmi Note 9: system (built into MIUI) and in applications (for example, in Mi Browser or Mi Video). The first one can be removed through the settings, and the second one will have to fight separately, we will consider both options, and also tell you how to avoid returning ads after the system updates.

If you're willing to spend 10-15 After a few minutes, you can get rid of 90% We're going to need additional tools to remove banner ads without root rights, and we're going to talk about them, and we're going to start with the simplest and safest methods.

1. Disabling personalized advertising in MIUI

The first step is to limit the collection of data about your preferences. MIUI analyzes your behavior to show "relevant" ads, but this feature can be deactivated.

Settings β†’ Google β†’ Advertising β†’ Disable β€œPersonalized Advertising”

Next, open the Settings section β†’ Applications β†’ Application Management β†’ All applications and find:

  • πŸ“± Msa (Mi System Ads) is the main advertising service
  • 🌐 Mi Browser – a browser with built-in banners
  • 🎬 Mi Video - an application for video with advertising

For each of them:

  1. Tap the app's name.
  2. Select Notifications and turn off all switches
  3. Go back and press Limit background activity
  4. Press the Warehouse β†’ Clear the cache

πŸ’‘

If Msa is not listed in the application list, then your version of MIUI has it integrated into system services.

These actions will reduce the number of ads that are displayed, but they won't remove them completely. For radical measures, read on.

2. Hidden MIUI settings: disabling ads via MSA

Redmi Note 9 has a hidden section of MSA (Mi Security Ads), which is responsible for displaying banners in system utilities.

Settings β†’ Memory β†’ Click on β€œ...” (three dots in the upper right corner) β†’ Special features β†’ Advertising Services

Some versions of MIUI may have different paths.

Settings β†’ About Phone β†’ MIUI Version (shut 7 times until the message β€œYou became a developer” appears) β†’ Return to the main settings β†’ Additional β†’ For developers β†’ Turn off β€œShow ads in MIUI”
What to do if there is no β€œAdvertising Services” item?
If your firmware doesn’t have this partition, Xiaomi has removed it in newer versions. Try updating MIUI to the latest version or using the method of disabling services via ADB (described below).

After disabling advertising services, restart your phone.The banners should disappear from:

  • πŸ“ File manager
  • πŸ” Searching the system
  • πŸ› οΈ Security Centre
  • πŸ“± Lock screen (if there was an advertisement)

3. Blocking ads through the hosts file (without root)

One of the most effective ways is to edit a hosts file that blocks access to ad servers. For Redmi Note 9, the AdAway app (requires an ADB connection) or Blokada (works via a VPN) is suitable.

Instructions for AdAway:

  1. Download AdAway from the official website
  2. Connect your phone to your PC and execute the command: adb shell pm grant org.adaway android.permission.WRITE_SECURE_SETTINGS
  3. Open AdAway and click "Download Files and Apply"
  4. Reset the device

For Blokada:

  • πŸ“₯ Install from the official website
  • πŸ”’ Allow creation VPN-connection
  • πŸ›‘οΈ Select the block "All advertising hosts"
  • πŸ”„ Activate the defense.
πŸ“Š How do you normally block advertising?
Through MIUI settings
Third-party applications
Editing hosts
I use a VPN with a lockdown.
Don't block it.

Important: After updating MIUI hosts file may reset. Repeat the procedure after each major update.

4. Disabling Advertising in Specific Applications

Some Redmi Note 9 system utilities have their own advertising settings.

AnnexThe path to settingsWhat to turn off
Mi BrowserSettings β†’ Additional β†’ Advertising and NotificationsDisable "Personalized recommendations" and "Show ads"
Mi VideoProfile β†’ Settings β†’ AdvertisingTurn off "Advertising banners" and "Recommendations on the home screen"
Mi MusicSettings β†’ Additional β†’ Advertising settingsDeactivate "Show ads in the player"
Cleaner (Cleaning)Settings β†’ Notifications and AdvertisingDisable all switches in the "Advertising" section

You can't remove the ads for the Gallery app, they're embedded in the code, and the only way out is to use a third-party gallery, like Google Photos or Simple Gallery.

Open each system application|Check the main screen for banners|Close and open the application again|Reboot your phone to apply changes-->

5 Advanced Methods: ADB and System Services Deactivation

If previous methods failed, you can turn off advertising services via ADB (Android Debug Bridge), which requires a connection to a computer, but you do not need root rights.

First, turn on USB debugging:

Settings β†’ About Phone β†’ MIUI Version (shap 7 times) β†’ For developers β†’ Debugging by USB

Then connect the Redmi Note 9 to your PC and execute the commands:

adb shell pm uninstall --user 0 com.miui.systemAdSolution


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




adb shell pm uninstall --user 0 com.miui.analytics




adb shell pm disable-user --user 0 com.android.browser




adb shell pm hide com.miui.cleanmaster

These teams:

  • πŸ—‘οΈ Remove the main advertising modules
  • πŸ”‡ Xiaomi’s analytics are shut down
  • 🌐 Blocking the standard browser
  • 🧹 Cleaner (can be returned via Pm enable)

πŸ’‘

Teams. ADB To return a remote application, replace uninstall with install or use pm enable.

Warning: Some commands may disrupt system functions, such as disabling com.miui.analytics sometimes causes errors in the Security Center.

6. Alternative firmware: a radical solution

If you're annoyed not only by the ads, but also by the MIUI shell itself, consider flashing to custom firmware without ads. Popular options for the Redmi Note 9:

  • πŸ€– LineageOS – pure Android without unnecessary services
  • ⚑ Pixel Experience – firmware with Google Pixel features
  • πŸ”„ MIUI Advertising-free versions from enthusiasts

The firmware process includes:

  1. Unlock the bootloader through the Mi Unlock Tool
  2. Installation of custom recaveri (TWRP)
  3. Flash firmware and GApps (if necessary)

Important: Custom software firmware voids warranty and can lead to a device blink. Do this only if you understand the risks!

πŸ’‘

Before you run the firmware, check for compatibility with your Redmi Note 9 model (codename merlin for global or merlinin for Indian).

7.How to prevent the return of ads after updates

Xiaomi regularly returns advertising modules through MIUI updates.

  • πŸ”„ Turn off automatic updates in Settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ β†’ Auto-update
  • πŸ“₯ Use alternative firmware sources (e.g. Xiaomi.eu – version) MIUI publicity)
  • πŸ›‘οΈ Block the update of advertising services through: adb shell pm uninstall --user 0 com.xiaomi.finddevice adb shell pm uninstall --user 0 com.miui.cloudservice

If the update does occur, repeat the steps from the section. 5 (ADB-commands) and check the hosts file in AdAway/Blokada.

Warning: Some security updates are critical to the operation of the device. Complete failure of updates can create vulnerabilities.

FAQ: Frequent questions about removing ads on Redmi Note 9

❓ Why the Advertising Returns After the Reset?
Factory reset returns all system applications, including ad modules, and after reset, you need to repeat all the steps from this article, starting with disabling personalized ads and editing the hosts file. If you do a reset often (for example, before selling your phone), keep a list. ADB-commands in a text file to quickly reuse them.
❓ Can you remove advertising without a computer?
Yes, but the effectiveness will be lower. Use: MIUI settings (sections 1 and 2 of this article) Blokada App (does not require root) Manual disabling notifications for each ad application To completely remove ads without a PC, root access will be required, which is not recommended for beginners.
❓ Why Advertising is Still in Some Apps?
Some apps (such as Mi Gallery or Mi Community) have hard-sewn ads that cannot be removed without modifying system files. In such cases: Use alternative apps (such as Google Photos instead of Mi Gallery) Disable updates for the problematic app in Settings β†’ Apps Hide the app from the menu (but it will remain in the system)
❓ Is it safe to use? ADB-team?
Teams. ADB, The ones in this article are safe, they only disable unnecessary services without affecting critical system processes: ⚠️ Attention: Do not use commands ADB A syntax error (such as a typo in the name of a packet) can cause a system to crash. Always check the commands before executing. ADB The phone is unstable, return the disconnected packets with the command: adb shell pm enable com.name.packet
❓ How to Check if Advertising is Actually Disabled?
Run the test: Open Mi Browser and check the homepage Run Cleaner and look at the results screen Open Settings β†’ Memory and check for banners Reboot phone and check again If there are no ads in all of these places, then you successfully turned it off. Residual banners can appear in third-party applications (for example, in games) – this is no longer a system advertising MIUI.