[Kernel][Sense][HDMwIn]Evo 4g Freedom-v0.9.5 Kernel GB MR 2.6.35.10

Search This thread

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
HTC Evo 4G Freedom-v0.9.5 Kernel
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.
New 0.9.5 Aggressive Only!
All Downloads
Note: That right above is indeed a download link!
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.
: 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:
Tip: I am pretty sure SmartAss governor was created by erasmux for the GSM Hero.
https://github.com/erasmux/hero-2.6.29-flykernel/wiki/Smartass
 
Last edited:

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
About Freedom Kernel
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:
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.
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:
Code:
# /etc/init.d/88FREEDOM --stats
Verify the current Freedom Kernel configuration
>>>
128000 23369
245000 3053
384000 556
422400 79
460800 60
499200 74
537600 45
576000 21
614400 34
652800 126
691200 166
729600 158
768000 13213
806400 30
844800 5
883200 5
921600 0
960000 0
998400 860
1036800 0
1075200 0
1113600 0
1152000 0
1190400 0
1228800 0
>>>
Lastly, all information gets logged on boot. Check it here:
Code:
# cat /data/local/tmp/FreedomKernel.log
Mounting the sdcard
Applying dos2unix to /sdcard/FREEDOM-CONFIG/config file just incase!
Killing extra scripts with a loop
Writting interactiveX
Writting 768000
Writting 128000
Skipping attribute low memory free
Skipping attribute TCP Buffer R/W
Unmounted sdcard
Complete
 
Last edited:

debarron

Senior Member
Mar 1, 2008
429
155
Awesome! Any plans on adding SBC? I think that's what a lot of people are waiting for (me included). :)

Sent from my PC36100 using Tapatalk
 

DJ1395

Senior Member
May 11, 2011
103
6
30
Simi valley CA
This is probably the wrongnplace to post this but how do you correctly flash a kernel... I don't want to mess anything up I already have my current rom set up and running perfectly (kinged kingdom rls2.1)
 
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.

Currently this kernel has:
Smartass governor
Powersave governor

thanks,,, been waiting for this!
 
This is probably the wrongnplace to post this but how do you correctly flash a kernel... I don't want to mess anything up I already have my current rom set up and running perfectly (kinged kingdom rls2.1)

...real simple . go into recovery and do a nandroid back up first,, then whne done wipe cache and dalvik, then flash kernel.. thats it
 
  • Like
Reactions: DJ1395

gotshores

Senior Member
Aug 4, 2010
613
59
San Antonio
Hey lithid, I know nothing about creating custom kernels, but I remember previous ones had less havs and more havs for better battery. Would you know anything about this?
The smartass setting makes things pretty quick, thanks for creating this.

Sent from my PC36100 using Tapatalk
 

lithid-cm

Inactive Recognized Developer
Jul 1, 2010
3,189
2,956
Cleveland
Hey lithid, I know nothing about creating custom kernels, but I remember previous ones had less havs and more havs for better battery. Would you know anything about this?
The smartass setting makes things pretty quick, thanks for creating this.

Sent from my PC36100 using Tapatalk
I am looking into adding havs support w/ sysfs. This would make is possible to edit your own havs settings using a tool like vipermod, or other voltage editors.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 144
    HTC Evo 4G Freedom-v0.9.5 Kernel
    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.
    New 0.9.5 Aggressive Only!
    All Downloads
    Note: That right above is indeed a download link!
    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.
    : 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:
    Tip: I am pretty sure SmartAss governor was created by erasmux for the GSM Hero.
    https://github.com/erasmux/hero-2.6.29-flykernel/wiki/Smartass
    29
    About Freedom Kernel
    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:
    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.
    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:
    Code:
    # /etc/init.d/88FREEDOM --stats
    Verify the current Freedom Kernel configuration
    >>>
    128000 23369
    245000 3053
    384000 556
    422400 79
    460800 60
    499200 74
    537600 45
    576000 21
    614400 34
    652800 126
    691200 166
    729600 158
    768000 13213
    806400 30
    844800 5
    883200 5
    921600 0
    960000 0
    998400 860
    1036800 0
    1075200 0
    1113600 0
    1152000 0
    1190400 0
    1228800 0
    >>>
    Lastly, all information gets logged on boot. Check it here:
    Code:
    # cat /data/local/tmp/FreedomKernel.log
    Mounting the sdcard
    Applying dos2unix to /sdcard/FREEDOM-CONFIG/config file just incase!
    Killing extra scripts with a loop
    Writting interactiveX
    Writting 768000
    Writting 128000
    Skipping attribute low memory free
    Skipping attribute TCP Buffer R/W
    Unmounted sdcard
    Complete
    12
    Awesome! Any plans on adding SBC? I think that's what a lot of people are waiting for (me included). :)

    Sent from my PC36100 using Tapatalk
    I will be having an SBC version. Just trying to get it all out stable ya know.
    12
    I have a 9.5 build if anyone is interested. It is aggressive only and you can get it from the download link below or on the OP.

    http://www.mediafire.com/?x4yyb4ta98anx

    Thanks!
    11
    ok.. .8 was good to go. 8.5 is just crap imo. battery drains alot faster...ugh.
    Thanks, I really like constructive criticism. Goes miles asshat. Just plain ole crap eh? Ill get right on fixing that for ya.

    Sent from my PC36100 using XDA Premium App