How to permanently remove ads from your Xiaomi phone: 7 proven ways

Advertising in Xiaomi smartphones is one of the most annoying features of the MIUI branded shell. Even after buying the premium Mi 13 Ultra or Redmi Note 12 Pro+ model, users are faced with intrusive banners in settings, notifications and system applications. The manufacturer has integrated ad modules so deeply that the standard shutdown through the menu often works incompletely or resets after updates.

In this article, we will look at all possible ways, from official settings to radical methods such as installing custom firmware, you will learn how to remove advertising in:

  • ๐Ÿ“ฑ System applications (Browser, Music, Themes)
  • โš™๏ธ Settings MIUI (Sections "Security", "On the phone")
  • ๐Ÿ”” Push notifications and screen lock
  • ๐Ÿ“ฆ Third-party apps (including Google Play)

Important: some methods require unlocking the bootloader or root rights, which voids the warranty and can cause permanent damage to the system if you do not do the right thing, and we will describe in detail the risks and alternatives for each method.

1. Officially disabling advertising in MIUI settings

The safest, but also the most limited method, Xiaomi has added a customized ad disablement option, but it doesn't remove all banners, it only reduces the number of banners. Here's how to do it:

  1. Open Settings โ†’ Google โ†’ Advertising.
  2. Activate the switch "Disable Ad Personalization".
  3. Return to the main settings menu and go to Settings โ†’ About the phone.
  4. Tap 7 times on the line "Version" MIUI", activate the developer mode.
  5. Return to Settings โ†’ Additional โ†’ Special Opportunities.
  6. Find the option โ€œDelete MIUI Adsโ€ (not available on all models).

Limitations of the method:

  • ๐Ÿšซ Does not remove ads in the Browser, Music and Themes
  • ๐Ÿ”„ Resets after resetting settings or updating MIUI
  • ๐Ÿ“ต It does not work on firmware for the global market (EEA)
๐Ÿ“Š What kind of Xiaomi model do you have a phone?
Redmi Note 10/11/12
POCO F3/F4/F5
Mi 11/12/13
Another model

For models POCO (for example, POCO X5 pro POCO F5) The path may be different: Settings โ†’ Annexes โ†’ Application management โ†’ Threefold (โ‹ฎ) โ†’ Show system-based โ†’ Find "msa" โ†’ Shut down.

โš ๏ธ Note: Some firmware items "Delete advertising" MIUI" It means your version is missing. MIUI It does not support official shutdown, so you can proceed to the following methods.

2. disabling advertising through ADB (no root)

A more radical but still secure way is to use Android Debug Bridge (ADB), which allows you to disable the system components responsible for displaying ads without obtaining root rights, and is suitable for all Xiaomi, Redmi and POCO models based on Android 10+.

You'll need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/macOS/Linux
  • ๐Ÿ“ฑ Cable USB (original)
  • ๐Ÿ”ง Installed drivers Xiaomi and ADB Tools

Step-by-step:

  1. Enable USB Debugging in Settings โ†’ About Phone โ†’ MIUI version (7 taps) โ†’ Developer settings โ†’ USB debugging.
  2. Connect your phone to your PC and confirm your trust in the device.
  3. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
  4. Enter the commands in turn: adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.miui.analytics adb shell pm hide com.miui.msa.global
  5. Reboot the phone.

โ˜‘๏ธ Preparation for ADB-team

Done: 0 / 4

What teams do:

Team team.AppointmentThe effect
com.miui.systemAdSolutionThe main module of MIUI advertisingRemove banners in settings and notifications
com.xiaomi.midropFile transfer serviceDisables advertising when exchanging data
com.miui.analyticsStatistics collectionStops sending usage data
com.miui.msa.globalGlobal Advertising SDKRemoves advertising in system applications

If the ad is still running after the reboot, check if the components that are disabled are back.

adb shell pm list packages -d

If com.miui.systemAdSolution or com.miui.msa.global appear on the list, re-disable them.

โš ๏ธ Note: On some firmware (for example, MIUI 14 EEA) team ADB This may not work due to manufacturer restrictions, and it will require unlocking the bootloader.

3. Blocking ads via DNS (without root)

The method is suitable for blocking ads in the browser, some system applications and push notifications" IP-private addresses DNS.

Instructions:

  1. Go to Settings โ†’ Connections and Sharing โ†’ Private DNS.
  2. Select "Host Name of Private DNS Provider".
  3. Enter one of the addresses: ๐Ÿ›ก๏ธ dns.adguard.com (AdGuard DNS) ๐Ÿ”’ security.cloudflare-dns.com (Cloudflare) ๐Ÿšซ doh.dns.sb (DNS.SB โ€” block out)

Save and restart the phone.

To enhance the effect, install the Blokada app (does not require root) from the official website, which blocks ad domains at the VPN level without affecting the speed of the Internet.

๐Ÿ’ก

If some websites (e.g. banking sites) are no longer open after changing the DNS, return the standard DNS settings or use 1.1.1.1 (Cloudflare) without blocking.

Limitations of the method:

  • ๐ŸŒ Do not block local advertising in MIUI (banners)
  • ๐Ÿ“ถ Can reduce internet speed by 5-10%
  • ๐Ÿ”„ Requires reconfiguration after resetting network settings

4. Removal of system applications (root required)

If you're willing to take drastic measures, getting root rights will open up access to removing the system components responsible for advertising, a method that permanently removes banners, but takes away the warranties and can disrupt MIUI.

What can be removed:

  • ๐Ÿ—‘๏ธ com.miui.systemAdSolution โ€“ the main advertising module
  • ๐Ÿ“Š com.miui.analytics โ€“ statistics collection
  • ๐Ÿ”— com.xiaomi.mipicks โ€“ Xiaomi app store
  • ๐ŸŽต com.miui.player โ€“ standard player with advertising
  • ๐ŸŒ com.android.browser - Mi Browser browser

How to get root:

  1. Unlock the bootloader through the official Xiaomi website (requires a Mi Account and wait 7-30 days).
  2. Install custom recovery (TWRP or OrangeFox).
  3. Please use Magisk to obtain root rights.
  4. Use Root Explorer or Titanium Backup to remove system APKs.
List of safe packet removal
In addition to the above, you can delete: - com.xiaomi.midrop (file transfer) - com.miui.hybrid (hybrid services) - com.miui.msa.global (global advertising) - com.miui.cloudservice (cloud Xiaomi cloud) - com.miui.cloudbackup (backup) โš ๏ธ Do not delete packages with the names com.android, com.qualcomm or com.google, this will cause the system to fail!

Alternative root: If you're afraid to take risks, use the App Quarantine (requires Magisk).This app doesn't remove system components, it isolates them, preventing them from starting.

โš ๏ธ Note: Removal of system applications may result in: ๐Ÿ”ด Update errors MIUI through OTA ๐Ÿ“ต Loss of functionality (for example, transferring files over Wi-Fi) ๐Ÿ”„ Needs to manually firmware when resetting settings Before deleting, make a backup through TWRP!

5. Install custom firmware (complete removal of advertising)

The most reliable way to get rid of advertising forever is to switch to custom firmware without Xiaomi's branded services.

  • ๐Ÿ“ฑ LineageOS โ€“ pure Android without unnecessary components
  • โšก Pixel Experience โ€“ firmware with Google Pixel interface
  • ๐Ÿ”ง ArrowOS โ€“ Optimized for Performance
  • ๐Ÿ›ก๏ธ Havoc-OS โ€“ with advanced privacy settings

The advantages of custom firmware:

  • โœ… No Advertising at all (including system applications)
  • โšก Higher productivity (no background processes) MIUI)
  • ๐Ÿ”„ Regular security updates
  • ๐ŸŽจ Ability to fine-tune the interface

Cons:

  • ๐Ÿšซ Loss of guarantee
  • ๐Ÿ“ต Possible camera or sensor problems (solved by installing GCam and patches)
  • ๐Ÿ”ง Requires unlocking the bootloader and technical skills

How to determine:

  1. Unlock the bootloader (see section 4).
  2. Download the firmware for your model with XDA Developers.
  3. Install TWRP or OrangeFox Recovery.
  4. Make a full backup through recovery.
  5. Sweep through firmware, Magisk (for root) and GApps (if you need Google services).

๐Ÿ’ก

Custom firmware is the only way to permanently remove ads without the risk of them coming back after updates, but it takes time and technical knowledge.

For POCO models (for example, POCO F4 GT), we recommend the Pixel Experience firmware - it is optimized for gaming smartphones and supports high screen refresh rates.

6. Alternative methods (without root and ADB)

If the previous methods seem complicated, try these options:

1. Use of alternative launchers

  • ๐Ÿ  Nova Launcher โ€“ allows you to hide system widgets with advertising.
  • ๐ŸŽจ Lawnchair โ€“ lightweight launcher with gesture support.
  • ๐Ÿ” Microsoft Launcher โ€“ Windows integration and no banners.

2. Replacement of system applications

  • ๐ŸŒ Replace Mi Browser with Firefox or Brave (Block Ads by Default).
  • ๐ŸŽต Instead of Mi Music, use it. VLC poweramp.
  • ๐Ÿ“ท For photos, install Google Photos or Simple Gallery.

3. Setting restrictions for applications

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find MSA, Analytics or System Ad Solution.
  3. Turn off Auto Start, Background Activity and Notifications.
  4. Limit Internet access (in Settings โ†’ Connections โ†’ Data Use).

4. Resetting advertising ID

Advertising in MIUI is linked to an advertising ID (AAID), which temporarily reduces the number of impressions:

  1. Go to Settings โ†’ Google โ†’ Advertising.
  2. Click "Reset Advertising ID".
  3. Turn off Personalized Ads.

7 What to do if the ad returns after the update

MIUI updates often return disengaged ad modules. Here's how to deal with it:

1.Return to the previous version of MIUI

  • Download the old firmware with Xiaomi Firmware Updater.
  • You can run it through TWRP or Fastboot.
  • Turn off automatic updates in Settings โ†’ The phone. โ†’ Updating the system โ†’ Threefold (โ‹ฎ) โ†’ Settings โ†’ Deactivate "Car Update".

2. Use the script to automatically disable ads

MIUI Ad-Away script (available on GitHub) automates disabling ad packages via ADB.

  1. Download the repository and unpack miui_adb.sh.
  2. Connect your phone to USB with debugging enabled.
  3. Run the script in the terminal: bash miui_adb.sh
  4. Follow the instructions on the screen.

3.Install Magisk module to block ads

If you have root, install modules:

  • ๐Ÿ›ก๏ธ AdAway โ€“ Blocks Advertising Domains at Host Level.
  • ๐Ÿšซ MIUI Debloater โ€“ Remove unnecessary system components.
  • ๐Ÿ”ง Universal SafetyNet Fix โ€“ if banking applications are no longer working.

โš ๏ธ Attention: After update MIUI through OTA Magisk modules may stop working. Always check their status in the Magisk Manager app and reinstall them if necessary.

FAQ: Frequent questions

โ“ Why After Disabling Advertising Through ADB It reappears?
This is due to automatic updates to system applications. To prevent ad returns: Turn off automatic app updates in Google Play. Freeze problem packages via Titanium Backup or App Quarantine. Install MIUI Debloater in Magisk.
โ“ Can you remove ads on Xiaomi without a computer?
Yes, but with limitations. Try: Use Blokada or DNS66 to block ad domains; install an alternative launcher and replace system applications; disable ad personalization in Google settings; however, you can't do without a PC to completely remove ads; you'll need at least ADB or root.
โ“ Will the way to work with ADB on POCO F5?
On the POCO F5 (and other HyperOS models), the path to the ad modules may be different. Use the commands: adb shell pm hide com.miui.hyperos.adservice adb shell pm hide com.poco.hyperos.ads If the commands don't work, check the actual packages through adb shell pm list packages | grep -i ad.
โ“ How to return everything back if after removing system applications the phone is bugged?
If you have problems after removing packets through root or ADB: Restore deleted packets from the TWRP backup. Enable back disabled components via ADB: adb shell pm uninstall -k --user 0 com.miui.systemAdSolution adb shell pm enable com.miui.systemAdSolution In extreme cases, reset (Settings โ†’ Phone โ†’ Resets).
โ“ Is it legal to remove ads from Xiaomi?
From a legal perspective: โœ… Disconnection through settings or ADB Do not break the law โ€“ you use standard Android tools. โš ๏ธ Removing system applications via root may be considered a violation of the license agreement MIUI (not the law). ๐Ÿšซ Distribution of modified firmware with remote advertising for public download is prohibited (copyright infringement of Xiaomi). the manufacturer can block the Mi Account for unlocking the bootloader, but in practice this is extremely rare.