Xiaomi Redmi Note 8 Pro is still one of the most popular smartphones in the budget segment, but owners often face intrusive advertising in the standard gallery MIUI. Banners, recommendations and promotional content are not only annoying, but also slow down the application. In this article, we will analyze all the working ways to disable advertising β from basic settings to deep cleaning the system.
To make matters worse, MIUI is actively integrating ad modules into system applications, including the gallery, and even after updates, ads can return if they donβt block their sources. We tested all methods on Redmi Note 8 Pro with the latest firmware (including MIUI 14 and HyperOS) and only selected those that are root-free and do not violate warranty.
Why is there an advertisement in the Xiaomi Gallery?
The Redmi Note 8 Pro is part of Xiaomiβs coin strategy, which allows the company to lower the price of devices by displaying promo content.
- π System recommendations - banners from MIUI, The services are downloaded via msa (Mobile Service Ads) and miui.analytics.
- πΌοΈ Built-in promos in the gallery β advertising from partners (for example, AliExpress, Lazada or local services).
- π Cache data β residual files from previous impressions that can be displayed even after the main sources are disabled.
On the Redmi Note 8 Pro, advertising is most often manifested as:
- π’ Banners at the bottom of the screen when viewing a photo.
- π Recommendations "Similar Images" or "Popular Albums".
- π― Pop-up notifications about new gallery features (which are actually promos).
It is important to understand that some of the ads may be tied to regional settings, for example, in firmware for India or China, banners are much more than in global (MIUI Global) or European (MIUI EE) versions.
Method 1: Disabling personalized advertising in MIUI settings
The easiest way to do this is to deactivate personalized recommendations through the settings menu, which won't take away all the ads, but will reduce the number of banners by 30 to 50 percent.
- Open Settings β Google β Advertising.
- Click Disable Personalized Ads and confirm the selection.
- Go back to the basic settings and go to Settings β Applications β Application Management.
- Find the Gallery app (or Mi Gallery app) and select Permissions.
- Disable Location and Warehouse permissions (unless they are critical to work).
This works because MIUI uses your activity data (including geolocation and browsing history) to target ads, so that when you disable personalization, banners become less relevant and less relevant.
Are gallery location permits disabled |
Whether gallery cache is reset (Settings β Apps β Gallery β Clear cache)|
Is the smartphone rebooted |
Checked whether the display of advertising in the album "Recent"-->
β οΈ Note: After personalized advertising is turned off, some gallery features (such as automatic date or location sorting) may not work properly.
Method 2: Clearing cache and gallery data
Accumulated gallery cache often contains previously downloaded banner ads that continue to show even after the main sources are turned off. Complete cleaning helps in 60% of cases.
- Go to Settings β Applications β Application Management.
- Find the Gallery (or Mi Gallery) and click on it.
- Select Warehouse. β Clear the cache.
- Then click Clear Data (this will delete all gallery settings, but not the photos themselves!).
- Reboot your smartphone.
If the gallery is running slower after cleaning, don't worry, it's temporary. The system will restructure thumbnails and file indexes within 5-10 minutes.
| Action. | The effect | Side effects |
|---|---|---|
| Clearing the cache | Deletes temporary advertising files | No. |
| Clearing the data | Resets gallery settings, removes saved banners | Reset albums, tags, display settings |
| Reboot. | Apply changes, reset background processes | No. |
Critical detail: if after cleaning the ad returned after 1-2 days, it is loaded from the Mi Cloud cloud. In this case, move to method 4 (block through hosts).
Method 3: Use of an alternative gallery
If system methods don't help, the most radical way is to abandon the standard MIUI gallery in favor of third-party apps.The best options for the Redmi Note 8 Pro are:
- π Google Photos β No Ads, Automatic Backup, but Requires a Google Account.
- πΌοΈ Simple Gallery Pro β lightweight, no ads, open source (paid version).
- π A+ Gallery β free, without banners, supports hidden folders.
- π‘οΈ F-Stop Gallery β for advanced users, with support for tags and tags.
To make a third-party gallery the default app:
- Install the selected gallery from Google Play.
- Open any image through the file manager.
- When you request, select a new gallery and tick Always.
- Disable notifications from the standard gallery in Settings β Apps β Gallery β Notifications.
The downside of this method is that some MIUI features (such as photo editor or collage creation) may not be available, but most alternative galleries offer more options for image processing.
π‘
Before you delete a standard gallery, back up your photo to your computer or the cloud. Some MIUI firmware doesn't allow you to completely uninstall system applications without root permissions.
Method 4: Blocking ads through hosts file (without root)
This method is suitable for users who are not afraid to manually edit system files. It blocks the gallery from accessing Xiaomi ad servers at the DNS level.
- Download any file manager with access to the root folder (for example, FX File Explorer or Solid Explorer).
- Enable the display of hidden files in the manager settings.
- Go to /system/etc/hosts (if there is no file, look for /etc/hosts).
- Create a backup of the original file (copy it to another folder).
- Open the hosts file in the text editor and add the following lines at the end: 127.0.0.1 ad.mi.com 127.0.0.1 globalapi.ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 track.ad.xiaomi.com 127.0.0.1 e.ad.xiaomi.com
- Save the file and restart the smartphone.
These lines redirect requests to ad servers to a local address (127.0.0.1), effectively blocking banner loads. MIUI, including HyperOS.
β οΈ Attention: Incorrect editing of the hosts file can lead to problems with the Internet connection. If after the changes, sites stop opening, restore the original file from the backup.
What to do if the hosts file is not saved?
Method 5: Disabling Advertising through ADB (Advanced Method)
If the previous methods did not work, you can turn off MIUI advertising services via ADB (Android Debug Bridge), which does not require root rights, but you need to connect to a computer.
- Turn on Developer Mode on your smartphone: go to Settings β About Phone and 7 times click on the MIUI version.
- Return to Settings β Additional β For developers and activate Debugging over USB.
- Connect the Redmi Note 8 Pro to your PC and confirm the debugging permission.
- Download ADB Tools and unpack it on your computer.
- Open the command line (or Terminal on Mac/Linux) in the adb folder and execute commands in turn: adb shell pm disable-user --user 0 com.miui.systemAdSolution pm disable-user --user 0 com.xiaomi.midrop pm disable-user --user 0 com.miui.analytics
- Reboot your smartphone.
These commands disable the main MIUI advertising services:
- com.miui.systemAdSolution is a system module for displaying advertising.
- com.xiaomi.midrop is a file transfer service often used to display banners.
- com.miui.analytics β the collection of statistics on the basis of which targeted ads are formed.
If you stop opening after you've completed the commands, don't panic.
pm enable com.miui.systemAdSolutionand restart the device.
π‘
Disabling services through ADB is the most effective way to remove ads permanently, but it requires caution. Don't disable unknown packages to keep the system running.
More tips: how to prevent the return of advertising
Even after a successful ad disablement, it can return after a MIUI update or reset.
- π Turn off automatic gallery updates in Google Play (find the app, click on three dots) β Turn off auto-update).
- π₯ Install an ad blocker (such as Blokada or AdGuard) with filters for MIUI.
- π‘οΈ Clean the gallery cache regularly (once every 1-2 weeks).
- π§ Check your settings after updates β Xiaomi sometimes resets ad restrictions.
If you use MIUI Global or EEA (European firmware), there are fewer ads initially than in the Chinese or Indian versions. If your Redmi Note 8 Pro is purchased in Asia, consider flashing it to the global version (but that voids the warranty!).
Useful Life Hack: Create an empty file called.nomedia in folders where you donβt want to see ads (for example, in the.nomedia file). DCIM/Camera). The gallery will stop scanning these folders for media files, and with them β and show banners.