How to unlock applications on Xiaomi: from basic settings to advanced methods

Xiaomi, Redmi and POCO smartphones based on the MIUI branded shell are known for strict restrictions on the operation of third-party applications. Users often face a situation when the system blocks the launch of programs for security reasons, battery optimization or lack of digital signature. In this article, we will analyze all the current ways of unlocking, from simple changes in settings to technical solutions for power users.

It's important to understand that MIUI blocks applications for a reason: it's part of a strategy to protect against malware and save charge. However, sometimes restrictions work wrongly, for example, for legal games, messengers or utilities, we will show how to bypass the lock without risking security, and also warn about the possible consequences for the guarantee and stability of the system.

This article will be suitable for MIUI 12-14 device owners (including HyperOS), as well as those who have been updated via fastboot or custom firmware, and if your application fails to launch because of an error called โ€œApplication not installedโ€ or โ€œDevice Administrator blocked,โ€ you will find a solution here.

1. Check the basic settings of MIUI

Before resorting to radical methods, make sure the problem isn't in the standard system settings.MIUI automatically limits background activity to save battery, which can be perceived as locking.

Open Settings โ†’ Applications โ†’ Application Management and select the blocked application. Check the following settings:

  • ๐Ÿ”„ Autorun: Allow if disabled (important for messengers and services).
  • ๐Ÿ“ฑ Background Activity: Enable without limitation.
  • ๐Ÿ”‹ Battery Optimization: Add to Exceptions (path: Settings) โ†’ Battery โ†’ Optimizing the battery).
  • ๐Ÿ›ก๏ธ Special Permits: Check access to notifications, geolocation, and other features.

If the application still doesnโ€™t work, move to the next section. Please note that some system utilities (e.g. com.miui.securitycenter) may override these settings, as weโ€™ll discuss later.

๐Ÿ“Š What kind of Xiaomi model do you have?
Redmi Note 12/13
POCO X5/F5
Xiaomi 13/14
Redmi 10/11
Another model

2 Unlocking through "Security" and "Permissions"

The MIUI shell uses a built-in Security Center that can block applications based on several criteria: no signature, suspicious behavior, or conflict with other programs.

  1. Go to Settings. โ†’ PapaSSWORD & SECURITY โ†’ Authorization and revocation (or security) โ†’ Permissions in Russian-language firmware).
  2. Find the tab "Blocked Applications" or "Special Permissions".
  3. In the list, find the desired application and click Unblock or Allow.

If there is no item with blocked applications, try an alternative path:

  • ๐Ÿ” Open Security. โ†’ Scan and run system checks.
  • ๐Ÿ› ๏ธ After scanning, click on Risk Management โ€“ blocked programs may be displayed there.
  • ๐Ÿ“Œ In some versions MIUI The lock is hidden behind the Settings item โ†’ Annexes โ†’ Three points (โ‹ฎ) โ†’ Special access โ†’ Installation of unknown applications.

๐Ÿ’ก

If the app disappeared from the menu after blocking, try to find it through a search in the settings (the magnifier icon in the upper right corner).

3.Use of ADB to Remove Restrictions

If standard methods donโ€™t work, itโ€™s Android Debug Bridge (ADB), a debugging tool that lets you manage system settings through a computer, which is suitable for users willing to work with the command line.

You'll need:

  • ๐Ÿ’ป Computer with installed ADB-driver.
  • ๐Ÿ“ฑ Included debugging by USB on a smartphone (path: Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times press to unlock the developer mode, then Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ USB-cable (preferably original).

Connect your phone to your PC and execute the following commands in cmd (or Terminal on Mac/Linux):

adb devices

(Your device should be displayed. If not, check the driver and allow debugging on your phone.)

adb shell pm list packages -f

(Look for a blocked application package, such as com.whatsapp.)

adb shell pm uninstall -k --user 0 name packet

(This command will reset the appโ€™s settings for the current user, which sometimes removes the lock.)

To unlock the APK installation from unknown sources:

adb shell settings put global install_non_market_apps 1
What if the ADB canโ€™t see the device?
1. Make sure that the "File Transfer" mode is enabled" (MTP) plug-in. 2. Try another one. USB-cable. 3. Install drivers for your Xiaomi model manually (you can download it on the phone). [en.miui.com](https://en.miui.com/)). 4. Restart your phone and PC. 5. On the phone in the developer settings, turn off and turn on "Debugging by" again. USB".

4 Unlocking through Mi Unlock (for system restrictions)

Some applications are blocked at the bootloader level, especially if you are trying to install custom software or modified APK. In this case, the official Mi Unlock Tool utility will help, but it requires:

  • ๐Ÿ”“ Unlocked bootloader (if it is blocked, you will have to wait 7-30 days after you link your Mi Account).
  • ๐Ÿ“ฑ Xiaomi account tied to the device.
  • ๐Ÿ’พ Backup data (unlocking will reset the phone to factory settings!).

Instructions:

  1. Download Mi Unlock Tool from the official website.
  2. Launch the utility on your PC and log in to your Mi Account.
  3. Connect your phone in Fastboot mode (turn off the device, then press Volume Down + Power).
  4. Follow the instructions of the program to unlock the bootloader.

Once you unlock the bootloader, you can install custom firmware (like LineageOS or Pixel Experience) where there are no MIUI restrictions, but this will void the warranty and may cause the device to run unstable.

๐Ÿ’ก

Unlocking the bootloader is an irreversible process, even after blocking some functions (for example, Mi Pay or Widevine) L1 for HD-Content may stop working.

5. Advanced Methods: Magisk and Xposed

For users with ROOT-There are more flexible tools available for circumventing restrictions, one of which is Magisk, which allows you to modify system files without changing the system partition.

What can be done with Magisk:

  • ๐Ÿ”ง Install the "Disable" module MIUI Optimization โ€“ It disables aggressive optimization MIUI, clampdown.
  • ๐Ÿ›ก๏ธ Use the App Systemizer module to transfer applications to the section /system/priv-app, That automatically removes the restrictions.
  • ๐Ÿ”“ Apply the Universal SafetyNet Fix patch if the blocking is related to Googleโ€™s security check.

To install Magisk:

  1. Unlock the bootloader (see the previous section).
  2. Install custom Recovery (TWRP or OrangeFox).
  3. Please. ZIP-Magisk file through Recovery.
  4. Download the required modules in the Magisk Manager application and activate them.

The alternative is the Xposed Framework (or its LSPosed fork for Android 10+), which allows you to change the behavior of system and third-party applications through modules, for example, the module "MIUI Optimizations Disabler" completely disables MIUI optimizations.

โš ๏ธ Note: Using Magisk or Xposed can lead to a soft-brick (cyclical reboot) device if the modules conflict with the firmware.Always do a backup through TWRP before experimentation!

6.Alternative solutions: cloud services and emulators

If you can not unlock the application on the device itself, consider the workarounds:

MethodDescriptionPlusesCons
Xiaomi CloudInstallation of the application through the Xiaomi cloud service (not available for all regions).โœ… Official methodโœ… Without risk to the systemโŒ Limited Application CatalogueโŒ Requires an account for Mi
Android emulatorRun a blocked application on a PC via BlueStacks, LDPlayer or Genymotion.โœ… It works even for the system blocked. APKโœ… No changes on the phoneโŒ Requires a powerful PCโŒ Uncomfortable for mobile games
APK MirrorDownload the original APK with APKMirror and install manually.โœ… Up-to-date versions of applicationsโœ… No Viruses (Community Verified)โŒ Risk of Installing an Incompatible VersionโŒ Manual update
Virtual spaceUsing apps like Island or Shelter to isolate in a separate profile.โœ… Bypassing restrictions MIUIโœ… Keeps the main system cleanโŒ Tough setupโŒ Not all applications work correctly

For enterprise users whose devices are managed through MDM (Mobile Device Management), unlocking may not be possible without the consent of the administrator, in which case the only way out is to use a second phone or emulator.

Frequent Mistakes and How to Avoid Them

When trying to unlock apps, users often face typical problems, and here are the most common ones and ways to solve them:

  • ๐Ÿšซ "Application not installed": Reason: conflict of signatures or damaged APK. Solution: Download the file again from a trusted source (e.g. APKMirror) and clear the cache to Settings before installing it. โ†’ Warehouse โ†’ Cache data.
  • ๐Ÿ”’ "Blocked by Device Administrator": Reason: Security Policy MIUI or corporate governance (MDM). Solution: Check the settings in Settings โ†’ PapaSSWORD & SECURITY โ†’ Device administrators and disable unnecessary administrators.
  • โšก "Application immediately closed": Reason: lack of permissions or conflict with the MIUI Optimization.Solution: Enable all permissions for the application manually and disable battery optimization.
  • ๐Ÿ”„ "After rebooting, the lock is back": Reason: Reset settings MIUI Solution: Use it. ADB-command to permanently exclude the application from optimization: adb shell dumpsys deviceidle whitelist +packet

โš ๏ธ Note: If you are using Xiaomi EU ROM (Unofficial firmware, some system applications (e.g. com.miui.securitycenter) can automatically block modified software. APK. This will only help to disconnect the security center through ADB: adb shell pm disable-user --user 0 com.miui.securitycenter It's Risky! disabling protection will make the device vulnerable to malware.

Backup important data|Check the battery charge (minimum) 50%)|Ensure a stable Internet connection|Shut down. VPN/proxy (may interfere with) ADB)|Write down the name of the blocked application packet-->

FAQ: Answers to Frequent Questions

Can I unlock the app without ROOT?
In most cases, standard settings are sufficient. MIUI or ADB-team. ROOT Only required for deep system modifications (e.g., disabling miui.optimization).
Why does MIUI block legitimate applications?
MIUI uses aggressive optimization algorithms that sometimes misclassify applications as โ€œpotentially dangerous,โ€ especially for modified-signature applications (e.g. patched APKs), programs that request administrator permissions (VPNs, antiviruses), and applications that run in the background (messengers, activity trackers), and blocking may also work due to regional restrictions (e.g., some applications are not available in China).
How to unlock an app if it has disappeared from the menu?
If the application is propalo from the launcher, but installed (check in Settings โ†’ Applications), try: Reboot the phone. Clear the launcher cache (Settings โ†’ Applications โ†’ Launcher โ†’ Warehouse โ†’ Clear cache). Install an alternative launcher (for example, Nova Launcher). Restore the application through ADB: adb shell cmd package install-existing name packet
Will Google Play work after unlocking the bootloader?
Yes, but there may be problems with: SafetyNet: some apps (like banking or Netflix) will not work. The solution is installing Magisk module to pass the check. Widevine L1: once unlocked, can drop to L3, which will limit the quality of streaming (for example, Netflix or Disney+). To return Widevine L1, sometimes it helps to install the original vendor firmware or use the Widevine Fix patch for Magisk.
Can I unlock Xiaomi system applications?
Technically, yes, but it's highly discouraged. System applications (e.g. com.miui.home or com.android.settings) are responsible for stability. MIUI. Removing or modifying them can result in: Cyclical Bootloop; loss of functionality (e.g., missing notification panels); inability to update by air (OTA). If you need to disable the system application, use ADB-command: adb shell pm hide the name of the package (instead of deleting it, it simply hides it from the system).