[KERNEL][AOSP][EXT4] Kang Bang! 7/12/2011 [BFS/CFS][OC/UV][BFQ]

Search This thread

drod2169

Senior Member
Feb 19, 2010
224
106
Tampa, FL
Here we go guys, new version of my BFS AOSP kernel (sense to come)

Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff ;) )

Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.

KangBang 0.8
  • Kanged workqueue 2.6.36.1 backport from Imoseyon
  • Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
  • Couple other adjustments
  • Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
    during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
  • Swap cache dropped more agressively via ck1 patch
  • More compiler optimizations
  • Decrease default dirty ratio via ck3 patch
  • Enable swaptoken only when swap is full via ck3 patch
  • Wifi voltage lowered
  • 2.6.39 Conservative governor backported
  • Call Recording support added
  • 2.6.39 bcm4329 (wifi) driver backported
  • Mecha: Add gan sound device.
  • Mecha: Allow varying of button backlight levels.
  • Mecha: Allow disabling of the back mic.
  • Mecha: Add gan sound device
  • Mecha: wifi: Improve BT-coex in A2DP mode


KangBang 0.7:
  • Added SmartAss back
  • Ondemand and interactive have sleep profiles again
  • Sound fix from birdman included
  • SLQB Memory Allocator re-added

KangBang 0.6:
  • Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
  • There are a LOT of changes/additions.
  • Theres a new RCU boost, which is proving to be nice so far.
  • Changed the memory allocator to SLUB until I get SLQB ported in
  • As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
  • The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys :)
  • Lowered RR_Interval to 6 to increase latency. Might drop it to 4
  • Neon and VFP optimizations
  • OnDemand governor Threshold adjustments
  • CONFIG_HZ=300 instead of 100
  • Add Tiny Preempt RCU
  • RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
  • Sound tweaks credit to CodeAurora/Birdman
  • GPU Memory allocation raised
  • Numerous fixes from CM kernel source



KangBang 0.5:
Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
Reverted to my old config file, as the extra slim one broke certain apps
Stabilized voltages

KangBang 0.4:
  • Full wifi/settings/MMS/etc. fix credit to beavis9k!!
  • Added V/R I/O Scheduler (still using BFQ as default for now)
  • BT Audio volume raised (Credit to Slayher)
  • Prevent memory leak on hotplug (thx Pershoot)
  • GPU/Camera memory allocations raised
  • Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.

Initial release, 0.3:
Feature packed for the first release.
  • 2.6.35.13 (latest upstream linux kernel)
  • System/Data/Cache mounted EXT4
  • Numerous EXT4 file system tweaks
  • Overclock up to 1.8 Ghz
  • Undervolted for battery life/stability
  • BFS v404 (HUGE performance increase from the v3xx BFS series)
  • Tiny RCU
  • SLQB Memory Allocator
  • BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
  • Kernel speed defaulted to 1024, stock tbolt speed
  • OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
  • Wifi driver updated to latest AOSP driver
  • AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
  • MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
  • Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
  • Numerous BFS tweaks for better performance, and better support for android.
  • SD Card read-ahead buffer increased
  • FS read-ahead buffer increased
Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)


Whew. Pretty hefty initial release.

Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else :)
http://bit.ly/lSXnZx

Now to the goodies:

Download link:
BFS:
http://bit.ly/nHxIV1
CFS:
not yet updated

Broken list in 2nd post, To Do List with it.

For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169

If you like my work, please consider helping support my red bull addiction!
http://bit.ly/k5swff
 
Last edited:

drod2169

Senior Member
Feb 19, 2010
224
106
Tampa, FL
Broken:

Car dock.

To Do List:
  1. Sense/GB Sense/AOSP specific defconfigs
  2. Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
  3. Add extra frequencies one at a time to make sure it will boot (WIP)
 
Last edited:
  • Like
Reactions: xebryus

dc iz 2 legit

Senior Member
Apr 27, 2011
338
11
Looks like I have a new kernal to try out


Do I overclock the same way I overclock on IMO
Sent from my ThunderBolt using XDA App
 
Last edited:

dvation191

Senior Member
Jul 16, 2010
110
0
Looking forward to the sense version - unless of course the cell standby battery drain issue is no longer there on CM7 using this kernel.
 

dc iz 2 legit

Senior Member
Apr 27, 2011
338
11
Installed came from dream kernal...so far so good has alot of overclock options I'm on stock speeds right now right of the bat I notice its charging really quickly, no apps uninstalled yet

Edit: wifi connected right away but right when I turned it of had 3g
green but no data did reboot with wifi off and fixed

Edit: battery is really good on this kernal I'm getting 10min per percentage on medium to heavy use
Sent from my ThunderBolt using XDA App
 
Last edited:

msburr87

Senior Member
Aug 17, 2010
305
65
Chandler, AZ
Wow man running super fast, wasn't planning on leaving stock, but this has surpassed my expectations. Thanks a lot!

Sent from my ThunderBolt using XDA App
 
  • Like
Reactions: exige27

Derrtydozen

Senior Member
Nov 29, 2010
165
8
New Mexico
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life

Sent from my ThunderBolt using XDA App
 

dickenam

Senior Member
Dec 14, 2010
551
219
Portland, OR
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life

Sent from my ThunderBolt using XDA App

From what I can tell, data handoff seems to be A LOT LESS flaky than on other kernels. Battery life will the true test for me.

Unrelated but related: Anyone have LPP FC upon EVERY reboot now? Works fine after it has been restarted.

I have experienced this across kernels/voltages/governors/CPU freq.
 

Bimmer323

Senior Member
Apr 16, 2010
528
21
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?

Thanks!!!!

Sent from my ThunderBolt using XDA Premium App
 

Derrtydozen

Senior Member
Nov 29, 2010
165
8
New Mexico
I stand corrected, data is working fine, WiFi is working fine, battery seems good. The true test for battery will be tomorrow for work

Sent from my ThunderBolt using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Here we go guys, new version of my BFS AOSP kernel (sense to come)

    Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff ;) )

    Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.

    KangBang 0.8
    • Kanged workqueue 2.6.36.1 backport from Imoseyon
    • Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
    • Couple other adjustments
    • Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
      during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
    • Swap cache dropped more agressively via ck1 patch
    • More compiler optimizations
    • Decrease default dirty ratio via ck3 patch
    • Enable swaptoken only when swap is full via ck3 patch
    • Wifi voltage lowered
    • 2.6.39 Conservative governor backported
    • Call Recording support added
    • 2.6.39 bcm4329 (wifi) driver backported
    • Mecha: Add gan sound device.
    • Mecha: Allow varying of button backlight levels.
    • Mecha: Allow disabling of the back mic.
    • Mecha: Add gan sound device
    • Mecha: wifi: Improve BT-coex in A2DP mode


    KangBang 0.7:
    • Added SmartAss back
    • Ondemand and interactive have sleep profiles again
    • Sound fix from birdman included
    • SLQB Memory Allocator re-added

    KangBang 0.6:
    • Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
    • There are a LOT of changes/additions.
    • Theres a new RCU boost, which is proving to be nice so far.
    • Changed the memory allocator to SLUB until I get SLQB ported in
    • As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
    • The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys :)
    • Lowered RR_Interval to 6 to increase latency. Might drop it to 4
    • Neon and VFP optimizations
    • OnDemand governor Threshold adjustments
    • CONFIG_HZ=300 instead of 100
    • Add Tiny Preempt RCU
    • RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
    • Sound tweaks credit to CodeAurora/Birdman
    • GPU Memory allocation raised
    • Numerous fixes from CM kernel source



    KangBang 0.5:
    Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
    Reverted to my old config file, as the extra slim one broke certain apps
    Stabilized voltages

    KangBang 0.4:
    • Full wifi/settings/MMS/etc. fix credit to beavis9k!!
    • Added V/R I/O Scheduler (still using BFQ as default for now)
    • BT Audio volume raised (Credit to Slayher)
    • Prevent memory leak on hotplug (thx Pershoot)
    • GPU/Camera memory allocations raised
    • Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.

    Initial release, 0.3:
    Feature packed for the first release.
    • 2.6.35.13 (latest upstream linux kernel)
    • System/Data/Cache mounted EXT4
    • Numerous EXT4 file system tweaks
    • Overclock up to 1.8 Ghz
    • Undervolted for battery life/stability
    • BFS v404 (HUGE performance increase from the v3xx BFS series)
    • Tiny RCU
    • SLQB Memory Allocator
    • BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
    • Kernel speed defaulted to 1024, stock tbolt speed
    • OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
    • Wifi driver updated to latest AOSP driver
    • AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
    • MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
    • Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
    • Numerous BFS tweaks for better performance, and better support for android.
    • SD Card read-ahead buffer increased
    • FS read-ahead buffer increased
    Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)


    Whew. Pretty hefty initial release.

    Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else :)
    http://bit.ly/lSXnZx

    Now to the goodies:

    Download link:
    BFS:
    http://bit.ly/nHxIV1
    CFS:
    not yet updated

    Broken list in 2nd post, To Do List with it.

    For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169

    If you like my work, please consider helping support my red bull addiction!
    http://bit.ly/k5swff
    3
    Sorry for double post, but update coming tonight with full wifi fix.
    2
    besides my WPA2 wifi not working this kernel is awesome. switch between 4g and 3g is quick and relatively painless, audio is loud and clear, battery is good.

    I just hope the wifi gets fixed soon :)

    Fixed already, run 0.5 :)
    2
    Ok, so to OC I would use SetCPU or CM settings right? I guess I could use the Viper Mod to change the voltages...

    yes and yes. speedtweak is imoseyon's work. it's nice, but this kernel isn't trying to kangbang original work :) setcpu/cm settings work fine for adjusting clock speeds, etc.

    i have other plans for a voltage changer type thing. there are plans to make the kernel completely customizable via other methods than say, viper mods or speedtweak.sh :)
    1
    Broken:

    Car dock.

    To Do List:
    1. Sense/GB Sense/AOSP specific defconfigs
    2. Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
    3. Add extra frequencies one at a time to make sure it will boot (WIP)