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.
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:
- Open Settings β Google β Advertising.
- Click on Reset Advertising ID and confirm the action.
- Return to the basic settings and go to Settings β Additional β Special Features β Services.
- 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:
- Go to Settings. β The phone.
- Press the MIUI version 7 times in a row until the unlock notification appears.
- 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?
β οΈ 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 Team | Action. | Risk |
|---|---|---|
| adb shell pm disable-user com.miui.analytics | Disables analytics collection | Low. |
| adb shell pm uninstall -k --user 0 com.xiaomi.midrop | Remove Mi Drop (may contain ads) | Medium. |
| adb shell settings put global captive_portal_detection_enabled 0 | Disables the check of the Internet connection | Low. |
| adb shell pm disable-user com.android.browser | Disables 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:
- Connect your phone to your PC and activate debugging via USB.
- 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.analyticsOn 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:
- Download the selected application from Google Play.
- Open it and follow the setup instructions.
- 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:
- Install a file manager with access to the root folder (such as FX Explorer or Solid Explorer).
- Go to /system/etc/ and find the hosts file.
- Create a copy of it in case of errors.
- 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.comSave 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:
- 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.
- Installation TWRP: Download the current version TWRP for Mi 9 Lite codenamed pyxis, run the recavers through fastboot flash recovery. twrp.img.
- 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?
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:
- Unlock the bootloader (as described in the previous section).
- Install TWRP or OrangeFox Recovery.
- Make a full backup of the current system through the recavers.
- Sweep through the selected firmware, then Magisk (if root is needed).
- 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.