Android OS Forum banner

1 - 20 of 2240 Posts

·
Premium Member
Joined
·
2,255 Posts
This is a Touchwiz kernel. Use this thread to report bugs, etc.

DOWNLOADFEATURES
  • Unnecessary components removed for lean and fast kernel.
  • Two new sleep states: Retention and Standalone Power Collapse
  • Compiled using latest Linaro compiler with additional optimizations.
  • Latest Linux updates applied.
  • Ramdisk optimizations.
  • OC'ed to 1.9Ghz (limited to 1.51Ghz at boot, use an app to change max freq), and all frequencies undervolted
  • ROW v4 I/O scheduler default
  • Fast Charge (toggle via the "ffc" script - open terminal, type ffc then enter, plug in phone via USB)
  • On-demand governor backported from Linux 3.5
  • InteractiveX V3 - optimized for S3, screen_off_maxfreq sysfs interface (default set to 810Mhz). (Note: I didn't change the name to interactivex in the kernel this time)
  • Fixed governor switching bug where switching from ondemand to another governor could keep cpu1 offline until you switch back.
  • Power efficiency fixes - wakelock tweaks, gsiff_daemon workaround, etc.
  • Modified thermal control to play nicely with OC.
  • Fixed governor transition latency.
  • Custom voltage control via sysfs (recommend using setcpu, voltage control, or system tuner)
  • lkflash script to flash latest kernel versions
  • lkconfig script to configure leanKernel specific features
  • Faux sound control support
  • Adjustable display color temp
leanKernel scripts - some not available starting v4.0
lkflash (flash latest leanKernel versions from your phone - must su first)

[email protected]:/ # lkflash

leanKernel flasher
------------------
1) latest stable (recommended)
2) latest experimental
3) check/display versions

FLASH AT YOUR OWN RISK. I'm not responsible for my mistakes or yours. ;)

Please enter a number between 1 and 3 (or press enter to exit): 3
Please wait...

>>> Current version: 1.0, Latest stable: 1.0, Exp: 1.0exp1
lkconfig (configure leankernel specific settings which will persist between reboots - must su first)
[email protected]:/ # lkconfig

leanKernel configurator

---
1) interactiveX: set screen-off max freq to 1.1Ghz.
2) interactiveX: set screen-off max freq to 810Mhz (leanKernel default).
3) Stop thermald (for running benchmarks).
4) Set display color temp to cold.
5) Set display color temp to normal.
6) Set display color temp to warm.

Please enter a number between 1 and 6 (or press enter to exit): 6
Color temp is set to Warm - turn display off/on to take effect.
ffc (force fast charge toggler)
[email protected]:/ # ffc
Fast USB Charge: ON
[email protected]:/ # ffc
Fast USB Charge: OFF
CHANGELOG (JB)

SOURCE
https://github.com/i...eanKernel-d2vzw
 

·
Premium Member
Joined
·
2,255 Posts
How do I use USB Fast Charge?
  • 1) Unplug from USB cable.
  • 2) Open Terminal Emulator, type "ffc" (without quotes) and enter. This command will toggle your fast charge state.
  • 3) Plug it back in.
  • Note: running the same command again will disable fast charge.
  • Also, when fast charge is enabled USB communication will be disabled.
Why does my top speed become 1.9Ghz even though I never set it higher than 1.5Ghz?
Your ROM's thermal control will automatically set your max speed to top kernel speed, *after* it's been tripped once due to high cpu temperature. Unfortunately there's not a whole lot I can do to fix that in the kernel. Ask your ROM dev to see if they can fix /system/bin/thermald. Read this post. UPDATE: v0.5 (and higher) kernel has a workaround to fix this issue.

Are you having intermittent weirdness and suspect issues with cpu voltage? If so read this post:
http://rootzwiki.com...010#entry953903
TLDR; In order to allow custom user undervolting, my kernels bypass stock samsung kernel's code subroutine that overrides your minimum voltage to 1150mV. Your phone's CPU may be one of the few that needs the extra juice for stability; if so, increase minimum voltage up to 1150mV.

What is the kernel default voltages?
http://rootzwiki.com/topic/31329-kerneltouchwiz-leankernel-minimalistic-kernel-ics-v13-jb-v121-121612/page__st__1410#entry1042976
 

·
Thunderstruck
Joined
·
1,463 Posts
thanks man, i'm going to flash this. :D
 

·
Thunderstruck
Joined
·
1,463 Posts
seems to be running fine, thanks dude! :D
 

·
Everybody! Mosh Pit!
Joined
·
819 Posts
I thought on the thunderbolt we were supposed to wipe dalvik.
Well the kernel isn't apart of the rom, etc. The kernel .zip overwrites the current kernel in the phone so there really isn't any wiping necessary. Sometimes people wipe cache/dalvik cache just for good measure. I personally don't wipe when installing a kernel.
 

·
Premium Member
Joined
·
249 Posts
Since this uses kexec all you have to do to go back to stock is reinstall rom of choice

Sent from my SCH-I535 using Tapatalk 2
 

·
Everybody! Mosh Pit!
Joined
·
819 Posts
Since this uses kexec all you have to do to go back to stock is reinstall rom of choice

Sent from my SCH-I535 using Tapatalk 2
This is for Touch Wiz roms only. Imo is working on an AOSP kernel. So yeah, flash a Touch Wiz rom of your choice and then flash this kernel in CWM 6.0.1.0.
 

·
Premium Member
Joined
·
2,255 Posts
Discussion Starter · #20 ·
Since this uses kexec all you have to do to go back to stock is reinstall rom of choice

Sent from my SCH-I535 using Tapatalk 2
This is definitely true. But if you've modified the ROM reflashing it to go back to stock kernel may be a pain. I'll have create a small flashable zip so it's quicker and easier. Soon...
 
1 - 20 of 2240 Posts
Top