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.
The following debian packages are provided:
cuttlefish-base
- Creates static resources needed by the Cuttlefish devicescuttlefish-user
- Provides a local web server that enables interactions with the devices through the browsercuttlefish-integration
- Installs additional utilities to run Cuttlefish in Google Compute Enginecuttlefish-orchestration
- Replacescuttlefish-user
in the Orchestration projectcuttlefish-common
- [DEPRECATED] Provided for compatibility only, it's a metapackage that depends oncuttlefish-base
andcuttlefish-user
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.
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.
Please read docker/README.md to know how to use docker image containing Cuttlefish debian packages.