Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
3 votes

[KERNEL][WIP] Mason kernel for supersonic v0.14

kernel ics supersonic wip
  • Please log in to reply

OP atyoung

atyoung

Mason Kernel Guy

Posted 13 March 2012 - 04:15 PM #1

Posted Image

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:
* 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:
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 nonsbc 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 nonsbc - Mirror 1 (dev-host) Mirror 2 (mediafire)

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

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

Edited by atyoung, 17 May 2012 - 01:47 PM.

  • 5 Likes
-=- All your supersonics R belong to us. -=- Freenode @ #masonic
Supersonic ROM: AOKP b38+ KERNEL: Mason SA v1.1
Supersonic ROM: CNC aka (Codename: Christina) v-0.0.19a2 KERNEL: Mason D v-dev46 sbc fso
Galaxy Nexus ROM: AOKP v-b38 KERNEL: Mason NI 0.16d fso

OP atyoung

atyoung

Mason Kernel Guy

Posted 13 March 2012 - 07:24 PM #2

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.

Edited by atyoung, 16 March 2012 - 09:00 AM.

  • 1 Likes
-=- All your supersonics R belong to us. -=- Freenode @ #masonic
Supersonic ROM: AOKP b38+ KERNEL: Mason SA v1.1
Supersonic ROM: CNC aka (Codename: Christina) v-0.0.19a2 KERNEL: Mason D v-dev46 sbc fso
Galaxy Nexus ROM: AOKP v-b38 KERNEL: Mason NI 0.16d fso

smallba

smallba

Member

Posted 13 March 2012 - 08:18 PM #3

Some people are getting unsuccessful downloads from your link, just a heads up
  • 0 Likes

Phone: HTC JEWEL•0003 Rom: viperROM eLiTE 1.2.1

Tablet: Elocity A7 Tablet Rom: Dexter_nib CyanogenMod7RC1

Retired Phone: HTC SUPERSONIC•0004 Rom: Mazda's CM9 Kernel: Mason I 0.15RC3 SBC +Vipermod -50

Retired Phone: HTC Diamond TouchRom: EnergyROM


aheeejd

aheeejd

Member

  • 83 posts

Posted 13 March 2012 - 08:39 PM #4

Ya, I got a dl unsuccessful using stock browser & 2 reboots using Opera. Found a mirror from xda open kang thread.
  • 0 Likes

OP atyoung

atyoung

Mason Kernel Guy

Posted 13 March 2012 - 09:30 PM #5

Some people are getting unsuccessful downloads from your link, just a heads up


Fair enough will post a mirror somewheres. Not sure what the issue is with dev-host.
  • 0 Likes
-=- All your supersonics R belong to us. -=- Freenode @ #masonic
Supersonic ROM: AOKP b38+ KERNEL: Mason SA v1.1
Supersonic ROM: CNC aka (Codename: Christina) v-0.0.19a2 KERNEL: Mason D v-dev46 sbc fso
Galaxy Nexus ROM: AOKP v-b38 KERNEL: Mason NI 0.16d fso

OP atyoung

atyoung

Mason Kernel Guy

Posted 13 March 2012 - 10:02 PM #6

Ya, I got a dl unsuccessful using stock browser & 2 reboots using Opera. Found a mirror from xda open kang thread.


Not sure how I feel about making a thread there, I might if the demand is there, thanks for the heads up on the dev-host mirror.

I don't meet the post criteria for xda to let me post in the dev section, so any feed back is going to have to come here.

To answer a few questions in the aokp thread, this kernel and the first SBC post I did are most certainly not the same as what's posted as tiamat proper. The configurations are quite different, as is the source base. The tiamat available there is actually on a different train than the prebuilts included in aokp which is actually behind evervolvs base at the moment. I took great care to make sure I was using a similar base to what aokp was using as their kernel base at the time, which is actually code that's some 2 months old or more. ( not a bad thing, the newer stuff slows aokp to a crawl, don't believe me? flash decks kernel on top of aokp and see for yourself )

With regard to HWA as I've stated in other threads on various forums, the kernel is not the only factor in HWA. Deck has been working on the framework layer which includes the openGL stuff we need to get HWA working properly. That framework hasn't been put in anything not evervolv related that I am aware of other than of course his own rom. I will put out HWA capable Mason kernels when there is a point in doing so, but right now HWA is not the standard for our device till more hacking is done at the framework level. We also have to consider linux 3 which will be along soon for the supersonic and change a few things. There is still a ton of catching up to do on the supersonic, something only time will cure.

Patience is all I can ask, a few nice Mason kernels is just what the community around the evo4g needs to keep everyone busy while work is being done on better HWA and the like.

Try the new schedulers that to my knowledge weren't available on the supersonic before, let's see some performance data off of them. I'll port more things over from the nexus line to the evo and see just how long we can stretch the device.

Edited by atyoung, 13 March 2012 - 10:40 PM.

  • 0 Likes
-=- All your supersonics R belong to us. -=- Freenode @ #masonic
Supersonic ROM: AOKP b38+ KERNEL: Mason SA v1.1
Supersonic ROM: CNC aka (Codename: Christina) v-0.0.19a2 KERNEL: Mason D v-dev46 sbc fso
Galaxy Nexus ROM: AOKP v-b38 KERNEL: Mason NI 0.16d fso

smallba

smallba

Member

Posted 13 March 2012 - 11:00 PM #7

If you don't mind me asking but wat exactly kind of scaling does the lazy scheduler and lulzactive scheduler do? This is the first time seeing these on a evo kernel

Edit: this helped alot

[REF][TWEAKS]Kernel Governors, Modules, I/O Schedulers, CPU Tweaks

http://forum.xda-dev...d.php?t=1369817

Edited by smallba, 13 March 2012 - 11:14 PM.

  • 0 Likes

Phone: HTC JEWEL•0003 Rom: viperROM eLiTE 1.2.1

Tablet: Elocity A7 Tablet Rom: Dexter_nib CyanogenMod7RC1

Retired Phone: HTC SUPERSONIC•0004 Rom: Mazda's CM9 Kernel: Mason I 0.15RC3 SBC +Vipermod -50

Retired Phone: HTC Diamond TouchRom: EnergyROM


OP atyoung

atyoung

Mason Kernel Guy

Posted 13 March 2012 - 11:50 PM #8

If you don't mind me asking but wat exactly kind of scaling does the lazy scheduler and lulzactive scheduler do? This is the first time seeing these on a evo kernel

Edit: this helped alot

[REF][TWEAKS]Kernel Governors, Modules, I/O Schedulers, CPU Tweaks

http://forum.xda-dev...d.php?t=1369817


Yep all those are coming to mason. And one or two more actually. Which is just the beginning.
  • 0 Likes
-=- All your supersonics R belong to us. -=- Freenode @ #masonic
Supersonic ROM: AOKP b38+ KERNEL: Mason SA v1.1
Supersonic ROM: CNC aka (Codename: Christina) v-0.0.19a2 KERNEL: Mason D v-dev46 sbc fso
Galaxy Nexus ROM: AOKP v-b38 KERNEL: Mason NI 0.16d fso

94tbird

94tbird

Average Android

  • 8 posts

Posted 14 March 2012 - 06:00 AM #9

ive just got to say, this is the most amazing kernel i have used yet. It took my ICS Rom, and completely vaulted it over my CM7's speed. My CM7 was so fast, most people were impressed, but this is far, far better. 2 of my 3 wishes has been answered. speed and SBC. Now im patiently waiting for HWA so my NHL app will play video again lol

Edited by 94tbird, 14 March 2012 - 06:01 AM.

  • 0 Likes

deepsouth6

deepsouth6

Average Android

  • 2 posts

Posted 14 March 2012 - 07:12 AM #10

I just flahed the tiamat-sbc Kernel early this morning. Would flashing this mason kernel over the sbc kernel be wise. Also if I am reading correctly this Mason Kernel had been developed specifically for the supersonic right where as the tiamat-sbc wasn't?
  • 1 Likes