commit | 92dbe53c08a3547e900ad6e338a28b812af834a5 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Oct 21 19:08:31 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Oct 21 19:08:31 2019 -0700 |
tree | b60ec5593d8febfadd5eddfae67066105a59977e | |
parent | ded1425a39ee8171e7628b763f13d357b192a027 [diff] | |
parent | a4220b9554fe8f2bece415ec36fcecb8074a9358 [diff] |
Make cuttlefish a Virtual A/B device. am: a4220b9554 Change-Id: I0fc3e847d3b1284b32e9a5d1b31efe1e8caa356b
Go to http://ci.android.com/
Enter a branch name. Start with aosp-master
if you don't know what you're looking for
Navigate to aosp_cf_x86_phone
and click on userdebug
for 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 have img
in 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
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!