[kernel][lollipop] leanKernel: minimalistic kernel, v6.3 (tw), v5.2 (aosp) - T-Mobile Samsung Galaxy Note 3

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=F1ED4BADFEE3FC02&id=F1ED4BADFEE3FC02!110
[lollipop][aosp]: https://onedrive.live.com/?cid=F1ED4BADFEE3FC02&id=F1ED4BADFEE3FC02!470
[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:
[email protected]:/ $ [B]su[/B]
[email protected]:/ # [B]lkconfig[/B]
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
[email protected]:/ #
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=F1ED4BADFEE3FC02&id=F1ED4BADFEE3FC02!470
Kitkat: https://github.com/imoseyon/leanKernel-note3/wiki/Kitkat-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
Source Code: https://github.com/imoseyon/leanKernel-note3
Kernel Special Features:
Version Information
Status: Stable
Created 2013-10-18
Last Updated 2015-11-04

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/showthread.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/showpost.php?p=54987306&postcount=2284
http://forum.xda-developers.com/showpost.php?p=55463335&postcount=2405
Screen mirroring is broken!
http://forum.xda-developers.com/showpost.php?p=55233575&postcount=61

Love all these kernel options! Nice work!

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!

fredrick1213 said:
Love all these kernel options! Nice work!
Click to expand...
Click to collapse
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

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

Warrior1975 said:
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
Click to expand...
Click to collapse
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.

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

Warrior1975 said:
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
Click to expand...
Click to collapse
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!

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

Which APP for OC Undervolt?
I tried to use Trickster to Undervolt a little and to OC _ but I could not see the frequencies or even change them - SO I used ROM Tool Box and was able to do everything I needed to - do you have a preferred App you suggest or is ROM Tool box as good as anything for this?

Setcpu seems to be the most common. I don't see what would be wrong with rom toolbox, I like their apps.
Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

Imoseyon, I remember your work for the s3 I believe. You make some outstanding kernels! Can't wait for this to hit stable status.
Sent from my SM-N900T using Tapatalk 4

Does the phrase custom undervolting in op mean that this kernal is already undervolted by default?

Not quite sure why Trickstermod does not work right. I think it's a permission/selinux issue. I sent a note to Team Trickster. I think any of the other tools mentioned will work fine.
cwalker0906 said:
Does the phrase custom undervolting in op mean that this kernal is already undervolted by default?
Click to expand...
Click to collapse
No the default voltages are stock (for now) - you can use one of the cpu apps to undervolt and go crazy.

Imoseyon said:
Not quite sure why Trickstermod does not work right. I think it's a permission/selinux issue. I sent a note to Team Trickster. I think any of the other tools mentioned will work fine.
No the default voltages are stock (for now) - you can use one of the cpu apps to undervolt and go crazy.
Click to expand...
Click to collapse
Ok thank you sir for your work

Here's another beta update (0.4b): http://androtransfer.com/?developer=imoseyon&folder=hlte
Samsung code is a bit behind CodeAurora, especially the GPU code so I started updating them: gpu, row scheduler, msm cpufreq, etc. Will take a while to completely modernize everything I think. If you run into issues with 0.4b report it here and go back to 0.3b.
Edit: 0.4.2b is the latest - had to revert cpufreq updates due to some bootloops.

Bootloop for me. Anything you want me to try?
Sent from my SM-N900T using Xparent Skyblue Tapatalk 2

See ya soon. ...
Sent using my T.Mobile Note 3 Beast.....Baddest Barber with Baddest phone

Warrior1975 said:
Bootloop for me. Anything you want me to try?
Sent from my SM-N900T using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Oh? 0.3b boots fine but 0.4b bootloops? That's not good...

Related

[KERNEL][JB] Nyan Kernel Tuna (Rel5) 10/27/12

[font=verdana,geneva,sans-serif]Nyan Kernel Tuna[/font]
By Marcusant
________________________________________________________________________________________________________
Info
________________________________________________________________________________________________________
Source: http://github.com/ma...t/Nyan-Tuna-JB/
Nyan Colonel was originally created for the Epic 4G as an effort to bring all of the features from other Hummingbird devices to the Epic. Now I have used my upgrade on a Galaxy Nexus and have been trying many different kernels and every one seems to have some features and be missing others. I have attempted to add as much features I can while still keeping the kernel lean and fast with great battery life. This does not require you to be some crazy linux enthusiast in order to modify, or charge you for an app capable of tuning it. It comes with the trickstermod app in order to tweak the kernel to your needs in case the preset settings don't fit your user type.
If you need help, feel free to gtalk me, I don't bite (most of the time): [email protected]
Also, if you feel I have helped, up my rep or even donate
________________________________________________________________________________________________________
Features
________________________________________________________________________________________________________
Bold = Default
CPU Governors
PegasusQ - A mix of performance and battery life that hotplugs the cpu at low use
Interactive - Boosts frequency based on load put on by the user. Modified to also boost on touch of the screen.
Ondemand - Basic scale on demand governor with no hotplugging
HotplugX - Ondemand modified to hotplug at low use and screen off
Wheatley - Basically ondemand (scales depending on demand) that is modified for performance
Lazy - Basically conservative (scales gradually depending on load) that is modified for performance
Schedulers
SIO - A mix of NOOP and Deadline made for flash memory, like the GNex has
BFQ - Currently experimental. For heavy IO load
CFQ - Attempts to distribute the disk fairly among processes
Deadline - Imposes a deadline on processes to prevent lack of resources
NOOP - Simplest scheduler. Good for flash memory.
CPU Frequencies (MHz)
230, 384, 729, 1030, 1228, 1305, 1420, 1536, 1612, 1728, 1804
GPU Frequencies (MHz)
Set by running: echo # > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
echo 0 = 308MHz
echo 1 = 384
echo 2 = 512
If you don't like using command lines, you can edit the gpu_oc file with es file explorer and change it from 0 to 1 or 2
Misc Features
Feature - Default Setting
Max Screen Off - 384000
Read Ahead Buffer Size - 2048
TCP Congestion Control - cubic
Wifi High Performance - off
Fast Charge - off
High Performance Sound - off
Vibrator Strength - 1400
Battery Life Extender - 100
FSYNC Control - off
Temperature Limit - 64
SmartReflex - All options ON
Voltage Control (too much to list, just screenshot before changing)
Gamma Control - -10
Contrast Control - 6
Color Settings - Default preset
Compiled with Linaro's GCC 4.7
Fixes, speed enhancements, security enhancements, Linux updates, and battery enhancements
________________________________________________________________________________________________________
Credits
________________________________________________________________________________________________________
Koush - "Any Kernel" on-phone boot.img repack
bigeyes0x0 - his free kernel mod app
Ezekeel - All of his fantastic mods and govs I used in Nyan
FranciscoFranco - Speed tweaks and other patches
Linux Contributers - A ton of patches from newer versions of Linux, etc.
Red Hat Linux Developers - A ton of patches
Imoseyon - Patches, governors, etc
Everyone else who I forgot
________________________________________________________________________________________________________
Changelog
________________________________________________________________________________________________________
Rel5
Improved responsiveness
Improved battery life
Updated net drivers
Fixed interactive lag
Added interactive touch boost
Updated to the latest 3.0.x kernel
Filesystem optimizations
Fixed PGM and other module loading apps
Much more
[/LIST]
________________________________________________________________________________________________________
Downloads
________________________________________________________________________________________________________
Latest Version - http://marcusant.com...-Tuna-Rel5.zip
All versions (older/unreleased) - http://marcusant.com/nyankernel/tuna/​
First for iSaint
Xda limits for a reason... causes the mobile app to crash. Thanks... -_-
Sent From My Toro+ via RED Tapatalk
Thanks Marcusant! Somehow I feel my Nexus is now complete!
MДЯCЦSДИT said:
I will attempt to support this as much as I can on xda, but for several reasons (not that xda sucks... it is a great site, but there were some issues with OP length, etc. and it is hard to update on multiple sites), I have my main thread over at rootzwiki...
Anyways, get the full feature list at rootzwiki and I'll just post a basic overview here on this thread.
Source: http://github.com/marcusant/Nyan-Tuna-JB
Description:
Nyan was originally created to port GSM Galaxy S 1 mods over to the Sprint variant. I have since moved to the Galaxy Nexus and have noticed that whenever I would get a new kernel, I would really miss features from the kernel that I was using prior, so that inspired me to make my own kernel for the Tuna.
Full thread & download links here​
Click to expand...
Click to collapse
I'm gonna give this a go thx man!!!
Sent from my Galaxy Nexus using xda premium
Umm... so tapatalk won't show the link
Sent from my Galaxy Nexus using Tapatalk 2
Link is corrected
Sent from my Galaxy Nexus using Tapatalk 2
Omfg epic... I miss getting a space kitty bread fix from my epic 4g, thanks marcusant!
Nice Thanx
Thanks dude... the sprint gnex is growing everyday.
Hey Marcusant is this compatible with gnexusparts? (Color app from cm10)? Hope so!
Sent from my Galaxy Nexus using xda premium
maddoggin said:
Hey Marcusant is this compatible with gnexusparts? (Color app from cm10)? Hope so!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I'm planning on adding support but it currently only works with ezekeel supporting apps. I will probably end up adding the support tomorrow or the day after.
Sent from my Galaxy Nexus using Tapatalk 2
MДЯCЦSДИT said:
I'm planning on adding support but it currently only works with ezekeel supporting apps. I will probably end up adding the support tomorrow or the day after.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
cool man, thanks !
Sent from my Galaxy Nexus using xda premium
maddoggin said:
cool man, thanks !
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Also maddogin it works magic on your ROM its so speedy. complement to the chef thanks again for the kernel.
maddoggin said:
cool man, thanks !
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Building it now with the cm sysfs support
Sent from my Galaxy Nexus using Tapatalk 2
maddoggin said:
Hey Marcusant is this compatible with gnexusparts? (Color app from cm10)? Hope so!
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
This version has support... please test
http://marcusant.com/nyankernel/tuna/Nyan-Tuna-Beta2.zip
MДЯCЦSДИT said:
This version has support... please test
http://marcusant.com/nyankernel/tuna/Nyan-Tuna-Beta2.zip
Click to expand...
Click to collapse
Lol when I can't sleep I flash a lot... downloading now.
Edit: seems to be working well. And the color profiles are working as well.
Nyan is really disagreeing with the ondemand governor
Still I prefer this over any of the other kernels here so far, a good blend of features.
Thanks a lot.Awesome!
killersloth said:
Nyan is really disagreeing with the ondemand governor
Still I prefer this over any of the other kernels here so far, a good blend of features.
Click to expand...
Click to collapse
Pegasusq and wheatley are similar. I'll try fixing ondemand.
Sent from my Galaxy Nexus using Tapatalk 2
The final beta 2 (so I heard you like betas, so I made a beta of a beta) changelog will probably be:
1. Modified or possibly reset ondemand
2. CM sysfs support (in the beta 2 posted earlier)(thanks imoseyon)
3. Pegasusq tweaks and fixes (thanks sonicxml)
Sent from my Galaxy Nexus using Tapatalk 2

[4.1.2/4.2] Ξ Kernel v1.1

Ξ Kernel
/'zai/
A re-base of Nyan
________________________________________________________________________________________________________
Info
________________________________________________________________________________________________________
Source: http://github.com/ma...t/Nyan-Tuna-JB/
Nyan Colonel was originally created for the Epic 4G as an effort to bring all of the features from other Hummingbird devices to the Epic. Now I have used my upgrade on a Galaxy Nexus and have been trying many different kernels and every one seems to have some features and be missing others. I have attempted to add as much features I can while still keeping the kernel lean and fast with great battery life. This does not require you to be some crazy linux enthusiast in order to modify, or charge you for an app capable of tuning it. It comes with the trickstermod app in order to tweak the kernel to your needs in case the preset settings don't fit your user type.
If you need help, feel free to gtalk me, I don't bite (most of the time): [email protected]
Also, if you feel I have helped, up my rep or even donate
________________________________________________________________________________________________________
Features
________________________________________________________________________________________________________
Bold = Default
CPU Governors
Interactive - Boosts frequency based on load put on by the user. Modified to also boost on touch of the screen.
PegasusQ - A mix of performance and battery life that hotplugs the cpu at low use
Ondemand - Basic scale on demand governor
Hotplug - Ondemand modified to hotplug at low use
Wheatley - Basically ondemand (scales depending on demand) that is modified for performance
Conservative - Slow scaling up in order to save power (some claim that it does not really make a difference in power)
Lulzactive - Highly customization governor. Use the lulzactive app.
Sakuractive - Ondemand governor modified for the GNex
Schedulers
SIO - A mix of NOOP and Deadline made for flash memory, like the GNex has
BFQ - Currently experimental. For heavy IO load
CFQ - Attempts to distribute the disk fairly among processes
Deadline - Imposes a deadline on processes to prevent lack of resources
NOOP - Simplest scheduler. Good for flash memory.
FIFO - Made for android and flash memory
CPU Frequencies (MHz)
230, 384, 729, 1030, 1228, 1305, 1420, 1536, 1612, 1728, 1804
GPU Frequencies (MHz)
There is currently no choice in gpu freqs as the sysfs interface was buggy and usually did not work. GPU is now always at 384MHz.
Misc Features
Feature - Default Setting
Max Screen Off - 384000
Read Ahead Buffer Size - 2048
TCP Congestion Control - cubic
Wifi High Performance - off
Fast Charge - off
High Performance Sound - off
Vibrator Strength - 1400
Battery Life Extender - 100
FSYNC Control - on
Temperature Limit - 64
SmartReflex - All options ON
Voltage Control (too much to list, just screenshot before changing)
Gamma Control - 0
All governor hotplug on screen off
Color Settings - Default preset
Compiled with Linaro's GCC 4.7
Fixes, speed enhancements, security enhancements, Linux updates, and battery enhancements
________________________________________________________________________________________________________
Credits
________________________________________________________________________________________________________
Koush - "Any Kernel" on-phone boot.img repack
bigeyes0x0 - his free kernel mod app
Ezekeel - All of his fantastic mods and govs I used in Nyan
FranciscoFranco - Speed tweaks and other patches
Linux Contributers - A ton of patches from newer versions of Linux, etc.
Red Hat Linux Developers - A ton of patches
Imoseyon - Patches, governors, etc
Everyone else who I forgot
________________________________________________________________________________________________________
Downloads
________________________________________________________________________________________________________
Latest Version (4.2) - Xi-Kernel-4.2-v1.1.zip
Latest Version (4.1.2) - Xi-Kernel-4.1.2-v1.1.zip​
for changelog
First.
Sent from my Galaxy Nexus
second
Hopefully this won't have the sleep issues that other 4.2 kernels have been having... I tried to merge all of the changes that were added in 4.2
Wahoo!! Thanks, bub!
Thanks dude!
So far so good. Lulzactive FTW.
Sent from my Galaxy Nexus
See and I was thinking, this is plenty fast without a kernel. Wrong. This is thing makes 4.2 fly. Thanks:thumbup:
FL0OD said:
See and I was thinking, this is plenty fast without a kernel. Wrong. This is thing makes 4.2 fly. Thanks:thumbup:
Click to expand...
Click to collapse
Please check your deep sleep. Mine wasn't entering deep sleep on 4.2 for some reason even though I fully updated to the 4.2 source.
Sent from my Galaxy Nexus using Tapatalk 2
MДЯCЦSДИT said:
Please check your deep sleep. Mine wasn't entering deep sleep on 4.2 for some reason even though I fully updated to the 4.2 source.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using xda app-developers app
FL0OD said:
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Yep, doesn't seem to work... I'll look into it...
Sent from my Galaxy Nexus using Tapatalk 2
Looks like I missed some 4.2 stuff... I'll post a build in a bit that is fixed as far as sleep goes.
Sent from my Galaxy Nexus using Tapatalk 2
Fixed deep sleep. Uploading soon.
Sent from my Galaxy Nexus using Tapatalk 2
v1.1 Released - Fixed wakelocks on 4.2
4.1.2 v1.1 (not sure if this changed much with 4.1, please test): http://marcusant.com/nyankernel/tuna/Xi-Kernel-4.1.2-v1.1.zip
4.2 v1.1: http://marcusant.com/nyankernel/tuna/Xi-Kernel-4.2-v1.1.zip
Sent from my Galaxy Nexus using Tapatalk 2
Fixed
Sigh FML
Sent from my Galaxy Nexus using Xparent ICS Tapatalk 2
Phew nvm
Sent from my Galaxy Nexus using Xparent ICS Tapatalk 2
ÜBER™ said:
Phew nvm
Sent from my Galaxy Nexus using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
what'd you do? clear battery stats?
v3rk said:
what'd you do? clear battery stats?
Click to expand...
Click to collapse
Lol NO, let GPS lock.
Sent from my Nexus 7

[KERNEL] Leankernel: Minimalistic Kernel \\ 3.0.93+ \\ 8.1exp2 - 4.3 PGM\\6.9.2013

This is a minimalistic Galaxy Nexus kernel. Imoseyon 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
JB 4.3: [ stable builds | exp builds ] [ change log | exp changes ]
JB 4.2.x: [ stable builds | exp builds ] [ change log ]
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 Imoseyon favorite charity, or donate to Imoseyon.
Nice bro. I like lean and just working kernels. Will try and report when i'll have time. Thanx
Sent from my Galaxy Nexus using xda premium
Nice to see the Kernel here on XDA!
12-12-12?
I've been sticking with LeanKernel ever since I tried it out on ICS. Good to see Imo's work being brought to the attention of users outside of Rootz.
It's here!!!!!!!!!! :-O!!!!
Sent from my Galaxy Nexus using xda premium
Working well for for me on 4.2. No issues/complaints so far.
2 hrs 10 min of screen on time.
I am surprised that this thread is unpopular. Great kernel. Smooth and battery friendly.
Sent from my Galaxy Nexus using xda premium
mariosraptor said:
I am surprised that this thread is unpopular. Great kernel. Smooth and battery friendly.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It's unpopular on xda only, u should visit the rootswiki forum and u will find out how popular is this kernel
Sent from my Galaxy Nexus using Tapatalk 2
Yeah. The main thread is on RootzWiki. It is a very popular kernel there. I have had people tell me to try all the other kernels because they're better. I've tried them all and I keep using this one. Its light,runs smooth,and helps battery life. What more could you want .
scarmon25 said:
Yeah. The main thread is on RootzWiki. It is a very popular kernel there. I have had people tell me to try all the other kernels because they're better. I've tried them all and I keep using this one. Its light,runs smooth,and helps battery life. What more could you want .
Click to expand...
Click to collapse
The most stable kernel :good: !!
Updated Minimalistic Kernel 5.2
Changelog?
Where is the sysfs interface?
Edit: Found it, but does anyone have a link for the newest lean kernel tweaks script by Jake? His download link is down.
Sent from my Galaxy Nexus
What a awesome kernel!
I love it.
Sent from my Galaxy Nexus using xda app-developers app
My Everyday kernel
LeanKernel is my every day kernel i used and use now with every ROM i tried on GNex.
My last two days of using the kernel and its great... I never gave any comments for any thread in favor of it but this is first one ) even franco or other kernels.. They have some hot stuff to offer but at the cost many things, specially battery..this one is optimized for battery specifically...
Sent from my Galaxy Nexus using xda app-developers app
ibraheeemz said:
My last two days of using the kernel and its great... I never gave any comments for any thread in favor of it but this is first one ) even franco or other kernels.. They have some hot stuff to offer but at the cost many things, specially battery..this one is optimized for battery specifically...
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
+1
5.2 seems even more battery friendly than 5.1.1.
I will report after full depletion.
Sent from my Galaxy Nexus using xda premium

[Kernel] ICS 3.0.16 - BrYCS (Sense) OC, Governors

For those who have stuck with the Incredible 2 through thick and thin, we finally have an ICS kernel for Sense. Here is my personal build for everyone to use as they so desire. This is built from the Chinese source.
This kernel includes: Overclocking, Governers, IO Schedulers, Forced Fast Charge, Dynamic Fsync, BFS & CFS versions, tiny RCU, and more to come...
Difference between this kernel and bsmitty83's:
BrYCS - built with arm-eabi 4.4.3 toolchain
KaPoW - built with gcc linaro toolchain, and patched up to 3.0.xx (and more frequent updates - the guy is a machine)
RIOT ACT: ...blah blah blah...flash at your own risk...if you brick your phone...you're a dumba$$...I am not responsible.
Thanks:
saturdaycoder for the vivowct-ics-crc-3.0.16-1aff800.zip source
thewadegeek
for this tutorial: http://forum.xda-developers.com/showthread.php?t=1748297
adrynalyne
for this tutorial: http://forum.xda-developers.com/showthread.php?t=1039854
drelisdee
for a proper kernel packaging script.
chillybean for his sauce building guide...came in handy.
nitsuj17 for ViperInc config file.
koush for the anykernel
@bsmitty83 for attacking this with me and getting OC.
GPL source: https://github.com/brymaster5000/BrYCS_kernel2
DOWNLOAD
6/20/13 - Version 6.4.1 (FINAL): Fixed Cpufreq Kconfig, added Zen ioscheduler, added gpu oc.
CFS Version: http://d-h.st/LC5
BFS Version: Not gonna happen without help from a coder....
6/18/13 - Version 6.4: Added smartass, smoothass, superbad, greaselightning, and interactiveX governors.
6/15/13 - Version 6.3: Added Min-max governor, added tiny rcu
6/13/13 - Version 6.1: Added Intellidemand governor, bfq & vr io scheduler, frandom, and a mix of performance tweaks.
6/5/13 - Version 6: - Added Smartmax governor, & changed to BFS (Brain F**k Scheduler).
6/3/13 - Version 5: - Added VDD (User defined Voltage Control)
5/31/13 - Version 4.1.1: - Fixed force fast charge, added dynamic fsync, added row io scheduler.
5/23/13 - Version 4: - Added fast charge. Temperamental for now.
5/18/13 - Version 3.1.1: - The 311 build! - its got new frequencies and voltages, and I added SIO scheduler.
5/12/13 - Version 3.0: - Overclocked, added Savaged Zen/Scary/SmartassV2/Interactive/Conservative governers
5/12/13 - Version 2.0: - Governers added (OndemandX and Powersave), no OC yet
5/12/13 - Version 1.0: - Unchanged kernel from 3.0.16 source
http://d-h.st/0ok
LEAKED ICS ROM BY NITSUJ17: This version allows the flashing of kernels.
http://d-h.st/6Yj
All downloads: http://d-h.st/users/brymaster5000
Screenshots:
Yeeeeeeeesssss
i'd like to thank our good friends over in china for releasing the kernel source for the s710d
I can confirm that the kernel works on the ICtazz rom
Tried this kernel on the 7.01.605.01 Verizon Sense Vivow Ics rom...
Everything works! Quickly ...
brymaster5000 - you're super!
Nice Job! This should improve the viper rom's stability no? I'm also assuming you will be adding OC's and governors?
antdog24 said:
Nice Job! This should improve the viper rom's stability no? I'm also assuming you will be adding OC's and governors?
Click to expand...
Click to collapse
You got it. I wanted the kernel to be out first before I started messing with it. But yes, my next step (hopefully later today) is to add oc and governers.
Sent from my Viperdinc.
Gonna try it on Psychos 9.1
Sent from my Incredible 2 using xda premium
---------- Post added at 10:11 AM ---------- Previous post was at 09:57 AM ----------
File not found.
Sent from my Incredible 2 using xda premium
wmsforties said:
Gonna try it on Psychos 9.1
Sent from my Incredible 2 using xda premium
---------- Post added at 10:11 AM ---------- Previous post was at 09:57 AM ----------
File not found.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
I just downloaded it, will flash later.
I'm a bit confused, I thought this was for ICS sense roms. Exactly what will this kernel work with? Sense only? ICS only? AOSP only?
So this is to be only flashed on sense based roms?
kubes069 said:
So this is to be only flashed on sense based roms?
Click to expand...
Click to collapse
Yes. It comes from the Chinese ics stock sense.
Sent from my ViperDinc.
Won't flash with Psychos 9.1.
It's probably my mistake though.
Sent from my Incredible 2 using xda premium
wmsforties said:
Won't flash with Psychos 9.1.
It's probably my mistake though.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
I believe it is only for sense. Psychos is aosp isnt it?
No its sense.
I'm gonna try ViperINC now.
Sent from my GT-N7100 using xda premium
wmsforties said:
No its sense.
I'm gonna try ViperINC now.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Awesome, let us know how viper works. Viper is one of my favorite roms but I quit using it because of lag, im hoping this kernel takes care of that. I would test if I could right now but need my phone for work right now.
bc13 said:
Awesome, let us know how viper works. Viper is one of my favorite roms but I quit using it because of lag, im hoping this kernel takes care of that. I would test if I could right now but need my phone for work right now.
Click to expand...
Click to collapse
I used Viper for the configuration file - and am running it now. Works great. Not sure about the Psycho 9.1 ROM...can't say I even knew about it until now.
On your custom kernel bry you should enable fastcharge
and maybe UV :beer:
Viper is running killer diller!
Camera is especially sweet!
Still need to try Bluetooth.
Sent from my GT-N7100 using xda premium
Added some governers...and getting some build errors. Will try again later.
I will look into fast charge.
Can one possibly love the devs of this phone too much?
im trying to port MIUIv5 using ROM Porter with chilli's cm10 as base and the IncS miuiv5 as port
apparently my phone does not like to go past the loadscreen when the rom is signed, but when unsigned it boots just fine after one forced reboot (does it by itself first boot)
at first it was giving me endless com.process.phone and com.process.acore errors
now its just sitting there in the boot screen again.
Any advice guys?
Screenlock won't let me enter a numeric pin, the keyboard is absent.
Password works though.
Sent from my GT-N7100 using xda premium
---------- Post added at 07:05 PM ---------- Previous post was at 07:03 PM ----------
U are way past me being of any help.
Sorry.
Sent from my GT-N7100 using xda premium

[Kernel] Lightning Zap! Phase 4 Updated 15JUN13

Thomas.Raines presents
The Lightning Zap! kernel for the Epic 4G Touch
This is for cm-10.1 ROMs
Safe to use other tweaks, i.e. Exit_Olny's
ATTN:
I thomas.raines, nor it's affiliates claim responsibility for anything you do to damage, destroy, brick, explode, or otherwise mess up your device.
Features:
Improved performance
Improved battery life
Improved network speeds
Improved boot times
Smoother scrolling
Better responsiveness
Cleaner file systems
Governor tweaks for amazing speed and performance without sacrificing battery life
Improved Memory and Ram tweaks
Improved Internet speed
Amazing kernel tweaks, build.prop mods, init.d scripts and more!
Instructions:
Make a backup
Download .zip to PC
Transfer .zip to your sdcard
Or just download it straight to your phone
Reboot to recovery
Flash
Phone will automatically reboot after install**
Wait 10 minutes
Enjoy the Lightning Zap!
See 3rd post for further instructions on improving and customizing your Lighting Zap! experience.
**The first boots always takes the longest especially after a fresh install. If you pull a logcat during the first boot, you may see a few errors with the vacuum script. This is normal, and will be "fixed" after the phone has built the databases for the apps.
Please allow 24 hours after install and 1 full charge cycle before reporting results. Always provide me with a logcat with any issues you may experience.
Phase 1: Introduction of LZ kernel to device
Phase 2: Fine tuning of tweaks, values, etc
Phase 3: Implementation of more governors/io-schedulers
Phase 4: OC/UV and continue updating and adjusting as necessary
Source Code:
kernel
LZ_Packages
Includes flashing script, scripts, and other included packages for the lz kernels.
LZ-vendor (I'll provide some instructions on how to implement lz kernel into your ROM this evening.)
Thanks to
dastin1015 and Team-Hydra for kernel source
ktempleton
untz1456 for testing and help with debugging/verifying changes
elport for testing
and the rest of the testers (pm me and I'll add your names guys)
Download links and changelog
If you have rotation problems try this (thanks to bilgerryan): http://db.tt/b6GG7eU1
If you use TWRP, you may have to fix root perms before you reboot...
ATTENTION: I am only updating the smdk4412 (new kernel) at this time. I believe most ROM devs have updated thier sources to use the smdk4412
If your ROM isn't yet compatibile with the new kernel, first talk to your ROM dev. If you ROM dev is not willing or unable to update
then let me know, and I will try to make the time to configure my sources for compiling the smdk4210 and update it. Otherwise, you
will have to wait till I can get to it.
smdk4412_p4.zip New kernel (link coming soon)
p_4
Added phase 1 thru 3.1 from old kernel
Bumped to 4.
cherry-picked from AGAT_GB27_kernel. Thanks agat63!
Added OC to 1.6
Added UV
Edited bus frequencies and a whole bunch more
Voltage Control app still not working properly, but well enough...lol (I'm still working on it)
smdk4210 Old kernel
p_3.1
Bumped to 3.1.
Added lionheart governor.
Fixed smartass2 governor.
Added vr-ioscheduler.
p_3
Bumped to phase 3.
Added hypervTNT (with phase 2 and 3 stepping) and smartass2 governors.
Working on voltage control app compatibility
E4GT_p2.zip
Bump to phase 2
Minor adjustments on system control values
Added Xan's Voltage Control App (This will come in to play very soon)
E4GT_p1.1.zip
Introduction of Lightning Zap!
Known bug. This might goober up gapps. So, be aware you might have to reinstall gapps. I'm working on it now...
More tips and tricks
The governor tweak is set for a fairly balance of performance and battery life. If you find yourself needing battery life over performance, you can make some minor changes. Here's how:
1 Download Script Manager from the market (it's free)
2 Open Script Manager and navigate to /system/etc/init.d
3 Press menu/more/advanced options and select mount as RW
4 Select 01governor and select "edit" at the top (this will open the file in a text editor)
5 Uncomment (remove # in the particular line) and change:
Code:
echo "45" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
To:
Code:
echo "[COLOR=red]70[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
Only change values in increments of 5 for the up_threshold.
6 Select menu/save
7 Press the skull and cross bones icon at the top (this will allow Super User)
8 Press run, close app and enjoy
This will result is slightly slower performance but higher battery life.
When running in a higher performance mode (especially for gaming) you can disable powersave_bias by changing the 1 to a 0 like this:
Code:
echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
echo "[COLOR=red]0[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
Powersave_bias only allows the CPU to peak for small increments at a time, and not allow the CPU to remain peaked even when the system calls for it. In gaming, that could result in choppy, laggy perofrmance and slow FPS..
This is now controlled by the kernel. You can still change the values, but be careful as too low can result in camera and graphics issue and too high can seriously drain your battery
Changing the sampling rate controls smoothness and responsiveness. I set 150000 as default
Code:
echo "[COLOR=Red]150000[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate;
I am not responsible if you do something wrong. Make a back up just in case.
How to incorporate LZ kernel into your ROM.
First you would add the kernel and vendor files to your manifest, then repo sync. I'm not going to tell you how to do this because I think if you are compiling a ROM you probably already know how. If not, let me know, and I'll post that up to.
Then, in device/samsung/d710/d710.mk add:
Code:
# Adding Lightning Zap! vendor files
$(call inherit-product-if-exists, vendor/lz-kernel/E4GT/lightningzap.mk)
Then compile as normal, and you will have the complete Lightning Zap! kernel package.
You are the man thanks again for taking this on can't wait
Sent from my SGH-I577 using xda premium
Where is the dl link
Sent from my SPH-D710 using xda app-developers app
I'll be waiting for phase 4, and -will- this work with Extweaks?
What kinda ROM you working on? I'm very interested now after seeing this kernel.
Sent from my SPH-D710 using xda premium
---------- Post added at 09:33 PM ---------- Previous post was at 09:29 PM ----------
Oh. And.... Does this kernel have a recovery built in?
Sent from my SPH-D710 using xda premium
JayDroid412 said:
What kinda ROM you working on? I'm very interested now after seeing this kernel.
Sent from my SPH-D710 using xda premium
---------- Post added at 09:33 PM ---------- Previous post was at 09:29 PM ----------
Oh. And.... Does this kernel have a recovery built in?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
It has cwm
Sent from my SPH-D710 using xda app-developers app
Nvm
Sent from my SPH-D710 using xda app-developers app
Warboy said:
I'll be waiting for phase 4, and -will- this work with Extweaks?
Click to expand...
Click to collapse
I'm not familiar with extweaks. Can you link me and I'll check it out?
Sweet. I was wondering when people where going to start making custom kernels
Sent from my SPH-D710 using Tapatalk 2
If the ROM I was on I had Pegasus and noop set to boot should I be ok
Sent from my SPH-D710 using xda premium
---------- Post added at 10:02 PM ---------- Previous post was at 10:01 PM ----------
Since I flashed this
Sent from my SPH-D710 using xda premium
its a pretty bad ass kernel man im loving it
To start the on demand gov is set as the default gov and is the one that is optimized for the kernel...
You can play around with the govs but keep that in mind
Also as far as tweaks go you shouldn't use any because they could mess things up.. If you do use them and have problems please don't waste my nor Thomas time until you reflash the kernel to remove the scripts and verify that the problem is the kernel thanks
Sent from my SPH-D710 using xda premium
Thank you TR and KT. Im all over it
thomas.raines said:
I'm not familiar with extweaks. Can you link me and I'll check it out?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1530147
Ask AGAT about making sure the kernel is Extweak compatible once you get to that phase. It allows CPU/GPU Overclocking, OV/UV, etc ,etc. You can sample it using GB27+AGAT's Custom Kernel, but it isn't saving the settings right now on GB27.
Awesome work. Possible bug when screen rotates to landscape it won't go back to portrait workout turning phone upside down then as fast as I can flip the phone otherwise it goes back to landscape, locking and unlocking screen also fixes, more of a work around. Running pac.
Sent from my SPH-D710 using xda app-developers app
I know it's still early and remember I flashed the new one a little bit ago so that took 10 percent off the top
Sent from my SPH-D710 using xda premium
Running beanstalk And rotate is working....maybe a PAC thing...I was running PAC earlier and in landscape it would soft boot...no idea if that's related but on b stalk landscape returns.
Sent from my SPH-D710 using xda premium

Categories

Resources