commit | 64a3e665bf3f74662bd5a69713da0e66535964c0 | [log] [tgz] |
---|---|---|
author | Kevin Meier <kevinme@google.com> | Thu Oct 15 13:18:56 2020 -0700 |
committer | Kevin Meier <kevinme@google.com> | Tue Nov 03 19:15:27 2020 +0000 |
tree | d7dde2ae40ef596922fca180412525b30e89d93f | |
parent | 6148061a97d5f33ee0c6b51a1b5653586ffb53ad [diff] |
Allow com.android.networkstack.tethering to be installed as SYSTEM Enables the tethering UI on cuttlefish so the test passes. Bug: 163536846 Test: atest WifiSettingTest (cherry picked from commit d768f38256f75293bb1bf9a497dd56dbef0fa760) Change-Id: Ia6f257a9813231337c34767d67202f3caeb33c07 Merged-In: I4d9b7b4cd40995a229f001c0806b0a9aeebfcaaa
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!