commit | 192505bfb6f87ce770d379146b73dd9f195dae49 | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Tue Jun 16 21:40:53 2020 -0700 |
committer | A. Cody Schuffelen <schuffelen@google.com> | Wed Jun 17 12:49:33 2020 -0700 |
tree | 99dbc42d4c667b94925877381808004787c17080 | |
parent | 236fa011f37d2bec5570da0e45a71abe4b569620 [diff] |
Fix build.prop files from system targets Also fixes the following warnings by copying x/*/build.prop to x/etc/build.prop 2020-06-16 21:54:15 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop 2020-06-16 21:54:15 - common.py - WARNING : Failed to read VENDOR/etc/build.prop 2020-06-16 21:54:15 - common.py - WARNING : Failed to read PRODUCT/etc/build.prop 2020-06-16 21:54:15 - common.py - WARNING : Failed to read SYSTEM_EXT/etc/build.prop 2020-06-16 21:54:15 - common.py - WARNING : Failed to read ODM/etc/build.prop Bug: 158301941 Test: fetch_cvd -default_build=/path/to/out/dist:aosp_cf_x86_phone-userdebug -system_build=aosp-master && launch_cvd Test: Combine local vendor with aosp-master system. Change-Id: Id7d3e9643e7357ea49d4a6c31a1f5630670a56ee
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!