View Single Post
Old October 23rd, 2010, 12:06 PM   #1 (permalink)
ROM Developer
Thread Author (OP)
Join Date: Apr 2010
Posts: 477
Carrier: Not Provided

Thanks: 9
Thanked 792 Times in 168 Posts
Default [GPL] LG Ally Kernel

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.

getitnowmarketing is offline  
Last edited by getitnowmarketing; October 23rd, 2010 at 12:37 PM.
Reply With Quote
The Following 22 Users Say Thank You to getitnowmarketing For This Useful Post:
azzhat (October 23rd, 2010), darkxsun (October 25th, 2010), dots (October 23rd, 2010), dumbteentarget (October 25th, 2010), EZ-SKIPPY (November 20th, 2010), Goonie21 (October 23rd, 2010), grimkee (October 23rd, 2010), JJJandJ (December 2nd, 2010), killertonez (October 23rd, 2010), klumpingkalooper (October 25th, 2010), lostlaker24 (October 28th, 2010), Mitchell4500 (October 23rd, 2010), motorsport226 (October 24th, 2010), muellerl25 (November 11th, 2010), RageXicity (October 23rd, 2010), Robo1007 (October 25th, 2010), s4mi4m (October 23rd, 2010), savoxis (October 29th, 2010), seen03 (November 30th, 2010), Trident (October 24th, 2010), warttack (October 24th, 2010), Wpz2000 (October 25th, 2010)