Files on Android are opened by those applications that the system considers โ€œsuitableโ€ by default. But what to do if PDF opens in the browser instead of Adobe Acrobatand the video starts in the wrong player? Or worse, when the system persistently offers the same application, ignoring your preferences? In this article, we will look at all the ways change file associations on Android, including hidden settings and workarounds for stubborn systems.

The problem is complicated by the fact that smartphone manufacturers (Samsung, Xiaomi, Huawei) often modify the standard Android interface, hiding the necessary options in non-obvious menus. In addition, after OS updates (for example, to Android 14), the application assignment logic may change. We tested all methods on devices with Android 10โ€“14 and collected current solutions - from basic to advanced.

Why Android โ€œforgetsโ€ your file opening settings

The system can reset file associations for several reasons:

  • ๐Ÿ”„ Application update. After the update, some apps (for example, VLC or WPS Office) again offer themselves as the โ€œdefault applicationโ€.
  • ๐Ÿ“ฑ Reset settings. Even a partial reset (for example, via Settings โ†’ System โ†’ Reset application settings) erases all user associations.
  • ๐Ÿค– OS errors. In Android 12+ sometimes a bug occurs when the system ignores manual settings and opens files through Google Files or Browser.
  • ๐Ÿ“ฆ Application conflict. If several apps of the same type are installed (for example, two archivers), Android may be โ€œconfusedโ€ in priorities.

It is interesting that on some firmware (for example, MIUI from Xiaomi) the system actively blocks changing associations for โ€œsystemโ€ formats (for example, .apk or .mp4). In such cases, workarounds will be required - we will talk about them in the section about advanced methods.

๐Ÿ“Š How often do you have to change applications for opening files on Android?
Constantly - the system resets the settings
Sometimes, when installing new apps
Next - only for specific formats
I never change

Method 1: Change the app through the file context menu

The fastest method is to use the built-in Android menu when opening file. It works on all versions of the OS, but has limitations (more on that below).

  1. Find the file in any file manager (for example, Google Files, Total Commander or standard Explorer).

  2. Touch the file with one finger and hold 1-2 seconds until the context menu appears. On some firmware (One UI from Samsung), you must first click on the three dots in the upper right corner.

  3. Select item Open with (or Open with on English firmware).

  4. In the list of applications, tap on the desired app, then check the box next to Always (or Just once, if you want to open the file once).

Method limitations:

  • โŒ Does not work for .apkfiles - Android always offers a package installer.
  • โŒ On some firmwares (ColorOS, Realme UI) option Always may be absent.
  • โŒ If the required application is not in the list, you will have to use another method.

Make sure that the desired application is installed

Check whether the application supports this format file

Close all background apps (especially file managers)

Reboot the device if there were previous failures-->

Method 2: Set the default application in Android settings

If the context menu does not work, try changing the settings through the system menu. This method is universal, but the path to the options differs depending on the version of Android and firmware.

For pure Android (Pixel, Motorola, Nokia):

  1. Go to Settings โ†’ Applications.
  2. Tap on the three dots in the upper right corner and select Default applications.
  3. Scroll to section Open supported links or Defaults.
  4. Find the file type (for example PDF or MP3) and select the desired application.

For Samsung (One UI):

  1. Open Settings โ†’ Applications.
  2. Select Default selection (or Default apps).
  3. Tap on Set as default and find the file category (for example, Audio or Documents).

For Xiaomi (MIUI):

  1. Go to Settings โ†’ Applications โ†’ Application management.
  2. Select Default applications.
  3. In the section File types find the desired format and assign the app.
What what to do if the required format is not in the list?

If your file type is not in the default settings (for example, .mkv or .flac), this means that no installed application has declared support for this extension. Solutions:

1 Install specialized software. (for example VLC for rare video formats).

2. Use a file manager with manual app selection (method 3).

3. Change the file extension manually (risky - it may damage the data).

Method 3: Use a file manager with built-in selection of apps

Some file managers (for example, Solid Explorer, FX File Explorer) allow you to flexibly manage file associations, bypassing system restrictions. Let's look at the process using an example Solid Explorer:

  1. Open Solid Explorer and find the desired file.

  2. Long press โ†’ Open with.

  3. Select the application in the list and check the box Remember selection.

  4. If the app you need is not there, tap Other applications and find it manually.

Advantages of the method:

  • โœ… Works even for formats that Android โ€œdoes not seeโ€ in standard settings.
  • โœ… Allows you to assign apps for rare extensions (for example .epub or .cbz).
  • โœ… Solid Explorer there is a history of open files - convenient for rolling back changes.
๐Ÿ’ก

If the file does not open in any app, check its integrity. Use the utility Hash Droid to calculate the hash sum (MD5/SHA-1) and compare with the original value (if known).

Method 4: Advanced methods for stubborn systems

If standard methods did not work (for example, on Huawei EMUI or Oppo ColorOS), you will have to use workarounds. These methods require caution, but are guaranteed to work.

Method A: Resetting all file associations

Sometimes the system โ€œforgetsโ€ all settings after resetting the application cache. To do this:

  1. Go to Settings โ†’ Applications.
  2. Tap on the three dots โ†’ Reset application settings (or Reset app preferences).
  3. Confirm the action. Warning: This will reset all settings to default, including notifications and permissions.

Method B: Using ADB (for advanced users)

If you have access to ADB (Android Debug Bridge), you can manually reset associations for a specific format. Connect your phone to the PC and do:

adb shell cmd role remove-default-holder <package_name> <mime_type>

Where:

  • <package_name> โ€” application identifier (for example, com.android.chrome for Chrome).
  • <mime_type> โ€” file type (for example, application/pdf for PDF).

Example: to remove Chrome as the default app for PDF, enter:

adb shell cmd role remove-default-holder com.android.chrome application/pdf
๐Ÿ’ก

The ADB method is the only way to change associations for .apkfiles on some firmwares (for example, MIUI 14), where the system blocks manual settings.

Method C: Editing the file mime.types (risky)

On rooted devices, you can manually edit the system file /system/etc/mime.typesby adding or changing associations. can lead to unstable operation of the OS.

โš ๏ธ Attention: Editing system files without root access or through unverified utilities can cause bootloop (boot loop) Before making changes, create a backup copy via TWRP or OrangeFox Recovery.

Method 5: Third-party utilities for managing associations

If manual methods do not help, use specialized applications We tested 5 utilities - the best options are in the table below:

Application Supported Formats Requires root? Features
Default App Manager All standard MIME types No Simple interface, works on Android 5โ€“14
Open With Any (including custom) No Allows you to create rules for folders
MIME Type Editor Only for rooted devices Yes Editing system ones mime.types
File Commander Limited list No Built-in selection of apps when opening

Recommendation: Optimal for most users Default App Manager โ€”it does not require root access and covers 90% of cases. If you need fine tuning (for example, for rare formats like .m3u8), try Open With.

โš ๏ธ Attention: Some utilities (for example, MIME Type Editor) may conflict with firmware Samsung Knox or Huawei EMS. On corporate devices, their use may lead to account blocking due to security policy.

Common errors and how to find them avoid

When changing file associations, users often encounter typical problems. Let's look at the most common ones:

  • ๐Ÿ”ง "The required application is not in the list"

    Cause: the application has not declared support for this MIME type Solution: update the app or use an alternative (for example, VLC instead of the standard player).

  • ๐Ÿ”„ "Settings are reset after reboot"

    Cause: firmware bug or conflict with the optimizer (for example MIUI OptimizerSolution: disable auto-optimization in the battery settings.

  • ๐Ÿ“‚ "You can't change the APK app"

    Reason: Android security limitation. Solution: use ADB (method 4B) or a third-party installer (for example, SAI).

  • ๐Ÿšซ "The system ignores my settings"

    Reason: manufacturer blocked changing associations (often by Huawei or OppoSolution: reset application settings (method 4A).

If none of the methods helped, check:

  1. If several manager files are installed (they may conflict).
  2. Is the mode enabled For developers with the option Do not save actions.
  3. Is the file damaged (try opening it on another device).

FAQ: Answers to frequently asked questions

Is it possible to change the app for opening APK files?

On most devices, no. Android is tightly bound .apk to the system package installer. Workarounds:

  • Use ADB (method 4B).
  • Install an alternative installer (for example, SAI), but it will only work for manual installation.

On some firmware (for example, LineageOS) this limitation does not exist.

Why were all associations reset after the Android update?

This is the standard behavior of the system during major updates (for example, from Android 12 to 13). problems:

  • Before updating, make a backup via Titanium Backup (root required).
  • Use a file manager with cloud backup (for example, Solid Explorer + Google Drive).
How to return standard file associations?

There are two method:

  1. Partial reset: Settings โ†’ Applications โ†’ Reset application settings.
  2. Full reset: Settings โ†’ System โ†’ Reset settings (will delete all data!).

Some devices (Samsung, Xiaomi) have an option Reset to factory settings (save media files) โ€”it will save photos and videos, but reset all system settings.

Is it possible to assign different apps for the same format in different folders?

Yes, but only with the help of third-party utilities like Open With. For example, you can configure:

  • Everything .mp3 in a folder Music opens in Poweramp.
  • Files .mp3 in the folder Ringtones - in the standard player.

Limitation: this only works within one file manager. Android system settings do not support such rules.

Why are some formats (for example, .mkv) not shown in the default settings?

Android shows in the settings only those formats for which at least one installed application has declared supportIf your format is missing:

  1. Install a app that supports it (for example, VLC for .mkv).
  2. Reboot the device - sometimes the system updates the list of MIME types only after a reboot.
  3. Use a file manager with manual selection (method 3).