8 Commits

Author SHA1 Message Date
Konsta
62ee6d7e98 add note that this branch is not maintained 2024-12-20 22:08:00 +02:00
Konsta
3a6781ea08 update link to AOSP documentation and note recommended build environment 2024-10-22 13:12:56 +03:00
Konsta
d3c0476092 branch out android-14.0.0_r34 2024-06-12 18:46:35 +03:00
Konsta
0b06d20e60 update to android-14.0.0_r34 2024-05-08 17:19:04 +03:00
Konsta
a9bbff2c52 switch order of src and dest for symlinks in device manifest
* Changed in AOSP14 QPR2.
2024-04-30 13:24:48 +03:00
Konsta
e63e7fc040 add libdav1d to device manifest
* AOSP implementation is not ready yet.
2024-04-30 13:11:55 +03:00
Konsta
3bda82ae8c update to android-14.0.0_r30 2024-04-04 16:22:55 +03:00
Konsta
a6af80b359 update to android-14.0.0_r29 2024-04-04 14:35:05 +03:00
3 changed files with 34 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
*** ***
NOTE: Raspberry Vanilla `android-14.0.0_r22` 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. NOTE: Raspberry Vanilla `android-14.0.0_r34` 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): ### How to build (Ubuntu 22.04 LTS):
@@ -18,16 +18,16 @@ sudo pip3 install meson mako jinja2 ply pyyaml dataclasses
3. Initialize repo: 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_r34
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0.0_r22/manifest_brcm_rpi.xml --create-dirs curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0.0_r34/manifest_brcm_rpi.xml --create-dirs
``` ```
Or optionally, you can reduce download size by creating a shallow clone and removing unneeded projects: 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_r34 --depth=1
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0.0_r22/manifest_brcm_rpi.xml --create-dirs curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0.0_r34/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.0_r22/remove_projects.xml curl -o .repo/local_manifests/remove_projects.xml -L https://raw.githubusercontent.com/raspberry-vanilla/android_local_manifest/android-14.0.0_r34/remove_projects.xml
``` ```
4. Sync source code: 4. Sync source code:
@@ -45,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): 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-ap1a-userdebug
``` ```
``` ```
lunch aosp_rpi4_tv-userdebug lunch aosp_rpi4_tv-ap1a-userdebug
``` ```
``` ```
lunch aosp_rpi4_car-userdebug lunch aosp_rpi4_car-ap1a-userdebug
``` ```
``` ```
lunch aosp_rpi5-userdebug lunch aosp_rpi5-ap1a-userdebug
``` ```
``` ```
lunch aosp_rpi5_tv-userdebug lunch aosp_rpi5_tv-ap1a-userdebug
``` ```
``` ```
lunch aosp_rpi5_car-userdebug lunch aosp_rpi5_car-ap1a-userdebug
``` ```
7. Compile: 7. Compile:

View File

@@ -3,11 +3,11 @@
<remote name="github" fetch="https://github.com/" /> <remote name="github" fetch="https://github.com/" />
<!-- Raspberry Pi --> <!-- Raspberry Pi -->
<project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-14.0.0_r22" > <project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-14.0.0_r34" >
<linkfile src="mkimg.sh" dest="rpi4-mkimg.sh" /> <linkfile dest="rpi4-mkimg.sh" src="mkimg.sh" />
</project> </project>
<project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-14.0.0_r22" > <project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-14.0.0_r34" >
<linkfile src="mkimg.sh" dest="rpi5-mkimg.sh" /> <linkfile dest="rpi5-mkimg.sh" src="mkimg.sh" />
</project> </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/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" /> <project path="device/brcm/rpi5-kernel" name="raspberry-vanilla/android_device_brcm_rpi5-kernel" remote="github" revision="android-14.0" />
@@ -20,17 +20,17 @@
<!-- Build --> <!-- Build -->
<remove-project name="platform/build" /> <remove-project name="platform/build" />
<remove-project name="platform/build/soong" /> <remove-project name="platform/build/soong" />
<project path="build/make" name="raspberry-vanilla/android_build" remote="github" revision="android-14.0.0_r22" > <project path="build/make" name="raspberry-vanilla/android_build" remote="github" revision="android-14.0.0_r34" >
<linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" /> <linkfile dest="build/CleanSpec.mk" src="CleanSpec.mk" />
<linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" /> <linkfile dest="build/buildspec.mk.default" src="buildspec.mk.default" />
<linkfile src="core" dest="build/core" /> <linkfile dest="build/core" src="core" />
<linkfile src="envsetup.sh" dest="build/envsetup.sh" /> <linkfile dest="build/envsetup.sh" src="envsetup.sh" />
<linkfile src="target" dest="build/target" /> <linkfile dest="build/target" src="target" />
<linkfile src="tools" dest="build/tools" /> <linkfile dest="build/tools" src="tools" />
</project> </project>
<project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-14.0.0_r22" > <project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-14.0.0_r34" >
<linkfile src="root.bp" dest="Android.bp" /> <linkfile dest="Android.bp" src="root.bp" />
<linkfile src="bootstrap.bash" dest="bootstrap.bash" /> <linkfile dest="bootstrap.bash" src="bootstrap.bash" />
</project> </project>
<!-- Camera --> <!-- Camera -->
@@ -40,8 +40,9 @@
<project path="external/libyuv_chromium" name="raspberry-vanilla/android_external_libyuv_chromium" remote="github" revision="android-14.0" /> <project path="external/libyuv_chromium" name="raspberry-vanilla/android_external_libyuv_chromium" remote="github" revision="android-14.0" />
<!-- FFmpeg --> <!-- FFmpeg -->
<project path="external/ffmpeg" name="raspberry-vanilla/android_external_ffmpeg" remote="github" revision="android-14.0.0_r22" /> <remove-project name="platform/external/libdav1d" />
<project path="external/ffmpeg_codec2" name="raspberry-vanilla/android_external_ffmpeg_codec2" remote="github" revision="android-14.0.0_r22" /> <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" /> <project path="external/libdav1d" name="raspberry-vanilla/android_external_libdav1d" remote="github" revision="android-14.0" />
<project path="external/libudev-zero" name="raspberry-vanilla/android_external_libudev-zero" remote="github" revision="android-14.0" /> <project path="external/libudev-zero" name="raspberry-vanilla/android_external_libudev-zero" remote="github" revision="android-14.0" />
@@ -51,18 +52,18 @@
<remove-project name="platform/external/mesa3d" /> <remove-project name="platform/external/mesa3d" />
<remove-project name="platform/external/minigbm" /> <remove-project name="platform/external/minigbm" />
<project path="external/drm_hwcomposer" name="raspberry-vanilla/android_external_drm_hwcomposer" remote="github" revision="android-14.0" /> <project path="external/drm_hwcomposer" name="raspberry-vanilla/android_external_drm_hwcomposer" remote="github" revision="android-14.0" />
<project path="external/libdrm" name="raspberry-vanilla/android_external_libdrm" remote="github" revision="android-14.0" /> <project path="external/libdrm" name="raspberry-vanilla/android_external_libdrm" remote="github" revision="android-14.0.0_r34" />
<project path="external/mesa3d" name="raspberry-vanilla/android_external_mesa3d" remote="github" revision="android-14.0" /> <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-14.0.0_r22" /> <project path="external/minigbm" name="raspberry-vanilla/android_external_minigbm" remote="github" revision="android-14.0.0_r34" />
<!-- v4l2_codec2 --> <!-- v4l2_codec2 -->
<remove-project name="platform/external/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-14.0.0_r22" /> <project path="external/v4l2_codec2" name="raspberry-vanilla/android_external_v4l2_codec2" remote="github" revision="android-14.0.0_r34" />
<!-- Wifi --> <!-- Wifi -->
<remove-project name="platform/external/wpa_supplicant_8" /> <remove-project name="platform/external/wpa_supplicant_8" />
<remove-project name="platform/packages/modules/Wifi" /> <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-14.0.0_r22" /> <project path="external/wpa_supplicant_8" name="raspberry-vanilla/android_external_wpa_supplicant_8" remote="github" revision="android-14.0" />
<project path="packages/modules/Wifi" name="raspberry-vanilla/android_packages_modules_Wifi" remote="github" revision="android-14.0.0_r22" /> <project path="packages/modules/Wifi" name="raspberry-vanilla/android_packages_modules_Wifi" remote="github" revision="android-14.0.0_r34" />
</manifest> </manifest>

View File

@@ -52,8 +52,6 @@
<remove-project name="device/linaro/hikey-kernel" /> <remove-project name="device/linaro/hikey-kernel" />
<remove-project name="device/linaro/poplar" /> <remove-project name="device/linaro/poplar" />
<remove-project name="device/linaro/poplar-kernel" /> <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/invensense" />
<remove-project name="platform/hardware/knowles/athletico/sound_trigger_hal" /> <remove-project name="platform/hardware/knowles/athletico/sound_trigger_hal" />
<remove-project name="platform/hardware/nxp/nfc" /> <remove-project name="platform/hardware/nxp/nfc" />