Commit Graph

86 Commits

Author SHA1 Message Date
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
Arian
48936b4c54
sm6150-common: Drop unused 3.0 and 4.1 keymaster service
Change-Id: Ica391eb12fb9558657090652c6616e04111242a2
2021-06-18 18:21:34 +02:00
dianlujitao
65dda5f875
sm6150-common-common: Switch to source built vendor.qti.hardware.perf@2.2.so
For some reason, any prebuilt ones from pre-R ROMs no longer work on R
and cause the following error:
  E ANDR-PERF: Unable to link to gPerfHal death notifications!

Change-Id: I1dc96e4a51c4c81dd847c59a58ec670d89054f64
2021-04-25 15:23:52 +02:00
Arian
6f4cbf9fa6
sm6150-common: Build open source bluetooth interfaces from source
Change-Id: If024ae91b3f882efb31815c630945054903ac933
2021-04-25 15:23:51 +02:00
Bruno Martins
e16c0d428d
sm6150-common: Drop prebuilt libwfdaac
Change-Id: Ia2b8b073b652c3969ac8b95c2ecce355754bd1b4
2021-04-25 15:23:51 +02:00
raghavt20
84e0156c30
sm6150-common: Move perf configs to device tree
Change-Id: Ia251c28784d24f2d7b1fdcb7a3676be1c5a63d1b
2021-04-25 15:23:51 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Arian
2adf4360af
davinci: Add Certificate Authority service
Change-Id: I1b8df9fbd8fea6e23bb8fbd1ff23746ad5642fae
2021-04-25 14:49:59 +02:00
Arian
2b825821f6
davinci: Pin qdcm profiles from 12.0.3
* The chinese beta qdcm profiles defaults to the video33 mode which is horribly yellow tinted.

Change-Id: I4e4cb08446299e1381321a77749c70f362c72138
2021-04-25 14:49:59 +02:00
Arian
2e45a1266b
davinci: Add aptX blobs from Pixel 4A
Change-Id: I90ea22bff76c802bdf2afacc369799733806ee5e
2021-04-25 14:49:59 +02:00
Arian
ec12babff2
davinci: Kang libsdedrm.so from Nubia Z20
Change-Id: I6f3fcf01d82f6326e4e4309f627290083906a40b
2021-04-25 14:49:59 +02:00
Arian
40b126dec9
davinci: Build libplatformconfig from source
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2021-04-25 14:49:59 +02:00
Arian
bffe4ca0cf
davinci: Update proprietary files from 20.10.22
Change-Id: Ibaeaae488efbce21fc73ae7db14f9427806e7d66
2020-12-30 02:02:58 +01:00
LuK1337
75a6862a95
Revert "davinci: Use timeservice_app_cert certificate for TimeService app"
* This cert is no longer present in qcom sepolicy.

This reverts commit 0a95afa32f.

Change-Id: Ie4e882058825287d9db3f7a3bdd37c641c67a5c2
2020-12-30 02:02:56 +01:00
LuK1337
b9c9a2f990
davinci: Switch vintf manifest from copy files to build targets
* Fixes:
  build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES

Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2020-12-30 02:02:56 +01:00
Arian
3476ddfcaf
davinci: Drop unused packages and proprietary files
Change-Id: Ia71338d2cb795977af9c6ff945e2715fb693ea1a
2020-12-30 01:47:09 +01:00
jhenrique09
027a842a58
davinci: parts: Implement popup motor calibration
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: If1f6c757cbf521fd27f7124284f40ea602f53ba8
2020-11-28 18:12:03 +01:00
Arian
b97294d58f
davinci: Build the vendor.xiaomi.hardware.motor@1.0 interface
Change-Id: Ieda22802167fb20f54b301f3c686f158599f09eb
2020-11-28 18:12:03 +01:00
Arian
7b875c6270
davinci: Add 32-bit perf stack and drop unused libskewknob
* Our audio HAL want's to use it

Change-Id: I2146369cacbb4f5a342781842bf34ce93db551f0
2020-11-28 18:12:03 +01:00
Arian
cc90c3bee5
davinci: Drop unnecessary display calibration files
Change-Id: Ib2d56131c6a5709644097cfd3a45eb6310fc9196
2020-11-28 18:12:02 +01:00
kazerine
ab51fafbdd
davinci: Get rid of megvii dependencies in camera.qcom.so
Change-Id: I97058c320d06819a468ebe38e2704360e9aa91db
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-28 18:12:01 +01:00
LuK1337
71a981f61c
davinci: Disable uplink features in librmnetctl and build it from source
Change-Id: I2e5f63f3cb688f3d141fa9123f3a6e91b6294157
2020-11-23 20:44:38 +01:00
Arian
fea051b9c7
davinci: audio: Drop audiosphere
Change-Id: I3263caea70c4b954e434bcf3498a4fdd7700fbdf
2020-11-23 20:44:38 +01:00
Arian
8ea8838e3e
davinci: Drop misound karaoke
Change-Id: I86c8c8d42050ea16cfe4a473358012c6abb5341a
2020-11-23 20:44:38 +01:00
Arian
27edb262ed
davinci: Drop audioconfigstore
Change-Id: Iadb796a9f6f5187994474ccba7acdc77f51b7e75
2020-11-23 20:44:38 +01:00
Arian
12f436ea0f
davinci: Drop graphite ipc
Change-Id: I544529d834616340d4da98f9af9456cd65b0cb91
2020-11-23 20:44:38 +01:00
Arian
d5591d6d37
davinci: Build audio HAL from source
* Disable ssrec and hdmipassthru since they depend on proprietary headers

Change-Id: I6abf4baf2e03aa9dc4ce52cbe758d976441cc7fc
2020-11-23 20:44:38 +01:00
Bruno Martins
e0dab7b3ec
davinci: audio: Nuke dirac and misoundfx effect
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Arian
f88933946c
davinci: Import GPS configs from MIUI V12.0.1.0.QFJMIXM
Change-Id: Id3ec33eeb511081ebf2eb07324b167b3e58c11a2
2020-11-23 20:44:38 +01:00
dianlujitao
bf60c73d8e
davinci: Build GNSS HAL
* Remove unnecessary dependencies on liblbs_core.so
 * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
   building w/o BSP.

Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-11-23 20:44:38 +01:00
Arian
cadbc6c7eb
davinci: Add xtra_root_cert for xtwifi-inet-agent
Change-Id: I17d268efe42a1e87c12122e1a1f9a97d9bb195c3
2020-11-23 20:44:37 +01:00
PIPIPIG233666
86032a20b5
davinci: fod: Add support for Xiaomi's touchfeature
Change-Id: I15a4a3d777d784abe04e88372647fc9abff78626
Signed-off-by: Arian <arian.kulmer@web.de>
2020-10-13 18:25:13 +02:00
LuK1337
66573bbfea
davinci: Drop SSR blobs and set SSR restart_level in init.qcom.rc
Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4
2020-08-06 21:28:09 +02:00
Arian
f943def98b
davinci: fm: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I933ee9527f2adff22df22acc4de330ff0c7fed50
2020-08-06 21:28:08 +02:00
Arian
221474267e
davinci: soter: Import blobs
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I347e47f1ea844f887c2e569bcc32e3bf099db737
2020-08-06 21:28:08 +02:00