stop console was incorrectly called on ro.debuggable=1; replace with
start console. Add logcat_uart service writing to /dev/ttyAMA0 for
UART log access on RPi5/CM4, matching the rpi4 init.rc behaviour.
Partition layout:
- BoardConfig: system 8 GB, vendor 2 GB
- mkimg: matching system/vendor partition sizes
- fstab: remove discard from metadata; make discard opt-in via
BOARD_STORAGE_SUPPORTS_DISCARD to avoid boot-time I/O stalls
- wrimg: grow userdata to fill remaining device space on flash
Boot:
- mkbootimg: use stamp file for rpiboot; uppercase FAT volume label
- rpi5: set androidboot.boot_devices for by-name symlink creation
- wrimg: stamp androidboot.slot_suffix in cmdline.txt after each A/B write
- rpi5: disable AVB (no vbmeta partition in this layout)
A/B / BootControl:
- sepolicy: add BootControl HAL policy and fix partition file_contexts
- wrimg: switch to PARTLABEL-based device detection; fix system_ext brackets
Initial repo setup:
- Separate into standalone pawlet_rpi5 repository
- Disable recovery/TWRP; fix include paths and package names
- Align to upstream KonstaKANG rpi5 base
* 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