From 8c358a4359eeacb0933cdafed88fe3be858afe68 Mon Sep 17 00:00:00 2001 From: basamaryan Date: Wed, 20 Nov 2024 03:45:30 -0500 Subject: [PATCH] sweet: Enable elfchecks for libgrallocutils Change-Id: I3719a100caa3535d3f2c27f4d2a0b9f75674d1d7 --- extract-files.py | 4 +--- proprietary-files.txt | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/extract-files.py b/extract-files.py index 46170a5..1fc10ec 100755 --- a/extract-files.py +++ b/extract-files.py @@ -9,7 +9,6 @@ from extract_utils.fixups_blob import ( blob_fixups_user_type, ) from extract_utils.fixups_lib import ( - lib_fixup_remove, lib_fixups, lib_fixups_user_type, ) @@ -19,6 +18,7 @@ from extract_utils.main import ( ) namespace_imports = [ + 'hardware/qcom-caf/sm8150', 'hardware/xiaomi', 'vendor/qcom/opensource/display', 'vendor/xiaomi/sm6150-common', @@ -26,10 +26,8 @@ namespace_imports = [ lib_fixups: lib_fixups_user_type = { **lib_fixups, - 'libgrallocutils': lib_fixup_remove, } - blob_fixups: blob_fixups_user_type = { 'vendor/etc/init/init.batterysecret.rc': blob_fixup() .regex_replace(' +seclabel u:r:batterysecret:s0\n', ''), diff --git a/proprietary-files.txt b/proprietary-files.txt index 69b3bf2..9aa9612 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,7 +1,6 @@ # 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 @@ -95,7 +94,7 @@ vendor/etc/init/init.batterysecret.rc # Camera vendor/lib64/hw/camera.qcom.so -vendor/lib64/hw/com.qti.chi.override.so;DISABLE_CHECKELF +vendor/lib64/hw/com.qti.chi.override.so vendor/lib64/libFaceGrade.so vendor/lib64/libPSNPE.so vendor/lib64/libSNPE.so @@ -133,7 +132,7 @@ vendor/lib64/libmialgo_ie_capture.so vendor/lib64/libmialgo_rfs.so;DISABLE_CHECKELF vendor/lib64/libmialgo_sd.so vendor/lib64/libmialgo_utils.so -vendor/lib64/libmialgoengine.so;DISABLE_CHECKELF +vendor/lib64/libmialgoengine.so vendor/lib64/libmibokeh_712.so vendor/lib64/libmpbase.so vendor/lib64/libmulticam_image_optical_zoom.so