Guides

How to install an APK on Android safely

Installing an app from a file instead of Google Play is normal for open-source and region-restricted apps, but it moves the safety checks to you. This guide covers where to get the file, how to check it, how to allow the install for one app only, and what to do afterwards.

How to install an APK on Android safely
Start
The developer's own site or the release they name
Check
Compare a published SHA-256 before opening the file
Install
Allow one app, then turn that permission off
Original diagram for this guide. It is not a store screenshot.
Original diagram for this guide. It is not a store screenshot.

Apvoxa editorsPublished Reading time 2 min

    Start with the developer's own channel

    The safest APK is the one the developer publishes: a download page on the official website, the "Releases" page of the project's GitHub repository, or a repository the developer names, such as F-Droid. Look the address up yourself instead of following a link in an advert or a chat message.

    Avoid sites that re-upload paid apps for free, "mod" versions or files with names like "premium unlocked". Those files are signed by someone other than the developer and you cannot tell what was changed.

    Check the file before you open it

    Many developers publish a SHA-256 checksum or a signature next to the download. On a computer, sha256sum (Linux), shasum -a 256 (macOS) or Get-FileHash (Windows PowerShell) prints the checksum of the file you downloaded; it must match exactly.

    Apvoxa shows the SHA-256 of every hosted file and the fingerprint of the certificate that signed it. If you already have the app installed, the new file must be signed with the same certificate, otherwise Android refuses to install it as an update.

    Very small files for big apps, or a file that asks for permissions the app clearly does not need, are reasons to stop.

    Allow installs from one app, not from everywhere

    Since Android 8 the permission is granted per app. When you open the APK from your browser or file manager, Android asks whether that app may "install unknown apps". Allow it, install the file, then go to Settings > Apps > Special app access > Install unknown apps and switch it off again.

    Keep Google Play Protect turned on. It also scans apps that were not installed from Play and warns about known harmful ones.

    After installing

    Open the app's permission screen and switch off anything it does not need. Apps installed from a file do not update through Google Play, so check the developer's page from time to time or use an updater the developer recommends.

    If an app came from Google Play and you want the developer's file instead, the two may be signed differently. Back up the app's data or make sure your account syncs, uninstall the old copy and then install the new one.

    Previous: Google Maps and Waze: offline maps and navigation tipsNext guide: Phone VPN basics: WireGuard, Proton VPN and Mullvad

    How to install an APK on Android safely · English · Apvoxa