1. Are you ready for the Galaxy S20? Here is everything we know so far!
Thread Status:
Not open for further replies.

[GPL] LG Ally Kernel

Discussion in 'Archived Threads' started by getitnowmarketing, Oct 23, 2010.

  1. getitnowmarketing

    getitnowmarketing Android Enthusiast
    Thread Starter

    I've been hard at work on another kernel for ally.

    Patched kernel from 2.6.29 to as thats the last .29 kernel.
    Android staging drivers backported from kernel .32
    Backported lowmemorykiller from kernel .32
    Backport of idle time code from kernel .34
    Overclocked to max of 787mhz. For safety set at 600max on boot. Change with setcpu
    Added deadline I/O scheduler as an option. Anticipatory is still default.
    Added Interactive gov as option. Enable with setcpu. Its like a better ondemand
    Ext 3 & Ext 4 supported
    Ipv6 supported
    Netfilter & xtables
    Tun.ko for open vpn
    Swap enabled
    Many other changes see github.

    Major changes should be:

    More Battery Life
    The backport of idle code from .34 is by Erasmux, it helps TREMENDOUSLY on how your phone behaves during 'idle'.

    Better RAM handling
    The backport of lowmemorykiller from .32 by Decad3nce, helps with the way RAM overall is handled on the device. Absolutely no more 'lost memory' situations or hiccups.

    Interactive gov
    + significantly more responsive to ramp cpu up when required (UI interaction)
    + more consistent ramping, existing governors do their cpu load sampling in a workqueue context, the 'interactive' governor does this in a timer context, which gives more consistent cpu load sampling.
    + higher priority for cpu frequency increase, rt_workqueue is used for scaling up, giving the remaining tasks the cpu performance benefit, unlike existing governors which schedule rampup work to occur after your performance starved tasks have completed.

    Kernel Source

    Things to note:
    Packaged in anykernel so it will not overwrite your ramdisk apps2sd people.

    If using a modified ramdisk please make sure your governor is not set on performance as your battery will suffer tremendously. Script in stock ramdisk changes gov to ondemand from performance (performance is for faster booting) at each boot so check if yours is modified.

    On boot/reboot it may be sluggish for 1st 30-45 seconds as this is the lowmemorykiller working to free ram. After initial 30 seconds it will be much more responsive.

    Taskillers are NOT recommended as this backported lowmem killer is much more effective.

    Overclocking Notes:
    Not all phones can OC and can handle the same speeds. Your phone is unique. Some can go up to 787mhz stable some can only do 748mhz and some can't at all.

    Overclocking must be done with setcpu. After each boot/reboot the max is set to 600mhz to keep you from getting in a boot loop with an unstable speed for your device. To change it after reboot you must move the slider in setcpu to get the overclock freq to set above 600mhz.

    You can use this with my Jit libs use the Turbo4 no kernel one from Here for the jit stuff without the old kernel.

    To use flash with clockwork or my recovery and wipe dalvik-cache and cache.


    JJJandJ, seen03, EZ-SKIPPY and 19 others like this.

    1. Download the Forums for Android™ app!


  2. killertonez

    killertonez Newbie

    As usual great work! Thanks so much drellisdee.
  3. Mitchell4500

    Mitchell4500 Android Enthusiast

    Installing... I love how you used my server :D
  4. Mitchell4500

    Mitchell4500 Android Enthusiast

    Works nice! Very quick! Velocity .4
  5. blay

    blay Member

    Would you see any benefit from this if you DIDN'T OC?
  6. netizenmt

    netizenmt Android Enthusiast

    Thus far, Raptor seems to perform better without Turbo and OCing. Wonder if this would be different. Anyone try it yet?
  7. getitnowmarketing

    getitnowmarketing Android Enthusiast
    Thread Starter

    Overclocking is optional. If you don't set overclocking with setcpu it stays at stock speed. The jit libs are the single most effective performance tweak available. Aside from overclocking the features/changes above are what this kernel gives you vs stock.
  8. blay

    blay Member

    Also, can this be flashed over Velocity .3?
  9. motorsport226

    motorsport226 Android Enthusiast

    Yes, I just did it without any problems.
    blay likes this.
  10. blay

    blay Member

    Thanks bud.
  11. motorsport226

    motorsport226 Android Enthusiast

    No problem man.

    On another note, using memory booster I noticed that my available memory using turbo4 averages around 37%, this new kernel averages around 27%. Linpack scores are the same, but turbo4 scores much higher with quadrant. Just an observation for anyone who is wondering if they should stick with turbo4 or flash this one.
  12. KuroTsubasa

    KuroTsubasa Member

    Anyone else have Wifi issues with this Kernel? My Wifi refuses to turn on with a message "Unable to start Wifi".

    I flashed this over Velocity 0.3 (which was already running the Turbo4 kernel), then reapplied Turbo4 (no kernel) for Velocity, just in case it needed it again.

    Any ideas?
  13. KuroTsubasa

    KuroTsubasa Member

    Poked around in the Turbo4 for Velocity zip and noticed it had a wifi module that wasn't in the default (non-velocity) Turbo4 zip. It must have been incompatible over this kernel.

    After reflashing the new kernel and Turbo4 (with the non-velocity zip) wifi seems to be working fine.
  14. Mitchell4500

    Mitchell4500 Android Enthusiast

    Bluetooth wont work for me.
  15. darkxsun

    darkxsun Guest

    Turbo4 is the jit library, so you can have both. I'm not sure what you're comparing?
  16. motorsport226

    motorsport226 Android Enthusiast

    Yeah nevermind, misread the instructions.

    I can seem to get the turbo4 no kernel version to download from mediafire. Anyone know anyplace else I can find it?
  17. darkxsun

    darkxsun Guest

    As far as speed, Linpack hasn't changed but my Quadrant score went from about 475 to 500 from the old overclock kernel. Constants: 448MHz Performance, JIT libraries installed.

    motorsport226 likes this.
  18. motorsport226

    motorsport226 Android Enthusiast

    Awesome, thanks man.
  19. darkxsun

    darkxsun Guest

    No problem. Of course, there's a lot more at play here than just speed. Responsiveness (that nice new governor from Cyanogen), and battery life (that new idler) should see boosts too. I'm excited. Thanks, drellisdee.
  20. motorsport226

    motorsport226 Android Enthusiast

    Agreed, the responsiveness boost was instantly noticeable and I'm sure battery life will improve as well. Thanks drell!
  21. blay

    blay Member

    Sorry for my noob-like questions, but is this meant replace turbo, or used alongside? Just trying to make sure I'm getting the most out of things.
  22. motorsport226

    motorsport226 Android Enthusiast

    Alongside turbo4, download and apply the turbo4 without kernel posted above and then flash this over.

    I misunderstood that at first too. :eek:
  23. darkxsun

    darkxsun Guest

    It replaces the old overclocking kernel. To be used with or without the JIT libraries (often called TURBO).

    EDIT: Oops, you beat me to it. Teaches me to load so many tabs before reading them all.
  24. icon123

    icon123 Member

    I'm slightly confused...

    If I wanted to try Velocity .3 with this Kernel, what version of Velocity would I d/l?
  25. motorsport226

    motorsport226 Android Enthusiast

    What version of Velocity? Huh?

    You answered your own question.

Share This Page