5,594,564 Members 32,986 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
hardcore
Old
(Last edited by hardcore; 3rd February 2012 at 07:12 AM.)
#1  
Senior Member - OP
Thanks Meter 8132
Posts: 3,435
Join Date: Sep 2006

 
DONATE TO ME
Default [KERNEL] SpeedMod SGS2 [K2-21 CWM5 CIFS ROOT]

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.
The Following 575 Users Say Thank You to hardcore For This Useful Post: [ Click to Expand ]
 
hardcore
Old
(Last edited by hardcore; 3rd February 2012 at 07:37 AM.)
#2  
Senior Member - OP
Thanks Meter 8132
Posts: 3,435
Join Date: Sep 2006

 
DONATE TO ME
Source code patches here.
Attached Files
File Type: zip speedmod-kernel-s2-source-k2-1-for-developers.zip - [Click for QR Code] (3.21 MB, 2644 views)
File Type: zip speedmod-kernel-s2-source-k2-6-for-developers.zip - [Click for QR Code] (3.21 MB, 471 views)
File Type: zip speedmod-kernel-s2-source-k2-10-for-developers.zip - [Click for QR Code] (3.21 MB, 473 views)
File Type: zip speedmod-kernel-s2-source-k2-12-for-developers.zip - [Click for QR Code] (3.20 MB, 465 views)
File Type: zip speedmod-kernel-s2-source-k2-15-for-developers.zip - [Click for QR Code] (3.19 MB, 320 views)
File Type: zip speedmod-kernel-s2-source-k2-16-for-developers.zip - [Click for QR Code] (3.19 MB, 1862 views)
File Type: zip speedmod-kernel-s2-source-k2-18-for-developers.zip - [Click for QR Code] (3.29 MB, 1429 views)
File Type: zip speedmod-kernel-s2-source-k2-19-for-developers.zip - [Click for QR Code] (3.20 MB, 3003 views)
File Type: zip speedmod-kernel-s2-source-k2-20-for-developers.zip - [Click for QR Code] (3.24 MB, 1551 views)
File Type: zip speedmod-kernel-s2-source-k2-21-for-developers.zip - [Click for QR Code] (3.24 MB, 6690 views)
The Following 125 Users Say Thank You to hardcore For This Useful Post: [ Click to Expand ]
 
hardcore
Old
#3  
Senior Member - OP
Thanks Meter 8132
Posts: 3,435
Join Date: Sep 2006

 
DONATE TO ME
Reserved for future use.
The Following 60 Users Say Thank You to hardcore For This Useful Post: [ Click to Expand ]
 
EarlZ
Old
#4  
Senior Member
Thanks Meter 271
Posts: 5,658
Join Date: Jun 2010
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?
Nexus 5 32GB D820
Stock ROM, Franco Kernel
The Following 2 Users Say Thank You to EarlZ For This Useful Post: [ Click to Expand ]
 
mach0boi
Old
#5  
mach0boi's Avatar
Senior Member
Thanks Meter 259
Posts: 2,179
Join Date: Jul 2010
Location: Manila
Can we have a flashable zip? Want to test the kernel now but don't have access to odin.
 
golf60
Old
#6  
Senior Member
Thanks Meter 59
Posts: 421
Join Date: Aug 2010
wow.... nice to see you here... :) Welcome in the SGS2 Zone...
The Following User Says Thank You to golf60 For This Useful Post: [ Click to Expand ]
 
hardcore
Old
#7  
Senior Member - OP
Thanks Meter 8132
Posts: 3,435
Join Date: Sep 2006

 
DONATE TO ME
Quote:
Originally Posted by EarlZ View Post
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?
It's built on the latest source code from samsung's open source website. I think that's the 2.3.3 one.
The Following 13 Users Say Thank You to hardcore For This Useful Post: [ Click to Expand ]
 
EarlZ
Old
#8  
Senior Member
Thanks Meter 271
Posts: 5,658
Join Date: Jun 2010
Quote:
Originally Posted by hardcore View Post
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
Nexus 5 32GB D820
Stock ROM, Franco Kernel
The Following User Says Thank You to EarlZ For This Useful Post: [ Click to Expand ]
 
tonysac
Old
#9  
tonysac's Avatar
Senior Member
Thanks Meter 150
Posts: 1,328
Join Date: Jul 2010
A great developer from galaxy s is here! Respect!

Sent from Galaxy!
 
Davith
Old
#10  
Senior Member
Thanks Meter 38
Posts: 443
Join Date: Apr 2010
Yes! I'm so happy that Speedmod's now available for my SGS2!

Looking forward to it.

The Following User Says Thank You to Davith For This Useful Post: [ Click to Expand ]
Tags
kernel, speedmod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes