commit | 0771c6f25a4fc0731118287ee5c9f80ab2bcd0cf | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Fri Dec 27 12:13:44 2019 -0800 |
committer | Alistair Delva <adelva@google.com> | Fri Dec 27 22:31:45 2019 +0000 |
tree | 4f14a1ce4ee02ebe63b2788f2c62eb862d71c62a | |
parent | 3d7531b0b3c1bb36ee700dbe617881b7614b77c7 [diff] |
Fix sepolicy for -gpu_mode=drm_virgl Allows us to use launch_cvd with "-gpu_mode=drm_virgl" without disabling guest sepolicy enforcement again. This breakage was caused by device assignments changing in newer crosvm builds and an update to drm_hwcomposer. Bug: 128842306 Change-Id: Icf3524a58413dc64a2711f6a30a545aed87971b4 Merged-In: Icf3524a58413dc64a2711f6a30a545aed87971b4
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!