Version 1.4.0 (current)
Build Android components
Build the module you changed, then verify installation, system permissions, and the complete image separately.
Use this page when changing Android system components: compile source on your computer to obtain APK, JAR and DEX files for later installation and checks. To try the system, choose an available environment under Installation paths; compiling first is unnecessary.
Requires the system source
The commands on this page run from the taku-os repository root. Clone taku-os first.
Prerequisites
- Complete the source checks in Quickstart. Run the commands in the
taku-osrepository root on your computer. - Install Android SDK
platforms;android-36andbuild-tools;36.0.0, plus JDK 17+, Python 3 and zip. - Find the actual SDK and JDK locations. Replace the
/absolute/path/to/…placeholders below.
The first build may download pinned Markdown dependencies and public AOSP development test signing material. Signing downloads require access to android.googlesource.com. Test signing is not a production identity; a warm-cache build does not demonstrate first-time dependency preparation.
Build
Build the components
Set paths in the current computer terminal, then build all development components:
export ANDROID_SDK_ROOT=/absolute/path/to/android-sdk
export JAVA_HOME=/absolute/path/to/jdk
npm run build:androidIf you changed one module, select its command below instead. These are alternatives; you do not need to run all of them again after the complete component build:
bash system/assistant/build.sh
bash system/display/build.sh
bash system/overlay/build.sh
bash tooling/app-kit/build-shell.shExpected result: the selected command exits successfully and produces files in the corresponding directories. It compiles only; it does not install, start a device or build a complete ROM.
Locate and verify the outputs
| Artifact path, relative to the system repository | Purpose |
|---|---|
system/assistant/out/AgentOSAssistant.apk | Taku Home and assistant application |
system/assistant/out/task-broker.jar | Background task execution and state component |
system/display/out/virtual-display.jar | Independent display host |
system/overlay/out/AgentOSLabSettingsOverlay.apk | Development-system resource overlay |
tooling/app-kit/apk-shell/out/dex/classes.dex | Precompiled shell used to package React/WebView apps |
An APK is an Android application package; JAR/DEX files contain runtime code and cannot all be installed by opening them as ordinary Apps. Record the source version and build result so later checks can identify these artifacts.
A complete ROM rebuild is not needed for every change
| Change | Continue with |
|---|---|
| Phone-side JSX app or experimental business module | App generation using the provisioned phone toolchain |
| Java system component | Build that component, then check it using installation instructions for the matching development-device version |
| init, SELinux, platform signing or system partition | Device image engineering |
Build failure or no installation path
- SDK/JDK missing or mismatched: check installed tools and paths before investigating the device.
- Download or checksum failure: retain the error and check the dependency source and network. Do not bypass validation with personal caches or unknown signing material.
- APK produced but no matching development environment: stop here. Assistant installation scripts target specific experimental AVDs, not arbitrary phones. A valid platform signature does not prove that system UID, roles or services are configured.
The full Pixel 9 entry point is scripts/pixel9-image.py; these commands do not invoke it. See Current progress for the current complete-ROM status.
Next: with a matching environment, check the connection, then prepare version records and a recovery procedure under Update and recovery. For system-partition changes, read Source and images.
Research preview · Current availability
Report an issue or give feedback
Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.
Built with Fumadocs