[HTC Amaze 4G] krook6023:
Donation Sent (Confirmation number: 3FY61251M6176935H) <---Who's next?

Thanks for your effort. For the record this kernel installed (as expected) perfect using 4EXT with my S-OFF device. I have not had any issues with instability or reboots (although I never did with your GB kernel either), everything is smooth.

I have a couple of questions if you will bear with me. kozmikkick is praising the way implemented WiFi without breaking the modules that are built by the kernel. I remember that on your GB kernel you mentioned that you could not apply certain tweaks and or optimization without breaking wifi. I also remember yous saying since there were scaling issues with our aSMP CPU most governors would not work correctly.

Is WiFi built differently in your ICS kernel or does it have the same downside?

Any chance we could see additional governors in your ICS kernel?

What about i/o schedulers (SIO, V(R), BFS)?​

The only issue I see with this kernel is one that I assume I caused. I am using EnergyROM and NRG has a init.post_boot.sh that runs at boot. I have edited mine (edits in red) and it looks like this;

#!/system/bin/sh

target=`getprop ro.board.platform`
case "$target" in "msm8660")

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
[COLOR="Red"]	echo "noop" > /sys/block/mmcblk0/queue/scheduler
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo 50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
echo 75 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 0 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
echo 2 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 1296000 > /sys/devices/system/cpu/cpufreq/ondemand/two_phase_freq
echo 15 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1620000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1620000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq[/COLOR]
chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
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 root.system /sys/devices/system/cpu/mfreq
chmod 220 /sys/devices/system/cpu/mfreq
chown root.system /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu1/online
chmod 400 /sys/devices/system/cpu/cpu1/online
chown system /sys/power/perflock
chown system /sys/power/cpufreq_ceiling
;;
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

# Post-setup services
case "$target" in "msm8660")
start mpdecision
;;
esac

case "$target" in "msm8660")
start thermald
;;
esac

I have noticed that both cores are over clocked to 1728 even though I was attempting to limit max frequency 1620. So I am curious how NRG's init.post_boot.sh should interact with your kernel. Also please point out if you see any bash errors in my (noob) edits...as I assume I have caused the issue.