commit | e405b74e23b3a25246dbd29adb76b4011fe61cd6 | [log] [tgz] |
---|---|---|
author | Yan Zhu <yanzhuyan@google.com> | Fri Jun 19 17:53:16 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Jun 19 17:53:16 2020 +0000 |
tree | 89820a899e2cbb98e18ad60e4de4b61eed29e79e | |
parent | e10186fcb623bbc68f6ba7f3310087d0d394e38c [diff] | |
parent | 30e3d1c440cbdf4429f27ecb37c01e4483bc1f01 [diff] |
Merge "Update package whitelist for cuttlefish on auto" into rvc-dev am: 0e66fc3e07 am: 30e3d1c440 Original change: https://googleplex-android-review.googlesource.com/c/device/google/cuttlefish/+/11902058 Change-Id: I18682377d55e6bc26b906f9816af8aad9c1dea70
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!