diff --git a/Android.bp b/Android.bp index cfbd266..43151ed 100644 --- a/Android.bp +++ b/Android.bp @@ -11701,23 +11701,6 @@ cc_prebuilt_binary { soc_specific: true, } -cc_prebuilt_binary { - name: "qguard", - owner: "xiaomi", - target: { - android_arm64: { - srcs: ["proprietary/vendor/bin/qguard"], - shared_libs: ["libbase", "libcutils", "liblog", "libjsoncpp", "libprocessgroup", "libutils", "libbinder", "libbinder_ndk", "libui", "libhidlbase", "libdisplayconfig.qti", "android.hardware.graphics.allocator@4.0", "android.hardware.graphics.mapper@4.0", "android.hardware.graphics.common@1.2", "libc++", "libc", "libm", "libdl", ], - }, - }, - compile_multilib: "64", - strip: { - none: true, - }, - prefer: true, - soc_specific: true, -} - cc_prebuilt_binary { name: "qmipriod", owner: "xiaomi", diff --git a/proprietary/vendor/bin/qguard b/proprietary/vendor/bin/qguard deleted file mode 100755 index 7eebb0c..0000000 Binary files a/proprietary/vendor/bin/qguard and /dev/null differ diff --git a/proprietary/vendor/etc/init/qguard.rc b/proprietary/vendor/etc/init/qguard.rc deleted file mode 100644 index d7bd264..0000000 --- a/proprietary/vendor/etc/init/qguard.rc +++ /dev/null @@ -1,6 +0,0 @@ -service qguard /vendor/bin/qguard - class late_start - user root - group system readproc - file /dev/kmsg w - capabilities KILL diff --git a/proprietary/vendor/etc/qguard.json b/proprietary/vendor/etc/qguard.json deleted file mode 100644 index 2466b81..0000000 --- a/proprietary/vendor/etc/qguard.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "Config": { - "switches": { - "main": false, - "debug": true - }, - "scan": { - "timeout_second": 120, - "timeout_min_second": 30, - "interval_min_second": 1, - "log_timeout_second": 10, - "round": 4 - }, - "policy": "default", - "monitor_process": { - "enable": true, - "list": [ - { - "process": "system_server", - "thread": [ - "watchdog" - ] - }, - { - "process": "surfaceflinger", - "thread": [] - }, - { - "process": "vold", - "thread": [] - } - ] - }, - "monitor_binder": { - "enable": false, - "monitor_uids": [ - 1000 - ], - "wchans": [ - "wait_on_page_bit_common" - ] - }, - "default_open_hw_list": { - "enable": false, - "list": [ - "lahaina" - ] - }, - "black_white_list": { - "enable": false, - "mode": "white", - "max_iowait_timeout_cnt": 0, - "max_iowait_task_cnt": 5, - "list": [] - }, - "blackscreen_monitor": { - "enable": false, - "interval_second": 5, - "pixel_check": true, - "panic": false - } - } -} \ No newline at end of file diff --git a/sm8450-common-vendor.mk b/sm8450-common-vendor.mk index 09ded82..5f5d23c 100644 --- a/sm8450-common-vendor.mk +++ b/sm8450-common-vendor.mk @@ -110,7 +110,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qconfig.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qconfig.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qcrilNrd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qcrilNrd.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qdcmss.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qdcmss.rc \ - vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qguard.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qguard.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qmipriod.debug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qmipriod.debug.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qmipriod.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qmipriod.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qms.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qms.rc \ @@ -226,7 +225,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/qcril_database/upgrade/other/7_version_update_ecc_table_qcrilnr.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/other/7_version_update_ecc_table_qcrilnr.sql \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/qcril_database/upgrade/other/8_version_update_ecc_table.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/other/8_version_update_ecc_table.sql \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/qcril_database/upgrade/other/9_version_update_ecc_table.sql:$(TARGET_COPY_OUT_VENDOR)/etc/qcril_database/upgrade/other/9_version_update_ecc_table.sql \ - vendor/xiaomi/sm8450-common/proprietary/vendor/etc/qguard.json:$(TARGET_COPY_OUT_VENDOR)/etc/qguard.json \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/atfwd@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/atfwd@2.0.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/c2audio.vendor.base-arm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/c2audio.vendor.base-arm.policy \ @@ -962,7 +960,6 @@ PRODUCT_PACKAGES += \ qcc-trd \ qcom-system-daemon \ qdcmss \ - qguard \ qmipriod \ qms \ qrtr-ns \