[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
To be clear:
The 2.3.4 ROM is not official, so Samsung didn't release the updated kernel sources for it.
This kernel boots up with 2.3.4 but doesn't work properly (random reboots, etc.)

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

tids2k

Senior Member
Apr 21, 2009
2,543
829
Sydney
Hi mate,
I think i asked this before as well, but do this kernel supports extended batteries if yes does the kernel support cat /sys/class/power_supply/battery/batt_attr_text command and if not could you implement in the next version, as it is very crucial to test the extended batteries. Thanks in advance.
 

bgn9000

Senior Member
Jan 12, 2011
446
732
Versailles
To be clear:
The 2.3.4 ROM is not official, so Samsung didn't release the updated kernel sources for it.
This kernel boots up with 2.3.4 but doesn't work properly (random reboots, etc.)

Sent from my GT-I9100 using XDA App

"Official" ROM XXKG1 embeeded a KG1 kernel.
I don't see any differences into this kernel signature (still 2.6.35.7) whereas on HTC this is a 2.6.37 for Android 2.3.4.

Moreover, I flashed KG1 kernel and modem onto my litening 1.5 (Android 2.3.3 firmware).
I am a little bit confused about all those things :)

By the way, which Sourcery toolchain are you using (4.4.0, 4.4.1, 4.5.1) ?
 

python08

Retired Recognized Developer
May 28, 2010
325
289
"Official" ROM XXKG1 embeeded a KG1 kernel.
I don't see any differences into this kernel signature (still 2.6.35.7) whereas on HTC this is a 2.6.37 for Android 2.3.4.

Moreover, I flashed KG1 kernel and modem onto my litening 1.5 (Android 2.3.3 firmware).
I am a little bit confused about all those things :)

By the way, which Sourcery toolchain are you using (4.4.0, 4.4.1, 4.5.1) ?

I don't even know if sources need to be updated, but there's probably a lot of changes that were done by Samsung in the KG1 kernel.
It's not because it's the same Linux version (2.6.35.7) that there's no updates in the kernel sources!
The stable release was built with CodeSourcery 2010 (4.5.1)
 

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