Beta Kernel 15 Jan 11
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.
Updated to 126.96.36.199
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 188.8.131.52
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
BFQ IO Scheduler
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
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
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
My phone (Inc/Uber-Z 2.0/1.152Ghz/BFS kernel)
Custom (CPU/Memory) 1575
BETA Kernel Bravo BFS 15 Jan 11 (147)
BETA Kernel Bravo CFS 15 Jan 11 (106)
BETA Kernel Evo BFS 15 Jan 11 (405)
BETA Kernel EVO CFS 15 Jan 11 (537)
BETA Kernel Inc BFS 15 Jan 11 (349)
BETA Kernel Inc CFS 15 Jan 11 (124)
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.
/dev/block/mmcblk1p3 none swap sw 0 0
#!/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/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/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
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.
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.
Setup to monitor. Great tool to help figure out what’s killing batteries or using all the resources.
Setup to backup all new and newer M/W/F, and everything T/Th/Sa. Figured the phone needs Sundays off.
Awesome program to copy files to/from phone without having to mount the phone to the computer.