Commit Graph

120 Commits

Author SHA1 Message Date
basamaryan
fe0852853c
sm6150-common: Add missing 32-bit libraries
Change-Id: I810c3c89e7936cda1910d85c7a49519de23040a2
2024-09-25 16:58:21 -04:00
Bruno Martins
41ebde2e72
sm6150-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2024-09-16 14:16:53 -04:00
danielml
e091c0a9a5
sm6150-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-08-06 16:26:04 +05:30
basamaryan
64a21b1609
sm6150-common: Update blobs from sweet_k6a OS1.0.6.0.THGMIXM
Change-Id: I2c91be38c045d2897f788463f85edfa29586793d
2024-08-01 22:11:26 +05:30
basamaryan
ee4501a185
sm6150-common: Add new QCRIL database
Change-Id: Ideea68864d8fdd083c1e226810812480750f8dc7
2024-06-24 20:29:21 +05:30
Bruno Martins
5255afcd4d
sm6150-common: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-06-24 02:55:26 +05:30
Bruno Martins
ca574868c5
sm6150-common: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-06-24 02:55:26 +05:30
basamaryan
48c5fdf505
sm6150-common: Update blobs from sweet_k6a OS1.0.5.0.THGMIXM
Change-Id: Icc2cb02efd46b784ed75ce5837e041ab983bb696
2024-06-22 17:27:09 +05:30
basamaryan
d153fd49af
sm6150-common: Update blobs from sweet_k6a OS1.0.3.0.THGMIXM
Change-Id: I49e115b9322f1af1afdafabcbad8e785d330901f
2024-04-10 13:26:44 -04:00
basamaryan
08907a6238
sm6150-common: Decommonize ADSP modules
Change-Id: I2d250b03b4a21ec59e8d1de8d046d903be472a60
2024-04-10 13:26:43 -04:00
basamaryan
c8ca7b8d22 sm6150-common: Update blobs from sweet V14.0.9.0.TKFMIXM
Change-Id: Iec655b7db96d8a1768051bb6a292dc0ddf23f1bf
2023-12-15 16:16:15 +00:00
basamaryan
43c21ef708
sm6150-common: Import missing qcrild dependency
Change-Id: I7d1ccc0019b068cca2845baf3ff85531828d2fe9
2023-11-09 11:12:58 -05:00
basamaryan
e6cc2b78d5
sm6150-common: Add missing ADSP modules
* capi_v2_dap_cpdp is needed to load latest sweet's ACDB data
* While at it, add the remaining ones

Change-Id: I7fbcf548e9281dd348819da135e9e76871eff093
Signed-off-by: danielml <daniel@danielml.dev>
2023-10-29 15:31:24 -04:00
basamaryan
a7e6dc7bd1
sm6150-common: Update blobs from sweet V14.0.7.0.TKFMIXM
Change-Id: I2c683e875bde677e9b8fd175b54fdc7eb9f25596
2023-10-19 00:52:19 -04:00
basamaryan
b74503cd69 sm6150-common: Drop duplicated vendor.qti.ims.rcsconfig entry in proprietary-files.txt
Change-Id: I80ad0d34d59b94ed8deab53a7b82662ce06c5b59
2023-08-21 19:38:38 +02:00
raghavt20
bd277e428a
sm6150-common: Kang libril-qc-hal-qmi.so from Redmi Note 10
From: mojito_global:12/SKQ1.210908.001/V14.0.2.0.SKGMIXM:user/release-keys
Change-Id: If1f1003ed4765831653c3cf90b79a73d3d97deca
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-10 22:41:29 +04:00
raghavt20
e5ce6d0995
sm6150-common: Decommonize liboemcrypto
Some devices like violet didn't recieve Android 11 update
hence breaks Widevine L1 with liboemcrypto from Sweet[Redmi Note 10 Pro]

Change-Id: I3bfbd76bf9575e72be8d4d61586830198bfcf47a
Signed-off-by: raghavt20 <raghavt20@aospa.co>
2023-05-10 22:41:29 +04:00
Arian
979b46dab0
sm6150-common: Patch ims.apk from sweet V14.0.2.0.TKFMIXM
Patched to remove com.qti.permission.BIND_QTI_IMS_SERVICE and
Landroid/telephony/TelephonyBaseUtilsStub;->isMiuiRom()

Full patch: https://paste.myself5.de/zitiketuto.diff

Change-Id: I1ecff29d7089bffa50d41acb6b55c6d8e36d1d9c
2023-05-10 22:41:07 +04:00
basamaryan
cc603690ad
sm6150-common: Update blobs from sweet V14.0.2.0.TKFMIXM
Change-Id: Ifeab003e6182e09b00dd88d09b69334dc66d1610
2023-05-10 22:40:58 +04:00
Arian
41d34a2c85 sm6150-common: Unpin RIL blobs from surya
Change-Id: Iebb839ec7fe45504e0aac62c8dd2e4126d131b0d
2023-04-11 15:20:23 +02:00
Arian
d08208285a sm6150-common: Sort proprietary-files.txt
Change-Id: If4c6a47a9bc9efc2c77421f8ba2685cc1a5fb3f6
2023-04-11 15:20:23 +02:00
Alexander Martinz
779599957d sm6150-common: Drop aptx blobs
They live within the bluetooth apex now.

Change-Id: I01ef1d665ce05b7ce5b1ee03129ccf3ce6058634
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2023-01-29 21:30:38 +00:00
basamaryan
ad2e46eb0a sm6150-common: Update blobs from sweet V13.0.15.0.SKFMIXM
Change-Id: Icfb3cc584691ed497332f58efbb380f83f22a1ba
2023-01-27 01:32:59 +00:00
Michael Bestas
625fda0bd1 sm6150-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2023-01-27 01:32:59 +00:00
Arian
166966e54b sm6150-common: Add system prefix to proprietary libraries in /system
Change-Id: I9ac038d474d5cbe1f7eb5128d6ea8eea3a82f318
2023-01-27 01:32:59 +00:00
Arian
543d7ac0ef Revert "sm6150-common: Decommonize cnss-daemon"
Since updating QMI blobs from sweet Android 12 the cnss-daemon
from Android 11 (on devices with no stock Android 12) fails to
get the correct MAC address. Commonize cnss-daemon to fix the
mismatch. Xiaomis cnss-daemon loads device specific custom
bdwlan firmware and fortunately the one from sweet seems to
support all in-house xiaomi sm6150 devices. However it does
not contain the firmware names for longcheer devices (surya).
But since these devices also need an updated cnss-daemon, they
are suggested to apply a patch like this: [1] to mount their
firmware with the default name (bdwlan.bin) in order to not
loose the tuning with sweet cnss-daemon.

This commit also makes cnss-daemon a module, which it wasn't
before the removal.

[1]: 3595347298

This reverts commit 605de37605.

Change-Id: I17d7aa0cf141fc153a12ff3334178ea3e7091873
2022-11-14 22:23:40 +01:00
Arian
e0b57d8fa6 sm6150-common: Update blobs from sweet V13.0.8.0.SKFMIXM
Change-Id: Icd49e5186f0385d412d0bdc59e0956a09298f4bd
2022-07-13 17:54:03 +02:00
Bruno Martins
c6daece9b1 sm6150-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2022-06-28 00:41:07 +02:00
Michael Bestas
29a3f78a3a sm6150-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
$ sed -i "s/^-\(.*.\(apk\|jar\)\)/\1/g" proprietary-files.txt

Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-06-28 00:23:20 +02:00
LuK1337
e6fa02024b sm6150-common: Sort blobs list /w sort-blobs-list.py
Change-Id: I197c6353dc50baf4ee76ed6ebf083dc00879bd96
2022-06-28 00:21:46 +02:00
Marc Bourgoin
d5d80a5347 sm6150-common: Drop QCOM WFD
Change-Id: I3dd591444dc54ebe3a32e0385cbfc3db6bfc5e1f
2022-06-22 16:23:58 +02:00
Arian
fd47aee8f1 sm6150-common: Provide partition dependent module names if necessary
Change-Id: I7b113c34775d65081485580d0f36543d6caeed6f
2022-03-17 01:28:20 +01:00
Tim Zimmermann
6b0b6fa895 sm6150-common: Make all elf prebuilts packages
* To get rid of BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES

echo "$(cat proprietary-files.txt | sed 's/.*\.so$/-&/g' | sed 's/.*\.so|.*/-&/g' | sed 's/.*\/bin.*/-&/g' | sed "s/\-\-/\-/g")" > proprietary-files.txt

Change-Id: I0034a5732f522a2dd42d89d9c9ee6c8c1981f302
2022-03-17 01:28:13 +01:00
Arian
5b735a2c68 sm6150-common: Declare the origin of extracted proprietary files
Change-Id: Id8c9102fbddded34ff9f2e522231285c1484ee31
2021-12-29 10:07:12 +00:00
raghavt20
8a938dd6e1 sm6150-common: Kang libqdp.so and libril-qc-hal-qmi.so from surya
Change-Id: Id3f60d5c30705fc31b8f51e49c7aa493d25c6f0e
2021-12-29 09:57:01 +00:00
Arian
9bf8cf0548 sm6150-common: Pin PowerOffAlarm.apk from sweet 12.5.1.0
This was removed in global 12.5.8.0 but is required for
power off alarm functionality.

Change-Id: I6f7e03643cc5a541e50930b4e2399e9982c37deb
2021-12-29 09:56:40 +00:00
Wei Wang
fe82d2824b
sm6150-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4
2021-06-18 18:37:26 +02:00
Arian
da8bb7dbb8
sm6150-common: Import missing libops.so
This is required with blobs and firmware from global stable Android 11 builds.

Fixes this error:

05-31 00:05:23.600   687   687 E QCOM-OEMCrypto: Error at trusted_app_decrypt_cenc : 2563
05-31 00:05:23.600   687   687 E QCOM-OEMCrypto: TA Result : 45 OEMCryptoResult : 38
05-31 00:05:23.601   687   687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.601   687   687 I QCOM-OEMCrypto: Error stack trace[5] for TA version 1:71
05-31 00:05:23.601   687   687 E QCOM-OEMCrypto: 	 drm_get_ops_obj : 1174
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 drm_enforce_hdcp_level : 1204
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 validate_key_control_for_decrypt : 1216
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 process_subsample : 1403
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: 	 i_widevine_session_decrypt_cenc : 1739
05-31 00:05:23.602   687   687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at decrypt_data : 1874
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at _oecc48 : 2322
05-31 00:05:23.602   687   687 E QCOM-OEMCrypto: Error at _oecc105 : 3119
05-31 00:05:23.602   687   687 E WVCdm   : [crypto_session.cpp(1541):Decrypt] OEMCrypto_DecryptCENC failed: status = 38
05-31 00:05:23.602   687   687 E WVCdm   : Decrypt error in session sid8 during a sample with protected data: 179

Change-Id: Icb7467e1e4b4e9260c34ac7a0bda6f48e5c6f34a
2021-06-18 18:34:30 +02:00
Adithya R
605de37605
sm6150-common: Decommonize cnss-daemon
* surya needs stock cnss-daemon to load j20 custom
   bdwlan firmware for 5ghz wifi.

Change-Id: I34a7165f20740858c92355e92e5db52291fc25aa
2021-06-18 18:34:00 +02:00
Rasenkai
fb7663b4aa
sm6150-common: Add missing librice for soundtrigger
* This was removed during 90d2b593847cae4bc46ff33e8be8856a8a2a0735
  but was added back with Redmi Note 10 Pro blobs.

Change-Id: Id67d3d80454744c937e7fc0ca261e73979f0a160
2021-06-18 18:33:41 +02:00
Arian
bc384c8a64
sm6150-common: Add libadpcmdec for sound trigger
Change-Id: I99cff257c7a6068336870d5a6defb8a77f40da9f
2021-06-18 18:32:56 +02:00
Arian
182b1dc663
sm6150-common: Remove wfdhdcphal service
Change-Id: I5237de894613a3565df16046083db4228a3713b4
2021-06-18 18:32:32 +02:00
Arian
5471dad5f8
sm6150-common: Remove Super Sensor/Photo ADSP modules
Change-Id: I44d39fa16f1e0416d3efca28ad8f743afea9cb53
2021-06-18 18:32:31 +02:00
Arian
a04fb57165
sm6150-common: Re-add shoebox and audio sphere effects
This partially reverts c77b652733 and fea051b9c7.

Change-Id: Id8519fc86e914ed2f5e9af14279fceaa6f97c35b
2021-06-18 18:32:31 +02:00
Arian
72b92051ad
sm6150-common: Decommonize audio libraries
Change-Id: Iccdc4ff0efd15d35b18f299f7dcc713b0b862476
2021-06-18 18:32:31 +02:00
Arian
237862f024
sm6150-common: Move btaudio_offload_if.so to audio section
* This is just a proprietary dependency of liba2dpoffload which
  is an audio extension.

Change-Id: Iacbbc2197f22ba1c61e4e749f100b08bb921edd9
2021-06-18 18:32:31 +02:00
Arian
d9a98b74d6
sm6150-common: Add all stock ADSP modules
Change-Id: I610c1cddab2eb043170711eb699b989cb1561b55
2021-06-18 18:32:31 +02:00
Michael Bestas
f3e8480dc8
sm6150-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-06-18 18:32:31 +02:00
Arian
59684442f2
sm6150-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
2021-06-18 18:32:31 +02:00
Arian
b227173d9e
sm6150-common: Update from Mi Note 10 Lite V12.1.4.0.RFNMIXM
Change-Id: I80f4200b46268a3c4bc638529c916122eb20ddba
2021-06-18 18:32:23 +02:00