[Sony Xperia S, Acro S, Ion] DooMLoRD:
------[ UPDATE ]-------

DooMRecovery v04a released! changelog here

------[ UPDATE ]-------

DooMKernel for Xperia S!!!​

For posting BUGS/issues related to my kernel post them in kernel thread:

http://xdaforums.com/showthread.php?t=1557452

For posting BUGS/issues related to my recovery post them in recovery thread:

http://xdaforums.com/showthread.php?t=1594828

For general discussion regarding my kernel/recovery OR if u want to request for new features, post them in discussion thread:

http://xdaforums.com/showthread.php?t=1596041

help out in bughunting if u face any issues/bugs!!

[ intro ]

firstly i want to thank all the users of this community who donated the device to me! thanks everyone!

so friends i present to u the legendary DooMKernel!

A HUGE THANKS TO FreeXperia Team (jerpelea, Bin4ry & defer) TO FIX THE KERNEL BOOTING ISSUES! YOU GUYS ARE LEGENDS!!!

[ special thanks to ]

Blagus

zdzihu

aZuZu

jerpelea

Thank you guys for ur help! this would not have been possible without ur help!

[ screenshots ]

[ disclaimer ]

OVERCLOCKING CAN BE DANGEROUS! U RISK THE HARDWARE GETTING DAMAGED!

PROCEED WITH CAUTION! U HAVE BEEN WARNED!

I AM NOT TO BE HELD RESPONSIBLE IF U DAMAGE UR PHONE / SPILL UR COFFEE / MISS UR ALARMS / ANY OTHER CALAMITY/MISHAP

[ features ]

[v04a onwards] updated with DooMRecovery v05

[v04 onwards] removed CPU overclock to 1890 Mhz (now max CPU OC is 1728Mhz)

[v04 onwards] removed GPU OC (now GPU max freq is 266Mhz)

[v04 onwards] added AROMA File Manager directly into the kernel (ramdisk)!! so u can have access to file manager operations RIGHT INSIDE RECOVERY!!!! (more information on how to access this is here)

[v03a onwards] updated recovery to DooMRecovery v04

[v03 onwards] added XZ compression support in kernel (kernel compiled with XZ compression)

[v03 onwards] enabled squashfs and added XZ compression support for it

[v03 onwards] updated ramzswap to ZRAM and enabled it (with many fixes thanks to faux123) [details on how to enable ZRAM are posted here]

[v03 onwards] added ZCACHE, CLEANCACHE, FRONTSWAP and enabled them (thanks to faux123)

[v03 onwards] updated JHASH to v3

[v03 onwards] shifted default TCP congestion algorithm to VENO

[v03 onwards] using newer stripped wifi module [smaller size with un-necessary debug code removed]

[v02 onwards] updated DooMRecovery to v03 (changelog)

[v02 onwards] compiled using NEON & Snapdragon optimizations

[v02 onwards] some patches to acpuclock/cpufreq driver

[v02 onwards] added overclock to 1890 Mhz

[v02 onwards] enabled ARM THUMBEE support

[v02 onwards] added BFQ I/O scheduler (default is still deadline)

[v02 onwards] added SLQB memory allocator and set it to default

[v02 onwards] added jRCU (thanks to faux123) and set it to default

[v02 onwards] bumped VM_MAX_READAHEAD to 1024

[v02 onwards] updated wifi module to support new changes

[v02 onwards] now CPU frequency thresholding done at kernel level (min/max - 384/1512 Mhz) for bootup

[v02 onwards] kernel package can now be flashed directly via recovery!!! (kernel and wifi modules included) no need of fastboot and no need to reflash wifi modules separately

[v01a onwards] updated DooMRecovery to v02 (changelog)

[v01a onwards] capped CPU frequencies during booting to min/max - 384/1512 Mhz

[v01 onwards] compiled using Sony 6.0.A.3.62 FW kernel sources

[v01 onwards] integrated DooMRecovery (testing build) [for details of recovery and to post bugs/issues related to recovery use this thread]

[v01 onwards] added user-level/runtime CPU voltage control [VDD control "sysfs interface"] (for more info keep checking this post: WILL BE POSTED SOON)

[v01 onwards] added CPU governors:

Interactive

Smartass

SmartassV2

MinMax

[v01 onwards] added DooMKernel bootlogo

[v01 onwards] GPU overclocked to 320Mhz (upper bin)

[v01 onwards] CPU under/overclocked from 192Mhz to 1.728 Ghz

[v01 onwards] enhanced init.d scripts/binaries execution support

[v01 onwards] added support for userinit scripts:

if sd-ext is mounted then it will execute /sd-ext/userinit.sh & shell scripts in /sd-ext/userinit.d/ folder

also scripts in /data/local/ will be executed... it will execute /data/local/userinit.sh & shell scripts in /data/local/userinit.d/ folder

[v01 onwards] enabled NTFS (Read & Write) support (in kernel)

[v01 onwards] DISABLED CIFS support in kernel (was causing battery drain on Xperia 2011 devices)

[v01 onwards] enabled NLS_UTF8

[v01 onwards] enabled access to kernel .config (can be pulled from /proc/config.gz)

[v01 onwards] enabled TUN/TAP driver support (integrated in kernel) [VPN support]

[v01 onwards] autorooting (prerooted)

kernel is insecure (ro.secure=0)

su binary & superuser.apk will automatically be installed by kernel :D

busybox (v1.16 minimal) already installed in /sbin/

busybox (v1.18.4) will get installed to /system/xbin/ if its not present there

adb server is persistent

usb debugging enabled

rootfs and /system mounted as rw

[ NOTICE ]

from v02 onwards just flash the kernel package through recovery and wifi modules will automatically be updated!!

since i have changed the kernel version string stock wifi modules will no longer work on my kernel...

if u try to enable them on my kernel

u will get "ERROR" while starting WIFI

...

i will be providing modules for my kernel which HAVE TO BE FLASHED VIA RECOVERY for wifi/bt (and other things) to work correctly

stock modules will also be provided which again will have to be flashed via recovery if u want to return to stock kernel

remember i have already told this to u guys... if i see some users reporting that wifi is giving error because u did not follow my instructions ur post WILL BE IGNORED....

some user may still suffer from "ERROR" while starting WIFI, even after flashing the correct modules via recovery, that is because of the initial pre-rooted system.img files, which dont have any space left on the system partition... to solve this issue reflash the stock system.sin thru fastboot or thru flashtool... my kernel will auto-root it so u dont need to worry about rooting and now u will have space to flash the wifi modules...

(thanks to kazuni for pointing it out here)

[ credits for features ]

most of these patches are ported from HTC Sensation (Pyramid) kernel sources of faux123, showp1984 & LeeDroid-

THANK YOU GUYS FOR YOUR AWESOME WORK!

[ requirements ]

stock GingerBread FW (.63/.67/.73/.75/.76)

you have read the following threads:

[Tutorial] Xperia S Bootloader Unlocking & Relocking

[Xperia S][INFO][REF] All that u need to know before u begin

bootloader unlocked

working fastboot

android app for overclocking like SetCPU (paid) or NoFrills CPU Control (free) or IncrediControl (free)

CPU Voltage control (VDD control) app: IncrediControl (free)

android app for changing I/O scheduler: NoFrills CPU Control (free) or IncrediControl (free)

[OPTIONAL] Swapper 2 (free)

FOR Two Way Call Recording: CallRecorder app (PAID) [TRIAL version] {p.s.: keep watching that thread for newer trial versions}

[ how to install my kernel ] (v02 onwards)

{NEW}

download the kernel package update.zip (it contain the updated wifi modules)

save the package update.zip to sdcard (on phone)

reboot phone and enter recovery

flash the kernel package update.zip

reboot phone and enjoy the kernel ;)

[ how to install my kernel ] (v01 or LOWER)

{OLD}

download the kernel.elf & wifi modules update.zip

save the kernel.elf in the folder with fastboot binaries (fastboot.exe files)

save the wifi modules update.zip to sdcard (on phone)

power down device

start device in fastboot mode

use the following command to flash the kernel.elf

fastboot flash boot kernel.elf

OR

fastboot -i 0x0fce flash boot kernel.elf

reboot phone and enter recovery

flash the wifi modules update.zip for my kernel

reboot phone and enjoy the kernel ;)

[ how to get back to stock kernel ]

download the stock wifi modules update.zip

extract the kernel.sin file from the stock FTF u used to flash this fimware (use 7zip to open the FTF)

save the kernel.sin in the folder with fastboot binaries (fastboot.exe files)

save the wifi modules update.zip to sdcard (on phone)

reboot phone and enter recovery

flash the stock modules update.zip

power down device

start device in fastboot mode

use the following command to flash the kernel.sin

fastboot flash boot kernel.sin

OR

fastboot -i 0x0fce flash boot kernel.sin

reboot phone and thats it u should now be on stock kernel

OR

use the Advanced Stock Kernel posted here

FOR OVERCLOCKING

start SetCPU/NoFrills CPU Control app on ur phone (or any other app which supports overclocking) (u may get a popup asking for SuperUser permissions, click ok/yes/allow)

now slowly increase the MAX slider to the right (one notch at a time) to increase the maximum frequency limit

DO NOT JUMP TO THE LAST POSSIBLE FREQUENCY

SLOWLY increase the frequency one notch at a time and do stability/testing for few hours

[ tips / recommendations ]

for better battery life try undervolting... start off in steps of -25mV and see which is stable for u... for my phone -100mV was stable...

before u report any battery drain issues please read this:

[GUIDE] HOW-TO Properly Evaluate Battery Life and Provide Useful Reports

faux123 has posted very nice info regarding most features

[ my kernel sources ]

https://github.com/DooMLoRD/android_kernel_semc_msm8660

[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ;)

PAYPAL DONATION LINK

FreeXperia PROJECT: if you want to support FreeXperia PROJECT (CyanogenMod device maintainers for Xperia phones) you can donate

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=THUJZQB2U5PNC

[ downloads ]

KINDLY

DO NOT MIRROR

MY FILES

< NEW >

v04a

(changelog)

[Xperia S] DooMKernel (v04a)

[ MD5HASH: acf8218fed57b37cc139281d2df2609f ]

< OLD >

v04

(changelog)

[Xperia S] DooMKernel (v04)

[ MD5HASH: 20ec4e352aedf6736a2f553f377dcba4 ]

v03a

(changelog)

[Xperia S] DooMKernel (v03a)

[ MD5HASH: c74163b8590191fe48ee6310f9676c3a ]

v03

(changelog)

[Xperia S] DooMKernel (v03)

[ MD5HASH: 34c204a7c3c5c0472744d401674d880a ]

v02

(changelog)

[Xperia S] DooMKernel (v02)

[ MD5HASH: 2a0cd3a5069f7a73831a2fe6bb56866b ]

v01a

(changelog)

[Xperia S] DooMKernel (v01a) (recovery flashable version)

[ MD5HASH: fcaa8c6b6336cd5af41df8e6ecb47b6a ]

WiFi Modules for DooMKernel

v01

[Xperia S] DooMKernel (v01)

[ MD5HASH: 04fc8904b7e8566c0cc2fd8902599482 ]

WiFi Modules for DooMKernel

WiFi Modules for stock kernel

READ THIS POST AND THE THREAD CAREFULLY BEFORE ASKING QUESTION!

[ DooMKernel Signature banners!!! ]

If you like to use my kernels and u want to show the world that u use it/love it ;), then you can add this banner to you signature!!!

Just copy the following code and paste it in you USER CP under "Edit Signature":

[URL="http://xdaforums.com/showthread.php?t=1557452"][IMG]http://icxperia.com/doomlord/doomkernel-sig.png[/IMG][/URL]

cheers!