[KERNEL] SpeedMod SGS2 [K2-21 CWM5 CIFS ROOT]

Search This thread

hardcore

Senior Member
Sep 12, 2006
3,435
7,990
Hi guys,

This is the SpeedMod kernel for the Samsung Galaxy S2 GT-I9100.

SpeedMod's core features are:
- Super stable: No undervolting, overclocking or potentially unstable modifications
- Fast and smooth: Compiler and code optimizations
- Excellent battery life: Remove unecessary logging and debugging

WARNING: This kernel does NOT work on the GT-I9100G. GT-I9100 ROMs and kernels are not compatible with GT-I9100G.

>>> CLICK HERE for more info and the DOWNLOAD links.

>>> CLICK HERE for the Frequently Asked Questions list.

Current features:

Root and CWM:
- Automatically installs root (su)
- CWM recovery

Screen and misc tweaks:
- MDNIE screen sharpness tuning (improves text readability)
- MDNIE color tuning (reduces over-saturation of color)
- Lower brightness at low-light levels
- init.d, TUN, CIFS, IPV6 Privacy support

Performance:
- CPU governor tweaks: increase responsiveness
- IO tweaks
- Read ahead tweaks
- Updated to jhash3
- Compiled with optimizations using Linaro GCC 4.5 toolchain
- Switched to SLAB instead of SLUB
- Enabled CONFIG_RCU_FAST_NO_HZ

Turned off unnecessary logging for better smoothness and efficiency:
- Disabled Android Debug Logger / logcat
- Disabled Kernel debug
- Disabled Samsung debug
- Disabled CONFIG_FTRACE

More features will be added along the way.

Latest changes:

K2-1:
- Rebuilt using newer AT&T SGH-I777_Opensource source code

K2-2:
- Rebuilt using newer Linaro 2011.10 GCC 4.5 toolchain
- USB charging speed increased by 10%: current limit set to 500mA

K2-3:
- Revert faster USB charging speed, it was causing instability for some USB ports
- Disable Mali-400 GPU state tracking
- Minor bugfix to Exynos cpu suspend hotplug

K2-5:
- Rebuilt using new GT-I9100_OpenSource_Update3 source code

K2-6:
- Change to CONFIG_PREEMPT_VOLUNTARY for kernel (should have less overhead)

K2-7:
- Implemented ARM_ERRATA_743622, ext4 and mm patches from GT-N7000 sources

K2-8:
- Patched net usb drivers from GT-N7000 sources
- Revert to using CONFIG_PREEMPT
- New compiler optimization settings (smoother!)

K2-9:
- Removed -ffast-math from compiler optimizations

K2-10:
- Reworked patches from GT-N7000 sources
- Adjusted init.d script startup delay

K2-11:
- Updated wifi driver from GT-N7000 sources
- Updated CWM recovery to 4.0.1.5
- Changed some compiler optimization settings

K2-12:
- Changed some compiler optimization settings

K2-13:
- Disabled debugging: FRAME_POINTERS and ARM_UNWIND
- Modified IO tweaks (write flush timing)
- max17042: Fix fuel alert wakelocks (thanks Entropy512)

K2-15:
- Added TCP timeout tweaks

K2-16:
- Touchscreen tweaks: MOVHYST ("Vitalij fix") set to 3 (same as SGS1)
- Touchscreen sensitivity (burst length) increased

K2-18:
- Patch from Linaro to support ARM CPU topology
- Updated ARM topology patches
- Enabled sched_mc for dual-core power management
- Enabled AFTR (ARM off top running) CPU idle mode
- Nicer looking kernel version string
- Updated to CWM5
- VM patches from 2.6.36 kernel
- PREEMPT_VOLUNTARY mode
- CPU hotplug optimizations
- Disabled scheduler stats
- Disabled more debug code: STACKTRACE and LATENCYTOP
- High resolution timer HRTICK enabled in CFS scheduler
- Scheduler tweaks
- Some kernel config option cleanups
- Adjustments to compiler options
- Adjustment to wifi driver wakelock timeout
- max17042: Fix fuel alert wakelocks
- nohz: sched delay going tickless when CPU is loaded
- rcu: remove rcu_needs_cpu_flush() to avoid false quiescent states
- remove the per cpu tick skew
- Touchscreen MOVHYST ("Vitalij fix") set to 10

K2-19:
- Updated compiler options
- PREEMPT mode
- CPU hotplug changes
- Enabled KALLSYMS_ALL for Voodoo Louder and Tegrak OC compatibility
- Updated scheduler tweaks
- Disabled AFTR cpuidle mode
- Slightly more aggressive GPU DVFS speed increase
- GPU base clock set to 167MHz instead of 160MHz
- Disabled some more debug logging in the kernel

K2-20:
- CPU hotplug and frequency scaling adjustments
- GPU frequency scaling adjustments
- FUSE module included
- Increased USB charging speed to same speed as AC charger

K2-21:
- CPU frequency scaling adjusted

[HOW TO ENABLE LOGCAT]

If you are a developer or want to re-enable logcat for whatever reason, do this:

adb shell
su
mount -o remount,rw /system
echo ANDROIDLOGGER >> /system/etc/tweaks.conf
mount -o remount,ro /system

Reboot and you should have it enabled.

Disclaimer: Use at your own risk!

>>> CLICK HERE for the DOWNLOAD links.
 
Last edited:

hardcore

Senior Member
Sep 12, 2006
3,435
7,990
Source code patches here.
 

Attachments

  • speedmod-kernel-s2-source-k2-1-for-developers.zip
    3.2 MB · Views: 3,490
  • speedmod-kernel-s2-source-k2-6-for-developers.zip
    3.2 MB · Views: 561
  • speedmod-kernel-s2-source-k2-10-for-developers.zip
    3.2 MB · Views: 524
  • speedmod-kernel-s2-source-k2-12-for-developers.zip
    3.2 MB · Views: 517
  • speedmod-kernel-s2-source-k2-15-for-developers.zip
    3.2 MB · Views: 360
  • speedmod-kernel-s2-source-k2-16-for-developers.zip
    3.2 MB · Views: 1,924
  • speedmod-kernel-s2-source-k2-18-for-developers.zip
    3.3 MB · Views: 1,535
  • speedmod-kernel-s2-source-k2-19-for-developers.zip
    3.2 MB · Views: 3,075
  • speedmod-kernel-s2-source-k2-20-for-developers.zip
    3.2 MB · Views: 1,660
  • speedmod-kernel-s2-source-k2-21-for-developers.zip
    3.2 MB · Views: 8,385
Last edited:

EarlZ

Senior Member
Jun 21, 2010
6,287
327
Hi HC welcome to the S2 forums, Gonna be providing you feedback on this as I did with the SGS1.

Is this built on the latest XXKG2 2.3.4 source codes?
 

EarlZ

Senior Member
Jun 21, 2010
6,287
327
It's built on the latest source code from samsung's open source website. I think that's the 2.3.3 one.

Ive read from another dev that the 2.3.4 source is out. The 2.3.3 has the yellow tint on the left side while the 2.3.4 fixes it. I'll check back when this is updated to 2.3.4 and start testing from there :D
 
  • Like
Reactions: shinoda69

mrgsm021

Member
Mar 21, 2009
13
0
Auckland
Finally, I've been waiting for your kernel for my S2, had been regular user of your kernels since S1. I am a big fan. Looking forward to your work on S2. Thank you.

Sent from my GT-I9100 using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 569
    Hi guys,

    This is the SpeedMod kernel for the Samsung Galaxy S2 GT-I9100.

    SpeedMod's core features are:
    - Super stable: No undervolting, overclocking or potentially unstable modifications
    - Fast and smooth: Compiler and code optimizations
    - Excellent battery life: Remove unecessary logging and debugging

    WARNING: This kernel does NOT work on the GT-I9100G. GT-I9100 ROMs and kernels are not compatible with GT-I9100G.

    >>> CLICK HERE for more info and the DOWNLOAD links.

    >>> CLICK HERE for the Frequently Asked Questions list.

    Current features:

    Root and CWM:
    - Automatically installs root (su)
    - CWM recovery

    Screen and misc tweaks:
    - MDNIE screen sharpness tuning (improves text readability)
    - MDNIE color tuning (reduces over-saturation of color)
    - Lower brightness at low-light levels
    - init.d, TUN, CIFS, IPV6 Privacy support

    Performance:
    - CPU governor tweaks: increase responsiveness
    - IO tweaks
    - Read ahead tweaks
    - Updated to jhash3
    - Compiled with optimizations using Linaro GCC 4.5 toolchain
    - Switched to SLAB instead of SLUB
    - Enabled CONFIG_RCU_FAST_NO_HZ

    Turned off unnecessary logging for better smoothness and efficiency:
    - Disabled Android Debug Logger / logcat
    - Disabled Kernel debug
    - Disabled Samsung debug
    - Disabled CONFIG_FTRACE

    More features will be added along the way.

    Latest changes:

    K2-1:
    - Rebuilt using newer AT&T SGH-I777_Opensource source code

    K2-2:
    - Rebuilt using newer Linaro 2011.10 GCC 4.5 toolchain
    - USB charging speed increased by 10%: current limit set to 500mA

    K2-3:
    - Revert faster USB charging speed, it was causing instability for some USB ports
    - Disable Mali-400 GPU state tracking
    - Minor bugfix to Exynos cpu suspend hotplug

    K2-5:
    - Rebuilt using new GT-I9100_OpenSource_Update3 source code

    K2-6:
    - Change to CONFIG_PREEMPT_VOLUNTARY for kernel (should have less overhead)

    K2-7:
    - Implemented ARM_ERRATA_743622, ext4 and mm patches from GT-N7000 sources

    K2-8:
    - Patched net usb drivers from GT-N7000 sources
    - Revert to using CONFIG_PREEMPT
    - New compiler optimization settings (smoother!)

    K2-9:
    - Removed -ffast-math from compiler optimizations

    K2-10:
    - Reworked patches from GT-N7000 sources
    - Adjusted init.d script startup delay

    K2-11:
    - Updated wifi driver from GT-N7000 sources
    - Updated CWM recovery to 4.0.1.5
    - Changed some compiler optimization settings

    K2-12:
    - Changed some compiler optimization settings

    K2-13:
    - Disabled debugging: FRAME_POINTERS and ARM_UNWIND
    - Modified IO tweaks (write flush timing)
    - max17042: Fix fuel alert wakelocks (thanks Entropy512)

    K2-15:
    - Added TCP timeout tweaks

    K2-16:
    - Touchscreen tweaks: MOVHYST ("Vitalij fix") set to 3 (same as SGS1)
    - Touchscreen sensitivity (burst length) increased

    K2-18:
    - Patch from Linaro to support ARM CPU topology
    - Updated ARM topology patches
    - Enabled sched_mc for dual-core power management
    - Enabled AFTR (ARM off top running) CPU idle mode
    - Nicer looking kernel version string
    - Updated to CWM5
    - VM patches from 2.6.36 kernel
    - PREEMPT_VOLUNTARY mode
    - CPU hotplug optimizations
    - Disabled scheduler stats
    - Disabled more debug code: STACKTRACE and LATENCYTOP
    - High resolution timer HRTICK enabled in CFS scheduler
    - Scheduler tweaks
    - Some kernel config option cleanups
    - Adjustments to compiler options
    - Adjustment to wifi driver wakelock timeout
    - max17042: Fix fuel alert wakelocks
    - nohz: sched delay going tickless when CPU is loaded
    - rcu: remove rcu_needs_cpu_flush() to avoid false quiescent states
    - remove the per cpu tick skew
    - Touchscreen MOVHYST ("Vitalij fix") set to 10

    K2-19:
    - Updated compiler options
    - PREEMPT mode
    - CPU hotplug changes
    - Enabled KALLSYMS_ALL for Voodoo Louder and Tegrak OC compatibility
    - Updated scheduler tweaks
    - Disabled AFTR cpuidle mode
    - Slightly more aggressive GPU DVFS speed increase
    - GPU base clock set to 167MHz instead of 160MHz
    - Disabled some more debug logging in the kernel

    K2-20:
    - CPU hotplug and frequency scaling adjustments
    - GPU frequency scaling adjustments
    - FUSE module included
    - Increased USB charging speed to same speed as AC charger

    K2-21:
    - CPU frequency scaling adjusted

    [HOW TO ENABLE LOGCAT]

    If you are a developer or want to re-enable logcat for whatever reason, do this:

    adb shell
    su
    mount -o remount,rw /system
    echo ANDROIDLOGGER >> /system/etc/tweaks.conf
    mount -o remount,ro /system

    Reboot and you should have it enabled.

    Disclaimer: Use at your own risk!

    >>> CLICK HERE for the DOWNLOAD links.
    121
    Source code patches here.
    57
    Reserved for future use.
    36
    K2-18:
    - Patches from Linaro to support ARM CPU topology
    - Updated ARM topology patches
    - Enabled sched_mc for dual-core power management
    - Enabled AFTR (ARM off top running) CPU idle mode
    - Nicer looking kernel version string
    - Updated to CWM5
    - VM patches from 2.6.36 kernel
    - PREEMPT_VOLUNTARY mode
    - CPU hotplug optimizations
    - Disabled scheduler stats
    - Disabled more debug code: STACKTRACE and LATENCYTOP
    - High resolution timer HRTICK enabled in CFS scheduler
    - Scheduler tweaks
    - Some kernel config option cleanups
    - Adjustments to compiler options
    - Adjustment to wifi driver wakelock timeout
    - max17042: Fix fuel alert wakelocks
    - nohz: sched delay going tickless when CPU is loaded
    - rcu: remove rcu_needs_cpu_flush() to avoid false quiescent states
    - remove the per cpu tick skew
    - Touchscreen MOVHYST ("Vitalij fix") set to 10
    29
    K2-16:
    - Touchscreen tweaks: MOVHYST ("Vitalij fix") set to 3 (same as SGS1)
    - Touchscreen sensitivity (burst length) increased