Search This thread

atyoung

Retired Recognized Developer
Aug 9, 2011
196
654
Eugene, OR
atyoung.blogspot.com
masonsymbol500x500.png


Introducing the Mason kernel.


This started as a project to bring sbc to the supersonic ICS aokp rom. However I decided to go ahead and move forward with moving over some of the fine work that is going on for the Nexus line and bring it over to our beloved evo4g. I want to stress that to my knowledge the things that will be included beyond what is in tiamat/CM9 proper are not very well tested on our platform.

The overwhelming goal is to bring performance and stability improvements to the supersonic platform. The original idea, had a little less scope. I have now broadened its scope to include ICS, GB, and even Sense soon. The project will actually breed a whole line of kernels built for the supersonic with the needs of it's community in mind. Let's breathe some new life into our platform.

Thanks to the evervolv team without which we wouldn't have ICS on the supersonic at the moment.

Kernel Features:

CPU Frequency governors: conservative, ondemand, ondemandX, interactive, interactiveX, smartass, smartassV2, intellidemand, SavagedZen, minmax, lulzactive, lazy, lagfree, userspace, powersave, Lionheart, brazillianwax

I/O Schedulers: deadline (flash optimized), vr, noop, cfq, bfq, sio

HAVS, KSM (I series), Ext2/3/4, NTFS

Variants:

nosbc - Standard kernel without sbc
sbc - Smart Battery Control
hwa - Hardware Acceleration
fso - File synchronization off

Note on FSO:

I provide this without any warranty at all (not that I do with anything else). Yes, fso makes things faster, it's for the speed hungry among you, however there is the potential, however slight that you can get corrupted data on a crash. Do not run this without a proper nand, it's just a bad idea. I haven't personally had any issues, but that doesn't mean that in theory it can't happen. It's a very strong possibility however slight it might be. The price you pay for speed I suppose.

Note on SBC:

There are some out there who find sbc and unholy abomination. Though again I have not experienced issues personally, there are some out there that claim that it can damage your battery, particularly the lifetime of the battery. There is data to support both sides of this argument, and I'm not here to go over all that. But be warned that it may cause some battery issues, and take care that you are both advised of the risks and willing to take them for some extra juice.

TODO:
Code:
* Slated for v0.15/6 sense variant. Yeah you heard me, all your kernels r belong to us.

* Slated for v0.15 Various performance optimizations relating to RCU and power consumption.

* Slated for v0.15 2 more governors.

* Slated for v0.15 Backport of cpufreq from linux 3.0.y.

* Slated for v0.2 Merging of the lines to give us one base kernel instead of 2.

* Slated for v0.3 Linux v3.x.x Lot of work to be done here. Lots of 3.x.x code already being back ported.

Instructions:

Apply with your custom recovery. Amen Ra Style Recovery 3.11 recommended (But not required).

Changelog:
Code:
v0.14 - Feature/Maintenance -
  * Added brazillianwax cpufreq governor
  * HWA support in the form of variant
  * Tweaks to RCU
  * Additional tweaks to I/O
  * SLQB
  * KSM
  * FSO

v0.12 - Feature release - Catching us up with the nexus lines set of options.

  * Added ondemandX cpufreq governor
  * Added interactiveX cpufreq governor
  * Added minmax cpufreq governor
  * Added SavagedZen cpufreq governor
  * Added Lionheart cpufreq governer
  * Added intellidemand cpufreq governer
  * Deadline tuned for better performance with regard to flash based memory
  * Minor code cleanup

v0.10 - Initial release -

  * Moved away from the default config and excluded some things that are really only suited for testing reducing overhead.
  * Added Lazy cpufreq governor
  * Added lulzactive cpufreq governor
  * Added ondemand cpufreq governor
  * Added ext2 support
  * Added ext3 support
  * Added ntfs support
  * Enabled SBC.



Current Builds:

Mason G series:
Suitable for non hardware accelerated roms, including gingerbread AOSP roms. Works on things like Decks GB 1.3d, and AOKP ICS.

G - v0.14 sbc Mirror 1 (Mediafire) MD5 74da6e014bcdae9db3dd4e80463736c4

G - v0.14 sbc fso Mirror 1 (Mediafire) MD5 e5234c781f2570f81c54e051021bc106

G - v0.14 nosbc fso Mirror 1 (Mediafire) MD5 8c5bc95fd33afd550a53791ab3fa3f8e

Mason I series:
Suitable for hardware accelerated ICS roms. Latest Evervolv preview builds and decks prebetas.

I - v0.14 sbc Mirror 1 (Mediafire) MD5 78de4224872ca118f671832f2d2359ed

I - v0.14 nonsbc Mirror 1 (Mediafire) MD5 991741161bbf03468d5c66e8f97390f2

I - v0.14 sbc fso Mirror 1 (Mediafire) MD5 97b47a4624b3eb714fb2e05350e485c2

I - v0.14 nonsbc fso Mirror 1 (Mediafire) MD5 9bc6d5e59b92c4943959f66778fe3781

Mason S series:
Suitable for gingerbread sense roms.

(Comming soon)


Legacy versions:
Only tested functional on non hardware accelerated roms such as AOKP and Decks GB 1.3d, considered G series Mason.

G - v0.12 sbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

G - v0.12 nosbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

G - v0.10 sbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

Credits:
Code:
preludedrew for the supersonic device tree that makes every supersonic ICS go.
drewis for so much kernel work it's literally amazing.
caynairb for such a great base for which us that are playing with the supersonic kernel have to work with.
cyanogenmod team for kernel tree and all their hard work.
franciscofranco, faux123 for lots of things kernel related.
Knzo, Tegrak, Ezekeel, jsseidel, Erasmux, imoseyon, Mike Chan, Venkatesh Pallipadi, Alexey Starikovskiy, for governor work.

ngh55 for logo love.

This list could go on forever.

My Blog. My GitHub.

Side note:

I will try my hardest to maintain both this and the rootzwiki thread as time allows. That said let's keep the discussion pleasant and on the topic of bugs and features supersonic users would like to see either quashed or provided respectively. I feel bad for slightly hijacking the aokp and other ICS threads so lets move the kernel relevant conversation here.
 
Last edited:

atyoung

Retired Recognized Developer
Aug 9, 2011
196
654
Eugene, OR
atyoung.blogspot.com
Useful bug reporting:

* Include the Rom you are running.
* Include the kernel version you are running.
* Include any custom settings you have changed cpu governor/io scheduler/cpufreq scale etc.
* Include any tweak scripts you may be running.
* Include any voltage changes you might be running.
* Include what you expected to happen.
* Include what really happened.
* Include if you can reproduce the bug at will.
* Include logcat and/or any other logging mechanisms you might have available. OS Monitor is a fine choice.
* Include screenshots if possible/applicable.

Be as detailed as possible. Good bug reporting is a great way to add to the community, even if you aren't a developer, this is a excellent way to give back.
 
Last edited:

blovadova

Member
Dec 13, 2011
40
11
Thanks atyoung, been following on rootzwiki. Glad to have your thread here as well

Sent from my PC36100 using Tapatalk
 
  • Like
Reactions: auradefect

atyoung

Retired Recognized Developer
Aug 9, 2011
196
654
Eugene, OR
atyoung.blogspot.com
Any thoughts on ICS Sense kernel just in case cause theres ruu leaks so we might need one.

Ruu leaks alone won't be very helpful to kernel devs, we need code with which to play with. That said if/when sense kernel code hits for the supersonic, I will evaluate making a parrallel Mason for that. Most of my currently planned changes aren't are not specific enough to ASOP to prevent it.

I say most because there are a few things that I know for sure won't make it in without more hacking than I'm willing to do for sense atm.

Make no mistake, I'm a asop fanboy. ;)
 
Last edited:

atyoung

Retired Recognized Developer
Aug 9, 2011
196
654
Eugene, OR
atyoung.blogspot.com
Would this be the same kernel you posted a day or two ago? I'm lovin it, the sbc helps a bunch

No though it did provide a base, of sorts.

Any chance of getting a bfq version or r we sticking with cfs for now on.

As far as I know bfq is supported in this kernel as is any number of other I/O govs. Check whatever you're using to switch them and see if it's a option. The bfq code needs some updating though, which I'll address at a later date.

I recommend deadline on the supersonic, particularly after my next version drops which has some improvements for deadline used with flash memory.
 
Last edited:

ca1ne

Retired Recognized Developer
Apr 16, 2011
802
1,385
East Coast
Good job...

SBC on sense is kicking my butt so far...

Can I ask how you came about the name for the kernel, just idle curiosity...
 

Papa Smurf151

Senior Member
Feb 24, 2010
5,643
6,741
Atlanta
No though it did provide a base, of sorts.



As far as I know bfq is supported in this kernel as is any number of other I/O govs. Check whatever you're using to switch them and see if it's a option. The bfq code needs some updating though, which I'll address at a later date.

I recommend deadline on the supersonic, particularly after my next version drops which his some improvements for deadline used with flash memory.

I'll make sure I add that option to change it in my script for all to enjoy
 

atyoung

Retired Recognized Developer
Aug 9, 2011
196
654
Eugene, OR
atyoung.blogspot.com
I'll make sure I add that option to change it in my script for all to enjoy

Right on, side note: just about anything that is tiamat based which is anything ics for the supersonic right now is going to have deadline. Maybe not the version that's going to drop in the am, but some type of deadline.
 

jcwxguy

Senior Member
Mar 22, 2011
702
298
running good so far, better then the tiamat sbc kernel just released yesterday, as in a lot less lag :)
 

Master_Ellis

Senior Member
Sep 2, 2010
489
133
Winston Salem
Quick Question.

I'm one of the lucky few in a 4G coverage area. I tether a lot bc I'm broke and can't afford wifi. Any progress on getting Wimax 4G working?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 105
    masonsymbol500x500.png


    Introducing the Mason kernel.


    This started as a project to bring sbc to the supersonic ICS aokp rom. However I decided to go ahead and move forward with moving over some of the fine work that is going on for the Nexus line and bring it over to our beloved evo4g. I want to stress that to my knowledge the things that will be included beyond what is in tiamat/CM9 proper are not very well tested on our platform.

    The overwhelming goal is to bring performance and stability improvements to the supersonic platform. The original idea, had a little less scope. I have now broadened its scope to include ICS, GB, and even Sense soon. The project will actually breed a whole line of kernels built for the supersonic with the needs of it's community in mind. Let's breathe some new life into our platform.

    Thanks to the evervolv team without which we wouldn't have ICS on the supersonic at the moment.

    Kernel Features:

    CPU Frequency governors: conservative, ondemand, ondemandX, interactive, interactiveX, smartass, smartassV2, intellidemand, SavagedZen, minmax, lulzactive, lazy, lagfree, userspace, powersave, Lionheart, brazillianwax

    I/O Schedulers: deadline (flash optimized), vr, noop, cfq, bfq, sio

    HAVS, KSM (I series), Ext2/3/4, NTFS

    Variants:

    nosbc - Standard kernel without sbc
    sbc - Smart Battery Control
    hwa - Hardware Acceleration
    fso - File synchronization off

    Note on FSO:

    I provide this without any warranty at all (not that I do with anything else). Yes, fso makes things faster, it's for the speed hungry among you, however there is the potential, however slight that you can get corrupted data on a crash. Do not run this without a proper nand, it's just a bad idea. I haven't personally had any issues, but that doesn't mean that in theory it can't happen. It's a very strong possibility however slight it might be. The price you pay for speed I suppose.

    Note on SBC:

    There are some out there who find sbc and unholy abomination. Though again I have not experienced issues personally, there are some out there that claim that it can damage your battery, particularly the lifetime of the battery. There is data to support both sides of this argument, and I'm not here to go over all that. But be warned that it may cause some battery issues, and take care that you are both advised of the risks and willing to take them for some extra juice.

    TODO:
    Code:
    * Slated for v0.15/6 sense variant. Yeah you heard me, all your kernels r belong to us.
    
    * Slated for v0.15 Various performance optimizations relating to RCU and power consumption.
    
    * Slated for v0.15 2 more governors.
    
    * Slated for v0.15 Backport of cpufreq from linux 3.0.y.
    
    * Slated for v0.2 Merging of the lines to give us one base kernel instead of 2.
    
    * Slated for v0.3 Linux v3.x.x Lot of work to be done here. Lots of 3.x.x code already being back ported.

    Instructions:

    Apply with your custom recovery. Amen Ra Style Recovery 3.11 recommended (But not required).

    Changelog:
    Code:
    v0.14 - Feature/Maintenance -
      * Added brazillianwax cpufreq governor
      * HWA support in the form of variant
      * Tweaks to RCU
      * Additional tweaks to I/O
      * SLQB
      * KSM
      * FSO
    
    v0.12 - Feature release - Catching us up with the nexus lines set of options.
    
      * Added ondemandX cpufreq governor
      * Added interactiveX cpufreq governor
      * Added minmax cpufreq governor
      * Added SavagedZen cpufreq governor
      * Added Lionheart cpufreq governer
      * Added intellidemand cpufreq governer
      * Deadline tuned for better performance with regard to flash based memory
      * Minor code cleanup
    
    v0.10 - Initial release -
    
      * Moved away from the default config and excluded some things that are really only suited for testing reducing overhead.
      * Added Lazy cpufreq governor
      * Added lulzactive cpufreq governor
      * Added ondemand cpufreq governor
      * Added ext2 support
      * Added ext3 support
      * Added ntfs support
      * Enabled SBC.



    Current Builds:

    Mason G series:
    Suitable for non hardware accelerated roms, including gingerbread AOSP roms. Works on things like Decks GB 1.3d, and AOKP ICS.

    G - v0.14 sbc Mirror 1 (Mediafire) MD5 74da6e014bcdae9db3dd4e80463736c4

    G - v0.14 sbc fso Mirror 1 (Mediafire) MD5 e5234c781f2570f81c54e051021bc106

    G - v0.14 nosbc fso Mirror 1 (Mediafire) MD5 8c5bc95fd33afd550a53791ab3fa3f8e

    Mason I series:
    Suitable for hardware accelerated ICS roms. Latest Evervolv preview builds and decks prebetas.

    I - v0.14 sbc Mirror 1 (Mediafire) MD5 78de4224872ca118f671832f2d2359ed

    I - v0.14 nonsbc Mirror 1 (Mediafire) MD5 991741161bbf03468d5c66e8f97390f2

    I - v0.14 sbc fso Mirror 1 (Mediafire) MD5 97b47a4624b3eb714fb2e05350e485c2

    I - v0.14 nonsbc fso Mirror 1 (Mediafire) MD5 9bc6d5e59b92c4943959f66778fe3781

    Mason S series:
    Suitable for gingerbread sense roms.

    (Comming soon)


    Legacy versions:
    Only tested functional on non hardware accelerated roms such as AOKP and Decks GB 1.3d, considered G series Mason.

    G - v0.12 sbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

    G - v0.12 nosbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

    G - v0.10 sbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

    Credits:
    Code:
    preludedrew for the supersonic device tree that makes every supersonic ICS go.
    drewis for so much kernel work it's literally amazing.
    caynairb for such a great base for which us that are playing with the supersonic kernel have to work with.
    cyanogenmod team for kernel tree and all their hard work.
    franciscofranco, faux123 for lots of things kernel related.
    Knzo, Tegrak, Ezekeel, jsseidel, Erasmux, imoseyon, Mike Chan, Venkatesh Pallipadi, Alexey Starikovskiy, for governor work.
    
    ngh55 for logo love.
    
    This list could go on forever.

    My Blog. My GitHub.

    Side note:

    I will try my hardest to maintain both this and the rootzwiki thread as time allows. That said let's keep the discussion pleasant and on the topic of bugs and features supersonic users would like to see either quashed or provided respectively. I feel bad for slightly hijacking the aokp and other ICS threads so lets move the kernel relevant conversation here.
    37
    Useful bug reporting:

    * Include the Rom you are running.
    * Include the kernel version you are running.
    * Include any custom settings you have changed cpu governor/io scheduler/cpufreq scale etc.
    * Include any tweak scripts you may be running.
    * Include any voltage changes you might be running.
    * Include what you expected to happen.
    * Include what really happened.
    * Include if you can reproduce the bug at will.
    * Include logcat and/or any other logging mechanisms you might have available. OS Monitor is a fine choice.
    * Include screenshots if possible/applicable.

    Be as detailed as possible. Good bug reporting is a great way to add to the community, even if you aren't a developer, this is a excellent way to give back.
    19
    One more to be safe.
    17
    This sounds awesome, thanks for all your work on our EVOs. Do you anticipate a release in the upcoming week? I'm not asking for any promises or ETA. Just curious how the progress is coming along.

    Sent from my PC36100 using XDA

    I'm not sure if it will be this week or not. I had some very ambitious plans for 15, but some of those features need extensive performance testing to determine if they are truly valuable on our platform. Zcache for instance, which in theory should improve performance, however I haven't built up enough running data to prove that is so. I have 22 feature branches of my main line that are in various stages of testing for things that may or may not make it into 15 at the moment. Whats in the bag currently for sure: XZ compressed kernel for faster boot time, scary governor, wheatley governor, new crc32 algorithm that uses native c code with a slice by 8 so its wicked fast compared to the lib we were using before and adds a dash of speed to everything from tcp to the filesystem, as well numerous 3.0 code ports.

    Okay can someone update me on all of the governors, I haven't really installed a new kernal since Tiamat 3.3.7 so I'm a little behind. I just want to know what everyone thinks is best for for long battery life but I don't want to sacrifice speed. On Tiamat I used either interactive or conservative depending on the ROM/what I fealt like at the time.

    Thanks
    Urge

    Well you should feel right at home. Mason is a fork of tiamat really, though it seems to move more and more a different direction every day I work on it. The ones you know aren't much different than you remember. The new ones should be covered in the various posts linked in previous posts.

    You might as well use performance. It's effectively the same thing. Lulzactive is broken and stays at max frequency. That's why atyoung isn't including it in the next version.

    Indeed this is true. I think wheatley will be the new hotness on the evo, but that's just me.
    15
    I gotta say man, you've got to be my new favorite dev. The quick updates, replies etc. Just great.

    Sent from my PC36100 using Tapatalk 2

    Just wait till I really get going. ;) I have a rom planned as well as about 5 applications. You'll be seeing a lot from me here in not too long.

    Sent from my HTC Evo 4G using XDA