Why you need an installation from unknown sources and when to turn it on
Xiaomi Redmi 9 defaults to blocking third-party application installations, a standard MIUI security measure designed to protect your device from malware, but there are times when you can't do without it, such as if you want to:
Install a beta version of the app before it is officially released on Google Play, download a modified APK with additional features (as is the case with YouTube Vanced or Spotify Premium), or use a regionally blocked service that is not in your App Store, and this is also true for developers testing their apps on real devices.
But it is important to understand: the inclusion of this option cancels the guaranteed protection against viruses and trojans that can enter the system through fake devices. APK-So, before activating, check the source of the download for trust โ use only official developer sites or trusted repositories like APKMirror.
Official method: through security settings
The easiest and most recommended method is activation via the settings menu, which works on all versions of MIUI (12 to 14) and does not require superuser rights.
- Open Settings on your Redmi 9 (the gear icon on the home screen or in the app menu).
- Go to the Appendix section โ Application management.
- In the upper right corner, press three dots (โฎ) and select Special Access.
- Slip on the item Install unknown applications.
- From the list, select the application you plan to install APK through (for example, File Manager, Chrome or Telegram).
- Activate the switch Allow installation from this source.
After that, you can open it. APK-Note that permission is given separately for each application, for example, if you have allowed installation through Chrome, but try to open the file through the File Manager, the system will block the action again.
Download the file only from a verified source
Check the APK hash amount (optional)
Create a backup copy of important data
Battery charge should be above 30%
Disable VPN (can block installation)
-->
Alternative Incorporation Methods (if Standard Incorporated Does Not Work)
Sometimes users find that the Installation of unknown applications is missing from the menu or inactive.
- ๐น Regional restrictions (some firmware for China is blocking this option).
- ๐น Corporate governance policy (if the phone is tied to the MDM-system).
- ๐น Firmware errors (especially relevant for beta versions) MIUI).
In such cases, try one of the workarounds:
Method 1: Through ADB (for advanced users)
If you have access to the Android Debug Bridge (ADB), follow the command:
adb shell settings put global install_non_market_apps 1This will force installation from unknown sources at the system level, and after the device is restarted, the option should appear in the settings.
Method 2: Installation with TWRP Recovery
If your Redmi 9 has a custom TWRP recap, you can flash APK directly through it:
- Download. APK-file and place it on a memory card.
- Load to TWRP (clip Power + Volume Up).
- Select Install โ Specify the path to APK โ Swipe for installation.
What if the ADB does not recognize the device?
Common mistakes and their solutions
Even after the option is turned on, users often encounter problems when installing APKs, and here are the most common ones and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Failed to install the app. | APK is corrupted or not designed for your CPU architecture | Download the file again, check for compatibility with arm64 (for Redmi 9) |
| Installation blocked by device policy | Corporate active MDM-policy or parental control | Contact the device administrator or reset the settings |
| Application not installed (without additional details) | Conflict with the existing version of the application | Remove the old app and re-install |
| Lack of memory | APK requires more space than is available in the system partition | Clear the cache or transfer the applications to SD-map |
If none of these solutions worked, try installing APKs via your computer using Mi PC Suite or Android Studio, and check if the installation is blocked by an antivirus (e.g. Mi Security or Google Play Protect).
First time I've tried.
Regularly (once a month)
Only for specific applications
Never used it.
-->
Security: How to minimize risks
Enabling the installation from unknown sources opens up potential vulnerabilities to mitigate the risks of:
โ ๏ธ Warning: Never install APK, Downloaded from torrent trackers or file sharing sites without verification, and attackers often mask viruses as popular apps (such as WhatsApp Mod or Clash of Clans Hack).
- ๐ก๏ธ Check the hash amount of the downloaded file (compare with the official one on the developerโs website).
- ๐ Use VirusTotal to scan APK before installation.
- ๐ Turn off permission after installing the desired application.
- ๐ฑ Update regularly MIUI โ In new versions, vulnerabilities are closed.
If the application requests suspicious permissions (such as SMS access or administrator rights) after installation, delete it immediately and check the device for viruses using Malwarebytes or Dr.Web.
๐ก
Before installing an APK, create a restore point in TWRP (if installed), which will allow you to roll back the system in the event of a failure.
What to do if the option is lost after the MIUI update
After major MIUI updates (e.g. 12 to 13), security settings may be reset if Install Unknown Applications disappears:
- Check if it is hidden in Settings โ Additional โ Privacy.
- Perform a reset of security settings: Settings โ System โ Resetting of settings โ Resetting of applications.
- If nothing helps, try to roll back to the previous version of MIUI via Fastboot.
In extreme cases, you can use the workaround through ADB (described above) or install Magisk and the App Systemizer module, which allows you to convert custom APKs into system ones.
Comparison with other Xiaomi smartphones
The process of enabling an installation from unknown sources on Redmi 9 is similar to most Xiaomi devices, but there are nuances:
- ๐ฑ On the Redmi Note. 10/11 and POCO X3 The path to the settings is identical, but in MIUI 14 Additional verification of the signature is added APK.
- ๐ฑ On the Mi 11 and newer, you may need to unlock the bootloader to install through the TWRP.
- ๐ฑ On devices for the Chinese market (China) ROM) The option is often hidden โ you need firmware Global ROM.
If you are using Redmi 9A or Redmi 9C, please note that some APKs may not be installed due to limited resources on these models due to a lack of memory in the system partition, in which case cleaning the cache or using ADB sideload will help.
๐ก
On devices with MIUI 14+, Mi Protect may need to be temporarily disabled in the security settings before installing the APK.