Allows you to install applications from unknown sources on Xiaomi Mi 9: Safe Guide 2026

Why you need an installation from unknown sources and when to turn it on

Xiaomi Mi 9 defaults to block installation of apps not downloaded from Google Play or Mi App Store, a 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 in official stores.

The inclusion of the Unknown Sources option on MIUI (Xiaomi firmware) has its nuances. Unlike pure Android, the settings are hidden deeper, and after system updates, its location may change. In addition, the Xiaomi Mi 9 with MIUI 12 and later requires separate installation permission for each browser or file manager, which adds complexity.

Before you activate this feature, assess the risks: unofficial APKs may contain viruses, spyware or vulnerabilities. Always check the source of the file and use antivirus scanners like Malwarebytes or the built-in MIUI Security Scan.

Device Preparation: Verification of MIUI Version and Access Rights

Before you change your security settings, make sure your Xiaomi Mi 9 runs on the current firmware version. Open Settings โ†’ About Phone โ†’ MIUI Version. If the version is older than MIUI 12.5, we recommend updating through Settings โ†’ System Update โ€“ this minimizes bugs when installing APK.

Also check if Safe Mode is activated, and it has a system-level lockdown on the installation from unknown sources, so just restart your phone to exit Safe Mode.

  • ๐Ÿ“ฑ Minimum version MIUI for stable operation: 12.0.3.0 (Android 10) and higher
  • ๐Ÿ”’ Superuser rights: Not required (root not required to enable option)
  • ๐Ÿ›ก๏ธ Recommended Antivirus: Built-in Security Scan or Bitdefender

โš ๏ธ Note: Some firmware for Xiaomi Mi 9 (especially global versions) may display a โ€œpotential threatโ€ notification after activating the โ€œUnknown Sourcesโ€ option. MIUI โ€” You can ignore it if you are sure of the source. APK.

๐Ÿ“Š What version? MIUI You can use the Xiaomi Mi 9?
MIUI 12
MIUI 12.5
MIUI 13
MIUI 14
The other one/I don't know

Step-by-step: how to enable APK installation on Xiaomi Mi 9

The activation process depends on the version of MIUI. Below is the general instruction that works on most firmware for the Mi 9 (including MIUI 12/13/14). If the menu items do not match, see the section "Alternative methods" below.

  1. Open Settings (the gear icon on the home screen or in the application menu).
  2. Go to the Appendix section โ†’ Application management.
  3. In the upper right corner, press three dots (โ‹ฎ) and select Special Access.
  4. Slip on the item Install unknown applications (in some versions โ€“ Installation from unknown sources).
  5. Select the application you will install APK through (such as Files, Chrome, or Mi Browser).
  6. Activate the switch Allow installation from this source.
  7. Confirm the action in the window with the warning.

โ˜‘๏ธ Preparation for installation APK

Done: 0 / 4

After completing these steps, you can install APK-Note that the permission is only valid for a specific source, for example, if you have allowed installation for Chrome, but try to open it. APK Through Files, an error will appear.

โš ๏ธ Note: Xiaomi Mi 9 with firmware for the Chinese market (CN ROM) The path to settings may be different, in which case use the adb method (see section "For advanced users").

Alternative ways of inclusion (if the standard does not work)

If the above method didn't work, try one of the alternatives, which will be useful for non-standard firmware or after resetting.

Method 1: Security settings (for MIUI 11 and older)

  1. Open the Settings. โ†’ PapaSSWORD & SECURITY (security).
  2. Select Authorization and Blocking.
  3. Activate Unknown Sources (may be called Installation from External Sources).

Method 2: ADB (for experienced users)

If settings are blocked by device policies, use the command:

adb shell settings put global install_non_market_apps 1

After completing the command, restart the phone.

MethodSuitable for MIUI versionsIs root required?Difficulty
Standard (through "Special Access")12โ€“14No.โญ
Through "Security."10โ€“11No.โญโญ
ADB-teamAnybody.No (but you need a PC)โญโญโญ
Editing by build.propAnybody.Yes.โญโญโญโญ

๐Ÿ’ก

If you still block APK installation after you turn on the option, try temporarily disabling Mi Protect in your security settings. Remember to turn it back on after you install it!

Frequent mistakes and how to fix them

Even after the option is turned on correctly, Xiaomi Mi 9 users may encounter errors.

Error: "Installation locked"

Reason: MIUI blocks installation due to APK signature mismatch (e.g. if the file is corrupted or signed with an unknown certificate).

  • ๐Ÿ”„ Decision 1: Download APK from official source.
  • ๐Ÿ›ก๏ธ Solution 2: Turn off Signature Check in Developer Settings (if Developer Mode is enabled).
  • ๐Ÿ“ฑ Solution 3: Try installing it through another file manager (e.g. Solid Explorer).

Error: "Application not installed"

Reasons:

  • ๐Ÿ“Œ APK It is designed for a different processor architecture (e.g, arm64 vs x86).
  • ๐Ÿ“Œ There is not enough space in the section /data.
  • ๐Ÿ“Œ Conflict with an already installed version of the application.

Fix: Check APK compatibility with Xiaomi Mi 9 (Snapdragon 855 processor, arm64-v8a architecture) and clear the cache in Settings โ†’ Storage.

How to check the APK architecture?
Use the APK Analyzer app from Google Play or the aapt dump badging command name file.apk | grep nativeCode on your PC.

How to minimize risks when installing an APK

Enabling the Unknown Sources option opens up potential vulnerabilities. Follow these rules to protect the Xiaomi Mi 9:

  • ๐Ÿ” Check the source: Download APK Only from trusted sites (APKMirror, APKPure) or official developer resources.
  • ๐Ÿ›ก๏ธ Use antivirus: Before installing scan the file via VirusTotal or built-in MIUI scanner.
  • ๐Ÿ”„ Update your firmware: Install security patches regularly in Settings โ†’ Updating the system.
  • ๐Ÿ“ฑ Limit permissions: After installation, check the application permissions in Settings โ†’ Annexes โ†’ Permit management.

After installation APK Your phone is braking or warming, immediately remove the app and run a virus check. On Xiaomi Mi 9, you can use the built-in Security Scan (Settings) โ†’ PapaSSWORD & SECURITY โ†’ Security Scan).

โš ๏ธ Note: Some banking applications (e.g. SberBank or Tinkoff) may block work on devices with the Unknown Sources option enabled, in which case temporarily turn it off after installing the desired option. APK.

๐Ÿ’ก

Even if you trust the APK source, never disable Google Play Protect (located in Settings โ†’ Google โ†’ Security).

For advanced: additional settings through ADB

If you want more flexible control over the APK installation, you can use Android Debug Bridge (ADB), which is suitable for power users and allows you to:

  • ๐Ÿ”ง Allow installation for all sources at the same time.
  • ๐Ÿ”ง Bypassing restrictions MIUI certain APK.
  • ๐Ÿ”ง Automate the process for multiple devices.

To start, turn on the Developer Mode:

  1. Go to Settings. โ†’ The phone.
  2. Tap 7 times on the MIUI version until the notification โ€œYou became a developerโ€ appears.
  3. Return to Settings โ†’ Additional โ†’ For developers and activate Debugging over USB.

Now connect the Xiaomi Mi 9 to your PC and execute the commands:

adb devices


adb shell settings put global install_non_market_apps 1




adb shell settings put secure install_non_market_apps 1

Once the device is restarted, the APK installation restrictions will be removed globally. To return the standard settings, replace the 1-by-0 commands.

FAQ: Answers to Frequent Questions

Can I turn on the installation from unknown sources without access to settings?
If the settings are blocked (for example, corporate policy), the only way is to use ADB or obtain root rights. On the Xiaomi Mi 9 without root, you can try resetting to factory settings (Settings โ†’ Additional โ†’ Recovery and Reset), but this will delete all data.
Why is the MIUI update switching off again?
This is a feature of Xiaomi firmware: after major updates (for example, from MIUI 12 to MIUI 13), some security settings are reset. You will have to re-authorize the installation for the desired applications. To avoid this, make a backup of the settings through Settings โ†’ Additional โ†’ Backup before updating.
How do I know which app has permission to install APK?
Go to Settings โ†’ Applications โ†’ Application Management โ†’ Special Access โ†’ Install unknown applications. This will be a list of all active resolution programs. To revoke access, just deactivate the switch next to the application name.
Is it safe to install APK on Xiaomi Mi 9 with unlocked bootloader?
Unlocked bootloader does not affect installation security by itself. APK, But it increases the risk of using informal firmware, if you've installed custom recavers (e.g., custom recavers, TWRP), Always check the signature. ZIP-For additional protection, enable DM-Verity in the kernel settings (if supported).
What if the application does not start after installing the APK?
The reasons may be different: APK Configured for a different version of Android (check Settings) โ†’ The phone. โ†’ Android version. No permissions required (see Settings) โ†’ Annexes โ†’ Managing permits and granting rights manually. MIUI-Optimizations (try to disable the battery) โ†’ Optimize the battery for this application.If nothing helps, delete APK And find an alternative build.