How to change the program to open a file on Android Xiaomi: instructions

Every Xiaomi smartphone user has at least once experienced a situation where the system automatically launches an inappropriate application when trying to open a document, photo or link. PDF-file, and it opens in the browser instead of a convenient reader, or video is run in a system player that does not support the desired codecs. This is because the Android operating system has a “default application” mechanism that assigns certain actions to specific programs.

In the MIUI shell or the new HyperOS, managing these settings has its own features that often baffle inexperienced users. The system can insist on using its own services or previously installed analogs, hiding the option of choice in the depths of the menu. Understanding how this logic works will allow you to fully personalize the device and use only the software that you really want.

In this article, we will take a look at all the ways to change programs to open files, from standard settings to advanced preference reset methods. You will learn how to manage file associations, clear the cache of actions and adjust priorities for different data formats. This knowledge will help avoid confusion and make interaction with your smartphone as efficient as possible.

The principle of file associations in MIUI and HyperOS

The Android operating system that underpins Xiaomi firmware uses a special matchsheet to determine which application should respond to a particular file type or action. When you first open a file of a particular format, such as.docx, the system scans installed programs and suggests those that have declared their ability to work with this format. If you choose the “Always” option, the system remembers that choice and no longer asks you.

The MIUI shell adds its layer of abstraction by introducing proprietary system applications for gallery, music, and video player. These embedded solutions are often high priority, which can prevent third-party counterparts from being installed as primary ones. In addition, system updates sometimes reset user preferences or, conversely, force new standards to improve "security" or integrate services.

It is important to understand the difference between “default opening” and “default launch.” The first refers to the type of content (photo, video, text), and the second refers to actions (link opening, calls, messages).

⚠️ Note: Forced replacement of system applications (e.g., standard gallery) with third-party applications ADB or root rights can cause the interface to work in an unstable way. Use only the standard customization methods described in the instructions.

Why does the system ignore choice?
Often, the system ignores the choice of a new application if the cache of the old application remains that it is preferred, in which case a simple change of setting is not enough – a complete reset of preferences or clearing of the data of a particular application is required.

Changing the application by default through system settings

The most reliable way to change the file opening program is to use the Android Settings menu, which works on all Xiaomi firmware versions, including the current versions of HyperOS based on Android 13 and 14. Here you can globally specify which browser, player or file manager will be used by the system.

You need to get into the advanced settings menu, and the path may vary slightly depending on the version of the shell, but the overall logic remains the same, and you need to find the section that manages the installed programs and their behavior.

  • 📱 Open the Settings menu and go to the Applications section.
  • ⚙️ Find Application Management or All Apps.
  • 🔍 In the upper right corner, click on the three-dot menu and select the Default Apps.
  • 📂 In the list that opens, select a category (for example, “Browser” or “Video”) and specify the desired program.

If this menu does not have the category you want (for example, for PDF files or images), this means that the choice of program for these types of files is tied directly to the opening action, not to the global setting, in which case you will need to use the preference reset method described in the next section, so that the system again asks you about the choice of program.

📊 What app do you use most often to view photos?
Standard Gallery
Google Photo
QuickPic
Another gallery-maker

Resetting Preferences: How to Get the System to Ask for Choices Again

The most common problem with Xiaomi users is that the system has “remembered” the wrong choice and no longer shows a window asking “What to open?” To fix this, you don’t need to delete the applications.

It's a safe process: it doesn't delete your personal data, photos or contacts, it just clears the matchsheet, and it puts the system back in a state where it has to ask the user for preferences again, and it's a universal solution for situations where the file is opened in the wrong program.

☑️ Algorithm of resetting preferences

Done: 0 / 1

Once you reset, try opening the file of the desired type again. The standard system window should appear on the screen with the selection of the application. Pay attention to the checkmark or the "Use by default" (or "Always") switch. If you want to be able to change programs in the future, it is better not to tick this box for now, but to choose "Only once" until you make sure that you choose the correct one.

Action.Where to look in the settingsThe result
Browser changeDefault applicationsLinks open in a new browser
Change of bellsDefault applications → PhoneCalls through a new interface
Changing SMSDefault applications → SMSMessages arrive in a new app
Resetting all settingsMenu (three dots) → Drop it.The system will ask for a choice at the next launch

It is important to note that on some versions of MIUI, the Default Apps menu can be hidden or moved, in which case you can search by settings, type the phrase “default” in the search bar, and the system will suggest the desired menu item.

⚠️ Note: Resetting application settings can temporarily change the behavior of some system functions, such as returning a standard ringtone or wallpaper.This is a normal behavior that can be easily corrected by resetting the desired parameters.

Managing Openings for Specific File Types

Sometimes you only need to change the program for one particular file type without affecting the other settings, like you want PDFs to open in Adobe Acrobat and.fb2 e-books to open in FbReader. In Android, this is regulated through the details of each particular application.

To set this up, you need to find the application list that is currently opening “wrongly” (or that you want to stop using for that format). Once you go to its properties, you can see the “Open by Default” section, which stores information about what types of files the application has “captured”.

  • 📂 Go to Settings. → Annexes → Application management.
  • 🔎 Find the app that is currently opening files (e.g., Gallery or Chrome) in the list»).
  • 🗑️ Click on Open by default and select Remove default settings or Clear by default.
  • 🔄 After that, the next time the file is opened, the system will again offer a program selection.

This method is especially useful when you install a new, more functional file manager or video player, but the system persists in running old system utilities. Cleaning the settings for the application that “interferes” is a more point-based and secure solution than completely resetting all system settings.

💡

If you can't find the app you want, search at the top of the App Management screen, and type the program name exactly as it appears on your desktop.

Using File Managers to Select Programs

An alternative and often more convenient way to manage opens is to use third-party file managers such as MX File Manager, Solid Explorer, or Files by Google. These applications have their own file association mechanisms that can override Xiaomi’s system settings.

When you open a file through a third-party file manager, it often ignores the default system choice and asks you how to open a document unless you forbid it, giving the user the flexibility of opening a drawing today in AutoCAD, and tomorrow you want to see it in your browser — just picking from the list.

In addition, many advanced file managers allow you to configure associations within the application itself. You can specify, "All.jpg files are always opened in Application X if you run from that manager." This creates a convenient layer of abstraction, allowing you to keep the system settings clean.

Xiaomi owners also have a built-in MIUI Downloads/File Manager that has its own settings, but is less flexible than third-party solutions. However, if you use it, make sure that it doesn’t tick the “Always open files with your internal player” box in its settings.

💡

Using a third-party file manager is the best way to get full control of opening files without in-depth interference with Android system settings.

Solving problems when choices are not retained

In rare cases, users encounter MIUI bugs when the system simply doesn't save the application selection, you select the program, you tick "Always," but the next time you run the file, the story repeats, which may be due to aggressive energy saving or cache errors.

The first step in this situation is to clear the cache of the Android System or Package Installer system component. Sometimes that’s where the old configuration files get stuck. It’s also worth checking the permissions: the application you want to use must have permissions to access the storage(s).

If the problem persists, try the following algorithm:

  1. Remove updates to problematic applications (if it is a system application).
  2. Clear the data and cache of both applications (the one that opens and the one that should open).
  3. Reset the device.
  4. Try opening the file again.

In extreme cases, when nothing helps, you may need to reset all application settings (not data!) through the recovery menu or special ADB commands, but this already requires technical training.

⚠️ Warning: Do not use the Play Market memory and cache cleaners to solve this problem. They often delete the necessary system caches, which leads to the opposite effect - the system starts to work slower and remember settings worse.

Frequently Asked Questions (FAQ)

Can I remove the standard Xiaomi gallery completely and put another one?
Yes, but with limitations, you can turn off the standard gallery in the application settings if the system allows it, or hide it, but completely uninstall the system application without rooting or using it. ADB-When you turn off the standard gallery, when you open the photo, the system will suggest you choose an alternative.
Why did all my file opening settings reset after the MIUI update?
Large shell updates (such as switching from MIUI 13 to 14 or HyperOS) often change the internal identifiers of applications and components, which causes the old file associations to become invalid, and the system resets them for stability, you will have to re-choose your preferred applications.
How to make sure that links from Telegram are opened not in the built-in browser, but in Chrome?
To do this, go to the settings of the Telegram itself (under the "Data and Memory" or "Application"), find the "Open Links" option and select "In System" or a specific browser. If this option is not available, clear the default settings for the Telegram app in the general Android settings, as described above.
Is it safe to use the “Reset App Settings” command?
Yes, it's safe. This command doesn't delete your personal files, contacts, messages, or installed applications, it just returns system preferences (which app is the main one, which default permissions, background restrictions) to factory values.
What if the application is not in the “Open with Help” list?
This means that the installed application does not support the file type or has not registered itself in the system as supporting this format.Check the description of the application in Google Play or try installing a dedicated viewer that guarantees support for the format you need.