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

Search This thread

hardcore

Senior Member
Sep 12, 2006
3,435
7,992
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://xdaforums.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/backlightnotification/tree/master/kernel_patches/
- Sharpness (AMOLED mode) & color fixes for the screen
- SpeedMod: Replaced kernel jhash2 with jhash3
- Includes my Startup Tweaks from http://xdaforums.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/paolo/disk_sched/sources.php
- Updated ext4 code in kernel from http://www2.kernel.org/pub/linux/kernel/people/tytso/ext4-patches/
- Properly working Tiny RCU for better speed and efficiency from http://android.git.kernel.org/?p=ke...it;h=9b1d82fa1611706fa7ee1505f290160a18caf95d
- Patched lowmemorykiller for compatibility with Tiny RCU from http://android.git.kernel.org/?p=ke...ff;h=5545554aac04918ece318270d63cbfcb015577a9
- 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://xdaforums.com/showthread.php?t=813309

How to root: http://xdaforums.com/showpost.php?p=8896862&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.
 

Attachments

  • speedmod-kernel-k13c-500hz.tar
    6 MB · Views: 108,597
  • speedmod-kernel-k13c-500hz-CWM.zip
    6.2 MB · Views: 25,240
  • speedmod-kernel-k13d-500hz.tar
    6 MB · Views: 18,822
  • speedmod-kernel-k13d-500hz-CWM.zip
    6.2 MB · Views: 10,959
  • speedmod-kernel-source-k13d-for-developers.zip
    4.2 MB · Views: 2,051
  • speedmod-kernel-k13e-500hz.tar
    6 MB · Views: 37,743
  • speedmod-kernel-k13e-500hz-CWM.zip
    6.2 MB · Views: 19,514
  • speedmod-kernel-source-k13e-for-developers.zip
    4.2 MB · Views: 3,326
Last edited:

dupel

Senior Member
Jun 2, 2010
1,394
23
London
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:
  • Like
Reactions: sebarkh

Ferdimage

Senior Member
Jan 1, 2009
1,044
69
Sydney
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:

huxflux2003

Senior Member
Dec 29, 2008
405
6
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.
 
  • Like
Reactions: shaha66

trasig

Senior Member
Nov 29, 2009
273
137
kernel.1ug.org
You actually changed any code in the source. Or just in config and compile flags? Want to compile kernel (voodoo sources) with this.

Sent from my GT-I9000 using XDA App
 

Guiper

Senior Member
Sep 9, 2008
160
192
First Impression with O2 and HZ=500. It is just me or it is waaay much smoooother the user interface? The scrolling and even opening applications experience feels closer my old HTC Desire.

Let's see battery life, but something changed with this latest kernel (Have been using your ones from the other thread).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 525
    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://xdaforums.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/backlightnotification/tree/master/kernel_patches/
    - Sharpness (AMOLED mode) & color fixes for the screen
    - SpeedMod: Replaced kernel jhash2 with jhash3
    - Includes my Startup Tweaks from http://xdaforums.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/paolo/disk_sched/sources.php
    - Updated ext4 code in kernel from http://www2.kernel.org/pub/linux/kernel/people/tytso/ext4-patches/
    - Properly working Tiny RCU for better speed and efficiency from http://android.git.kernel.org/?p=ke...it;h=9b1d82fa1611706fa7ee1505f290160a18caf95d
    - Patched lowmemorykiller for compatibility with Tiny RCU from http://android.git.kernel.org/?p=ke...ff;h=5545554aac04918ece318270d63cbfcb015577a9
    - 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://xdaforums.com/showthread.php?t=813309

    How to root: http://xdaforums.com/showpost.php?p=8896862&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.
    47
    Updated test: K12Q-T7:

    This version is unbelievably smooth!

    Android Logger (logcat) disabled by default (can be re-enabled via Tweaks).
    Kernel debug messages have been disabled.
    Fixed the super loud notifications with Voodoo Sound.

    Changes from K12P:

    - Disabled Android Logger (can be re-enabled via Tweaks)
    - Disabled all kernel debug messages for efficiency
    - Changed boot logo to I897 logo for AT&T Captivate version
    - Changed /cache to ext4nj in recommended ext4 lagfix to fix large Market downloads
    - Optional IPv6 Privacy support in Tweaks
    - Voodoo Sound v2 compatible
    - Fixed loud notification problem with headphones
    - Fixed popping / clicking noise when music and FM radio is stopped / started
    - Better FM Radio sound:
    - - Really removed the high pass filter and DRC from FM Radio (restores full bass)
    - - Turn on 4FS mode for ADC in FM Radio (smoother high frequencies)
    - - Turn on 128x oversampling for ADC and DAC in FM Radio mode
    - Adjusted volume of FM Radio and Media Playback to be similar
    - General sound quality improvements:
    - - Maximized digital mixer output to improve SNR and resolution
    - - 128x oversampling option in Voodoo Sound enabled by default
    - - Explicitly disable DRC and NG during media playback, if +1.5dB mode is NOT selected

    For those people who requested IPv6 privacy, please let me know if it works in this version.
    41
    On 12A, the battery seems better - but only marginally so - i still see Wifi using 35% on a mostly idle phone. If I remember right, the previous usage used to be around 5% - definitely single digit. Something is still wrong with wifi with JPY ROM/Modem....
    Its not the ROM or modem. I think its the new Wifi firmware. I've started a thread to collect Wifi firmware versions.

    http://xdaforums.com/showthread.php?t=885903

    In the meantime, if you want u can experiment. I've created update.zip packages to update/overwrite the wifi firmware (it's in /system/etc/wifi).

    You can try to use the older (DXJPA) wifi firmware and see how that does in terms of power.
    If you don't like it, you can put back the XXJPY wifi firmware with the other package.

    Let me know your findings, if u try it out.

    DXJPA wifi firmware is working fine with my XXJPY rom. Gonna check out the battery usage.

    FYI:
    DXJPA: Firmware version = wl0: Jun 4 2010 14:21:21 version 4.218.214.3
    XXJPY: Firmware version = wl0: Nov 16 2010 08:56:21 version 4.218.250.38
    26
    K12U was just out, but here is K13A-T1!

    Changes:
    - Single version for neutral/cold/warm color, selectable from Recovery
    - Option to disable darkest auto-brightness level, selectable from Recovery
    - Minor optimizations to brightness sensor driver

    Otherwise it is the same as K12U.
    25
    SpeedMod + Voodoo Sound test version!

    K12L-T5:

    Changes from K12K:
    - Improvements to FM Radio sound: remove Dynamic Range Compression
    - Voodoo Sound v1: FM radio bass fix, controllable headphone output via app
    - rear speaker volume +1 for media
    - light sensor polling interval changed to 2s instead of 0.5s
    (saves battery, more stable brightness levels)
    - light sensor sensitivity adjusted so that the screen doesn't turn bright so easily
    (saves battery and reduces screen burn)
    - adjustments to IO Tweak (super smooth now!)
    - changed battery level polling interval to 60 seconds, from 5 seconds

    Note that you need Supercurio's Voodoo app to adjust the headphone level. If u don't install it, the default level is the same level as K12K (+1 from Nexus S, or +3 from SGS).

    PS. The FM radio sound is really awesome after those voice filters have been removed!