commit | 05ebf0008485e0ba2ea0d839538af7d52c99d4ea | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Wed Jan 08 16:20:42 2020 -0800 |
committer | Justin Yun <justinyun@google.com> | Wed Feb 05 14:19:05 2020 +0900 |
tree | 980037f89f2a2e46070640125cf450575f40f914 | |
parent | 03c1e769e95e88092745b1b54b3b82d1341e26cb [diff] |
Bump PRODUCT_SHIPPING_API_LEVEL to 30 Since qt modules are not ready for product interface enforcement, override automatic enabling product interface enforcement to disable the enforcement for shipping api level 30 in qt-qpr1-dev-plus-aosp. It will not be merged down to master branch. Bug: 147387997 Bug: 148163848 Test: build cf_x86_phone Change-Id: Ifa37ac551b9ae1d110ef4b0d68e896443cb71546 Merged-In: Ifa37ac551b9ae1d110ef4b0d68e896443cb71546 (cherry picked from commit c7c262c2b6a1284545206963c42fd8cc6857a9d1)
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
aosp-master
if you don't know what you're looking foraosp_cf_x86_phone
and click on userdebug
for the latest buildArtifacts
aosp_cf_x86_phone-img-xxxxxx.zip
-- it will always have img
in the name. Download this filecvd-host_package.tar.gz
. You should always download a host package from the same build as your images.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
You can use adb
to debug it, just like a physical device:
$ ./bin/adb -e shell
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!