AAPS web installer
Install the AAPS APK you built onto your Android phone, straight from this browser, over a USB cable. No command line, nothing to download. Installed this way (the ADB way), apps are exempt from Google’s Android developer verification.
This page runs entirely in your browser
Your APK file and your phone’s data never leave this computer: the page cannot send data anywhere (its Content-Security-Policy blocks all uploads; you can check this in the browser’s developer tools, Network tab). Only ever use this page at its official address, linked from Transferring and installing AAPS in the AAPS documentation.
This browser cannot talk to USB devices. Please open this page in Google Chrome, Microsoft Edge or Opera, on a computer or an Android device. Firefox, Safari and all iPhone browsers do not support WebUSB.
Step 1 – Before you start
Enable USB debugging on the phone (one-time setup):
Go to Settings > About phone and tap Build number seven times, until the phone confirms you are a developer.
Back in the main Settings, open Developer options and switch on USB debugging.
Connect the phone with a data-capable USB cable (some charging cables cannot transfer data: if the phone is never detected, try another cable).
Close Android Studio and any other program that uses ADB: only one program can talk to the phone at a time.
Have your AAPS APK file ready on this computer (for the browser build, download it from your Google Drive first).
No computer? This page also works from Chrome on another Android phone, connected with a USB-C to USB-C cable.
Step 2 – Connect your phone
Click the button, then pick your phone in the list the browser shows.
Look at your phone now: tap Allow on the “Allow USB debugging?” message, and tick “Always allow from this computer”. Don’t see it? Unlock the phone’s screen, or unplug and replug the cable.
The phone doesn’t show up, or connecting fails?
Check that USB debugging is on (step 1) and the cable is a data cable.
Close Android Studio, or run
adb kill-serverif you have ADB installed, then unplug and replug the phone.On Windows, an OEM USB driver installed for your phone can also hold the connection: unplug other Android tools and try again.
Step 3 – Choose your AAPS APK file
Step 4 – Install
Updating an existing AAPS? All its settings and history are kept, exactly like adb install -r.
AAPS is installed. You can unplug the phone. If this was your first installation, continue with the Setup Wizard.
Technical details:
Part of the AAPS documentation. Built on the open-source Tango (ya-webadb) libraries (MIT license). Page source and build instructions: openaps/AndroidAPSdocs.
AAPS is a DIY system, not a commercial product: you build it, you install it, you are responsible for it. This page is provided by the community without any warranty.
(no further details)
This APK was built with a different signing key than the AAPS already installed on the phone. Use the same keystore as before, or export your AAPS settings and uninstall the old AAPS first (uninstalling loses all its settings and history: export first!).
The phone already has a newer version of this app. To go back to an older version, export your settings and uninstall the current app first.
There is not enough free storage on the phone. Free up some space and try again.
The phone does not recognize this file as a valid APK. Check that you selected the right file and that the download completed.
The Android version on this phone is too old for this APK.
The installation was declined on the phone. Watch the phone’s screen and allow the installation when asked.
Another program is using the phone’s ADB connection. Close Android Studio (or run “adb kill-server”), unplug and replug the cable, then try again.
The connection to the phone was lost. Check the cable, then connect again.
The installation failed. See the technical details below, and ask for help on the AAPS community channels if needed.
The phone was disconnected during the installation. Reconnect it and try again: nothing is broken.
Waiting for you to pick a device…
No device selected. Is USB debugging enabled, and is the cable a data cable?
Connecting…
The phone was disconnected.
Android device
Connected to {name}.
Could not connect.
Disconnected.
”{file}” is not an .apk file. Please select the AAPS APK you built.
This file is empty. Please check the download and select it again.
”{file}” does not look like a real APK file. Did you select the right file?
Selected: {file} ({size})
Copying to phone… {done} of {total}
Installing on the phone… (this can take a minute)
{n} MB