How to permanently remove ads on Xiaomi: proven ways with 4PDA

Advertising in Xiaomi smartphones has become one of the most annoying features of MIUI firmware β€” it pops up in the settings menu, on the lock screen, in system applications and even in notification panels. 4PDA forum users have been collecting working methods to turn it off for years, but with each update MIUI ways change, and some stop working. In this article, we have collected the latest solutions of 2026, including hidden settings, modifications of system files and alternative firmware β€” all that really helps to get rid of intrusive advertising forever.

It’s important to understand that Xiaomi doesn’t officially provide the option of completely disabling ads in standard settings. All of the methods below require either deep system intervention or the use of third-party tools. Some of them can lead to a bootloop ( looped reboot) or data reset, so make sure to back up through Settings β†’ Additional β†’ Backup and Reset. If you’re not sure about your actions, it’s best to focus on the safe ways from the first sections before you start.

Why Xiaomi is showing ads and can it be removed legally

Since 2018, Xiaomi has been actively monetizing its MIUI firmware through embedded advertising.

  • πŸ“± System applications (Browser, Music, Video, Files)
  • βš™οΈ Settings menu (sections Topics, Security, Wallpaper)
  • πŸ”” Notification panels (advertising games, promotions, services Xiaomi)
  • πŸ”’ Lock screen (banners with offers)

Officially, the company attributes this to β€œpersonalized recommendations” to improve the user experience, but in practice, ads are shown even to those who have disabled all available options in the settings. Legally, it can only be removed in part by disabling Personalized Recommendations and Interest-Based Ads in Settings β†’ Privacy β†’ Advertising Services. However, this does not guarantee the complete disappearance of banners.

On the 4PDA forum, users found that even after disabling all options, ads continue to show because of:

  • πŸ”„ Hidden system services (com.miui.systemAdSolution, com.xiaomi.mipicks)
  • πŸ“¦ Pre-installed apps (Mi Browser, GetApps, Mi Video)
  • πŸ”— Updates MIUI, slack-off

⚠️ Note: Disabling ads through system files (hosts, build.prop) may disrupt Google Play and Mi Account services. TWRP Or make a backup through adb backup.

Method 1: Disabling Advertising through the standard MIUI settings

Before you resort to radical methods, try to disable ads legally, which works on all Xiaomi models (including the Redmi Note 12, POCO X5, Mi 11), but does not guarantee a 100% result.

Steps:

  1. Go to Settings β†’ Privacy β†’ Advertising Services.
  2. Turn off the options: πŸ”˜ Personalized recommendations πŸ”˜ Interest-based advertising

Settings β†’ About the phone

MIUI version

developer-style

Settings β†’ Additional β†’ For Developers

USB debugging

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

This method disables the main ad module, but banners can remain in the Mi Browser and GetApps apps. Removing them will require manual disabling via ADB (see next section).

πŸ“Š Which advertisements annoy you the most?
In system applications
On the lock screen
Notifications.
Settings menu.

Method 2: Remove Advertising through ADB (without root)

If standard settings don’t work, the next step is to disable ad packages via ADB. This method doesn’t require root rights, but you need to:

  • πŸ–₯️ Computer with installed ADB-Drivers and Platform Tools
  • πŸ“± Included Debugging by USB phone-on
  • πŸ”Œ Cable USB Type-C (preferably original)

List of commands to disable advertising services:

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


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




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




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




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




adb shell pm hide com.miui.systemAdSolution

After completing the commands, restart the phone. The ads should disappear from:

  • 🎡 Mi Music and Mi Video
  • 🌐 Mi Browser (to be replaced by Google Chrome)
  • πŸ“Š System notifications and panels

⚠️ Warning: Disabling com.miui.analytics may disrupt Mi Cloud and contact sync.If you need these features, skip this command.

β˜‘οΈ Preparation for ADB-team

Done: 0 / 5

Method 3: Editing the hosts file (blocking ad servers)

One of the most effective ways is to block ad servers through a hosts file, which works even without root, but requires permission to write to the system partition. If you have Magisk or TWRP, follow the instructions:

Steps:

  1. Download the current hosts file with ad blocking for MIUI (updated to 4PDA).
  2. Copy it into the root of the phone’s internal memory.
  3. Install Systemless Hosts via Magisk or use TWRP to replace the original file along the /system/etc/hosts path.
  4. Reset the device.

If you don’t have root, you can try replacing hosts with ADB:

adb shell


su




mount -o rw,remount /system




cp /sdcard/hosts /system/etc/hosts




chmod 644 /system/etc/hosts




mount -o ro,remount /system




exit

This method blocks the phone from communicating with Xiaomi’s ad servers, but can cause problems with:

  • πŸ”„ Updates MIUI (They'll stop downloading)
  • πŸ“± Some System Applications (Themes, Security)
  • 🌍 Geolocation Services (if Google servers are blocked)
What if the phone doesn’t turn on after editing hosts?
If after replacing the hosts file, the device went to bootloop, download to the TWRP and recover the original file from the backup. TWRP No – reset via Fastboot: fastboot erase system (data will be lost!).

Method 4: Install custom firmware (complete removal of advertising)

The most radical, but also the most reliable way is to install alternative firmware. 4PDAs are popular.

  • πŸ“± MIUI Pro (modified) MIUI free of advertising and unnecessary applications)
  • πŸ€– LineageOS or Pixel Experience (pure Android without branded Xiaomi services)
  • ⚑ Xiaomi.eu (unofficial) MIUI with off-the-click advertising and optimizations)

Installation process:

  1. Unlock Bootloader through the official Xiaomi tool (requires a Mi Account binding and a wait of 7 days).
  2. Install TWRP Recovery for your model (instructions are on 4PDA in device themes).
  3. Download the firmware (e.g. Xiaomi.eu for the Redmi Note 11 here).
  4. Go to TWRP, make Wipe β†’ Format Data and run the firmware.

Advantages of custom firmware:

  • βœ… No advertising at all (including hidden banners)
  • ⚑ Higher productivity (Bloatware removed)
  • πŸ”„ Regular security updates

Disadvantages:

  • ❌ Loss of warranty (if you don't return the stock firmware)
  • ⚠️ The risk of brick (turning the phone into a brick) when you make an error
  • πŸ”Œ Possible problems with Widevine L1 (Full. HD Netflix)

πŸ’‘

Before installing custom firmware, check its compatibility with your model in the 4PDA forum. For example, the firmware for the Redmi Note 10 Pro will not be suitable for the Redmi Note 10S due to different processors.

Method 5: Using Magisk Modules to Block Ads

If you don’t want to install custom firmware, but you have root (via Magisk), you can use special modules:

ModuleWhat's blockingReference (4PDA)
Disable_Miui_AdsSystem Advertising, Mi Browser, GetAppsDownload
MIUI DebloaterRemove unnecessary applications and servicesDownload
AdAwayBlocks advertising domains through hostsOfficial website
Xiaomi ADB/Fastboot ToolsManages Ad Disabling Without Manual CommandsXDA

Installation:

  1. Download the module in.zip format.
  2. Open Magisk Manager and select Modules β†’ Install from Storage.
  3. Select the downloaded file and wait for the installation.
  4. Reboot the phone.

⚠️ Note: AdAway module may conflict with Google Pay and banking applications due to changing the hosts file. NFC, Use alternatives like Blokada (works without root).

Method 6: Alternative launchers and workarounds

If you don’t want to interfere with the system, you can simply hide the ads by:

  • 🏠 Third-party launchers (Nova Launcher, Lawnchair – they replace the standard desktop) MIUI, frequent-market).
  • πŸ›‘οΈ Advertising Blockers (Blokada, DNS66 β€” They work without root, but require adjustments VPN).
  • πŸ“΅ Mobile Internet Disconnection for System Applications (via Settings) β†’ Annexes β†’ Permits).

Example of Blokada setup:

  1. Download Blokada from the official website (not from Google Play – there is a stripped down version).
  2. Launch the application and activate the lock.
  3. In the settings, select the Energized Protection lock list (it includes Xiaomi ad domains).
  4. Reboot the phone.

This method doesn't remove ads completely, but it reduces the amount of ads, and the main advantage is that it doesn't require rooting and it doesn't break the system.

πŸ’‘

Third-party launchers and ad blockers are the safest way to go, but they won’t remove banners from system menus (such as theme settings).

Frequent Mistakes and How to Avoid Them

When trying to disable ads, users often face problems:

Mistake.Reason.Decision
adb: device unauthorizedUnconfirmed USB accessThe phone will be asked for debugging permission - confirm it.
Advertising returns after MIUI updateThe update has reset the hosts settings or ADB-teamRepeat the shutdown procedure or roll back to the old firmware version.
bootloop after editing build.propError in file syntaxRestore the original build.prop via TWRP.
Google Pay is not working after blocking adsModules like AdAway are breaking SafetyNetUse MagiskHide or remove the module.

To avoid problems:

  • πŸ”„ Always backup before changing system files.
  • πŸ“‹ Check the commands. ADB on relevance (on the 4PDA There are lists for each version MIUI).
  • πŸ” Use proven sources to download firmware and modules.

FAQ: Answers to Frequent Questions

❓ Can you turn off ads on Xiaomi without rooting and ADB?
Yes, but not completely. Only a fraction of the banners are removed through standard settings (Advertising Services), and it takes at least ADB or third-party blockers like Blokada to remove them completely.
❓ Why did the updates stop working after the ad was turned off? MIUI?
Chances are you blocked Xiaomi servers via hosts. To return updates, delete the lines with update.miui.com and api.io.mi.com domains from the file.
❓ How to return standard applications after they are deleted ADB?
Follow the command: adb shell cmd package install-existing <application package> For example, to return Mi Browser: adb shell cmd package install-existing com.android.browser
❓ Are these methods working on POCO redmi?
Yes, all of these are good for POCO and Redmi, as they run on MIUI. The exception is some POCO models on Android One (like the POCO X3 NFC) that don't have ads in the first place.
❓ Can you turn off the ads forever, or will they come back after the reset?
If you’ve used ADB or hosts, the ads will come back after you’ve completely reset or updated MIUI. You need custom firmware or Magisk modules to have a permanent effect.