Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,979 Members 46,607 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][Xperia S] DooMKernel {GB}[Rel:v04a]{STOPPED}

Tip us?
 
DooMLoRD
Old
(Last edited by DooMLoRD; 2nd January 2014 at 09:24 PM.)
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Angry [KERNEL][Xperia S] DooMKernel {GB}[Rel:v04a]{STOPPED}

------[ 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://forum.xda-developers.com/show....php?t=1557452

For posting BUGS/issues related to my recovery post them in recovery thread:
http://forum.xda-developers.com/show....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://forum.xda-developers.com/show....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 ]

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
    • 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 ]



[ how to install my kernel ] (v02 onwards) {NEW}
  1. download the kernel package update.zip (it contain the updated wifi modules)
  2. save the package update.zip to sdcard (on phone)
  3. reboot phone and enter recovery
  4. flash the kernel package update.zip
  5. reboot phone and enjoy the kernel


[ how to install my kernel ] (v01 or LOWER) {OLD}
  1. download the kernel.elf & wifi modules update.zip
  2. save the kernel.elf in the folder with fastboot binaries (fastboot.exe files)
  3. save the wifi modules update.zip to sdcard (on phone)
  4. power down device
  5. start device in fastboot mode
  6. use the following command to flash the kernel.elf
    Code:
    Select Code
    fastboot flash boot kernel.elf
    OR

    Code:
    Select Code
    fastboot -i 0x0fce flash boot kernel.elf
  7. reboot phone and enter recovery
  8. flash the wifi modules update.zip for my kernel
  9. reboot phone and enjoy the kernel


[ how to get back to stock kernel ]
  1. download the stock wifi modules update.zip
  2. extract the kernel.sin file from the stock FTF u used to flash this fimware (use 7zip to open the FTF)
  3. save the kernel.sin in the folder with fastboot binaries (fastboot.exe files)
  4. save the wifi modules update.zip to sdcard (on phone)
  5. reboot phone and enter recovery
  6. flash the stock modules update.zip
  7. power down device
  8. start device in fastboot mode
  9. use the following command to flash the kernel.sin
    Code:
    Select Code
    fastboot flash boot kernel.sin
    OR

    Code:
    Select Code
    fastboot -i 0x0fce flash boot kernel.sin
  10. reboot phone and thats it u should now be on stock kernel


OR


use the Advanced Stock Kernel posted here



FOR OVERCLOCKING
  1. 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)
  2. now slowly increase the MAX slider to the right (one notch at a time) to increase the maximum frequency limit
  3. DO NOT JUMP TO THE LAST POSSIBLE FREQUENCY
  4. SLOWLY increase the frequency one notch at a time and do stability/testing for few hours


[ tips / recommendations ]

  1. 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...

  2. before u report any battery drain issues please read this:
    [GUIDE] HOW-TO Properly Evaluate Battery Life and Provide Useful Reports

  3. 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/websc...=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":
HTML Code:
[URL="http://forum.xda-developers.com/showthread.php?t=1557452"][IMG]http://icxperia.com/doomlord/doomkernel-sig.png[/IMG][/URL]







cheers!
The Following 87 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
(Last edited by DooMLoRD; 16th April 2012 at 10:27 PM.)
#2  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
reserved post
The Following 6 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
(Last edited by DooMLoRD; 23rd April 2012 at 08:11 PM.)
#3  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
reserved for posting info related to VDD control
The Following 6 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
poo-tang
Old
#4  
poo-tang's Avatar
Senior Member
Thanks Meter 1364
Posts: 1,282
Join Date: Nov 2011
Nice work doom. Cant wait to try out.

 
power323f
Old
#5  
power323f's Avatar
Member
Thanks Meter 12
Posts: 88
Join Date: Jan 2011
Location: Grave
Doom you are so good, that you can work in the future!
Release date 17-04-12 and here in holland its stil 16-04-12
 
raydekok
Old
#6  
raydekok's Avatar
Senior Member
Thanks Meter 18
Posts: 354
Join Date: Mar 2009
Location: Amersfoort
I have the World .73 rooted. Can i install this? It aint in the recuirements.

Verstuurd van mijn LT26i met Tapatalk
T-Mobile
Phone :nokia E61, SE P1i, G1, iphone 3gs, blackberry bold, desire, Desire Z, current:sony xperia s
RADIO :
Rom : JB
 
DooMLoRD
Old
#7  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by poo-tang View Post
Nice work doom. Cant wait to try out.
thanks!



Quote:
Originally Posted by power323f View Post
Doom you are so good, that you can work in the future!
Release date 17-04-12 and here in holland its stil 16-04-12
its 17 April here in India (and its 3:30 AM, damn i gtg sleep )

Quote:
Originally Posted by raydekok View Post
I have the World .73 rooted. Can i install this? It aint in the recuirements.

Verstuurd van mijn LT26i met Tapatalk
this will work on any of the current GB firmwares of Sony (.63/.67/.73)

wait i will update first post!!


please use this thread for reporting issues/bugs ONLY
 
poo-tang
Old
#8  
poo-tang's Avatar
Senior Member
Thanks Meter 1364
Posts: 1,282
Join Date: Nov 2011
Everything works fine (touch recovery is nice) only issue is that your Wifi modules are not working on 67 UK FW. I just get an error written under the Wifi toggle in settings.

 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by poo-tang View Post
Everything works fine (touch recovery is nice) only issue is that your Wifi modules are not working on 67 UK FW. I just get an error written under the Wifi toggle in settings.
hmmm... u mean the stock wifi modules package? or my kernel's wifi modules?

also post output of this:
Code:
Select Code
adb shell md5sum /system/lib/modules/bcm4330.ko
the output should be:
Code:
Select Code
6b0186d43b54207e54c509a795035ad4  /system/lib/modules/bcm4330.ko
if not then reflash the modules update.zip using recovery

BTW i have done testing on the 6.0.A.3.73 SG firmware
 
poo-tang
Old
(Last edited by poo-tang; 16th April 2012 at 11:22 PM.)
#10  
poo-tang's Avatar
Senior Member
Thanks Meter 1364
Posts: 1,282
Join Date: Nov 2011
Quote:
Originally Posted by DooMLoRD View Post
hmmm... u mean the stock wifi modules package? or my kernel's wifi modules?

also post output of this:
Code:
Select Code
adb shell md5sum /system/lib/modules/bcm4330.ko
the output should be:
Code:
Select Code
6b0186d43b54207e54c509a795035ad4  /system/lib/modules/bcm4330.ko
if not then reflash the modules update.zip using recovery
Your doomkernal mods, have tried installing 2X and it installs ok. will get that for you.

---------- Post added at 11:22 PM ---------- Previous post was at 11:12 PM ----------

code comes up

Quote:
[1] Segmentation Fault MD5 sum /system/1...


Tags
doomkernel, doomlord, kernel
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes