update to android-14.0.0_r50

This commit is contained in:
Konsta
2024-06-12 13:07:50 +03:00
parent 0b06d20e60
commit e7c339459e
3 changed files with 21 additions and 19 deletions

View File

@@ -16,14 +16,14 @@ 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_r34 repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r50
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/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: 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_r34 --depth=1 repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r50 --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/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 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 +43,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-ap1a-userdebug lunch aosp_rpi4-ap2a-userdebug
``` ```
``` ```
lunch aosp_rpi4_tv-ap1a-userdebug lunch aosp_rpi4_tv-ap2a-userdebug
``` ```
``` ```
lunch aosp_rpi4_car-ap1a-userdebug lunch aosp_rpi4_car-ap2a-userdebug
``` ```
``` ```
lunch aosp_rpi5-ap1a-userdebug lunch aosp_rpi5-ap2a-userdebug
``` ```
``` ```
lunch aosp_rpi5_tv-ap1a-userdebug lunch aosp_rpi5_tv-ap2a-userdebug
``` ```
``` ```
lunch aosp_rpi5_car-ap1a-userdebug lunch aosp_rpi5_car-ap2a-userdebug
``` ```
7. Compile: 7. Compile:

View File

@@ -4,10 +4,10 @@
<!-- Raspberry Pi --> <!-- Raspberry Pi -->
<project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-14.0" > <project path="device/brcm/rpi4" name="raspberry-vanilla/android_device_brcm_rpi4" remote="github" revision="android-14.0" >
<linkfile dest="rpi4-mkimg.sh" src="mkimg.sh" /> <linkfile src="mkimg.sh" dest="rpi4-mkimg.sh" />
</project> </project>
<project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-14.0" > <project path="device/brcm/rpi5" name="raspberry-vanilla/android_device_brcm_rpi5" remote="github" revision="android-14.0" >
<linkfile dest="rpi5-mkimg.sh" src="mkimg.sh" /> <linkfile src="mkimg.sh" dest="rpi5-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" />
@@ -21,16 +21,16 @@
<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" > <project path="build/make" name="raspberry-vanilla/android_build" remote="github" revision="android-14.0" >
<linkfile dest="build/CleanSpec.mk" src="CleanSpec.mk" /> <linkfile src="CleanSpec.mk" dest="build/CleanSpec.mk" />
<linkfile dest="build/buildspec.mk.default" src="buildspec.mk.default" /> <linkfile src="buildspec.mk.default" dest="build/buildspec.mk.default" />
<linkfile dest="build/core" src="core" /> <linkfile src="core" dest="build/core" />
<linkfile dest="build/envsetup.sh" src="envsetup.sh" /> <linkfile src="envsetup.sh" dest="build/envsetup.sh" />
<linkfile dest="build/target" src="target" /> <linkfile src="target" dest="build/target" />
<linkfile dest="build/tools" src="tools" /> <linkfile src="tools" dest="build/tools" />
</project> </project>
<project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-14.0" > <project path="build/soong" name="raspberry-vanilla/android_build_soong" remote="github" revision="android-14.0" >
<linkfile dest="Android.bp" src="root.bp" /> <linkfile src="bazel.WORKSPACE" dest="WORKSPACE" />
<linkfile dest="bootstrap.bash" src="bootstrap.bash" /> <linkfile src="bazel.BUILD" dest="BUILD" />
</project> </project>
<!-- Camera --> <!-- Camera -->

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<manifest> <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" />
<remove-project name="device/amlogic/yukawa-kernel" /> <remove-project name="device/amlogic/yukawa-kernel" />
<remove-project name="device/google/barbet" /> <remove-project name="device/google/barbet" />
@@ -78,7 +81,6 @@
<remove-project name="platform/hardware/qcom/sm8150/vr" /> <remove-project name="platform/hardware/qcom/sm8150/vr" />
<remove-project name="platform/hardware/qcom/sm8150p/gps" /> <remove-project name="platform/hardware/qcom/sm8150p/gps" />
<remove-project name="platform/hardware/qcom/wlan" /> <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_element" />
<remove-project name="platform/hardware/st/secure_element2" /> <remove-project name="platform/hardware/st/secure_element2" />
<remove-project name="platform/hardware/samsung/nfc" /> <remove-project name="platform/hardware/samsung/nfc" />