How to change the application to open files on Xiaomi: 3 ways + tips for choosing programs

Xiaomi smartphones based on the proprietary shell MIUI automatically assign standard applications to open files of different formats. However, not always โ€œnativeโ€ programs are suitable for users: someone prefers Google Photos instead of Xiaomi Gallery, and someone needs advanced features to work with PDF. Fortunately, the system allows you to easily reassign file associations โ€“ but it is not always obvious where to look for these settings.

In this article, you will find three proven ways to change the default application to Redmi, POCO or Mi (including the 2023-2026 models), as well as a unique life hack to reset all file associations to factory settings if the system has forgotten your previous choices.

Why Xiaomi automatically selects applications for opening files

The MIUI shell (like any Android) uses the Intent mechanism, which is a special system โ€œqueryโ€ that determines which application should open a file. When you first try to open a file, for example, an.apk file, the system asks โ€œOpen with...โ€ and offers a list of installed programs. Your choice is saved in the settings as the default application.

Problems begin when:

  • ๐Ÿ”„ You have removed the application that was selected by default (the system may "forget" the alternative).
  • ๐Ÿ“ฑ After the MIUI update, the association settings were reset.
  • ๐Ÿšซ Some formats (e.g.,.mkv or.flac) open with the wrong player.
  • ๐Ÿ”’ The system blocks the selection of third-party programs for "system" formats (e.g.,.vcf for contacts).

Xiaomi is also actively promoting its services, such as Mi Video, Mi Music or Mi File Manager, so they are often prioritized even when there are more functional alternatives (such as VLC or FX File Explorer).

๐Ÿ“Š What app do you most often change to Xiaomi?
gallery
Music player
Video player
File manager
Other

Method 1: Change the default application through MIUI settings

The simplest and most versatile method is to use the built-in shell settings, which works on all current versions of MIUI (12-14) and is suitable for most file formats.

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Slip on the three dots in the upper right corner and select the Default Apps.
  3. In the list, find the file category (for example, Browser, Gallery, Music) and tap it.
  4. Select the app you want from the list, and if you don't have one, install it from Google Play first.

Note that in some versions of MIUI, the path may be slightly different. For example, on POCO F5 with MIUI 14, the section is called Settings โ†’ Applications โ†’ Default, and on Redmi Note 12, the section is called Settings โ†’ System โ†’ Default Applications.

Make sure that the new application is installed

Close all open files

Check out the MIUI version (Relevant for MIUI 12 and later)

Backup important files (in case of failure)-->

Important: If the application you want isn't listed, it doesn't support opening this file type, for example, Google Photos won't be able to open.zip archives even if you try to assign it.

Method 2: Reassigning through the context menu of the file

If you only need to change an application for one specific format (like.pdf or.mp4), itโ€™s more convenient to do it directly from the file manager.This method works even on older versions of MIUI (9โ€“11) and doesnโ€™t require a deep knowledge of settings.

Instructions:

  1. Open Files (or any other file manager, such as Solid Explorer)
  2. Find the file format you want (e.g. document.pdf) and click on it long.
  3. In the menu that appears, select Open with... (or Open in...).
  4. Slip by Always (or Use by default) and select the desired application.

If the option is always inactive, the system has already memorized your previous choice.

  • ๐Ÿ”ง Reset the default settings first (see Method 3).
  • ๐Ÿ“Œ Or use a third-party file manager (e.g., FX File Explorer) that ignores system limitations.

๐Ÿ’ก

If you often work with rare formats (such as.heic or.webp), install specialized applications like HEIC Viewer or WebP Converter before you try to open them.

Method 3: Reset all file associations to factory

If the system has forgotten your previous choices or you want to start with a clean slate, you can reset all application settings by default.

  • ๐Ÿ”„ After the MIUI update, some files are opened by the wrong application.
  • ๐Ÿšซ The system blocks the selection of third-party programs (e.g., for.apk or.vcf).
  • ๐Ÿ“ฑ You have transferred your phone to another person and want to remove your preferences.

How to reset your settings:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Slip on the three dots in the top right corner and select Reset App Settings (or Reset Default Settings).
  3. The system will warn you that this will cancel all your previous choices.

Effects of discharge:

  • โœ… You will see the application selection box again when you open any file.
  • โŒ All applications will reset permissions (you will have to re-allow the camera, microphone, etc.).
  • โš ๏ธ Some system applications (e.g., Mi Video) may again be prioritized.
What if the reset didn't help?
If after reset, the system still opens files with the wrong application, try: 1. Clear the cache and data of the Settings application (in Settings โ†’ Apps โ†’ All Apps โ†’ Settings). 2. Remove updates for system applications (for example, Mi Video or Mi Music) through Settings โ†’ Apps โ†’ Remove updates. 3. Use the ADB- command to force reset: adb shell pm clear-defaults (deved Developer Mode and PC connection enabled).

Table: Best applications for opening files on Xiaomi

Not all programs are equally good at different formats, and here are proven solutions for popular file types optimized for MIUI:

File typeRecommended annexAdvantagesDeficiencies
.pdf, .djvuFoxit PDF Reader or Xodo PDFAbstract support, cloud storage, night modeAdvertising in the free version
.mp4, .mkv, .aviVLC or MX PlayerSupport for all codecs, control gestures, background playbackMX Player Requires Additional Codecs for Some Formats
.zip, .rar, .7zZarchiv or RARUnpacking of multi-volume archives, creating password archivesZArchiver's interface is outdated
.docx, .xlsx, .pptxMicrosoft Office or WPS OfficeFull Word/Excel compatibility, cloud synchronizationWPS shows ads showing up
.apkAPKMirror Installer or SAIAPK Signature Verification, Split Package Installation (XAPK)Requires permission to install from unknown sources

For multimedia, you should also pay attention to Poweramp (for music) and nPlayer (for video) โ€“ they are better optimized for Xiaomi and support Hi-Res Audio on models with the appropriate chips (for example, Xiaomi 13 Ultra).

Frequent problems and their solutions

Even after reassigning applications, Xiaomi users are faced with common errors, and here are the most common ways to fix them:

1.The system ignores the choice and opens files with a standard application

This is most often the case with โ€œsystemโ€ formats, such as:

  • ๐Ÿ“ž.vcf (Contacts) โ€” MIUI enforces them through Contacts.
  • ๐Ÿ“….ics (calendar) โ€“ automatically added to the Xiaomi Calendar.
  • ๐Ÿ”Š.m4a (audio) - can open in Mi Music instead of the player selected.

Solution: Use the ADB- command to force reset associations (see spoiler above) or install an alternative launcher (e.g., Nova Launcher) that allows you to bypass the limitations of MIUI.

2. You cannot select an application for.apk files

With MIUI 12, Xiaomi blocks APK installation from third-party sources by default.

  1. Go to Settings โ†’ Applications โ†’ Application Management โ†’ Package Installer.
  2. Enable the option to Allow installation from unknown sources.
  3. Select a file manager (such as Files or Total Commander) that is allowed to install APKs.

3. After the MIUI update, all settings were reset

This is a well-known MIUI 13/14 problem, and to avoid losing settings:

  • ๐Ÿ”„ Export the list of installed applications regularly using App Manager.
  • ๐Ÿ“ฑ Use Titanium Backup to save file associations.
  • ๐Ÿ“Œ Before updating, make a backup through Settings โ†’ The phone. โ†’ Backup.

๐Ÿ’ก

If the file opening problem occurred after the MIUI update, first check if the application permissions in the Settings โ†’ Applications โ†’ Permissions section have reset.

4.Some formats are not opened by any application

This is typical for rare formats like.flac (audio) or.heic (photo).

  • ๐Ÿ” Install special programs: FLAC Player for music or HEIC to JPG Converter for images.
  • ๐Ÿ”ง Use FX File Explorer, which can open many formats through built-in extensions.
  • ๐Ÿ“ฑ On models with Qualcomm Snapdragon (e.g., POCO X5 Pro), check codec support in Settings โ†’ Additional โ†’ Codecs.

๐Ÿ’ก

If you often work with non-standard formats, install All File Opener from Google Play. This application automatically selects the right program to open the file or offers to download it.

How to prevent Xiaomi from changing the default apps

MIUI sometimes โ€œunwittinglyโ€ returns standard applications after updates or reboots.

1. disable automatic update of system applications

Go to Settings โ†’ Applications โ†’ Application Management, find Mi Video, Mi Music or Mi File Manager, tap three points and select Disable Auto Update.

2. Use ADB to block system applications

Connect your phone to your PC and execute the command:

adb shell pm hide com.miui.video

Replace com.miui.video with a batch name for an unnecessary application (e.g. com.miui.music for Mi Music).Warning: This may disrupt some MIUI features!

3.Install an alternative launcher

Launchers like Nova Launcher or Lawnchair allow you to manually assign applications to open files, ignoring the limitations of MIUI.

  1. Press your finger on your desktop and select Launcher Settings.
  2. Find the File Association (or Default Apps) section.
  3. Reassign the formats you want.

4.Return to the previous version of MIUI

If the problem started after the update (for example, the MIUI 14), you can return the old firmware via Fastboot. XDA Developers or 4PDA for your model.

๐Ÿ’ก

The most reliable way to avoid resetting is to disable automatic update MIUI in Settings โ†’ About Phone โ†’ System Update โ†’ Settings (โš™๏ธ) โ†’ Auto Update.

FAQ: Answers to Frequent Questions

Can I change the application to open SMS/MMS?
No, MIUI tightly binds messages to the Messages system app. Alternatives like Google Messages or Textra can only duplicate notifications, not replace the standard app entirely. The only workaround is to use Google Messages as the default RCS app (if your carrier supports this protocol).
Why do some files open in Mi Video after resetting?
This is a feature of MIUI: some system applications (Mi Video, Mi Music) take priority even after reset. To remove them completely from the list: Open Settings โ†’ Applications โ†’ Application Management. Find Mi Video, tap Disable (not โ€œremove updatesโ€, namely disable). Confirm action. Now the application will not appear in the list of choices. Attention: Disabling system applications can cause MIUI to malfunction (for example, a mini player will disappear in the notification curtain).
How to open files with.dat or.bin extension?
Files with.dat and.bin extensions are usually: ๐Ÿ“ฑ Backups (e.g., from Titanium Backup). ๐ŸŽฎ Game Savers (e.g., PPSSPP or emulators). ๐Ÿ–ฅ๏ธ Firmware or memory dumps. To open them: Install Hex Editor (e.g., Hex Editor Neo) to view the content. Use the program that created them (e.g., Titanium Backup for.dat) for backups. If this firmware is not trying to install a Flash Tool, use it as a file!
Can I assign different applications to different folders?
No, Android (and MIUI specifically) does not support assigning applications by default depending on file location. However, there are workarounds: ๐Ÿ“ Use a file manager with support for profiles (e.g. Solid Explorer) where you can configure different actions for different folders. ๐Ÿ”— Create shortcuts on the desktop that specify a specific application (e.g., via Nova Launcher). ๐Ÿ“Œ Use Tasker to automatically open files from specific folders by selected programs.
Why does Xiaomi not have the Open with some files option?
This happens if: ๐Ÿ” There is no application on the phone that supports this format. ๐Ÿ“ฑ The format is blocked by the system (e.g.,.vcf or.apk in some regions). ๐Ÿ”ง The file is corrupted or has the wrong signature. Solutions: Install a universal application like All File Opener. Check the file extension (sometimes hidden - turn on the display in the file manager settings). Copy the file on a PC and check its integrity.