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][3.0.70][AOSP-JB] KangBang-Kernel v3.3 | Krown Butter Edition

OP synergye

11th October 2012, 10:02 AM   |  #1  
synergye's Avatar
OP Senior Member
Thanks Meter: 8,300
 
1,526 posts
Join Date:Joined: Jul 2010
Donate to Me
Hi! Some of you may recognize me as the lead developer of CM10 nightlies for ace, and the codefireX nightlies, as well as the Andromadus Ace maintainer. I have decided to branch off the main kernel of the CM10 nightlies and codefireX nightlies due to some performance changes which don't seem to run on all devices. There may also be some more experimental patches included here prior to in the stable branch. This is due to working on making that kernel branch more stable for CM official and ALL users. Now all the boring stuff is out of the way ...Zanzibar (ZanzDroid), I'm sorry for this breaking our post:thanks experiment.

DISCLAIMER: I AM NOT RESPONSIBLE FOR PHONES ON FIRE, BLACK EYES, FINDING YOUR PHONE IN ORIFICES SURPRISINGLY, FRIED PHONES, YOUR CAT DYING, OR YOUR KID DOING A LINE OF BATH SALTS AND EATING YOUR FACE. THIS IS MEANT FOR JELLY BEAN AND AS EXPERIMENTAL AS THAT ONE DRUNKEN NIGHT IN COLLEGE.

RandomBlame's CM builds ARE NOT OFFICIALLY SUPPORTED! This means please don't post that it doesn't boot if you're running one of his builds. I'm not at all interested in closed source development, so I will not troubleshoot

FEATURES:
  • Generally kept up to date with any new CM and QCom CAF display patches
  • Always up to date with Linux Kernel 3.0* releases
  • Built with the custom cfX-Toolchain. Check the toolchain changelog below for more info
  • VDD SysFS interface for voltage modification
  • Dynamic file syncing
  • Fast Charge on demand (check the section below for full usage instructions)
  • Two way call recording support
  • VERY aggressive bus clocks
  • FINALLY giving the performance of 2.6 back to us
  • Everything else you're used to in the nightlies, and I'm already boring myself writing this

Kernel Changelog:
Code:
v3.3:
  • Patched to LK 3.0.70
  • kernel common bcmdhd (wifi) driver via paulb-nl (fixed wifi related reboots)
  • fixed charging led behavior via paulb-nl
  • Some interactive changes from fyodor and upstream aosp kernel/common
  • block driver changes
  • switched to SIO by default
v3.2:
  • Patched to LK 3.0.66
  • Built with cfX-Toolchain 4.7-2013.2-1 (check kernel changelog)
v3.1:
  • Patched to LK 3.0.63
  • Patched BFQ to backported BFQv6
  • Switched IO Scheduler to BFQ by default
v3.0:
  • Upstream sync changes
  • Patched to LK 3.0.62
  • Switched to upstream lzo from xz (far faster and size doesn't matter <<<men take note)
  • A ton of optimizations from 3.4 kernel upstream, mostly vsprintf and assembly
  • BIG update, so check github for full commit log
  • Name courtesy of Lexmazter
v2.8.1:
  • Actually v2.8 and wifi fixed (new zip packing script)
v2.8:
  • Various compiling optimizations (cflags)
v2.7:
  • Patched to linux kernel 3.0.61
  • TONS of other stuff (too drunk for full changelog)
v2.5:
  • Increased pmem sizes back to the pre-vision sizes to hopefully fix the reboot issue
v2.4:
  • Built with cfX-Toolchain 4.7-2013.1-1 (check toolchain changelog below)
  • Patched to linux kernel 3.0.59 (check github for lk changelog)
  • SIO default IO scheduler again
  • BT up to date with CAF again
  • Implemented suspend/resume for cpufreq driver from CAF 3.4 kernel mako kernel
  • Dynamic fsync ported and enabled by default from faux123's android 3.4 mako kernel
v2.3:
  • Interactive gov up to date with AOSP kernel common and has a few tweaks by fyodor (juansheng)
  • Redid the lower voltages
  • Interactive gov is default and the recommended governor on SR4 and higher of cfX 4.2, or other roms which use a generic qcom PowerHAL
  • Edition name by Mustaavalkosta
v2.2:
  • Increase Pmem sizes (should fix random reboots)
  • Increase some parameters governing the random number generator
  • Switched to EBI0 from EBI1
  • Qdsp5v2: misc fixes
v2.1:
  • Built with cfX-Toolchain 4.7-2013.01 (check toolchain changelog below).
  • Patched to linux kernel 3.0.58
  • msm: cpufreq: Fix store_powersave_bias to account for sync' CPUs.
  • cpufreq: Add cpu utilization statistics to aid decisions made by user
  • msm: cpufreq: Fix the race between dbs_refresh and hotplug.
  • Input: Send events one packet at a time
  • msm_fb: Use an exclusive semaphore for Vsync IOCTL
  • msm: vidc: Fix buffer pool index
  • video: msm: Remove old post processing overlay integration
  • msm_fb: Avoid memset of frame buffer during early suspend
  • msm_fb: Update backlight level on resume after first pan display
  • msm_fb: display: Add timeout for waiting on update
  • Killer Bee name by Mustaavalkosta
v2.0:
  • Patched all the way up to linux kernel 3.0.57 (check git for full changelog)
  • New memory layout from fyodor's vision layout (gives 620mb available to system instead of 594mb)
  • Tons of CAF kgsl & video/fb commits
  • Lots of various staging commits
  • Some block changes
  • Added a perf defconfig, so only one branch is used now
v1.9:
  • Patched to linux kernel 3.0.54 (check git for full changelog)
v1.8:
  • patched to linux kernel 3.0.53 (check git for full changelog)
  • a few CAF video commits (check git for full changelog)
  • "Vertical line" bug fixed by paulb-nl
  • Headset button support fixed by ucxl
v1.7:
  • patched to linux kernel 3.0.52 (check git for full changelog)
  • quite a few CAF video commits (check git for full changelog)
v1.6:
  • Power imported from CAF
  • LOTS of kgsl/video/FB commits from CAF and CM's d2 kernel (for full changelog check git)
v1.5:
  • Patched to linux kernel 3.0.51
  • LOTS of android staging commits
v1.4:
  • [PERFORMANCE VARIANT] Re-enabled my aggressive bus oc config that somehow got disabled
  • regenerated the defconfig (kernel config) to include new Linux Kernel options
v1.3:
  • I patched to linux kernel 3.0.50
  • sched: Folding nohz load accounting more accurate
  • mmc: host: sdhci: Allow use of controller's native max blocksize
  • block/deadline: tweaked for better performance on android
  • Asynchronous I/O latency to a solid-state disk greatly increased
  • staging: android/lowmemorykiller: Do not kill kernel threads
  • SCHEDULER: Autogroup patch group by current user android UID instead of task id
  • lib: genalloc: back to CAF's version
v1.2:
  • Using -mfloat-abi=hard again (benefits performance in both kernels. Some devices may not boot the performance kernel again).
  • Built with the newest CFX-Toolchain (linaro gcc4.6.3 instead of 4.7.3 due to performance). Read HERE to see how it differs from AOSP or Linaro's.
  • 1031 and higher of codefireX nightlies are also using this custom toolchain, so no need to flash stable on top of 1031 or higher.
v1.1:
  • [*patched to linux kernel 3.0.49. Changelog available HERE
  • mm: slab: update (simonsimons34)
  • Revert "Updated DS2746 battery driver" (paulb_nl - from my quick testing it seems to have fixed the battery jumps)
  • bcmdhd: allow only unicast packets when screen is off (paulb_nl)
  • lcdc_spade: spade_panel_sleep_in: do nothing (paulb_nl)
v1.0:
  • Reverted back to the heavily patched bfqv4 due to performance
  • Drop swap cache aggressively
  • Swaptoken only when swap full (better swap performance when swap is over half full)
v0.9:
  • Using CFX-Toolchain (4.7.3). Info can be found HERE
  • Patched BFQ to v5
  • Using new cflag optimizations
  • Some CAF display commits
  • zRam bug fixes
v0.8:
  • I patched to Linux Kernel 3.0.48. Full changelog available in the github commit message.
v0.7:
  • Imported CAF's ondemand gov
  • I patched to Linux Kernel 3.0.47
  • DeathRay Flashlight mode (very bright) now works
v0.6 (NO RandomBlame CM builds or nightlies older than 1016 will not be officially supported due to new qcom api):
  • Spent hours porting 32 fb/video/display commits to bring up to date with CAF and CM's samsung d2 kernel for the new QCom Display API (fast as ****)
  • Add full boost pulse support to interactive gov
  • USB and unknown chargers now use HTC's AC ChargeMode. This means it uses HTC's AC temperature limits, and will switch to USB cable status if too hot. This is the best of both worlds and the same as plugging into your AC charger.
  • Convert any oom_adj values to oom_score_adj values for backward compatibility.
  • Update rotator to with CAF's jb_chocolate rotator changes.
  • staging: android: lowmemorykiller: Don't count reserved free memory
  • cpufreq: interactive: run at fraction of hispeed_freq when load is low (final interactive commit to bring up to date with Google's interactive gov)
v0.5.1:
  • This is a stable kernel only change for stability (performance kernel is the same as v0.5)
  • Revert "arm: msm7x30: 1 higher pll2 clockstate to 1.7GHz+"
v0.5:
  • No more ****ty fast charge scripts (read new info).
  • Fast Charge now enabled by default on non usb storage devices (great for cheap car/wall chargers)
  • Added additional bus clockstate to stable kernel
v0.4.2:
  • Fixed the fast charge set on/off boot scripts FOR REAL
v0.4.1:
  • Fixed the fast charge set on/off boot scripts
v0.4:
  • Added fast charge, with enable/disable options
  • Made 1996/2016MHz clockstates more stable (at least for benchmarking)
v0.3:
  • I patched up to 3.0.46 Linux Kernel. Check either github link and click that commit for the full changelog listed in the commit summary.
v0.2:
  • Stability Improvements (reboot/blackscreen bug). These changes will be in the new nightlies as well. If you can't run the performance kernel, you still won't be able to. Stick with the nightlies or the "stable" kernel if on another JB build.
Toolchain Changelog:
Code:
cfX-Toolchain 4.7-2013.2-1:
  • GCC updated to gcc-linaro-4.7-2013.02
cfX-Toolchain 4.7-2013.1-1:
  • GCC updated to gcc-linaro-4.7-2013.01
cfX-Toolchain 4.7-2013.1:
  • Cloog updated to 0.18.0
  • Ppl updated to 1.0
cfX-Toolchain 4.7-2012.12-2:
  • Gdb updated to linaro-7.5-2012.12-1
  • Mpc updated to 1.0.1
cfX-Toolchain 4.7-2012.12:
  • Disabled simulator target and tui
  • Graphite enabled
  • Linaro gcc-4.7-2012.12
  • Linaro gdb 7.5-2012.09
  • Binutils 2.22
  • Gmp 5.0.5
  • Mpfr 3.1.1
  • Cloog 0.17.0
  • Mpc 1.0
Thanks and Credits:
  • IOMonster
  • KozmikKick
  • Faux123
  • MDeejay
  • ShowP1984
  • Cayniarb
  • ToastCFH
  • Kali-
  • Intervigil
  • eXistZ
  • CodeAuroraForum
  • Bhanvidia
  • DeamonFish
  • MrSchapps
  • Kraizk
  • ALL Team Codefire members
  • Google
  • KushDeck
  • Aus_azn
  • BananaCakes
  • Contactwajeeh
  • Rafyvitto
  • dumpsta
  • cruzin_cruzin
  • zacgoesrawr
  • Zanzibar
  • crackajack
  • Zelendel
  • daspazz
  • jenkem110
  • paulb_nl
  • Virtuous Team
  • Andromadus Team
  • CyanogenMod Team (all maintainers included)
  • anyone I forgot
Like my work? Feel free to buy me a beer for early morning dev HERE
LTC: LPEvPYYgHorueAitXXzRHn92TYjgfACDbY


The KB-Performance github
The KB-Stable github
THE PERFORMANCE VARIANT WON'T WORK ON ALL DEVICES. THE STABLE WILL, BUT IS ALREADY INCLUDED IN NIGHTLIES(when built)
Download Stable Kernel
Download Performance Kernel
Last edited by synergye; 28th March 2013 at 10:36 PM. Reason: v3.3
The Following 177 Users Say Thank You to synergye For This Useful Post: [ View ]
11th October 2012, 10:09 AM   |  #2  
ayham-dj's Avatar
Senior Member
Thanks Meter: 97
 
393 posts
Join Date:Joined: Jan 2011
More
Any plans for SENSE Kernels ??
The Following User Says Thank You to ayham-dj For This Useful Post: [ View ]
11th October 2012, 10:12 AM   |  #3  
synergye's Avatar
OP Senior Member
Thanks Meter: 8,300
 
1,526 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by ayham-dj

Any plans for SENSE Kernels ??

I think 4.1.1 is too old to use with 4.1.2 out now, so I really don't see myself making a kernel for old sense roms at all. Also there are issues with the video/kgsl drivers in this kernel and old sense roms.
Edit: We're going to be on ION soon anyway which won't boot on most pmem roms.
The Following 24 Users Say Thank You to synergye For This Useful Post: [ View ]
11th October 2012, 10:15 AM   |  #4  
pnoire's Avatar
Senior Member
Thanks Meter: 2,073
 
1,906 posts
Join Date:Joined: Oct 2009
More
yeah synergye!

Downloading now.. i can't wait to test your performance kernel !!
Thank a lot for your awesome work for our device abandoned by HTC !
The Following 2 Users Say Thank You to pnoire For This Useful Post: [ View ]
11th October 2012, 10:19 AM   |  #5  
hdorius's Avatar
Senior Member
Thanks Meter: 630
 
941 posts
Join Date:Joined: Jan 2011
More
Welcome back synergye...:beer:

Sent from my HTC Desire HD using Tapatalk 2
11th October 2012, 10:25 AM   |  #6  
Senior Member
Flag Mayen
Thanks Meter: 17
 
377 posts
Join Date:Joined: Oct 2011
can you add slide 2 wake to the kernel ?

http://forum.xda-developers.com/show....php?t=1346760

this would be awesome!
The Following User Says Thank You to rikusuicide For This Useful Post: [ View ]
11th October 2012, 10:35 AM   |  #7  
synergye's Avatar
OP Senior Member
Thanks Meter: 8,300
 
1,526 posts
Join Date:Joined: Jul 2010
Donate to Me
RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P

Quote:
Originally Posted by rikusuicide

can you add slide 2 wake to the kernel ?

http://forum.xda-developers.com/show....php?t=1346760

this would be awesome!

I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.
The Following 5 Users Say Thank You to synergye For This Useful Post: [ View ]
11th October 2012, 11:17 AM   |  #8  
Member
Flag West Kilbride
Thanks Meter: 24
 
93 posts
Join Date:Joined: Feb 2007
More
Thanks for this - just downloaded and about to install
11th October 2012, 11:45 AM   |  #9  
pnoire's Avatar
Senior Member
Thanks Meter: 2,073
 
1,906 posts
Join Date:Joined: Oct 2009
More
Quote:
Originally Posted by synergye

RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P



I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.

Ouahh.. i've done two tests with AnTuTu
first test : only CPU and memory --> 2932
second: all test --> 4619

not bad for a DHD (max freq CPU set at 1920MHz of course
The Following User Says Thank You to pnoire For This Useful Post: [ View ]
11th October 2012, 02:03 PM   |  #10  
Senior Member
Flag Mayen
Thanks Meter: 17
 
377 posts
Join Date:Joined: Oct 2011
Quote:
Originally Posted by synergye

RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P



I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.

sad

Post Reply Subscribe to Thread

Tags
dopest dope you've ever smoked, kang 'n bake, kangbacon, kangbang, sorry zanzibar
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes