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.

๐Ÿ“Š Which Android shell are you using?
Stock Android (Pixel, Motorola)
MIUI (Xiaomi, Redmi, POCO)
One UI (Samsung)
EMUI/HarmonyOS (Huawei)
ColorOS/Realme UI (Oppo, Realme)
Other

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 folder Downloads). 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 .apk and click on it. The system will prompt you to confirm the installation - click Install.

If nothing happens after clicking on the file, check:

  • ๐Ÿ”„ Is the file damaged (try downloading again).
  • ๐Ÿ“ฑ Does your device support APK architecture (for example, arm64 vs x86).
  • ๐Ÿ›ก๏ธ Is the antivirus blocking the installation (disable it temporarily).

โ˜‘๏ธ Preparing to install APK

Done: 0 / 5
โš ๏ธ 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 .xapk or .apkm format (for example, games with Google Play).
  • ๐Ÿ›ก๏ธ App Manager - open source code, APK signature verification, removal of system applications (requires root).

How to use:

  1. Install the selected application from Google Play.
  2. Open it and provide access to files (permission Storage).
  3. 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, then Settings โ†’ System โ†’ For developers).
  • ๐Ÿ”Œ USB cable (preferably original).

Step-by-step guide:

  1. Connect your phone to the PC and confirm trust in the device (pop-up window on the smartphone screen).
  2. Open the command line (Windows) or terminal (macOS/Linux) in the folder with adb.exe.
  3. Check the connection with the command:
    adb devices

    The device serial number should be displayed.

  4. Install APK:
    adb install path_to_file.apk

    To 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):
    1. Rename the APK extension to .zip, then back to .apk (sometimes works).
    2. Use SAI or App Manager โ€”they bypass source verification.
    3. Disable Checking installation in Settings โ†’ Applications โ†’ Manage applications โ†’ Package installer โ†’ Disable (maybe required root).
  • ๐Ÿ”ง EMUI/HarmonyOS (Huawei/Honor):
    1. Install APK via Huawei AppGallery (if the application is there).
    2. Use ADB with the command:
      adb shell pm install -i "com.huawei.appmarket" -r path_to_file.apk
    3. Disable Huawei Protection in Settings โ†’ Security โ†’ Huawei Protection (temporary solution).
  • โš™๏ธ One UI (Samsung):
    1. Install the APK via Samsung Internet (it allows installation from unknown sources by default).
    2. If it blocks Knox, try disabling it via ADB:
      adb shell pm uninstall -k --user 0 com.sec.knox.seandroid
      Warning: this may disrupt the operation of Secure Folder.
  • 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:

    1. Install Termux from F-Droid (the version from Google Play is outdated).
    2. Update the packages:
      pkg update && pkg upgrade
    3. Download the APK to the device memory (for example, in /sdcard/Download).
    4. In Termux, do:
      termux-setup-storage

      (allow access to the storage).

    5. Go to the folder with the APK and install:
      cd /sdcard/Download
      

      pm 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:
    adb install -t file.apk

    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 access in the application settings (for example, for Google Files).
    • ๐Ÿ“ฑ On some devices (for example, Sony Xperia), you need to enable Unknown sources separately 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:

    1. Use Xiaomi files to open the APK.
    2. Download the file via UC Browser or Firefox - they sometimes have permissions others.
    3. 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:

    1. Copy the file to the folder Download or Documents.
    2. Use ADB with the flag --fastdeploy:
      adb install --fastdeploy file.apk
    3. 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_SMS for the game).
    • Lack of information about the developer.