[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
There's several factors: kernel (BCL, thermal, hotplug, and several other subsystems), ROM / thermal manager / "thermal engine", thermal config

Please give [MENTION=5033594]korom42[/MENTION] 's Thermal mod a try:

https://xdaforums.com/xperia-z4/development/z3-z4-fsc-improve-performance-reduce-t3673753

New "Facula" (Sun-)kernel Release [1_2_29_2_2]

Explanation of the name:

https://en.wikipedia.org/wiki/Facula

http://www.isf.astro.su.se/highlights/faculae-explained/

(lol - everytime I read the name I think "Dracula" :silly: )

Link:

Resurrection Remix:

https://drive.google.com/open?id=0BykGGWB96CBQbGVjR2FrRlk2Vms

changes include

based on the new patched up LineageOS Kernel base ( kudos to [MENTION=4329876]Olivier[/MENTION] )

bleeding edge Linaro 7.2.1 Toolchain

enhanced optimizations

bleeding edge binder 4.9

bleeding edge F2FS (currently NOT built into the kernel, WIP - so do NOT attempt to convert any partitions to it :p )

vibration enhancements to make it work more reliably

BCL (battery current limit) rework

msm-core fixes & improvements

several charger fixes,

fix for overflow during charging fully

ARP spoofing protection (thanks to [MENTION=5996255]jollaman999[/MENTION] )

zram fixes & improvements

lz4 fixes

camera speedups & enhancements

ASoC: CPE enhancements & reliability improvements, stability improvements

stability & reliability improvements

writeback: speedups

Fauxsound

exfat in-built kernel driver + fixes & speed-ups

load average reductions to keep CPU load low

a few scheduler power consumption reductions

fixed/improved battery state calculation (the old one could overflow once the battery was full)

other things I forgot to mention

Additional changes (for 1_2_4)

F2FS enabled

mm: per-thread vma caching added (reduction of the needed cycles for expensive rbtree walk of find_vma() by up to 250%, hit-rate improvement of 25-9431% [ebizzy] [cached] )

re-enabled msm-core polling, decreased the polling rate

More changes (for 1_2_16)

added dynamic wakelock blocker from [MENTION=6126659]PDesire[/MENTION] (kudos !)

added a few serial fixes

do hotplug with SCHED_FIFO priority to make hotplugging more reliable under heavy load (re-added, seemed to have worked well in NovaCore)

revamped alarm driver to make setting an alarm time (even when the device is OFF (?) (sic!)) work as expected, so that it boots up 2 minutes before [needs testing]

add several timer fixes

several WiFi driver tweaks to (potentially) reduce power consumption

stability fixes against WiFi driver to avoid crashes / panics

add state_notifier

add PowerSuspend [seemed to be "at fault" for better power savings (?!) :cowboy: ]

add Adreno Idler to cut down power consumption of GPU

a few fixes to the adreno_tz driver

rework of the net/bluetooth subsystem with several reliability and stability fixes

rework of the drivers/bluetooth subsystem with latest bluetooth driver, power savings and stability fixes [FM/GPS/BT/ANT]

rework of the dwc3 ( "SuperSpeed (SS) USB 3.0 Dual-Role-Device (DRD) from Synopsys" ), to increase stability, reliability and cut down CPU load during e.g. charging, potentially also increasing performance

fingerprint driver stability / reliability improvement

touchscreen stability / reliability improvement

clk: add fixes to allow devices with broken cluster to boot (similar to Nexus 5X, Nexus 6P)

raise performance of mmc a bit

power button: increase the debounce delay a bit to make sure that Power Button work reliably (potentially fixed an screen stay black issue on Z5 compact)

raised mitigation frequency to 960 MHz, disabling hotplugging of BIG cluster upon BCL event [would lead to massive lagging] [eval]

enhanced optimized compiler flags

revert to 6.3.1 Linaro Toolchain (7.2.1 would throw internal compiler error), yep, I tend to stress things to the max and track down errors :D

other changes I forgot

Additional changes (for 1_2_29_2_2)

vidc improvement

fix to power-button operation/handling (fixes ghost button touches, not waking up from sleep, etc.)

force cores 0 (little cluster) + 4 (big cluster) online

slub improvements

mm subsystem rework, allocation fixes (vmalloc), fragmentation reduction, compact memory while screen is off

tmpfs fixes

readahead improvements

bcmdhd (wifi) driver refinement, this should fix the high battery/energy usage during use

wifi: reduce wakelocks

cpuidle: rework

lpm (low power modes): rework

cpu-boost: rework, improvements, raise priority to SCHED_FIFO [smoother operation]

raise priority of kgsl [smoother operation]

kgsl: several improvements related to smoothness, latency, reliability

others I forgot

(this is a joke, right ? "The message you have entered is too short. Please lengthen your message to at least 2 characters.")