• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

common/23-Mar-2024-6,6784,474

guest/23-Mar-2024-89,81858,496

host/23-Mar-2024-40,49728,446

recovery/23-Mar-2024-6744

shared/23-Mar-2024-4,4492,752

tests/23-Mar-2024-1,136740

tools/23-Mar-2024-2,4261,840

vsoc_arm64/23-Mar-2024-13034

vsoc_arm64_only/23-Mar-2024-8322

vsoc_x86/23-Mar-2024-23358

vsoc_x86_64/23-Mar-2024-11131

vsoc_x86_64_only/23-Mar-2024-8826

vsoc_x86_noapex/23-Mar-2024-517

Android.bpD23-Mar-20243.8 KiB163142

Android.mkD23-Mar-2024881 258

AndroidProducts.mkD23-Mar-20241.6 KiB3820

CleanSpec.mkD23-Mar-20243.1 KiB659

METADATAD23-Mar-202439 43

OWNERSD23-Mar-2024207 1210

README.mdD23-Mar-20241.5 KiB5438

TEST_MAPPINGD23-Mar-2024273 1918

dtb.imgD23-Mar-202411 21

fetcher.mkD23-Mar-2024322 136

host_package.mkD23-Mar-20245.1 KiB197178

required_imagesD23-Mar-202487 87

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
329. Launch cuttlefish with:
33
34   `$ HOME=$PWD ./bin/launch_cvd`
35
3610. 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