For developers
Build BookedOS from source
BookedOS is assembled from a LineageOS 24 base image, its own apps, its display engine and its resource overlays. The build runs on macOS or Linux.
Requirements
What the build needs
- JDK 21 (Android Studio’s bundled JDK works) and the Android SDK build tools.
- Python 3.10 or newer.
- Docker, for the display engine.
- About 40 GB free.
Overview
Build stages
Apps
Each app is its own Gradle project in Kotlin, built and tested with the Gradle wrapper. The apps share a UI library.
Display engine
A small C program, built as a static binary inside an Alpine container with Docker, with its own test suite.
Overlays
Resource overlays change the colors and controls in Android Settings and the setup screens.
System image
A build script takes the LineageOS base image and the built parts and writes the BookedOS system image, with a checklist of every step.
Releases
A release tool builds signed update bundles and update lists for the update channel.
Inputs
Files you supply
Supply the base image and the device’s own firmware files locally; the repository does not include them. The build script names each one by hash, and the build stops if a file is missing or its hash differs.
The step-by-step commands are in BUILD.md in the repository. The project checks that every app and the display engine build on a clean machine from the published source.
An official build carries the BookedOS name and logo. A build you change yourself needs a name of its own: see Trademarks.