[Galaxy S II Q&A, Help & Troubleshooting] rav4kar:
-rwxr-xr-x 1 root root 1340 Sep 14 10:51 Slulzactiveq

/system/etc # cat Slulzactiveq

cat Slulzactiveq

#!/system/bin/sh

##Battery friendly tweaks

su

id

echo "lulzactiveq" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

chmod +w /sys/devices/system/cpu/cpufreq/lulzactiveq/*

echo "90" > /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load

echo "40" > /sys/devices/system/cpu/cpufreq/lulzactiveq/dec_cpu_load

echo "1" > /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_up_step

echo "2" > /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_down_step

echo "40000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/up_sample_time

echo "20000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/down_sample_time

echo "14" > /sys/devices/system/cpu/cpufreq/lulzactiveq/screen_off_min_step

echo "0" > /sys/devices/system/cpu/cpufreq/lulzactiveq/ignore_nice_load

## Lulzactiveq - Hotplug Queue parameters

echo "50000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_sampling_rate

echo "13" > /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_up_rate

echo "13" > /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_down_rate

echo "600000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_1_1

echo "400000" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_0

echo "350" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_1_1

echo "300" > /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_2_0/system/etc #

/system/etc # id

id

uid=0(root) gid=0(root)

/system/etc # . ./Slulzactiveq

. ./Slulzactiveq

: not found/Slulzactiveq: line 3:

: not found/Slulzactiveq: line 4: su

: not found/Slulzactiveq: line 5: id

: not found/Slulzactiveq: line 6:

: nonexistent directoryq: line 7: can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

: not found/Slulzactiveq: line 8:

: No such file or directorycpu/cpufreq/lulzactiveq/*

: not found/Slulzactiveq: line 10:

: nonexistent directoryq: line 11: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load

: nonexistent directoryq: line 12: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/dec_cpu_load

: nonexistent directoryq: line 13: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_up_step

: nonexistent directoryq: line 14: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_down_step

: nonexistent directoryq: line 15: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/up_sample_time

: nonexistent directoryq: line 16: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/down_sample_time

: nonexistent directoryq: line 17: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/screen_off_min_step

: nonexistent directoryq: line 18: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/ignore_nice_load

: nonexistent directoryq: line 20: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_sampling_rate

: nonexistent directoryq: line 21: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_up_rate

: nonexistent directoryq: line 22: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_down_rate

: nonexistent directoryq: line 23: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_1_1

: nonexistent directoryq: line 24: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_0

: nonexistent directoryq: line 25: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_1_1

/system/etc # /sbin/busybox sh ./Slulzactiveq

/sbin/busybox sh ./Slulzactiveq

: not foundveq: line 3:

: not foundveq: line 4: su

: not foundveq: line 5: id

: not foundveq: line 6:

: nonexistent directory can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

: not foundveq: line 8:

: No such file or directorycpu/cpufreq/lulzactiveq/*

: not foundveq: line 10:

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/dec_cpu_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_up_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_down_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/up_sample_time

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/down_sample_time

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/screen_off_min_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/ignore_nice_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_sampling_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_up_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_down_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_1_1

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_0

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_1_1

/system/etc # sh ./Slulzactiveq

sh ./Slulzactiveq

: not foundveq: line 3:

: not foundveq: line 4: su

: not foundveq: line 5: id

: not foundveq: line 6:

: nonexistent directory can't create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

: not foundveq: line 8:

: No such file or directorycpu/cpufreq/lulzactiveq/*

: not foundveq: line 10:

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/inc_cpu_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/dec_cpu_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_up_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/pump_down_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/up_sample_time

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/down_sample_time

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/screen_off_min_step

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/ignore_nice_load

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_sampling_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_up_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/cpu_down_rate

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_1_1

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_freq_2_0

: nonexistent directory: can't create /sys/devices/system/cpu/cpufreq/lulzactiveq/hotplug_rq_1_1