Post Reply

[kernel][kitkat] leanKernel: minimalistic kernel, v3.10

18th October 2013, 12:25 AM   |  #1  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 4,218
 
1,479 posts
Join Date:Joined: Dec 2010
Donate to Me
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)
leanKernel n900t / n900w8 / n900v: http://1drv.ms/1pJPexn
leanKernel other n900x devices: http://1drv.ms/1pXzyT1
AOSP kernel builds: http://1drv.ms/1pK3eqW

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
Kitkat: https://github.com/imoseyon/leanKern...tkat-ChangeLog
JB: https://github.com/imoseyon/leanKern.../mr2-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.

XDA:DevDB Information
Leankernel: Minimalistic Kernel, Kernel for the T-Mobile Samsung Galaxy Note 3

Contributors
Imoseyon
Kernel Special Features:

Version Information
Status: Stable

Created 2013-10-18
Last Updated 2014-09-27
The Following 148 Users Say Thank You to Imoseyon For This Useful Post: [ View ]
18th October 2013, 12:26 AM   |  #2  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 4,218
 
1,479 posts
Join Date:Joined: Dec 2010
Donate to Me
FAQ

What are ondemandX and interactiveX?
ondemandX and interactiveX are very very close to "stock" ondemand and interactive governors, respectively. The only difference is screen_off_maxfreq sysfs support. This means that it gives you the ability to limit phone's max frequency when screen is off. This feature could be effective in reducing battery usage, especially if you have a misbehaving app (or two) that consume cpu cycles while screen is off. The default value is 1267200 - if you change the value to your top speed you're effectively disabling the feature and restoring stock behavior completely. You can use an app like Trickster to modify screen_off_maxfreq.
Code:
cat /sys/devices/system/cpu/cpufreq/interactive/screen_off_maxfreq
1267200
What is this purple hue/push issue, and do I care?
First if you don't already know about it then you're better off not discovering this. So ignore and move on.
Otherwise, read this thread: http://forum.xda-developers.com/show....php?t=2462078
On leanKernel, you can set panel temp to -25 or lower, or panel color to 3 or higher to fix/circumvent this issue.

mpdecision on or off?
leanKernel (for all phones) is a drop in replacement for stock kernel. It is designed to work with mpdecision - I would not turn it off. But then again if you like how the phone is running with it off, go ahead.

my cores are stuck!
http://forum.xda-developers.com/show...postcount=2284
http://forum.xda-developers.com/show...postcount=2405

Screen mirroring is broken!
http://forum.xda-developers.com/show...5&postcount=61
Last edited by Imoseyon; 16th September 2014 at 01:28 AM.
The Following 45 Users Say Thank You to Imoseyon For This Useful Post: [ View ]
18th October 2013, 12:37 AM   |  #3  
fredrick1213's Avatar
Senior Member
Thanks Meter: 117
 
761 posts
Join Date:Joined: Feb 2011
More
Love all these kernel options! Nice work!
18th October 2013, 12:42 AM   |  #4  
mocsab's Avatar
Senior Member
Flag West Milwaukee
Thanks Meter: 631
 
2,360 posts
Join Date:Joined: Aug 2011
More
THIs is great - thank you. I have tried to flash other kernels that offered OC - but I couldn't get my phone to boot -kept rebooting - not with your kernel - flashed nicely - working very well so far - of course I just flashed it so I need to "play" for a bit but so far so good.

Thanks for your work!
18th October 2013, 01:39 AM   |  #5  
XxLostSoulxX's Avatar
Senior Member
Flag Ft. Worth
Thanks Meter: 435
 
3,741 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by fredrick1213

Love all these kernel options! Nice work!

Haha all of these? You mean to say wow I can now choose out of 3. Lol. Our phone is just barely in development wait till it gets to 10 options for everything lol.

Don't get me wrong I'm happy in all but don't be sarcastic haha.

Sent from my SM-N900T using xda app-developers app
18th October 2013, 02:14 AM   |  #6  
Warrior1975's Avatar
Senior Member
Thanks Meter: 1,311
 
2,665 posts
Join Date:Joined: Jul 2012
Awesome. IIRC, you did kernels on S3? Thanks for sharing brother.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

---------- Post added at 09:14 PM ---------- Previous post was at 08:40 PM ----------

Installed and working. I haven't been able to use any oc kernels yet, I'll play with this later, see if I can successfully OC. Thanks again bro.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2
The Following User Says Thank You to Warrior1975 For This Useful Post: [ View ]
18th October 2013, 03:15 AM   |  #7  
Imoseyon's Avatar
OP Recognized Developer
Flag Mountain View, CA
Thanks Meter: 4,218
 
1,479 posts
Join Date:Joined: Dec 2010
Donate to Me
Quote:
Originally Posted by Warrior1975

Awesome. IIRC, you did kernels on S3? Thanks for sharing brother.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

---------- Post added at 09:14 PM ---------- Previous post was at 08:40 PM ----------

Installed and working. I haven't been able to use any oc kernels yet, I'll play with this later, see if I can successfully OC. Thanks again bro.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

Yup I've been developing custom kernels for a long time. Currently still maintaining gnex (tuna), s3 (d2*), and nexus7 (grouper) leankernels. Been almost exclusively on Verizon until about 2 days ago. Mostly known for my "X" governors - speaking of, I will start working on ondemandX and interactiveX soon.
The Following 14 Users Say Thank You to Imoseyon For This Useful Post: [ View ]
18th October 2013, 03:18 AM   |  #8  
Warrior1975's Avatar
Senior Member
Thanks Meter: 1,311
 
2,665 posts
Join Date:Joined: Jul 2012
Glad to see you on this side. Looking forward to seeing more of your work. Hope your enjoying your N3.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2
The Following 2 Users Say Thank You to Warrior1975 For This Useful Post: [ View ]
18th October 2013, 03:21 AM   |  #9  
mocsab's Avatar
Senior Member
Flag West Milwaukee
Thanks Meter: 631
 
2,360 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by Warrior1975

Awesome. IIRC, you did kernels on S3? Thanks for sharing brother.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

---------- Post added at 09:14 PM ---------- Previous post was at 08:40 PM ----------

Installed and working. I haven't been able to use any oc kernels yet, I'll play with this later, see if I can successfully OC. Thanks again bro.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

I bet you will be able to - I flashed and was able to OC - first time from any of the kernels that are available right now - working really well too - looking forward to running for a while....am on Wicked ROM and all is good!
The Following User Says Thank You to mocsab For This Useful Post: [ View ]
18th October 2013, 03:51 AM   |  #10  
Warrior1975's Avatar
Senior Member
Thanks Meter: 1,311
 
2,665 posts
Join Date:Joined: Jul 2012
I only tried Saber, couldn't over clock, but the green kernel was fine. I just changed my max freq with setcpu to max, fine so far. I'm not one to OC, don't see the need, but was more curious to see if it worked.

Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

The Following 2 Users Say Thank You to Warrior1975 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in T-Mobile Galaxy Note 3 Original Android Development by ThreadRank