[HTC One S] fantasist:
Zarboz, would you mind having a look at my init.qcom.post-boot.sh below? I just changed ondemand governor to badass for cpu0 and cpu1, but I don't know if I should delete the rest ondemand stuff and what to do with the rest. (Im using your zpower 2.1), thanks a lot :)

#!/system/bin/sh

#

#

#

target=`getprop ro.board.platform`

case "$target" in

"msm8960")

echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache

echo 1 > /sys/module/rpm_resources/enable_low_power/pxo

echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_dig

echo 1 > /sys/module/rpm_resources/enable_low_power/vdd_mem

echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8660/modes/cpu0/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8660/modes/cpu0/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8660/modes/cpu1/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8660/modes/cpu0/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8960/modes/cpu0/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8960/modes/cpu1/power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8960/modes/cpu0/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8960/modes/cpu1/standalone_power_collapse/suspend_enabled

echo 1 > /sys/module/pm_8960/modes/cpu0/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8960/modes/cpu1/standalone_power_collapse/idle_enabled

echo 1 > /sys/module/pm_8960/modes/cpu0/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8960/modes/cpu1/power_collapse/idle_enabled

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

echo "badass" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo 85 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo 45000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy

echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

chown root.system /sys/devices/system/cpu/mfreq

chmod 220 /sys/devices/system/cpu/mfreq

chown root.system /sys/devices/system/cpu/cpu1/online

chmod 664 /sys/devices/system/cpu/cpu1/online

;;

esac

case "$target" in

"msm7627_ffa" | "msm7627_surf" | "msm7627a" | "msm7627_6x")

echo 25000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

;;

esac

case "$target" in

"qsd8250_surf" | "qsd8250_ffa" | "qsd8650a_st1x")

echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

;;

esac

case "$target" in

"qsd8650a_st1x")

mount -t debugfs none /sys/kernel/debug

;;

esac

chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

emmc_boot=`getprop ro.emmc`

case "$emmc_boot"

in "1")

chown system /sys/devices/platform/rs300000a7.65536/force_sync

chown system /sys/devices/platform/rs300000a7.65536/sync_sts

chown system /sys/devices/platform/rs300100a7.65536/force_sync

chown system /sys/devices/platform/rs300100a7.65536/sync_sts

;;

esac

# Post-setup services

---------- Post added at 03:04 PM ---------- Previous post was at 02:57 PM ----------

Where do I find the file for my rom to replace it please? can I just delete it and it will regenerate a new one?