Commit Graph

27 Commits

Author SHA1 Message Date
Konsta
374fd0a10f 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 15:31:34 +03:00
Konsta
2d13fe7084 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-04 15:31:34 +03:00
Konsta
e42d7c2c85 add chipset properties
* This became needed for CTS some years ago.
  faa63a37c0
2025-04-04 15:31:34 +03:00
Konsta
60ce02b873 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-04-04 15:31:34 +03:00
Konsta
6ccded2c27 graphics: disable hwc config groups
* 613a9440a0.
2025-03-03 17:07:21 +02:00
Konsta
8908ca4289 cec: add rpi hal implementation
* TODO: Convert to AIDL.
2025-03-03 17:05:41 +02:00
Konsta
67ee38657f cec: remove legacy hal
This reverts commit c0a8378d8b and more.
2025-03-03 17:04:46 +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