[HTC Sensation] jordin1128:
I'm running CoreDroid v4.1. With mpdecision disabled, this is my setup...

/system/etc/init.d/99pwncpu - System Tuner Pro script:

#!/system/bin/sh

if [ -e /system/cpu_protection ] ; then

mount -o remount,rw /dev/block/mtdblock3 /system

echo failed > /system/cpu_failed

mount -o remount,ro /dev/block/mtdblock3 /system

exit

fi

mount -o remount,rw /dev/block/mtdblock3 /system

echo applied > /system/cpu_protection

mount -o remount,ro /dev/block/mtdblock3 /system

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

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

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo "1188000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

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

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo "1188000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo "384000" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

echo "192000 800000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "310500 800000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "384000 800000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "432000 800000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "486000 812500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "540000 825000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "594000 837500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "648000 850000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "702000 875000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "756000 900000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "810000 912500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "864000 937500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "918000 937500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "972000 937500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1026000 950000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1080000 962500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1134000 975000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1188000 987500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1242000 1000000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1296000 1025000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1350000 1050000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1404000 1075000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1458000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1512000 1100000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1566000 1125000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1620000 1150000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1674000 1175000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo "1728000 1200000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

__________________________________________________________________

/system/etc/init.post_boot.sh:

#!/system/bin/sh

#################################################

# init.post_boot.sh script for CoreDroid Roms #

#################################################

target=`getprop ro.board.platform`

case "$target" in

"msm8660")

# CPU SETTINGS

echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo 1 > /sys/devices/system/cpu/cpu0/online

echo 1 > /sys/devices/system/cpu/cpu1/online

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

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

echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

echo 90 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold

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/ondemand/sampling_rate

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

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

echo 1188000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

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

echo 1188000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

chown system /sys/devices/system/cpu/cpu0/online

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

echo noop > /sys/block/mmcblk0/queue/scheduler

echo noop > /sys/block/mmcblk1/queue/scheduler

;;

/system/xbin/busybox run-parts /system/etc/init.d

;;

esac

__________________________________________________________________

/system/etc/init.qcom.post_boot.sh:

#!/system/bin/sh

#

# post_boot modified by show-p1984

#

target=`getprop ro.board.platform`

# Post-setup services

case "$target" in

"msm8660" | "msm8660_csfb" | "msm8960")

#start mpdecision

;;

esac

case "$target" in

"msm8660" | "msm8660_csfb")

start thermald

;;

esac

case "$target" in

"msm8660" | "msm8660_csfb")

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

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

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

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

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

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/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_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_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/power_collapse/idle_enabled

echo 1 > /sys/module/pm_8660/modes/cpu1/power_collapse/idle_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

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

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

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

mount -t debugfs none /sys/kernel/debug

;;

esac

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

...I never had the issue if cpu1 going offline after awhile. I guess I was one of the lucky ones! Anything else I should add that you think might enhance this already amazing kernel??