How to stay logged in on a cloud phone between agent sessions.
Behaviour as described in the Phonebox docs on statuses and parking, starting a phone, apps and sign-in handoff, checked December 2, 2026.
What a parked phone keeps
| While parked | When you start it again | |
|---|---|---|
| Installed apps and their data | Kept | As you left them |
| Signed-in accounts, a Google account included | Kept | Still signed in, unless the app itself signs you out |
| Files in /sdcard | Kept | As you left them |
| The phone's ID | Kept | The same ID, so your agent can store it |
| Billing | Stopped: a parked phone costs nothing | A new session, billed per second with a one-minute minimum |
A phone parks when you park it (phonebox park, or the park_phone MCP tool), when it has been idle for its idle_timeout, or when its session reaches its max_duration. All three keep the same things. phonebox start, or start_phone, opens a new session on the same phone.
What signs you out or removes the phone
- The app itself. Some apps sign out after a while of their own accord, or ask for a code again on a new session. That is the app's rule, not the phone's: when your agent finds the sign-in screen after a start, it signs in again the same way.
- Reinstalling with
--replace, or uninstalling.--replaceuninstalls the app before it installs the new build, which deletes that app's data and sign-ins. Installing a newer build signed with the same key is an ordinary Android update, which keeps the app's data. - A reset.
phonebox resetwipes the phone's apps, files, signed-in accounts and clipboard and keeps its ID. It needs an Admin key and can't be undone. - Deleting the phone.
phonebox rmdeletes it permanently, with its apps, files and sign-ins. - A failed phone. A phone whose device was lost has the status
failedand can't be started again, so create a new one and sign in there. - A plan that ends. Saved phones are kept while you're subscribed. After a plan ends, a saved phone that goes unused for 30 days is deleted, with a warning email a week before; the terms have the details.
How to sign in once and keep it
- Create one phone for the account and keep its ID:
phonebox create --name my-account, orcreate_phone. - Open the app with
phonebox open com.example.app, and let the agent fill in what it knows, such as the email address. - Hand the password or code step to a person.
phonebox live --expires 15m, orlive_view_url, creates a link that the account's owner opens in a browser to finish the step on the phone. The agent waits for the next screen withphonebox wait --text "Inbox" --timeout 30s. - Park the phone with
phonebox park. It stays signed in, and costs nothing until the next task. - Next time, start it and look first.
phonebox start, thenphonebox look. If the app shows its sign-in screen again, repeat the handoff.
The full walkthrough, with the REST requests, is Sign in to apps and hand off to a human. Sign in only to accounts you own or may use, and only as the app's terms allow. If an app keeps asking for a check, hand the phone to a person rather than trying to get around it: circumventing other services' security measures breaks Phonebox's terms.
Where staying signed in matters
- Testing your own app. Keep one phone signed in to your test account and install each new build over the top; see testing your Android app with an AI agent.
- An assistant that uses your apps. Sign in to each app once and let the agent come back to them; see giving your AI assistant its own phone.
- One phone per customer. A product can keep a phone for each of its users, each signed in to that user's accounts; see phones for your AI product.
- Apps from Google Play. Sign the phone in to a Google account once through a live view, and the Play Store stays signed in while the phone is parked.
Stay logged in on a cloud phone: common questions
Does a cloud phone stay logged in after it stops?
A Phonebox phone does. Parking stops the phone and its billing but keeps its installed apps, their data, its files and its signed-in accounts, and starting it again resumes the same phone with its sign-ins as you left them. An app can still sign you out by its own rules, for example after a period of time.
How long does a parked Phonebox phone keep its sign-ins?
For as long as the phone exists. A phone is removed only when you delete it, when it fails, or, after a plan has ended, when a saved phone goes unused for 30 days, with a warning email a week before. Saved phones are kept while you're subscribed.
Why was I signed out on a cloud phone?
Usually the app signed you out itself, or asked for a code again on a new session. Reinstalling the app with --replace, uninstalling it, or resetting the phone also deletes the app's sign-ins. Parking never does.
Can the agent sign in for me?
It can drive most of a sign-in: open the app, type the email address and submit it. For a password it shouldn't know, or a code sent to your own phone, it sends you a live view link, waits while you finish in the browser, and carries on. Phonebox doesn't store the text the agent types; activity records show it as [redacted].
Does a parked phone cost anything?
No. A Phonebox phone is billed only while it is creating, starting or running, at $0.06 a minute, billed per second with a one-minute minimum per session. Plans start at $20/month, which includes $20 of phone time.