How to completely disable ads on Xiaomi Redmi 9A: 7 proven ways

Xiaomi Redmi 9A owners often face intrusive ads that appear in the settings menu, on the lock screen, in standard apps and even in notification panels. The manufacturer has integrated advertising modules deep into the MIUI shell, making it a non-trivial task, but there are legal and technical methods that allow you to not remove ads completely, then at least minimize them.

In this article, we will look at all the available ways, from basic settings in the smartphone interface to advanced methods using ADB and third-party tools. It is important to understand that some solutions require unlocking the bootloader or superuser rights, which can affect the warranty and stability of the device, we will specify the risks and alternatives for each option.

So let's start with the most basic methods, which don't require technical skills, and then we move on to the more complex ones.

1. disable personalized advertising in MIUI settings

The first and safest step is to deactivate the options associated with targeted advertising. This will not remove all banners, but will reduce their number and relevance. MIUI 12/13/14 on the Redmi 9A:

  1. Open Settings โ†’ Google โ†’ Advertising.
  2. Activate the switch "Disable personalized advertising".
  3. Return to the main settings menu and go to Settings โ†’ Additional โ†’ Privacy.
  4. Select "Advertising Services" and deactivate the "Personalized Recommendations" option.
  5. In the same section, click "Reset Advertising ID".

These actions will limit the collection of data about your activity, but will not remove the built-in ad modules in the Mi Browser, Mi Video or Themes apps.

โš ๏ธ Note: After the advertising reset ID Some services (such as the Google Play Store) may temporarily not work properly.

๐Ÿ“Š How often do you see ads on your Xiaomi?
All the time, everywhere.
Only in certain applications
There's almost no advertising.
Didn't notice the commercials.

2. Removal of Advertising in Standard Xiaomi Apps

Mi Browser, Mi Video, Themes and Cleaner are the main sources of advertising on Redmi 9A. They can be either customized or replaced with banner-free analogues.

Configuring embedded applications

  • ๐ŸŒ Mi Browser: Open your browser โ†’ โ‹ฎ โ†’ Settings โ†’ Additionally. โ†’ Turn off "Recommended Content" and "Show news on the homepage".
  • ๐ŸŽฌ Mi Video: Go to the app โ†’ Profile โ†’ Settings โ†’ Recommendations โ†’ Deactivate all switches.
  • ๐ŸŽจ Themes: In the subject app, go to Profile โ†’ Settings โ†’ Notifications and disable "Advertising Notices".
  • ๐Ÿงน Cleaner: Open the utility โ†’ โ‹ฎ โ†’ Settings โ†’ uncheck the box with "Show recommendations".

Replacement with third-party analogues

If the setting doesnโ€™t work, install alternatives from Google Play:

Standard annexAn Advertising-Free AlternativeDownload link
Mi BrowserBromite / Firefox FocusFirefox Focus
Mi VideoVLC / MX PlayerVLC
ThemesHex Installer / SubstratumHex Installer
CleanerSD Maid / Files by GoogleSD Maid

After replacing standard apps, be sure to disable or freeze the original ones through settings (Settings โ†’ Applications โ†’ Application Management โ†’ Disable) so they donโ€™t consume resources in the background.

โ˜‘๏ธ Preparation for replacement of applications

Done: 0 / 4

3. Blocking Advertising through ADB (without root)

The Android Debug Bridge (ADB) method allows you to disable system advertising services without obtaining root rights.This is a semi-official way that does not violate the warranty, but requires connecting a smartphone to a PC.

3.1 Preparation

  1. Download and install Platform Tools (includes adb.exe).
  2. On your smartphone, activate the developer mode: Settings โ†’ About Phone โ†’ MIUI version (click 7 times).
  3. Return to Settings โ†’ Additional โ†’ For developers and enable โ€œDebugging by USBโ€.
  4. Get Redmi on board. 9A PC-only USB-cable (select "File Transfer" mode").

Execution of commands

Open the command prompt (cmd) in the folder with the platform-tools and enter sequentially:

adb devices

(Your device should show up. If not, check the 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
adb shell pm disable-user --user 0 com.xiaomi.midrop

These commands disable the main ad modules. Use the same command to restore the service, replacing the disable-user with enable.

โš ๏ธ Attention: After update MIUI Some services can automatically turn on again.

What if the ADB canโ€™t see the device?
1. Install Xiaomi drivers from mi.com.2. Try another one USB-cable (original). 3. Enable the "Debugging by Debugging" option in the developer settings USB (security parameters).โ€ 4. Restart your PC and smartphone.

4.Use of DNS-filters for blocking advertising

Change of change DNS-Device-level servers or routers allow you to block ad domains before they load, which works for ads in the browser and some applications, but does not affect embedded banners. MIUI.

Setup on a smartphone

  1. Go to Settings โ†’ Connections and Sharing โ†’ Private DNS.
  2. Select "Private DNS Host Name" and enter one of the addresses: dns.adguard.com (AdGuard DNS) doh.centraleu.pi-dns.com (Pi-hole) security.cloudflare-dns.com (Cloudflare)

Save the settings and restart the device.

Setup on the router

For global locking on all devices on the network:

  1. Go to the router control panel (usually 192.168.1.1).
  2. Find the "DNS" or "Network" section.
  3. Replace the standard DNS with: 94.140.14.14 (AdGuard) 1.1.1.3 (Cloudflare Family)

Save and restart the router.

The effectiveness of the method depends on the source of the ad, for example, banners in Mi Browser are blocked well, but MIUI system notifications are not.

๐Ÿ’ก

To check the work DNS-Open the dnsleaktest.com page in your browser and make sure that the selected ones are displayed. DNS-server.

5. Disabling advertising through editing the hosts file (requires root)

If you have root rights, you can block ad domains by editing the hosts system file, which is the most radical and requires caution.

Preparation

  • Install a file manager with root support (such as Root Explorer or Solid Explorer).
  • Download the current list of blocked domains (for example, from GitHub).
  • Create a backup of the original /system/etc/hosts file.

Editing by hosts

  1. Open /system/etc/hosts in the root-access text editor.
  2. Add to the end of the file a line from the downloaded list (example): 127.0.0.1 ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 tracking.miui.com
  3. Save the file and set the rights to 644 (rw-r--r---).
  4. Reset the device.

โš ๏ธ Attention: Incorrect editing of the hosts file can lead to loss of Internet access.Always check the syntax and do a backup!

6. Installation of custom firmware (for advanced users)

The most drastic way to get rid of advertising is to install custom firmware, such as LineageOS or Pixel Experience, which will remove all built-in Xiaomi services, but require:

  • ๐Ÿ”“ Unlock the bootloader (officially via Mi Unlock Tool).
  • ๐Ÿ“ฑ Custom recaveri installations (TWRP).
  • ๐Ÿ› ๏ธ Firmware of alternative OS.

The process takes 1-2 hours and involves the risk of building the device, and detailed instructions for Redmi 9A (codename dandelion) can be found on the XDA-Developers forum.

Pros: complete absence of advertising, security updates from the community, the ability to fine-tune.

Cons: loss of warranty, possible bugs (for example, with a camera or sensors), lack of official updates.

๐Ÿ’ก

Custom firmware is the only way to remove ads 100%, but it is only suitable for experienced users who are willing to sacrifice stability for the sake of cleanliness.

7. Alternative methods and life hacks

If the previous methods didnโ€™t help or seemed too complicated, try these additional techniques:

  • ๐Ÿ“ต Do Not Disturb Mode: Activate it on a permanent basis (Settings) โ†’ Notifications โ†’ It will hide push notifications, but not banners in apps.
  • ๐Ÿ”„ Resetting Advertising Settings: In Settings โ†’ Google โ†’ Advertising click "Reset advertising" ID" weekly.
  • ๐Ÿ›ก๏ธ Browser Blockers: Install uBlock Origin extensions (for Firefox) or AdGuard Content Blocker (for Samsung Internet).
  • ๐Ÿ“ฒ Disabling background activity: For advertising applications (Settings) โ†’ Annexes โ†’ Permits โ†’ AutoRun) Disable AutoRun for Mi Browser, Mi Video and Cleaner.

Combination of several methods (e.g, ADB + DNS-filter + Replace applications) gives you the best result. Experiment, but don't forget to back up!

FAQ: Frequent questions

โ“ Why After Updating MIUI The commercial reappeared?
Xiaomi regularly returns disabled services through updates. After the firmware update, repeat the steps with ADB or check your personalization settings in Settings โ†’ Google โ†’ Advertising.
โ“ Can you turn off advertising without a computer?
Yes, but the options are limited. DNS-Filters (Section 4), Application Replacement (Section 2.2) and Settings MIUI (Complete removal of ads without a PC will require root rights.
โ“ Will the way to work with ADB on the Redmi 9A s MIUI Global?
Yes, ADB works on all versions of MIUI (including Global, EEA, and China), and it is important to enter commands correctly and not disable critical system services.
โ“ How to get back disconnected through ADB applications?
Use the command: adb shell pm enable user 0 name.pack For example, to return Mi Browser: adb shell pm enable com.android.browser
โ“ Is it true that disabling ads impairs productivity?
No, it's a myth. On the contrary, turning off background ad services (com.miui.systemAdSolution) offloads RAM and reduces battery consumption.