How to enable installation from unknown sources on Xiaomi Redmi: safe ways for all versions of MIUI

By default, Xiaomi Redmi smartphones block the installation of applications from third-party sources - this is a standard Android security measure designed to protect the device from malware. APK-Manual file: for example, to test beta versions of programs, use modified applications or install software not available on Google Play. In this article, we will analyze all the current ways to unlock the installation from unknown sources on Redmi, taking into account the features of different versions of the firmware. MIUI and the new HyperOS.

The procedure may vary depending on the smartphone model and operating system version. For example, on the Redmi Note 12 with MIUI 14, the path to security settings will be one, and on the Redmi 10A with MIUI 12.5, we will look at universal methods, as well as nuances for specific devices. It is important to understand that unlocking the installation from unknown sources does not eliminate the need to check files for viruses - it only removes the software limitation.

If you have never installed it before APK-Hand-held files, we recommend you first read the basic security rules, such as downloading files only from trusted resources (such as APKMirror), avoiding sites with suspicious domains, and always checking the hash amounts of downloaded files. FAQ Frequently Asked Questions About Risks and Alternative Installation Methods.

Why is Xiaomi blocking the installation from unknown sources?

Prohibition of installation APK-Files outside of Google Play are not a whim of the manufacturer, but part of the multi-level security system Android. Xiaomi further tightens these restrictions in its shell MIUI for several reasons:

First, protection against malware, and according to Kaspersky, more than 30 percent of mobile viruses are spread through fake malware. APK-files masquerading as popular apps (such as modified versions of WhatsApp or Instagram) and blocking by default reduces the risk of accidentally installing such software.

Second, compliance with Googleโ€™s policies, which require manufacturers to restrict third-party installations for devices with Google Mobile Services (GMS), and Xiaomi, as a partner of Google, is forced to follow these rules, although it gives users the option to manually disable the restriction.

Third, ecosystem control: Xiaomi is promoting its own GetApps app store, where all programs are Moderated, and by allowing installation from unknown sources, the user is effectively outside the ecosystem, which can lead to conflicts with system services.

โš ๏ธ Note: Some Redmi models for the Chinese market (with firmware without any hardware) GMS) Unlocking the installation from unknown sources can lead to automatic resetting of settings MI-account due to Xiaomi's security policy.Before changing your settings, make sure you have a backup of your data.

Method 1: Application-specific resolution (MIUI 12โ€“14 and HyperOS)

Since MIUI 12, Xiaomi has changed the logic of unlocking: now permission is not granted globally, but for every application that requests APK installation.

The instructions are relevant for all modern Redmi smartphones, including:

  • ๐Ÿ“ฑ Redmi Note 12/13 Pro (MIUI 14 / HyperOS)
  • ๐Ÿ“ฑ Redmi 11 Prime (MIUI 13)
  • ๐Ÿ“ฑ Redmi K50i (MIUI 13.5)
  • ๐Ÿ“ฑ Redmi A2 (MIUI 12.5 Enhanced)

To allow installation through a specific application (such as a file manager or browser), follow the following steps:

  1. Download. APK-The system will give you a warning: "Installation locked. Allow installation from this source?".
  2. Click Settings in the warning window and you will go to Special Permissions โ†’ Install Unknown Applications.
  3. In the list, find the application you are trying to install APKs through (such as Files or Chrome).
  4. Activate the switch Allow installation from this source.
  5. Return to the file and try again.

Download file from official source | Check hash amount (SHA-1/MD5) | Allow installation for specific application | Disable VPN (can block installation) | Check free space on the device (minimum 200 MB)

-->

If you donโ€™t have the right app on the list, try opening an APK through another (like FX File Explorer or Solid Explorer). On some firmware, Xiaomi limits the number of apps that can be given that permission (usually no more than 5-7).

๐Ÿ’ก

If the installation still does not start after unlocking, try temporarily disabling MIUI Optimization in the developer settings (Settings โ†’ About Phone โ†’ MIUI version โ€“ press 7 times, then return to Additional Settings โ†’ For Developers).

Method 2: Global unlocking via security settings (MIUI 11 and older)

On devices with MIUI 11 and earlier (such as the Redmi 9A or Redmi Note 8 Pro), unlocking is done through general security settings, a method less secure because it allows APK installation for all applications on the device.

Step-by-step:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Go to the Special Access tab (or Application Permissions on some firmware).
  3. Select Install Unknown Applications.
  4. Turn on the switch for the File (or other file manager).
  5. Confirm the action by clicking Allow in the warning window.

On some models (e.g. Redmi 7A), the path may be different: Settings โ†’ Additional settings โ†’ Privacy โ†’ Special permissions โ†’ Install unknown applications.

โš ๏ธ Note: After global unlocking, Xiaomi can automatically turn on protection when the next system update is released. To avoid this, turn off automatic update installation in Settings โ†’ The phone. โ†’ Updating the system โ†’ Settings (โš™๏ธ) โ†’ Auto-update.

If your firmware does not have the option Install unknown applications, try an alternative path: Settings โ†’ Memory. โ†’ Settings (โš™๏ธ) โ†’ Other settings โ†’ Installation from unknown sources.

Method 3: Using ADB to force unlock (for power users)

If standard methods donโ€™t work (for example, on custom firmware or devices with locked settings), you can use Android Debug Bridge (ADB), which requires connecting your smartphone to your computer and basic knowledge of working with the command line.

Advantages of the method:

  • ๐Ÿ”ง It works on all versions. MIUI HyperOS.
  • ๐Ÿ›ก๏ธ No need to root.
  • ๐Ÿ”„ Unlocking applies to all applications at once.

Instructions:

  1. Install ADB Tools on PC (you can download from the official Android website).
  2. Enable USB Debugging on your smartphone: Settings โ†’ About Phone โ†’ MIUI version (click 7 times), then Additional settings โ†’ For developers โ†’ Debugging over USB.
  3. Connect Redmi to your computer and confirm a trusted connection.
  4. Open the command line (or Terminal) macOS/Linux) Enter: adb shell settings put global install_non_market_apps 1
  5. Reset the device.

To return the standard settings, run the command:

adb shell settings put global install_non_market_apps 0
What if the ADB canโ€™t see the device?
If the adb device command doesnโ€™t show your Redmi, try this: 1. Install Xiaomi drivers USB Drivers (download on the official website). 2. Change the connection mode to File Transfer (MTP) In the notification curtain. 3. Reinstall ADB Tools to another folder (no spaces in the way). 4. Try another one USB-cable (preferably original).

Features of unlocking on HyperOS (new models of Redmi)

In 2026, Xiaomi began the transition to a new operating system HyperOS, which replaced MIUI, in which the logic of unlocking the installation from unknown sources changed: now the resolution is issued not at the application level, but at the APK package level.

Algorithm for HyperOS (relevant for Redmi K70, Redmi Note 13 Pro+ and other new models):

  1. Download. APK-The system will show an error: "Installation locked. Press Settings to allow installation".
  2. Click Settings โ†’ you will be taken to the Applications โ†’ Special Access โ†’ Package Installation.
  3. Turn on the switch for the application you are trying to install APKs through (such as HyperOS Files).
  4. Confirm the action with a password/fingerprint (if requested).

Important nuances of HyperOS:

  • ๐Ÿ”’ The permit is valid for 1 hour - after that it must be issued again.
  • ๐Ÿ“ฆ The system automatically scans APK Pre-installing viruses (using Xiaomi Cloud Security databases).
  • ๐Ÿ”„ After system updates, all permissions are reset.

On HyperOS, it is impossible to globally disable installation locks from unknown sources โ€” the resolution is always tied to a specific application and time window.This is done to improve security, but can be inconvenienced by frequent APK installation.

Risks and how to minimize them

Allowing installations from unknown sources opens up potential vulnerabilities for your device. According to Check Point, in 2023, more than 15% of mobile attacks were linked to fake devices. APK-The main risks:

Type of threatEffects of consequencesHow to avoid
Trojan programsData theft, SMS-fraud, espionageInstall APKs only from trusted sources (APKMirror, XDA)
rukitGetting root rights by an attacker, hidden miningCheck the hash amounts of files before installing
Fake updatesReplacing system applications with maliciousDo not install an APK with names like "SystemUpdate.apk"
AdwareIntrusive advertising, redirection in the browserUse Malwarebytes to scan before installation

To reduce the risks, follow these guidelines:

  • ๐Ÿ›ก๏ธ Install antivirus with scan support APK (For example, Bitdefender Mobile Security).
  • ๐Ÿ” Before installing, check the reviews about the file on the forums (for example, 4PDA or XDA-Developers).
  • ๐Ÿ”„ Regularly update the firmware in new versions MIUI/HyperOS closing vulnerabilities.
  • ๐Ÿ“ฑ Create a backup of data before installing unknowns APK (through settings โ†’ The phone. โ†’ Backup).

โš ๏ธ Note: Some Xiaomi firmware for the Chinese market (without the GMS) installation APK Unknown sources may lead to a blockage MI-This is due to Xiaomi's security policy for devices without Google services. To avoid blocking, use official global firmware.

Alternative ways to install applications without unlocking

If you donโ€™t want to risk security, but still need to install an app that isnโ€™t available on Google Play, consider these methods:

1. Installation via Xiaomi GetApps (official store)

    2.Use of the Aurora Store (alternative Google Play client)

      3. Web versions of applications (PWA)

      • ๐ŸŒ Many services (e.g. Telegram, Twitter) have web versions that can be added to the home screen as PWA.
      • ๐Ÿ“ฑ To do this, open the site in Chrome, click โ‹ฎ โ†’ Add to the main screen.

      4. Installation via Google Play on another device

        Official Google Play| Download APK from verified sites |Use Aurora Store |I Install via Xiaomi GetApps |Other way

        -->

        FAQ: Frequent questions about unlocking the installation on Xiaomi Redmi

        โ“ Why does the installation still not start after unlocking?
        Possible causes: ๐Ÿ“ฑ Lack of memory on the device (needs at least 200-300 MB of free space). ๐Ÿ”ง APK-The file is corrupted (check the hash amount or download again). ๐Ÿ›ก๏ธ The function of protection against viruses is included in MIUI Security (Stop It Temporarily). ๐Ÿ”„ Established incompatible CPU-architecture APK (for example, arm64 Solution: Try installing it. APK through another application (e.g, SAI โ€” Split APK Installer for multi-file applications).
        โ“ Can I allow installation from unknown sources without a password?
        Nana MIUI 13/14 HyperOS is required to confirm the unlock PIN-It's a security requirement, and it can't be disabled by standard means. A workaround: if you forget your password, reset your pattern lock through Mi Account (you need an Internet connection) or reset (Settings). โ†’ The phone. โ†’ Resetting settings).
        โ“ Will updates work for applications installed from APK?
        Yes, but with reservations: ๐Ÿ”„ If the app is on Google Play, the updates will come through the store (provided that the version is available). APK unmodified). ๐Ÿ“ฆ For apps that are not available in Google Play, updates will have to be installed manually. โš ๏ธ Some of them APK (For example, modified Spotify or Netflix can block updates due to pirated changes.Tip: use APKUpdater (from F-Droid) to automatically track updates installed by the user. APK.
        โ“ How to cancel the installation permit APK?
        To return standard security settings: Go to Settings โ†’ Annexes โ†’ Special access โ†’ Install unknown applications. Find the app that you've been given permission to use and turn off the switch. For HyperOS, the resolution will reset automatically through the device. 1 If you've used it, ADB, Adb shell settings put global settings install_non_market_apps 0
        โ“ Can we determine APK Xiaomi Redmi without unlocking?
        Yeah, but only through workarounds: ๐Ÿ“ฑ Use it. SAF (Storage Access Framework: Some file managers (e.g., Mixplorer) can install APK without explicit permission. ๐Ÿ”ง Install Shizuku + AppOps for forced permissions (required) ADB). ๐ŸŒ Use WebAPK (for example, through Chrome to install it) PWA-Please note: these methods may violate Xiaomiโ€™s security policy and result in system instability.

        ๐Ÿ’ก

        On HyperOS devices, APK installation permission is only 1 hour valid, and then it needs to be reissued, which is designed to improve security, but can be a inconvenience when you install applications frequently.