Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

Meta ports Android's Cuttlefish virtual-device framework to macOS on Apple silicon

Cuttlefish boots identical system images to real hardware, unlike the lighter Goldfish emulator.

Meta has ported Cuttlefish, the Android Open Source Project's (AOSP) virtual-device framework, to run natively on macOS with Apple silicon, eliminating the Linux-only restriction that had forced the company to maintain two parallel emulation stacks1.

Reality Labs, which builds products including AI glasses, depends on device emulation to scale development and testing without relying on scarce physical hardware. Cuttlefish boots the same system images as real hardware and runs a realistic software stack against virtual hardware, tracking a physical device's behavior more closely than a lightweight emulator. Before the port, Cuttlefish ran only on Linux, while Meta's application and library developers work on Macs with Apple silicon.

The gap forced Meta to support both Goldfish, a lighter-weight emulator, and Cuttlefish side by side. Goldfish reproduced only part of a real device's software behavior, and differences from the physical product could hide bugs until later in development. That fidelity gap also eroded developer trust in emulation, pushing teams back toward physical hardware.

To bring Cuttlefish to macOS, Meta added macOS host support so Cuttlefish's orchestration layer builds and runs on a Mac rather than assuming a Linux host. The team revived QEMU support to enable native Apple silicon execution and transitioned to QEMU's native Cocoa display, allowing direct interaction and removing reliance on the webRTC interface. Meta also increased QEMU's Hypervisor.framework (HVF) backend memory-region tracking-slot count so larger Cuttlefish configurations could run correctly, and relaxed Linux-only build restrictions so vhost-user frontends and libraries compile on macOS.

ANALYSIS Consolidating onto a single Cuttlefish-based platform across both Linux and macOS removes the overhead of maintaining two emulation paths and gives Mac-based developers the same high-fidelity virtual device that was previously available only on Linux workstations.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.