Post Reply

[KERNEL] SpeedMod Froyo [K13E HPCall VoodooSnd7 SharpnessFix STABLE]

OP hardcore

29th October 2010, 10:33 AM   |  #1  
OP Senior Member
Thanks Meter: 8,150
 
3,435 posts
Join Date:Joined: Sep 2006
Donate to Me
More
Hi people. This kernel aims to be fast, compatible, stable, and have good battery life. It makes our Galaxy S run the way it should.

This kernel is for the International Galaxy S (I9000) and Bell Mobility Vibrant (I9000M)

The SpeedMod kernel for the AT&T Captivate is available here: http://forum.xda-developers.com/showthread.php?t=893880

Note: Only lagfixes using EXT4 are robust. Other lagfixes run the risk of data loss on freezing, hard-reboots, or sudden power loss.

WARNING: Before you try any lagfix, make sure that you have enough free space on your Internal SD. You should have at least more free space than data+dbdata+cache combined.

Latest K13E (12-Apr) - Voodoo Sound v7. Lowmemorykiller fixes. Improved display sharpness using AMOLED processing mode in MDNIE. Support for voice calls through headphones. Check here for more info and downloads.

>>> Click here for the installation procedure using Odin.

>>> If you have questions, please read the FAQ: Frequently Asked Questions first!

>>> What is the SpeedMod kernel?

Latest features:

- Compiled using codesourcery 2010.09: Faster and more battery efficient
- The only properly working Tiny RCU implementation, thanks to Paul McKenney
- More efficient: Removed debug logging from kernel and Android
- Most updated version of my Enhanced Universal Lagfix fork with improved stability
- Full Android 2.2.1 ROM compatibility

This kernel has:

- Based on JPX Android 2.2.1 kernel source
- Works on all stock Froyo 2.2 and 2.2.1 ROMs and popular custom ROMs
- 340MB RAM
- Enhanced version of sztupy's Universal Lagfix
- Includes neldar's BackLightNotification 2.3 from https://github.com/project-voodoo/ba...ernel_patches/
- Sharpness (AMOLED mode) & color fixes for the screen
- SpeedMod: Replaced kernel jhash2 with jhash3
- Includes my Startup Tweaks from http://forum.xda-developers.com/showthread.php?t=813309
- Adjusted kernel HZ value to improve smoothness
- Uses BFQ IO scheduler by default, from http://algo.ing.unimo.it/people/paol...ed/sources.php
- Updated ext4 code in kernel from http://www2.kernel.org/pub/linux/ker.../ext4-patches/
- Properly working Tiny RCU for better speed and efficiency from http://android.git.kernel.org/?p=ker...90160a18caf95d
- Patched lowmemorykiller for compatibility with Tiny RCU from http://android.git.kernel.org/?p=ker...3cbfcb015577a9
- Optimized compiler flags: -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp

--------------------------------

FOR BEGINNERS:

This kernel is based on sztupy's Universal Lagfix: Lagfix and root options are accessible by booting into the Recovery Menu.

To get the best speed, it is recommended that you enable all Tweaks from the Recovery Menu. Tweaks are under SpeedMod features. Info on Tweaks: http://forum.xda-developers.com/showthread.php?t=813309

How to root: http://forum.xda-developers.com/show...2&postcount=90

Kernel HZ value: HZ=500 is smoother, HZ=256 is Samsung default.

--------------------------------

Memory configs (K10J and later):

CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=2048
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=4096
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1500
CONFIG_WLAN_SAMSUNG_MEMSIZE_BCM=256
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=12288
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=12288
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=32768
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=32768
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=10240
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMD=3072

Memory configs (K10I and earlier):

CONFIG_ANDROID_PMEM_MEMSIZE_PMEM=4096 *#
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_GPU1=8192 *#
CONFIG_ANDROID_PMEM_MEMSIZE_PMEM_ADSP=1500
CONFIG_WLAN_SAMSUNG_MEMSIZE_BCM=256
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC0=11264 **
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC1=1024
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC2=11264 **
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC0=30720 ##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC1=30720 ##
CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=1024 *#
CONFIG_VIDEO_SAMSUNG_MEMSIZE_TEXSTREAM=6144 ^^
CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMD=3072

** FIMC0/2 = Below this and 720P video recording won't work
## MFC0/1 = Below this and 720P video playback won't work
*# PMEM/PMEM_GPU1/JPEG = Taken from default values for Galaxy Tab
^^ TEXTREAM = Too low and 3G video call stops working

THANKS: Big thanks to sztupy for his kernel compiler VM and ULFK, lastufo for testing compiler optimizations, ykk_five for testing memory configs, and others who gave ideas or helped.

--------------------------------

WARNING: If you use a custom boot animation, apps like One Click Lag Fix will not work because it disables the playlogos1 script hack.

The files with ending with -CWM are for flashing using Clockwork Recovery.
These other zip files are for flashing with ODIN.

--------------------------------

About USB Mounts:

>>> Click here to download the USB mount fixes. Latest SpeedMod versions do not need this fix. The fix is for using K12E or older with 2.2 ROMs. It fixes the problem where Internal SD mounts as a read-only drive on the PC, or if the External SD does not get mounted.

>>> If you have questions, please read the FAQ: Frequently Asked Questions first!

>>> CLICK HERE to DOWNLOAD the kernels.
Last edited by hardcore; 13th April 2011 at 02:32 PM.
The Following 530 Users Say Thank You to hardcore For This Useful Post: [ View ]
29th October 2010, 10:47 AM   |  #2  
vanahaim's Avatar
Senior Member
Flag Prague / Teplitz
Thanks Meter: 20
 
237 posts
Join Date:Joined: Sep 2009
More
Thank you! very useful..
The Following 4 Users Say Thank You to vanahaim For This Useful Post: [ View ]
29th October 2010, 10:50 AM   |  #3  
Senior Member
Flag Belfast
Thanks Meter: 8
 
340 posts
Join Date:Joined: Dec 2008
More
Sounds good!

Could it be used in conjunction with Doc's ROM?
The Following 2 Users Say Thank You to Soniboy84 For This Useful Post: [ View ]
29th October 2010, 10:56 AM   |  #4  
Darkyy's Avatar
Retired Recognized Developer
Flag Winterthur
Thanks Meter: 2,970
 
2,002 posts
Join Date:Joined: Nov 2009
Donate to Me
More
Implementing this in my next "Darky's Raw Steel Edition v3.1"
The Following 10 Users Say Thank You to Darkyy For This Useful Post: [ View ]
29th October 2010, 11:26 AM   |  #5  
dupel's Avatar
Senior Member
Flag London
Thanks Meter: 23
 
1,368 posts
Join Date:Joined: Jun 2010
More
Cant wait. How about version A3 - O3, standart HZ (or 200, which ever you think is better) and OC (sources are already out)?

For now this is the ultimate kernel, without a doubt.

Btw, tried out HZ 100 quite extensively last night (plus ext4-ext2 and all tweaks). It is indeed not as smooth (with 6 pages of widgets in launcherpro, maximum memory consumption with 100 HZ - when you go to screen previews first drawing is slightly laggy. Without 100 - it is smooth on first attempt).

Battery life.. Well, subjectively - better, I would even say much better. But it needs more testing.
Last edited by dupel; 29th October 2010 at 11:30 AM.
The Following User Says Thank You to dupel For This Useful Post: [ View ]
29th October 2010, 11:26 AM   |  #6  
Ferdimage's Avatar
Senior Member
Flag Sydney
Thanks Meter: 30
 
844 posts
Join Date:Joined: Jan 2009
More
Startup script speed tweaks

# Tweak cfq io scheduler
Tweaked settings of the disk io scheduler more for flash memory. Defaults are optimized for spinning harddisks. Lowered the idle wait, re-enable the low latency mode of cfq, removed the penalty for back-seeks and explicitly tell the kernel the storage is not a spinning disk.

# Tweak kernel VM management
Set tendency of kernel to swap to minimum, since we don't use swap anyway.
Lower the amount of unwritten write cache to reduce lags when a huge write is required.
Increase tendency of kernel to keep block-cache to help with slower RFS filesystem.
Increase minimum free memory, in theory this should make the kernel less likely to suddenly run out of memory.

# Tweak kernel scheduler
Make the task scheduler more 'fair' when multiple tasks are running. This has a huge effect on UI and App responsiveness. These values (less aggressive settings) are 20% of the Linux defaults, and about half of the Android defaults.

# Miscellaneous tweaks
Manually set the starting dalvik heap size.
Increase wifi scanning gap to reduce battery usage.



@ Hardcore can you paste your Startup Reference, on your post too for a quick Faq for ppl here, looking for details on the tweaks.
Thanks
Last edited by Ferdimage; 2nd November 2010 at 02:38 PM.
29th October 2010, 11:31 AM   |  #7  
Senior Member
Thanks Meter: 7
 
404 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by Ferdimage

Startup script speed tweaks

# Tweak cfq io scheduler
Tweaked settings of the disk io scheduler more for flash memory. Defaults are optimized for spinning harddisks. Lowered the idle wait, re-enable the low latency mode of cfq, removed the penalty for back-seeks and explicitly tell the kernel the storage is not a spinning disk.

# Tweak kernel VM management
Set tendency of kernel to swap to minimum, since we don't use swap anyway.
Lower the amount of unwritten write cache to reduce lags when a huge write is required.
Increase tendency of kernel to keep block-cache to help with slower RFS filesystem.
Increase minimum free memory, in theory this should make the kernel less likely to suddenly run out of memory.

# Tweak kernel scheduler
Make the task scheduler more 'fair' when multiple tasks are running. This has a huge effect on UI and App responsiveness. These values (less aggressive settings) are 20% of the Linux defaults, and about half of the Android defaults.

# Miscellaneous tweaks
Manually set the starting dalvik heap size.
Increase wifi scanning gap to reduce battery usage.



@ Hardcore can you paster this Ref on your post too for a quick Faq for ppl here, looking for details.
Thanks

Credit: Extralife (for pasting on another thread)

Thanks mate, very informative.
The Following 2 Users Say Thank You to huxflux2003 For This Useful Post: [ View ]
29th October 2010, 11:38 AM   |  #8  
dupel's Avatar
Senior Member
Flag London
Thanks Meter: 23
 
1,368 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by Ferdimage



Credit: Extralife (for pasting on another thread)

These tweaks are actually by hardcore, and his explanation =))
The Following User Says Thank You to dupel For This Useful Post: [ View ]
29th October 2010, 11:44 AM   |  #9  
Senior Member
Flag Ipoh
Thanks Meter: 37
 
715 posts
Join Date:Joined: Mar 2007
Any chance of incorporating the 1.2Ghz overclock?
The Following User Says Thank You to dereknas For This Useful Post: [ View ]
29th October 2010, 11:48 AM   |  #10  
SquirtingCherry's Avatar
Senior Member
Flag Zevenbergen
Thanks Meter: 77
 
383 posts
Join Date:Joined: Jul 2010
More
Very interested in A1 gonna try it out when im home. I preffer speed over battery ^^

The Following 2 Users Say Thank You to SquirtingCherry For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
kernel, speedmod
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S I9000 Android Development by ThreadRank