commit | 2168c247a6b8ab1a8aa30739ef6d7abcddaa10cc | [log] [tgz] |
---|---|---|
author | Cody Schuffelen <schuffelen@google.com> | Fri Dec 13 16:15:27 2019 -0800 |
committer | A. Cody Schuffelen <schuffelen@google.com> | Wed Jan 22 15:52:48 2020 -0800 |
tree | 07b03a7eb175dcc3d9bdeb6bb0098ccb8c786f2a | |
parent | f53ded1c81856afb9d0ed59b52a8eeab4366f453 [diff] |
Put cuttlefish_config.json in cuttlefish_assembly A copy is kept in the instance directory to work with other systems that expect the file to be present in ~/cuttlefish_runtime, such as tradefed. The config is no longer instance-specific Bug: 145247175 Test: Build and run, check ~/cuttlefish_assembly Change-Id: I838fb18ac24340b05bb1e879615b10e0bc31a737
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!