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:
- Open Settings โ Google โ Advertising.
- Activate the switch "Disable Ad Personalization".
- Return to the main settings menu and go to Settings โ About the phone.
- Tap 7 times on the line "Version" MIUI", activate the developer mode.
- Return to Settings โ Additional โ Special Opportunities.
- 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)
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:
- Enable USB Debugging in Settings โ About Phone โ MIUI version (7 taps) โ Developer settings โ USB debugging.
- Connect your phone to your PC and confirm your trust in the device.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- 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
- Reboot the phone.
โ๏ธ Preparation for ADB-team
What teams do:
| Team team. | Appointment | The effect |
|---|---|---|
| com.miui.systemAdSolution | The main module of MIUI advertising | Remove banners in settings and notifications |
| com.xiaomi.midrop | File transfer service | Disables advertising when exchanging data |
| com.miui.analytics | Statistics collection | Stops sending usage data |
| com.miui.msa.global | Global Advertising SDK | Removes 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 -dIf 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:
- Go to Settings โ Connections and Sharing โ Private DNS.
- Select "Host Name of Private DNS Provider".
- 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:
- Unlock the bootloader through the official Xiaomi website (requires a Mi Account and wait 7-30 days).
- Install custom recovery (TWRP or OrangeFox).
- Please use Magisk to obtain root rights.
- Use Root Explorer or Titanium Backup to remove system APKs.
List of safe packet removal
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:
- Unlock the bootloader (see section 4).
- Download the firmware for your model with XDA Developers.
- Install TWRP or OrangeFox Recovery.
- Make a full backup through recovery.
- 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
- Go to Settings โ Applications โ Application Management.
- Find MSA, Analytics or System Ad Solution.
- Turn off Auto Start, Background Activity and Notifications.
- 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:
- Go to Settings โ Google โ Advertising.
- Click "Reset Advertising ID".
- 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.
- Download the repository and unpack miui_adb.sh.
- Connect your phone to USB with debugging enabled.
- Run the script in the terminal: bash miui_adb.sh
- 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.