How to permanently disable ads on Xiaomi Mi 9 Lite: the full guide

Xiaomi Mi 9 Lite is one of the most popular mid-range smartphones from the Chinese brand, but many users face intrusive advertising in the system applications MIUI. Banners appear in the settings menu, launcher, browser and even in the notification panel, which annoys and slows down the device. In this article, we will analyze all the current ways to disable advertising on the Mi 9 Lite – from standard settings to deep cleaning the system.

It's important to understand that MIUI integrates firmware-level advertising, so getting rid of it completely without root rights is difficult. However, a combination of several methods allows you to keep the number of impressions to a minimum. We tested all the solutions described below on the Mi 9 Lite with versions of MIUI 11-14 (including global and European builds). If your smartphone runs on older firmware, some menu items may differ.

Before you start settings, make sure that the device has the latest updates installed. Go to Settings β†’ About Phone β†’ System Update. We also recommend backing up important data – some methods require resetting settings or uninstalling system applications.

πŸ“Š What advert in MIUI You're the one who's most annoyed?
Banners in settings
Advertising in the launcher
Browser pop-ups
Notifications from Xiaomi
other

1. disable personalized advertising in MIUI settings

The easiest and safest way to reduce the amount of ads is to deactivate the personalization of ads in the system settings, which does not remove the ads completely, but reduces their relevance and frequency.

To disable targeted advertising:

  1. Open Settings β†’ Google β†’ Advertising.
  2. Click on Reset Advertising ID and confirm the action.
  3. Return to the basic settings and go to Settings β†’ Additional β†’ Special Features β†’ Services.
  4. Turn off Personalized Recommendations (or MIUI Recommendations depending on version).

After this, the system will stop collecting your preferences for displaying ads, but banners in Xiaomi apps (such as Browser or Music) may still be displayed.

πŸ’‘

If you don't have an Ad ID reset available in your region, try changing the region in your Mi Account settings to India or Europe.

  • βœ… Doesn't require root rights
  • βœ… Safe for the system.
  • ❌ Do not remove the advertisement completely
  • ❌ May be reset after the update MIUI

2 Unlock hidden MIUI settings (method for power users)

Xiaomi hides some of the firmware options, including the ad-disabled options, which can be activated using an engineering menu or special commands, which works on most versions of MIUI, but requires caution.

First, turn on the developer mode:

  1. Go to Settings. β†’ The phone.
  2. Press the MIUI version 7 times in a row until the unlock notification appears.
  3. Go back to the basic settings and open a new section for developers.

Now, follow the following steps:

1. Enable "USB Debugging" in the developer settings.


2. Connect the phone to the PC and install ADB- Drivers.




3. Open the command line (Windows) or terminal (Mac/Linux) and type:




adb shell settings put global hidden_api_policy 1




4. Reset the device.

After the reboot, additional items will appear in the settings, such as Settings β†’ Applications β†’ Application Management, you can turn off the advertising services com.miui.systemAdSolution and com.xiaomi.midrop.

What if the ADB does not recognize the device?
Make sure USB debugging is enabled and drivers are installed for your model. Windows may require manual driver installation via Device Manager. Also check that the developer settings have enabled the option "Allow debugging over USB (Safe Mode)".

⚠️ Attention: Misuse of the right ADB-If you make changes to your phone, you can crash your system, don't change the settings you don't know what they're supposed to do, and if you make changes, you can reset your phone.

ADB Team TeamAction.Risk
adb shell pm disable-user com.miui.analyticsDisables analytics collectionLow.
adb shell pm uninstall -k --user 0 com.xiaomi.midropRemove Mi Drop (may contain ads)Medium.
adb shell settings put global captive_portal_detection_enabled 0Disables the check of the Internet connectionLow.
adb shell pm disable-user com.android.browserDisables the standard browser (replace with Chrome)Medium.

3. Removal of system applications with advertising (without root)

Some Xiaomi apps cannot be disabled via the standard menu, but they can be deactivated using ADB or third-party utilities. On the Mi 9 Lite, the main sources of advertising are:

  • πŸ“± Mi Browser (built-in browser with banners)
  • 🎡 Mi Music and Mi Video (advertising in players)
  • πŸ“¦ GetApps (app store with aggressive advertising)
  • πŸ“Š Analytics (data collection service for targeted advertising)

For their removal:

  1. Connect your phone to your PC and activate debugging via USB.
  2. Open the command line and enter it in turn:
adb shell pm uninstall -k --user 0 com.android.browser


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




adb shell pm uninstall -k --user 0 com.xiaomi.midrop




adb shell pm uninstall -k --user 0 com.xiaomi.gamecenter.sdk.service




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

On the Mi 9 Lite with MIUI 12.5 and later, removing GetApps (com.xiaomi.market) can lead to system update errors. Instead of deleting, use the disable command: adb shell pm disable-user com.xiaomi.market

Install. ADB and drivers for Xiaomi|Create a backup copy of the data|Put the debugging on. USB|Check the list of safe packets to remove|Do not remove applications marked "system critical"-->

Once you have completed the commands, restart the device. Apps will disappear from the menu and with them most of the ads, but some services (such as msa – Miui System Ads) can automatically recover after updates.

4. Use of alternative launchers and browsers

Even after the system ad has been disabled, banners can appear in the standard MIUI launcher and browser, the solution being to install third-party analogues:

  • 🏠 Launchers: Nova Launcher supports icon customization and removal of ad widgets. Lawnchair is an open source lightweight launcher. Microsoft Launcher supports Windows integration, no ads.
  • 🌐 Browsers: Google Chrome with uBlock Origin ad blocker. Firefox Focus - browser with built-in tracker lock. Brave Browser - automatically blocks ads and scripts.

To install an alternative launcher:

  1. Download the selected application from Google Play.
  2. Open it and follow the setup instructions.
  3. In MIUI settings, go to Settings β†’ Applications β†’ By default and select the new launcher as the main one.

To completely remove the standard browser Xiaomi use ADB-This will prevent the accidental opening of advertising pages through system links.

πŸ’‘

Replacing standard Xiaomi apps with alternatives (like Nova Launcher + Chrome) reduces the amount of advertising by 80-90% without any interference.

5. Blocking ads through the hosts file (for advanced users)

One of the most effective ways to combat advertising is to edit the hosts file, which blocks access to ad servers. On the Mi 9 Lite, this can be done without root rights using the AdAway app (ADB required) or manually.

Instructions for manual editing:

  1. Install a file manager with access to the root folder (such as FX Explorer or Solid Explorer).
  2. Go to /system/etc/ and find the hosts file.
  3. Create a copy of it in case of errors.
  4. Open the original file in the text editor and add the following lines at the end:
127.0.0.1 ad.mi.com


127.0.0.1 data.mistat.xiaomi.com




127.0.0.1 sdkconfig.ad.intl.xiaomi.com




127.0.0.1 tracking.miui.com




127.0.0.1 api.ad.intl.xiaomi.com

Save the file and restart the device. Now the system will not be able to connect to Xiaomi's ad servers. Update the list of blocked domains every 1-2 months, as Xiaomi periodically changes server addresses.

⚠️ Attention: Incorrect editing of the hosts file may result in loss of Internet access. If the network stops working after the changes, restore the original version of the file. MIUI The hosts file may be reset.

6. Complete removal of advertising through root rights

If you’re willing to take drastic measures, getting root rights will remove ads at the system level, a method that works for the Mi 9 Lite, but requires unlocking the bootloader and installing a customized Recovery (such as TWRP).

Main steps:

  1. Unlock bootloader: Register on Xiaomi's official website and get permission to unlock. Install Mi Unlock Tool and connect your phone in Fastboot mode. Follow the program's instructions to unlock.
  2. Installation TWRP: Download the current version TWRP for Mi 9 Lite codenamed pyxis, run the recavers through fastboot flash recovery. twrp.img.
  3. Getting root: Download Magisk.zip and run it through TWRP. Install Magisk Manager to manage root rights.

Removal of advertising modules:

  • With Root Explorer, delete the folders: /system/priv-app/SystemAdSolution, /system/app/MiuiDaemon.
  • Edit the file. /system/build.prop, line: ro.miui.has_system_ad=0.

After that, the ads will be removed at the core level, but keep in mind:

  • βœ… Complete removal of advertising, including hidden services.
  • βœ… Possibility of fine tuning MIUI.
  • ❌ Loss of warranty (if the device is under warranty).
  • ❌ Risk of "bricking" in case of firmware errors.
  • ❌ Some banking applications may stop working.
How to return the guarantee after obtaining root?
Technically, root can be rolled back, but Xiaomi keeps a bootloader unlock log. Use Mi Flash Unlock Counter Reset to reset the meter, but it doesn't guarantee warranty recovery. Official service centers often refuse warranty repairs if they find signs of hacking.

7.Alternative methods: firmware custom MIUI or AOSP

If none of the above methods worked, consider installing custom firmware. For the Mi 9 Lite, you can:

  • πŸ“± MIUI without advertising: Projects like MIUI EU or MIUI Pro removes advertising modules, retaining the original functionality.
  • πŸ€– AOSP-Firmware: LineageOS, Pixel Experience or HavocOS – pure Android without unnecessary services Xiaomi.
  • πŸ”§ GSIs (Generic System Image): Universal firmware compatible with the Mi 9 Lite (e.g. Phh-Treble).

Installation process:

  1. Unlock the bootloader (as described in the previous section).
  2. Install TWRP or OrangeFox Recovery.
  3. Make a full backup of the current system through the recavers.
  4. Sweep through the selected firmware, then Magisk (if root is needed).
  5. Do a data reset (Wipe Dalvik/Cache, Data, System).

Advantages of custom firmware:

  • Absence of any advertising and unnecessary services.
  • Higher productivity and autonomous operation time.
  • Regular security updates.

Disadvantages:

  • Loss of some Xiaomi features (e.g., IR Blaster may not work properly).
  • The risk of unstable camera or sensor operation.
  • Lack of official support OTA-update.

πŸ’‘

Custom firmware like the Pixel Experience converts the Mi 9 Lite into a clean Google Pixel with monthly security updates and no ads, but additional modules (such as the ANX Camera) may be required to make the camera work.

FAQ: Frequent questions about removing ads on Xiaomi Mi 9 Lite

❓ Why After Updating MIUI The commercial reappeared?
Xiaomi often returns advertising modules through the OTA-To avoid this: Before upgrading, create a backup through TWRP Or Mi Backup. After the update, repeat the commands. ADB to disable advertising services. Consider disabling automatic updates in Settings β†’ The phone. β†’ Updating the system β†’ Settings (βš™οΈ) β†’ Auto Update: If the ad returned in a specific application (e.g. in the Browser), delete its data in Settings β†’ Annexes β†’ Application management β†’ browser β†’ Warehouse β†’ Clear the data.
❓ Can you turn off advertising without a computer?
Yes, but the options are limited. Without a PC, you can: Disable personalized ads in settings (section 1 of article); install an alternative launcher and browser (section 4); use applications like Blokada or DNS66 to block ad domains (analogous to editing hosts, but without root); or completely remove system applications (section 3) or edit hosts (section 5) will still require ADB or root.
❓ Why GetApps stopped updating apps after deleting?
GetApps (or App Market) is not only an app store, but also an update service for some system components. If it stops updating after it is removed: Install Google Play Store as the main source of updates. Restore GetApps via ADB-Command: adb shell cmd package install-existing com.xiaomi.market Disable auto updates in GetApps, but leave the application itself: adb shell pm disable-user --user 0 com.xiaomi.market/.ui.HomeActivity This hides the store icon, but keeps it functional for updates.
❓ How to Check Which Apps Show Ads?
To identify the source of the ad: Install the App Inspector or Package Name Viewer from Google Play. When the banner ad appears, open the recent apps (square button) and see which application was active. Use ADB to monitor logcat | grep -i "ad\|sponsor\|promo" This will display a list of processes related to the ad. On the Mi 9 Lite, the most common advert is com.miui.systemAdSolution, com.android.browser, com.xiap.
❓ Is it safe to use apps to block ads?
Apps like AdAway, Blokada, or DNS66 block ads at the DNS or VPN level without interfering with the system. They are safe if: Downloaded from a formal store (Google Play or F-Droid); do not ask for unnecessary permissions (such as access to SMS or contacts); use open source (can be checked on GitHub); avoid β€œmagic” utilities that promise to remove ads with a single click – they often contain malware. For Mi 9 Llokada, the best options are Blokada (blocking via VPN) or DNS-blocking.