12 Commits

Author SHA1 Message Date
bengris32
b9e84bc34c RM6785-common: Shim missing audio symbol
* E vndksupport: Could not load /vendor/lib/hw/audio.primary.mt6768.so from default namespace: dlopen failed: cannot locate symbol "_ZN7android13TypeConverterINS_13DefaultTraitsI14audio_format_tEEE6mTableE" referenced by "/vendor/lib/hw/audio.primary.mt6768.so"....

* The required conversion mTable [1] was removed in VNDK31, add it back.

* Replace it with libmedia_helper-v30.

[1] dc6be0d575
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I5966e583196fa02a6ba325f6ce63d64c0ec57cf0
2025-09-10 22:00:54 +05:30
SamarV-121
ea3bc555f8 RM6785: Reorganize libshims
Change-Id: I2da180737dd6592699bfa76e20fd1a885a1da6ce
2023-08-07 22:23:03 +05:30
LuK1337
be1d90726d RM6785: Add libcamera_metadata shim for stripping out system camera cap
Change-Id: I8f7772fc9ec15a00c4b630866aa7fc162a52c1aa
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-12-17 23:10:41 +05:30
SamarV-121
2a21647605 RM6785: Update VT blobs from RMX2151_11_F.01
Change-Id: I9b391eb68af065eb650f233332ec3e4734cebf11
2022-09-20 17:01:47 +05:30
bengris32
227143432c RM6785: libshims: Fixup vtservice shim
* All non-static class member functions (including constructors/destructors) carry a hidden this pointer. Add it.

 * AttributionSourceState now holds the pid and
 uid, create a new AttributionSourceState and set the uid and pid and pass it
 to new AudioTrack constructor.

 * _ZN7android10MediaMuxerC1EiNS0_12OutputFormatE is a class constructor, so
 call the new equivalent.

 * Only build 32bit library, since vtservice is 32bit
 on pre A12 IMS stack, and size_t on 32bit is unsigned int, while on 64 bit it
 is unsigned long, meaning that we can't link the shim against the 32bit and
 64bit lib since the symbol changes (well, we could with a compiler macro to
 use the correct symbol name for the 2 libs, but as stated before, there is no
 point).

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I275fac7ddf63595f482ebef80d2116a322b6db60
2022-06-02 19:24:32 +05:30
SamarV-121
180a4c973c Revert "mt6785-common: Address missing ImsServiceBase class"
* Not needed

This reverts commit 9b8c825bed.

Change-Id: Ib8697f3d8bf8800ce8b8c406ed67feeee6a9d71e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-14 07:59:33 +05:30
SamarV-121
043e946c8d RM6785: Kill KPOC
Change-Id: I5d816db0790d7985e92d5d5c91a939e53ad26f9f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-02-25 17:54:34 +05:30
Joel Stein
5bf49ba773 RM6785: Shim missing libshowlogo symbols
Change-Id: Iaf27eb5741ee6796e1878db4afa696b9b3fe4582
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-01-03 20:23:42 +05:30
R0rt1z2
851e7f5ba6 RM6785: libshims: Shim more missing libsink symbols
[1] 992496bd2e (diff-28678e0ae1e280b3af3f0c0ebd3ca299faee4ff63d44a7279545cf2870264044L66)
[2] 4449e39748 (diff-9db90ab4d6bcb28ee2128040bcc343281f16b045f775f15479d8865b7bfbac95L45)

Change-Id: Idd64a6c3d089aff6aee766f7b7d86ad0582a7bb0
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-01-03 20:23:42 +05:30
Arian
309ae2f5eb RM6785: Provide a shim for libsink
added opPackageName as a parameter to the constructor
  of AudioTrack which breaks our libsink which was compiled
  for an older libaudioclient.

* fixes the following error:
CANNOT LINK EXECUTABLE "/system/bin/vtservice": cannot locate symbol "_ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_output_flags_tPFviPvS4_ES4_i15audio_session_tNS0_13transfer_typeEPK20audio_offload_info_tjiPK18audio_attributes_tbfi" referenced by "/system/lib/libsink.so"

fd90fdfe2a

Change-Id: Ie3397cc90c741e7a711012a66fed3bf2ada6a818
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-01-03 20:23:41 +05:30
SamarV-121
bc53d9f0ed mt6785-common: Remove unneeded shims
* We have R blobs now

Change-Id: I4763383682bba1c955c3f31964a59b6d35cc5bdf
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2021-11-22 15:30:28 +05:30
Kshitij Gupta
9b8c825bed mt6785-common: Address missing ImsServiceBase class
* Android 11 has deprecated this class.
* This is needed by Android 10 IMS stack.
* Convert this into a boot JAR that will be available to system globally.

Co-authored-by: Gagan Malvi <malvi@aospa.co>
Signed-off-by: Gagan Malvi <malvi@aospa.co>
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Change-Id: I473c0311e02077ea2ff6e87aadbd60d4dbf5d20e
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-07-30 10:48:14 +05:30