Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
common/ | 03-May-2024 | - | 6,054 | 3,995 | ||
guest/ | 03-May-2024 | - | 57,067 | 37,034 | ||
host/ | 03-May-2024 | - | 31,043 | 22,002 | ||
shared/ | 03-May-2024 | - | 4,418 | 2,769 | ||
tests/ | 03-May-2024 | - | 1,141 | 745 | ||
tools/ | 03-May-2024 | - | 2,426 | 1,843 | ||
vsoc_arm64/ | 03-May-2024 | - | 217 | 77 | ||
vsoc_x86/ | 03-May-2024 | - | 635 | 341 | ||
vsoc_x86_64/ | 03-May-2024 | - | 198 | 76 | ||
vsoc_x86_noapex/ | 03-May-2024 | - | 51 | 7 | ||
Android.bp | D | 03-May-2024 | 3.7 KiB | 170 | 147 | |
Android.mk | D | 03-May-2024 | 881 | 25 | 8 | |
AndroidProducts.mk | D | 03-May-2024 | 1.5 KiB | 37 | 19 | |
CleanSpec.mk | D | 03-May-2024 | 3.1 KiB | 65 | 9 | |
OWNERS | D | 03-May-2024 | 207 | 12 | 10 | |
README.md | D | 03-May-2024 | 1.5 KiB | 54 | 38 | |
TEST_MAPPING | D | 03-May-2024 | 273 | 19 | 18 | |
default-permissions.xml | D | 03-May-2024 | 6.3 KiB | 129 | 63 | |
dtb.img | D | 03-May-2024 | 11 | 2 | 1 | |
fetcher.mk | D | 03-May-2024 | 322 | 13 | 6 | |
host_package.mk | D | 03-May-2024 | 3.3 KiB | 131 | 114 |
README.md
1# So you want to try cuttlefish? 2 31. Download, build, and install the host debian package: 4 5```bash 6git clone https://github.com/google/android-cuttlefish 7cd android-cuttlefish 8debuild -i -us -uc -b 9sudo dpkg -i ../cuttlefish-common_*_amd64.deb 10sudo apt-get install -f 11``` 12 132. Go to http://ci.android.com/ 143. Enter a branch name. Start with `aosp-master` if you don't know what you're 15 looking for 164. Navigate to `aosp_cf_x86_phone` and click on `userdebug` for the latest build 175. Click on `Artifacts` 186. Scroll down to the OTA images. These packages look like 19 `aosp_cf_x86_phone-img-xxxxxx.zip` -- it will always have `img` in the name. 20 Download this file 217. Scroll down to `cvd-host_package.tar.gz`. You should always download a host 22 package from the same build as your images. 238. On your local system, combine the packages: 24 25```bash 26mkdir cf 27cd cf 28tar xvf /path/to/cvd-host_package.tar.gz 29unzip /path/to/aosp_cf_x86_phone-img-xxxxxx.zip 30``` 31 328. Launch cuttlefish with: 33 34 `$ HOME=$PWD ./bin/launch_cvd` 35 369. Stop cuttlefish with: 37 38 `$ HOME=$PWD ./bin/stop_cvd` 39 40# So you want to debug cuttlefish? 41 42You can use `adb` to debug it, just like a physical device: 43 44 `$ ./bin/adb -e shell` 45 46# So you want to see cuttlefish? 47 48You can use the [TightVNC JViewer](https://www.tightvnc.com/download.php). Once 49you have downloaded the *TightVNC Java Viewer JAR in a ZIP archive*, run it with 50 51 `$ java -jar tightvnc-jviewer.jar -ScalingFactor=50 -Tunneling=no -host=localhost -port=6444` 52 53Click "Connect" and you should see a lock screen! 54