How to Unlock Application Installation on Xiaomi: The Complete Guide

Xiaomi smartphones based on MIUI They block the installation of applications from third-party sources by default, which is a standard security measure designed to protect the device from malware. APK-Manual files: to test betas, use modified applications or programs not available on Google Play. In this article, we will discuss all the current ways to unlock the installation on different versions. MIUI (including MIUI 14 and HyperOS), and we will also tell you how to get around typical errors such as "Installation is locked" or "Unknown source".

It is important to understand that allowing installation from unknown sources carries risks: viruses, spyware or unstable application operation. APK Only with trusted resources (such as APKMirror) and always check hash files. If you are a beginner, first read the section on possible threats.

The instructions in the article are relevant for all modern devices Xiaomi, Redmi, POCO Android 11-14 based Black Shark and older models (such as the Mi 8 or Redmi Note 7) may require additional steps โ€” they are marked separately.

Why Xiaomi is blocking APK installation and when to turn it off

Blocking installations from unknown sources is part of Googleโ€™s and Xiaomiโ€™s security policy to:

  • ๐Ÿ›ก๏ธ Virus protection: 90% of Android malware spreads through fake malware APK.
  • ๐Ÿ”’ Data Leak Prevention: Many Pirate Apps Have Backdoors to Steal Logins/Passwords.
  • ๐Ÿ“ฑ Compatibility: not all APK optimized MIUI, malfunction.

However, there are legitimate reasons to disable the lock:

  • ๐Ÿ”ง Install modified firmware (e.g. LineageOS or Pixel Experience).
  • ๐ŸŽฎ Testing beta versions of games (e.g. Genshin Impact or Honkai: Star Rail before official release).
  • ๐Ÿ› ๏ธ Use of specialized utilities (e.g, ADB, Magisk or LSPosed).
  • ๐ŸŒ Access to regionally blocked applications (e.g. Google Pay in Russia).

โš ๏ธ Note: If you unlock the installation for banking applications (e.g. SberBank Online or Tinkoff), some features may stop working due to system integrity checks.

Starting with MIUI 12, Xiaomi tightened control: now the permission must be given separately for each application that will install APK (This makes it more complicated, but it increases security.

๐Ÿ“Š Why you are unblocking the installation APK Xiaomi?
Installation of modified firmware
Testing beta versions of applications
Use of pirated software
Install applications that are not available in my area
Other

Method 1: Standard unlocking in MIUI 13/14 hyperos

On the new versions MIUI (13, 14) and HyperOS, the installation permission algorithm has changed:

  1. Download APK-file on the device (for example, via a browser or Telegram).
  2. Try to open the file. The system will give an error: "Installation is locked. For security reasons, your device is blocking the installation of applications from unknown sources."
  3. Clicking โ€œSettingsโ€ in the error window will automatically redirect you to the permissions menu for a specific application (such as Chrome or Files).
  4. Activate the "Allow installation from this source" switch.

If the window with the error does not appear, find the downloaded window. APK file โ†’ Download it, tap it, and follow the instructions above. Importantly, the permission is only valid for the application you opened through. APK. For example, if you have given Chrome access, but you are trying to install the file through the FX File Explorer: The same error will appear.

AnnexThe path to permitsNote
Browser (Chrome, Mi Browser)Settings โ†’ Annexes โ†’ Application management โ†’ browser โ†’ Permits โ†’ Installation of unknown applicationsThe resolution is automatically reset after the browser update.
File Manager (Files, Solid Explorer)Settings โ†’ Annexes โ†’ Application management โ†’ Files. โ†’ Permits โ†’ Special permits โ†’ Installation of unknown applicationsSolid Explorer may require additional memory access permission.
TelegramSettings โ†’ Annexes โ†’ Application management โ†’ Telegram โ†’ Permits โ†’ Installation of unknown applicationsIn some regions, Telegram doesnโ€™t appear in the list โ€“ use a browser.

On HyperOS devices (e.g. Xiaomi 14 or Redmi) K70) The permission menu may be called "Special Access Rights" instead of "Install Unknown Applications." If you don't find an item, search the settings for "Unknown Sources".

Download APK from a trusted source (e.g. APKMirror)

Check the hash file (MD5/SHA-1) source-site

Make sure that the device has enough memory (minimum 500MB free)

Turn it off. VPN/Proxies โ€“ They can block access to settings-->

Method 2: Unlock on older versions MIUI (up to 12.5)

On devices with MIUI 11, MIUI 12 or earlier versions (e.g. Redmi Note 8 Pro, Mi) 9T) The process is simplified, but has nuances:

  1. Go to Settings. โ†’ Confidentiality.
  2. Select "Special permissions" (or "Additional" on some models).
  3. Activate the "Installation from unknown sources" switch.

On some firmware (e.g, MIUI 10 for Redmi Note 5) this item may be in Settings โ†’ Safety. If you don't, try:

  • ๐Ÿ” Use search by settings (magnifying glass icon in the upper right corner).
  • ๐Ÿ“ Check the section "For developers" (activated by 7-fold tap on "Version" MIUI" on the telephone").

โš ๏ธ Attention: On devices with MIUI Global Stable for Europe or India can operate a regional lock. 9A With Indian firmware, the item "Unknown sources" is hidden - you will need to change the region through Settings โ†’ Additionally. โ†’ Region (select "Russia" or "Global").

If the installation is blocked after activation of permissions, try:

  • ๐Ÿ”„ Reset the device.
  • ๐Ÿ—‘๏ธ Clear the cache of Google Play Services (Settings) โ†’ Annexes โ†’ All applications โ†’ Google Play Services โ†’ Memory. โ†’ Clear the cache).
  • ๐Ÿ› ๏ธ Disable โ€œApp Checkโ€ in Google Play Protection (Play Store) โ†’ Menus. โ†’ Play Protection โ†’ Settings โ†’ Scanning the device for threats).

Method 3: Unlocking through ADB (for power users)

If standard methods do not work (for example, on corporate devices or firmware with strict restrictions), you can use the ADB (Android Debug Bridge. This is a good way to do it:

  • ๐Ÿ“ฑ Devices with MIUI, where access to settings is blocked (for example, work phones).
  • ๐Ÿ”ง Advanced users who want to automate the process.

This will require:

  1. Computer with installed ADB-driver.
  2. Included Debugging by USB on a smartphone (Settings) โ†’ The phone. โ†’ Version. MIUI โ†’ 7 times to tap โ†’ return to Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  3. USB-cable (preferably original).

Next, run commands in the terminal (or PowerShell for Windows):

adb devices


adb shell settings put global install_non_market_apps 1

If you want to allow installation for a specific package (e.g. Chrome), use:

adb shell pm grant com.android.chrome android.permission.INSTALL_PACKAGES
Team team.Description
install_non_market_apps 1Global installation permission from unknown sources.
pm grant [package] INSTALL_PACKAGESApp-specific permission (replace [packet] with a name, such as com.android.chrome).
settings put global verifier_verify_adb_installs 0Disabling the verification ADB-installations (may be required for MIUI 14).

โš ๏ธ Attention: Use ADB Resets some security settings. After installing the application, we recommend returning the default values:

adb shell settings put global install_non_market_apps 0


adb shell pm revoke [package] android.permission.INSTALL_PACKAGES

๐Ÿ’ก

If ADB does not recognize the device, try reinstalling drivers in Windows or using the adb kill-server command before connecting.

Typical errors and their solutions

Even after unlocking, users are faced with errors.

Error: "Installation blocked by device administrator"

Reason: The device has a security policy active (e.g., on a work phone or after resetting).

  • ๐Ÿ”“ Remove device management (Settings) โ†’ Passwords and security โ†’ Device administrators).
  • ๐Ÿ“ต If the device is corporate, contact the IT-lock-out.
  • ๐Ÿ”„ Reset the settings to factory (Settings) โ†’ The phone. โ†’ Resetting settings), but it will delete all data!

2. Mistake: "APK damaged"

Causes and solutions:

  • ๐Ÿ“ฅ Incomplete download: download the file again, preferably via Wi-Fi.
  • ๐Ÿ” Incompatibility with architecture: check that APK designed arm64 (Most modern Xiaomi models or armeabi (older models).
  • ๐Ÿ›ก๏ธ Blocking antivirus: disable Google Play Protection or Mi Security during installation.

Error: "Inadequate memory"

Even if there's space on the device, the system can block the installation.

  • ๐Ÿ“ Memory in the section /data: Go to Settings. โ†’ Memory. โ†’ Your internal memory and at least free up your 1โ€“2 GB.
  • ๐Ÿ—‘๏ธ App cache: Clear the cache through Settings โ†’ Annexes โ†’ Clear the cache for everyone.
  • ๐Ÿ”ง Fragmentation: If a memory card is used, move it APK inner-memory.
How to check the processor architecture on Xiaomi?
Open the app. CPU-Z (available on the Play Store) โ†’ soc โ†’ Instruction Set, if specified arm64-v8a, Your device supports 64-bit applications. armeabi-v7a It'll take 32-bit. APK.

Risks and how to minimize them

Installation permission from unknown sources opens access to:

  • ๐Ÿฆ  Malware: Trojans, miners, spies (e.g. Joker or Anubis).
  • ๐Ÿ•ต๏ธ Phishing: Fake applications of banks or social networks to steal data.
  • ๐Ÿ“‰ Unstable work: unoptimized APK They may cause overheating or rapid battery discharge.

How to reduce the risks:

  1. Check the sources: download APK only with APKMirror, APKPure or official developer sites.
  2. Use antiviruses: Malwarebytes or Bitdefender (but not Mi Security, which often gives false positives).
  3. Check the hashes: compare MD5 or SHA-1 downloaded file with references on the site.
  4. Limit permissions: After installation, disable Installation from Unknown Sources for the application you are using.

HyperOS devices have Sandbox built in to isolate suspicious applications. Activate it in Settings โ†’ Annexes โ†’ Special rights โ†’ Sandstone.

๐Ÿ’ก

Never install. APK, permitting SMS, Calls or access to special features, unless it is a banking/system application.

Alternative ways to install applications

If unlocking doesnโ€™t help or you donโ€™t want to take risks, consider alternatives:

1. Installation via Google Play (if the app is hidden)

Some apps (such as Google Pay or Netflix in unsupported regions) can be installed legally:

  • ๐ŸŒ Use it. VPN (For example, ProtonVPN to change the region in the Play Store.
  • ๐Ÿ”— Generate a direct link to APK via services like APKCombo (they download the file directly from the Play Store).
  • ๐Ÿ“ฑ Install Aurora Store โ€“ an alternative client for Google Play without regional restrictions.

2.Use of the app stores

The proven alternatives to Google Play are:

  • ๐Ÿ›’ APKMirror: Official APK modificationless.
  • ๐Ÿ›’ F-Droid: Open source software (e.g. Signal or K-9 Mail).

3. Installation through TWRP (firmware)

If you need to flash Magisk or custom recovery:

  1. Unlock the bootloader through the Mi Unlock Tool.
  2. Install TWRP for your model (instructions on XDA Developers).
  3. Please. ZIP-file via Install โ†’ Select ZIP into TWRP.

โš ๏ธ Warning: Unlocking bootloader resets device to factory settings! on some models (e.g. Xiaomi) 13T) Requires a Mi Account binding and a wait of 7-14 days after the unlock request.

Frequent questions

Can I unlock the installation? APK without access to settings (for example, on the work phone)?
If the device administrator has blocked access to the settings, the only options are: Contact the IT-The company department is unlocking. ADB (if USB Commands: adb shell pm uninstall -k --user 0 com.miui.securitycenter # Removes Mi Security (requires root) adb shell settings put global install_non_market_apps 1 Reset your device to factory settings (delete all data!) on enterprise Android Enterprise devices, these techniques may not work.
Why is the installation of APK blocked again after the MIUI update?
It's standard behavior. MIUI: after major updates (e.g., with the MIUI 13 on MIUI 14) some permissions are reset. Solutions: Re-allow installation for the desired application (browser/file manager). If the item is gone, change device region to "Global" in the settings. HyperOS may require re-registration of the Mi Account.
How to install APK on Xiaomi without a computer?
If you donโ€™t have a PC, use: Cloud Services: Download APK Google Drive or Telegram, then download it to your phone. File managers: Solid Explorer or FX File Explorer can download files directly. Alternative stores: install Aptoide or Aurora Store through the browser (they will request permission to install). APK). For models without Google Play (such as Xiaomi for China), first install Google Installer from the Google Installer. XDA.
What applications cannot be installed manually?
Avoid manual installation for: ๐Ÿฆ Banking applications (Sberbank, Tinkoff, VTB): They check the integrity of the system and can block access. ๐ŸŽฎ Anticheat games (PUBG Mobile, Free Fire, Call of Duty: Mobile: Root or Modified APK lead to a ban. ๐Ÿ”’ Annexes with DRM (Netflix, Disney+, Spotify: may not start or work with errors. ๐Ÿ“ฑ System utilities (Mi Fit, Mi Home): better to install from the Mi App Store. For these categories, use only official sources!
How to roll back changes after installation APK?
If the device becomes unstable after installing the application: Remove the application through Settings โ†’ Apps. Turn off installation permission from unknown sources for the installer you are using. Clear the cache and data of Google Play Services and Mi Security. If the problem persists, reset (Settings) โ†’ The phone. โ†’ Resetting settings.To remove system applications (e.g., preinstalled Mi Browser) will require root or ADB: adb shell pm uninstall -k --user 0 com.android.browser