• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL]{S} Advanced Stock ICS Kernel Build 17 [08/12/12]

Search This thread

Arakmar

Senior Member
Mar 10, 2011
212
764
Grenoble
Advanced Stock ICS Kernel for Xperia S​
Here is a kernel based on the Stock ICS kernel with some features which come from DoomLord's GB kernel.


Features

  • autorooting
  • CWM recovery (with reboot recovery support)
  • init.d support (thanks DoomLord)
  • TUN/TAP driver
Download links
Prerequisites
  • An unlocked bootloader: Tuto here.
  • A stock ICS ROM (6.1.A.0.452 to 6.1.A.2.55). Don't expect this kernel to work with CM9/10.
How to flash

For elf files :
Read DoomLord's guide
You just have to replace kernel.elf by the name of the downloaded kernel in the flash command (eg : ics4.elf)

For zip files:
Flash the zip file from the recovery


Changelogs

Build 17 (08/12/12) :
  • Merge 6.1.A.2.55 kernel sources
  • Autodetect rom version in default.prop based on build.prop
  • Updated recovery, adbd and busybox (JB version)
Build 16 (01/11/12) :
  • Random reboot issue probably fixed (patch from CM10 kernel, thanks Kali)
  • Rom version increased to 6.1.A.2.50
  • Updated recovery, adbd and busybox (JB version)
  • SD card mounted by default in recovery
  • Vibration at boot removed, only led and backlight now

Build 15 (05/09/12) : Increase ROM version in default.prop from 6.1.A.0.452 to 6.1.A.2.45

Build 14 :
  • New MMC driver (from codeaurora) : it fixes issue while formatting partitions in CWM
  • Wifi module built from source (in the ramdisk)
  • Updated recovery
  • Disable again hardware clock

Build 13 :
  • Backup / Restore fixed with dedupe
  • Backlight enabled in CWM
  • Better "reboot recovery" handling in adbd / busybox and recovery

Build 12 :
  • Updated recovery
  • Hardware clock correctly saved (from CM9 kernel)

Build 11 : Go back to GCC 4.4 (fix artifacts with camera preview)
Build 10 :
  • Kernel built with GCC 4.6
  • Several autoroot fixes (Superuser app pushed just once and correctly removed in /data)
  • Working reboot recovery command (with adb too)
  • Updated su (3.1.1) and Superuser (3.1.3)
  • A bunch of new command included in the new busybox (ifconfig, wget, vi, and many more !)
Build 9 :
  • Kernel built from sources
  • TUN/TAP driver included (for VPN)
Build 8 : Fix mass storage in CWM
Build 7 : Fix MTP
Build 6 : Key mapping in CWM fixed
Build 5 :
  • New recovery built from latest CM9 sources
  • Fixed generation of md5sum with nandroid
  • Increased font size in CWM
  • Boot partition backup and restore
  • New adbd built from CM9 sources (fixed an issue with hardcoded sh path in /system)
Build 4 :
  • Correct su binary
  • Don't wait 3 sec if /cache/recovery/boot exists
Build 3 :
  • Leds and vibrator at startup fixed

Sources


Ramdisk sources
Kernel sources

Credits

  • DoomLord : many thanks to him for its kernel and all his scripts.
  • championswimmer and sminki for their help
  • FreeXperia team for their work on CM
 
Last edited:

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
Lommel
Hey, I also have tested several times to include recovery, but withut succes, didn't get any further then a booting kernel without recovery or vibration and LED on to enter recovery but no entering recovery and kernel that doesn't boot.

Please pm me if you want to work together, I saw your kernel is from ICX team? I know nick very well so I'd would be a pleasure to work with you too :)
 

championswimmer

Inactive Recognized Developer
Oct 22, 2011
5,018
8,446
New Delhi
android.championswimmer.tk

colossus

Retired Senior Moderator
Aug 28, 2009
3,226
3,081
Welcome Champ, good to see you mate.:D


I will leave the thread here as knowing you, you will have a kernel ready for us in a few hours.:p:fingers-crossed:
 

championswimmer

Inactive Recognized Developer
Oct 22, 2011
5,018
8,446
New Delhi
android.championswimmer.tk
thanks for the test guys... so now i'm diving into including recovery....

good to know i could pull off kernel.elf editing in my first attempt :p lol

@colossus if not in hours, then definitely within 1 or 2 days ;)

EDIT :

can someone send me the kernel.elf from FXP122 cm9 ??
will save me the time to download the whole ROM
 
Last edited:

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
btw if anyone wishes to do this before me,
this diffstats should help you
https://github.com/championswimmer/xps-ramdisk/commit/a61969aefca00ce3a6e4e112e97403fb6f0c79e9
it shows how doomlord added recovery to gb kernel.. ;)

cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" :p as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care ;)

go for it championswimmer :victory:
 

fNOOB

Senior Member
Jun 3, 2012
113
34
London
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?
 

noob.fl

Senior Member
Dec 20, 2011
256
74
Vöhringen
www.facebook.com
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?

Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so :)
 
  • Like
Reactions: fNOOB

fNOOB

Senior Member
Jun 3, 2012
113
34
London
Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so :)
Cheers mate :)
 

championswimmer

Inactive Recognized Developer
Oct 22, 2011
5,018
8,446
New Delhi
android.championswimmer.tk
cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" :p as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care ;)

go for it championswimmer :victory:
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...

i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)
 
  • Like
Reactions: sminki

sminki

Senior Member
Feb 18, 2012
485
261
hard shoulders of reality
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...

i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)

cool, i was only making a bad joke, we all know DooM cares :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 194
    Advanced Stock ICS Kernel for Xperia S​
    Here is a kernel based on the Stock ICS kernel with some features which come from DoomLord's GB kernel.


    Features

    • autorooting
    • CWM recovery (with reboot recovery support)
    • init.d support (thanks DoomLord)
    • TUN/TAP driver
    Download links
    Prerequisites
    • An unlocked bootloader: Tuto here.
    • A stock ICS ROM (6.1.A.0.452 to 6.1.A.2.55). Don't expect this kernel to work with CM9/10.
    How to flash

    For elf files :
    Read DoomLord's guide
    You just have to replace kernel.elf by the name of the downloaded kernel in the flash command (eg : ics4.elf)

    For zip files:
    Flash the zip file from the recovery


    Changelogs

    Build 17 (08/12/12) :
    • Merge 6.1.A.2.55 kernel sources
    • Autodetect rom version in default.prop based on build.prop
    • Updated recovery, adbd and busybox (JB version)
    Build 16 (01/11/12) :
    • Random reboot issue probably fixed (patch from CM10 kernel, thanks Kali)
    • Rom version increased to 6.1.A.2.50
    • Updated recovery, adbd and busybox (JB version)
    • SD card mounted by default in recovery
    • Vibration at boot removed, only led and backlight now

    Build 15 (05/09/12) : Increase ROM version in default.prop from 6.1.A.0.452 to 6.1.A.2.45

    Build 14 :
    • New MMC driver (from codeaurora) : it fixes issue while formatting partitions in CWM
    • Wifi module built from source (in the ramdisk)
    • Updated recovery
    • Disable again hardware clock

    Build 13 :
    • Backup / Restore fixed with dedupe
    • Backlight enabled in CWM
    • Better "reboot recovery" handling in adbd / busybox and recovery

    Build 12 :
    • Updated recovery
    • Hardware clock correctly saved (from CM9 kernel)

    Build 11 : Go back to GCC 4.4 (fix artifacts with camera preview)
    Build 10 :
    • Kernel built with GCC 4.6
    • Several autoroot fixes (Superuser app pushed just once and correctly removed in /data)
    • Working reboot recovery command (with adb too)
    • Updated su (3.1.1) and Superuser (3.1.3)
    • A bunch of new command included in the new busybox (ifconfig, wget, vi, and many more !)
    Build 9 :
    • Kernel built from sources
    • TUN/TAP driver included (for VPN)
    Build 8 : Fix mass storage in CWM
    Build 7 : Fix MTP
    Build 6 : Key mapping in CWM fixed
    Build 5 :
    • New recovery built from latest CM9 sources
    • Fixed generation of md5sum with nandroid
    • Increased font size in CWM
    • Boot partition backup and restore
    • New adbd built from CM9 sources (fixed an issue with hardcoded sh path in /system)
    Build 4 :
    • Correct su binary
    • Don't wait 3 sec if /cache/recovery/boot exists
    Build 3 :
    • Leds and vibrator at startup fixed

    Sources


    Ramdisk sources
    Kernel sources

    Credits

    • DoomLord : many thanks to him for its kernel and all his scripts.
    • championswimmer and sminki for their help
    • FreeXperia team for their work on CM
    14

    Build 17 is here !
    As promised, .55 based :)
    12
    can i also suggest support for booting into recovery through rom manager by checking for the existence of the file /cache/recovery/boot in the same way the bootrec script does in doomlords kernel

    Done !

    New version : http://dl.dropbox.com/u/12943198/ics2.elf
    - /cache/recovery/boot support
    - Improved autoroot script (copy missing files even if /system/autorooted exists)

    ramdisk sources : https://github.com/Arakmar/xps-ics-ramdisk
    11
    Build 16 is released :)

    Please let me know if you experience again random reboots...
    11
    having the same issue as well.

    It's probably because the version in default.prop is still 6.1.A.0.452. (https://github.com/Arakmar/xps-ics-ramdisk/commit/8c81ac9d7451f47d721079ee79aeda93aaece3c0)
    I'll upload a new build today.

    EDIT: Build 15 is uploaded :)