commit | 94b29a57c72ed0de9641620631fc6f4480d1f77f | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Fri Jun 12 14:18:59 2020 -0700 |
committer | Ram Muthiah <rammuthiah@google.com> | Tue Sep 21 12:42:02 2021 -0700 |
tree | 198152200192d7d55acdad978f7ebda7c68e2285 | |
parent | 18e400bd15ad2e9660404bfc5e3b6e222717fe29 [diff] |
Copy assemble_cvd.log into launcher.log launcher.log is currently the only file stored by TreeHugger. With this change, it will now contain all the relevant output from assemble_cvd, run_cvd, and subprocesses of run_cvd on the host. Bug: 158710307 Test: launch_cvd, check ~/cuttlefish_runtime/launcher.log Change-Id: Ic8945ec6a7064f59900ff811147a6a8090356442 Merged-In: Ic8945ec6a7064f59900ff811147a6a8090356442
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!