From 2d90abaa7cc7a69ffbbe0887b04316b9c2ff1687 Mon Sep 17 00:00:00 2001 From: SamarV-121 Date: Wed, 13 May 2020 17:04:54 +0530 Subject: [PATCH] sdm710-common: Disable IOP and PERF HAL * also revert 56f6504f61e1c7e6bb0e74278d215da0469cf4a3, eb7a690439298070393a5fe8c291014e6615eaec, d5cb5501690c3d949a342ac203ba5544a5768106 * in the favour of power-libperfmgr * also nuke all sepolicies for now Signed-off-by: SamarV-121 --- configs/perfconfigstore.xml | 37 ---------------------------------- device.mk | 8 -------- proprietary-files.txt | 21 ------------------- rootdir/etc/init.qcom.rc | 6 ++++++ sepolicy/private/file_contexts | 2 +- 5 files changed, 7 insertions(+), 67 deletions(-) delete mode 100644 configs/perfconfigstore.xml diff --git a/configs/perfconfigstore.xml b/configs/perfconfigstore.xml deleted file mode 100644 index 7775f52..0000000 --- a/configs/perfconfigstore.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/device.mk b/device.mk index 36410c7..650f71b 100644 --- a/device.mk +++ b/device.mk @@ -100,14 +100,6 @@ PRODUCT_PACKAGES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.build.fingerprint=google/flame/flame:10/QQ2A.200501.001.A3/6353761:user/release-keys -# QTI Performance -PRODUCT_BOOT_JARS += \ - QPerformance \ - UxPerformance - -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/perfconfigstore.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/perf/perfconfigstore.xml - # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(LOCAL_PATH) diff --git a/proprietary-files.txt b/proprietary-files.txt index cd81f4f..d5647a3 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -18,27 +18,6 @@ lib/libmmparser_lite.so lib/libOmxMux.so lib64/libmmosal.so -# Perf -bin/perfservice -etc/init/perfservice.rc --framework/QPerformance.jar --framework/UxPerformance.jar -lib/libqti-at.so -lib/libqti-iopd-client_system.so -lib/libqti-util_system.so -lib/libqti_performance.so -lib/libqti-perfd-client_system.so -lib64/libqti-at.so -lib64/libqti_performance.so -lib64/libqti-perfd-client_system.so -lib64/libqti-iopd-client_system.so -lib64/libqti-util_system.so -lib64/libqti_workloadclassifiermodel.so -product/lib/vendor.qti.hardware.iop@2.0.so -product/lib/vendor.qti.hardware.perf@2.0.so -product/lib64/vendor.qti.hardware.iop@2.0.so -product/lib64/vendor.qti.hardware.perf@2.0.so - # Power-off alarm -product/app/PowerOffAlarm/PowerOffAlarm.apk diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index b1c3376..cc5e752 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -68,3 +68,9 @@ service cvphalservice /system/bin/true service vendor.power-hal-1-0 /system/bin/true disabled + +service iop-hal-2-0 /system/bin/true + disabled + +service perf-hal-2-0 /system/bin/true + disabled diff --git a/sepolicy/private/file_contexts b/sepolicy/private/file_contexts index d8ede0c..c4f6bca 100644 --- a/sepolicy/private/file_contexts +++ b/sepolicy/private/file_contexts @@ -2,4 +2,4 @@ /bt_firmware(/.*)? u:object_r:bt_firmware_file:s0 /dsp(/.*)? u:object_r:adsprpcd_file:s0 /firmware(/.*)? u:object_r:firmware_file:s0 -/persist(/.*)? u:object_r:persist_file:s0 +/persist(/.*)? u:object_r:persist_file:s0 \ No newline at end of file