Commit Graph

136 Commits

Author SHA1 Message Date
MinnieTheMoocher
a2363586b2 mkimg: use existing env variables instead of hardcoded strings
* this requires to run "lunch" before, the script checks for that
2025-01-30 18:36:45 +02:00
Konsta
aa56ad1961 graphics: disable hwc config groups
* 613a9440a0.
2025-01-02 21:34:54 +02:00
Konsta
3d223ae030 graphics: switch to aidl allocator and gralloc5 mapper 2024-12-13 18:50:51 +02:00
Konsta
941fb0f0c1 sepolicy: add hwc3 hal
* Fixes 3fba3e61e5.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/158.
2024-12-12 17:55:12 +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
441c2cde9f graphics: add libgbm_mesa to mesa packages
* This gets built as a dependency to minigbm gbm_mesa_driver's
  libgbm_mesa_wrapper but add it here for completeness.
* Move Mesa gbm libraries under separate section.
2024-12-05 19:59:21 +02:00
Konsta
be7c3b6462 sepolicy: update mesa libraries
* Adapt to changes in Mesa 24.2/24.3.
2024-12-05 19:59:21 +02:00
Konsta
c86505857d sepolicy: add bluetooth hal
* Fixes fe5a39b067.
2024-12-05 19:59:14 +02:00
Konsta
fe5a39b067 bluetooth: switch to aidl hal 2024-11-23 15:53:34 +02:00
Konsta
75efcfcbb4 bluetooth: adjust rfkill
* Switch to android.hardware.bluetooth@1.1-service.btlinux rfkill
  implementation that uses /sys/class/rfkill/rfkill*/state.
2024-11-23 15:53:34 +02:00
Konsta
be98ffc92d bluetooth: remove serial implementation
* Remove serial bluetooth implementation that is used on cuttlefish
  as we're only using the HCI socket implementation on Raspberry Pi.
2024-11-23 15:53:34 +02:00
Konsta
21a6d545b2 bluetooth: rename aidl hal for rpi 2024-11-23 15:53:34 +02:00
Konsta
01569e8eec bluetooth: add aidl hal
* Copy from hardware/interfaces/bluetooth/aidl/default
  at 488942f82bd1bc9ad1cb65a02c71421dc3a6a3d6.
2024-11-23 15:53:34 +02:00
Konsta
f9f7db29e1 usb: convert gadget hal to aidl
* Based on hardware/interfaces/usb/gadget/aidl/default.
2024-11-22 15:53:36 +02:00
Konsta
6119d30d95 usb: add gadget lib
* Copy from hardware/interfaces/usb/gadget/1.2/default.
2024-11-22 15:53:33 +02:00
Konsta
ce6b4687fa graphics: add dri_gbm to mesa packages
* Needed with Mesa 24.3.
  15bea329d7
  514df444eb
2024-11-22 13:03:10 +02:00
Konsta
2bcf780b91 Revert "seccomp_policy: v4l2_codec2: allow mkdirat"
* No longer needed with 8a5dd4d00a.

This reverts commit 9f0b78612e.
2024-11-22 13:02:50 +02:00
Konsta
aebb08edae Revert "seccomp_policy: mediaswcodec: allow mkdirat"
* No longer needed with 8a5dd4d00a.

This reverts commit a152d68eac.
2024-11-22 13:02:31 +02:00
Oleg Lyovin
fb83928d5a CEC: fix use-after-free in hdmicec_close
Fields of 'ctx' are accessed just after it is freed.

Test: manual
Change-Id: I7c3786db9ae618d84149874c72662e4d105765b4
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 13:02:20 +02:00
Oleg Lyovin
9fdacb0960 CEC: do not join NULL thread
'hdmicec_close' may be called after exit_fd initialized,
but before ctx->thread created.

This patch checks it for NULL before join.

Test: manual
Change-Id: I1c57be56f2cd9956044d9a48fea914b1c1fd0132
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
2024-11-22 13:02:11 +02:00
Konsta
2785f1c5fd audio: minor code readability and formatting fixes
* Fixes 0205059ddb.
2024-11-22 13:02:03 +02:00
Konsta
c94112be0b libcamera: add configuration for ai camera module 2024-10-16 11:46:26 +03:00
Konsta
0113344e01 graphics: bump opengles/vulkan deqp levels 2024-10-16 11:46:18 +03:00
Konsta
741b658768 car: enable A2DP source bluetooth profile
* 61473cb0eb
2024-09-07 13:27:05 +03:00
Konsta
c0ecc79bbb car: show instrument cluster on secondary display
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/43
2024-09-07 13:26:57 +03:00
Konsta
e107fc556c car: build can bus hal and debug tools 2024-09-07 13:26:49 +03:00
Konsta
85a8359c38 car: build occupant awareness hal 2024-09-07 13:26:41 +03:00
Konsta
31279e096f car: build audio control hal 2024-09-07 13:26:34 +03:00
Konsta
c2217592d2 car: switch to aidl vehicle hal 2024-09-07 13:26:26 +03:00
Konsta
ef8706e703 car: move automotive related configs to separate directory 2024-09-07 13:26:17 +03:00
Konsta
3ed5d0e615 keylayout: update for Android 15
* Changes from frameworks/base/data/keyboards/Generic.kl
2024-09-05 16:36:13 +03:00
Konsta
33e503a632 readme: mkimg: Raspberry Vanilla Ice Cream AOSP 15 2024-09-05 16:35:44 +03:00
Konsta
a152d68eac seccomp_policy: mediaswcodec: allow mkdirat 2024-09-04 20:09:01 +03:00
Konsta
9f0b78612e seccomp_policy: v4l2_codec2: allow mkdirat 2024-08-15 16:38:40 +03:00
Konsta
7e5f70d8a8 vulkan: bump to 1.3
* Missing patches to expose V3DV Vulkan 1.3 level have been backported
  to Raspberry Vanilla's Mesa 24.2.
2024-08-15 10:37:09 +03: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
3856f29874 overlay: add safety center to default qs tiles
* Otherwise QS tile changes in AOSP 14 QPR3 cause a crash.
* E DatabaseUtils: java.lang.IllegalArgumentException: The value of your setting [sysui_qs_tiles] is too long. The max length allowed for the string is 32768.
2024-06-20 15:00:19 +03:00
Konsta
2790cd7abd keylayout: update for Android 14 QPR2
* Changes from frameworks/base/data/keyboards/Generic.kl
2024-05-03 21:50:03 +03:00
Konsta
881295d1f0 thermal: switch to apex
* e1ba194595
2024-05-03 21:50:03 +03:00
Konsta
0424549bf0 ramdisk: remove vold.post_fs_data_done
* This was used by FDE which was removed in Android 13.
  0803ba0985
* Fixes 3ca55b2c31.
2024-05-03 21:50:03 +03:00
Konsta
4a80053345 audio: reduce id name size
* Fixes 0205059ddb.
2024-05-03 21:49:47 +03:00
Konsta
ca3c59bc6e seccomp_policy: v4l2_codec2: whitelist missing syscalls
* Needed for H.264 hardware encoder.
* Fixes 7276df653b.
2024-04-30 12:55:10 +03:00
Konsta
34e6ccbc75 use generic cpu variant
* AOSP14 QPR2 (android-14.0.0_r29) introduced some (bionic?) changes that
  fail to boot on rpi4 with cortex-a72 CPU variant.
* Neither cortex-a72/cortex-a72 nor cortex-a53/generic TARGET_CPU_VARIANT/
  TARGET_2ND_CPU_VARIANT combinations seem to work. Use generic CPU variant.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/70.
2024-04-25 17:56:19 +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
cfb419c398 health: update aidl to v3
* c33734ade7
2024-04-08 11:23:28 +03:00
Konsta
7276df653b v4l2_codec2: bump hidl hal to 1.2 2024-04-08 11:22:13 +03:00
Greg Kaiser
b1e605a615 Fix lunch choices for git_main
We add "trunk_staging-" for all COMMON_LUNCH_CHOICES so they are
valid in the trunk stable setup.

Bug: 307738446
Test: lunch
2024-04-08 11:21:58 +03:00
Konsta
57cdc04899 build EmergencyInfo
* Fixes crash on Settings -> Safety & emergency.
2024-04-08 10:36:41 +03:00
aloshchilov
073f50878f car: BT AVRCP target enabled 2024-03-28 20:06:36 +04:00
adufftpc
973797e543 car: Disabled BT MAP causing cyclic BT reconnect
Disabled BT Message Access Profile. Allows to keep connection to the paired device
2024-03-28 19:53:58 +04:00