Android OS Forum banner
1 - 20 of 1027 Posts

·
Premium Member
Joined
·
2,255 Posts
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.
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #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.
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #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.
 

·
Android Junkie
Joined
·
202 Posts
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!
 

·
Registered
Joined
·
7 Posts
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.
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #11 ·
hey guys, sorry for not warning you before flashing 1.2.0. You needed to clear setcpu settings before flashing because any hardcore undervolting you did prior to 1.2.0 would have given you bootloops. Let's just say user undervolting really works now whereas it wasn't before.
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #13 ·
I have a question regarding init.d support. Since I don't see/have init.d folder in /etc or anywhere else on my GN, will it work if I just create it and put my scripts inside?

And thanks for your effort!

Regards
Yup create /system/etc/init.d and then put your scripts in there. Make sure your scripts have executable permissions.
 

·
Registered
Joined
·
20 Posts
So I've been using this kernel for about a day now and I've got to say that it is very stable, nice work! I have a question about undervolting though, in the original post you said that it is undervolted by default, but the values in SetCPU reflect standard voltage values. Does this mean that the kernel itself is undervolted to the values specified in the original post even though SetCPU is showing different values?

Thanks!
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #15 ·
So I've been using this kernel for about a day now and I've got to say that it is very stable, nice work! I have a question about undervolting though, in the original post you said that it is undervolted by default, but the values in SetCPU reflect standard voltage values. Does this mean that the kernel itself is undervolted to the values specified in the original post even though SetCPU is showing different values?

Thanks!
SetCPU should show the undervolted numbers. For instance stock 1.2Ghz is 1380. After installing my kernel it should show 1250.
 
1 - 20 of 1027 Posts
Top