How to unlock the application on Xiaomi: from simple ways to ADB-team

A blocked application on a Xiaomi, Redmi, or POCO smartphone can be a real headache, especially if itโ€™s a messenger, a banking service, or a work tool. The reasons for blocking range from automatic MIUI protection (which sometimes mistakenly labels secure programs as malicious) to manually constrained through โ€œSecurityโ€ or even regional restrictions. In this article, weโ€™ll look at all the current ways to unlock, from basic settings to advanced methods using ADB and third-party utilities.

Itโ€™s important to understand that Xiaomi is actively modifying MIUI, so the interface and layout of menu items may differ depending on the firmware version (for example, MIUI 14 vs HyperOS).We took these nuances into account and brought universal solutions that work on most devices โ€“ from Redmi Note 10 to flagship Xiaomi 14 Ultra. If standard methods did not work, at the end of the article you will find alternative options, including bypassing locks through Android resolutions and even flashing (in extreme cases).

1. Check the type of lock: why does the application not start?

Before you start unlocking, determine which mechanism has restricted the program, which will save time and eliminate unnecessary actions.

  • ๐Ÿ”’ Lockdown MIUI Security: The app is labeled "suspicious" or "malicious" by the built-in antivirus. APK source.
  • ๐Ÿšซ Manual locking by the user: you (or someone else) manually disallowed the launch through Settings โ†’ Annexes โ†’ Permits.
  • ๐ŸŒ Regional restrictions: Some apps (such as Google Pay or Netflix) may be blocked due to geo-restrictions in the firmware.
  • ๐Ÿ”„ Update error: after update MIUI permissions for the application (relevant to the MIUI 13/14 HyperOS).
  • ๐Ÿ“ฑ Background Limitation: The application is not blocked completely, but its operation in the background is suspended (for example, due to battery optimization).

To diagnose the problem:

  1. If you try to run an application, if you see a notification like "Blocked by MIUI antivirus" or "This application may harm your device," it's a security lock.
  2. Go to Settings โ†’ Applications โ†’ App Management and find what you want. If there is a lock icon next to it or the word "Blocked" is a manual restriction.
  3. Check Settings โ†’ Battery โ†’ Battery Optimization. If the application is marked as โ€œLimitedโ€ โ€“ the problem is in the background.

โš ๏ธ Note: If the application is blocked immediately after installation, check if the "Block Unknown Applications Installation" mode is enabled in Settings. โ†’ Privacy โ†’ Special permissions. This is a separate setting, not related to antivirus.

2. Method 1: Unlocking through Security (for MIUI Security)

The most common case is when MIUI automatically blocks an application as "suspicious," because it has an antivirus built in that analyzes the behavior of the programs, and to unblock it:

  1. Open the Security app (the shield icon).
  2. Go to the Scanner or Antivirus section (the name may vary depending on the version of MIUI).
  3. Click on Threat Log or Blocked Items.
  4. Find your app in the list and tap it.
  5. Select the option "Unblock" or "Add to exceptions".

If the Threat Log section is empty, but the application still doesnโ€™t run:

  • ๐Ÿ” Check the Settings folder. โ†’ Annexes โ†’ Application management โ†’ Three points (โ‹ฎ) โ†’ I'll show you the system. Sometimes the lock is there.
  • ๐Ÿ“Œ Add the app to the battery optimization exceptions: Settings โ†’ Battery โ†’ Optimizing the battery โ†’ All applications โ†’ Find the right one. โ†’ No restrictions.

๐Ÿ’ก

If the application is blocked again after unlocking, try temporarily disabling the automatic security check in Settings โ†’ Privacy โ†’ Special Permissions โ†’ Security Check. Remember to turn it back on after testing!

Method 2: Reset permissions through application settings

If the application is not blocked by the antivirus, but still does not work, the problem can be hidden in the reset permissions, often after the MIUI update or reset settings, to restore access:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Find the blocked application and tap it.
  3. Select permissions and turn on all necessary (for example, Camera, Microphone, Warehouse).
  4. Go back and press Forced Stop, then restart the application.

If the permissions section is inactive or gray:

  • ๐Ÿ”ง Try to clear the app's cache: Storage โ†’ Clear the cache.
  • ๐Ÿ”„ Restart the device โ€“ sometimes it resets time constraints.
  • ๐Ÿ“ฆ If the problem persists, reinstall the app (remove and download from Google Play or the official one). APK).

Delete the application through Settings โ†’ Applications | Clear the Download folder from old APK| Download the latest version from the official source | Disable battery optimization for the application |Reboot the smartphone after installation

-->

Some system applications (like Google Play Services) may need to reset permissions through ADB.

Method 3: Unlocking through ADB (for power users)

If the standard methods didnโ€™t work and the app is still blocked, you can use Android Debug Bridge (ADB).

  • ๐Ÿ”“ Unlock system applications that cannot be changed through the menu.
  • ๐Ÿ“ฑ Resetting permissions for applications blocked at the level MIUI.
  • ๐Ÿ”ง Bypassing regional restrictions (for example, for Google Pay on global firmware).

The work will require:

  • Computer with installed ADB-driver.
  • USB-cable (preferably original).
  • USB debugging enabled on your smartphone (Settings โ†’ About Phone โ†’ MIUI version โ€“ tap 7 times, then go back to Settings โ†’ Additional โ†’ For Developers โ†’ Debugging by USB).

Instructions for unlocking:

  1. Connect your smartphone to your PC and confirm the debugging permission on the device screen.
  2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. To unlock the application, use: adb shell pm uninstall -k --user 0 name.packet Replace the name.packet with a real identifier (e.g. com.google.android.gms for Google Play Services).
  5. If you just need to reset permissions: adb shell pm clear name.packet

โš ๏ธ Attention: Misuse of the right ADB Do not delete system packets (e.g. com.miui.securitycenter) unless you are sure of the consequences.

How to find out the name of the application package?
Open Google Play on your PC, find the app and copy the ID from the address bar (for example, for Telegram it is org.telegram.messenger). or use the ADB command: adb shell pm list packages | grep "name"

5. Method 4: Bypassing regional restrictions (for Google Pay, Netflix, etc.)

Some apps (e.g. Google Pay, Netflix or Disney+) may be blocked at the firmware level due to geographic restrictions, and this is true for devices with global (Global) or Chinese (China) versions of MIUI.

MethodSuitable forDifficultyRisks.
Changing Regions in Google PlayApplications from other countries (Netflix, HBO Max)Low.Subscriptions could be dropped
Installation of VPNBypassing geo-blocking (e.g. for Google Pay)MediumSome banks block VPNs
Flip-on EU-version MIUIComplete removal of regional restrictionsTall.Loss of warranty, risk of "brick"
Magisk + Universal SafetyNet Fix ModuleGoogle Pay on uncertified devicesTall.Requires unlocking the loader

The easiest way is to change the region in Google Play:

  1. Open Google Play on your smartphone.
  2. Go to Profile โ†’ Settings โ†’ General โ†’ Country and profiles.
  3. Create a new profile for the country you want (e.g., USA for Netflix).
  4. Confirm the payment method (you can use a virtual card).
  5. Install the app through a new profile.

Google Pay and banking applications often require a SafetyNet pass, and if your device is not certified (checked through the Device ID app), you will need to:

  • ๐Ÿ”ง Install Magisk and Universal SafetyNet Fix.
  • ๐Ÿ“ฑ Hide root rights for banking applications through MagiskHide.
  • ๐Ÿ”„ Restart your device and check your status in Google Play Services.

MIUI Global|MIUI China|MIUI EU (Xiaomi.eu)|HyperOS|Other/Castomic

-->

6. Method 5: Reset security settings (extreme case)

If none of the methods worked and the application is still blocked, the problem may lie in the damaged security settings, in which case resetting MIUI Security settings will help:

  1. Go to Settings โ†’ About the phone โ†’ Reset settings.
  2. Select Reset App Settings (not a full reset!).
  3. Confirm the action. It will delete:

After restarting, try to re-install and launch the app.

โš ๏ธ Warning: This method doesn't delete personal data (photos, contacts, messages), but it resets all application settings. If the problem was permission conflicts, it should help. If not, it only leaves a complete reset or firmware reflash.

For devices with HyperOS (new firmware from Xiaomi), the path may be different:

Settings โ†’ Memory โ†’ Resetting settings โ†’ Resetting application settings โ†’

7. Alternative methods: if nothing works

In rare cases, the blocking of an application may be associated with:

  • ๐Ÿ”ง Damage to system files (for example, after a failed update).
  • ๐Ÿ“ฑ Hardware restrictions (for example, on some Redmi models for China blocked Google Play).
  • ๐Ÿ”’ Manufacturer policy (for example, Xiaomi blocks the installation of custom firmware on new devices).

In such cases, it will help:

Problem.DecisionDifficulty
Damaged firmware.Flashing through the Mi Flash Tool (requires an unlocked bootloader)Tall.
There is no Google Play.Install Google Services Framework with XiaomiToolMedium
Core-level lockingInstallation of custom recavery (TWRP) and firmware (LineageOS)Very high.

For flashing through the Mi Flash Tool:

  1. Unlock the bootloader on the official Xiaomi website (can take up to 7 days).
  2. Download the official firmware for your model.
  3. Install the Mi Flash Tool on your PC and connect your smartphone in Fastboot mode (Loudness down + Power).
  4. Select the firmware file and press Flash.

๐Ÿ’ก

Flashing is the last resort. Be sure to back up through Settings โ†’ Additional โ†’ Backup or Xiaomi Cloud before you start.

FAQ: Frequent questions about unlocking apps on Xiaomi

โ“ Why? MIUI Blocks legitimate applications (e.g. Telegram or Viber)?
MIUI Security uses a cloud-based signature database to detect threats, and sometimes legitimate applications are blacklisted because of the security threat: ๐Ÿ”„ Database updates (false positive). ๐Ÿ“ฆ Modified APK (For example, if you downloaded Telegram from Google Play). ๐ŸŒ Regional restrictions (some versions of applications are blocked in some countries) Solution: add the application to the antivirus exceptions or install it from an official source.
โ“ Can I unlock the application without a computer?
Yes, most of the time. Try: Reset permissions through Settings โ†’ Apps. Clean up cache and app data. Delete and re-install. Add in battery optimization exceptions. ADB and flashing require a PC, but these are extreme measures.
โ“ Why is the application blocked again after unlocking?
It's because of this: ๐Ÿ”„ Automatic scanning (MIUI Security periodically checks applications). ๐Ÿ“ฑ Firmware updates (reset permissions). ๐Ÿ”’ Conflict with other programs (e.g., third-party antiviruses) Solution: disable automatic verification in Settings โ†’ Privacy โ†’ Special permissions or add an appendix to exceptions.
โ“ How to unlock system applications (e.g. Camera or Gallery)?
System applications are rarely blocked, but if it happens: Try resetting their settings: Settings โ†’ Annexes โ†’ Three points (โ‹ฎ) โ†’ Show system-based โ†’ Find the app โ†’ Warehouse โ†’ Clear the data. If the application is deleted or damaged, restore it through the Mi Flash Tool (firmware required). HyperOS can help roll back to the previous firmware version. Remove system applications through the ADB (pm uninstall -k --user 0) It can lead to unstable operation of the device!
โ“ Are these methods working on POCO and Black Shark?
All of the methods described are relevant to: ๐Ÿ“ฑ POCO (base MIUI or hyperos). ๐ŸŽฎ Black Shark (using modified versions) MIUI). Exception: Black Shark may have different paths to security settings due to custom interface.