commit | f8c98716c9765865b72f05de60eae15c06bab6d8 | [log] [tgz] |
---|---|---|
author | Hao Chen <chenhaosjtuacm@google.com> | Tue Jun 23 23:21:28 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jun 23 23:21:28 2020 +0000 |
tree | 033920f9bd7770e90adb6a413fb0df49c42c6d77 | |
parent | e405b74e23b3a25246dbd29adb76b4011fe61cd6 [diff] | |
parent | 12c9a65e09a69e0380bc83dcae9d588774ddea4b [diff] |
Run VHAL server with launch_cvd am: 129471f5e9 am: 12c9a65e09 Original change: https://googleplex-android-review.googlesource.com/c/device/google/cuttlefish/+/11934089 Change-Id: Ic1767de1e47ed20414e89b4ac243ed6a2cfa24fa
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!