Skip to content
Taku Docs
Getting startedImages and device setup

Version 1.4.0 (current)

Install with help from a coding agent

Guide a coding agent through Taku OS setup on a supported device or the ARM64 emulator: inspect the target, verify SHA-256, and confirm destructive steps first.

This page accompanies docs/agent-setup.md in the open-source Taku-OS/taku-os repository. All packages, manifests, and instructions are publicly accessible. Installing prebuilt packages on a supported device does not require building from source or sending model credentials to a computer-side agent.

Copy to your agent

First read https://docs.taku.ai/quickstart/mobile.md,
https://docs.taku.ai/os/install/devices.md,
https://docs.taku.ai/os/install/agent-setup.md, and
https://github.com/Taku-OS/taku-os/blob/main/docs/agent-setup.md.
Read the connected device's codename and find its device page in the supported-devices list.
Use the download metadata JSON linked from that device page to verify files, sizes, and SHA-256,
or https://github.com/Taku-OS/taku-os/releases/latest/download/TakuOS-emulator-arm64-images.tar.gz for an ARM64 emulator.
If the codename is not listed, stop: there is no image for that device.
Start with read-only checks. Identify an existing Taku update, a fresh install, or an isolated ARM64 emulator setup,
and report the device, current build, and target build.
Before any device write, show a complete plan: exact device serial, files, partitions to write,
and whether data will be erased. Execute only after I explicitly confirm that plan;
confirm again if the target or scope changes.
Do not auto-select a phone, bypass signature or rollback checks, change update channels,
manually change slots, or re-lock the bootloader (`fastboot flashing lock`).
I will handle account sign-in and physical device confirmations. Do not collect passwords,
API keys, or one-time codes.
Finally read the running build after boot. A download or completed sideload transfer is not installation success.

Execution order

  1. Read-only checks: confirm Platform-Tools works, list devices, and let the user select one serial (-s SERIAL). Read the device, Android version, Taku version, and full build number.
  2. Choose the route: match the device codename against Supported devices. An existing Taku installation starts with System update; stock firmware or another ROM uses the fresh-install steps on that device page. An Apple Silicon Mac or ARM64 Linux KVM host without a supported phone can run the published ARM64 emulator image in an isolated AVD directory without modifying existing AVDs. Stop physical-device flashing for an unlisted codename or uncertain firmware.
  3. Verify files: download the pinned URLs from the device page and compare complete SHA-256 values with its metadata JSON (for Pixel 9, tokay-20261118070714.json). For ARM64 emulator hosts, TakuOS-emulator-arm64-images.tar.gz for v1.4.0-20261118070714 has SHA-256 1f086efaa4e658079ae83366af4cecb942a11b735964454b7a637caedbf3323d. Do not mix builds or devices.
  4. Confirm the write plan: present the device, target build, write scope, and data-erasure consequences together. Proceed within that specific authorization without repeatedly asking for the same approved step. Physical device confirmations remain with the user, and never run fastboot flashing lock on test-keys preview builds.
  5. Check each result: every flash command must succeed. Stop for FAILED, signature, firmware, or rollback errors. Fresh installation requires recovery's final success result; an update requires the updater's success indication.
  6. Read back: after Android starts, use Quickstart's read-only commands and compare them with the expected values on the device page: device codename, product TakuOS, version, full build number, and API level (or use Connect a development emulator on the ARM64 AVD). The user then checks their data and model connection.

Scope

  • Each device's OTA and recovery files are for that device only, never an emulator or another phone model; the published ARM64 emulator archive runs on Apple Silicon Macs (M1+) or ARM64 Linux hosts with KVM (python3 image/emulator/start.py --images taku-emu --avd-home ~/.taku-avd --name TakuOS_1_4_0 --port 5580 from a taku-os checkout).
  • Check verification in the device's metadata JSON (firstInstallFromStockVerified and nativeUpdateAndRebootVerified) and report per-build verification status truthfully rather than labeling unverified paths verified.
  • Full system builds and custom component compilation in taku-os are separate developer workflows and are not prerequisites for installing prebuilt images.

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
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

On this page