Installing applications from files .apk on Android is a task that every user faces sooner or later. If you downloaded a game from an alternative store, are testing a beta version of a app, or restoring a deleted application without access to the package installer is indispensable. However, smartphone manufacturers (especially Xiaomi, Huawei and Samsung) often hide or block this function by default, citing security.
In this article we will look all current methods of launching the APK installer - from standard methods through a file manager to bypassing restrictions through ADB and third-party utilities. You will learn how to enable installation from unknown sources on different versions of Android (from Android 8 Oreo to Android 15), what to do if the system blocks installation, and how to avoid common mistakes. We will pay special attention to branded shells: MIUI, EMUI, One UI and ColorOS, where the process may differ.
We warn you right away: some methods require unlock bootloader or superuser rights (root). If you're a beginner, start with the safe methods (Sections 1-3) and move on to the advanced ones (Sections 4-6) only if necessary.
1. Standard method: installation via a file manager
The simplest and safest method is to use the built-in Android package installer, which automatically starts when you open a .apkfile. However, before this, you must allow installation from unknown sources.
The instructions are relevant for most devices, but the interface may differ slightly. For example, on Samsung Galaxy s One UI 6 the path will be different than on Xiaomi Redmi Note 12 s MIUI 14s. If you donโt find the item you need, use the search in the settings (magnifying glass icon in the upper right corner).
- ๐ฑ Step 1. Download the file to the device memory (for example, to the folder
.apk-file to the device memory (for example, to a folderDownloads). Avoid suspicious sources - virus APKs can steal data or damage the system. - โ๏ธ Step 2. Open
Settings โ Applications โ Special access โ Install unknown applications(on some devices:Settings โ Security โ Advanced). - ๐ Step 3. Select the application through which you will install the APK (usually this Files, Google Chrome or Explorer).Activate the switch
Allow installation from this source. - ๐ Step 4. Open file manager, find the downloaded
.apkand click on it. The system will prompt you to confirm the installation - clickInstall.
If nothing happens after clicking on the file, check:
- ๐ Is the file damaged (try downloading again).
- ๐ฑ Does your device support APK architecture (for example,
arm64vsx86). - ๐ก๏ธ Is the antivirus blocking the installation (disable it temporarily).
โ๏ธ Preparing to install APK
โ ๏ธ Attention: On devices with MIUI (Xiaomi) may be required additional permission in Settings โ Applications โ Application management โ Package installer โ Permissions. If the option is missing, update the firmware to the latest version.
2. installers: APK installers from Google Play
If the standard installer does not work or is blocked by the shell, use third-party utilities. They not only simplify the process, but also offer additional functions: mass installation, APK backup, virus checking.
The best applications for installing APK:
- ๐ฆ APK Installer (from Rubika Studio) - supports batch installation and analysis of the APK manifest.
- ๐ง SAI (Split APK Installer) - indispensable for installing applications in the
.xapkor.apkmformat (for example, games with Google Play). - ๐ก๏ธ App Manager - open source code, APK signature verification, removal of system applications (requires root).
How to use:
- Install the selected application from Google Play.
- Open it and provide access to files (permission
Storage). - Select
.apk-file in the app interface and follow the prompts.
| Application | Split-APK support | Virus scan | Requires root | Advertising |
|---|---|---|---|---|
| APK Installer | โ No | โ Yes (VirusTotal) | โ No | โ Yes |
| SAI (Split APK Installer) | โ Yes | โ No | โ No | โ No |
| App Manager | โ Yes | โ Yes (manual) | โ ๏ธ Partially | โ No |
On Huawei devices with EMUI 10+, the standard installer may block the APK due to security policy. In this case, use SAI or disable signature verification via ADB (section 5).
3. Installation via ADB (for advanced users)
If the graphical interface is not available (for example, due to a system failure or manufacturer restrictions), you can install the APK via Android Debug Bridge (ADB). This method requires a connection to a PC, but works even when the screen is locked (if USB debugging is enabled).
What you will need:
- ๐ฅ๏ธ A computer with ADB and Fastboot installed.
- ๐ฑ A smartphone with enabled
USB debugging(Settings โ About phone โ Build number- tap 7 times, thenSettings โ System โ For developers). - ๐ USB cable (preferably original).
Step-by-step guide:
- Connect your phone to the PC and confirm trust in the device (pop-up window on the smartphone screen).
- Open the command line (Windows) or terminal (macOS/Linux) in the folder with
adb.exe. - Check the connection with the command:
adb devicesThe device serial number should be displayed.
- Install APK:
adb install path_to_file.apkTo install replacing an existing application:
adb install -r path_to_file.apk
If this occurs error INSTALL_FAILED_USER_RESTRICTED, it means installation from unknown sources is blocked on the device. Unlock it via ADB:
adb shell settings put global install_non_market_apps 1
โ ๏ธ Attention: On some devices (for example, Samsung Knox), using ADB may reset the counter Knox, which will void the warranty. Check the status of Knox in download mode (Volume Down + Power).
If ADB does not recognize the device, try reinstalling the drivers (for example Google USB Driver for Windows) or use another USB port (preferably USB 2.0).
4. Bypass MIUI restrictions, EMUI and One UI Manufacturers often modify Android by adding additional layers of protection. For example, they can block the installation of an APK if the file was not downloaded through their browser. data-i="164">requires manual permission for each new source.
Manufacturers often modify Android to add additional layers of security. For example, Xiaomi V MIUI 13+ may block APK installation if the file was not downloaded through their browser. A Huawei V EMUI requires manual permission for each new source.
Workarounds for popular skins:
- ๐ฑ MIUI (Xiaomi/Redmi/POCO):
- Rename the APK extension to
.zip, then back to.apk(sometimes works). - Use SAI or App Manager โthey bypass source verification.
- Disable
Checking installationinSettings โ Applications โ Manage applications โ Package installer โ Disable(maybe required root).
- Rename the APK extension to
- ๐ง EMUI/HarmonyOS (Huawei/Honor):
- Install APK via Huawei AppGallery (if the application is there).
- Use
ADBwith the command:adb shell pm install -i "com.huawei.appmarket" -r path_to_file.apk - Disable
Huawei ProtectioninSettings โ Security โ Huawei Protection(temporary solution).
- Install the APK via Samsung Internet (it allows installation from unknown sources by default).
- If it blocks Knox, try disabling it via
ADB:
Warning: this may disrupt the operation of Secure Folder.adb shell pm uninstall -k --user 0 com.sec.knox.seandroid
What to do if MIUI asks for a password to install an APK?
On some Xiaomi devices, when installing an APK, a password request for your Mi account appears. This is related to the function Xiaomi Account โ Remote blocking. Solutions:
1. Enter the password for your Mi account (if you forgot, restore it via official website).
2. Disable remote locking in Settings โ Xiaomi Account โ Security.
3. Install APK via ADB (section 3).
5. Installing APK without connecting to a PC (via Termux)
If you do not have a computer, but have superuser rights (root, you can install the APK directly on your phone using the terminal Termux. This method is suitable for advanced users and requires caution.
Instructions:
- Install Termux from F-Droid (the version from Google Play is outdated).
- Update the packages:
pkg update && pkg upgrade - Download the APK to the device memory (for example, in
/sdcard/Download). - In Termux, do:
termux-setup-storage(allow access to the storage).
- Go to the folder with the APK and install:
cd /sdcard/Downloadpm install file_name.apk
If required root, add su before the command:
su -c pm install filename.apk
โ ๏ธ Attention: Use of root may result in loss of warranty, system crash or blocking of some functions (for example, Google Pay or Banking applications). Before experiments, make a backup copy via TWRP or Swift Backup.
6. Solving common errors when installing APK
Even if you follow the instructions correctly, errors may occur. Let's look at the most common ones and how to fix them.
| Error | Cause | Solution |
|---|---|---|
INSTALL_FAILED_INVALID_APK |
The file is damaged or incomplete | Download the APK again, check the hash (for example, through Hash Droid) |
INSTALL_FAILED_UPDATE_INCOMPATIBLE |
Conflict with the installed version | Delete the old application or use adb install -r |
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED |
Incompatibility with the Android version | Check minSdkVersion in the APK manifest (use APK Editor) |
INSTALL_FAILED_TEST_ONLY |
APK is for testing only | Install via ADB with the flag -t:
|
If the error is not listed in the table, check the installation log:
adb logcat | grep -i "packageinstaller"
Additional tips:
- ๐ If the APK does not install on Android 11+, try disabling
Batch file accessin the application settings (for example, for Google Files). - ๐ฑ On some devices (for example, Sony Xperia), you need to enable
Unknown sourcesseparately for each user profile. - ๐ง If the package installer is missing from the system (for example, after an unsuccessful removal), restore it via TWRP or flash the stock firmware.
Most errors when installing APK are associated with file incompatibility (architecture, Android version) or blocking by the manufacturer. Always check the application requirements before installation.
FAQ: Frequently asked questions about installing APK on Android
โ Is it possible to install an APK without the "Unknown Sources" permission?
No, this is an Android security limitation. However, on some firmware (for example LineageOS), you can disable verification via ADB:
adb shell settings put global verify_apps 0
Risk: this makes the device vulnerable to malware.
โ Why is APK downloaded via Chrome not installed on Xiaomi?
B MIUI installations from browsers are blocked by default. Solutions:
- Use Xiaomi files to open the APK.
- Download the file via UC Browser or Firefox - they sometimes have permissions others.
- Install SAI and open the APK through it.
โ How to install an APK on Android 13+ with file restrictions?
In Android 13 and newer there are additional restrictions on access to files. To install the APK:
- Copy the file to the folder
DownloadorDocuments. - Use
ADBwith the flag--fastdeploy:adb install --fastdeploy file.apk - If it blocks Google Play Protect, disable it in
Settings โ Google โ Security.
โ Is it possible to install an APK on Android without superuser rights?
Yes, in most cases cases root not required. Exceptions:
- Installation to the system partition (
/system/app). - Replacement of system applications (for example, Google Play Services).
- Bypass Samsung Knox or Huawei App Verification.
For normal installation of user APK rights root not necessary.
โ How to check APK for viruses before installation?
Use the following tools:
- ๐ VirusTotal โupload the file to site to scan with 70+ antiviruses.
- ๐ก๏ธ MetaDefender - analyzes APK for the presence of malicious code.
- ๐ฑ App Checker (Android application) - scans installed and uninstalled APKs.
Pay attention to:
- Unusually large size file.
- Request to provide suspicious permissions (for example,
READ_SMSfor the game). - Lack of information about the developer.