[KERNEL] [AOSP] leanKernel: minimalistic kernel (v5.1.0, 11/16/11)
This is a minimalistic Thunderbolt kernel based on the official gingerbread kernel source, patched to 184.108.40.206, and then a bunch of lean mods added (look at feature list below).
(normal lean version), 1) 184Mhz
(184Mhz can be unlocked via st - note for many people 184Mhz is unstable and cause issues, also supports outgoing call recording)
This script will allow you to "transform" your kernel into normal, extreme, 1.92, 1.92X and battsaver versions (ie. it allows you to control speed, voltage, and slots to a certain degree). Once you run the script, everything will be self-explanatory. To run the script:
1) Open Terminal Emulator (install it from market if you don't have it).
2) Type "su" (without quotes) and hit enter.
3) Type "speedtweak.sh" (without quotes) and hit enter.
speedtweak.sh and SetCPU
leanKernel kernel speed tweaker
1) normal: undervolted, overclocked to 1.41Ghz
2) extreme: extremely undervolted, overclocked to 1.41Ghz
3) 1.92: undervolted, overclocked to 1.92Ghz
4) 1.92X: extremely undervolted, overclocked to 1.92Ghz
5) battsaver: extremely undervolted, not overclocked
6) Unlock 184Mhz
7) Lock 184Mhz
8) View current settings
Please type 1, 2, 3, 4, 5, 6, 7, or 8:
The risk of running setcpu is that it can inadvertently override the min and the max that were set by the speedtweak script. (oh it can also override the governor setting but that's not as bad). Other than that it's pretty harmless - it can't mess with the voltage settings. So if you're going to use SetCPU, keep this in mind. One way to make this work is to use SetCPU to configure governor and min/max, and use speedtweak.sh to configure voltage settings. Or just don't use SetCPU.
- Includes lots of goodies from kernel source (2.6.36.x & 3.x from kernel.org) newer than stock.
- speedtweak.sh script to adjust clock frequencies and voltages.
- SVS - manual voltage tweaking via /etc/init.d/01vdd_levels
- InteractiveX and ondemandX governors! Added my own suspend code to interactive and ondemand code to make the phone lock at low clock speed when screen is off. No need for sleep setcpu profile anymore.
- For 1.92Ghz builds, interactiveX and smartass governors were modified to minimize unnecessary spikes above 1.8Ghz to keep phone stable.
- vm, minfree, memory, buffers readahead buffer tweaks
- All unnecessary kernel components removed to make kernel lean and fast!
- low # (5-10) of cpufreq slots for simple management and less governer transitions.
- Undervolted for longer battery life.
- SWAP and EXT4 enabled.
- Filesystems mounted via EXT4, and tweaked for performance.
- init.d enabled in ramdisk
- TUN, CIFS, NSIO (netspector) module support
- zram (from linux 3.1) module support (to enable, go into Terminal, type su, and then type "zram enable" without quotes). What is zram?
(10/28/11) - last "stable" kernel based on cm7 source.
(10/29/11) - based on official kernel source from HTC.
(11/1/11) - bluetooth, video playback, scaling frequencies sysfs all fixed. audio levels tweaked. netspector(nsio) module upgraded to 2.0.
(11/13/11) - 5.0.3 with audio levels reverted stock for better compatibility with MIUI (no need to upgrade from 5.0.3)
5.1.0 (11/16/11) - cpufreq and cpuidle updated to linux v3.2rc1, suspend support for LTE, 184mhz version supports in-call recording now (outgoing only).
Uh.... flash the zip in clockworkmod. You may need to wipe Dalvik cache and/or delete /data/misc/dhcp, /data/misc/wifi.
Donate to your favorite charity
, or donate to me