Installing apps from unknown sources on Xiaomi smartphones is a matter that worries many users. MIUI This is a security block, but sometimes it gets in the way of that limitation, like when you want to install a.apk file that's not downloaded from Google Play, or test the beta version of a program. APK on Xiaomi devices (including Redmi, POCO Black Shark, what security risks it poses and how to minimize potential threats.
It is important to understand that the procedure differs depending on the version. MIUI And Android. MIUI 14 based on Android 13 the way to setup has changed compared to MIUI 12 on Android 10. We'll look at the current ways for all modern firmware, including features for different browsers and file managers. You'll also learn how to revoke permission for a particular application if it's no longer needed.
We warn you beforehand that permission to install from unknown sources opens up access to potentially dangerous files. In this article, we will give you tips on how to check.apk before installing and what tools to use. If you are a beginner, carefully read the security section before changing your settings.
Why is Xiaomi blocking the installation from unknown sources?
By default, Xiaomi (like other Android vendors) forbids installing apps from outside of Google Play or Mi App Store.
- π‘οΈ Malware protection: According to Kaspersky, in 2023, more than 30% of mobile viruses were spread through fake.apk files, masquerading as popular games or utilities.
- π± Ecosystem Control: Xiaomi and Google are interested in users downloading apps through official stores where moderation takes place.
- π System stability: Untested applications may conflict with MIUI, causing malfunction or overheating of the device.
- π License compliance: Many.apk distributed outside stores infringe copyrights (e.g., hacked versions of paid software).
However, blocking is a inconvenience for power users, for example, developers often distribute beta versions of their applications via.apk, and some programs (such as FDroid or Aurora Store) are not published on Google Play, in which cases, unlocking is justified β but only if precautions are taken.
β οΈ Note: If you enable installation from unknown sources for your browser (such as Chrome or Mi Browser), any.apk downloaded through it can install automatically.
Methods of permitting installation APK Xiaomi (MIUI 12/13/14)
Depending on the firmware version, the path to settings may vary. Below are the current instructions for all modern versions. MIUI. Choose the option that corresponds to your version:
π MIUI 14 (Android 13/14) β new interface
In the latest versions MIUI security settings moved to the Appendix section to allow installation:
- Open the Settings β Applications.
- Select Application Management β Special permits.
- Slip on Install Unknown Applications.
- In the list, select an application (such as File Manager or Chrome) through which you will install.apk.
- Activate the Allow switch from this source.
You can then open.apk files through the app you select, and note that you have permission for each application, for example, if you've allowed installation for the File Manager, you can't install it through Chrome.
Download the file only from a verified source
Check the hash or signature APK
Turn it off. VPN (Some files are blocked by geolocation)
Close all background applications before installation-->
π MIUI 12/13 (Android 11/12) β arch-interface
In older versions, the path is a little different:
- Go to Settings. β Passwords and security.
- Select Application Permissions.
- Slip on Install Unknown Applications.
- In the list, find the desired application (for example, Mi Browser) and enable permission for it.
If you don't have the right app on the list, try opening the.apk file through it first, and the system will prompt you to issue permission, for example, if you downloaded a file via Telegram, open it in chat first, and then issue permission.
What if there is no βInstallation of Unknown Applicationsβ item?
π Alternative method through ADB (power-user)
If the standard settings do not work (for example, on custom firmware), you can allow installation through ADB. This method requires a computer connection and basic command line knowledge.
Instructions:
- Turn on Developer Mode on your phone: Settings β About Phone β tap 7 times on the MIUI version.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect your phone to your PC, open Command Prompt (Windows) or Terminal (Mac/Linux) and type:
adb shell settings put global install_non_market_apps 1Once you've done the command, restart the device. This method allows you to install globally for all applications, so only use it as a last resort.
β οΈ Attention: Teams ADB They give you low-level access to the system. Incorrect use can lead to resets or data loss. If you're not sure, use standard methods.
How to check APK pre-installing viruses?
Allowing installations from unknown sources is only half the battle, and the key is to make sure that the file you install is free of malicious code.
π Online services for verification APK
There are several reliable tools for analyzing.apk files:
- π VirusTotal (virustotal.com) β download a file, the service checks it 70+ Free, but the files are now available for analysis by other users.
- π‘οΈ MetaDefender (metadefender.opswat.com) β scans for viruses, vulnerabilities and even verifies developer certificates.
- π APKMirror Analyzer (apkmirror.com) - shows the application manifest, permissions and certificates. Useful for authentication.
Before downloading to such services, make sure that the file does not contain personal data (for example, if it is a modified application with your settings).
π± Local phone check
If you do not want to upload the file to the Internet, use mobile antivirus:
- π‘οΈ Malwarebytes β scans for spyware and ad viruses.
- π Bitdefender Mobile Security β Detects New Threats with Cloud Analysis.
- π± MIUI Security (built into firmware) β basic check, but sometimes skips complex viruses.
Important: Don't install antivirus software from unknown sources, which is against the very idea of security.
π‘
Before installation APK check his hash sum (MD5/SHA-1) Hash Droid (available on Google Play) Compare the hash you get with the official one on the developer's website, if they don't match, the file is fake.
π What should alert you in APK-file?
Even if the antivirus does not detect threats, pay attention to these signs:
- π© Size mismatch.The official.apk WhatsApp weighs ~50MB, and the one you downloaded is 10MB? Is it probably a cropped or modified version.
- π§ Suspicious permissions if the messenger requests access to the SMS, Calls or administrative rights are a warning sign.
- π Build date. In the file properties, look at the date of creation. If.apk Instagram is built in 2020, and now 2026, it's probably an old, vulnerable version.
- π€ Unknown developer in the application manifest (can be viewed through the app) APK Analyzer must be listed as the official publisher (e.g. com.whatsapp for WhatsApp).
| Sign. | What does it mean? | Risk |
|---|---|---|
| The file is called app-release-unsigned.apk | Unsigned version (often found in pirated assemblies) | High-pitched |
| Permission REQUEST_INSTALL_PACKAGES manifesto | The application can install other software without your knowledge | critical |
| The file asks to disable Google Play Protect | Trying to bypass Androidβs built-in protection | High-pitched |
| Size APK More than 100 MB for a simple application | Perhaps a mining script or other hidden functionality is built in | Medium. |
How to cancel the permission for the application?
If you no longer plan to install.apk through a specific application (such as Chrome or File Manager), it is recommended to revoke permission, which will reduce the risk of accidental malware installation.
Instructions:
- Open the Settings. β Annexes β Application management β Special permits.
- Select Install Unknown Applications.
- Find the application for which you want to revoke permission.
- Transfer the switch to the position Prohibit.
After that, installing.apk through this application will become impossible. If you need to allow it again, repeat the procedure by turning on the switch.
π‘
Revoke permissions for applications you rarely use to install APK. This reduces the risk of automatic malware installation when a file is opened accidentally.
Frequent mistakes and their solutions
When trying to install.apk on Xiaomi, users often encounter errors. Let's look at the most common ones and how to fix them.
π« Error: βInstallation blocked"
If you try to install an application, you will see a message, βInstall lockedβ or βFor securityβ, your phone is set to block installation of apps obtained from unknown sources.
- You have not given permission for the application you are trying to install.apk through.
- The file is corrupted or not intended for your version of Android.
- Google Play Protect is enabled, which blocks installation.
Decisions:
- Check that the permission is issued for the desired application (see section above).
- Download.apk again β the file may not have reached the bottom.
- Open Google Play. β Menus. β Play Protect β Turn off the scanning of the device for threats (temporarily).
π§ Error: βAnnex not installed"
The application is not installed (or App not installed) may appear for several reasons:
| Reason. | Decision |
|---|---|
| A newer version of the application has already been installed. | Remove the current version through Settings β Annexes |
| APK is designed for a different processor architecture (ARM/x86) | Download the version compatible with your device (check in Settings) β The phone. β Model) |
| There's not enough memory space. | Clear the cache or delete unnecessary files |
| Signed APK is not consistent with the installed application | Remove the old app and try again |
β οΈ Error: βParsing error"
There was a problem parsing the package means that the.apk file is corrupted or not a valid Android archive.
- The file is not full (check its size).
- It is not a.apk file, but a different file type (e.g.,.zip or.exe).
- The file is modified (for example, someone tried to hack it).
Solution: Re-download.apk from a trusted source, and if the problem is recurring, check the file through VirusTotal.
Safe sources for downloading APK
If you decide to install an app from an unknown source, it is important to choose a reliable download site.
- π APKMirror (apkmirror.com) is one of the most secure sources. All files are checked, previous versions of applications are available.
- π± APKPure (apkpure.com) is a virus-tested alternative to Google Play. APK.
- π F-Droid (f-droid.org) β open source software store. All open source applications, no ads and no trackers.
- π‘οΈ Aurora Store (available as a APK) β Anonymous client for Google Play, allows you to download apps without a Google account.
Avoid sites like apk-download-free.com or happymod.com, which often distribute modified (and potentially dangerous) versions of apps.
β οΈ Warning: Even on verified sites, fake files sometimes slip. Always check: Packet name (should match the official one, for example, com.whatsapp) Developer signature (in properties) APK) Date of last update (current version)
What if after installing the APK, the phone began to brake?
If after installing the application from an unknown source, Xiaomi began to warm up, slow down or discharge quickly, most likely, malware appeared in the system.
- Remove the suspicious app through Settings β Apps.
- Check the device with an antivirus (such as Malwarebytes).
- Clear the cache: Go to Settings β Memory. β Clean. Select Deep Cleanup and delete temporary files.
Check the application permissions
- Open Settings β Applications β Permissions.
- Find applications with suspicious rights (for example, access to the Internet) SMS or the Device Administrator and call them off.
- Reset network settings (if the problem is background traffic): Settings β SIM-maps and mobile networks β Resetting network settings
Note that the Bluetooth transmission may be interrupted and the file may not be downloaded completely.