# How to Install and Verify AirVault | AirVault Docs

> Install Lensly on a spare Android phone and Lumio on your everyday phone. Verify each signed APK from GitHub Releases before you install it.

Get Started

# How to Install and Verify AirVault

Install Lensly on a spare Android phone and Lumio on your everyday phone. Verify each signed APK from GitHub Releases before you install it.

Lensly is not on Google Play, and it has no update check. You are the only way it gets updated.

## Before You Start

You need:

- An online computer to download and check the files.
- The spare Android phone for Lensly and your everyday Android phone for Lumio. Both apps need Android 12 (API level 31) or newer and a screen lock.
- A USB cable and the Android Debug Bridge (`adb`), if you install Lensly over USB. Over USB, `adb` needs USB debugging, which is a switch in the phone’s Developer options. Android hides Developer options until you turn them on, and the menu names vary by phone maker and Android version.
- The Android SDK build-tools, for `apksigner`, to check the signing certificate.

## Step 1: Download the APK and the Checksum File

Open the [AirVault releases page](https://github.com/al-shukran/airvault/releases). Lensly releases use the tag `lensly-v` and a version number, for example `lensly-v1.2.0`. Lumio releases use `lumio-v`. Each release provides an APK and a file named `SHA256SUMS`.

Download both files into the same empty folder.

## Step 2: Check the Hash

The hash shows that the APK matches the file the release page published. Run the command for your system in the folder that holds both files.

macOS

sh

```
shasum -a 256 -c SHA256SUMS
```

Expected output for a matching file: `lensly-v1.2.0.apk: OK`

Linux

sh

```
sha256sum -c SHA256SUMS
```

Expected output for a matching file: `lensly-v1.2.0.apk: OK`

Windows

Open PowerShell in the folder and run:

powershell

```
Get-FileHash .\lensly-v1.2.0.apk -Algorithm SHA256
```

Compare the `Hash` value with the line for the APK in `SHA256SUMS`. The two values match when they differ only in letter case.

If the check fails, do not install the file. Download it again.

## Step 3: Check the Signing Certificate

The hash does not show who signed the APK. The signing certificate does. Run `apksigner` from the Android SDK build-tools:

sh

```
apksigner verify --print-certs lensly-v1.2.0.apk
```

On Windows, run `apksigner.bat` from the build-tools folder with the same arguments.

Find the `certificate SHA-256 digest` line in the output. Compare it with the signing certificate digest in the Build section of the release notes for the same version. Every Lensly release from 1.0.0 to 1.2.0 uses the same certificate, with the digest `e4ace20c2032943a7eea79e45815e62318b7c7fb425beb3ac2c06bc77fefa8c2`. Lumio 1.0.0 is signed with a different certificate, with the digest `095140f494f79fdb842de6497c0811068fdd70d0076c55934fd341dfe3b0de65`.

Do Not Install a File with a Different Digest

A digest that differs from the release notes means the APK is not the one the project signed. Stop, and do not install it.

If you have the GitHub CLI, you can also check the build provenance attestation. It shows that GitHub Actions built the APK from the repository:

sh

```
gh attestation verify lensly-v1.2.0.apk --repo al-shukran/airvault
```

## Step 4: Install Lensly on the Offline Phone

Move the APK to the spare phone by one of these two routes.

- **USB with `adb`:** Turn on USB debugging in the phone’s Developer options, connect it to the computer, and run `adb install -r lensly-v1.2.0.apk`.
- **File copy:** Copy the APK to the phone by a method that keeps the file intact, then open it on the phone and install it normally.

Keep the phone offline after you install. Lensly needs no network to work, and it cannot use one.

## Step 5: Install Lumio on Your Everyday Phone

Download the Lumio APK and its `SHA256SUMS` file from the Lumio release, for example `lumio-v1.0.0`. Verify the hash and signing certificate as in steps 2 and 3, then install the APK on your everyday phone.

You can also track Lumio’s GitHub releases with Obtainium, which installs the APK for you. You then make the checks yourself for each update.

Never Install an Update Checker on the Lensly Phone

Do not install Obtainium, or any other app that checks for updates over a network, on the Lensly phone. Update Lensly only by manual transfer of a verified APK.

## Update AirVault

Update Lensly by the same steps: download the new release, verify the hash and signing certificate, then transfer the APK with `adb install -r`. Android installs an update only when it is signed with the same certificate as the app already installed. An update with the same certificate keeps the app’s data.

Upgrading from Lensly 1.0.x Needs a Fresh Install

Upgrading from Lensly 1.0.x is not supported. Uninstall the older version and install the new one fresh. Vault data is not carried over, and the installed registry catalog must be installed again.

## Why Sideloading Matters

AirVault depends on Android allowing apps to be installed outside Google Play. Google has announced developer verification for sideloaded apps. Its advanced flow for experienced users requires developer mode, a restart and a one-day wait before you confirm with a biometric or PIN. Check the [Android developer verification page](https://developer.android.com/developer-verification) for the current schedule. If Android requires developer verification, AirVault will register its signing identity with Android instead of moving to Google Play.

## Next Steps

Set up the vault in [How to Create a Vault in Lensly](https://alshukran.com/docs/airvault/create-a-vault/). Then pair Lumio with [How to Pair Lumio with Lensly](https://alshukran.com/docs/airvault/set-up-lumio/).

---
Source: https://alshukran.com/docs/airvault/install/
