Version 1.4.0 (current)
Connect a development emulator
Specify the serial, Android version, and permissions; start with read-only checks.
Check that a Taku OS emulator is reachable, which identity it provides, and whether the required programs exist. Then continue to connection configuration and task experiments. On an Apple Silicon Mac (M1+) or ARM64 Linux host with KVM, you can download the published open-source ARM64 emulator archive (TakuOS-emulator-arm64-images.tar.gz) and start it in an isolated AVD directory with python3 image/emulator/start.py --images taku-emu --avd-home ~/.taku-avd --name TakuOS_1_4_0 --port 5580 from taku-os. Do not flash the Pixel 9 phone packages from Mobile Quickstart to an emulator.
Requires the system source
The SDK commands under “Read back capabilities” and the keyboard script run from the taku-os repository root. Clone taku-os first.
Prerequisites
- A running Taku OS AVD (Android Virtual Device). Without one, you can still complete the offline SDK check with the system source.
- Android SDK platform-tools installed on your computer, with
adbavailable in the terminal. - The system source. Run SDK commands from the computer's
taku-osroot and alladbcommands in the computer terminal.
A standard Google Play AVD does not include Taku OS services or /system_ext modules and cannot use a phone OTA. If you do not have a configured Taku development AVD, start with offline SDK development; starting an ordinary AVD is not a successful Taku OS installation.
Connect and verify
Confirm the device
adb devicesCheck that the intended row has state device and record its first-column serial. Replace every emulator-5582 below with that value. Keep -s, particularly when a USB phone is connected too, so commands cannot automatically select another target.
adb -s emulator-5582 shell getprop ro.build.version.sdk
adb -s emulator-5582 shell getprop ro.product.cpu.abi
adb -s emulator-5582 shell id
adb -s emulator-5582 shell getenforceExpected result: API level, ABI (processor interface), UID (executing user number) and SELinux state. Record the actual values; do not change privileges or disable SELinux to match historical results.
Read back capabilities
Run from the system repository root on your computer:
node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582
node sdk/cli/taku.mjs call displays.status --transport adb --serial emulator-5582Expected result: current device information and display list. The historical baseline is API 36, ARM64, UID 0 and Enforcing; current tests must use actual readback. A display list containing only the main screen does not establish that a background display has started.
Check runtime entry points
adb -s emulator-5582 shell command -v phone-display
adb -s emulator-5582 shell command -v codexExpected result: an integrated environment returns each program's path. Record any missing entry. phone-display manages the independent display; codex is the Agent runtime entry point. A path proves the program can be found, not that model authentication or a business task succeeded.
Type with your computer keyboard
A new or copied AVD may keep hw.keyboard=no, so keys you type on the computer do not reach Android. Start the AVD with the script in the taku-os repository root to turn on the host keyboard:
python3 scripts/start-emulator.py --avd YOUR_AVD --port 5590Replace YOUR_AVD with an existing AVD name. The port must be even, unused and between 5554 and 5682; the serial becomes emulator-5590. The script sets hw.keyboard=yes, saves the original as config.ini.before-host-keyboard, then cold-boots with the host GPU and keeps user data. It stops without changes if that AVD or port is already running. To prepare an AVD that is running now, add --configure-only, then cold-restart it yourself. The script installs nothing on the device.
On a Mac:
- In the Android Emulator, holding Command simulates multi-touch. The green dots and line belong to that mode. Release Command, then tap the text field and type.
- To paste in Android, press Control+V or long-press the text field and choose Paste. Command+V may not paste.
- To send keyboard shortcuts to Android, open … → Settings → General → Send keyboard shortcuts to in the emulator and choose the virtual device.
- Copying between the computer and the device depends on the emulator's Clipboard Sharing setting.
- Typing through a Mac input method, such as pinyin, has not been verified with the host keyboard.
To sign in to ChatGPT from your computer's browser instead of typing on the emulator, see Connect ChatGPT.
Where to stop on failure
| Result | Action |
|---|---|
Target absent, offline or unauthorized | Stop at the connection check; see Connection and identity |
adb is not in PATH | Use the actual executable path as described in Configuration |
| Readback succeeds but an entry point is missing | Ask the environment maintainer to verify matching-version integration; the SDK does not install the system |
| UID or permissions do not meet the selected experiment's prerequisites | Use an emulator that meets them; root does not automatically bypass SELinux, the TEE (trusted execution environment) or App session checks |
Global Enforcing does not establish production isolation for every development service domain. See Permission layers.
Next: when the required entry points exist, continue to Configuration. If model setup is complete and you want to test display behavior, follow Independent background display.
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