From 228cddc0ec7ac680fe88f20910cf65219486d2e1 Mon Sep 17 00:00:00 2001 From: oxmc7769 Date: Fri, 20 Mar 2026 06:18:24 -0700 Subject: [PATCH] Update to bp4a --- README.md | 24 ++++++++++++------------ pawletos.xml | 10 ++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 1e1ed05..acc6229 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -### Device specific configuration to build AOSP Android 16 (android-16.0.0_r3) for Raspberry Pi 4 and Raspberry Pi 5. +### Device specific configuration to build AOSP Android 16 (android-16.0.0_r4) for Raspberry Pi 4 and Raspberry Pi 5. Based on [RaspberryVanilla](https://github.com/raspberry-vanilla). *** @@ -16,7 +16,7 @@ sudo apt-get install dosfstools e2fsprogs gdisk kpartx mtools rsync 3. Initialize repo: ``` -repo init -u https://android.googlesource.com/platform/manifest -b android-16.0.0_r3 +repo init -u https://android.googlesource.com/platform/manifest -b android-16.0.0_r4 curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/brcm_rpi.xml --create-dirs curl -o .repo/local_manifests/manifest_lineageos.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/lineageos.xml --create-dirs curl -o .repo/local_manifests/manifest_pawletos.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/pawletos.xml --create-dirs @@ -25,7 +25,7 @@ curl -o .repo/local_manifests/manifest_pawletos.xml -L https://git.oxmc.me/Pawle 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-16.0.0_r3 --depth=1 +repo init -u https://android.googlesource.com/platform/manifest -b android-16.0.0_r4 --depth=1 curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/brcm_rpi.xml --create-dirs curl -o .repo/local_manifests/manifest_lineageos.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/lineageos.xml --create-dirs curl -o .repo/local_manifests/manifest_pawletos.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/pawletos.xml --create-dirs @@ -47,34 +47,34 @@ repo sync 6. Select the device (`rpi4` or `rpi5`) and build target (normal, `tablet` for tablet, `tv` for Android TV, or `car` for Android Automotive): ``` -lunch pawlet_rpi4-bp3a-userdebug +lunch pawlet_rpi4-bp4a-userdebug ``` ``` -lunch pawlet_rpi4_tablet-bp3a-userdebug +lunch pawlet_rpi4_tablet-bp4a-userdebug ``` ``` -lunch pawlet_rpi4_tv-bp3a-userdebug +lunch pawlet_rpi4_tv-bp4a-userdebug ``` ``` -lunch pawlet_rpi4_car-bp3a-userdebug +lunch pawlet_rpi4_car-bp4a-userdebug ``` ``` -lunch pawlet_rpi5-bp3a-userdebug +lunch pawlet_rpi5-bp4a-userdebug ``` ``` -lunch pawlet_rpi5_tablet-bp3a-userdebug +lunch pawlet_rpi5_tablet-bp4a-userdebug ``` ``` -lunch pawlet_rpi5_tv-bp3a-userdebug +lunch pawlet_rpi5_tv-bp4a-userdebug ``` ``` -lunch pawlet_rpi5_car-bp3a-userdebug +lunch pawlet_rpi5_car-bp4a-userdebug ``` 7. Compile: ``` -make bootimage systemimage systemextimage vendorimage -j$(nproc) +make bootimage systemimage systemextimage vendorimage productimage -j$(nproc) ``` 8. Make flashable image for the device (`rpi4` or `rpi5`): diff --git a/pawletos.xml b/pawletos.xml index 16a4ef7..59700d6 100644 --- a/pawletos.xml +++ b/pawletos.xml @@ -22,6 +22,16 @@ + + + + + + + + + +