From 932d0757c15d8ced2d855c11e1888f5620504d60 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 25 Aug 2024 09:00:48 +0300 Subject: [PATCH] sweet: Disable ELF checks for certain libraries Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483 --- proprietary-files.txt | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/proprietary-files.txt b/proprietary-files.txt index c1a615d..64fbc7d 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,5 +1,10 @@ # These proprietary files are extracted from Redmi Note 10 Pro (codenamed `sweet`) MIUI V14.0.9.0.TKFMIXM, unless pinned +# Current blobs with ELF checks disabled: +# com.qti.chi.override, libmialgoengine depend on libgrallocutils, which is a gnu makefile target +# libalLDC, libalhLDC depend on NDK libnativewindow and build is unable to resolve its symbols +# libarcsoft_hta, libarcsoft_super_night_raw, libhvx_interface, libmialgo_rfs depend on libsdsprpc and build is unable to resolve its symbols + # ADSP modules -vendor/lib/rfsa/adsp/capi_v2_aptX_CLHDAD_Encoder.so -vendor/lib/rfsa/adsp/capi_v2_aptX_Classic.so @@ -90,7 +95,7 @@ vendor/etc/init/init.batterysecret.rc # Camera -vendor/lib64/hw/camera.qcom.so --vendor/lib64/hw/com.qti.chi.override.so +-vendor/lib64/hw/com.qti.chi.override.so;DISABLE_CHECKELF -vendor/lib64/libFaceGrade.so -vendor/lib64/libPSNPE.so -vendor/lib64/libSNPE.so @@ -98,8 +103,8 @@ vendor/etc/init/init.batterysecret.rc -vendor/lib64/libXMFD_AgeGender.so -vendor/lib64/lib_sr_models.so -vendor/lib64/libalCFR.so --vendor/lib64/libalLDC.so --vendor/lib64/libalhLDC.so +-vendor/lib64/libalLDC.so;DISABLE_CHECKELF +-vendor/lib64/libalhLDC.so;DISABLE_CHECKELF -vendor/lib64/libarcdualcamsat.so -vendor/lib64/libarcsat.so -vendor/lib64/libbeauty_face_interface.so @@ -121,14 +126,14 @@ vendor/etc/init/init.batterysecret.rc -vendor/lib64/libft2vendor.so -vendor/lib64/libhta.so -vendor/lib64/libhta_hexagon_runtime.so --vendor/lib64/libhvx_interface.so +-vendor/lib64/libhvx_interface.so;DISABLE_CHECKELF -vendor/lib64/libmiai_portraitsupernight.so -vendor/lib64/libmialgo_fs.so -vendor/lib64/libmialgo_ie_capture.so --vendor/lib64/libmialgo_rfs.so +-vendor/lib64/libmialgo_rfs.so;DISABLE_CHECKELF -vendor/lib64/libmialgo_sd.so -vendor/lib64/libmialgo_utils.so --vendor/lib64/libmialgoengine.so +-vendor/lib64/libmialgoengine.so;DISABLE_CHECKELF -vendor/lib64/libmibokeh_712.so -vendor/lib64/libmpbase.so -vendor/lib64/libmulticam_image_optical_zoom.so @@ -161,11 +166,11 @@ vendor/lib64/mibokeh_712_opencl.bin -vendor/lib64/libarcsoft_dualcam_refocus_front.so -vendor/lib64/libarcsoft_dualcam_refocus_rear_t.so -vendor/lib64/libarcsoft_dualcam_refocus_rear_w.so --vendor/lib64/libarcsoft_hta.so +-vendor/lib64/libarcsoft_hta.so;DISABLE_CHECKELF -vendor/lib64/libarcsoft_portrait_lighting.so -vendor/lib64/libarcsoft_portrait_lighting_c.so -vendor/lib64/libarcsoft_preview_deflicker.so --vendor/lib64/libarcsoft_super_night_raw.so +-vendor/lib64/libarcsoft_super_night_raw.so;DISABLE_CHECKELF # Camera-components -vendor/lib64/camera/components/com.altek.node.depurple.so