From 4ec5225d3adeef5de7468ccb32a5e33f4a33ee8c Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 7 Mar 2024 21:20:00 +0100 Subject: [PATCH] zeus: Decommonize CIT sensors Change-Id: I06e14a2a29c3ed4d6e4df7919151cfefef481de4 --- extract-files.sh | 3 +++ proprietary-files.txt | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index f28352b..87ed11f 100644 --- a/extract-files.sh +++ b/extract-files.sh @@ -17,6 +17,9 @@ function blob_fixup() { vendor/etc/init/hw/init.batterysecret.rc) sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}" ;; + vendor/lib/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so|vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so) + sed -i 's/_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE/_ZN13DisplayConfig10ClientImpl4InitENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0/g' "${2}" + ;; esac } diff --git a/proprietary-files.txt b/proprietary-files.txt index 4d1aa45..0ae9f2c 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1152,6 +1152,17 @@ vendor/etc/sensors/config/tmd3719.json vendor/etc/sensors/sensorDisplayMap.json vendor/etc/sensors/sns_reg_config +# Sensors - CIT +vendor/bin/hw/vendor.xiaomi.sensor.citsensorservice@2.0-service +vendor/etc/init/vendor.xiaomi.sensor.citsensorservice@2.0-service.rc +vendor/etc/vintf/manifest/vendor.xiaomi.sensor.citsensorservice@2.0-service.xml +vendor/lib/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so +vendor/lib/vendor.xiaomi.sensor.citsensorservice@1.1.so +vendor/lib/vendor.xiaomi.sensor.citsensorservice@2.0.so +vendor/lib64/hw/vendor.xiaomi.sensor.citsensorservice@2.0-impl.so +vendor/lib64/vendor.xiaomi.sensor.citsensorservice@1.1.so +vendor/lib64/vendor.xiaomi.sensor.citsensorservice@2.0.so + # Thermal engine vendor/etc/thermal-4k.conf vendor/etc/thermal-abnormal.conf