From 2e28463c8cfdc7ace9052c4abe72ac115e9b937d Mon Sep 17 00:00:00 2001 From: SahilSonar Date: Sat, 23 Mar 2024 18:11:32 +0530 Subject: [PATCH 1/2] mt6765-common: sepolicy: Address wakeup nodes --- sepolicy/vendor/genfs_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index 310b75f..78a1771 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -8,7 +8,10 @@ genfscon sysfs /devices/platform/1000d000.pwrap/1000d000.pwrap:main_pmic/mt6357- genfscon sysfs /devices/platform/1000d000.pwrap/1000d000.pwrap:main_pmic/mt6357-charger-type-detection/power_supply/ac/wakeup109 u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/virtual/usb_rawbulk/atc/wakeup11 u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/1000d000.pwrap/1000d000.pwrap:main_pmic/mt6357-charger-type-detection/power_supply/usb/wakeup110 u:object_r:sysfs_wakeup:s0 +genfscon sysfs /devices/platform/1000d000.pwrap/1000d000.pwrap:main_pmic/mt6357-charger-type-detection/power_supply/usb/wakeup111 u:object_r:sysfs_wakeup:s0 +genfscon sysfs /devices/platform/1000d000.pwrap/1000d000.pwrap:main_pmic/mt6357-charger-type-detection/power_supply/usb/wakeup112 u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/11008000.i2c1/i2c-1/1-0051/wakeup u:object_r:sysfs_wakeup:s0 +genfscon sysfs /devices/platform/10238000.gce/wakeup u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/charger/power_supply/mtk-master-charger/wakeup114 u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/platform/charger/power_supply/mtk-slave-charger/wakeup115 u:object_r:sysfs_wakeup:s0 genfscon sysfs /devices/virtual/usb_rawbulk/gps/wakeup12 u:object_r:sysfs_wakeup:s0 -- GitLab From de7295e4077d957af81b0ccd5bc9db33e84dd2a1 Mon Sep 17 00:00:00 2001 From: SahilSonar Date: Sat, 23 Mar 2024 18:36:48 +0530 Subject: [PATCH 2/2] mt6765-common: overlay: Don't set display0 in power profile --- overlay/Teracube2eFrameworks/res/xml/power_profile.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay/Teracube2eFrameworks/res/xml/power_profile.xml b/overlay/Teracube2eFrameworks/res/xml/power_profile.xml index 9e30ee5..7d0968e 100644 --- a/overlay/Teracube2eFrameworks/res/xml/power_profile.xml +++ b/overlay/Teracube2eFrameworks/res/xml/power_profile.xml @@ -29,8 +29,8 @@ with a power meter. --> 0 0.1 - 0.1 - 0.1 + 0.1 + 0.1 0.1 0.1 0.1 -- GitLab