commit | 185db0ef29273dbf715d3d58791fa80d96cf5b36 | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <[email protected]> | Fri Apr 17 16:14:09 2020 -0700 |
committer | Jason Macnak <[email protected]> | Mon May 04 19:05:12 2020 -0700 |
tree | 012c401593d786a59b3a3a8f0a6db5b4a6ef7f75 | |
parent | e49ffe5702df7752f9ecd8f62c02218d11e32cc0 [diff] |
Replace cf_qemu.sh with a direct invocation. This has more parity with crosvm_manager.cpp. Bug: b/146515640 Test: launch_cvd -vm_manager=qemu_cli Change-Id: I08591ac47b7ef2a84d740333e99ffc6c377a760b Merged-In: Ibb91988cd61a6604334c37569c09219ef3e77fd3
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!