[HTC EVO 3D] mikeyxda:
OK, it's almost 9:30 here and I think I've finally settled on the most stable, least battery eating solution from all the CPU tweaks we've been talking about. I've tried them all, rebooted about 100 times today trying different options, and here's what is currently running solid and BLAZING for me while not burning too much battery. Benchmarks are now running significantly faster and while I think the battery may drain a little more, the total lack of lag is worth it IMO! List of mods (based on DE 2.0 P1) below:

(1) I put back the mpdecision file, but I'm using the one Lrod posted a few pages back: the one that is not corrupted and only has the one (userspace --> ondemand) change. Phone was sometimes booting (and even turning off) weirdly with the file deleted so I put it back but I'm using the ondemand-ondemand mod from this post.

(2) Got rid of the 05sysctltweaks in init.d. They're not needed and they just override init.post_boot.sh which I also changed (below).

(3) Remove all lines referencing up_threshold and sampling_rate from 02sicktweaks in init.d. Again, they are overrides and should not be needed if init.post_boot.sh is set properly to begin with (below).

(4) Modded the init.post_boot.sh to look like the following:

#!/system/bin/sh

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

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

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

echo 25 > /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 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

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

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

chown system /sys/power/perflock

In the above, the main change is to change the up-threshold from 90 all the way down to 25. I tested every value between 90 and 10 (in increments of 5) and found that 25 gives great performance without the CPU constantly jumping up to a higher speed. 25 definitely gives better performance than 90! Also, as you can see from the above, that's my entire init.post_boot.sh file: I took out the case statement. It's not needed (there's only going to be one processor in the Evo 3D so no need to check it)... plus if I read that case statement properly, it's backwards and it could end up looking for a longer string (like "Qualcomm MSM8660") IN a shorter string (like "MSM8660") which will return false and the code will never be run. So I dispensed with the nonsensical check.

(5) I activated the "force all CPU's active" in System Tuner. All that does is create an init.d file (if you choose that option) that sets the "online" flag in cpu1 folder and then chmods it so it can't be changed by system processes. That code could easily be added to init.post_boot.sh if you like.

Scott, you be the judge, but I'd recommend the above changes to the ROM (or some form that is equivalent). Of course, it's logical to let others try these same changes and/or let me run it like this for a while to see if the phone sets my pocket on fire or something before anyone commits to anything. Right now, this is the smoothest this phone has ever run! Once you use it without any lag due to the second processor being awake, it's hard to go back! There's just absolutely no stutter in ANY operation any more. Even swiping between home pages is butter. When you go back, you see the stutter. And stutter <> butter. ;)

Mike