15 Commits

Author SHA1 Message Date
Konsta
74c068f5bd remove coreutils from additional packages
* This is installed on Ubuntu by default.
* dosfstools and mtools are required for custom mkbootimg.mk.
  e2fsprogs, fdisk, and kpartx are required for mkimg.sh.
  rsync is required for AOSP kernel build environment.
2025-06-27 12:23:50 +03:00
Konsta
fc65dea5ab remove meson build system tools from additional packages
* Mesa and libcamera have been converted to build using soong blueprint
  makefiles so these are no longer required.
2025-06-27 12:23:50 +03:00
Konsta
03c2070ba0 switch to external/mesa3d-rpi in device manifest
* Moving forward there will be two copies of Mesa in Raspberry Vanilla
  AOSP source tree.

  external/mesa3d is the upstream AOSP fork directly from AOSP that has
  soong blueprint makefiles to satisfy package dependencies for
  gfxstream-vulkan elsewhere in the AOSP tree.

  external/mesa3d-rpi is the Raspberry Vanilla fork (generally the latest
  upstream mainline stable version) that has some additional patches and
  soong blueprint makefiles to build only the drivers that are used on
  Raspberry Pi (vc4 & v3d gallium, broadcom vulkan).
2025-06-27 12:23:47 +03:00
Konsta
13804f976d update to android-15.0.0_r32 2025-05-07 14:24:44 +03:00
Konsta
8e616d6e1e update to android-15.0.0_r26 2025-04-11 11:43:39 +03:00
Konsta
53bbe9e04c remove external/libdav1d from device manifest
* No longer needed with updated FFmpeg 7.1 implementation that links against
  static libdav1d library.
2025-04-09 13:00:57 +03:00
Konsta
8199f5864c add wrimg scripts to device manifest 2025-04-04 16:08:20 +03:00
Konsta
470487ead2 remove external/wpa_supplicant_8 from device manifest
* No longer needed after updating to keymint AIDL APEX HAL.
  6001b95ce2
  484c9906ae
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/29.
2025-03-11 18:59:20 +02:00
Konsta
658acd8304 update to android-15.0.0_r20 2025-03-06 14:05:16 +02:00
Konsta
4ebec5cc59 remove bc from additional packages
* No longer needed.
  f0a37c0c28
  9f396b332a
2025-02-20 15:37:39 +02:00
Konsta
fde661b131 add external/libdisplay-info to device manifest
* Upstream drm_hwcomposer added a dependency to libdisplay-info in
  f8c14115ec.
2025-02-15 13:38:36 +02:00
Konsta
b383754ccd update to android-15.0.0_r14 2025-02-05 11:44:49 +02:00
Dávid László
fd60416790 Update README.md: Include rsync in additional packages 2025-01-18 11:53:55 +01:00
Konsta
fb06d34358 update to android-15.0.0_r10 2025-01-08 14:21:15 +02:00
Konsta
b264ffd4bd update to android-15.0.0_r6 2024-12-09 14:58:06 +02:00
3 changed files with 33 additions and 72 deletions

View File

@@ -2,8 +2,6 @@
***
NOTE: Raspberry Vanilla `android-15.0.0_r4` branch is not maintained. This branch was only created for backup purposes during Android QPR update. Using this branch is not supported. Consider using newer AOSP versions.
### How to build (Ubuntu 22.04 LTS):
1. Establish [Android build environment](https://source.android.com/docs/setup/start/requirements).
@@ -11,23 +9,22 @@ NOTE: Raspberry Vanilla `android-15.0.0_r4` branch is not maintained. This branc
2. Install additional packages:
```
sudo apt-get install bc coreutils dosfstools e2fsprogs fdisk kpartx mtools ninja-build pkg-config python3-pip
sudo pip3 install meson mako jinja2 ply pyyaml dataclasses
sudo apt-get install dosfstools e2fsprogs fdisk kpartx mtools rsync
```
3. Initialize repo:
```
repo init -u https://android.googlesource.com/platform/manifest -b android-15.0.0_r4
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-15.0.0_r4/manifest_brcm_rpi.xml --create-dirs
repo init -u https://android.googlesource.com/platform/manifest -b android-15.0.0_r32
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-15.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-15.0.0_r4 --depth=1
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-15.0.0_r4/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-15.0.0_r4/remove_projects.xml
repo init -u https://android.googlesource.com/platform/manifest -b android-15.0.0_r32 --depth=1
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-15.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-15.0/remove_projects.xml
```
4. Sync source code:
@@ -45,22 +42,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-ap3a-userdebug
lunch aosp_rpi4-bp1a-userdebug
```
```
lunch aosp_rpi4_tv-ap3a-userdebug
lunch aosp_rpi4_tv-bp1a-userdebug
```
```
lunch aosp_rpi4_car-ap3a-userdebug
lunch aosp_rpi4_car-bp1a-userdebug
```
```
lunch aosp_rpi5-ap3a-userdebug
lunch aosp_rpi5-bp1a-userdebug
```
```
lunch aosp_rpi5_tv-ap3a-userdebug
lunch aosp_rpi5_tv-bp1a-userdebug
```
```
lunch aosp_rpi5_car-ap3a-userdebug
lunch aosp_rpi5_car-bp1a-userdebug
```
7. Compile:

View File

@@ -3,11 +3,13 @@
<remote name="github" fetch="https://github.com/" />
<!-- Raspberry Pi -->
<project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-15.0.0_r4" >
<project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-15.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-15.0.0_r4" >
<project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-15.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-15.0" />
<project path="device/brcm/rpi5-kernel" name="raspberry-vanilla/android_device_brcm_rpi5-kernel" remote="github" revision="android-15.0" />
@@ -20,7 +22,7 @@
<!-- Build -->
<remove-project name="platform/build" />
<remove-project name="platform/build/soong" />
<project path="build/make" name="raspberry-vanilla/android_build" remote="github" revision="android-15.0.0_r4" >
<project path="build/make" name="raspberry-vanilla/android_build" remote="github" revision="android-15.0" >
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
<linkfile src="core" dest="build/core" />
@@ -28,7 +30,7 @@
<linkfile src="target" dest="build/target" />
<linkfile src="tools" dest="build/tools" />
</project>
<project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-15.0.0_r4" >
<project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-15.0" >
<linkfile src="root.bp" dest="Android.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" />
</project>
@@ -40,30 +42,24 @@
<project path="external/libyuv_chromium" name="raspberry-vanilla/android_external_libyuv_chromium" remote="github" revision="android-15.0" />
<!-- FFmpeg -->
<remove-project name="platform/external/libdav1d" />
<project path="external/ffmpeg" name="raspberry-vanilla/android_external_ffmpeg" remote="github" revision="android-15.0" />
<project path="external/ffmpeg_codec2" name="raspberry-vanilla/android_external_ffmpeg_codec2" remote="github" revision="android-15.0" />
<project path="external/libdav1d" name="raspberry-vanilla/android_external_libdav1d" remote="github" revision="android-15.0" />
<project path="external/libudev-zero" name="raspberry-vanilla/android_external_libudev-zero" remote="github" revision="android-15.0" />
<!-- Graphics -->
<remove-project name="platform/external/drm_hwcomposer" />
<remove-project name="platform/external/libdrm" />
<remove-project name="platform/external/mesa3d" />
<remove-project name="platform/external/minigbm" />
<project path="external/drm_hwcomposer" name="raspberry-vanilla/android_external_drm_hwcomposer" remote="github" revision="android-15.0" />
<project path="external/libdrm" name="raspberry-vanilla/android_external_libdrm" remote="github" revision="android-15.0.0_r4" />
<project path="external/mesa3d" name="raspberry-vanilla/android_external_mesa3d" remote="github" revision="android-14.0" />
<project path="external/minigbm" name="raspberry-vanilla/android_external_minigbm" remote="github" revision="android-15.0.0_r4" />
<project path="external/libdisplay-info" name="platform/external/libdisplay-info" remote="aosp" revision="26677e2a01d937c837cb1789a776463ed18263ac" />
<project path="external/mesa3d-rpi" name="raspberry-vanilla/android_external_mesa3d-rpi" remote="github" revision="android-15.0" />
<project path="external/minigbm" name="raspberry-vanilla/android_external_minigbm" remote="github" revision="android-15.0" />
<!-- v4l2_codec2 -->
<remove-project name="platform/external/v4l2_codec2" />
<project path="external/v4l2_codec2" name="raspberry-vanilla/android_external_v4l2_codec2" remote="github" revision="android-15.0" />
<!-- Wifi -->
<remove-project name="platform/external/wpa_supplicant_8" />
<remove-project name="platform/packages/modules/Wifi" />
<project path="external/wpa_supplicant_8" name="raspberry-vanilla/android_external_wpa_supplicant_8" remote="github" revision="android-15.0.0_r4" />
<project path="packages/modules/Wifi" name="raspberry-vanilla/android_packages_modules_Wifi" remote="github" revision="android-15.0.0_r4" />
<project path="packages/modules/Wifi" name="raspberry-vanilla/android_packages_modules_Wifi" remote="github" revision="android-15.0" />
</manifest>

View File

@@ -2,14 +2,12 @@
<manifest>
<remove-project name="device/google/akita" />
<remove-project name="device/google/akita-sepolicy" />
<remove-project name="device/google/akita-kernels/5.15" />
<remove-project name="device/google/akita-kernels/6.1" />
<remove-project name="device/amlogic/yukawa" />
<remove-project name="device/amlogic/yukawa-kernel" />
<remove-project name="device/google/barbet" />
<remove-project name="device/google/barbet-sepolicy" />
<remove-project name="device/google/bluejay" />
<remove-project name="device/google/bluejay-sepolicy" />
<remove-project name="device/google/bluejay-kernels/5.10" />
<remove-project name="device/google/bluejay-kernels/6.1" />
<remove-project name="device/google/caimito" />
<remove-project name="device/google/caimito-kernels/6.1" />
<remove-project name="device/google/caimito-sepolicy" />
@@ -18,12 +16,9 @@
<remove-project name="device/google/comet-sepolicy" />
<remove-project name="device/google/common/etm" />
<remove-project name="device/google/contexthub" />
<remove-project name="device/google/coral" />
<remove-project name="device/google/coral-kernel" />
<remove-project name="device/google/coral-sepolicy" />
<remove-project name="device/google/felix" />
<remove-project name="device/google/felix-sepolicy" />
<remove-project name="device/google/felix-kernels/5.10" />
<remove-project name="device/google/felix-kernels/6.1" />
<remove-project name="device/google/gs101" />
<remove-project name="device/google/gs101-sepolicy" />
<remove-project name="device/google/gs201" />
@@ -31,26 +26,18 @@
<remove-project name="device/google/gs-common" />
<remove-project name="device/google/lynx" />
<remove-project name="device/google/lynx-sepolicy" />
<remove-project name="device/google/lynx-kernels/5.10" />
<remove-project name="device/google/lynx-kernels/6.1" />
<remove-project name="device/google/pantah" />
<remove-project name="device/google/pantah-sepolicy" />
<remove-project name="device/google/pantah-kernels/5.10" />
<remove-project name="device/google/pantah-kernels/6.1" />
<remove-project name="device/google/raviole" />
<remove-project name="device/google/raviole-kernels/5.10" />
<remove-project name="device/google/redbull" />
<remove-project name="device/google/redbull-kernel" />
<remove-project name="device/google/redbull-sepolicy" />
<remove-project name="device/google/redfin" />
<remove-project name="device/google/redfin-sepolicy" />
<remove-project name="device/google/raviole-kernels/6.1" />
<remove-project name="device/google/tangorpro" />
<remove-project name="device/google/tangorpro-sepolicy" />
<remove-project name="device/google/tangorpro-kernels/5.10" />
<remove-project name="device/google/tangorpro-kernels/6.1" />
<remove-project name="device/google/shusky" />
<remove-project name="device/google/shusky-sepolicy" />
<remove-project name="device/google/shusky-kernels/5.15" />
<remove-project name="device/google/sunfish" />
<remove-project name="device/google/sunfish-kernel" />
<remove-project name="device/google/sunfish-sepolicy" />
<remove-project name="device/google/shusky-kernels/6.1" />
<remove-project name="device/google/trout" />
<remove-project name="device/google/zuma" />
<remove-project name="device/google/zuma-sepolicy" />
@@ -63,30 +50,11 @@
<remove-project name="device/linaro/poplar" />
<remove-project name="device/linaro/poplar-kernel" />
<remove-project name="platform/hardware/invensense" />
<remove-project name="platform/hardware/knowles/athletico/sound_trigger_hal" />
<remove-project name="platform/hardware/nxp/keymint" />
<remove-project name="platform/hardware/nxp/nfc" />
<remove-project name="platform/hardware/nxp/uwb" />
<remove-project name="platform/hardware/nxp/secure_element" />
<remove-project name="platform/hardware/qcom/audio" />
<remove-project name="platform/hardware/qcom/bootctrl" />
<remove-project name="platform/hardware/qcom/bt" />
<remove-project name="platform/hardware/qcom/camera" />
<remove-project name="platform/hardware/qcom/data/ipacfg-mgr" />
<remove-project name="platform/hardware/qcom/display" />
<remove-project name="platform/hardware/qcom/gps" />
<remove-project name="platform/hardware/qcom/keymaster" />
<remove-project name="platform/hardware/qcom/media" />
<remove-project name="platform/hardware/qcom/power" />
<remove-project name="platform/hardware/qcom/sm7150/gps" />
<remove-project name="platform/hardware/qcom/sm7250/display" />
<remove-project name="platform/hardware/qcom/sm7250/gps" />
<remove-project name="platform/hardware/qcom/sm7250/media" />
<remove-project name="platform/hardware/qcom/sm8150/data/ipacfg-mgr" />
<remove-project name="platform/hardware/qcom/sm8150/display" />
<remove-project name="platform/hardware/qcom/sm8150/gps" />
<remove-project name="platform/hardware/qcom/sm8150/media" />
<remove-project name="platform/hardware/qcom/sm8150/thermal" />
<remove-project name="platform/hardware/qcom/sm8150/vr" />
<remove-project name="platform/hardware/qcom/sm8150p/gps" />
<remove-project name="platform/hardware/nxp/weaver" />
<remove-project name="platform/hardware/qcom/wlan" />
<remove-project name="platform/hardware/st/secure_element" />
<remove-project name="platform/hardware/st/secure_element2" />