commit | e70eceb01e43d2b0bfc955710aa55ec01d1c34f3 | [log] [tgz] |
---|---|---|
author | Jorge E. Moreira <jemoreira@google.com> | Fri Feb 14 11:35:00 2020 -0800 |
committer | Jorge E. Moreira <jemoreira@google.com> | Fri Feb 14 14:19:17 2020 -0800 |
tree | 5ebe44e93ecc6cbdc079eeaf99fd1f14174998d9 | |
parent | b306a3b2db399fd4b009b8f39f9e94e6ab9f6345 [diff] |
Create directories and add sepolicy for the Pixel Logger app This app gathers hardware logs from qcom specific endpoints so it's practically impossible to get it to work completely in cuttlefish. With this change it's possible to interact with it, but it will still fail if the record button is pressed. Bug: 143493313 Test: locally Change-Id: I71e0938c3371db88f81f064a70fef2f8569bc8b7
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!