Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,007 Members 40,637 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][SP] DooMKernel (v13)[20140604]

Tip us?
 
DooMLoRD
Old
(Last edited by DooMLoRD; 3rd June 2014 at 08:55 PM.)
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37981
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Angry [KERNEL][SP] DooMKernel (v13)[20140604]


----------------[ ANNOUNCEMENT ]--------------------

DooMKernel v13 released!

----------------[ ANNOUNCEMENT ]--------------------




DooMKernel for Xperia SP!!!



[ intro ]


so friends i present to u the legendary DooMKernel!


thanks to all the users who donated this device to me!





[ 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


DO NOT CROSS FLASH! THIS IS MENT ONLY FOR Xperia SP (C5306/C5303/C5302)





[ features ]

  • added and enabled intelli-plug v2.6 - intelli-plug is an alternative to MPDecision hotplug governor! (thanks to @faux123 ) [v13 onwards]

  • again added backported Low Memory Killer from fusion3 kernel (Xperia Z) - lets see how this handles RAM! [v13 onwards]

  • added and enabled support for kernel mode NEON and more patches & crash fixes! [v13 onwards]

  • added and enabled Intelli-KSM (thanks to @faux123 ) [v12 onwards]

  • added fixes to intelli-thermal driver [v12 onwards]

  • enabled hard limits with Cpufreq limiter driver [v12 onwards]

  • added and enabled Force Fast Charging - ported from my Xperia T kernel (thanks to @faux123 ) [v11 onwards]

  • added and enabled ZRAM driver - do lot of testing before "Setting on Boot" [v11 onwards]

  • fixed RAM management bug thanks to loads of inputs from users! [v11 onwards]

  • force 500mA charging current on unknown chargers [v11 onwards]

  • disabled CPU frequency OverClock - was causing major stability issues for some users [v10 onwards]

  • reverted to LMK from original Xperia SP kernel sources [v10 onwards]

  • added per-core overall stats - now you can see the time spent by each CPU in various frequency steps [v09 onwards]

  • brought back CPU OverClock upto 1.89 GHz ! - device will boot by default at 1.728 GHz [v09 onwards]

  • added msm_cpufreq_limiter "Snake Charmer" - now the cores are properly capped! (thanks to @faux123 ) [v09 onwards]

  • added optimized memory read/write drivers [v09 onwards]

  • added and enabled new I/O Schedulers: [v09 onwards]
    • BFQ
    • FIOPS
    • ZEN
    • VR

  • added and enabled new CPU frequency governor: lionheart ! [v09 onwards]

  • updated ramdisk to 12.1.A.1.201 firmware [v09 onwards]

  • merged 12.1.A.1.201 firmware kernel sources [v09 onwards]

  • backported Low Memory Killer from fusion3 kernel (Xperia Z) - hopefully this should fix the low RAM bug! [v08 onwards]

  • added and enabled new CPU frequency governor: intelli-active ! [v08 onwards]

  • updated recoveries! Philz Recovery to v6.25.0 (thanks to @Phil3759 ) & CWM Recovery to v6.0.4.7, TWRP to v2.7.0.0 (thanks to @[NUT] ) [v08 onwards]

  • testing stability disable 1.89 GHz CPU overclock [v07 onwards]

  • fixed boot up CPU frequency (now properly limited to 1.7 GHz) [v06 onwards]

  • disabled dynamic fsync, testing fix for possible kernel crash [v06 onwards]

  • some fixes to msm_thermal thermal manager [v06 onwards]

  • testing possible fix for sibling core CPU max freq bump [v06 onwards]

  • some fixes to auto_hotplug module (reduce kmsg output) [v06 onwards]

  • fixed time-date issue while booting up [v05-new onwards]

  • added Xperia Reboot app support exclusively for my kernel users! now you can use app to enter into any recovery from the OS! [v05 onwards]

  • multi-recovery solution! {here is how to use it!} [v05 onwards]
    • added PhilZ touch recovery as a THIRD select-able recovery (thanks to @Phil3759)
    • updated to CWM 6.0.4.6 - official touch CWM recovery
    • updated to latest TWRP 2.6.3.0

  • shifted combined ramdisk to LZMA compression [v05 onwards]

  • updated stock ramdisk to (4.3) 12.1.A.2.226 firmware [v05 onwards]

  • updated with 12.1.A.2.226 firmware kernel sources [v05 onwards]

  • updated to CWM 6.0.4.6 - official touch CWM recovery [v04 onwards]

  • sped up rebooting into recovery [v04 onwards]

  • fixed date/time stamp in recovery [v04 onwards]

  • merged 12.0.A.2.254 kernel sources [v03 onwards]

  • front camera working fine! - thanks to updated sources from sony [v03 onwards]

  • added dual recovery! CWM 6.0.3.7 & TWRP 2.6.3.0 (thanks to Dees_Troy for helping out with fixing TWRP!) {here is how to use it} [v02 onwards]

  • added Samsung exFAT driver, currently not used [v02 onwards]

  • added auto hotplug driver to smartly throttle CPU hotplugging (with patches thanks to mathkid95, motley-git, morfic & franciscofranco) [v02 onwards]

  • added support for LZ4 compression/decompression [v02 onwards]

  • some fixes to kernel sources [v02 onwards]

  • added optimized AES/SHA1 routines [v02 onwards]

  • compiled using O3 optimizations [v02 onwards]

  • patches to msm_thermal - stock thermal driver [v02 onwards]

  • added intelli_thermal custom driver for thermal control! (thanks to faux123) {here is how control this} [v02 onwards]

  • added Dynamic F-Sync (v1.2) (thanks to faux123) [v02 onwards]

  • added intelli_demand CPU freq governor (v4.2) (thanks to faux123) [v02 onwards]

  • added True CDROM Emulation (thanks to FrozenCow) {here is how to use it} [v02 onwards]

  • added Kernel level Sound Control (v3.0) (BIG thanks to faux123) {here is how to use it} [v02 onwards]

  • added Simple I/O scheduler [v02 onwards]

  • added wheatley CPU governor (thanks to Ezekeel) [v02 onwards]

  • added smooth scrolling (thanks to gorkhanmoral) [v02 onwards]

  • updated stock ramdisk to 12.0.A.2.254 firmware [v02 onwards]

  • merged 12.0.A.1.257/259/284 kernel sources [v02 onwards]

  • CPU overclock upto 1890Mhz! [v01 onwards]

  • kernel patch to restrict CPU bootup at 384Mhz to 1728Mhz [v01 onwards]

  • enabled NLS_UTF8 [v01 onwards]

  • enabled NTFS R/W [v01 onwards]

  • faster reboot into recovery [v01 onwards]

  • added CPU Voltage Control interface (VDD) {here is how to use it} [v01 onwards]

  • removed CPU auto throttling restrictions by disabling MSM_DCVS [v01 onwards]

  • added Cortex-A15 optimizations for compiling [v01 onwards]

  • compiled using latest toolchain GCC 4.7 Google [v01 onwards]

  • shift to XZ compression [v01 onwards]

  • added recovery modded CWM Recovery 6.0.3.2 [v01 onwards]

  • added DooMKernel bootlogo [v01 onwards]

  • startup script (init.d) support! {here is how to use it} [v01 onwards]

  • ramdisk tweaks [v01 onwards]
    • kernel is insecure (ro.secure=0)
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw



[ credits for features ]

  • FreeXperia Team (especially Jerpelea) - for too many things!
  • Faux123 - for CPU & GPU overclock code, voltage control, lots of other patches, you rock dude!
  • sj8023ld - for device config
  • FranciscoFranco - for Cortex-A15 optimizations
  • Dees_Troy - for helping out with fixing TWRP for this device!


THANK YOU GUYS FOR YOUR AWESOME WORK!


[ requirements ]
  • Xperia SP [C5302/C5303/C5306]
    • stock JellyBean 4.3 FW
      • .201 - v09, v10, v11, v12, v13
      • .266 - v05, v05-new, v06, v07, v08
    • stock JellyBean 4.1.2 FW
      • .245/254- v02, v03, v04
      • .284- v01
  • bootloader unlocked
  • working fastboot
  • android app for overclocking like SetCPU (paid) or NoFrills CPU Control (free)




[ how to install my kernel ] (via recovery)
  1. download the kernel package update.zip
  2. save the package update.zip to sdcard (of 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 ] (via fastboot)
  1. download the kernel package update.zip
  2. save it on c:\ and extract the kernel.elf from the package
  3. save the kernel.elf to the folder containing fastboot binary
  4. flash the kernel.elf using fastboot:
    Code:
    fastboot flash boot kernel.elf
  5. reboot from fastboot
    Code:
    fastboot reboot
  6. the device should now start booting, enjoy the kernel




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. before u report any battery drain issues please read this:
    [GUIDE] HOW-TO Properly Evaluate Battery Life and Provide Useful Reports

  2. faux123 has posted very nice info regarding most features



[ my kernel sources ]

Quote:
Just a statement regarding kernel source: The Kernel Source is released for all at GITHUB repo given below. BUT Free software does NOT mean no work or time was spent working on it. A lot of my free time has gone into patching/testing this kernel/features integrated in this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source.

Thank you !

https://github.com/DooMLoRD/android_..._sony_msm8960t



[ 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




[ downloads ]


KINDLY DO NOT MIRROR MY FILES

(MIRROR 1) | (MIRROR 2)


NEW


v13 (changelog)

[Xperia SP] DooMKernel v13 (mirror)
[ MD5HASH: 451bec280322d10cbe51f3d76432bb8b ]




OLD


 



v12 (changelog)

[Xperia SP] DooMKernel v12 (mirror)
[ MD5HASH: 2d8fc36e109ea942ada7327bec31e219 ]


v11 (changelog)

[Xperia SP] DooMKernel v11 (mirror)
[ MD5HASH: 6494bb7e286b01ad07c63008cb4934dc ]


v10 (changelog)

[Xperia SP] DooMKernel v10 (mirror)
[ MD5HASH: b6cf6a3e0b800137eceac89bc569d3c7 ]


v09 (changelog)

[Xperia SP] DooMKernel v09 (mirror)
[ MD5HASH: 6ff81c13688f0e90c7fcf1fcf786dbbe ]


v08 (changelog)

[Xperia SP] DooMKernel v08 (mirror)
[ MD5HASH: 941637c93068a2cd060ba80f01632d8f ]


v07 (changelog)

[Xperia SP] DooMKernel v07 (mirror)
[ MD5HASH: 7d9c5e8724e9c0177e14238c4f7dbaf5 ]



v06 (changelog)

[Xperia SP] DooMKernel v06(mirror)
[ MD5HASH: 092bafee9da9bc0e1a89f7624f1eb258 ]


v05-new (changelog)

[Xperia SP] DooMKernel v05-new (mirror)
[ MD5HASH: 08368097eb43d852f2dab06aa2748612 ]


v05 (changelog)

[Xperia SP] DooMKernel v05 (mirror)
[ MD5HASH: 61f5fe244f700c562fece888f3e4e06e ]


v04 (changelog)

[Xperia SP] DooMKernel v04 (mirror)
[ MD5HASH: 7ccd04207c6527364976333d82f59794 ]


v03 (changelog)

[Xperia SP] DooMKernel v03
[ MD5HASH: 5f7cb0cb7025be9bcd3f5aeef8fff012 ]


v02 (changelog)

[Xperia SP] DooMKernel v02
[ MD5HASH: b91f5ff26ad38b1e3051a192d5d4eb1f ]



v01 (changelog)

[Xperia SP] DooMKernel v01
[ MD5HASH: 7e06e5d23b65c0a0a248518a84cb3a01 ]





Please do as much testing as possible and report back if you are running into any issues!




READ THIS POST AND THE THREAD CAREFULLY BEFORE ASKING QUESTION!






cheers!
The Following 125 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
#2  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37981
Posts: 13,045
Join Date: Jul 2010
Location: Noida
reserved
The Following 29 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
#3  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37981
Posts: 13,045
Join Date: Jul 2010
Location: Noida
DooMKernel v01 released!







Changelog
  • CPU overclock upto 1890Mhz!

  • kernel patch to restrict CPU bootup at 384Mhz to 1728Mhz

  • enabled NLS_UTF8

  • enabled NTFS R/W

  • faster reboot into recovery

  • added CPU Voltage Control interface (VDD) {here is how to use it}

  • removed CPU auto throttling restrictions by disabling MSM_DCVS

  • added Cortex-A15 optimizations for compiling

  • compiled using latest toolchain GCC 4.7 Google

  • shift to XZ compression

  • added recovery modded CWM Recovery 6.0.3.2

  • added DooMKernel bootlog

  • startup script (init.d) support! {here is how to use it}

  • ramdisk tweaks
    • kernel is insecure (ro.secure=0)
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw



download links at first post! please test it out and let me know!



regards,

DooMLoRD
The Following 31 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
ttocs99
Old
#4  
ttocs99's Avatar
Senior Member
Thanks Meter 86
Posts: 900
Join Date: Jan 2011
Location: middlesbrough
OmG the legendary doom kernal has arrived wish i could flash this boot im stuck on locked bootloader and cant gain root yet lol good work my friend :thumbup:

Sent from my C5303 using xda app-developers app
 
reaper61616
Old
#5  
Senior Member
Thanks Meter 733
Posts: 628
Join Date: Nov 2010
Location: Brodnica
Tomorrow morning I will test it with .257

Is ther any way to backup ta partition in c5303?

Sent from my C5303 using xda premium
... -> HTC/SPV E650 -> ... -> SE Xperia Mini Pro -> SE Xperia X1 -> SE Xperia Arc S -> Sony Xperia Sola -> Nokia 5130 -> Sony Xperia SP -> Samsung Galaxy S III -> SE W715 -> Sony Xperia Z -> LGE Nexus 4 -> Sony Xperia Z Ultra -> LG G2 D802


 
DooMLoRD
Old
(Last edited by DooMLoRD; 6th March 2014 at 07:32 PM.)
#6  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37981
Posts: 13,045
Join Date: Jul 2010
Location: Noida
How to use Multi-Recoveries (CWM + TWRP + Philz):


Since many users have their own preference of recoveries, I have included CWM, TWRP & Philz recoveries into my kernel!!


The kernel has inbuilt triggers to enter any recovery. When the kernel is ready during bootup it will indicate by:
  • showing my bootlogo
  • the LED illumination bar turns disco lights
  • there is a small vibration


Following are the triggers:
  • CWM recovery: Keep tapping VOLUME UP button
  • TWRP recovery: Keep tapping VOLUME DOWN button
  • Philz recovery: Keep tapping CAMERA button



Alternatively you can now also reboot into any of these selected recoveries using my Xperia Reboot app!


I have updated my Xperia Reboot app to supports multirecovery solution implemented in latest DooMKernel (Feb 1, 2014 onwards) on supported devices!


The Following 11 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
reaper61616
Old
#7  
Senior Member
Thanks Meter 733
Posts: 628
Join Date: Nov 2010
Location: Brodnica
Quote:
Originally Posted by DooMLoRD View Post
check out the Xperia Z section... there is a tool for that... but again... DO NOT MESS AROUND WITH TA partition... IT IS VERY VERY VERY RISKY.... if anything goes wrong you will get HARD BRICKED DEVICE!
But warranty stays...:P
Probably they will replace board or tell me: f**k you, you did this! :P

Tomorrow I'll unlock my BL.

Thanks Doomlord.

Sent from my C5303 using xda premium
... -> HTC/SPV E650 -> ... -> SE Xperia Mini Pro -> SE Xperia X1 -> SE Xperia Arc S -> Sony Xperia Sola -> Nokia 5130 -> Sony Xperia SP -> Samsung Galaxy S III -> SE W715 -> Sony Xperia Z -> LGE Nexus 4 -> Sony Xperia Z Ultra -> LG G2 D802


The Following User Says Thank You to reaper61616 For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
#8  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37981
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by reaper61616 View Post
But warranty stays...:P
Probably they will replace board or tell me: f**k you, you do this! :P

Tomorrow I'll unlock my BL.

Thanks Doomlord.

Sent from my C5303 using xda premium
warranty stays even if u relock bootloader


but its ur call
The Following 3 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
reaper61616
Old
#9  
Senior Member
Thanks Meter 733
Posts: 628
Join Date: Nov 2010
Location: Brodnica
Quote:
Originally Posted by DooMLoRD View Post
warranty stays even if u relock bootloader


but its ur call
But 'rooting device may void warranty' - something like that Is written in unlock bl service from Sony.

Anyway - this is not place to talk about this. Let's stay on-topic.

Thanks one more time.

Sent from my C5303 using xda premium
... -> HTC/SPV E650 -> ... -> SE Xperia Mini Pro -> SE Xperia X1 -> SE Xperia Arc S -> Sony Xperia Sola -> Nokia 5130 -> Sony Xperia SP -> Samsung Galaxy S III -> SE W715 -> Sony Xperia Z -> LGE Nexus 4 -> Sony Xperia Z Ultra -> LG G2 D802


 
dumraden
Old
(Last edited by dumraden; 30th June 2013 at 11:57 PM.)
#10  
dumraden's Avatar
Senior Member
Thanks Meter 386
Posts: 795
Join Date: Feb 2008
Location: This is SPARTAAAA!!
Flashed it on my C5303.

Screen will not respond to touches intermittently. It will work for a couple of swipes, but then it will go unresponsive for 10 seconds or so...

Edit. Will ONLY happen when plugged in to the USB. No data transfer going through, doesn't matter if there is an active ADB session (such as logcat). It will do the same. By pressing the on off button to put it to sleep and wake it up again it works for another swipe or so and then it will become unresponsive.

When not in the USB it works OK.
Device: Xperia SP
Kernel: Stock CWM Enabled
Rom: SPartan v1.0
_______________________________________________
And the Lord said unto John, "Come forth and receive eternal life."
But John came fifth and won a toaster.

Did you find what posted helpful? Thank me for it by pressing the "Thanks" button.
Did you find it arrogant and abusive? I couldn't care less.

The Following User Says Thank You to dumraden For This Useful Post: [ Click to Expand ]
Tags
doomkernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes