NOTE1: If you’re having problems, please uninstall/disable SetCPU and any init scripts first. A lot of the issues are OC related. If everything works fine after doing that, slowly start over-clocking, if not, please post. Once the problem speed is found, report it, but most likely, it’s a voltage issue, not all phones/processors are equal. Since these kernels have snq-‘s VDD sysfs interface, you can modify the VDD levels yourself. If there are any Java developers that would like to tackle the task of writing a program to assist, please do, I’ll help as much as I can.
NOTE2: If you post a problem, please include a valid email address, only myself and Mr. X can see them. For those that have had issues in the past, you can attest to the fact that I’m pretty good about emailing people to help work the issues out. Also when posting, please include the following: platform (Bravo/Evo/Inc), hardware revision if known, ROM and whether it’s Sense/Desire Z port/AOSP Froyo/AOSP Gingerbread, and OC settings. This just makes my job easier when attempting to help.
Change Log:
Updated to 2.6.32.28
Tweaked smartass some more
Broadcom bluetooth low power driver
Lowered minimum vdd to 825 for further testing
Fixed Bravo camera, now 5MP
Audio Boost for all
Updated BFS to version 363
Fixed out of memory problem when copying large files to a mounted SD card
Hopefully fixed CFS issues
More code clean-up
Full Feature List:(Or as close to it as this old guy can get)
Frankenstein of Inc-MR3/Bravo/Evo-MR3/Glacier/Legend/Vision/Ace source trees
Moved source tree as close to Mainline as possible
Updated to 2.6.32.28
Evo/Inc Atmel 3/5 Multi-point Touch
Evo WiMax support – see sturmen, I added it to the list
LZMA Kernel compression
Automatic Process Group scheduling
GPU+
BFQ IO Scheduler
Interactive Governor
Smartass Governor (Default)
fixed sysfs interface
added Kconfig options for all settings
Defaults to 128-245Mhz screen off
Defaults to profile max when screen turns on, reduces lag
Overclockable to 1.22Ghz, default 128-998Mhz
ck2 patchset
snq-‘s VDD sysfs interface
modified for all platforms, vice just the Bravo
Moved the min/max settings to Kconfig options
825-1400mV VDD range, 925mV(128Mhz)-1400mV(1.22Ghz) in acpu table
50K Sampling for conservative governor
AOSP support, yeah I know doesn’t work on all yet
Enabled and fixed rndis for wired tether
disabled HTC’s perflock
SLUB Unqueued allocator
CIFS
TUN
EXT4
NILFS2
All debugging turned off
All tracing turned off
Swap turned on
Static voltage scaling, no HAVS, not until I modify the VDD sysfs interface to work nicely with it
Absolutely no modifications to htc_battery, other than HTC updates
Quadrant scores (since some think that’s important, lol)
My phone (Inc/Uber-Z 2.0/998Mhz/BFS kernel)
Custom (CPU/Memory) 1475
Full 1675
My phone (Inc/Uber-Z 2.0/1.152Ghz/BFS kernel)
Custom (CPU/Memory) 1575
Full 1875
Downloads:
BETA Kernel Bravo BFS 15 Jan 11 (389 downloads)
BETA Kernel Bravo CFS 15 Jan 11 (354 downloads)
BETA Kernel Evo BFS 15 Jan 11 (657 downloads)
BETA Kernel EVO CFS 15 Jan 11 (778 downloads)
BETA Kernel Inc BFS 15 Jan 11 (611 downloads)
BETA Kernel Inc CFS 15 Jan 11 (364 downloads)
md5sums:
99adb0393ece330025b32bca2d728368 ztest-BRAVO-BFS-011511.zip
7c4e60e3397a563b2a003c772bb85cd6 ztest-BRAVO-CFS-011511.zip
896e25b7af3a7c9fddf60cc3ca653820 ztest-EVO-BFS-011511.zip
de5ff05e7c0aed43dc20175ab1b62ec8 ztest-EVO-CFS-011511.zip
b57a17b0e51f13cef7f65b30c915c8c5 ztest-INC-BFS-011511.zip
40ff9493c38bfdb1c00d9ebaf075902e ztest-INC-CFS-011511.zip
Modifications I’ve done to my phone
Setup and Enable Swap partition
I used gparted to re-partition my SD card to @ 15G FAT/1G ext3/100MB swap.
/system/etc/fstab
/dev/block/mmcblk1p3 none swap sw 0 0
/system/etc/init.d/10swapon
#!/system/bin/sh
swapon -a
Drop caches on screen off
I know, not always a good idea, but I discovered this while working on the out of memory when copying files to a mounted SD card. vfs_cache_pressure wasn’t cleaning the caches as quickly as it should, hence drop_caches method.
I still recommend using QtADB or Droid Explorer instead of mounting the SD card to the computer.
/system/etc/init.d/90dropcache
#!/system/bin/sh
(while [ 1 ]
do
AWAKE=`cat /sys/power/wait_for_fb_wake`
if [ $AWAKE = "awake" ]; then
AWAKE=
fi
SLEEPING=`cat /sys/power/wait_for_fb_sleep`
if [ $SLEEPING = "sleeping" ]; then
sync
echo 3 > /proc/sys/vm/drop_caches
SLEEPING=
fi
done &)
Example of an init script to set VDD levels on boot
Note: Make sure you test the voltages extensively prior to setting up an init script. If you are using the kernel as default, and not changing the governor, then 128 and 245 are the important ones to play with, since your screen is off more than on. Finding the sweet spot for those will save alot of power in the long run. My phone does great at 875 for both.
/system/etc/init.d/90vddlevels
#!/system/bin/sh
if [ -e /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels ]; then
echo ’128000 875′ > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo ’245000 875′ > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
fi
Programs I’ve installed to help
Tasker
Set to turn on airplane mode and silent mode between 2100-0425 weekdays and 2200-0655 weekends, alarm goes off at 0430 weekdays and 0700 weekends. All mail and messages are there when I wake up. If anyone needs to call me during those times, they can use my home phone. Also it’s setup to reboot the phone every morning at 3am, helps with that phantom hangup on the Desire Z ports.
Auto-wifi enable
Setup to turn on wifi as I approach home and work, since 3G coverage in both places SUCK!!!!!
ES Task Manager
Setup to kill most processes on screen off, set it to ignore the important ones.
System Panel
Setup to monitor. Great tool to help figure out what’s killing batteries or using all the resources.
Titanium Backup
Setup to backup all new and newer M/W/F, and everything T/Th/Sa. Figured the phone needs Sundays off.
QtADB
Awesome program to copy files to/from phone without having to mount the phone to the computer.