Commit Graph

31 Commits

Author SHA1 Message Date
Konsta
e5346626fc ffmpeg: use vendor properties 2025-04-02 13:53:58 +03:00
Konsta
6456ba251c audio: use vendor properties 2025-04-02 13:53:41 +03:00
Konsta
d10016b71d audio: auto probe pcm card for jack & dac
* When 'jack' is selected using the property, first PCM card that has name
  'Headphones' is used.
  When 'dac' is selected, first PCM card that is not named 'Headphones',
  'vc4hdmi0', or 'vc4hdmi1' is used.
2025-04-02 13:53:14 +03:00
Konsta
6fbb90fa33 cec: add device type property
* e2b6b1cfe2
  e7a511f911
2025-03-25 17:58:37 +02:00
Konsta
3022586712 cec: use vendor property for device & remove unneeded properties
* Use vendor property to allow labeling it for SELinux.
* Remove unneeded properties to set version and vendor id. Using the
  default values in any case.
2025-03-25 17:58:26 +02:00
Konsta
080a9d7c3a add chipset properties
* This became needed for CTS some years ago.
  faa63a37c0
2025-03-20 13:38:42 +02:00
Konsta
19f52b0ded 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
  cc5d2cca25
2025-03-16 17:47:12 +02:00
Konsta
3ad6a96d46 Revert "storage: disable stable uris for for external primary"
* Disabled by default on Android 15.
  1e52eb6f54

This reverts commit f6d1a17729645e2b1f877ab0f86765aed536764d.
2025-03-11 18:41:43 +02:00
Konsta
7ab77538e6 bluetooth: enable A2DP sink
* A2DP source and sink can coexist on Android 15.
  https://android-review.googlesource.com/q/topic:%22bt_a2dp_src_sink_coexist%22
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/188.
2025-03-01 22:27:41 +02:00
Konsta
dfdcfe5c6e Revert "graphics: disable hwc config groups"
* Disabled by default on upstream
  cd3902ab4a.

This reverts commit aa56ad1961.
2025-02-20 15:13:46 +02:00
Konsta
2cc1d0e2ab cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-02-05 20:23:25 +02:00
Konsta
fe6264c79f cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-02-05 20:23:00 +02:00
Konsta
aa56ad1961 graphics: disable hwc config groups
* 613a9440a0.
2025-01-02 21:34:54 +02:00
Konsta
3fba3e61e5 graphics: switch to hwc3
* Support for HWC3 was implemented in upstream drm_hwcomposer.
2024-12-09 14:25:10 +02:00
Konsta
7f899c9b64 storage: disable stable uris for for external primary
* MediaProvider changes in AOSP 14 QPR3 cause a crash if external USB
  storage device is connected on the first boot.
* D MediaProvider: Backup is present for external_primary
  E FuseDaemon: Leveldb setup is missing for: external_primary
  I FuseDaemon: ReadFilePathsFromLevelDb: Missing leveldb connection, attempting setup.
  E FuseDaemon: Leveldb setup is missing for: internal
  E FuseDaemon: Leveldb connection failed for :internal with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-internal/LOCK: Permission denied
  E FuseDaemon: Leveldb setup is missing for: external_primary
  E FuseDaemon: Leveldb connection failed for :external_primary with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-external_primary/LOCK: Permission denied
  E FuseDaemon: Leveldb setup is missing for: ownership
  E FuseDaemon: Leveldb connection failed for :ownership with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-ownership/LOCK: Permission denied
  F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12344 (fg), pid 12323 (rs.media.module)
2024-06-20 15:00:54 +03:00
Konsta
ec52be7fcf window extensions: enable large screen optimization
* Feature was disabled by default in Android 14 QPR2
  f18920bc5e
2024-04-08 11:23:36 +03:00
Konsta
810864227d use system property to disable lockscreen
* d1645f8d0f
* This reverts commit 2632bb5db3.
2023-12-07 20:17:51 +02:00
Konsta
38a5c9ff94 media: create input surface on the framework side
* Fixes native screen recording on Android 14.
2023-11-23 17:32:53 +02:00
Konsta
54a1d67860 graphics: disable gpu color transform matrix 2023-11-23 17:26:33 +02:00
Konsta
31b0958771 graphics: set egl hardware to mesa 2023-10-12 10:23:56 +03:00
Konsta
18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Konsta
441fee39c8 bluetooth: use ?= operator for properties
* f7f8d93f06
  41fca646c9
2023-07-25 15:21:21 +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
nename0
6f2c07f589 hdmi audio: add default values to vendor.prop 2023-03-04 10:40:38 +02:00
Konsta
f74ee1fc3d sepolicy: add ffmpeg service
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/7
* ABC OCD
2023-02-21 13:52:47 +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
1b30e93a6a v4l2: enable h.264 hw decoder & encoder by default
* Use codec ranks to switch between decoders/encoders.
2023-01-30 14:31:24 +02:00
Konsta
526eb3759b update bluetooth properties
* 80f32c334f
  db8a5ebc1e
2023-01-09 17:49:01 +02:00
Konsta
a6453efdef enable multi-gen LRU
* https://android-review.googlesource.com/q/topic:mglru-exp
  https://blog.esper.io/android-dessert-bites-22-linux-memory-management-38419756/
  https://www.phoronix.com/news/MGLRU-LPC-2022
2022-09-17 13:58:59 +03:00
Amit Pundir
1951d76f1e Enable bluetooth profiles with properties
Copied from Pixel5 (redbull) device config.

Test: BT mouse and BT speakers work.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Iadda123f01cd79663ae08c43e9d784a1a5e6c406
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