[KERNEL][2.6.35.9][CWM] Custom kernel for the Samsung Galaxy S II stable-r2

Search This thread

python08

Retired Recognized Developer
May 28, 2010
325
289
About
This kernel is built from Samsung's official sources (available on github thanks to supercurio). It's clean, fast and it aims to be stable.
Please note that this kernel won't root your device automatically but you will be able to remount /system as r/w and then push Superuser apk and binary.
This kernel should work with any european ROM.

Features
ClockworkMod recovery 4.0.0.8
Stable Linux kernel 2.6.35.x (currently .9)
Deadline I/O scheduler tweaked for flash usage
SLQB slab allocator
/system/etc/init.d scripts support
"Insecure" mode
Some other tweaks and improvements

Download
Please remember that I'm not responsible of any damage caused to your phone.

gt-i9100_kernel-stable-r2.zip
md5 checksum: 5d8aa55604ef25de6cf8910337bc4365

Installation
Flash the .zip with Odin or the zImage with heimdall (heimdall flash --kernel /path/to/zImage).
I advice you to wipe cache, dalvik-cache and battery stats between updates.
Also, you should notice a better battery life after a full charging cycle.

Sources
All sources are available on my github

Credits
For a list of all contributors, look at the git repo. Special thanks to supercurio, netarchy and teamhacksung.

CHANGELOG

* stable-r2 : *Should* be compatible with leaked 2.3.4 and fix random reboots
Updated ClockworkMod Recovery to blue-themed version 4.0.0.8 (thanks to codeworkx)

* stable-r1 : Stable release (Linux 2.6.35.9)
This version fixes the battery drain (at least for me)
Removed CIFS support and interactive governor
Rebuilt with a newer toolchain

==========================================
OLDER RELEASES
==========================================

* r4 : Removed autogroup patch
Optional interactive governor

* r3 : Removed *buggy* interactive governor
SLQB instead of SLUB
Rebuilt with the toolchain recommended by Samsung
Small tweak to ondemand governor and to readahead
Upstream fixes

* r2 : Added ClockworkMod recovery
Fixed battery drain
Sleep of death patch
Interactive governor adjustments
Compiler optimizations
Misc fixes

* r1 : First release
 
Last edited:

aerobahn

Senior Member
Feb 25, 2011
94
54
Nice release.
In your git repo, you posted that this kernel build includes BacklightNotification. Has this been confirmed working by you with BLN control?
 

python08

Retired Recognized Developer
May 28, 2010
325
289
Nice release.
In your git repo, you posted that this kernel build includes BacklightNotification. Has this been confirmed working by you with BLN control?

It won't work with BLN Control app because, as we can't modify liblights, we need to manage blinking at kernel-level.
I'm working on it.

Sent from my GT-I9100 using XDA App
 
Last edited:

wonderwout

Senior Member
Mar 17, 2010
283
40
BLN would be very desirable :)

Can you boost the incall volume?

Found this tip you can use via the stock dailer:

"Enter this number *#*#197328640#*#* This will open the service mode menu.
Select option [5] AUDIO Select option [1] (VOICE CALL) Select option [2] HEADSET Select option [1] Volume Select option [1] SRC Speech RX Volume Select option [5] 5_lvl : 87 Press the menu button (left side) Choose Key Input Enter a value between 0 and 100, with 100 the loudest setting. Press ok"

This is for headset but you will also find other volume options here, maybe this can do what you want
 
  • Like
Reactions: vegetaleb

Skyline92

Senior Member
May 13, 2011
269
26
Nice Kernel, but why did you use the Deadline I/O Scheduler? CFQ should be better than this one.

Sent from my GT-I9100 using XDA App
 

knightnz

Senior Member
Dec 12, 2009
1,694
270
Wellington
The stock is 2.6.35.7, so a jump to the "final" 2.6.35.13 version is a useful improvement, thanks!

Do we require updated Samsung sources to be able to use newer kernel versions? In particular a 2.6.38 kernel with the Automatic process grouping patch would be very useful, not to mention some of the other improvements in PPP support from .37 which makes VPN much more useful.

Cheers.
 

python08

Retired Recognized Developer
May 28, 2010
325
289
Deadline is faster than cfq.... bfq still better but so far no kernel implements it on i9100

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button

Deadline is much better than BFQ for database-based systems like Android. On top of that, Deadline is tweaked for flash usage in this kernel.

Sent from my GT-I9100 using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    About
    This kernel is built from Samsung's official sources (available on github thanks to supercurio). It's clean, fast and it aims to be stable.
    Please note that this kernel won't root your device automatically but you will be able to remount /system as r/w and then push Superuser apk and binary.
    This kernel should work with any european ROM.

    Features
    ClockworkMod recovery 4.0.0.8
    Stable Linux kernel 2.6.35.x (currently .9)
    Deadline I/O scheduler tweaked for flash usage
    SLQB slab allocator
    /system/etc/init.d scripts support
    "Insecure" mode
    Some other tweaks and improvements

    Download
    Please remember that I'm not responsible of any damage caused to your phone.

    gt-i9100_kernel-stable-r2.zip
    md5 checksum: 5d8aa55604ef25de6cf8910337bc4365

    Installation
    Flash the .zip with Odin or the zImage with heimdall (heimdall flash --kernel /path/to/zImage).
    I advice you to wipe cache, dalvik-cache and battery stats between updates.
    Also, you should notice a better battery life after a full charging cycle.

    Sources
    All sources are available on my github

    Credits
    For a list of all contributors, look at the git repo. Special thanks to supercurio, netarchy and teamhacksung.

    CHANGELOG

    * stable-r2 : *Should* be compatible with leaked 2.3.4 and fix random reboots
    Updated ClockworkMod Recovery to blue-themed version 4.0.0.8 (thanks to codeworkx)

    * stable-r1 : Stable release (Linux 2.6.35.9)
    This version fixes the battery drain (at least for me)
    Removed CIFS support and interactive governor
    Rebuilt with a newer toolchain

    ==========================================
    OLDER RELEASES
    ==========================================

    * r4 : Removed autogroup patch
    Optional interactive governor

    * r3 : Removed *buggy* interactive governor
    SLQB instead of SLUB
    Rebuilt with the toolchain recommended by Samsung
    Small tweak to ondemand governor and to readahead
    Upstream fixes

    * r2 : Added ClockworkMod recovery
    Fixed battery drain
    Sleep of death patch
    Interactive governor adjustments
    Compiler optimizations
    Misc fixes

    * r1 : First release
    2
    Stable-r2 is out.
    2
    Nice release.
    In your git repo, you posted that this kernel build includes BacklightNotification. Has this been confirmed working by you with BLN control?

    It won't work with BLN Control app because, as we can't modify liblights, we need to manage blinking at kernel-level.
    I'm working on it.

    Sent from my GT-I9100 using XDA App
    2
    I've just uploaded a r4 built on Linux 2.6.35.7
    Please test and let me know if it's of any help for battery life :) (Thank you ownhere for the advice).
    Download here
    2
    r2 is out! More details in the first post :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone