On this page
Android client installation
Last updated: 2026-12-01
Applies to latest
The Android client installs from an APK and lets you choose the Keragi server before signing in. It does not bundle a server and does not require an official account; self-hosted users can enter their own userx / msgx / agix addresses.
FDE delivery: Android client, private server, notification boundaries and pilots are covered in the FDE delivery guide.
1. Download and install
Download the latest APK from /downloads/latest/android.apk (it 301s to the current stable arm64 build) or from the downloads page.
- Download the APK with the phone browser.
- Open the downloaded file; when Android warns about unknown sources, grant installation only to that browser/file manager.
- Confirm installation and open Keragi.
| Item | Detail |
|---|---|
| Architecture | arm64-v8a (current direct package) |
| System | Android 10 and later |
| Distribution | Official website APK; not yet on Google Play |
| Signing | Fixed official signature — do not mix third-party builds |
2. First launch: choose the server
The login screen has Server settings; the official server is the default.
- Open Server settings.
- Enter one server address, e.g.
https://keragi.example.comorhttp://192.168.x.x:3001.userx / msgx / agixare derived automatically; tickconnif the server has a public connector. - Optionally click Test connection to check that the account service is reachable.
- Save → return to login → enter credentials.
The server must allow the Android origin: enable WASMX_CORS_ALLOW_LOOPBACK=1, or add
http://127.0.0.1:18731 to WASMX_CORS_ORIGINS.
Android permits cleartext only for
127.0.0.1/localhost; a remote LAN server must use HTTPS. A LAN HTTP server is blocked by Android and will not show a local-network prompt.
After signing in: Me → Settings → Main server configuration.
If the old server becomes unreachable: Me → Switch account → Sign out, then change the addresses on the login screen.
Switching servers does not migrate E2EE keys. Export a fingerprint backup from the old device/source and import it after signing in to the new server.
3. Permissions
| Permission | Purpose | When requested |
|---|---|---|
| Camera | QR scanning, taking photos | When scanning or taking a photo |
| Microphone | Voice messages, calls | First recording or call |
| Notifications | New-message alerts and background connection | After sign-in |
Camera and microphone are not requested at launch. Re-enable them in Android App info → Keragi → Permissions if previously denied.
4. Notifications and background delivery
- Pressing Home / leaving to the launcher: the app’s foreground service keeps the server connection, so new-message notifications still arrive.
- Swiping the app from Recents: Android (especially Huawei/EMUI) kills the whole process including the foreground service; the connection drops. Messages are not lost — reopening the app syncs them from the server.
- To improve survival after swiping: Settings → App launch → Keragi → manage manually, allow auto-launch / secondary launch / background activity.
- New messages post a system notification; sound/vibration follow system settings and the payload has no sender or message text.
- Android 10 and some vendor builds require a persistent foreground-service notification, so a silent “keeping the message connection” entry may remain. This is an OS requirement.
- Boundary: background keep-alive is a local foreground service with no cloud push; waking a fully killed app will require FCM/OEM push later.
AI takeover runs in the client per conversation; the server does not host an always-on agent. Background delivery depends on the client process and OS policy; see the security model.
Sign-in state, expiry and revoked sessions
- Normal token expiry: the client refreshes first; if refresh fails and “Remember password” was enabled, reopening the app signs in automatically.
- Kicked by another device / admin-revoked session: the refresh token is revoked and the client does not auto-login; it returns to the login screen.
- Device limit reached (2 login devices): the login is rejected; remove an old device under Settings → Encryption → My devices on an existing device first. A third encryption device is also rejected.
- App closed: no messages are received while closed; on reopen a normal-expiry session attempts auto sign-in (with “Remember password” enabled) and syncs from the server inbox.
- Background: the foreground service/desktop process keeps the connection and refreshes tokens while alive; OS reclaim or battery policies can interrupt it.
5. Updates
In-app check
Open Me → Settings → App update:
- Select Check for updates.
- If a newer version exists, select Download APK.
- After the browser downloads it, install over the existing app.
“Check automatically” runs at most once a day and never installs silently.
Manual update
Download the latest arm64 APK from the downloads page and install it over the existing app. App data, sign-in state and E2EE fingerprints are preserved.
Google Play
A Play release is not available yet. Play builds should later update through Play; do not overwrite a Play build with the website APK because signatures differ.
Messages, channels, knowledge and AI conversations update from the backend without a new APK; only shell/permission/native fixes need one.
6. Uninstall and data
- Uninstalling removes the app sandbox, including sign-in state and E2EE keys.
- Export a fingerprint backup first if you need history: Settings → Encryption → Fingerprint backup.
- Server account data is not deleted by uninstalling. Use Settings → Delete account or the account deletion page.
7. Troubleshooting
| Symptom | Action |
|---|---|
| Installation blocked | Allow unknown sources only for the browser/file manager, then revoke |
| Sign-in connection failed | Check the server address, HTTPS certificate and network |
| CORS error on a private server | Enable WASMX_CORS_ALLOW_LOOPBACK=1 (or allow http://127.0.0.1:18731) on the server and restart wasmx |
| Server uses LAN HTTP | Android permits cleartext only for 127.0.0.1/localhost; add HTTPS or a reverse proxy |
| No background notification | Check notification permission, Do Not Disturb and battery optimisation; ensure the app is not force-stopped |
| Persistent connection notice | Android 10/vendor builds force it; the channel is silent with no sound/vibration |
| Update installation fails | Use the same official signature and arm64 APK; remove third-party builds first |
| History cannot be decrypted | Import a recent fingerprint backup with the plaintext cache |