Commit Graph

8 Commits

Author SHA1 Message Date
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