How to reset โ€œOpen with helpโ€ to factory settings on Xiaomi smartphones

The problem with choosing a default application on Xiaomi is familiar to many users: the system persistently opens files with the wrong software, and the Open with the help menu does not have the necessary option. Especially often this happens after updating MIUI or installing third-party applications that aggressively โ€œcaptureโ€ formats. You can restore factory settings of file associations in several ways, from standard Android tools to hidden firmware functions.

On Redmi smartphones, POCO And in other Xiaomi lines, the reset algorithm is different from the pure Android. The manufacturer has modified the settings menu by adding its own limitations. MIUI 14/15 There's no direct "Reset Default" button, which you can find on Samsung or Google Pixel, and you'll have to use workarounds through your app settings, ADB-commands or even cache reset.

In this article, we will discuss all working methods for returning factory associations, including solutions for cases where the system blocks changes, and pay special attention to the nuances of MIUI 13-15 firmware and models with HyperOS, where the logic of the Open with Help menu has changed dramatically.

Why Xiaomi is dropping apps by default?

The main reason is the conflict between system and user settings: When you manually select a program to open a file (for example,.jpg through the Gallery instead of Google Photos), Android captures this in the package.xml database. However, MIUI periodically resets these settings in two scenarios:

  • ๐Ÿ”„ Firmware update: After installing the new version MIUI HyperOS can return factory associations to key formats (e.g.,.apk will open through the Packet Installer, not through the File Manager).
  • ๐Ÿ“ฆ Remove/reinstall applications: If you delete a program that was selected by default, Android automatically reassigns the format to another software โ€“ often illogically (for example,.pdf can open through the browser instead of Adobe Acrobat).
  • ๐Ÿ› ๏ธ System Optimization: Security Cleanup sometimes resets default settings, considering them to be โ€œjunkโ€ data.
  • ๐Ÿค– Third-party application activities: Some programs (e.g, ES Explorer or Total Commander: When you install, you capture file formats, even if you didnโ€™t give permission.

Another feature of MIUI 14+ is that it can block changing associations for system applications (such as Music or Video) to โ€œprotect user experience,โ€ but in practice, it makes it impossible to return factory settings through the standard menu.

โš ๏ธ Warning: If the settings change again on their own after the reset, check your smartphone for viruses. Some malware is swapping file associations to redirect users to advertising sites.

Method 1: Reset via application settings

The easiest method is to return the default settings for a particular application, which works if the problem affects only one or two formats (for example,.mp3 or.pdf).

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select a program that opens files incorrectly (e.g., the browser if it has captured.pdf).
  3. Tap on Open by default (or default settings in new versions of MIUI).
  4. Click Reset default settings (if the button is inactive โ€“ see the reason below).

Then, the next time you open the file, the system will prompt you to select the application again, and if the program you want isn't on the list, install it again from Google Play.

Make sure the right application is installed

Close all open files

Connect your smartphone to charging (in case of a long operation)

Check the space in the memory (needs at least 500 MB)

-->

Method 2: Cleaning the cache and data โ€œSettingsโ€

If a reset for a single application doesnโ€™t work, the problem may lie in the corrupted data of the system component of Settings (com.android.settings), a method that is more radical, but often solves the problem globally.

How to do this:

  1. Go to Settings. โ†’ Annexes โ†’ Application management โ†’ Three points (โ‹ฎ) โ†’ Show system-based.
  2. Find the Settings app (icon with a gear).
  3. Open Warehouse โ†’ Clear the cache and Clear the data.
  4. Reboot your smartphone.

After the reboot, all default settings will be reset, including file associations.Warning: This method will also reset:

  • ๐Ÿ”• Fingerprint/face settings
  • ๐Ÿ“ถ Saved Wi-Fi networks (you will have to enter passwords again)
  • ๐Ÿ”Š Sound and notification profiles

โš ๏ธ Note: Some Xiaomi models (e.g. Redmi Note 12 Pro)+) Cleaning the settings data may cause resetting of regional settings. After the procedure, check the language and time zone settings.

Once a week.

Once a month

Only after the updates

Never had a problem.

-->

Method 3: Use ADB-Teams (for experienced teams)

If standard methods donโ€™t work, Android Debug Bridge (ADB), a computer debugging tool, requires USB debugging and is suitable for users who are ready to work with the command line.

Step-by-step:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone โ†’ MIUI version and tap 7 times on this item.
  2. Return to Settings โ†’ Additional โ†’ For developers and enable USB debugging.
  3. Connect your smartphone to your PC, install ADB-tools and execute the command:
adb shell pm clear-defaults com.android.settings

To reset the associations of a particular application (e.g. Gallery):

adb shell pm clear com.miui.gallery

Once you have completed the commands, restart the device, a method that is guaranteed to work even on Xiaomi with HyperOS, where standard settings are blocked.

Why can the Reset button be inactive?
Starting with MIUI 12.5, Xiaomi has blocked default resets for system applications (such as Music or Video) to prevent user experience from breaking down, in which case only ADB or a full reset will help.

Method 4: Reset all settings (without data loss)

If previous methods didnโ€™t work, try a โ€œsoftโ€ reset via the recovery menu, which doesnโ€™t delete user files, but returns all system settings to factory settings.

Instructions:

  1. Turn off your smartphone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe & Reset โ†’ Reset settings (use volume buttons for navigation, power for confirmation).
  4. Confirm the action and wait for the reboot.

After the procedure:

  • โœ… All file associations will be reset.
  • โœ… Photos, videos and installed applications will be saved.
  • โŒ You will have to reconfigure Wi-Fi, Bluetooth and accounts.

โš ๏ธ Note: On HyperOS models (e.g. Xiaomi 14), the Recovery menu may be different. If you don't have Reset settings, select Wipe data, but this will result in a complete reset!

Table: Compatibility of methods with MIUI versions

MethodMIUI 12โ€“12.5MIUI 13โ€“14HyperOSNotes
Reset via application settingsโœ… Yes.โš ๏ธ Partially.โŒ No.New versions are blocked for system applications
Cleaning the Settings cacheโœ… Yes.โœ… Yes.โœ… Yes.Resets all system parameters
ADB-teamโœ… Yes.โœ… Yes.โœ… Yes.Requires debugging over USB
Reset via Recoveryโœ… Yes.โœ… Yes.โš ๏ธ Limited.HyperOS may not have an option

What do you do if nothing helps?

If all of the above methods did not work, the problem may be related to:

  1. Damage to system files: In this case, only flashing through Fastboot or MI Flash Tool will help.
  2. Virus: Install Malwarebytes or Dr.Web and scan the device.
  3. Manufacturer restrictions: On some models (such as the POCO F5 with HyperOS), Xiaomi has completely blocked changing associations for system applications.

For diagnosis, do:

adb shell dumpsys package

Look for lines with preferred activities in the output line, which will show the current file associations.

๐Ÿ’ก

If the system reassigns formats after reset, try disabling battery optimization for the problem application: Settings โ†’ Applications โ†’ Application Management โ†’ Battery โ†’ No restrictions.

FAQ: Frequent questions

Can I return the factory settings to Open with Help without a computer?
Yes, use Method 1 (reset for a separate application) or Method 2 (clean the Settings cache). ADB is only needed in difficult cases where standard methods are blocked.
Why do some formats open with the wrong application after reset?
This is due to a conflict of rights: some applications (such as WPS Office) register themselves as default handlers when installed via AndroidManifest.xml. To fix this, remove the problematic application, reset the settings, and then install it again.
Will the reset of associations delete my files?
No, all photos, videos and documents will remain in place. Except for Method 4 (Recovery reset), but even that doesn't affect user data if you chose Reset settings over Wipe data.
How to prevent automatic change of default settings?
Turn off automatic optimization in Settings โ†’ Battery โ†’ Battery โ†’ Optimize your battery and add the right apps to exceptions. Also avoid cleaners like Clean Master โ€“ they often reset file associations.
Does this work on POCO and Black Shark?
Yes, all of these are relevant for POCO, Black Shark and other Xiaomi sub-brands, as they use the same MIUI or HyperOS firmware. Except for ColorOS-based models (e.g., POCO F6 Pro for the global market), where the logic may differ.

๐Ÿ’ก

On smartphones Xiaomi with MIUI 14+ HyperOS and standard resetting associations are often blocked. ADB-commands or cleaning the "Settings" cache are the most reliable methods.