How to Set Up ADB on cloudf.one (Step-by-Step)
A real Samsung phone, sitting in Singapore, on a real mobile IP, connected to your laptop over ADB in about five minutes. No USB cable, no emulator, no SafetyNet headaches. Here’s every step.
A cloud Android phone without ADB is just a fancy VNC session. With ADB, it becomes a programmable real device. You can install apps, push files, capture logs, run shell commands, mirror the screen with scrcpy, and drive automation frameworks like Appium or Frida. Because it’s a real phone and not an emulator, banking apps, TikTok, and paid streaming services all work normally.
By the end of this guide, you’ll have ADB connected, scrcpy mirroring, Appium running against the device, and a security setup that keeps the endpoint safe.
There are three parts to this. First, install platform-tools on your laptop. Second, connect ADB and authenticate. Third, set up scrcpy mirroring, Appium, and the security basics that protect the connection.
Why ADB matters for cloud phones
ADB is the difference between manual clicking and an actual pipeline. It lets you install apps, push files, capture logcat, run shell commands, mirror the screen with scrcpy, and drive UI automation that expects a native Android environment underneath it.
Emulator-based ADB is on its way out. Android attestation flags emulators on more apps every quarter, and anything that depends on SafetyNet, which includes banking apps, TikTok, paid streaming, and fintech generally, needs real hardware to work reliably. Real device, real ADB, real automation.
Installing platform-tools
ADB ships inside Google’s Android platform-tools package. You install it once and use it forever.
On macOS: brew install android-platform-tools. On Debian or Ubuntu: apt install adb. On Windows: download platform-tools from developer.android.com and add the folder to your PATH.
Verify the install with adb version. You want at least version 34 for full TCP transport support and modern authentication.
If you already have platform-tools bundled with Android Studio, that copy works fine too. Just make sure which adb resolves to a single binary, so you’re not accidentally running an outdated version alongside a newer one.
Connecting to your cloudf.one phone
Every phone in your cloudf.one dashboard exposes an ADB endpoint and a short-lived authentication token. The endpoint looks like adb.cloudf.one followed by a unique port, and the token rotates roughly every 24 hours.
Step one. From the cloudf.one web console, open the phone you want to connect to. Click the ADB tab and copy the endpoint and the auth token.
Step two. From your laptop, run adb connect against that endpoint. The first time you do this, you’ll be prompted to authenticate. Paste the auth token when asked.
Step three. On the cloud phone itself, an “allow USB debugging” dialog will appear. Tap allow, and optionally check “always allow from this computer” so you don’t have to repeat this every session.
Step four. Confirm the connection with adb devices. You should see one entry tagged device.
Troubleshooting connection states
There are three states you’ll run into. device means you’re connected and ready to go. unauthorized means you missed the RSA fingerprint dialog on the phone: open the web console, accept the dialog, and re-run adb devices.
offline means the auth token has expired. Fetch a fresh one from the dashboard and re-run adb connect.
“Connection refused” means the endpoint is wrong or something on your network is blocking the connection. Double-check the port and your firewall settings before anything else.
scrcpy for live mirroring
ADB without a screen is fine for scripts, but painful for actual development work. scrcpy mirrors the phone in a window on your laptop, and forwards mouse and keyboard input as native Android events.
Install it with brew install scrcpy on macOS, apt install scrcpy on Debian, or grab a Windows build from the scrcpy GitHub releases page.
Run scrcpy with the cloud phone already connected via ADB, and a window opens showing the live screen. Mouse clicks become taps, keyboard input becomes Android input, and Ctrl+Shift+V pastes from your laptop’s clipboard directly into the phone.
For multi-phone setups, specify the target device and label each window so you can tell them apart. It’s entirely reasonable to open ten of these at once and arrange them across monitors.
scrcpy has zero dependency on the web console. Once your laptop has the ADB connection established, scrcpy treats the cloud phone exactly like a local device plugged in by USB. Latency is real, typically somewhere in the 30 to 150 millisecond range, but it rarely gets in the way of production work.
Running Appium against the cloud phone
Appium is the most common Android automation framework, and it speaks ADB under the hood. Once the phone shows up in adb devices, Appium just works against it.
Start the Appium server on your laptop, then point your test capabilities at the network ADB device. The uiautomator2 driver installs its own server APK on the cloud phone, drives the UI, and tears itself down when it’s done.
For Python, install the client with pip install appium-python-client and point webdriver.Remote at localhost:4723. The same pattern works for WebdriverIO, Robot Framework, or Maestro.
Frida basics
Frida is the heavier tool in the kit. It injects a JavaScript runtime into a target process, so you can hook methods, dump memory, and inspect runtime state. It’s useful for app testing and security research.
On your laptop, install it with pip install frida-tools and hook into a target process from there.
One thing worth knowing up front: most production cloud phones are not rooted by default, and Frida needs root access for most hooks. cloudf.one offers rooted phones on request for testing accounts. Never use a rooted phone for social account operations, though. Meta and TikTok both detect su binaries on the device and will ban the account within hours.
Security setup
ADB is powerful, which means a leaked endpoint and token hands someone full control of your cloud phone. Treat the token exactly like you’d treat a password.
Never commit the endpoint and token to a public git repo. Never paste them into chat or share them on screen. If you suspect a leak, rotate the token from the dashboard immediately, and if the phone itself may be compromised, revoke USB debugging from the phone’s settings.
cloudf.one’s ADB endpoints are TLS-wrapped and IP-filtered to your account, so an outside attacker can’t simply connect from the open internet. But if your laptop itself is compromised and your token is still fresh, an attacker can drive the phone exactly the same way you can.
For production scripts running on a server rather than a laptop, use the long-lived service token feature in the dashboard instead of an interactive token. These tokens are scoped to specific phones, revocable from the web UI at any time, and they survive the 24-hour rotation that affects interactive tokens.
What you can build once ADB is wired up
Once the connection is live, the range of things you can build opens up fast. Automated phone provisioning: install a playbook, set the device language, log into apps, all without touching the screen. Mobile app regression testing across ten to fifty phones in parallel using an Appium grid. Multi-account social operations, where each phone runs a low-rate script that mimics human input through input keyevent. Push notification testing across real carriers and real IPs. Payment integration testing that runs against real telco billing instead of a sandbox.
That’s the whole setup: a real phone, a real ADB connection, and real automation on top of it.
If you want to skip the emulator pain and start driving a real Samsung phone in Singapore from your own terminal, you can get started at cloudf.one.
Get new guides and videos first — join the Telegram channel.