commit | e3322a86bc3da63a99ef42ea611b0df2905e22d4 | [log] [tgz] |
---|---|---|
author | A. Cody Schuffelen <schuffelen@google.com> | Wed Jun 03 16:36:37 2020 -0700 |
committer | Cody Schuffelen <schuffelen@google.com> | Fri Jun 05 19:27:44 2020 +0000 |
tree | 1272b200f81605f5f0fa7fac092677368d9b09f4 | |
parent | 907b7dd4c0cf99ae9f469b2042221a7bc630ff79 [diff] |
Maintain an instance-number-specific MAC address. For convenience these have instance specific numbers but are otherwise deterministic. In the future, we should support configuration values that are not wiped on restart. The difficulty at the moment is that cuttlefish_config.json is recreated even when not doing powerwashes. Test: launch_cvd --daemon; adb shell; ip link Bug: 146507767 Change-Id: I1342b8f864953d6bbc06e16cccf70ffe032ab73c Merged-In: I1342b8f864953d6bbc06e16cccf70ffe032ab73c
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!