Arian
c10273a166
sm8450-common: Allow setsockopt syscall for qcom c2audio
...
```
$ strace -f vendor/bin/hw/vendor.qti.media.c2audio@1.0-service
[...]
[pid 5194] socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0) = 13
[pid 5194] setsockopt(13, SOL_SOCKET, SO_SNDTIMEO, "\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 13
[pid 5194] --- SIGSYS {si_signo=SIGSYS, si_code=SYS_SECCOMP, si_call_addr=0x7a905a365c, si_syscall=__NR_setsockopt, si_arch=AUDIT_ARCH_AARCH64} ---
```
Change-Id: Ifa0420883cbf663f8c7576798b1f35031f660f54
2024-10-24 22:50:32 +02:00
Arian
2313085cfe
sm8450-common: Allow gettid syscall for atfwd@2.0
...
09-18 17:27:17.797 1 1 I init : ... started service 'vendor.atfwd' has pid 6264
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: failed to get path of fd 3: No such file or directory
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: connect
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: fcntl
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: sendto
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: socket
09-18 17:27:17.805 6264 6264 W ATFWD-daemon: libminijail[6264]: allowing syscall: writev
09-18 17:27:17.806 6264 6264 W ATFWD-daemon: libminijail[6264]: logging seccomp filter failures
09-18 17:27:17.808 6264 6264 E ATFWD-daemon: libminijail[6264]: blocked syscall: gettid
09-18 17:27:17.826 1 1 I init : Service 'vendor.atfwd' (pid 6264) received signal 31
09-18 17:27:17.826 1 1 I init : Sending signal 9 to service 'vendor.atfwd' (pid 6264) process group...
Change-Id: I9a556785b9bbda0f08974ad2b367c77c649ee01b
2024-10-24 22:50:32 +02:00
Arian
4e6162aed7
sm8450-common: Use libhidlbase_shim for vendor.libdpmframework
...
Change-Id: Iefe50b82b5b13bbdee10819a0c60c14240fab7ce
2024-10-24 22:50:32 +02:00
Arian
86baef3eba
sm8450-common: Use patchelf 0.17.2 as the default patchelf version
...
This will also be used for the utility functions like FIX_SONAME
Change-Id: I0b2ac5b601d24c5cc3626ca41d2fad0e662ac72f
2024-10-13 16:01:05 +02:00
Arian
f88a4d2569
sm8450-common: Use extract-utils FIX_SONAME helper
...
Change-Id: I84a38b3a253e0bafbd2f44c385dfee05157e01e9
2024-10-06 12:50:26 +02:00
Arian
3becfcd8cf
sm8450-common: Import qcril_database and generate the db at build time
...
Imported from diting V816.0.7.0.ULFMIXM
Change-Id: I7798bd3c33d3b6f801e8f48a06fe994947715db9
2024-10-06 12:46:15 +02:00
Michael Bestas
2e1be78dbd
sm8450-common: Sync extract scripts with templates
...
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-08-29 20:13:14 +02:00
Arian
dfbabc034b
sm8450-common: Drop embmssl blobs
...
Change-Id: I8fadba34ce12ac8371e116404249c7ecd9338e7e
2024-08-29 19:24:04 +02:00
Michael Bestas
4d8fc208b3
sm8450-common: Patch libwfdservice to resolve duplicate dependencies
...
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source
Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2024-08-29 17:48:07 +02:00
Cosmin Tanislav
d091666af7
sm8450-common: Rename prebuilt libgrpc++_unsecure.so for QCC
...
Change-Id: Ie0e28f1d620f5304b442698c7fc7e1d859934b67
2024-08-29 17:47:57 +02:00
Aaron Kling
33425729ca
sm8450-common: Enable elf checks
...
Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
2024-08-29 17:36:08 +02:00
Arian
1ee77b41c4
sm8450-common: Unify how lines are deleted in blob_fixup
...
Change-Id: I4d943a4bad184bbca9029ac4ce3c423755e1a267
2024-08-29 17:36:08 +02:00
Arian
d88e19e3da
sm8450-common: Patch keymint to use ndk backend
...
Change-Id: I45d2e0adebdc3c1f63220698e283f0a6471bc350
2024-08-29 17:33:51 +02:00
Aaron Kling
eb8c5d864a
sm8450-common: Use v1 rkp interface for keymint
...
Change-Id: I281efe89458fefc37a25aa7c2555b9bf92bbdc14
2024-08-29 17:33:29 +02:00
Michael Bestas
7abf0427a5
sm8450-common: Remove media_codecs_google_c2*
...
AOSP codecs can be used by default and it is not necessary to include
them device side.
Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-08-21 18:13:20 +02:00
Aaron Kling
9f6f66c3c5
sm8450-common: Remove software omx codec references
...
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.
Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-08-21 18:11:50 +02:00
Arian
9eac19e128
sm8450-common: Don't include media_codecs_dolby_audio
...
Change-Id: Ia0dc1e6c1ddd91f06a20cec8312663ba77546bda
2024-08-21 18:09:23 +02:00
Arian
8e595bd91f
sm8450-common: Get rid of unnecessary 32-bit blobs
...
Change-Id: I6b4fc2a77231b775e367d1adf7bf238f765a3e7a
2024-08-12 16:39:57 +02:00
Sebastiano Barezzi
726eb1babb
sm8450-common: Partially revert "Move to QTI health AIDL service"
...
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099
This partially reverts commit 2d6f07b00c
.
Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-08-01 01:08:47 +02:00
Andrzej Perczak
e0ab3da8d5
sm8450-common: Disable redir_party_num
...
Caused incoming caller number not being parsed correctly by Phone app on
VoLTE and VoWiFi. No idea why Xiaomi enabled this ancient prop.
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com >
Change-Id: I4d3d19b80bedd7410e638c78909a8a910bc10be8
2024-03-19 23:22:37 +01:00
Arian
8185530f07
sm8450-common: Decommonize cit sensors
...
Change-Id: Ie05151e932c6b99dcb73aa0969119dd84ab27c0a
2024-03-19 23:22:37 +01:00
Arian
d16e2b4731
sm8450-common: Patch citsensorservice to work with OSS libdisplayconfig.qti
...
For some reason xiaomi has duplicated the Init method as ClientImplGet.
(or it gets automatically generated for them due to some other differences?)
However, our OSS libdisplayconfig.qti doesn't provide this symbol, but the
Init method takes the same parameters and seems to be sufficient for
citsensorservice to work.
Change-Id: I26a88eb379b517f147932310de1da51d65a31c6b
2024-03-19 23:22:37 +01:00
Arian
3366f4a16a
sm8450-common: Add security.rkp-V3 dependency to keymint service
...
The symbol _ZN4aidl7android8hardware8security7keymint29IRemotelyProvisionedComponent10descriptorE
was moved from android.hardware.security.keymint-V2-ndk to android.hardware.security.rkp-V3-ndk.
Change-Id: I7f3c40e3e8a2a848cdcb73e5232952f63681aa58
2024-03-19 23:22:37 +01:00
Bruno Martins
bbce01c4e5
sm8450-common: Allow extracting only firmware images
...
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-03-19 23:22:37 +01:00
Michael Bestas
287048e0e8
sm8450-common: Add firmware extraction support
...
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2024-03-19 23:22:37 +01:00
Bruno Martins
2d6f07b00c
sm8450-common: Move to QTI health AIDL service
...
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.
Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-03-19 23:22:37 +01:00
Arian
2e2859f77e
sm8450-common: Import proprietary files listing
...
Change-Id: I7d53b0acb56b101f909578e046553e48837867b3
2024-03-19 23:22:36 +01:00
Arian
5249ffabc9
sm8450-common: Intial configuration
...
Change-Id: Ia0c75c39fe5772e3b7887b75f2721ac7183a3d55
2024-01-20 10:33:25 +01:00