Version 1.4.0 (current)
System source, images, and device adaptation
What the repository contains, which devices have been tested and what it takes to bring Taku OS to another phone.
This page is for device adaptation and image engineering. For a first API call or an environment that is already set up, go to Ways to try Taku OS.
What you have
The taku-os repository stores the project's source, build configuration and specifications. Upstream Android source is selected through pinned configuration and is not copied into the repository.
| What you have | What it is | What to do next |
|---|---|---|
| Source checkout | Code and build inputs | Verify or build components |
| APK or JAR component | One app or service | Check it matches your environment, then see update scope |
| Device ROM | System images with one device's partitions and hardware integration | Check the model, firmware and build ID, and find the installation and recovery instructions for that version |
Devices with a published image are listed in Supported devices; see also Devices. The current version is in Versions and releases.
Record your source and build components
Requires the system source: The commands in this section run from the
taku-osrepository root. Clone taku-os first.
Record your checkout:
git rev-parse HEADTo validate and build components, prepare the component toolchain, then run:
npm run verify
npm run build:androidExpected result: a commit hash and the component outputs. These commands build components, not a ROM.
A full Pixel 9 image is built with python3 scripts/pixel9-image.py start. The same script has status, logs, resume, verify and export commands and an incremental rebuild. It needs the project's prepared Linux and Docker environment and build inputs, so it does not run on an arbitrary computer. Read the image engineering instructions for your source revision first.
Bring Taku OS to another device
Three terms come up throughout. A device manifest selects the source repositories. Kernel and vendor supply the kernel and the manufacturer's components. The BSP is the board-specific hardware support. All three must match the actual device.
- Choose a model that can be unlocked and has clear driver and maintenance paths.
- Pin the Android branch, device configuration, kernel, vendor and security-patch baseline.
- Integrate the Taku OS modules into the right partitions, init, signing and permissions configuration.
- Cold-boot a clean image and check package identity, the system task service, the independent display and user-data isolation.
- On the physical device, check ordinary apps, input and frames, media, power, networking and your chosen scenarios end to end.
- Then set up production signing, flashing instructions, update and recovery, and release validation.
An emulator result does not carry over to a phone in these areas: emulator-specific DNS, ARM64 musl tools, system signing and userdebug root. Component APKs contain no baseband or vendor drivers.
An emulator system.img cannot be flashed onto a phone. Each device needs its own boot stack, kernel, vendor, partition configuration and signing. Google's Android Flash Tool flashes images and does not produce or verify a Taku OS image.
Devices
Taku OS 1.4.0 (20261118070714) targets Pixel 9 (tokay, 12GB / 256GB), with per-build verification status recorded in tokay-20261118070714.json, and publishes an open-source ARM64 emulator archive (TakuOS-emulator-arm64-images.tar.gz) for Apple Silicon Macs and ARM64 Linux KVM hosts. Preview builds are userdebug images signed with public AOSP development keys (test-keys) for unlocked bootloaders — never re-lock the bootloader (fastboot flashing lock) after installing a preview build. Other phones have no published image. A device on the LineageOS device list is a practical starting point for adaptation, but it still needs its own image built with the steps above, and that image must be tested on the device before it is listed in Supported devices.
Check the actual unit
A model that can be unlocked in general may be locked on your unit. Check OEM unlocking, the carrier or sales variant, the current firmware and the bootloader state on the device itself, and the firmware the upstream installation guide requires.
Sources
- Pixel 9 / tokay.yml on the LineageOS Wiki
- Google Android Flash Tool and its prerequisites
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