Commit Graph

19 Commits

Author SHA1 Message Date
chaptsand
d4f108ea66 sm8550-common: Replace libcppbor_external.so with libcppbor.so
"_external" suffix was removed from libcppbor on V

Change-Id: I144f200b5222e5cf4efc03d8c010843d7e096951
2024-10-16 05:57:44 +08:00
Bruno Martins
55f9c104a1 sm8550-common: Resolve missing symbols on libqcodec2_core
Change-Id: I300d78733f07b7fe1ba6b5066d02f49eefbeb54a
2024-10-16 05:57:44 +08:00
Bruno Martins
be663cd1bd sm8550-common: Address seccomp filter failures
Fixes:
 W ATFWD-daemon: libminijail[4334]: logging seccomp filter failures
 E ATFWD-daemon: libminijail[4334]: blocked syscall: gettid
 I init    : Service 'vendor.atfwd' (pid 4334) received signal 31
 I init    : Sending signal 9 to service 'vendor.atfwd' (pid 4334) process group...
 ...
 W wfdhdcphalservice: libminijail[5312]: logging seccomp filter failures
 E wfdhdcphalservice: libminijail[5312]: blocked syscall: gettid
 I init    : Service 'wfdhdcphalservice' (pid 5312) received signal 31
 I init    : Sending signal 9 to service 'wfdhdcphalservice' (pid 5312) process group...

Change-Id: Ic259464520db6e77f06a3d0820a63662aa91659c
2024-10-16 05:57:44 +08:00
chaptsand
559efcfbef sm8550-common: Resolve missing symbols of certain libraries
Change-Id: I6af760fceace3fc63c4d2e244d9ceb27e629551b
2024-10-15 14:40:32 +00:00
Bruno Martins
e586c74b8a sm8550-common: Setup ELF checks
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b9c9021155c30c1ec1aa1754c995dae30cb2a7
2024-10-15 03:35:28 +08:00
Michael Bestas
9d0dc390c7 sm8550-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-18 23:56:32 +08:00
chandu078
2f897728a0 sm8550-common: Add libshim_ui dependency to unihal_android.so
The symbol _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_
and _ZN7android19GraphicBufferMapper6unlockEPK13native_handle was removed after 14QPR2 / 24Q1

Change-Id: I702a4b4977987cbe16ad4a2dec2ab9fdf2b0e586
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2024-09-14 00:00:36 +08:00
Michael Bestas
3bbef601ae sm8550-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-31 15:23:36 +08:00
Aaron Kling
c8526b7547 sm8550-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-31 15:23:36 +08:00
Luka Panio
c976a615ff sm8550-common: Enable qti.media.c2audio if disabled
Change-Id: I1612c101978d3f1b4ef0afda6868a7723b355f13
2024-07-29 17:17:30 +08:00
danielml
632bcf702d sm8550-common: seccomp: Allow qwesd the pipe2 syscall
Change-Id: I77d0947b5befaa2139c17e169a85cfe72d1ad311
Signed-off-by: danielml <daniel@danielml.dev>
2024-07-25 00:00:18 +08:00
LuK1337
ff14ded886 sm8550-common: audio-impl: Pass call state to audio hal and patch RIL
* Fixes 2nd sim audio when in call.

Co-authored-by: Simon1511 <me@simon1511.de>
Change-Id: I25ced80d833a36ac1141d5894aed99a0931d3946
2024-04-06 16:07:27 +08:00
Simon1511
68366ae241 sm8550-common: libsec-ril: Always return an empty value for GET_SMSC_ADDRESS
* Make parameter of type RilData (second last one) passed to SecRil::RequestComplete()
  in OnGetSmscAddressDone() be NULL, so that the framework passes an empty value when sending SMS

* Before U this value was not being used, on U the value returned is "SMSC",format_specifier
  which is considered invalid when passed back to RIL for sending SMS, however when an empty value
  is passed RIL will select the default SMSC, like it did on T and sending SMS works again

* For the SMSC patch, SecRil::RequestComplete() in OnGetSmscAddressDone()
  now looks like this instead: (code**)(), the parameters stayed the same

Change-Id: I608be406969d7fa58f15ef36340aff4ad1ce9fd0
Co-authored-by: Tim Zimmermann <tim@linux4.de>
Signed-off-by: chaptsand <chaptsand@gmail.com>
2024-04-06 16:07:27 +08:00
Bruno Martins
c959531ebb sm8550-common: Also patch gatekeeper HAL to load libcrypto-v33.so
Then again, due to asn1t.h structs changes.

Change-Id: Id3552124ddc07bf80446fd2b37b40f39c6be7a76
2024-04-06 16:07:27 +08:00
LuK1337
aacb95b6fc sm8550-common: Shim Samsung keymint service with libcrypto-v33.so
Current asn1t.h structs aren't binary compatible with our keymaster.

Change-Id: Id78b71c1f08216f861a033097cd015ba3c109925
2024-04-06 16:07:27 +08:00
chaptsand
b0ad41e948 sm8550-common: Add Codec2 software service to Codec2 HAL interface
Cmdline: media.hwcodec /vendor.qti.media.c2@1.0-service
 3361 F DEBUG   : pid: 3361, tid: 3361, name: vendor.qti.medi  >>> media.hwcodec <<<
 3361 F DEBUG   : uid: 1046
 3361 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
 3361 F DEBUG   : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
 3361 F DEBUG   : signal 0 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
 3361 F DEBUG   :     x0  0000000000000000  x1  00000077dbb62f00  x2  00000077dbb6dc98  x3  4c4d410100000000
 3361 F DEBUG   :     x4  00000077da9a7900  x5  0000000001414d4c  x6  0000000001414d4c  x7  00000077da8cf004
 3361 F DEBUG   :     x8  0000000000000001  x9  0000000000000d21  x10 0000000000000d21  x11 0000000000000000
 3361 F DEBUG   :     x12 2064616f6c6e750e  x13 00f022e2114c8a7e  x14 00000077da605840  x15 00000000000000c3
 3361 F DEBUG   :     x16 0000000000000001  x17 00000077dbb2f040  x18 00000077db0aa000  x19 b4000077414267b8
 3361 F DEBUG   :     x20 b40000760142bb70  x21 00000077da8a0000  x22 b4000077414267b8  x23 000000753ec3751c
 3361 F DEBUG   :     x24 00000077d9b88000  x25 0000000000007f20  x26 000000000000060f  x27 000000000000054c
 3361 F DEBUG   :     x28 0000000000007000  x29 0000007fced48170
 3361 F DEBUG   :     lr  000000753ec3ae34  sp  0000007fced48160  pc  000000753ec3ae34  pst 0000000080001000
 3361 F DEBUG   : 1 total frames

Change-Id: I6babac8f4ec0489f8bd5855b4e00bf64a20dd899
2024-04-06 16:07:26 +08:00
LuK1337
4991f27689 sm8550-common: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2024-03-06 00:00:25 +08:00
SGCMarkus
5049a89a5d sm8550-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-01 00:00:16 +08:00
chaptsand
261461ec6a sm8550-common: Import proprietary extract scripts from templates
Change-Id: I85162a0465519b019123fccaba69ca99f8a5c54b
2023-10-06 23:20:54 +08:00