Commit Graph

18 Commits

Author SHA1 Message Date
Konsta 9d4665d9c8 memory: remove lmkd properties
* These were added years ago when userspace low memory killer daemon
  was introduced. For most part these match the defaults and ones that
  dont't, shouldn't be set on Android R and above.
  https://android.googlesource.com/platform/system/memory/lmkd/+/refs/tags/android-15.0.0_r20/README.md
  https://android.googlesource.com/platform/build/+/cc5d2cca253cc034e9c04a774f783e801bd19230
2025-03-16 17:29:57 +02:00
Konsta 07e066812c cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-02-05 20:20:07 +02:00
Konsta f999796b13 cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-02-05 20:18:33 +02:00
Konsta 7bacc18602 boot: ramdisk: add CM5 USB configuration 2025-01-02 21:30:33 +02:00
Konsta 717e279508 ramdisk: remove vold.post_fs_data_done
* This was used by FDE which was removed in Android 13.
  https://android.googlesource.com/platform/system/vold/+/0803ba0985a849d9eac456ad6a457c70d484a2a0
* Fixes 3ca55b2c31.
2024-05-03 21:51:13 +03:00
Konsta 50ef80ac75 usb: set correct udc path for rpi5
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/51.
* Requires EEPROM update to 2023-12-06 or newer.
2024-01-04 17:08:06 +02:00
Konsta 32979cf0ba remove v4l2_codec2
* Raspberry Pi 5 doesn't have H.264 hardware video decoder/encoder.
2023-11-24 13:25:25 +02:00
Konsta ad88537ca5 fstab: fix usb storage 2023-11-24 13:25:25 +02:00
Konsta 1c9bf21bfe rename rpi4 -> rpi5 2023-11-24 13:15:33 +02:00
Konsta 3f4462dd77 usb: add gadget hal
* Copy from hardware/interfaces/usb/gadget/1.2/default with udc
  path changed and service renamed for Raspberry Pi.
2023-10-12 10:23:56 +03:00
Konsta 18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Konsta c0a8378d8b add hdmi cec hal
* Based on AOSP yukawa HDMI-CEC HAL
  https://android.googlesource.com/device/amlogic/yukawa/+/refs/heads/main/hal/hdmicec/
2023-07-25 15:20:44 +03:00
Konsta fa4e05caab ueventd: adjust media/video node permissions for ffmpeg
* ffmpeg_codec2 now runs as user media
2023-04-27 16:55:15 +03:00
nename0 cccd7a63ec hdmi audio: remove alsa_loop service 2023-03-04 10:40:38 +02:00
Konsta 53a5d230cc ffmpeg: integrate into build and enable h.265 hw decoder by default
* Use codec ranks to switch between decoders.
2023-01-30 14:32:37 +02:00
Konsta 4bb647b2d6 updates for 5.15 kernel 2022-09-17 13:58:59 +03:00
Konsta 3ca55b2c31 fstab: remove option to use FDE
* 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.
2022-09-17 13:58:59 +03:00
Konsta bbdbc45eea initial Raspberry Vanilla AOSP 12 commit
* 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/4651
    https://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/linux
    https://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
2022-09-17 13:57:57 +03:00