Skip to content
Taku Docs

Version 1.4.0 (current)

Emulator operations runbook

Go from read-only inspection to targeted recovery while preserving output and attribution.

Run the relevant read-only checks after an update or when a prepared emulator behaves unexpectedly. If you already know the symptom, start in Help and use only the matching steps here. Successful checks do not require a restart.

Requires the system source

The SDK commands on this page run from the taku-os repository root. Clone taku-os first.

Goal and prerequisites

Use a prepared development emulator with an explicit serial. This article inspects existing state, without scanning account caches, all task prompts, or unrelated App data.

A serial identifies the ADB target. Replace emulator-5582 with the device shown by adb devices. Steps 1–2 run on the computer, with SDK commands run from the system repository. Steps 3–4 run in the selected device shell. The app-service step applies only to the experimental React/WebView path.

Check the running environment

Connection and identity

adb devices
adb -s emulator-5582 shell id
adb -s emulator-5582 shell getenforce

Result: The target is online, and actual UID and Enforcing state are readable. Resolve unauthorized/offline connections first; do not select another device automatically.

Task snapshot and runtime

node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582
adb -s emulator-5582 shell /system_ext/bin/codex --version

Result: Existing task IDs/state and program version. An ordinary shell may be denied. Version output does not prove account authentication or successful model requests. Home verifies state and results after a bounded task is submitted.

Independent display

In an integrated device shell:

phone-display status
phone-display id
phone-display capture

Result: Actual dynamic display ID, display list, and capture record. An old display.json does not prove a live host. A logical ID is not a SurfaceFlinger capture ID.

Application business service

cd /data/local/agentos/light-app-lab/free-app-kit
sh api/service.sh status
/data/local/agentos/light-app-lab/free-app-kit/mini-app list

Result: The current localhost service and actual method discovery. This process is not a system_server API, and startup-at-boot has not been verified.

Recover only the identified failing component

Skip this step when checks are normal. Display recovery interrupts the current background view; first stop or finish the task using it and retain the failure record.

After confirming a display-host failure, run phone-display stop in the test environment, wait for exit, then run phone-display start and read the new ID. This does not uninstall Apps or clear accounts. Know which background UI will be affected before execution. Verify component rollback, phone reboot, and image recovery separately; do not blindly kill all services.

Required inspection record

Version, serial, UID, SELinux, entry point, exit code, necessary JSON, native screenshot, and executor. Limit logs to the affected failure. Authentication, private keys, raw chats, and unrelated tasks are not public attachments.

Next: Error reference or Submit a reproduction.

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