Compare commits
14 Commits
android-14
...
android-14
Author | SHA1 | Date | |
---|---|---|---|
|
322e023a5e | ||
|
93c3aac5bd | ||
|
8c3b7a1fb7 | ||
|
02f83a3a1c | ||
|
b790d93bab | ||
|
765e7f2d97 | ||
|
d84f513987 | ||
|
6ae8acffbd | ||
|
e7c339459e | ||
|
0b06d20e60 | ||
|
a9bbff2c52 | ||
|
e63e7fc040 | ||
|
3bda82ae8c | ||
|
a6af80b359 |
24
README.md
24
README.md
@@ -2,28 +2,30 @@
|
||||
|
||||
***
|
||||
|
||||
### How to build:
|
||||
NOTE: Raspberry Vanilla `android-14.0` branch is no longer maintained. Consider using newer AOSP versions.
|
||||
|
||||
1. Establish [Android build environment](https://source.android.com/setup/initializing) and install [repo](https://source.android.com/docs/setup/develop#installing-repo).
|
||||
### How to build (Ubuntu 22.04 LTS):
|
||||
|
||||
1. Establish [Android build environment](https://source.android.com/docs/setup/start/requirements).
|
||||
|
||||
2. Install additional packages:
|
||||
|
||||
```
|
||||
sudo apt-get install bc coreutils dosfstools e2fsprogs fdisk kpartx mtools ninja-build pkg-config python3-pip
|
||||
sudo apt-get install bc coreutils dosfstools e2fsprogs fdisk kpartx mtools ninja-build pkg-config python3-pip rsync
|
||||
sudo pip3 install meson mako jinja2 ply pyyaml dataclasses
|
||||
```
|
||||
|
||||
3. Initialize repo:
|
||||
|
||||
```
|
||||
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r22
|
||||
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r67
|
||||
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0/manifest_brcm_rpi.xml --create-dirs
|
||||
```
|
||||
|
||||
Or optionally, you can reduce download size by creating a shallow clone and removing unneeded projects:
|
||||
|
||||
```
|
||||
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r22 --depth=1
|
||||
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r67 --depth=1
|
||||
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0/manifest_brcm_rpi.xml --create-dirs
|
||||
curl -o .repo/local_manifests/remove_projects.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0/remove_projects.xml
|
||||
```
|
||||
@@ -43,22 +45,22 @@ repo sync
|
||||
6. Select the device (`rpi4` or `rpi5`) and build target (tablet UI, `tv` for Android TV, or `car` for Android Automotive):
|
||||
|
||||
```
|
||||
lunch aosp_rpi4-userdebug
|
||||
lunch aosp_rpi4-ap2a-userdebug
|
||||
```
|
||||
```
|
||||
lunch aosp_rpi4_tv-userdebug
|
||||
lunch aosp_rpi4_tv-ap2a-userdebug
|
||||
```
|
||||
```
|
||||
lunch aosp_rpi4_car-userdebug
|
||||
lunch aosp_rpi4_car-ap2a-userdebug
|
||||
```
|
||||
```
|
||||
lunch aosp_rpi5-userdebug
|
||||
lunch aosp_rpi5-ap2a-userdebug
|
||||
```
|
||||
```
|
||||
lunch aosp_rpi5_tv-userdebug
|
||||
lunch aosp_rpi5_tv-ap2a-userdebug
|
||||
```
|
||||
```
|
||||
lunch aosp_rpi5_car-userdebug
|
||||
lunch aosp_rpi5_car-ap2a-userdebug
|
||||
```
|
||||
|
||||
7. Compile:
|
||||
|
@@ -5,9 +5,11 @@
|
||||
<!-- Raspberry Pi -->
|
||||
<project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-14.0" >
|
||||
<linkfile src="mkimg.sh" dest="rpi4-mkimg.sh" />
|
||||
<linkfile src="wrimg.sh" dest="rpi4-wrimg.sh" />
|
||||
</project>
|
||||
<project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-14.0" >
|
||||
<linkfile src="mkimg.sh" dest="rpi5-mkimg.sh" />
|
||||
<linkfile src="wrimg.sh" dest="rpi5-wrimg.sh" />
|
||||
</project>
|
||||
<project path="device/brcm/rpi4-kernel" name="raspberry-vanilla/android_device_brcm_rpi4-kernel" remote="github" revision="android-14.0" />
|
||||
<project path="device/brcm/rpi5-kernel" name="raspberry-vanilla/android_device_brcm_rpi5-kernel" remote="github" revision="android-14.0" />
|
||||
@@ -40,6 +42,7 @@
|
||||
<project path="external/libyuv_chromium" name="raspberry-vanilla/android_external_libyuv_chromium" remote="github" revision="android-14.0" />
|
||||
|
||||
<!-- FFmpeg -->
|
||||
<remove-project name="platform/external/libdav1d" />
|
||||
<project path="external/ffmpeg" name="raspberry-vanilla/android_external_ffmpeg" remote="github" revision="android-14.0" />
|
||||
<project path="external/ffmpeg_codec2" name="raspberry-vanilla/android_external_ffmpeg_codec2" remote="github" revision="android-14.0" />
|
||||
<project path="external/libdav1d" name="raspberry-vanilla/android_external_libdav1d" remote="github" revision="android-14.0" />
|
||||
|
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<remove-project name="device/google/akita" />
|
||||
<remove-project name="device/google/akita-sepolicy" />
|
||||
<remove-project name="device/google/akita-kernel" />
|
||||
<remove-project name="device/amlogic/yukawa" />
|
||||
<remove-project name="device/amlogic/yukawa-kernel" />
|
||||
<remove-project name="device/google/barbet" />
|
||||
@@ -52,8 +55,6 @@
|
||||
<remove-project name="device/linaro/hikey-kernel" />
|
||||
<remove-project name="device/linaro/poplar" />
|
||||
<remove-project name="device/linaro/poplar-kernel" />
|
||||
<remove-project name="device/ti/beagle-x15" />
|
||||
<remove-project name="device/ti/beagle-x15-kernel" />
|
||||
<remove-project name="platform/hardware/invensense" />
|
||||
<remove-project name="platform/hardware/knowles/athletico/sound_trigger_hal" />
|
||||
<remove-project name="platform/hardware/nxp/nfc" />
|
||||
@@ -80,7 +81,6 @@
|
||||
<remove-project name="platform/hardware/qcom/sm8150/vr" />
|
||||
<remove-project name="platform/hardware/qcom/sm8150p/gps" />
|
||||
<remove-project name="platform/hardware/qcom/wlan" />
|
||||
<remove-project name="platform/hardware/st/nfc" />
|
||||
<remove-project name="platform/hardware/st/secure_element" />
|
||||
<remove-project name="platform/hardware/st/secure_element2" />
|
||||
<remove-project name="platform/hardware/samsung/nfc" />
|
||||
|
Reference in New Issue
Block a user