Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP lithid-cm

30th July 2011, 04:10 AM   |  #1  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,969
 
3,177 posts
Join Date:Joined: Jul 2010
More
Quote:

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.
Quote:

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.
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:
Quote:
Originally Posted by github

Tip: I am pretty sure SmartAss governor was created by erasmux for the GSM Hero.
https://github.com/erasmux/hero-2.6..../wiki/Smartass

Last edited by lithid-cm; 27th May 2012 at 03:22 AM.
The Following 144 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
30th July 2011, 04:11 AM   |  #2  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,969
 
3,177 posts
Join Date:Joined: Jul 2010
More
Quote:

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:
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:
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 by lithid-cm; 2nd October 2011 at 01:11 AM.
The Following 29 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
30th July 2011, 04:18 AM   |  #3  
Senior Member
Thanks Meter: 153
 
425 posts
Join Date:Joined: Mar 2008
More
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
30th July 2011, 04:19 AM   |  #4  
lithid-cm's Avatar
OP Recognized Developer
Flag Cleveland
Thanks Meter: 2,969
 
3,177 posts
Join Date:Joined: Jul 2010
More
Quote:
Originally Posted by debarron

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.
The Following 12 Users Say Thank You to lithid-cm For This Useful Post: [ View ]
30th July 2011, 04:21 AM   |  #5  
bigslanki's Avatar
Senior Member
Thanks Meter: 77
 
404 posts
Join Date:Joined: Jul 2009
More
sweet. i wil try this when i ever go back to SeNSE
30th July 2011, 04:21 AM   |  #6  
Senior Member
Thanks Meter: 153
 
425 posts
Join Date:Joined: Mar 2008
More
Quote:
Originally Posted by lithid-cm

I will be having an SBC version. Just trying to get it all out stable ya know.

Understand...downloading now. Will let you know how it goes.

Sent from my PC36100 using Tapatalk
30th July 2011, 04:23 AM   |  #7  
guih's Avatar
Senior Member
Thanks Meter: 189
 
1,054 posts
Join Date:Joined: Jan 2011
You rock man, can't wait for the SBC version.
30th July 2011, 04:29 AM   |  #8  
github's Avatar
Senior Member
T-Mobile, USA
Thanks Meter: 186
 
539 posts
Join Date:Joined: Jul 2011
Donate to Me
More
Tip: I am pretty sure SmartAss governor was created by erasmux for the GSM Hero.

https://github.com/erasmux/hero-2.6..../wiki/Smartass

Quote:
Originally Posted by erasmux

WHAT IS SMARTASS?
Smartass is a “new” governor I wrote for my HTC Hero. I wrote it to optimize battery life without comprising performance.

The Following 5 Users Say Thank You to github For This Useful Post: [ View ]
30th July 2011, 04:32 AM   |  #9  
jyarborough's Avatar
Senior Member
Flag Atlanta, Ga
Thanks Meter: 213
 
2,089 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by bigslanki

sweet. i wil try this when i ever go back to SeNSE

SBC i where its at,, and sense 3 is the ****.. have not been on aosp(cm7 ) in a min.. check my sig,, that is a BA Rom
30th July 2011, 04:33 AM   |  #10  
Senior Member
San Antonio
Thanks Meter: 53
 
590 posts
Join Date:Joined: Aug 2010
Donate to Me
More
U the man lithid. Thx!

Sent from my PC36100 using Tapatalk

Post Reply Subscribe to Thread

Tags
freedom kernel, sense, smart ass
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes