[Xperia Z2 Original Android Development] DooMLoRD:
----------------[ 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 [MENTION=2546099]yeeson[/MENTION] has been helping to test out the kernel on his Z2!

Many thanks to [MENTION=1345746]tpcastelli[/MENTION] 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 [MENTION=3332811]faux123[/MENTION] ) [v11 onwards]

updated to new thermal driver Intelli-thermal v2 (thanks to [MENTION=3332811]faux123[/MENTION] ) [v11 onwards]

updated TWRP Recovery to v2.8.0.1 (thanks to [MENTION=912474]Dees_Troy[/MENTION] ) [v11 onwards]

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

updated Intelli-active CPU governor (thanks to [MENTION=3332811]faux123[/MENTION] ) [v10 onwards]

updated Intelli-Plug driver to v3.8 with loads of new fixes & optimizations (thanks to [MENTION=3332811]faux123[/MENTION] ) [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 [MENTION=3332811]faux123[/MENTION] ) [v09 onwards]

added and enabled TRUE CD ROM Emulation! (thanks to [MENTION=1996688]FrozenCow[/MENTION] ) [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 [MENTION=2492127]Kali-[/MENTION] ) [v08 onwards]

now we have custom built Broadcom BCMDHD WiFi WLAN module (thanks to [MENTION=2492127]Kali-[/MENTION] ) 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 [MENTION=3332811]faux123[/MENTION] ) [v08 onwards]

fixed VFPmodule bounce crash at bootup (thanks to [MENTION=4152171]myfluxi[/MENTION] ) [v07 onwards]

added interface to control vibration intensity (thanks to [MENTION=2492127]Kali-[/MENTION] ) [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 [MENTION=2760454]chdloc[/MENTION] ) [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 [MENTION=3332811]faux123[/MENTION] ) [v06 onwards]

added and enabled Simple GPU Algorithm with tweakable parameters! (thanks to [MENTION=3332811]faux123[/MENTION] ) [v06 onwards]

added some more PowerSuspend hooks (thanks to [MENTION=2033478]Yank555[/MENTION].lu ) [v06 onwards]

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

added and enabled PowerSuspend drivers - better earlysleep/resume drivers (thanks to [MENTION=3332811]faux123[/MENTION] ) [v05 onwards]

added and enabled Intelli-KSM (thanks to [MENTION=3332811]faux123[/MENTION] ) [v05 onwards]

added and enabled Force FastCharge! - force fast-charging on unknown power adapters (thanks to [MENTION=3332811]faux123[/MENTION] ) [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 [MENTION=4152171]myfluxi[/MENTION] ) [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 [MENTION=3332811]faux123[/MENTION] ) [v03 onwards]

added & enabled kernel level Color Control! ( thanks to [MENTION=3332811]faux123[/MENTION] ) [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 [MENTION=3332811]faux123[/MENTION]) [v02 onwards]

added and enabled new CPU governor: Intelli-active! (thanks to [MENTION=3332811]faux123[/MENTION]) [v02 onwards]

added msm_cpufreq_limiter "Snake Charmer" - now the cores are properly capped! (thanks to [MENTION=3332811]faux123[/MENTION] ) [v02 onwards]

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

compiled using GCC 4.8.3 Linaro toolchain with Cortex-A15 optimizations (thanks to [MENTION=4972043]dbolivar[/MENTION] ) [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 :D (ported from Z1) (thanks to [MENTION=4666971]Phil3759[/MENTION]) [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 [MENTION=3292224]franciscofranco[/MENTION]) [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 ]

Xperia Z2 [D6502/03]

stock KitKat 4.4.2 FW

17.1.2.A.0.314 - v10, v11

17.1.1.A.0.402 - v06, v07, v08, v09

17.1.A.2.69 - v01, v02, v03, v04, v05

bootloader unlocked [ READ THE WARNING IN THAT THREAD BEFORE UNLOCKING BOOTLOADER ]

working fastboot

android app for overclocking/voltage control like FauxClock app (paid) [RECOMMENDED] or Pimp my Z1 (free) or SetCPU (paid) or NoFrills CPU Control (free) or Kernel Tuner (free)

android app for kernel level Sound Control - FauxSound Audio/Sound Control (paid)

android app for entering into multi-recovery solution - Xperia Reboot (paid)

[ how to install my kernel ] (via recovery) [RECOMMENDED]

download the kernel package

save it to the sdcard

reboot into recovery

flash the kernel package using recovery

reboot from recovery into system

the device should now start booting

enjoy the kernel ;)

[ how to install my kernel ] (via fastboot)

download the kernel image

save kernel to the folder containing fastboot binary

flash the boot.img using fastboot:

fastboot flash boot boot.img

reboot from fastboot

fastboot reboot

the device should now start booting

enjoy the kernel ;)

[ tips / recommendations ]

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_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