Update README.md

This commit is contained in:
2025-08-20 15:59:04 -07:00
parent 033c9ef8f0
commit 59ed89e69f

View File

@@ -17,14 +17,16 @@ sudo apt-get install dosfstools e2fsprogs fdisk kpartx mtools rsync
```
repo init -u https://android.googlesource.com/platform/manifest -b android-16.0.0_r1
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/manifest_brcm_rpi.xml --create-dirs
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/manifest_brcm_rpi.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
```
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_r1 --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/manifest_brcm_rpi.xml --create-dirs
curl -o .repo/local_manifests/manifest_brcm_rpi.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.0/vendors/manifest_brcm_rpi.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
curl -o .repo/local_manifests/remove_projects.xml -L https://git.oxmc.me/PawletOS/android_local_manifest/raw/branch/android-16.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-bp2a-userdebug
lunch pawlet_rpi4-bp2a-userdebug
```
```
lunch aosp_rpi4_tv-bp2a-userdebug
lunch pawlet_rpi4_tv-bp2a-userdebug
```
```
lunch aosp_rpi4_car-bp2a-userdebug
lunch pawlet_rpi4_car-bp2a-userdebug
```
```
lunch aosp_rpi5-bp2a-userdebug
lunch pawlet_rpi5-bp2a-userdebug
```
```
lunch aosp_rpi5_tv-bp2a-userdebug
lunch pawlet_rpi5_tv-bp2a-userdebug
```
```
lunch aosp_rpi5_car-bp2a-userdebug
lunch pawlet_rpi5_car-bp2a-userdebug
```
7. Compile: