commit | e62646cbf3e1f450dd1e3e39756b656b92fbe19b | [log] [tgz] |
---|---|---|
author | Tristan Muntsinger <muntsinger@google.com> | Thu Jan 02 23:02:43 2020 -0800 |
committer | Tristan Muntsinger <muntsinger@google.com> | Thu Jan 02 23:10:04 2020 -0800 |
tree | b4f5e4612bd2da597fdbe56e1d0e33a44a0ba4ac | |
parent | 6a200952fd09ac3a24d98a0778a2528d1e9405a4 [diff] |
Install cuttlefish-common in arm64 SHI This updates the stable host image generation script for arm64 to install libc6:amd64, qemu-user-static, and cuttlefish-common instead of waiting for boot to install these. This allows the vsoc-01 home directory to be cleaned up so the arm64 SHI has a clean home directory (which matches the x86 build). Bug: 146145784 Test: local build and boot Change-Id: I2e979fe12bf29c54aee2f39aafb61d5f370c1999
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!