You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7 |
4 years ago | |
|---|---|---|
| .. | ||
| common | 4 years ago | |
| guest | 4 years ago | |
| host | 4 years ago | |
| shared | 4 years ago | |
| tests | 4 years ago | |
| tools | 4 years ago | |
| vsoc_arm64 | 4 years ago | |
| vsoc_x86 | 4 years ago | |
| vsoc_x86_64 | 4 years ago | |
| vsoc_x86_noapex | 4 years ago | |
| Android.bp | 4 years ago | |
| Android.mk | 4 years ago | |
| AndroidProducts.mk | 4 years ago | |
| CleanSpec.mk | 4 years ago | |
| OWNERS | 4 years ago | |
| README.md | 4 years ago | |
| TEST_MAPPING | 4 years ago | |
| default-permissions.xml | 4 years ago | |
| dtb.img | 4 years ago | |
| fetcher.mk | 4 years ago | |
| host_package.mk | 4 years ago | |
README.md
So you want to try cuttlefish?
- Download, build, and install the host debian package:
git clone https://github.com/google/android-cuttlefish
cd android-cuttlefish
debuild -i -us -uc -b
sudo dpkg -i ../cuttlefish-common_*_amd64.deb
sudo apt-get install -f
- Go to http://ci.android.com/
- Enter a branch name. Start with
aosp-masterif you don't know what you're looking for - Navigate to
aosp_cf_x86_phoneand click onuserdebugfor the latest build - Click on
Artifacts - Scroll down to the OTA images. These packages look like
aosp_cf_x86_phone-img-xxxxxx.zip-- it will always haveimgin the name. Download this file - Scroll down to
cvd-host_package.tar.gz. You should always download a host package from the same build as your images. - On your local system, combine the packages:
mkdir cf
cd cf
tar xvf /path/to/cvd-host_package.tar.gz
unzip /path/to/aosp_cf_x86_phone-img-xxxxxx.zip
-
Launch cuttlefish with:
$ HOME=$PWD ./bin/launch_cvd -
Stop cuttlefish with:
$ HOME=$PWD ./bin/stop_cvd
So you want to debug cuttlefish?
You can use adb to debug it, just like a physical device:
$ ./bin/adb -e shell
So you want to see cuttlefish?
You can use the TightVNC JViewer. Once you have downloaded the TightVNC Java Viewer JAR in a ZIP archive, run it with
$ java -jar tightvnc-jviewer.jar -ScalingFactor=50 -Tunneling=no -host=localhost -port=6444
Click "Connect" and you should see a lock screen!