FORUMS
Remove All Ads from XDA

[kernel][non-tmo][qcom][lp] leanKernel: minimalistic kernel v6.3 (tw), v5.2 (aosp)

2,436 posts
Thanks Meter: 8,790
 
Post Reply Subscribe to Thread Email Thread
leanKernel is not for everyone. My philosophy is to keep the kernel footprint as small as possible by trimming as much fat as possible, and at the same time keeping it stable, power efficient, and fast. You will find that it's lacking some of the bells and whistles of other custom kernels, so if you like features you came to the wrong thread.

The "warranty bit" message at boot is normal.

DOWNLOAD (flash in recovery)
[lollipop][touchwiz]: https://onedrive.live.com/?cid=F1ED4...FEE3FC02%21110
[lollipop][aosp]: https://onedrive.live.com/?cid=F1ED4...FEE3FC02%21470
[kitkat] n900t / n900w8 / n900v: http://1drv.ms/1pJPexn
[kitkat] other n900x devices: http://1drv.ms/1pXzyT1

PREREQUISITE
Working recovery (you can actually do this without recovery via flashbeta script)
Knox 0x1

FEATURES
  • overclocked to 2.72Ghz, but max set to 2.2Ghz at boot
  • user custom undervolting
  • updated to latest 3.4 Linux (ie. 3.4.67)
  • interactiveX V4 (screen_off_maxfreq)
  • ondemandX (screen_off_maxfreq)
  • user adjustable panel temperature: -60 to 0, 0 is kernel default (via lkconfig & sysfs)
  • user adjustable panel colors: 0 to 4, 2 is kernel default (via lkconfig & sysfs)
  • lkconfig script (via terminal emulator, superuser required)
  • fix for purple hue/push at low brightness (via panel temperature or panel colors)
  • cpufreq modified to play better with thermal-engine
  • latest Linaro gcc 4.8 toolchain
  • built-in supersu and init.d support
  • fat trimmed and performance tweaks
  • interactive governor updated to latest android source (but ondemand left default)
  • outdated samsung code updated to later CodeAurora source (cpufreq, mdss, gpu, msm-bus, etc.)
  • cpufreq issues fixed
  • exfat support
  • ram console enabled for /proc/last_kmsg for kernel crash debugging

CONFIGURATION OPTIONS
Open Terminal Emulator, become superuser by typing "su" (without quotes), enter, and type "lkconfig" (without quotes), then enter:
Code:
shell@hltetmo:/ $ su
root@hltetmo:/ # lkconfig

leanKernel configurator
---
0) display current settings
1) panel temperature
2) panel color
3) set screen_off_maxfreq
4) panel brightness tweak

please enter a number (or press enter to exit): 2
Enter a number between 0 and 4 (2 is kernel default): 2
Turn off screen and back on (also will persist at boot)


leanKernel configurator
---
0) display current settings
1) panel temperature
2) panel color
3) set screen_off_maxfreq
4) panel brightness tweak

please enter a number (or press enter to exit): 0

current settings
----------------
1) panel temperature: -25
2) panel color: 2
3) screen off maxfreq: 1267200
4) panel brightness tweak (0 off, 1 on): 1

root@hltetmo:/ #
You can also use /data/data/leankernel (lkconfig writes to this dir) manually, or write to sysfs nodes directly.

CHANGELOG
Lollipop: https://onedrive.live.com/?cid=F1ED4...FEE3FC02%21470
Kitkat: https://github.com/imoseyon/leanKern...tkat-ChangeLog

Source: https://github.com/imoseyon/leanKernel-note3

If you want to donate, either donate to your favorite charity or use the link in my profile.
Last edited by Imoseyon; 4th November 2015 at 05:08 PM.
The Following 235 Users Say Thank You to Imoseyon For This Useful Post: [ View ] Gift Imoseyon Ad-Free
 
 
17th October 2013, 09:36 PM |#2  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 8,790
 
Donate to Me
More
FAQ here: http://forum.xda-developers.com/show...55&postcount=2
Last edited by Imoseyon; 1st November 2013 at 12:34 AM.
The Following 42 Users Say Thank You to Imoseyon For This Useful Post: [ View ] Gift Imoseyon Ad-Free
17th October 2013, 09:43 PM |#3  
Senior Member
Thanks Meter: 29
 
More
Hi,

This Kernel is only N900t or compatible N9005 ?

Thanks
The Following 2 Users Say Thank You to Cole59 For This Useful Post: [ View ] Gift Cole59 Ad-Free
17th October 2013, 09:43 PM |#4  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 8,790
 
Donate to Me
More
Quote:
Originally Posted by Cole59

Hi,

This Kernel is only N900t or compatible N9005 ?

Thanks

sorry snapdragon only
The Following 10 Users Say Thank You to Imoseyon For This Useful Post: [ View ] Gift Imoseyon Ad-Free
17th October 2013, 09:47 PM |#5  
muhamet's Avatar
Senior Member
Flag Skopje
Thanks Meter: 203
 
More
Quote:
Originally Posted by Imoseyon

sorry snapdragon only

Snapdragon is i9005

Sent from my LG-P700 using xda premium
The Following User Says Thank You to muhamet For This Useful Post: [ View ] Gift muhamet Ad-Free
17th October 2013, 09:49 PM |#6  
Senior Member
Thanks Meter: 29
 
More
The N9005 has the Snapdragon 800
17th October 2013, 09:51 PM |#7  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 8,790
 
Donate to Me
More
oops tells you how much i know lol. Let me download source and see how different it is. Gimme a day or two.

edit: or if you're brave flash it and let me know what happens
Last edited by Imoseyon; 17th October 2013 at 09:56 PM.
The Following 9 Users Say Thank You to Imoseyon For This Useful Post: [ View ] Gift Imoseyon Ad-Free
17th October 2013, 10:42 PM |#8  
jaythenut's Avatar
Senior Member
Thanks Meter: 2,062
 
More
Quote:
Originally Posted by Imoseyon

oops tells you how much i know lol. Let me download source and see how different it is. Gimme a day or two.

edit: or if you're brave flash it and let me know what happens

let hope it is

im brave whats the worst that can happen ?

---------- Post added at 10:42 PM ---------- Previous post was at 10:30 PM ----------

ok took the plunge and its working im oc all the way running ok at the mo no bootloop
edit getting set warranty bit kernel on samsung slash screen
Last edited by jaythenut; 17th October 2013 at 10:46 PM.
The Following 3 Users Say Thank You to jaythenut For This Useful Post: [ View ] Gift jaythenut Ad-Free
17th October 2013, 10:47 PM |#9  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 8,790
 
Donate to Me
More
Quote:
Originally Posted by jaythenut

let hope it is

im brave whats the worst that can happen ?

---------- Post added at 10:42 PM ---------- Previous post was at 10:30 PM ----------

ok took the plunge and its working im oc all the way running ok at the mo no bootloop
edit getting set warranty bit kernel on samsung slash screen

Thanks for being the guinea pig - I've added 9005 to thread title.

warranty bit msg at boot is normal.
The Following 5 Users Say Thank You to Imoseyon For This Useful Post: [ View ] Gift Imoseyon Ad-Free
17th October 2013, 10:48 PM |#10  
jaythenut's Avatar
Senior Member
Thanks Meter: 2,062
 
More
Quote:
Originally Posted by Imoseyon

Thanks for being the guinea pig - I've added 9005 to thread title.

warranty bit msg at boot is normal.

anytime i do like to play lol
The Following User Says Thank You to jaythenut For This Useful Post: [ View ] Gift jaythenut Ad-Free
17th October 2013, 10:50 PM |#11  
fryingpan0613's Avatar
Senior Member
Flag Central Florida
Thanks Meter: 3,532
 
Donate to Me
More
Nice! You can never have too many kernels



Team PATB
Rats Of Anarchy

Read More
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes