This page needs JavaScript. For agents, the same page as Markdown: https://instabox.sh/blog/android.md (below); the whole site: https://instabox.sh/llms.txt.

# Android Boxes

https://instabox.sh/blog/android.md

2026-11-03 · Tony Chang · Product

InstaBox now runs Android, so an agent can install, test and drive an app in a box, on every plan.

InstaBox now runs Android. Create a box from the `android` template and Android 14 is running in it.

![An android box in the dashboard: the terminal on the left, the Computer tab on the right with F-Droid open in the Android window on the box's desktop](https://instabox.sh/blog/images/2026-11-03-android/computer-tab.webp)

**What you get**

- **adb, ready.** adb (Android Debug Bridge) is the standard command-line tool for controlling an Android device. An agent uses it to install an app, open it, tap, type and take screenshots.
- **The phone on the desktop.** Open the box's **Computer** tab and click around.
- **The Android SDK.** Build, install and test an app in one box.
- **Pause and fork.** The running phone and its apps come back on resume. A fork copies them.

**Set one up**

```sh
instabox create --name phone --template android
instabox push phone ./app-debug.apk
instabox exec phone --timeout 120 -- 'until [ "$(docker exec instabox-android getprop sys.boot_completed 2>/dev/null)" = 1 ]; do sleep 1; done; adb install app-debug.apk'
```

**How it works**

Most cloud Android runs an emulator, which is a whole Android VM. Inside a box, that would be a VM inside a VM, and that is not ideal:

- **It's slower.** The emulator needs hardware virtualization to run at a usable speed. Nested inside another VM, every switch between the two costs extra, and without it the emulator falls back to translating the CPU in software.
- **It breaks pause and fork.** Pausing a box saves its memory and CPU state. A nested VM keeps part of its state in the CPU's virtualization hardware, outside that snapshot, so a resumed emulator comes back half-saved and crashes.
- **It's heavier.** A second VM means a second kernel and its own memory on top of the box's.

So we skipped the emulator.

- **Android as a container.** The box runs Android 14 with Redroid, in a Docker container on the box's own Linux kernel. The image ships inside the template, so a new box has nothing to download before Android starts.
- **A kernel built for it.** Android needs the Binder driver. We build a kernel variant with Binder turned on, and only `android` boxes boot it. Every other box keeps the standard kernel.
- **One VM, isolated by the hardware.** The box is a Firecracker microVM, so each phone gets its own VM, separated from every other box by the CPU's virtualization. That is a stronger wall than Android containers sharing one host kernel. It is also the only VM, so pause, resume and fork work like on any other box.

**Why it's different**

- **The phone and the computer are one box.** A device farm takes an APK and gives back a test report. Here the agent has the SDK, the code and the phone in the same place, so it can build, install, look at the screen and fix in a loop.
- **You can pause it and fork it.** An emulator can't be snapshotted safely while it runs. A box can, so a phone you set up once can sleep, wake where it left off, or be copied for several agents.
- **Each phone has its own VM.** It doesn't share a kernel with other customers' phones.

**Limits today**

- **No Google Play.** Apps that need Google Play services won't work.
- **Software graphics.** Rendering runs on the CPU, so games and heavy UI apps lag.
- **x86_64 only.** Many apps ship ARM-only builds, so they won't install without a translation layer.

These are limits for now, not for good. If one blocks you, tell us and we'll work on it.

Android is on every plan, free included.

We'd love to hear what you think! Email us at [support@instabox.sh](mailto:support@instabox.sh), or join our [Discord](https://discord.gg/instabox).