commit | d423b56964efb98e2e5d16dcb3cfc51f77a2a13f | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Tue Jun 02 16:16:05 2020 -0700 |
committer | A. Cody Schuffelen <schuffelen@google.com> | Wed Jun 03 13:53:06 2020 -0700 |
tree | be4ab24c5a6dbafba1954a8210e13b47499f3eef | |
parent | 907b7dd4c0cf99ae9f469b2042221a7bc630ff79 [diff] |
Extract build.prop files during assemble_cvd. These are now necessary for build_super_image.py from otatools. Additionally, "import" statements are logged for future reference. Test: Mix two aosp-master images. Bug: 157883945 Merged-In: If025fac93f3f4059d82be46ea006a03ccd61444d Change-Id: If025fac93f3f4059d82be46ea006a03ccd61444d (cherry picked from commit 6115d3decce9a1e10c23c2f23717dd3c1bfe1ea2)
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!