Jump to content

[kernel] Leankernel: Minimalistic Kernel

Recommended Posts

Leankernel: Minimalistic Kernel

Détails du kernel :

Patched to latest in Linux 3.0.x branch: 3.0.14, which was released 12/21/11 (lots of new/updated kernel code).

All unnecessary kernel components removed to make kernel lean and fast!

OC to 1.35Ghz (Michael Huang, optimized by me). Boot speed is maxed at 1.2ghz within kernel (in addition to ramdisk) for stability.

GPU overclock (Michael Huang).

User voltage control (Michael Huang, fixed and enhanced by me).

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.

Hotplug governor optimized for stability.

cpufreq backport from Linux 3.2-rc7

rcu code backport from Linux 3.2-rc7

other linux 3.2 backports: dm, futex, etc.

Undervolted by default (1.35ghz/1325, 1.2ghz/1300, 920mhz/1250, 700mhz/1150, 350mhz/950)

Changelog :

  • v1.0.0 - Initial release
  • v1.0.1 - Fixed power off charging (only upgrade if you care about that).
  • v1.1.0 - rcu code updated to linux 3.2-rc7, boot speed max forced to 1.2ghz within kernel (stability), hotplug governor should be more stable now, zram enabled including custom enable script (run "zram enable" in terminal), small bug fixed in voltage control code.
  • v1.2.0 - interactiveX V2 with hotplug support, user undervolting works now, and all speeds undervolted by default (clear setcpu settings before flashing), ALSA SoC driver updated to 3.2-rc7
  • v1.2.1 - reverted a dep voltage change I made in 1.2.0. Only update if you're experiencing stability issues in 1.2.0 (if your coming directly from a version prior to 1.2.0 make sure you clear custom voltage settings)
  • v1.3.0 - re-wrote a lot of my user undervolting code (fixed some bugs and probably introduced others - haha), updated dm and futex code to linux 3.2, gpu undervolt at top speed, some code cleanup. (clear setcpu settings before flashing). Oh one more thing: undervolting 1.35ghz and higher is not reliable yet and is not recommended.
  • v1.4.0 - updated to Linux 3.0.15 (small release), voltage regulator driver from Linux 3.2, omap clock data updated from latest official omap source.
  • *v1.5.0 - updated to Linux 3.0.16 (big update), more accurate/reliable user voltage control for frequencies less than 1.35ghz.
  • v1.6.0 - read this post.
  • v1.6.1 - *battery drain - being fixed*, updated to Linux 3.0.17, fixed potential memleak in slub allocator, small omap4 update from android-omap source.
  • v1.6.4 (pulled - stay tuned) - moved some of the features off of 1.6.1 (but kept them in experimental) in order to fix/pinpoint potential source of battery drain possibly introduced in 1.6.1. You do not need to upgrade from 1.6.1 if it's working fine for you. Cpufreq updated to Linux 3.3.
  • v1.6.6 (bd0730ad3f57e050942356b647821256) - Fixed pm_suspend bug introduced by the Linux 3.0.17 patch *this fixes battery drain issue in 1.6.1 and 1.6.4*. Where's 1.6.5?
  • v1.7.0 (a7f3d241d68fd48c9f216e8399226e9d) - a bunch of fixes and updates from android-omap source including the hotplug fix, deadline scheduler updated to linux 3.2.
  • v1.7.1 (c2d0d4c59c198bb3f2281f164442ac0f) - removed some omap patches from 1.7.0 that may have been causing issues.
  • v1.7.3 (049a8ce4be0f0a392d6c0b694de1ad73) - went back to 3.0.16 base as I suspect there were more things in 3.0.17 causing subtle issues in releases newer than 1.5.0. Added a fix to reduce screen unlock lag in interactiveX. Brought back some of the OMAP patches from upstream android-omap source.
  • *v1.7.4 (3619144bee4cd86883692b48971ee5f8) - applied the rest of OMAP patches from android-omap source. Partially updated to 3.0.17. Wireless ADB support (if ROM has built-in support for it).
  • *v1.8.0 (7ddb6ac13d01ceaeed25b83ab13afb8c) - Updated to Linux 3.0.18 (big update - lots of fixes/changes). An omap driver fix. A fix for stalling RCU processing. Ramdisk changes for CM9 (or CM9 based ROMs) compatibility. This version should theoretically be smoother than the previous versions.
  • v1.9.0 (f703a8912d4dd19f82cc4bf17f37f1cd) - detailed log here.
  • *v1.10.0 (e9f2c4f2b458ddddeebfba842bb51756) - updated to Linux 3.0.20, completely modernized memory management compaction/migration code to Linux 3.3-rc3 (which also includes backporting much of the mm code)
  • v2.0.0 (a6a518d0a243c071ef6c02445acf2645) - detailed log here.
  • v2.0.1 (d9457f5fd0d9a74bc1c7fe37e1856907) - custom UV related issues (haptic feedback, volume, etc.) fixed. Custom UV code improved.

Pré-Requis :

Etre ROOT, avoir le recovery et avoir une ROM en 4.0.3

Téléchargement :

Sources :

Réglages voltages CPU :

Régales personnels du voltage CPU à réglé avec Setcpu ou autres...

1350Mhz : 1200mV

1200Mhz : 1150mV

920Mhz : 1000mV

700Mhz : 900mV

350Mhz : 800mV

Enjoy!!! ;)

Edited by subout
Link to comment
Share on other sites

  • 1 month later...

MAJ post 1 ok


Maj post 1 ok le kernel devient vraiment intéressent moi je tourne sur la version 1.10 et que du bonheur performance et autonomie...

Il faut que je test la version 2.0.1 mais pas de suite...

Sinon je vous ai mit aussi dans le post 1 mes réglages niveau voltage CPU....

Voilà +++

Edited by billcat74
Link to comment
Share on other sites

Salut, je suis aussi en train de tester, franco kernel me donne des blocages du téléphone (obligé de retirer la batterie pour redémarrer...) après le kernel de la rom kang aosp fonctionne bien, mais ça reste du très classique, proche de l'original, mais au moins par de blocage du téléphone avec, enfin bref je vais tester celui la pour voir ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...