Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
22 votes

[Kernel] [JB 4.3] [v8.2, 8/23/13] Leankernel: Minimalistic Kernel

  • Please log in to reply

OP imoseyon

imoseyon

Developer

Posted 26 December 2011 - 09:35 AM #1

This is a minimalistic Galaxy Nexus kernel. My philosophy is to keep the kernel as lean and stable as possible, at the same time to keep the kernel as modern and close to latest mainstream linux as possible. You will see that my kernels will lack some of the bells and whistles from other kernels.

DOWNLOAD
  • Terminal Emulator not finding my scripts? Read this post.
FEATURES
  • Patched to latest in Linux 3.0.x branch.
  • All unnecessary kernel components removed to make kernel lean and fast!
  • OC to 1.65ghz. Boot speed is maxed at 1.2ghz within kernel (in addition to ramdisk) for stability.
  • User voltage control
  • InteractiveX V2 (screen-off hotplug of cpu1) added. Select it using setcpu if you want to use it.
  • Ramdisk tweaks (sysctl, vm, filesystem speed, etc.)
  • SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.
  • init.d support in ramdisk.
  • lk.conf for basic kernel configuration.
  • HotplugX governor (Hotplug optimized and modified for screen-off suspend).
  • wakelock tweaks for wlan and lte modem
  • lkflash - script to flash latest versions of leanKernel from Terminal (type "su" without quotes, hit enter, then type "lkflash" without quotes and then hit enter)
  • checkv - voltage checking script (for custom undervolting) - detailed at bottom of this post.
  • checkt - script that displays 1) your current temp, 2) # of times you were throttled due to temp "recently", 3) CPU trim type, and 4) CPU silicon type, etc. (sample output)
  • Fast USB charge (by chad0982) and "ffc" toggle script by me. (Open terminal, and type "ffc" without quotes then enter)
  • ColorControl from both CM9 and Ezekeel (compatible with all ROMs). Helpful posts: 1and 2.
  • TempControl - sysfs interface to control the CPU temp threshold. Read these two posts: 1 and 2.
  • Variable GPU OC - sysfs interface to select GPU max speed between 307MHz (stock), 384MHz and 512Mhz. The changes take effect immediately. Check FAQ for more info and how to use it.
  • Custom SR Tuning - override kernel default minimum voltage for SR calibration. More info here and here. V2
  • SoundControl
  • Gamma Control
  • ROW scheduler v4
CHANGE LOG JB 4.3
CHANGE LOG JB 4.2

DIRECTIONS
Uh.... flash the zip in clockworkmod.

FAQ

SOURCE
github

Thanks to forum member maddler for providing file hosting: http://www.host4droid.com/

Donate to your favorite charity, or donate to me.

Edited by imoseyon, 23 September 2013 - 08:15 PM.

  • 56 Likes

joshnichols189

joshnichols189

Android Beginner

  • 14 posts

Posted 26 December 2011 - 10:11 AM #2

About to load this up! Loved your work on the Thunderbolt, glad to see you developing here too!
  • 0 Likes

paratox

paratox

Member

Posted 26 December 2011 - 10:53 AM #3

zImage anykernel format update.zip would be nice!
  • 0 Likes

OP imoseyon

imoseyon

Developer

Posted 26 December 2011 - 01:57 PM #4

zImage anykernel format update.zip would be nice!


I modify my ramdisk pretty heavily actually, so one could extract the zImage from my zip file and make an anykernel version out of it but you wouldn't get the true leankernel experience that way.
  • 0 Likes

GchildT

GchildT

Member

Posted 27 December 2011 - 06:55 AM #5

What are the benefits of this...

SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.


on the Galaxy Nexus. Why do we need SWAP/compcache. The device has plenty of memory....
  • 0 Likes

OP imoseyon

imoseyon

Developer

Posted 27 December 2011 - 08:49 AM #6

What are the benefits of this...

SWAP & zram (next generation compcache) support. Run "zram enable" in terminal.


on the Galaxy Nexus. Why do we need SWAP/compcache. The device has plenty of memory....


Good question. I think the jury's still out whether zram is going to help on the gnexus. I don't think it will hurt. Having zram enabled (by running my script) will definitely keep your apps around in memory longer. If that's the desired effect you should give it a try.
  • 0 Likes

OP imoseyon

imoseyon

Developer

Posted 27 December 2011 - 08:16 PM #7

Ok here's exp3: http://cl.ly/Ctvi

This version includes interactiveX V2. It's interactive with early_suspend (screen off) support, and when it suspends it hotplugs out cpu1! In other words, it shuts down the cpu entirely. Then when screen is turned on, cpu1 hotplugs back in.

This should be the best of both worlds between interactive and hotplug, if it's stable.

It's experimental so use it at your own risk.
  • 1 Likes

mdeevee

mdeevee

Android Junkie

Posted 28 December 2011 - 11:39 PM #8

Ok here's exp3: http://cl.ly/Ctvi

This version includes interactiveX V2. It's interactive with early_suspend (screen off) support, and when it suspends it hotplugs out cpu1! In other words, it shuts down the cpu entirely. Then when screen is turned on, cpu1 hotplugs back in.

This should be the best of both worlds between interactive and hotplug, if it's stable.

It's experimental so use it at your own risk.


Pulling the trigger now, will let you know how it goes!
  • 0 Likes
Galaxy Nexus/LTE
JBSourcery 5.2

Troet

Troet

Average Android

  • 7 posts

Posted 30 December 2011 - 12:42 AM #9

Hi imoseyon. Thank you for your work on this kernel. Just want to give a little feedback.
I'm running exp3 with interactivex, no OC on AOKP maguro Milestone 1 and up to now everything is stable. Sometimes there might be a slight lag when I unlock the phone. Otherwise the phone is very fast.
  • 0 Likes

TheRealBeesley

TheRealBeesley

Supporting Member

Posted 30 December 2011 - 11:38 PM #10

Hmm.. My phone locked up and wouldnt finish boot. Tried both new kernels in the OP. :_con: Wiped cache/dalvik. Ruh ro.


Now its boot looping. Anyone else?


Wiped again.. maybe my voltages were too low. didnt seem like it before tho. Anyway, all is well :)

Edited by TheRealBeesley, 30 December 2011 - 11:56 PM.

  • 0 Likes
Contribute Often, Lurk Moar, and XDA Less.