GitHunt
DI

dimorinny/android-cuttlefish

Cuttlefish host support debian package.

Virtual Device for Android host-side utilities

This repository holds supporting tools that prepare a host to boot
Cuttlefish, a configurable
Android Virtual Device (AVD) that targets both locally hosted Linux x86/arm64
and remotely hosted Google Compute Engine (GCE) instances rather than physical
hardware.

Debian packages

The following debian packages are provided:

  • cuttlefish-base - Creates static resources needed by the Cuttlefish devices
  • cuttlefish-user - Provides a local web server that enables interactions with
    the devices through the browser
  • cuttlefish-integration - Installs additional utilities to run Cuttlefish in
    Google Compute Engine
  • cuttlefish-orchestration - Replaces cuttlefish-user in the
    Orchestration project
  • cuttlefish-common - [DEPRECATED] Provided for compatibility only, it's a
    metapackage that depends on cuttlefish-base and cuttlefish-user

Download from Artifact Registry

To register the apt repository on Artifact Registry, please execute command
below.

sudo curl -fsSL https://us-apt.pkg.dev/doc/repo-signing-key.gpg \
    -o /etc/apt/trusted.gpg.d/artifact-registry.asc
sudo chmod a+r /etc/apt/trusted.gpg.d/artifact-registry.asc
echo "deb https://us-apt.pkg.dev/projects/android-cuttlefish-artifacts android-cuttlefish main" \
    | sudo tee -a /etc/apt/sources.list.d/artifact-registry.list
sudo apt update

Afterwards, debian packages are available to download via apt install. Noting
that only cuttlefish-base, cuttlefish-user, and cuttlefish-orchestration
are deployed to Artifact Registry.

sudo apt install cuttlefish-base cuttlefish-user cuttlefish-orchestration

Build and install manually

The packages can be built with the following script:

tools/buildutils/build_packages.sh

Cuttlefish requires only cuttlefish-base to be installed, but cuttlefish-user
is recommended to enjoy a better user experience. These can be installed after
building with the following commands:

sudo apt install ./cuttlefish-base_*.deb ./cuttlefish-user_*.deb
sudo usermod -aG kvm,cvdnetwork,render $USER
sudo reboot

The last two commands above add the user to the groups necessary to run the Cuttlefish
Virtual Device and reboot the machine to trigger the installation of additional
kernel modules and apply udev rules.

Google Compute Engine

The following script can be used to build a host image for Google Compute Engine:

device/google/cuttlefish/tools/create_base_image.go

Check out the AOSP tree
to obtain the script.

Container images

Please read container/README.md to know how to build and
use docker or podman image containing Cuttlefish debian packages.

Languages

C++68.6%C18.6%Starlark4.6%Go4.2%Shell1.2%JavaScript1.0%Rust0.6%Roff0.3%TypeScript0.3%HTML0.2%Python0.2%CSS0.1%Makefile0.1%M40.1%SCSS0.0%Dockerfile0.0%GLSL0.0%Go Template0.0%
Other
Created February 22, 2024
Updated February 25, 2026
dimorinny/android-cuttlefish | GitHunt