commit | 7a3ad50dc3d4964b4c721ec83fae67f7cb7a3b0f | [log] [tgz] |
---|---|---|
author | Cody Schuffelen <schuffelen@google.com> | Mon Dec 30 14:08:13 2019 -0800 |
committer | Cody Schuffelen <schuffelen@google.com> | Mon Dec 30 14:08:13 2019 -0800 |
tree | 78f6320f5da39da2b41bc73887cc3fdc0704aef9 | |
parent | 67660da2da4c7b625b5be0fb3de30f016df08026 [diff] |
Replace LOG(FATAL)+return with LOG(ERROR)+return Every function that calls one of the functions with LOG(FATAL) itself also checks the return value and exits if given a bad return value. Removing the first LOG(FATAL) allows both places to log with their own context. Test: TH Bug: None Change-Id: I13f7efa9e2d34298692d65ab65432edd3d505c44
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!