Read your app's own databases, prefs and logs.
On a Mobilebox cloud Android phone your agent reads any file in an installed app's private folder, /data/data/<package>/: its SQLite databases, shared prefs, files and cache. One pull_file call over MCP, or GET /v1/phones/{id}/files?path=… over REST, returns the file or lists the folder, and app_logs returns the app's log lines. Nothing to set up on your side; $0.01 a minute.
Sign up with GitHub, Google or email. New workspaces get free credit, no card.
Where an app keeps its state
Every path below is under /data/data/<package>/; Android's /data/user/0/<package>/ is the same folder.
| Folder | What you find | Useful for |
|---|---|---|
databases/ | SQLite files, Room included | Checking that a tap saved the right row |
shared_prefs/ | XML key-value files | Feature flags, onboarding done, settings |
files/ | The app's own files and log files | Exports, saves, a log your app writes |
cache/ | Cached responses and images | What the app fetched last |
Files the app shares live in /sdcard/, which pull_file reads too, and push_file puts test files there for the app to import.
Check the state, not only the screen.
A screen can say "Saved" while the row is missing. Your agent taps through the flow, then reads what the app actually stored.
Data on agent phones- 1
Run the flow
Install your build and drive it with
actor a Maestro flow. - 2
List the folder
pull_file {"path": "/data/data/com.example.app/databases"}lists the files and their sizes. - 3
Read the file
Text comes back as text and anything else as base64 over MCP, up to 100 KB; over REST the file streams whole, up to 2 GB.
Questions
Reading app data on cloud phones.
How can my AI agent read an Android app's SQLite database?
On a Mobilebox phone, call pull_file with /data/data/<package>/databases/<name>.db, or GET /v1/phones/{id}/files?path=… over REST, and open the file with any SQLite reader.
Do I need root or adb?
No. Give the path and Mobilebox reads the file from the phone for you; the app has to be installed on that phone.
How large a file can I read?
Over MCP, text or base64 up to 100 KB in the tool result, and PNG or JPEG as an image up to 1 MB. Over REST, any file up to 2 GB.
How do I read my app's logs?
app_logs {package} returns the app's log lines, one time pid level tag: message each, filtered by since, lines or level. A log file the app writes itself is in its files/ folder.
Does the data stay between runs?
Yes, park the phone and the app's data stays with it, free while parked; see stay logged in.
Read more
What leaves the phone when your agent reads the screen?
Map credentials, model inputs, screenshots, traces and CI artifacts so the evidence you keep matches the task you need to judge.
Android sandbox for APK analysis on a throwaway phone
Install a suspicious APK on a clean cloud Android phone, watch its screens, see which servers it contacts, then delete the phone. How the phone is isolated, and when a malware sandbox like MobSF fits better.