diff --git a/README.md b/README.md index 8bf1ac6..77fc875 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ (注:仅代表本调度,并不代表原CT) #### 维护者 : [@Suni-code](https://github.com/Suni-code) (Magisk_suni_Vxxx.zip) -骁龙:`845/855/855+/860/865/865+/870/888/888+/8Gen1/8+Gen1/7+Gen2/8Gen2/8Gen3/765/765G/768G/778G/778G+/782/835/7+Gen3` +骁龙:`845/855/855+/860/865/865+/870/888/888+/8Gen1/8+Gen1/7+Gen2/8Gen2/8Gen3/835/7+Gen3` 天玑:`1100/1200/8100/8200/8300/9000/9200/9200+/` diff --git a/changelog.md b/changelog.md index 83d958c..1e3e887 100644 --- a/changelog.md +++ b/changelog.md @@ -1,10 +1,16 @@ -## V5.0.0 Beta 1更新日志 +## V5.0.0 Beta 2 @Suni-code -全新的TritiumV5.0版本 带来全新的底层调度框架 更精细的CPU频率调控与更加优异的游戏能耗表现 - -- 跟随上游 将调度底层版本更新至V20 -- 为性能较差的平台启用多核负载策略 以改善游戏体验 -- 优化均衡模式性能冗余 提升使用流畅度 +本次只更新我所维护的天玑平台和骁龙的888 865/870 +其他骁龙型号将在晚上收到云更新 更新内容不会有差别 + +更新日志: +- 为MTK9000平台启用多核负载策略 +- 优化性能模式的多核负载策略 +- 优化性能模式游戏帧率表现 +- 优化均衡模式功耗与流畅度 +- 降低省电与均衡模式 点击 滑动 手势操作的延迟 +- 降低性能与极速模式下的点击 滑动延迟 +- 更新模块刷入文件 @xianyu6556 - 暂无 diff --git a/config.env b/config.env index a1287b4..03c44eb 100644 --- a/config.env +++ b/config.env @@ -3,7 +3,7 @@ CONFIG_ENV=config.env ZIP_FILENAME=Magisk CONFIG_NAME=configs IS_PRERELEASE=true -VERSION=V5.0.0_Beta_1 -VERSIONCODE=241126 +VERSION=V5.0.0_Beta_2 +VERSIONCODE=241128 FILE=Tritium.json diff --git a/magisk_suni/META-INF/com/google/android/update-binary b/magisk_suni/META-INF/com/google/android/update-binary index 28b48e5..a996708 100644 --- a/magisk_suni/META-INF/com/google/android/update-binary +++ b/magisk_suni/META-INF/com/google/android/update-binary @@ -1,33 +1,30 @@ #!/sbin/sh -################# -# Initialization -################# - umask 022 -# echo before loading util_functions -ui_print() { echo "$1"; } +ui_print() { + echo "$1" +} require_new_magisk() { - ui_print "*******************************" - ui_print " Please install Magisk v20.4+! " - ui_print "*******************************" + ui_print "- Please install Magisk v20.4+ !" exit 1 } -######################### -# Load util_functions.sh -######################### - OUTFD=$2 ZIPFILE=$3 mount /data 2>/dev/null -[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk +if [ ! -f "/data/adb/magisk/util_functions.sh" ]; then + require_new_magisk +fi . /data/adb/magisk/util_functions.sh -[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk + +if [ "$MAGISK_VER_CODE" -lt 20400 ]; then + require_new_magisk +fi install_module -exit 0 + +exit 0 \ No newline at end of file diff --git a/magisk_suni/configs/dimensity1100.json b/magisk_suni/configs/dimensity1100.json index c910d79..fc7a5c5 100644 --- a/magisk_suni/configs/dimensity1100.json +++ b/magisk_suni/configs/dimensity1100.json @@ -51,15 +51,15 @@ "powerLimit": 2900, "multiLoadLimit": true, "multiLoadThres": [15, 20, 20], - "maxMargin": [20, 20, 20], + "maxMargin": [20, 20, 25], "maxLatency": [50, 50, 60] }, "performance": { - "powerLimit": 4600, + "powerLimit": 4500, "multiLoadLimit": true, - "multiLoadThres": [30, 35, 40], + "multiLoadThres": [50, 40, 40], "maxMargin": [30, 30, 40], - "maxLatency": [30, 25, 20] + "maxLatency": [30, 35, 30] }, "fast": { "powerLimit": 10000, @@ -554,11 +554,11 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 200, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -572,9 +572,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 5}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -587,8 +587,8 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -602,7 +602,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -615,12 +615,12 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 350, "modes": { "powersave": { "setProperty": [ {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.extra_margin", "value": 5}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -633,9 +633,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 5}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -647,9 +647,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -663,7 +663,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -676,11 +676,11 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -694,9 +694,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -710,11 +710,11 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 10}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3000}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1100, "modes": { "powersave": { "setProperty": [ @@ -755,8 +755,8 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 25}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 15}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3000}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -783,13 +783,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 30}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3000}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -798,13 +798,13 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 540, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, + {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -816,11 +816,11 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 40}, + {"name": "mtk_gpu.boost", "value": 10}, {"name": "mtk_gpu.extra_margin", "value": 10}, {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 4200}, @@ -831,7 +831,7 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, @@ -859,7 +859,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -891,11 +891,11 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 55}, + {"name": "cpu.extra_margin", "value": 30}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 60}, + {"name": "mtk_gpu.boost", "value": 50}, {"name": "mtk_gpu.extra_margin", "value": 10}, {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 4200}, @@ -935,13 +935,13 @@ "temp": -1, "setProperty": [ {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 710}, + {"name": "mtk_gpu.max_freq", "value": 590}, {"name": "devfreq.ddr.max_freq", "value": 10000}, {"name": "devfreq.gpu.max_freq", "value": 10000} ] }, { - "temp": 80, + "temp": 60, "setProperty": [ {"name": "cpu.max_power", "value": 5000}, {"name": "mtk_gpu.max_freq", "value": 600}, @@ -972,7 +972,7 @@ ] }, { - "temp": 80, + "temp": 75, "setProperty": [ {"name": "cpu.max_power", "value": 5000}, {"name": "mtk_gpu.max_freq", "value": 710}, @@ -981,7 +981,7 @@ ] }, { - "temp": 90, + "temp": 85, "setProperty": [ {"name": "cpu.max_power", "value": 2000}, {"name": "mtk_gpu.max_freq", "value": 600}, diff --git a/magisk_suni/configs/dimensity8100.json b/magisk_suni/configs/dimensity8100.json index 87ef5fa..ab824f0 100644 --- a/magisk_suni/configs/dimensity8100.json +++ b/magisk_suni/configs/dimensity8100.json @@ -43,23 +43,23 @@ "powersave": { "powerLimit": 2000, "multiLoadLimit": true, - "multiLoadThres": [20, 30, 20], + "multiLoadThres": [30, 30, 30], "maxMargin": [10, 10, 10], "maxLatency": [50, 50, 60] }, "balance": { "powerLimit": 3000, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [20, 20, 20], + "multiLoadThres": [40, 50, 50], + "maxMargin": [20, 20, 30], "maxLatency": [50, 40, 50] }, "performance": { "powerLimit": 4600, "multiLoadLimit": true, - "multiLoadThres": [30, 40, 40], - "maxMargin": [20, 35, 40], - "maxLatency": [30, 25, 20] + "multiLoadThres": [50, 40, 40], + "maxMargin": [20, 30, 35], + "maxLatency": [35, 30, 30] }, "fast": { "powerLimit": 10000, @@ -554,7 +554,7 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 220, "modes": { "powersave": { "setProperty": [ @@ -572,9 +572,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -586,9 +586,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -602,7 +602,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -615,7 +615,7 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 340, "modes": { "powersave": { "setProperty": [ @@ -633,9 +633,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -647,9 +647,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -663,7 +663,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -676,11 +676,11 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -694,9 +694,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -709,12 +709,12 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -724,11 +724,11 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -755,7 +755,7 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 20}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -785,11 +785,11 @@ "setProperty": [ {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -798,7 +798,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 510, "modes": { "powersave": { "setProperty": [ @@ -831,7 +831,7 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.extra_margin", "value": 15}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, @@ -859,7 +859,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -891,8 +891,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 55}, + {"name": "cpu.extra_margin", "value": 35}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 60}, diff --git a/magisk_suni/configs/dimensity8200.json b/magisk_suni/configs/dimensity8200.json index 932c025..30fb2bc 100644 --- a/magisk_suni/configs/dimensity8200.json +++ b/magisk_suni/configs/dimensity8200.json @@ -50,16 +50,16 @@ "balance": { "powerLimit": 3000, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], + "multiLoadThres": [40, 40, 40], "maxMargin": [10, 15, 20], "maxLatency": [50, 50, 50] }, "performance": { - "powerLimit": 4600, + "powerLimit": 4500, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 40], - "maxLatency": [25, 25, 30] + "multiLoadThres": [35, 40, 45], + "maxMargin": [25, 30, 35], + "maxLatency": [35, 25, 25] }, "fast": { "powerLimit": 10000, @@ -554,11 +554,11 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 220, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -573,8 +573,8 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -587,12 +587,12 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -601,12 +601,12 @@ "fast": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -615,11 +615,11 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 370, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -633,13 +633,13 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -647,13 +647,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -661,13 +661,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -676,11 +676,11 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -695,8 +695,8 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -708,8 +708,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -722,8 +722,8 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1300, "modes": { "powersave": { "setProperty": [ @@ -755,9 +755,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -783,13 +783,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 35}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -798,7 +798,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 530, "modes": { "powersave": { "setProperty": [ @@ -830,8 +830,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.boost", "value": 45}, + {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, @@ -891,11 +891,11 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 55}, + {"name": "cpu.extra_margin", "value": 30}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 60}, + {"name": "mtk_gpu.boost", "value": 50}, {"name": "mtk_gpu.extra_margin", "value": 10}, {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 5500}, diff --git a/magisk_suni/configs/dimensity8300.json b/magisk_suni/configs/dimensity8300.json index 0b6b285..1b85c61 100644 --- a/magisk_suni/configs/dimensity8300.json +++ b/magisk_suni/configs/dimensity8300.json @@ -43,7 +43,7 @@ "powersave": { "powerLimit": 2000, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], + "multiLoadThres": [40, 40, 40], "maxMargin": [10, 10, 10], "maxLatency": [70, 60, 70] }, @@ -51,15 +51,15 @@ "powerLimit": 3000, "multiLoadLimit": true, "multiLoadThres": [40, 40, 40], - "maxMargin": [20, 20, 20], + "maxMargin": [10, 15, 25], "maxLatency": [45, 46, 50] }, "performance": { "powerLimit": 4500, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [30, 35, 40] + "multiLoadThres": [30, 35, 40], + "maxMargin": [30, 25, 30], + "maxLatency": [35, 30, 25] }, "fast": { "powerLimit": 10000, @@ -554,13 +554,13 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 210, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -572,9 +572,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -586,9 +586,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -602,7 +602,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -615,13 +615,13 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 360, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -633,9 +633,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -647,13 +647,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -661,13 +661,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -676,13 +676,13 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -695,11 +695,11 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 10}, + {"name": "mtk_gpu.extra_margin", "value": 0}, {"name": "mtk_gpu.low_latency", "value": false}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} @@ -708,7 +708,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -722,7 +722,7 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -755,9 +755,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -783,9 +783,9 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 35}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -798,7 +798,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 530, "modes": { "powersave": { "setProperty": [ @@ -830,8 +830,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.boost", "value": 45}, + {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, @@ -859,7 +859,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -891,8 +891,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 55}, + {"name": "cpu.extra_margin", "value": 30}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 60}, diff --git a/magisk_suni/configs/dimensity9000.json b/magisk_suni/configs/dimensity9000.json index b7f0e0b..a1ba2d6 100644 --- a/magisk_suni/configs/dimensity9000.json +++ b/magisk_suni/configs/dimensity9000.json @@ -51,15 +51,15 @@ "powerLimit": 3000, "multiLoadLimit": true, "multiLoadThres": [40, 40, 40], - "maxMargin": [10, 15, 20], - "maxLatency": [20, 25, 30] + "maxMargin": [10, 15, 25], + "maxLatency": [40, 40, 45] }, "performance": { - "powerLimit": 4600, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [20, 30, 40], - "maxLatency": [20, 20, 20] + "powerLimit": 4400, + "multiLoadLimit": true, + "multiLoadThres": [30, 35, 40], + "maxMargin": [25, 30, 35], + "maxLatency": [35, 25, 20] }, "fast": { "powerLimit": 10000, @@ -554,11 +554,11 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 230, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -573,8 +573,8 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -588,7 +588,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -602,7 +602,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -615,13 +615,13 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 330, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -633,13 +633,13 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -647,13 +647,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 20}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -661,13 +661,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 20}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -676,13 +676,13 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -695,8 +695,8 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, @@ -708,8 +708,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -722,8 +722,8 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1300, "modes": { "powersave": { "setProperty": [ @@ -755,8 +755,8 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 15}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -783,13 +783,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 30}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 15}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -798,7 +798,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 540, "modes": { "powersave": { "setProperty": [ @@ -831,10 +831,10 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 40}, + {"name": "mtk_gpu.boost", "value": 20}, {"name": "mtk_gpu.extra_margin", "value": 10}, {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 6400}, @@ -859,7 +859,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1300, "modes": { "powersave": { "setProperty": [ @@ -891,11 +891,11 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 55}, + {"name": "cpu.extra_margin", "value": 25}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 60}, + {"name": "mtk_gpu.boost", "value": 50}, {"name": "mtk_gpu.extra_margin", "value": 10}, {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 6400}, diff --git a/magisk_suni/configs/dimensity9200.json b/magisk_suni/configs/dimensity9200.json index db7bdd8..db1ecec 100644 --- a/magisk_suni/configs/dimensity9200.json +++ b/magisk_suni/configs/dimensity9200.json @@ -51,15 +51,15 @@ "powerLimit": 3000, "multiLoadLimit": true, "multiLoadThres": [40, 40, 40], - "maxMargin": [20, 20, 20], - "maxLatency": [40, 40, 50] + "maxMargin": [10, 15, 25], + "maxLatency": [40, 45, 50] }, "performance": { - "powerLimit": 4400, + "powerLimit": 4500, "multiLoadLimit": false, "multiLoadThres": [50, 50, 50], - "maxMargin": [25, 30, 45], - "maxLatency": [30, 25, 20] + "maxMargin": [25, 35, 40], + "maxLatency": [25, 25, 20] }, "fast": { "powerLimit": 10000, @@ -554,13 +554,13 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 220, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -572,9 +572,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 5}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -586,9 +586,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -600,9 +600,9 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -615,13 +615,13 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 360, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -633,9 +633,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -647,13 +647,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 20}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 10}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -661,13 +661,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 0}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -676,17 +676,17 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 500, "modes": { "powersave": { "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -695,12 +695,12 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -708,7 +708,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -722,7 +722,7 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -737,7 +737,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -756,7 +756,7 @@ "balance": { "setProperty": [ {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -769,13 +769,13 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 10}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -783,13 +783,13 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 30}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, + {"name": "mtk_gpu.boost", "value": 15}, {"name": "mtk_gpu.extra_margin", "value": 10}, - {"name": "mtk_gpu.low_latency", "value": false}, + {"name": "mtk_gpu.low_latency", "value": true}, {"name": "devfreq.ddr.min_freq", "value": 3200}, {"name": "devfreq.gpu.min_freq", "value": 0} ], @@ -798,7 +798,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 530, "modes": { "powersave": { "setProperty": [ @@ -831,7 +831,7 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 40}, @@ -859,7 +859,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1300, "modes": { "powersave": { "setProperty": [ @@ -891,8 +891,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 50}, + {"name": "cpu.extra_margin", "value": 25}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 60}, diff --git a/magisk_suni/configs/sdm750.json b/magisk_suni/configs/sdm750.json deleted file mode 100644 index 1827399..0000000 --- a/magisk_suni/configs/sdm750.json +++ /dev/null @@ -1,1009 +0,0 @@ -{ - "name": "Snapgragon750/750G/690", - "author": "chenzyadb", - "configVersion": 11, - "CpuGovernor": { - "enable": true, - "params": { - "maxRateHz": 100, - "minRateHz": 20, - "activeDelay": 2000, - "freqStep": 200 - }, - "policies": [ - { - "coreNum": 6, - "perfRatio": 100, - "lowPowerFreq": 600, - "optimalFreq": 1600, - "modelType": "little-core", - "modelFreq": 1800, - "modelPower": 320 - }, - { - "coreNum": 2, - "perfRatio": 300, - "lowPowerFreq": 700, - "optimalFreq": 1800, - "modelType": "medium-core", - "modelFreq": 2210, - "modelPower": 1600 - } - ], - "modes": { - "powersave": { - "powerLimit": 3000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50], - "maxMargin": [10, 10], - "maxLatency": [40, 40] - }, - "balance": { - "powerLimit": 4000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50], - "maxMargin": [20, 20], - "maxLatency": [30, 30] - }, - "performance": { - "powerLimit": 5000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50], - "maxMargin": [30, 30], - "maxLatency": [20, 20] - }, - "fast": { - "powerLimit": 10000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50], - "maxMargin": [30, 30], - "maxLatency": [10, 10] - } - } - }, - "ThreadSchedOpt": { - "enable": true, - "defaultCpus": [0, 1, 2, 3, 4, 5, 6, 7], - "defaultPriority": 0, - "appTypes": { - "surfaceflinger": { - "pkgName": "*[Ss]urface[Ff]linger*", - "symbol": null - }, - "system_server": { - "pkgName": "system_server", - "symbol": null - }, - "unity_genshin": { - "pkgName": "*(.Yuanshen|.GenshinImpact)|*.ys.*", - "symbol": null - }, - "unity_common": { - "pkgName": null, - "symbol": "Unity*" - }, - "unreal_engine": { - "pkgName": null, - "symbol": "(TaskGraph|RHIThread)*" - }, - "minecraft": { - "pkgName": null, - "symbol": "MINECRAFT*" - }, - "neox_engine": { - "pkgName": "*(.mrzh|.qrzd|.jddsaef|.lglr|.zmq|.ldxy|.s4na|.g93na|.g78na|.onmyoji|.harrypotter|.moba|.party)*", - "symbol": null - }, - "sky_game": { - "pkgName": "(com.netease.sky|com.tgc.sky)*", - "symbol": null - }, - "native_game": { - "pkgName": "*(ea.game.|gameloft.|kiloo.|sybogames.|yodo1.|rockstargames.|corrodinggames.)*", - "symbol": null - }, - "benchmark": { - "pkgName": "*[Bb]ench*|com.futuremark.*|*ioncannon.*|*.probe|*.devcheck", - "symbol": null - } - }, - "schedRules": { - "DEFAULT_RULE": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "*[Rr]ender*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(GLThread|[Vv]sync|JNISurface|hwui|UiThread|ged-|mali-)*|*(.raster|.ui|.anim|.display)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(glide-|Fresco|[Ii]mage|[Ll]auncher)*|*([Bb]lur|[Aa]nim|[Oo]verlay|[Cc]horeographer)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(HWC release|GPU completion|FrameThread|FramePolicy|ScrollPolicy)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -20 - }, - { - "threadName": "(Vlc|[Ii][Jj][Kk])*|*([Aa]udio|[Mm]ixer|[Vv]ideo|[Pp]layer|[Mm]edia|[Cc]odec|[Dd]ecode)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Chrome_|Compositor|CrGpuMain|CrRenderer|Viz|Gecko)*|*[Ww]eb[Vv]iew*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(WeexJsBridge|libweexjsb|V8 DefaultWork|hippy.js|mqt_)*|*[Jj]ava[Ss]cript*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "*([Ww]ork|[Hh]andle|[Pp]ool|[Mm]essage|[Dd]ispatch|[Ee]xecutor|[Bb]ridge|[Cc]amera)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "(Chronos.|CRON.|AsyncTask|Thread-|Timer-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "(HeapTask|HeapTrimmer|Finalizer|CleanupReferenc|GC)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(queued-work-|Jit thread pool|Signal Catcher|Profile Saver|ReferenceQueue)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(Moss|OkHttp|Okio|Rx|rx-)*|*([Nn]etwork|[Cc]ookie|[Ss]cheduler|[Cc]apture)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(BLog|xlog|[Bb]ugly|BUGLY|LogThread)*|*([Cc]rash|[Ll]ogger|[Rr]eport)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - }, - { - "threadName": "(APM-|TVKDL-|Firebase|koom|ADB-JDWP|MemoryInfra)*|*([Ww]atch[Dd]og|[Tt]racker|[Mm]onitor)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - } - ], - "surfaceflinger": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - }, - { - "threadName": "(RenderEngine|OverlayEngine|app)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - } - ], - "system_server": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - }, - { - "threadName": "android.*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - } - ], - "unity_genshin": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "UnityGfx*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(UnityMain|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - } - ], - "unity_common": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "UnityMain*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(UnityGfx|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "FMOD*|*(Media|Audio|Voice)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|ace_worker|Apollo-|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - } - ], - "unreal_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(RenderThread|GameThread|RHIThread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(TaskGraph|CmpJob|Apollo-|glp|glt|NativeThread|SDLThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - } - ], - "minecraft": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Rendering Pool|MINECRAFT)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "Thread-*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "neox_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Thread-)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(IO|Compute|Resource|NativeThread)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - } - ], - "sky_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Program Thread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(JobThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - } - ], - "native_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Thread-|GameThread|NativeThread|MainThread|RenderThread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|FMOD)*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "benchmark": [] - } - }, - "MtkGpuGovernor": { - "enable": false - }, - "DevfreqTuner": { - "enable": true - }, - "Trigger": { - "enable": true, - "scenes": { - "init": { - "setProperty": [], - "writeFile": [ - {"path": "/dev/cpuset/restricted/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/system-background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/foreground/cpus", "text": "0-7"}, - {"path": "/dev/cpuset/top-app/cpus", "text": "0-7"} - ] - }, - "screenOn": { - "setProperty": [], - "writeFile": [] - }, - "screenOff": { - "setProperty": [], - "writeFile": [] - }, - "powersaveMode": { - "setProperty": [], - "writeFile": [] - }, - "balanceMode": { - "setProperty": [], - "writeFile": [] - }, - "performanceMode": { - "setProperty": [], - "writeFile": [] - }, - "fastMode": { - "setProperty": [], - "writeFile": [] - } - }, - "hints": { - "none": { - "durationTime": 0, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "tap": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "swipe": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "gesture": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "heavyload": { - "durationTime": 1000, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "jank": { - "durationTime": 50, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "bigJank": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - } - } - }, - "Thermal": { - "enable": true, - "params": { - "interval": 500, - "actionDelay": 1000, - "matchRule": "*(soc|cluster|cpu|tsens_tz_sensor)*" - }, - "modes": { - "powersave": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "balance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "performance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 850} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 95, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "fast": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 850} - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/magisk_suni/configs/sdm765.json b/magisk_suni/configs/sdm765.json deleted file mode 100644 index 23bca18..0000000 --- a/magisk_suni/configs/sdm765.json +++ /dev/null @@ -1,1018 +0,0 @@ -{ - "name": "Snapgragon765/765G/768G", - "author": "chenzyadb", - "configVersion": 11, - "CpuGovernor": { - "enable": true, - "params": { - "maxRateHz": 100, - "minRateHz": 20, - "activeDelay": 2000, - "freqStep": 200 - }, - "policies": [ - { - "coreNum": 6, - "perfRatio": 100, - "lowPowerFreq": 600, - "optimalFreq": 1600, - "modelType": "little-core", - "modelFreq": 1800, - "modelPower": 300 - }, - { - "coreNum": 1, - "perfRatio": 260, - "lowPowerFreq": 700, - "optimalFreq": 1800, - "modelType": "medium-core", - "modelFreq": 2200, - "modelPower": 1100 - }, - { - "coreNum": 1, - "perfRatio": 260, - "lowPowerFreq": 700, - "optimalFreq": 1800, - "modelType": "medium-core", - "modelFreq": 2400, - "modelPower": 1400 - } - ], - "modes": { - "powersave": { - "powerLimit": 3000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [10, 10, 10], - "maxLatency": [40, 40, 40] - }, - "balance": { - "powerLimit": 4000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [20, 20, 20], - "maxLatency": [30, 30, 30] - }, - "performance": { - "powerLimit": 5000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [20, 20, 20] - }, - "fast": { - "powerLimit": 10000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [10, 10, 10] - } - } - }, - "ThreadSchedOpt": { - "enable": true, - "defaultCpus": [0, 1, 2, 3, 4, 5, 6, 7], - "defaultPriority": 0, - "appTypes": { - "surfaceflinger": { - "pkgName": "*[Ss]urface[Ff]linger*", - "symbol": null - }, - "system_server": { - "pkgName": "system_server", - "symbol": null - }, - "unity_genshin": { - "pkgName": "*(.Yuanshen|.GenshinImpact)|*.ys.*", - "symbol": null - }, - "unity_common": { - "pkgName": null, - "symbol": "Unity*" - }, - "unreal_engine": { - "pkgName": null, - "symbol": "(TaskGraph|RHIThread)*" - }, - "minecraft": { - "pkgName": null, - "symbol": "MINECRAFT*" - }, - "neox_engine": { - "pkgName": "*(.mrzh|.qrzd|.jddsaef|.lglr|.zmq|.ldxy|.s4na|.g93na|.g78na|.onmyoji|.harrypotter|.moba|.party)*", - "symbol": null - }, - "sky_game": { - "pkgName": "(com.netease.sky|com.tgc.sky)*", - "symbol": null - }, - "native_game": { - "pkgName": "*(ea.game.|gameloft.|kiloo.|sybogames.|yodo1.|rockstargames.|corrodinggames.)*", - "symbol": null - }, - "benchmark": { - "pkgName": "*[Bb]ench*|com.futuremark.*|*ioncannon.*|*.probe|*.devcheck", - "symbol": null - } - }, - "schedRules": { - "DEFAULT_RULE": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "*[Rr]ender*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(GLThread|[Vv]sync|JNISurface|hwui|UiThread|ged-|mali-)*|*(.raster|.ui|.anim|.display)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(glide-|Fresco|[Ii]mage|[Ll]auncher)*|*([Bb]lur|[Aa]nim|[Oo]verlay|[Cc]horeographer)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(HWC release|GPU completion|FrameThread|FramePolicy|ScrollPolicy)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -20 - }, - { - "threadName": "(Vlc|[Ii][Jj][Kk])*|*([Aa]udio|[Mm]ixer|[Vv]ideo|[Pp]layer|[Mm]edia|[Cc]odec|[Dd]ecode)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Chrome_|Compositor|CrGpuMain|CrRenderer|Viz|Gecko)*|*[Ww]eb[Vv]iew*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -12 - }, - { - "threadName": "(WeexJsBridge|libweexjsb|V8 DefaultWork|hippy.js|mqt_)*|*[Jj]ava[Ss]cript*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "*([Ww]ork|[Hh]andle|[Pp]ool|[Mm]essage|[Dd]ispatch|[Ee]xecutor|[Bb]ridge|[Cc]amera)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "(Chronos.|CRON.|AsyncTask|Thread-|Timer-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -8 - }, - { - "threadName": "(HeapTask|HeapTrimmer|Finalizer|CleanupReferenc|GC)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(queued-work-|Jit thread pool|Signal Catcher|Profile Saver|ReferenceQueue)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(Moss|OkHttp|Okio|Rx|rx-)*|*([Nn]etwork|[Cc]ookie|[Ss]cheduler|[Cc]apture)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(BLog|xlog|[Bb]ugly|BUGLY|LogThread)*|*([Cc]rash|[Ll]ogger|[Rr]eport)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - }, - { - "threadName": "(APM-|TVKDL-|Firebase|koom|ADB-JDWP|MemoryInfra)*|*([Ww]atch[Dd]og|[Tt]racker|[Mm]onitor)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - } - ], - "surfaceflinger": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - }, - { - "threadName": "(RenderEngine|OverlayEngine|app)*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - } - ], - "system_server": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - }, - { - "threadName": "android.*", - "heavyCpus": null, - "commonCpus": [6, 7], - "priority": -20 - } - ], - "unity_genshin": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "UnityGfx*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(UnityMain|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - } - ], - "unity_common": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - }, - { - "threadName": "UnityMain*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "(UnityGfx|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": [6], - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -20 - }, - { - "threadName": "FMOD*|*(Media|Audio|Voice)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|ace_worker|Apollo-|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -12 - } - ], - "unreal_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(RenderThread|GameThread|RHIThread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(TaskGraph|CmpJob|Apollo-|glp|glt|NativeThread|SDLThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5], - "priority": -16 - } - ], - "minecraft": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Rendering Pool|MINECRAFT)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "Thread-*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "neox_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Thread-)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(IO|Compute|Resource|NativeThread)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - } - ], - "sky_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Program Thread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(JobThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - } - ], - "native_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Thread-|GameThread|NativeThread|MainThread|RenderThread)*", - "heavyCpus": [7], - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|FMOD)*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "benchmark": [] - } - }, - "MtkGpuGovernor": { - "enable": false - }, - "DevfreqTuner": { - "enable": true - }, - "Trigger": { - "enable": true, - "scenes": { - "init": { - "setProperty": [], - "writeFile": [ - {"path": "/dev/cpuset/restricted/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/system-background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/foreground/cpus", "text": "0-7"}, - {"path": "/dev/cpuset/top-app/cpus", "text": "0-7"} - ] - }, - "screenOn": { - "setProperty": [], - "writeFile": [] - }, - "screenOff": { - "setProperty": [], - "writeFile": [] - }, - "powersaveMode": { - "setProperty": [], - "writeFile": [] - }, - "balanceMode": { - "setProperty": [], - "writeFile": [] - }, - "performanceMode": { - "setProperty": [], - "writeFile": [] - }, - "fastMode": { - "setProperty": [], - "writeFile": [] - } - }, - "hints": { - "none": { - "durationTime": 0, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "tap": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "swipe": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "gesture": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "heavyload": { - "durationTime": 1000, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "jank": { - "durationTime": 50, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "bigJank": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - } - } - }, - "Thermal": { - "enable": true, - "params": { - "interval": 500, - "actionDelay": 1000, - "matchRule": "*(soc|cluster|cpu|tsens_tz_sensor)*" - }, - "modes": { - "powersave": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "balance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "performance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 850} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 95, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "fast": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 850} - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/magisk_suni/configs/sdm778.json b/magisk_suni/configs/sdm778.json deleted file mode 100644 index 7f1f814..0000000 --- a/magisk_suni/configs/sdm778.json +++ /dev/null @@ -1,1018 +0,0 @@ -{ - "name": "Snapdragon778/778G/778G+/782G", - "author": "chenzyadb", - "configVersion": 11, - "CpuGovernor": { - "enable": true, - "params": { - "maxRateHz": 100, - "minRateHz": 20, - "activeDelay": 2000, - "freqStep": 200 - }, - "policies": [ - { - "coreNum": 4, - "perfRatio": 100, - "lowPowerFreq": 600, - "optimalFreq": 1600, - "modelType": "little-core", - "modelFreq": 1900, - "modelPower": 300 - }, - { - "coreNum": 3, - "perfRatio": 320, - "lowPowerFreq": 700, - "optimalFreq": 1900, - "modelType": "medium-core", - "modelFreq": 2400, - "modelPower": 1600 - }, - { - "coreNum": 1, - "perfRatio": 320, - "lowPowerFreq": 800, - "optimalFreq": 1900, - "modelType": "medium-core", - "modelFreq": 2400, - "modelPower": 1600 - } - ], - "modes": { - "powersave": { - "powerLimit": 3000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [10, 10, 10], - "maxLatency": [40, 40, 40] - }, - "balance": { - "powerLimit": 4000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [20, 20, 20], - "maxLatency": [30, 30, 30] - }, - "performance": { - "powerLimit": 5000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [20, 20, 20] - }, - "fast": { - "powerLimit": 10000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [10, 10, 10] - } - } - }, - "ThreadSchedOpt": { - "enable": true, - "defaultCpus": [0, 1, 2, 3, 4, 5, 6, 7], - "defaultPriority": 0, - "appTypes": { - "surfaceflinger": { - "pkgName": "*[Ss]urface[Ff]linger*", - "symbol": null - }, - "system_server": { - "pkgName": "system_server", - "symbol": null - }, - "unity_genshin": { - "pkgName": "*(.Yuanshen|.GenshinImpact)|*.ys.*", - "symbol": null - }, - "unity_common": { - "pkgName": null, - "symbol": "Unity*" - }, - "unreal_engine": { - "pkgName": null, - "symbol": "(TaskGraph|RHIThread)*" - }, - "minecraft": { - "pkgName": null, - "symbol": "MINECRAFT*" - }, - "neox_engine": { - "pkgName": "*(.mrzh|.qrzd|.jddsaef|.lglr|.zmq|.ldxy|.s4na|.g93na|.g78na|.onmyoji|.harrypotter|.moba|.party)*", - "symbol": null - }, - "sky_game": { - "pkgName": "(com.netease.sky|com.tgc.sky)*", - "symbol": null - }, - "native_game": { - "pkgName": "*(ea.game.|gameloft.|kiloo.|sybogames.|yodo1.|rockstargames.|corrodinggames.)*", - "symbol": null - }, - "benchmark": { - "pkgName": "*[Bb]ench*|com.futuremark.*|*ioncannon.*|*.probe|*.devcheck", - "symbol": null - } - }, - "schedRules": { - "DEFAULT_RULE": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "*[Rr]ender*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|[Vv]sync|JNISurface|hwui|UiThread|ged-|mali-)*|*(.raster|.ui|.anim|.display)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(glide-|Fresco|[Ii]mage|[Ll]auncher)*|*([Bb]lur|[Aa]nim|[Oo]verlay|[Cc]horeographer)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(HWC release|GPU completion|FrameThread|FramePolicy|ScrollPolicy)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -20 - }, - { - "threadName": "(Vlc|[Ii][Jj][Kk])*|*([Aa]udio|[Mm]ixer|[Vv]ideo|[Pp]layer|[Mm]edia|[Cc]odec|[Dd]ecode)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Chrome_|Compositor|CrGpuMain|CrRenderer|Viz|Gecko)*|*[Ww]eb[Vv]iew*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(WeexJsBridge|libweexjsb|V8 DefaultWork|hippy.js|mqt_)*|*[Jj]ava[Ss]cript*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -8 - }, - { - "threadName": "*([Ww]ork|[Hh]andle|[Pp]ool|[Mm]essage|[Dd]ispatch|[Ee]xecutor|[Bb]ridge|[Cc]amera)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "(Chronos.|CRON.|AsyncTask|Thread-|Timer-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "(HeapTask|HeapTrimmer|Finalizer|CleanupReferenc|GC)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(queued-work-|Jit thread pool|Signal Catcher|Profile Saver|ReferenceQueue)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(Moss|OkHttp|Okio|Rx|rx-)*|*([Nn]etwork|[Cc]ookie|[Ss]cheduler|[Cc]apture)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(BLog|xlog|[Bb]ugly|BUGLY|LogThread)*|*([Cc]rash|[Ll]ogger|[Rr]eport)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - }, - { - "threadName": "(APM-|TVKDL-|Firebase|koom|ADB-JDWP|MemoryInfra)*|*([Ww]atch[Dd]og|[Tt]racker|[Mm]onitor)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - } - ], - "surfaceflinger": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(RenderEngine|OverlayEngine|app)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - } - ], - "system_server": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "android.*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - } - ], - "unity_genshin": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -12 - }, - { - "threadName": "UnityGfx*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(UnityMain|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "unity_common": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -12 - }, - { - "threadName": "UnityMain*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(UnityGfx|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|ace_worker|Apollo-|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "unreal_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(RenderThread|GameThread|RHIThread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(TaskGraph|CmpJob|Apollo-|glp|glt|NativeThread|SDLThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "minecraft": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Rendering Pool|MINECRAFT)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "Thread-*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "neox_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Thread-)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(IO|Compute|Resource|NativeThread)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "sky_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Program Thread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(JobThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "native_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Thread-|GameThread|NativeThread|MainThread|RenderThread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|FMOD)*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -16 - } - ], - "benchmark": [] - } - }, - "MtkGpuGovernor": { - "enable": false - }, - "DevfreqTuner": { - "enable": true - }, - "Trigger": { - "enable": true, - "scenes": { - "init": { - "setProperty": [], - "writeFile": [ - {"path": "/dev/cpuset/restricted/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/system-background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/foreground/cpus", "text": "0-7"}, - {"path": "/dev/cpuset/top-app/cpus", "text": "0-7"} - ] - }, - "screenOn": { - "setProperty": [], - "writeFile": [] - }, - "screenOff": { - "setProperty": [], - "writeFile": [] - }, - "powersaveMode": { - "setProperty": [], - "writeFile": [] - }, - "balanceMode": { - "setProperty": [], - "writeFile": [] - }, - "performanceMode": { - "setProperty": [], - "writeFile": [] - }, - "fastMode": { - "setProperty": [], - "writeFile": [] - } - }, - "hints": { - "none": { - "durationTime": 0, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "tap": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "swipe": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "gesture": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "heavyload": { - "durationTime": 1000, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "jank": { - "durationTime": 50, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "bigJank": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - } - } - }, - "Thermal": { - "enable": true, - "params": { - "interval": 500, - "actionDelay": 1000, - "matchRule": "*(soc|cluster|cpu|tsens_tz_sensor)*" - }, - "modes": { - "powersave": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "balance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "performance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 1000} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 800} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 95, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "fast": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 1000} - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/magisk_suni/configs/sdm780.json b/magisk_suni/configs/sdm780.json deleted file mode 100644 index ea17913..0000000 --- a/magisk_suni/configs/sdm780.json +++ /dev/null @@ -1,1018 +0,0 @@ -{ - "name": "Snapdragon780/780G", - "author": "chenzyadb", - "configVersion": 11, - "CpuGovernor": { - "enable": true, - "params": { - "maxRateHz": 100, - "minRateHz": 20, - "activeDelay": 2000, - "freqStep": 200 - }, - "policies": [ - { - "coreNum": 4, - "perfRatio": 100, - "lowPowerFreq": 600, - "optimalFreq": 1600, - "modelType": "little-core", - "modelFreq": 1900, - "modelPower": 320 - }, - { - "coreNum": 3, - "perfRatio": 320, - "lowPowerFreq": 700, - "optimalFreq": 1900, - "modelType": "medium-core", - "modelFreq": 2200, - "modelPower": 1600 - }, - { - "coreNum": 1, - "perfRatio": 320, - "lowPowerFreq": 800, - "optimalFreq": 2000, - "modelType": "medium-core", - "modelFreq": 2400, - "modelPower": 1890 - } - ], - "modes": { - "powersave": { - "powerLimit": 3000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [10, 10, 10], - "maxLatency": [40, 40, 40] - }, - "balance": { - "powerLimit": 4000, - "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [20, 20, 20], - "maxLatency": [30, 30, 30] - }, - "performance": { - "powerLimit": 5000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [20, 20, 20] - }, - "fast": { - "powerLimit": 10000, - "multiLoadLimit": false, - "multiLoadThres": [50, 50, 50], - "maxMargin": [30, 30, 30], - "maxLatency": [10, 10, 10] - } - } - }, - "ThreadSchedOpt": { - "enable": true, - "defaultCpus": [0, 1, 2, 3, 4, 5, 6, 7], - "defaultPriority": 0, - "appTypes": { - "surfaceflinger": { - "pkgName": "*[Ss]urface[Ff]linger*", - "symbol": null - }, - "system_server": { - "pkgName": "system_server", - "symbol": null - }, - "unity_genshin": { - "pkgName": "*(.Yuanshen|.GenshinImpact)|*.ys.*", - "symbol": null - }, - "unity_common": { - "pkgName": null, - "symbol": "Unity*" - }, - "unreal_engine": { - "pkgName": null, - "symbol": "(TaskGraph|RHIThread)*" - }, - "minecraft": { - "pkgName": null, - "symbol": "MINECRAFT*" - }, - "neox_engine": { - "pkgName": "*(.mrzh|.qrzd|.jddsaef|.lglr|.zmq|.ldxy|.s4na|.g93na|.g78na|.onmyoji|.harrypotter|.moba|.party)*", - "symbol": null - }, - "sky_game": { - "pkgName": "(com.netease.sky|com.tgc.sky)*", - "symbol": null - }, - "native_game": { - "pkgName": "*(ea.game.|gameloft.|kiloo.|sybogames.|yodo1.|rockstargames.|corrodinggames.)*", - "symbol": null - }, - "benchmark": { - "pkgName": "*[Bb]ench*|com.futuremark.*|*ioncannon.*|*.probe|*.devcheck", - "symbol": null - } - }, - "schedRules": { - "DEFAULT_RULE": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "*[Rr]ender*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|[Vv]sync|JNISurface|hwui|UiThread|ged-|mali-)*|*(.raster|.ui|.anim|.display)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(glide-|Fresco|[Ii]mage|[Ll]auncher)*|*([Bb]lur|[Aa]nim|[Oo]verlay|[Cc]horeographer)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(HWC release|GPU completion|FrameThread|FramePolicy|ScrollPolicy)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -20 - }, - { - "threadName": "(Vlc|[Ii][Jj][Kk])*|*([Aa]udio|[Mm]ixer|[Vv]ideo|[Pp]layer|[Mm]edia|[Cc]odec|[Dd]ecode)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Chrome_|Compositor|CrGpuMain|CrRenderer|Viz|Gecko)*|*[Ww]eb[Vv]iew*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(WeexJsBridge|libweexjsb|V8 DefaultWork|hippy.js|mqt_)*|*[Jj]ava[Ss]cript*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -8 - }, - { - "threadName": "*([Ww]ork|[Hh]andle|[Pp]ool|[Mm]essage|[Dd]ispatch|[Ee]xecutor|[Bb]ridge|[Cc]amera)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "(Chronos.|CRON.|AsyncTask|Thread-|Timer-)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "(HeapTask|HeapTrimmer|Finalizer|CleanupReferenc|GC)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(queued-work-|Jit thread pool|Signal Catcher|Profile Saver|ReferenceQueue)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(Moss|OkHttp|Okio|Rx|rx-)*|*([Nn]etwork|[Cc]ookie|[Ss]cheduler|[Cc]apture)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -8 - }, - { - "threadName": "(BLog|xlog|[Bb]ugly|BUGLY|LogThread)*|*([Cc]rash|[Ll]ogger|[Rr]eport)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - }, - { - "threadName": "(APM-|TVKDL-|Firebase|koom|ADB-JDWP|MemoryInfra)*|*([Ww]atch[Dd]og|[Tt]racker|[Mm]onitor)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": 0 - } - ], - "surfaceflinger": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(RenderEngine|OverlayEngine|app)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - } - ], - "system_server": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "android.*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - } - ], - "unity_genshin": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -12 - }, - { - "threadName": "UnityGfx*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(UnityMain|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "unity_common": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3], - "priority": -12 - }, - { - "threadName": "UnityMain*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(UnityGfx|UnityMulti|UnityPreload|UnityChoreograp|UnityCCeograp)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - }, - { - "threadName": "(Worker Thread|Job.Worker|NativeThread|IL2CPP|ace_worker|Apollo-|CoreThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "unreal_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(RenderThread|GameThread|RHIThread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(TaskGraph|CmpJob|Apollo-|glp|glt|NativeThread|SDLThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "minecraft": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Rendering Pool|MINECRAFT)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "Thread-*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -8 - }, - { - "threadName": "FMOD*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -16 - } - ], - "neox_engine": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Thread-)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(IO|Compute|Resource|NativeThread)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "sky_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [0, 1, 2, 3, 4, 5, 6], - "priority": -12 - }, - { - "threadName": "(MainThread|Program Thread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(JobThread|Thread-)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - } - ], - "native_game": [ - { - "threadName": "MAIN_THREAD", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -12 - }, - { - "threadName": "(Thread-|GameThread|NativeThread|MainThread|RenderThread)*", - "heavyCpus": [7], - "commonCpus": [4, 5, 6], - "priority": -20 - }, - { - "threadName": "(GLThread|FMOD)*|*(Audio|Media)*", - "heavyCpus": null, - "commonCpus": [4, 5, 6], - "priority": -16 - } - ], - "benchmark": [] - } - }, - "MtkGpuGovernor": { - "enable": false - }, - "DevfreqTuner": { - "enable": true - }, - "Trigger": { - "enable": true, - "scenes": { - "init": { - "setProperty": [], - "writeFile": [ - {"path": "/dev/cpuset/restricted/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/system-background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/background/cpus", "text": "0-3"}, - {"path": "/dev/cpuset/foreground/cpus", "text": "0-7"}, - {"path": "/dev/cpuset/top-app/cpus", "text": "0-7"} - ] - }, - "screenOn": { - "setProperty": [], - "writeFile": [] - }, - "screenOff": { - "setProperty": [], - "writeFile": [] - }, - "powersaveMode": { - "setProperty": [], - "writeFile": [] - }, - "balanceMode": { - "setProperty": [], - "writeFile": [] - }, - "performanceMode": { - "setProperty": [], - "writeFile": [] - }, - "fastMode": { - "setProperty": [], - "writeFile": [] - } - }, - "hints": { - "none": { - "durationTime": 0, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "tap": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "swipe": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 0}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "gesture": { - "durationTime": 200, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "heavyload": { - "durationTime": 1000, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": false}, - {"name": "devfreq.ddr.min_freq", "value": 3200}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "jank": { - "durationTime": 50, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - }, - "bigJank": { - "durationTime": 100, - "modes": { - "powersave": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "balance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "performance": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - }, - "fast": { - "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": true}, - {"name": "mtk_gpu.min_freq", "value": 0}, - {"name": "mtk_gpu.boost", "value": 0}, - {"name": "mtk_gpu.extra_margin", "value": 0}, - {"name": "mtk_gpu.low_latency", "value": true}, - {"name": "devfreq.ddr.min_freq", "value": 4800}, - {"name": "devfreq.gpu.min_freq", "value": 0} - ], - "writeFile": [] - } - } - } - } - }, - "Thermal": { - "enable": true, - "params": { - "interval": 500, - "actionDelay": 1000, - "matchRule": "*(soc|cluster|cpu|tsens_tz_sensor)*" - }, - "modes": { - "powersave": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "balance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "performance": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 80, - "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 90, - "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - }, - { - "temp": 95, - "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - }, - "fast": { - "actions": [ - { - "temp": -1, - "setProperty": [ - {"name": "cpu.max_power", "value": 10000}, - {"name": "mtk_gpu.max_freq", "value": 10000}, - {"name": "devfreq.ddr.max_freq", "value": 10000}, - {"name": "devfreq.gpu.max_freq", "value": 600} - ] - } - ] - } - } - } -} \ No newline at end of file diff --git a/magisk_suni/configs/sdm865.json b/magisk_suni/configs/sdm865.json index c448f99..37820ca 100644 --- a/magisk_suni/configs/sdm865.json +++ b/magisk_suni/configs/sdm865.json @@ -50,16 +50,16 @@ "balance": { "powerLimit": 3000, "multiLoadLimit": true, - "multiLoadThres": [40, 40, 50], - "maxMargin": [10, 15, 20], + "multiLoadThres": [40, 40, 40], + "maxMargin": [10, 20, 30], "maxLatency": [50, 50, 40] }, "performance": { "powerLimit": 4600, "multiLoadLimit": true, - "multiLoadThres": [50, 50, 50], - "maxMargin": [25, 35, 40], - "maxLatency": [30, 25, 20] + "multiLoadThres": [35, 40, 40], + "maxMargin": [30, 35, 40], + "maxLatency": [30, 25, 30] }, "fast": { "powerLimit": 10000, @@ -523,11 +523,11 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 210, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 0}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -541,9 +541,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -555,9 +555,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -570,8 +570,8 @@ "fast": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -584,7 +584,7 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 360, "modes": { "powersave": { "setProperty": [ @@ -602,9 +602,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -616,9 +616,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -630,9 +630,9 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -645,13 +645,13 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 490, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -663,9 +663,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -677,7 +677,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -691,7 +691,7 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -706,12 +706,12 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1100, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 5}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -724,8 +724,8 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -738,9 +738,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 25}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -752,9 +752,9 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 30}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -767,7 +767,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 530, "modes": { "powersave": { "setProperty": [ @@ -799,8 +799,8 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.boost", "value": 45}, + {"name": "cpu.extra_margin", "value": 15}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -828,7 +828,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -860,7 +860,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, + {"name": "cpu.boost", "value": 55}, {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, diff --git a/magisk_suni/configs/sdm888.json b/magisk_suni/configs/sdm888.json index 40ac44a..8f977c2 100644 --- a/magisk_suni/configs/sdm888.json +++ b/magisk_suni/configs/sdm888.json @@ -55,11 +55,11 @@ "maxLatency": [50, 40, 50] }, "performance": { - "powerLimit": 4700, + "powerLimit": 4600, "multiLoadLimit": true, "multiLoadThres": [50, 50, 50], - "maxMargin": [25, 30, 45], - "maxLatency": [30, 30, 20] + "maxMargin": [25, 35, 40], + "maxLatency": [35, 30, 30] }, "fast": { "powerLimit": 10000, @@ -523,12 +523,12 @@ } }, "tap": { - "durationTime": 100, + "durationTime": 260, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.boost", "value": 10}, + {"name": "cpu.extra_margin", "value": 5}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -541,9 +541,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 15}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -556,8 +556,8 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 20}, - {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.extra_margin", "value": 10}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -571,7 +571,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 0}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -584,7 +584,7 @@ } }, "swipe": { - "durationTime": 200, + "durationTime": 340, "modes": { "powersave": { "setProperty": [ @@ -602,9 +602,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -616,9 +616,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 20}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -632,7 +632,7 @@ "setProperty": [ {"name": "cpu.boost", "value": 0}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -645,11 +645,11 @@ } }, "gesture": { - "durationTime": 200, + "durationTime": 480, "modes": { "powersave": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -663,9 +663,9 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 10}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -677,7 +677,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 20}, + {"name": "cpu.boost", "value": 10}, {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -706,7 +706,7 @@ } }, "heavyload": { - "durationTime": 1000, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -724,7 +724,7 @@ }, "balance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 15}, {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": false}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -738,9 +738,9 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, - {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.boost", "value": 20}, + {"name": "cpu.extra_margin", "value": 15}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -752,9 +752,9 @@ }, "fast": { "setProperty": [ - {"name": "cpu.boost", "value": 0}, + {"name": "cpu.boost", "value": 35}, {"name": "cpu.extra_margin", "value": 20}, - {"name": "cpu.low_latency", "value": false}, + {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, {"name": "mtk_gpu.extra_margin", "value": 0}, @@ -767,7 +767,7 @@ } }, "jank": { - "durationTime": 50, + "durationTime": 500, "modes": { "powersave": { "setProperty": [ @@ -800,7 +800,7 @@ "performance": { "setProperty": [ {"name": "cpu.boost", "value": 40}, - {"name": "cpu.extra_margin", "value": 0}, + {"name": "cpu.extra_margin", "value": 10}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, {"name": "mtk_gpu.boost", "value": 0}, @@ -828,7 +828,7 @@ } }, "bigJank": { - "durationTime": 100, + "durationTime": 1200, "modes": { "powersave": { "setProperty": [ @@ -860,7 +860,7 @@ }, "performance": { "setProperty": [ - {"name": "cpu.boost", "value": 40}, + {"name": "cpu.boost", "value": 55}, {"name": "cpu.extra_margin", "value": 20}, {"name": "cpu.low_latency", "value": true}, {"name": "mtk_gpu.min_freq", "value": 0}, @@ -932,27 +932,27 @@ "balance": { "actions": [ { - "temp": -1, + "temp": 70, "setProperty": [ - {"name": "cpu.max_power", "value": 8000}, + {"name": "cpu.max_power", "value": 7600}, {"name": "mtk_gpu.max_freq", "value": 10000}, {"name": "devfreq.ddr.max_freq", "value": 10000}, {"name": "devfreq.gpu.max_freq", "value": 740} ] }, { - "temp": 80, + "temp": 75, "setProperty": [ - {"name": "cpu.max_power", "value": 5000}, + {"name": "cpu.max_power", "value": 6500}, {"name": "mtk_gpu.max_freq", "value": 10000}, {"name": "devfreq.ddr.max_freq", "value": 10000}, {"name": "devfreq.gpu.max_freq", "value": 610} ] }, { - "temp": 90, + "temp": 85, "setProperty": [ - {"name": "cpu.max_power", "value": 2000}, + {"name": "cpu.max_power", "value": 4500}, {"name": "mtk_gpu.max_freq", "value": 10000}, {"name": "devfreq.ddr.max_freq", "value": 10000}, {"name": "devfreq.gpu.max_freq", "value": 540} @@ -972,7 +972,7 @@ ] }, { - "temp": 80, + "temp": 85, "setProperty": [ {"name": "cpu.max_power", "value": 8000}, {"name": "mtk_gpu.max_freq", "value": 10000}, diff --git a/magisk_suni/powercfg/powercfg.json b/magisk_suni/powercfg/powercfg.json index 554aef5..8ed5184 100644 --- a/magisk_suni/powercfg/powercfg.json +++ b/magisk_suni/powercfg/powercfg.json @@ -1,8 +1,8 @@ { "name": "Tritium", "author": "Suni", - "version": "V5.0.0_Beta_1", - "versionCode": 241126, + "version": "V5.0.0_Beta_2", + "versionCode": 241128, "features": { "strict": true, "pedestal": true