Here is the start of something that I hope is fun. My first time messing with kernels, I have also been an AOSP fanboy, until the latest HTC Sense OTA. For some reason I get awesome battery with the stock kernel. So knowing that, I thought it would be nice to add some tweaks to a sense kernel and see how good the battery can really get. I don't have a website to promote, so I use mediafire for downloads, if you have a mirror please let me know.
You can find all the changes I make in the changelog above. Please let me know if there are any issues. You can follow me on twitter which is in my sig or on google+ in my sig as well.
Thank you everyone! I have no idea who "created" smartass, so I have no idea who to thank. Please help me with that.
Quote:
: Disclaimer :
We are not responsible for any damage you do to your phone, or anything that results after using our software.
If you would like to help with building, or learn more about it you can check out my other thread here dedicated to building and editing your own kernels.
: Disclaimer :
Please check out post two for more info on the versions.
[/quote]Thanks:
Below is a little snippet of the script I wrote, I will have more info about the versions at a later time. For now, this is pretty self explanatory.
Code:
lithid@MPDI:~/Development/Htc-Sense-Freedom-Kernel$ ./build-it.sh --help
Usage: build-it.sh [OPTION]
Here is a list of available options:
-F | Build Stock Freedom
-L | Build Less Freedom -75mv
-M | Build More Freedom -125mv
-A | Build Aggresive Freedom -175mv
-ALL | Build all versions
Notice to anyone using this kernel:
Quote:
If you are seeing battery drain with the latest release its because the voltages for anything over .998 Ghz is now at its stock voltage, which was causing issues being under volted. So if you are overclocked your battery will die faster. If you want speed you will have to pay the piper. This won't change. That's just how it is. Its unstable to under volt the OC frequencies.
Quote:
Freedom Kernel Config
Here is the freedom kernel config that will be included into the v0.9.5+. This config is simple and easy. Just edit what you want. No need for an application or scripts running in the background. This solution is great because it allows custom user control, without the need to know a program, or have loop scripts running.
This config lives on the sdcard @ /sdcard/FREEDOM-CONFIG/config. Just mount the sdcard/or use a text editor from the market. Make your changes and reboot. Thats it!
Code:
################################
# LITHIDS FREEDOM KERNEL CONFIGURATION
################################
# This configuration is completely written by Lithid to work with the Freedom Kernel.
# Please read through this configuration to properly set the attributes for this scripts
# configuration. Failure to do so may result in a broken config, or your **** just might
# not work. So please. Follow the rules...
# Uncommented fields are enabled, Commented fields are disabled.
################################
# List of available governors:
################################
# interactiveX
# ondemand
# userspace
# powersave
# performance
# smartass
################################
################################
# List of available cpu frequencies:
################################
# 245000
# 256000
# 384000
# 422400
# 460800
# 499200
# 537600
# 576000
# 614400
# 652800
# 691200
# 729600
# 768000
# 806400
# 844800
# 883200
# 921600
# 960000
# 998400
# 1036800
# 1075200
# 1113600
# 1152000
# 1190400
# 1228800
################################
# Please see list of available governors for options.
CONFIG_FREEDOM_GOVERNOR=interactivex
# Please see list of available cpu frequencies for options.
CONFIG_FREEDOM_MAXCPU=768000
# Please see list of available cpu frequencies for options.
CONFIG_FREEDOM_MINCPU=128000
# Configuration for low memory free.
# Default is 3584,4096,8192,10240,11264,12288
# CONFIG_FREEDOM_LOWMEMFREE=0,0,0,5120,5632,6144
# Configurations for TCP Buffer read and write.
# Default for both is 262144
# CONFIG_FREEDOM_TCPBUFFER_W=524288
# CONFIG_FREEDOM_TCPBUFFER_R=524288
Here is how you varify the current cpu configuration:
Code:
# /etc/init.d/88FREEDOM --verify
Verify the current Freedom Kernel configuration
>>>
Your current governor is: interactiveX
Your max cpu frequency is: 768000
Your min cpu frequency is: 128000
Your min memory free config is: 3584,4096,8192,10240,11264,12288
Your tcp buffer w/r is: 262144/262144
>>>
Here is how you look at your current cpu freq stats:
It’s been well established that XDA-Developers isthedestination for resources relating to … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?