* 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
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
* This was removed during 90d2b593847cae4bc46ff33e8be8856a8a2a0735
but was added back with Redmi Note 10 Pro blobs.
Change-Id: Id67d3d80454744c937e7fc0ca261e73979f0a160
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
* 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
* 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