How to Let an AI Control a Real Android Phone from Chrome (No App, No Board)
If you want to see a phone-use model work on a real device, the usual path is an app, a custom board, or a desktop agent. There is a shorter one: open a browser on your computer, plug in an Android phone over USB, and ty
If you want to see a phone-use model work on a real device, the usual path is an app, a custom board, or a desktop agent. There is a shorter one: open a browser on your computer, plug in an Android phone over USB, and type a goal. The model looks at the screen, decides what to tap, and the page performs the action on the phone.
That path is the Manina AI Playground. The model behind it is Manina-4B-Lite, a 4-billion-parameter vision model trained on iPhone and Android screens. You send a screenshot and a short instruction; it returns the tap point, whether the target is on screen, and how sure it is. On the server, locate takes 84 ms and act takes 113 ms (P50 on an A100); your network round trip comes on top.
This is a different setup from driving Android with an ESP32 board over Bluetooth, which does not use USB debugging. Here the browser talks to the phone with Android's own debugging protocol (adb over WebUSB). There is no app or driver to install, but USB debugging does have to be on, and you need Chrome or Edge on a computer.
What you need
- An Android phone and a USB data cable (some charge-only cables will not be detected).
- Chrome or Edge on a computer.
- A Manina AI account. New accounts get $1 of free Playground credit (about 3,333 model calls). After that, calls are $0.30 per 1,000, prepaid, with no subscription. Busy or failed calls cost nothing; a successful "not on screen" answer is billed.
You can also try a sample screenshot on that page without plugging in a phone, which is useful if you only want to see a locate result.
Step 1: Turn on USB debugging
- Enable Developer options. On most phones that is Settings รขโฌยบ About phone, then tap Build number seven times. Some makers label this OS version, Software information, or Software version. If you can't find it, search Settings for "Build number" or "Developer options".
- Open Developer options and turn on USB debugging.
- Unlock the phone, plug it in with the data cable, and quit other adb tools first (Android Studio, scrcpy, phone assistant apps, or
adb kill-server).
A few phones need an extra toggle or the page will see the screen but will not be able to tap. The Playground lists those brand-specific steps next to Connect phone รขโฌโ check them if taps do nothing after a successful connection.
Step 2: Connect the phone in the browser
- Open the Playground, sign in, and click Connect phone. Pick your phone in the browser's device list.
- On the phone, tap Allow on "Allow USB debugging?" and tick Always allow from this computer.
Screen capture defaults to Screenshots, which works on every phone. Video stream is smoother, but it copies a small open-source helper (scrcpy-server, 90 KB) to the phone for the session, keeps the video encoder busy (the phone can run warmer and use more battery), and a few phones or apps that block recording show a black picture. If the stream can't start, the page falls back to screenshots.
English typing works as-is. To type Chinese or emoji, the official page suggests installing ADB Keyboard on the phone.
Step 3: Give it a task
The Playground has two modes:
- Find one tap. Send the current screen plus one short sentence, such as "Settings app icon", "the blue Continue button", or "รงโขยปรฅยฝโขรฆลโฐรฉโยฎ". You get a point, a box, an on-screen flag, a confidence score, and the server time.
- Run a task. Type a goal. A planner writes the steps, and Lite carries out each one on the connected phone (tap, swipe, type, Back, Home, open an app). You can also write the steps yourself, one action per line, and have the model do exactly those. Each finished step shows the screen it saw, the confidence, and the latency.
Only act on the point when on_screen is true. If it is false, the box is still the model's best guess รขโฌโ scroll, go back, or rephrase instead of tapping it.
Disconnect or unplug to stop at any time.
What leaves your computer
This part is worth reading before you run a task on a phone that has personal data.
Each step, the page takes the current screen, sends one smaller JPEG to Manina's server with the step, and keeps that image there. The live view stays in your browser. Sign-in is required to run your own task, and each run is stored under History in the Playground.
Use a phone and accounts you own or are allowed to use, and stay in reach of the cable so you can unplug.
Call the same model from your own code
If you already have screenshots and want the tap point in a script, the HTTP API is the same model. The base URL is https://llm.manina.ai. Create an API key in your account (hsk_live_รขโฌยฆ for production). Developer API keys draw from your prepaid balance: the $1 free credit is for the Playground, the web app, and the manina CLI, not for API keys.
export MANINA_API_KEY="hsk_live_..."
(
printf '{"text":"Settings app icon","image":"'
base64 < screenshot.png | tr -d '\n'
printf '"}'
) | curl -sS https://llm.manina.ai/v1/locate \
-H "Authorization: Bearer $MANINA_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @-
A successful response looks like this:
{
"id": "loc_2f7c9a1e0b6d4f3a",
"point": {"x": 1203, "y": 330},
"box": [1112, 266, 1294, 394],
"on_screen": true,
"present_prob": 0.998,
"confidence": 0.93,
"image": {"width": 1320, "height": 2868},
"latency_ms": 84,
"model": "manina-locate-1"
}
Tap point only when on_screen is true. For a multi-step goal, POST /v1/act takes the current screenshot, the goal, and a numbered plan, and returns the next operation (TAP, SWIPE_UP, BACK, TYPE, DONE, and others). Request details are in the API quickstart.
The image can be PNG, JPEG, or WebP, at any size (up to about 89 megapixels for /v1/locate). Instructions can be in English, Chinese, or other languages, up to 1,000 characters.
If you'd rather run a goal from the terminal instead of writing the loop, npm i -g manina installs a CLI that can drive a connected Android phone over adb after manina auth login. That path is also covered in the quickstart.
If you want this on an iPhone
The Playground can also drive an iPhone, but not over plain USB debugging. You need a Manina board (a ~$7 XIAO ESP32S3) between the phone and the computer: close the Manina AI app on the iPhone first (while it runs it holds the board), join the board's Wi-Fi, turn on Screen Mirroring to the board, then connect the board to the computer in the Playground. Firmware is installed once from manina.ai/install in Chrome or Edge.
There is also an open-weights research model, Manina-4B-HD-1.0, if you want to run grounding locally. It is released under a non-commercial research license and was trained only on in-house and public data, with no user data.
Wrap-up
For a first look, the browser path is the shortest: USB debugging, a data cable, and a goal. The same locate and act calls are available over HTTPS when you are ready to put them in your own loop. Only automate devices and accounts you own or are allowed to use.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.