diff options
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 10 | ||||
-rw-r--r-- | rootdir/init.qcom.rc | 31 |
2 files changed, 0 insertions, 41 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 4ea1424..7840a18 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -154,16 +154,6 @@ <!-- Enable lockscreen translucent decor --> <bool name="config_enableLockScreenTranslucentDecor">true</bool> - <!-- Defines the system property to set for performance profile xe: sys.cpu.modes. Leave it - blank if the device do not support performance profiles --> - <string name="config_perf_profile_prop" translatable="false">sys.perf.profile</string> - - <!-- When config_perf_profile_prop is defined, this value MUST be the index of - one of the listes values in frameworks/base/core/res/res/values/cm_arrays.xml - for "perf_profile_values" array. Leave it blank if the device do not support - performance profiles --> - <string name="config_perf_profile_default_entry" translatable="false">1</string> - <!-- Make things go fast --> <bool name="config_ui_enableFadingMarquee">false</bool> diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index e5ca772..ed05ccc 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -669,34 +669,3 @@ on property:init.svc.bootanim=stopped on property:init.svc.bootanim=running # Switch to NOOP while booting write /sys/block/mmcblk0/queue/scheduler noop - -# Powersave -on property:sys.perf.profile=0 - start mpdecision - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor conservative - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor conservative - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor conservative - write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor ondemand - -# Balanced -on property:sys.perf.profile=1 - start mpdecision - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor interactive - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor interactive - write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor ondemand - -# High performance -on property:sys.perf.profile=2 - stop mpdecision - write /sys/devices/system/cpu/cpu0/online 1 - write /sys/devices/system/cpu/cpu1/online 1 - write /sys/devices/system/cpu/cpu2/online 1 - write /sys/devices/system/cpu/cpu3/online 1 - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance - write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor performance - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor performance - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor performance - write /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor performance |