Advertising in the standard Xiaomi gallery is one of the most annoying features of MIUI firmware. Even after buying a premium smartphone like Xiaomi 14 Ultra or the budget Redmi 12, users encounter intrusive banners in the most unexpected place - where personal photos are stored. The manufacturer explains this with "personalized recommendations", but in practice, advertising interferes with viewing images, slows down the application and spoils the overall impression of the phone.
In this article, we will discuss all the current ways to disable ads in the Xiaomi gallery, including hidden MIUI settings, methods without root rights and even radical solutions for advanced users. Importantly, some methods may differ depending on the firmware version (for example, MIUI 14 vs HyperOS) and regional build (Global, EEA, China).
Before you start, check your firmware version: go to Settings β About Phone β MIUI version. If you have POCO or Black Shark, some menu items may be called differently β we will warn you about this separately.
1. disable personalized advertising in MIUI settings
The easiest and safest way to do this is to deactivate the personalized recommendation system right in your smartphone settings, which works on all Xiaomi, Redmi and POCO models with MIUI 12 and later firmware, including HyperOS.
Instructions:
- π± Open Settings and go to Memory (on some models β Applications).
- π Find and select the Gallery app (or Photos on the POCO).
One important caveat: some firmware (China ROM) may not have this item, so try the alternative route: Settings β Google β Advertising and disable Personalized Ads there, which wonβt eliminate banners completely, but will reduce the number of banners.
β οΈ Note: After you turn off ads, some smart features in the gallery may disappear, such as automatic event albums or facial recognition. If they are important to you, use the methods in the following sections.
2.Reset gallery settings to factory
If the ads appear even after disabling personalized recommendations, the problem may lie in the app's cached data.Resetting the gallery to factory settings often helps eliminate intrusive banners, especially after a firmware update.
How to reset:
- Open Settings β Applications β Application Management.
- Find the gallery and tap it.
- Choose a storage (or memory)
- Click Clear the cache, then Clear the data.
- Confirm action. The app will restart with factory settings.
What happens after the dump:
- π All your albums will disappear (photos and videos will remain in place).
- π Reset the sorting and display settings of miniatures.
- π You may need to re-authorize access to files.
Backup important albums in Google Photos
Remember the current display settings
Make sure your photos are synced to the cloud
Connect your phone to charge (the process can take a few minutes)-->
This method works on 90% of Xiaomi 2020-2026 models, but does not guarantee 100% results. If the ad returns after a few days, move on to the following methods.
3.Use of ADB-commands for deep disabling advertising
For users ready for more complex manipulations, there is a way to disable ads through the Internet. ADB (Android Debug Bridge. It doesn't require root rights, but it will require a computer and a computer. USB-The method works on all versions of the cable. MIUI, including HyperOS.
Step-by-step:
- Download and install Google Platform Tools (or any other) ADB-driver).
- Turn on the phone Developer Mode: go to Settings β About phone and 7 times tap on the MIUI version.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect the phone to the PC and enter in the command line (terminal):
adb shell pm disable-user --user 0 com.miui.gallery.ads
adb shell pm disable-user --user 0 com.xiaomi.midrop.adsOnce you've done the commands, reboot your phone. The gallery ads should disappear.
| Team team. | What's he doing? | Applicability |
|---|---|---|
| com.miui.gallery.ads | Disables the advertising module in the gallery | All models Xiaomi/Redmi/POCO |
| com.xiaomi.midrop.ads | Blocking Ads in Mi Drop Feature | Only for MIUI 12-14 |
| com.miui.systemAdSolution | Disables system advertising | Can cause errors in HyperOS |
β οΈ Note: Some commands (e.g., disabling com.miui.systemAdSolution) may cause your phone to run in an unstable way. Use only those specified in the instructions if you are unsure of your actions.
π‘
If, after the execution, ADB-Teams adverts are back, check out gallery updates in Google Play.Sometimes Xiaomi restores ad modules through updates.
4. Installation of an alternative gallery (without advertising)
If none of these methods worked, the radical solution is to abandon the standard Xiaomi gallery in favor of third-party apps, many of which are not only devoid of advertising, but also offer advanced editing and photo organization features.
Top.-3 free-to-advertise:
- π Google Photos β Automatic sorting, cloud storage (15 GB free), search by content of the photo. Minus: requires authorization in Google account.
- π Simple Gallery Pro is open source, dark theme support, album encryption. There's a paid version with advanced features.
- π Aves β minimalist design, support RAW, No analytics. It's completely free.
How to make an alternative gallery the main one:
- Install the selected application from Google Play.
- Open any photo through the standard gallery, click "Open with" and select a new app.
- In the window that appears, check the box Always (or Use by default).
- Go to Settings β Applications β By default and select a new gallery to open images.
Advantages of third-party galleries:
- β No advertising and data collection for targeted ads.
- β New formats are updated and supported more often (e.g, AVIF or HEIC).
- β You can sync with the clouds (Google Drive, Dropbox, Yandex Drive).
How to transfer albums from the standard Xiaomi gallery to Google Photos?
5. Disabling Advertising through Mi Account Settings
Many users are unaware that some of the ads in MIUI are tied to a Xiaomi account. Even if you are not logged in to Mi Account, the system can show "recommendations" based on the device.
Instructions:
- Go to account.xiaomi.com and log in.
- In the menu, select Privacy β Personalized Recommendations.
- Turn off all sliders associated with Ads and Miui Recommendations.
- Save the changes and restart the phone.
What does it mean?
- π Data collection for targeted advertising is stopped.
- π The number of banners in the gallery, browser and other system applications is reduced.
- π Settings apply to all devices associated with a Mi Account.
Note that this method will not eliminate ads completely, but will significantly reduce the amount of ads. To completely remove banners, combine it with other methods from the article.
6. Radical methods: firmware and root
If you're willing to go to extreme lengths, you can completely remove the ad modules from the firmware. This requires unlocking the bootloader, installing custom recavers (like TWRP) and root rights. This method is only suitable for advanced users!
What can be done with root:
- ποΈ Remove the system applications responsible for advertising (com.miui.systemAdSolution, com.xiaomi.msa.global).
- π§ Edit build.prop files to block ad servers.
- π‘οΈ Install AdAway or Blokada for system-wide ad blocking.
Risks:
- β οΈ Loss of warranty (if the phone is under warranty).
- β οΈ Possible "brick" (turning the phone into a "brick") with a firmware error.
- β οΈ Disruption of certain features (e.g. Mi Pay or Game Turbo).
If you decide to take this step, follow the official guides for unlocking the bootloader on the XDA Developers forum. For beginners, we recommend using ready-made firmware without advertising, such as MIUI EU or Pixel Experience.
π‘
Before you run your firmware, make sure to back up your data via TWRP or Mi PC Suite. Without a backup, it will be impossible to restore photos and contacts after a failed firmware!
7. Frequent mistakes and how to avoid them
When trying to remove ads, users often face typical problems, and here are the most common ways to address them:
| Problem. | Reason. | Decision |
|---|---|---|
| Advertising returns after gallery update | Xiaomi has restored advertising modules through the update | Turn off the auto-renewal of the gallery in Google Play or use it ADB-team |
| It's not working. ADB-pm disable-user | No USB debugging or outdated drivers | Check Connection, Update Platform Tools, Reboot PC |
| After the gallery was dropped, photos were missing. | Data cleanup removes thumbnail cache | Photo in place, just restart your phone or open the DCIM folder manually |
| I can't find the "Personalized Advertising" item. | Obsolete version of MIUI or regional firmware | Update your firmware or use alternative methods (ADB, third-party gallery) |
If none of the methods worked, check:
- π Firmware region: to China ROM more advertising than on Global/EEA. You can change your region through your Mi Account.
- π¦ Gallery version: some updates return ads. APK.
- π‘οΈ Antivirus: It can be blocked ADB-Teams. temporarily shut down protection.