Xiaomiโs MIUI-based built-in gallery is one of the most controversial firmware elements, offering easy-to-view photos, basic editing tools, and cloud backups, while aggressively imposing recommendations such as banner ads, suggestions to install new apps, editing tips, and even content from โinterestingโ publics, which not only take up space on the screen but consume up to 15 percent additional RAM each time a gallery is opened, which is critical for budget models like the Redmi 9A or Poco M3.
Compounding the problem, Xiaomi regularly updates its recommendation algorithms to make them more intrusive. For example, MIUI 14 has personalized selections based on analyzing your photos (even without the explicit consent of the user), and HyperOS has integrated with Xiaomi GetApps, which feeds โusefulโ apps right into the gallery interface. Fortunately, there are ways to disable this functionality from standard settings to deep system edits. In this article, we will examine all the current methods, including those that Xiaomi specifically hides from users.
Why Xiaomi Gallery Recommendations Are Appearing and Can They Be Removed Forever?
The recommendations in Xiaomi Gallery are part of the MIUI Ads ecosystem, a free firmware monetization system, and even if you've never clicked on banner ads, the algorithms continue to collect data about your behavior:
- ๐ Photo analysis: the system scans the metadata of the images (geolocation, shooting time, filters used) to form โinterestingโ proposals.
- ๐ Mi Account integration: If you are logged in, recommendations are pulled from your search history in Mi Browser and activity in Mi Community.
- ๐ฑ Connecting to other apps: The gallery is sharing data with Mi Video, Music and even Xiaomi Cloud to offer โrelevantโ content.
Technically, you can only remove the recommendation mechanism completely with root rights or custom firmware. However, in 90% of cases, it is enough to disable key settings and restrict the application's access to data. It is important to understand that after the MIUI update, some parameters can be reset, so we recommend combining several methods for a stable result.
โ ๏ธ Note: On models with HyperOS (e.g. Xiaomi 14 or Redmi Note 13 Pro)+) Part of the settings moved to the section Special features โ System applications. If you don't find the menu items in the instructions, check this section.
Method 1: Disabling recommendations through standard gallery settings
The simplest method that works on most devices without any additional manipulation is suitable for Xiaomi, Redmi, Poco and Black Shark on MIUI 12-14 and HyperOS:
- Open the Gallery app.
- Slap the icon. โฎ (three points) in upper right corner.
- Select the Settings item.
- Go to the Recommendations or Personalization section (the name depends on the firmware version).
- Turn off all sliders: ๐ Show recommendations ๐ Personalized content ๐ Offers from Xiaomi ๐ Advertising in the gallery (if any)
Save the changes and restart the application.
On some devices (e.g. Redmi Note 11 Pro), you may need to further disable the option to Show Interesting Content in the Cloud section of the same gallery settings. If recommendations continue to appear after the restart, clear the app cache:
Settings โ Applications โ Application Management โ Gallery โ Storage โ Clear cacheDisable mobile internet and Wi-Fi (to avoid synchronization of settings)
Check out the MIUI/HyperOS version in About Phone
Backup of important photos
Close all background applications-->
Method 2: Blocking through "Special Opportunities" (hidden method)
This is a method that works for devices where standard settings do not give full control over recommendations, and works by restricting the rights of the Gallery application at the system level:
- Open the Settings. โ Special facilities.
- Go to Special Opportunity Services (or System Applications in HyperOS).
- Find the Gallery (could be called com.miui.gallery).
- Disable all permissions related to: ๐ก Internet access ๐ Geolocation ๐ Analytics and improvements ๐ Background activity
Applications โ Application Management โ Gallery โ Permissions
Warehouse
Camera.
Microphone
This method does not remove recommendations completely, but makes them extremely rare as the application loses access to data for personalization.
๐ก
If the gallery starts to issue errors after the permissions are turned off, return the rights to the Warehouse and the Camera, but leave the blocking on the Internet and Geolocation, which will reduce the number of recommendations without critical failures.
Method 3: Use ADB-deep-switch
For users willing to take more drastic measures, it is possible to disable recommendations via ADB (Android Debug Bridge), which requires connecting the phone to a computer, but gives the best result.
You'll need:
- ๐ฅ๏ธ Computer with installed ADB Tools.
- ๐ฑ Included Debugging by USB on the phone (Settings) โ The phone. โ Version. MIUI โ Tap 7 times, then return to the additional โ For developers).
- ๐ USB-cable (preferably original).
Instructions:
- Connect your phone to your PC and open the command prompt (or Terminal on Mac/Linux) in the adb folder.
- Enter the command to check the connection: Adb devices must appear serial number of your device.
- Execute the command to disable recommendations: adb shell pm disable-user --user 0 com.miui.gallery.ads If the command doesnโt work, try the alternative: adb shell settings put global. hidden_api_policy 1
- For HyperOS devices add: adb shell pm uninstall --user 0 com.xiaomi.mirecommender
- Reboot the phone.
After these commands are completed, the ad units and recommendations will disappear from the gallery. If they appear again in the future (for example, after an update), repeat the procedure.
adb shell pm enable com.miui.gallery.adsWhat if the ADB does not recognize the device?
Method 4: Installation of an alternative gallery (radical solution)
If all previous methods have failed or you donโt want to put up with MIUI features, the most reliable way is to install a third-party gallery.This will completely eliminate the recommendations, but will require you to abandon some features (for example, cloud sync with Mi Cloud).
Best alternatives:
| Annex | Pluses | Cons | Reference |
|---|---|---|---|
| Google Photo | โ Free cloud (15GB), smart search, automatic backup | โ Requires Google authorization, collects data for personalized advertising | Play Market |
| Simple Gallery | โ Advertising-free, open source, dark theme support | โ No cloud sync, limited editing tools | Play Market |
| A+ Gallery | โ Lightweight, gesture support, hidden folders | โ Interface in English, no Russian-language support | Play Market |
| F-Stop Gallery | โ Advanced tags and filters, support RAW | โ Paid (300-500) โฝ), beginner-to-be interface | Play Market |
To make a third-party gallery the default app:
- Install the selected application from the Play Market.
- Open Settings โ Applications โ Default Applications โ Gallery.
- Select the installed gallery from the list.
- Disable or freeze the standard gallery through Settings โ Applications โ Application Management โ Gallery โ Disable.
โ ๏ธ Note: On some devices (Xiaomi) 13T, Redmi K60) You can't turn off a standard gallery without root rights, so you just have to hide its icon from the home screen and use an alternative app.
Standard MIUI
Google Photo
Simple Gallery
Another (I will write in the comments)-->
Method 5: Editing system files (for advanced users)
This method involves changing system files and requires root rights or custom recovery (such as TWRP), which is suitable for users who are willing to risk system stability for the sake of complete control.
Instructions:
- Install Root Explorer or any other file manager with root support.
- Go to /system/priv-app/MiuiGallery/MiuiGallery.apk or (for newer versions): /system/app/Gallery2/Gallery2.apk
- Copy the MiuiGallery.apk file to your computer and open it with APK Editor.
- Find the lines in the manifesto (AndroidManifest.xml) containing: com.miui.gallery.ads com.xiaomi.mirecommender and delete them.
- Save the changes, sign the APK and install it back on your phone by replacing the original file.
- Clear the cache and gallery data, then restart the device.
This method is guaranteed to remove all advertising modules from the gallery, but has risks:
- ๐จ Violation of system integrity can lead to bootloop ( looped boot).
- ๐ After updating MIUI Changes will have to be repeated.
- ๐ก๏ธ Some gallery features (e.g., video editing) may stop working.
๐ก
Editing of systems APK-If you are not sure about your skills, use methods 1-3 or install an alternative gallery.
What to do if recommendations are returned after the update
Xiaomi regularly updates its ad-show mechanisms, so even after a successful shutdown, recommendations may reappear.
- Check the versions of the applications: ๐ฑ Open the Settings. โ Annexes โ Application management โ gallery โ Version. ๐ Compare the latest updates on APKCombo. ๐ If the version has changed, repeat the disconnection through ADB or setting.
Take a look at the old version of the gallery.
1. Download the old version of APK from a trusted source (e.g., APKMirror).
2. Remove updates via Settings โ of the Appendix โ Gallery โ โฎ โ Remove updates.
3. Install the downloaded APK (allow installation from unknown sources).Block gallery updates
Settings โ Apps โ Application Management โ Gallery โ โฎ โ Disable Auto UpdateIf the problem is repeated too often, consider a custom firmware option (like LineageOS or Pixel Experience) that doesnโt have Xiaomiโs built-in ad modules.