http://github.com/hashbang/aosp-build
A build system for AOSP and AOSP-based ROMs that allows for easy customization, and automation while optimizing for reproducible builds.
By default this repo will build latest vanilla AOSP as a baseline, which also serves as the baseline E2E test.
Any third party rom project need only include their own customized version of the Makefile and config.yml from this repo, along with any desired patches.
Please join us on IRC: ircs://irc.hashbang.sh/#!os
| Device | Codename | Tested | Verifiable | Secure Boot | Download |
|---|---|---|---|---|---|
| Pixel 3a XL | Bonito | FALSE | FALSE | AVB 2.0 | Soon™ |
| Pixel 3a | Sargo | TRUE | FALSE | AVB 2.0 | Soon™ |
| Pixel 3 XL | Crosshatch | TRUE | FALSE | AVB 2.0 | Soon™ |
| Pixel 3 | Blueline | FALSE | FALSE | AVB 2.0 | Soon™ |
| Pixel 2 XL | Taimen | TRUE | FALSE | AVB 1.0 | Soon™ |
| Pixel 2 | Walleye | FALSE | FALSE | AVB 1.0 | Soon™ |
adb devices
Note: Should return something like: "7CKY1QD3F device"
unzip crosshatch-PQ1A.181205.006-factory-1947dcec.zip
cd crosshatch-PQ1A.181205.006
adb reboot bootloader
fastboot flashing unlock
Note: You must manually accept prompt on device.
./flash-all.sh
adb reboot bootloader
fastboot flashing lock
adb reboot recovery
adb sideload crosshatch-ota_update-08050423.zip
make DEVICE=crosshatch
make DEVICE=crosshatch BACKEND=virtualbox
cp config/env/digitalocean.{sample.,}env
vim config/env/digitalocean.env
make DEVICE=crosshatch BACKEND=digitalocean
On a fresh clone you will want to run the default target which will setup the backend, build the docker image, fetch sources, build the toolchain, generate signing keys, compile everything, then package a release zip.
The default backend is 'local'.
make DEVICE=crosshatch
make DEVICE=crosshatch fetch
Build tools required for generating signing keys and flashing.
make DEVICE=crosshatch tools
Each device needs its own set of keys:
make DEVICE=crosshatch keys
Build flashable images for desired device:
make DEVICE=crosshatch build release
Do basic cleaning without deleting cached artifacts/sources:
make clean
Clean everything but keys
make mrproper
make test
Create a shell inside the docker environment:
make shell
Output all untracked changes in android sources to a patchfile:
make diff > patches/my-feature.patch
make install
Build latest config from upstream sources:
make DEVICE=crosshatch manifest
Use at your own risk. You might be eaten by a grue.
Content type
Image
Digest
Size
1 GB
Last updated
about 6 years ago
docker pull hashbang/aosp-build