commit | 28e11ba5f57aea430516e7bada2057024e16d121 | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Wed Apr 29 10:38:25 2020 -0700 |
committer | Lingfeng Yang <lfy@google.com> | Fri May 15 14:41:28 2020 -0700 |
tree | 1fa2383dcd61f01de3268edc2fcfb2b8bf0a4892 | |
parent | 0238e0a67925bc2444580aa1a5eab1d5b815838a [diff] |
Update rtc sepolicy for new crosvm for rvc-dev The new crosvm update has enabled ACPI, which adds more pnp devices and makes rtc_cmos visible to Linux, which causes some of the wakeup source enumeration to change. Update it. Bug: 153580313 This is rebased on top of the change that splits the common parts out into sections for each vmm/arch, using https://android.googlesource.com/device/google/cuttlefish/+/e6cc6747834b55f461a941383a395857a663a95a/shared/sepolicy/vendor/genfs_contexts as the file. Test: No selinux denials about wakeupN on boot Merged-In: I950884f8623e89c78717a2d910b99e431f33a253 Change-Id: I950884f8623e89c78717a2d910b99e431f33a253
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!