Adds four fstab.zram.{25p,50p,75p,none} variants copied to vendor/etc.
init.rpi5.rc activates swap at boot_complete using persist.vendor.zram.size.
Adds vm.min_free_kbytes/lowmem_reserve_ratio memory tuning on init.
SELinux: declares vendor_zram_config_prop for persist.vendor.zram.size.
mkbootimg: use stamp file for rpiboot, uppercase FAT label
fstab: USB drives don't support TRIM — requesting discard stalls jbd2
journal commits and causes Watchdog kills. Add fstab.rpi5.discard for
devices that do support TRIM (SD card, SSD); select via
BOARD_STORAGE_SUPPORTS_DISCARD := true in BoardConfig.mk.
mkbootimg: stamp file fixes ninja 'outputs should be files' warning.
Uppercase BOOT label suppresses mkfs.fat lowercase label warning.
* Full-disk encryption (FDE) has been deprecated for devices launching
with Android 10 or higher but now it's been removed in Android 13.
* File-based encryption (FBE) i.e. replacing this with
'fileencryption=aes-256-xts' works but there's some performance
issues with it especially when running from slow storage devices
such as sdcards that are used on Raspberry Pi. Recovery also can't
decrypt FBE which is another issue.
* There's no longer need to resize userdata partition to leave space
for crypto footer.
* Audio
- Based on AOSP hikey audio HAL:
https://android.googlesource.com/device/linaro/hikey/+/refs/heads/master/audio/
- ALSA based on Android-x86
- ALSA loop is used to support HDMI audio on Pi 4 because VC4 HDMI
audio devices use SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE that is not
supported on Android
https://github.com/raspberrypi/linux/issues/4651https://github.com/raspberrypi/linux/issues/4654
* Bluetooth
- AOSP Broadcom vendor stack with some additional fixes from android-rpi
* Camera
- libcamera for official Raspberry Pi CSI camera modules based on GloDroid
- AOSP external camera HAL for UVC USB webcams:
https://source.android.com/docs/core/camera/external-usb-cameras
* Graphics
- OpenGL & Vulkan: upstream Mesa with GloDroid patches
- Upstream drm_hwcomposer with force resolution patch from Android-x86 and
my additional fixes
- minigbm based on GloDroid
* Health
- Based on AOSP cuttlefish health HAL
* Kernel
- Merge of Raspberry Pi and AOSP common kernel with my additional fixes
and configurations
https://github.com/raspberrypi/linuxhttps://android.googlesource.com/kernel/common/
* Lights
- Based on LineageOS Xiaomi msm8996-common lights HAL
* suspend_blocker
- Based on AOSP cuttlefish
* v4l2_codec2
- Based on AOSP with my Raspberry Pi 4 specific fixes
* Wifi
- AOSP Broadcom vendor stack with my additional fixes