Post Reply Subscribe to Thread Email Thread

Angry [KERNEL][Z2] DooMKernel (v11)[20141011]

29th April 2014, 09:55 AM   |  #1  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010

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

DooMKernel v11 released!

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




DooMKernel for Xperia Z2 !!!



[ intro ]


so friends i present to u the legendary DooMKernel! the first publicly released custom kernel of Xperia Z2!


initially i didnt have the device with me but @yeeson has been helping to test out the kernel on his Z2!


Many thanks to @tpcastelli for a very kind and generous donation by sending his spare Z2 to me for development!





[ screenshot ]





[ disclaimer ]

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 Z2 (D6502/03)


[ WARNING ]




ITS HIGHLY RECOMMENDED TO FIRST ROOT ON LOCKED BOOTLOADER AND TAKE TA BACKUP BEFORE BOOTLOADER UNLOCK!




[ features ]
  • updated Sound Control driver to v3.6 - new controls exposed! check out latest FauxSound app! (thanks to @faux123 ) [v11 onwards]

  • updated to new thermal driver Intelli-thermal v2 (thanks to @faux123 ) [v11 onwards]

  • updated TWRP Recovery to v2.8.0.1 (thanks to @Dees_Troy ) [v11 onwards]

  • updated Sound Control driver to v3.5 - new controls exposed! check out latest FauxSound app! (thanks to @faux123 ) [v10 onwards]

  • updated Intelli-active CPU governor (thanks to @faux123 ) [v10 onwards]

  • updated Intelli-Plug driver to v3.8 with loads of new fixes & optimizations (thanks to @faux123 ) [v10 onwards]

  • updated ramdisk to 17.1.2.A.0.314 firmware sources [v10 onwards]

  • updated kernel sources with 17.1.2.A.0.314 firmware sources

  • updated kernel sources with 17.1.1.A.0.438 firmware sources

  • added new patched intelli_plug driver - no need of custom WLAN modules now! (thanks to @faux123 ) [v09 onwards]

  • added and enabled TRUE CD ROM Emulation! (thanks to @FrozenCow ) [v09 onwards]
    here is how to use it

  • reverted back to stock WLAN & MHL modules [v09 onwards]

  • fixed issue: wifi hotspot now works again! [v09 onwards]

  • fixed issue: exFAT sdcard are now supported! [v09 onwards]

  • added and enabled proper RAM Console support - now users can get /proc/last_kmsg (thanks to @Kali- ) [v08 onwards]

  • now we have custom built Broadcom BCMDHD WiFi WLAN module (thanks to @Kali- ) and updated to .402 firmware sources [v08 ONLY]
    THIS BREAKS exFAT compatibility for now! if you have exFAT based external SDCARD IT WILL NOT WORK WITH THIS KERNEL VERSION!

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

  • fixed VFPmodule bounce crash at bootup (thanks to @myfluxi ) [v07 onwards]

  • added interface to control vibration intensity (thanks to @Kali- ) [v07 onwards]
    interface is located at: /sys/devices/virtual/timed_output/vibrator/vtg_level
    accepted values: 12 to 31

  • added two-way stereo call recording support! (thanks to @chdloc ) [v07 onwards]
    not sure if it works correctly!

  • added my wicked DooMKernel logo!!! \m/, [v07 onwards]

  • fixed msm/logo display issue [v07 onwards]

  • updated kernel sources to 17.1.1.A.0.402 firmware sources! [v06 onwards]

  • updated ramdisk to support 17.1.1.A.0.402 firmware! [v06 onwards]

  • added and enabled CPU Undervolting interface! (thanks to @faux123 ) [v06 onwards]

  • added and enabled Simple GPU Algorithm with tweakable parameters! (thanks to @faux123 ) [v06 onwards]

  • added some more PowerSuspend hooks (thanks to @Yank555.lu ) [v06 onwards]

  • added and enabled msm-sleeper - now the device will be capped at 1.19 GHz when screen is off! (thanks to @flar2 ) [v06 onwards]

  • added and enabled PowerSuspend drivers - better earlysleep/resume drivers (thanks to @faux123 ) [v05 onwards]

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

  • added and enabled Force FastCharge! - force fast-charging on unknown power adapters (thanks to @faux123 ) [v05 onwards]

  • added and enabled support for kernel mode NEON and more patches [v05 onwards]

  • shifted to GCC 4.9.1 Linaro toolchain with Cortex-A15 optimizations [v04 onwards]

  • disabled kernel level RIC - should fix /system remount issues [v04 onwards]

  • fixed GPU governor - simple_ondemand crash (thanks to @myfluxi ) [v04 onwards]

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

  • added CPU OverClock upto 2.45 GHz ! - device will boot by default at 2.26 GHz [v04 onwards]

  • added new tweaked CPU frequency governors: [v04 onwards]
    • LionHeart
    • SmartAssV2
    • LagFree
    • Wheatley

  • added & enabled kernel level Sound Control! ( thanks to @faux123 ) [v03 onwards]

  • added & enabled kernel level Color Control! ( thanks to @faux123 ) [v03 onwards]

  • added & enabled kernel level CPU throttling! (device will always have min: 300MHz & max: 2.26GHz) [v02 onwards]

  • added new I/O schedulers [v02 onwards]
    • BFQ
    • SIO
    • FIOPS

  • fixes to CPUFREQ driver [v02 onwards]

  • upgraded LZO (de)compression drivers [v02 onwards]

  • added per-core overall stats - now you can see the time spent by each core in a particular frequency state! [v02 onwards]

  • ARM unaligned access enabled! [v02 onwards]

  • added LZ4 compression/decompression support [v02 onwards]

  • added intelli-thermal kernel thermal driver with optimizations for 8974 SOC (thanks to @faux123) [v02 onwards]

  • added and enabled new CPU governor: Intelli-active! (thanks to @faux123) [v02 onwards]

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

  • added faster & optimized string & memcopy drivers [v02 onwards]

  • compiled using GCC 4.8.3 Linaro toolchain with Cortex-A15 optimizations (thanks to @dbolivar ) [v01 onwards]

  • enabled NTFS R/W support [v01 onwards]

  • shifted combined ramdisk to LZMA compression [v01 onwards]

  • enabled ARM cortex-a15 targetting MSM Krait CPU optimization [v01 onwards]

  • multi-recovery solution! {here is how to use it!} [v01 onwards]
    TIP: if u are experiencing very slow backup in CWM do this
    • added CWM (latest) - official touch CWM recovery [v01 onwards]
    • added TWRP (latest) [v01 onwards]
    • added PhilZ touch recovery as a THIRD select-able recovery (ported from Z1) (thanks to @Phil3759) [v01 onwards]

  • sped up rebooting into recovery [v01 onwards]

  • added fix for system remount in ramdisk! [v01 onwards]

  • update stock ramdisk to 17.1.A.2.69 firmware [v01 onwards]

  • udpate to 17.1.A.2.69 firmware kernel sources [v01 onwards]

  • added compiler optimizations (thanks to @franciscofranco) [v01 onwards]

  • shift to XZ compression [v01 onwards]

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

  • ramdisk tweaks [v01 onwards]
    • adb server is persistent
    • usb debugging enabled


Share your settings!



[ credits for features ]

  • FreeXperia Team (especially Jerpelea) - for too many things!
  • Kali- - to help get the correct dtbTool parameters for a bootable kernel
  • Faux123 - for lots of patches, you rock dude!
  • koush & all CyanogenMod maintainers - for too many things!
  • Phil3759 - for his excellent work on PhilZ Touch Recovery
  • Dees_Troy & TeamWin - for their excellent work on TWRP Touch Recovery
  • myfluxi - for a lot of great patches
  • flar2 - for a lot of great patches
  • dbolivar- toolchain fixes
  • FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!


THANK YOU GUYS FOR YOUR AWESOME WORK!


[ requirements ]


[ how to install my kernel ] (via recovery) [RECOMMENDED]
  1. download the kernel package
  2. save it to the sdcard
  3. reboot into recovery
  4. flash the kernel package using recovery
  5. reboot from recovery into system
  6. the device should now start booting
  7. enjoy the kernel


[ how to install my kernel ] (via fastboot)
  1. download the kernel image
  2. save kernel to the folder containing fastboot binary
  3. flash the boot.img using fastboot:
    Code:
    fastboot flash boot boot.img
  4. reboot from fastboot
    Code:
    fastboot reboot
  5. the device should now start booting
  6. enjoy the kernel




[ 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_msm8974ab



[ 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

OR

you can buy one of my awesome apps from Play Store!






[ downloads ]

KINDLY DO NOT MIRROR MY FILES


NEW

please keep the advanced stock kernel recovery package on sdcard to avoid bootloops!

newer kernels wont boot on older stock ROM or ROMs based on older FW, you will get bootloops!


v11 (changelog)

[Xperia Z2] DooMKernel v11
[ MD5HASH: f062f85a52dc92eade9be61180b07b3e ]



OLD



v10 (changelog)

[Xperia Z2] DooMKernel v10
[ MD5HASH: 4512100c77e90fba724d41609a1f1785 ]


v09 (changelog)

[Xperia Z2] DooMKernel v09 {MIRROR}
[ MD5HASH: d07631aa14a44614b263c819f83b8009 ]



v08 (changelog)

[Xperia Z2] DooMKernel v08 {MIRROR}
[ MD5HASH: 84b325f97b119edb8ceaaf12049f63c5 ]

FW 402: back to stock >> Z2-DooMLoRD_StockFirmwareFiles-FW_402




v07 (changelog)

[Xperia Z2] DooMKernel v07 {MIRROR}
[ MD5HASH: 1aaf83addfd130d3a649d793d78b534d ]



v06 (changelog)

[Xperia Z2] DooMKernel v06 {MIRROR}
[ MD5HASH: 4f09648825f306d9cb0b2bdb912fd3ad ]


v05 (changelog)

[Xperia Z2] DooMKernel v05 {MIRROR}
[ MD5HASH: 4f09648825f306d9cb0b2bdb912fd3ad ]


v04 (changelog)

[Xperia Z2] DooMKernel v04 {MIRROR}
[ MD5HASH: 4f31d5f0d83eb5bef84ed53a4d547e2a ]


v03 (changelog)

[Xperia Z2] DooMKernel v03
[ MD5HASH: 819c3789ba5458f13790dcf246af2ddf ]


v02 (changelog)

[Xperia Z2] DooMKernel v02 {MIRROR}
[ MD5HASH: 2aed1e5271ec4f3ccc9e4836ddcb0953 ]


v01

[Xperia Z2] DooMKernel v01
[ MD5HASH: 00cb6a8beee166efa4ff966dda365b29 ]




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!


regards,

DooMLoRD
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-04-29-14-33-07.png
Views:	40493
Size:	208.1 KB
ID:	2715202  
Last edited by DooMLoRD; 11th October 2014 at 03:45 PM.
The Following 77 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
29th April 2014, 09:56 AM   |  #2  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010
reserved post #1
The Following 11 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
29th April 2014, 09:56 AM   |  #3  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010
reserved post #2
The Following 7 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
29th April 2014, 09:57 AM   |  #4  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010
reserved post #3
The Following 7 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
29th April 2014, 10:25 AM   |  #5  
KyleSforza's Avatar
Senior Member
Flag Delhi
Thanks Meter: 107
 
698 posts
Join Date:Joined: Mar 2013
More
Amazing!! The Kraken has been unleashed!!
The Following 3 Users Say Thank You to KyleSforza For This Useful Post: [ View ]
29th April 2014, 10:42 AM   |  #6  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010
FIRSTLY the kernel building instructions given by Sony in the README_Xperia are WRONG!!!


those trying to build their own custom kernels be sure to check out my thread:

[Tutorial] Kernel building instructions for Xperia Z2



regards,

DooMLoRD
The Following 4 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
29th April 2014, 08:28 PM   |  #7  
furrypotato's Avatar
Senior Member
Flag Port Talbot
Thanks Meter: 152
 
789 posts
Join Date:Joined: Oct 2007
More
And now the masses quietly sit back and await a locked bootloader root exploit

Z2
30th April 2014, 07:54 PM   |  #8  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 39,329
 
13,133 posts
Join Date:Joined: Jul 2010
DooMKernel v02 released!


HUGE UPDATE!


changelog
  • added & enabled kernel level CPU throttling! (device will always have min: 300MHz & max: 2.26GHz)

  • added new I/O schedulers
    • BFQ
    • SIO
    • FIOPS

  • fixes to CPUFREQ driver

  • upgraded LZO (de)compression drivers

  • added per-core overall stats - now you can see the time spent by each core in a particular frequency state!

  • ARM unaligned access enabled!

  • added LZ4 compression/decompression support

  • added intelli-thermal kernel thermal driver with optimizations for 8974 SOC (thanks to @faux123)

  • added and enabled new CPU governor: Intelli-active! (thanks to @faux123)

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

  • added faster & optimized string & memcopy drivers



huge thanks to @yeeson for testing all this on his phone!



download links at first post!


Please do consider donating ! I am raising funds to get the Xperia Z2 !




please keep sending in your feedback it helps me improve my kernel! constructive feedback is ALWAYS welcome!



Lots more features incoming, OverClock, LCD Color Control, PowerSuspend drivers, possibly FastCharge & Sound Control in next release!!!







regards,

DooMLoRD
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-01-02-36-52.jpg
Views:	2158
Size:	159.1 KB
ID:	2718048   Click image for larger version

Name:	Screenshot_2014-05-01-02-36-03.png
Views:	1916
Size:	227.3 KB
ID:	2718049  
The Following 9 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
30th April 2014, 11:28 PM   |  #9  
Senior Member
Thanks Meter: 67
 
784 posts
Join Date:Joined: Oct 2008
I'll definitely try out your kernel once there are more custom ROMs out. It's still really silent in here although the Z2 isn't that different to the Z1...

Hopefully some more devs will get this phone and also will release some dark inverted ROMs

Gesendet von meinem D6503 mit Tapatalk
1st May 2014, 03:28 PM   |  #10  
Senior Member
Thanks Meter: 93
 
428 posts
Join Date:Joined: Apr 2009
Can't wait to try out this, hope dev find and exploit for TA Backup and save us all

Post Reply Subscribe to Thread

Tags
doomkernel, doomlord, kernel, recovery, xperiaz2
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes