1 adb root 2 adb wait-for-device 3 adb shell stop thermal-engine 4 adb shell stop perfd 5 6 # 51000 102000 204000 306000 408000 510000 612000 714000 816000 918000 7 # 1020000 1122000 1224000 1326000 1428000 1530000 1632000 1734000 1836000 1912500 8 S=1326000 9 echo "set cpu to $S hz"; 10 adb shell "echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" 11 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" 12 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" 13 14 #01: core 76 MHz emc 408 MHz 15 #02: core 153 MHz emc 665 MHz 16 #03: core 230 MHz emc 800 MHz * 17 #04: core 307 MHz emc 1065 MHz 18 #05: core 384 MHz emc 1331 MHz 19 #06: core 460 MHz emc 1600 MHz 20 #07: core 537 MHz emc 1600 MHz 21 #08: core 614 MHz emc 1600 MHz 22 #09: core 691 MHz emc 1600 MHz 23 #0a: core 768 MHz emc 1600 MHz 24 #0b: core 844 MHz emc 1600 MHz 25 #0c: core 921 MHz emc 1600 MHz 26 #0d: core 998 MHz emc 1600 MHz 27 #AC: core 230 MHz emc 800 MHz a A d D 28 29 echo "set gpu to core 307 MHz emc 1065 MHz" 30 # it will lock gpu until you touch a screen 31 adb shell "echo 04 > /sys/devices/57000000.gpu/pstate" 32