Commit Graph

38 Commits

Author SHA1 Message Date
Konsta
89cbccc94b graphics: disable hdr
* 42c9655523
2025-08-30 17:53:14 +03:00
Konsta
8b53a5a790 camera: remove unneeded media profiles property
* This hasn't been needed in years.
  72ad8cb0ae
2025-04-12 18:16:11 +03:00
Konsta
d7a91d0681 ffmpeg: switch to aidl
* Also switch codec2 framework to use AIDL.
  cc7adc6936
2025-04-09 12:27:35 +03:00
Konsta
1ac59c93f7 bluetooth: set default device name
* Set default device name for bluetooth.
* I still prefer this displayed as 'Raspberry Pi 5' after commit
  acfacd0969.
2025-04-04 10:24:19 +03:00
Konsta
6f57d4d8af ffmpeg: use vendor properties 2025-04-02 13:47:35 +03:00
Konsta
87e473d8ff audio: use vendor properties 2025-04-02 13:46:45 +03:00
Konsta
ff19fe9878 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:40:23 +03:00
Konsta
32cf720294 cec: add device type property
* e2b6b1cfe2
  e7a511f911
2025-03-25 18:04:32 +02:00
Konsta
e248cd4d77 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 18:04:22 +02:00
Konsta
c692c4354c add chipset properties
* This became needed for CTS some years ago.
  faa63a37c0
2025-03-20 13:36:16 +02:00
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
  cc5d2cca25
2025-03-16 17:29:57 +02:00
Konsta
27b5b2e8ed Revert "storage: disable stable uris for for external primary"
* Disabled by default on Android 15.
  1e52eb6f54

This reverts commit f6d1a17729.
2025-03-11 18:37:48 +02:00
Konsta
51073dd508 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:26:28 +02:00
Konsta
9f38f9eece Revert "graphics: disable hwc config groups"
* Disabled by default on upstream
  cd3902ab4a.

This reverts commit 66656f14fb.
2025-02-20 15:04:49 +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
66656f14fb graphics: disable hwc config groups
* 613a9440a0.
2025-01-02 21:30:53 +02:00
Konsta
a47cb47fba graphics: switch to hwc3
* Support for HWC3 was implemented in upstream drm_hwcomposer.
2024-12-09 14:23:11 +02:00
Konsta
f6d1a17729 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:02:09 +03:00
Konsta
1df48cdd40 window extensions: enable large screen optimization
* Feature was disabled by default in Android 14 QPR2
  f18920bc5e
2024-04-08 11:18:26 +03:00
Konsta
746dd37cb4 use system property to disable lockscreen
* d1645f8d0f
* This reverts commit 2632bb5db3.
2023-12-07 20:24:13 +02:00
Konsta
ea465608e8 graphics: enable rpi5 hwcomposer backend
* f766dd1619
2023-11-24 13:28:45 +02:00
Konsta
c39716527b audio: default to hdmi0
* Raspberry Pi 5 doesn't have 3.5mm audio jack.
2023-11-24 13:28:40 +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
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