A utility to easily run Android Cuttlefish VMs with QEMU
GPL-3.0 License
A utility to easily run Android Cuttlefish VMs with QEMU.
Simply running make
should do the trick. No special dependencies are required.
cd ~/start-avm
make
Download a cuttlefish image from http://ci.android.com/. If you don't exactly what to download, read this guide.
Create a directory and unpack for the cuttlefish images and the CVD tools.
mkdir cuttlefish
cd cuttlefish
unzip ~/Downloads/aosp_cf_x86_64_phone-img*.zip
tar xf ~/Downloads/cvd-host_package.tar.gz
mkdir qemu
cd qemu
cvd2img ..
start-avm
repository.cd ~/start-avm
start_avm.sh
./start_avm.sh ~/cuttlefish
start-avm
repository.cd ~/start-avm
run_podman.sh
./run_podman.sh ~/cuttlefish
If you're on a device with hardware capable of generating multi-touch
events, you can enable both multi-touch support and virgl acceleration
(which depends on multi-touch support due to cuttlefish limitations) by
passing the -m
and -v
options to either start_avm.sh
or
run_podman.sh
.
If you get messages about syntax errors in .cuttlefish_config.json
config file then:
If run_podman.sh doesn't work, it may be because of an outdated container image on Quay. To rebuild the image locally, run:
podman build -t qemu-android .
in start-avm
directory.