├── README.md ├── manifest_brcm_rpi4.xml └── remove_projects.xml /README.md: -------------------------------------------------------------------------------- 1 | ### Device specific configuration to build AOSP Android 13 for Raspberry Pi 4. 2 | 3 | *** 4 | 5 | ### How to build: 6 | 7 | 1. Establish [Android build environment](https://source.android.com/setup/initializing) and install [repo](https://source.android.com/docs/setup/develop#installing-repo). 8 | 9 | 2. Install additional packages: 10 | 11 | ``` 12 | sudo apt-get install bc coreutils dosfstools e2fsprogs fdisk kpartx mtools ninja-build pkg-config python3-pip 13 | sudo pip3 install meson mako jinja2 ply pyyaml 14 | ``` 15 | 16 | 3. Initialize repo: 17 | 18 | ``` 19 | repo init -u https://android.googlesource.com/platform/manifest -b android-13.0.0_r35 --depth=1 20 | git clone https://github.com/grapeup/aaos_local_manifest.git .repo/local_manifests 21 | ``` 22 | 23 | 4. Sync source code: 24 | 25 | ``` 26 | repo sync 27 | ``` 28 | 29 | 5. Compile: 30 | 31 | ``` 32 | . build/envsetup.sh 33 | lunch aosp_rpi4-userdebug 34 | make bootimage systemimage vendorimage 35 | ``` 36 | 37 | 6. Make flashable image: 38 | 39 | ``` 40 | ./rpi4-mkimg.sh 41 | ``` 42 | 43 | Also look into [Linux kernel build instructions](https://github.com/raspberry-vanilla/android_kernel_manifest/tree/android-13.0). 44 | 45 | *** 46 | 47 | ### Issues: 48 | 49 | - [Android](https://github.com/raspberry-vanilla/android_local_manifest/issues) 50 | - [Linux kernel](https://github.com/raspberry-vanilla/android_kernel_manifest/issues) 51 | 52 | *** 53 | 54 | ### Wiki: 55 | 56 | - [Audio](https://github.com/raspberry-vanilla/android_local_manifest/wiki/Audio) 57 | - [DSI display](https://github.com/raspberry-vanilla/android_local_manifest/wiki/DSI-display) 58 | - [HDMI display](https://github.com/raspberry-vanilla/android_local_manifest/wiki/HDMI-display) 59 | - [Interfaces](https://github.com/raspberry-vanilla/android_local_manifest/wiki/Interfaces) 60 | - [USB boot](https://github.com/raspberry-vanilla/android_local_manifest/wiki/USB-boot) 61 | - [Video decoding](https://github.com/raspberry-vanilla/android_local_manifest/wiki/Video-decoding) 62 | -------------------------------------------------------------------------------- /manifest_brcm_rpi4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /remove_projects.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | --------------------------------------------------------------------------------