Skip to content
Taku Docs

Version 1.4.0 (current)

Connect ChatGPT for the first time

Authorize the on-device Codex account, confirm the connection, and run a first task.

Use your own ChatGPT account with Codex running inside a prepared Taku OS device. You do not need a computer terminal for the login UI. First confirm the integrated components with Environment checks. For DeepSeek, follow the Magpie tutorial directly.

Device-code availability and model access depend on account and workspace permissions. Official guidance requires enabling device-code login in personal security settings or workspace admin permissions. See OpenAI authentication, checked 2026-10-21.

Connect and verify

The current Android UI uses Chinese labels. Use this mapping while following the steps:

账户与连接 = Account and connection (older UI: ChatGPT 账户)
模型连接 → ChatGPT 登录 = Model connection → ChatGPT sign-in
用 ChatGPT 登录 = Sign in with ChatGPT
打开官方授权页 = Open official authorization page
刷新连接状态 = Refresh connection status
账户已连接 = Account connected
使用浏览器授权 = Use browser authorization
取消本次登录 = Cancel this login

Open the account page

Open Taku assistant settings and choose Account and connection. Older builds call it ChatGPT account. If Magpie is active, wait for the task and queue to become idle, select ChatGPT sign-in under Model connection, and open the account page.

If Account connected is already shown, proceed to the text check. The assistant reads the actual Codex account state; a browser success page alone is insufficient.

Start device-code sign-in

Select Sign in with ChatGPT. Wait for the one-time code and Open official authorization page. Sign in on that official page and enter the current code. If this device has no browser, open the displayed official address on another device and enter the code there.

Complete authorization only on auth.openai.com or chatgpt.com. Taku does not receive your password. Do not screenshot the challenge or share it in chat or logs; this guide includes no valid example code.

Return and confirm

Return to the Taku account page and wait for its refresh, or select Refresh connection status. Continue only after Account connected appears. Waiting for authorization and Connecting are intermediate states.

If device-code sign-in is unavailable, cancel that attempt and select Use browser authorization, then Open official authorization page. The browser callback must reach this device. If the webpage completes but Taku remains disconnected, use the troubleshooting table below. Copying a desktop auth cache does not authorize the device.

Check text and a real tool

Return to the conversation and send: “Tell me in one sentence that you are ready.” Verify an actual response without an authentication error. This uses your model service; account connection alone does not prove inference access for that request.

Then follow Your first task to request actual device information. Expand the tool item and compare its result. Text inference, device-tool completion and restart recovery are separate checks; a model name does not establish all three.

Sign in from your computer on an emulator

On an emulator, you can finish browser authorization in a browser on the same computer, so you do not type your password with the emulator keyboard. Select Use browser authorization, then open the authorization URL that this device just generated. A normal ChatGPT web sign-in does not connect the device.

If the URL's redirect_uri is http://127.0.0.1:1455/auth/callback, forward the callback port to that emulator first. Replace emulator-5590 with your serial:

adb -s emulator-5590 forward --no-rebind tcp:1455 tcp:1455
# After you finish or cancel, remove the forward:
adb -s emulator-5590 forward --remove tcp:1455

Do not restart the device while the forward is in place. If port 1455 is already in use, stop and check what holds it; do not take over another sign-in. Enter your password and verification code only on the official page. The authorization link is for this local sign-in only: keep it out of screenshots, chat, logs and repositories.

Cancel, expire and retry

SymptomAction and success condition
You want to stop authorizationSelect Cancel this login; its code and URL are cleared. This is not an account sign-out operation
Code expired or rejectedCancel the old request and start again; use only the newly issued challenge
Device-code login unavailableCheck personal or workspace permissions, or try browser authorization; account availability varies
Browser succeeded, Taku still waitingReturn and refresh; inspect device networking and the callback. Require Account connected
Connected but a task failsKeep the error summary and separate model access, network and tool failures using Runtime troubleshooting

After the first request succeeds, try Skills or another model connection. Program paths and read-only diagnostics remain in the Codex runtime reference.

Authorization verification scope

This table describes what has been verified on the authorization path. For current system availability, see Current progress.

EnvironmentVerifiedTutorial boundary
EmulatorReal Codex model requests, the native account UI and the optional ChatGPT connectionDevice-code and browser instructions follow the implementation; fresh authorization is not covered for every account
Physical deviceReal model requests and restart recovery on Pixel 9 with an existing accountThat component update kept the account, so fresh-device login is not verified
Complete ROMEarlier build boot and later component testsFirst account authorization on a complete ROM is not verified

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