[Xperia Z5 Premium Android Development] zacharias.maladroit:
CC: [MENTION=6967117]jimmkhn[/MENTION] - not sure if you're still on 32.4.A.0.160 but since there's no kernel source yet for 32.4.A.1.54 , I'm currently staying with .160

Final (?) release for 32.4.A.0.160 of "Breach" Kernel for the

Z5 Premium

BreachKernel is a logical evolution from the SunKernels, it shares its base with GreenKernel (Z5 compact):

containing many similar features/changes but also somewhat different decisions by [MENTION=8041676]GreyLeshy[/MENTION] (kudos !)

Features (short list)

seems like smoothness after wake has been close to restored ...

countless stability improvements

Tons of backports from newer kernels up to 4.9+ LTS Android (newest Android source) [e.g. binder without the global lock, scatter-gather list and other improvements]

zram improvements & stability enhancements

zsmalloc, z3fold fixes and enhancements

swap: overhaul to match the feature level (+ "under the hood") close to 3.18 kernel and beyond [less overhead, speed enhancements]

mm subsystem overhaul: especially in the vmalloc, page_alloc domains [less fragmentation, higher allocation success rate]

net/bluetooth: overhaul

[BlueBorne fix]

drivers/bluetooth: enhancements

scheduler: highly tweaked and enhanced scheduler trimmed towards battery savings + autogroup scheduling "The ~200 Line Linux Kernel Patch That Does Wonders"

Low-latency scheduler (Zen-Tune + more tweaks)

rcu: overhaul: TONs of fixes, battery savings, performance and reliability/stability fixes

mmc: sdhci/mmc - overhaul with lots of enhancements, reliability improvements and battery savings

300 Hz timer rate + driver timer rate fixes - this provides faster race-to-idle (better battery savings, more smoothness)

battery drivers improvements to make it more accurate and provide LOT more runtime (e.g. Xperia Z5: 7.5 hours of SOT with minimal usage = mostly reading ebook and browsing XDA, web occassionally ; with moderate usage 6 hours of SOT (e.g. Xperia Z5) )

su-hide enhancement

StackClash fixes to prevent exploits

vmacache

interactive governor overhaul and tweaking to lowest battery consumption

fixes against high load average (battery drainers)

lots of smoothness enhancements (highest smoothness = no swap, no swap = high AndroidOS drain ; so we need to work with what we have)

camera: LOT of fixes

camera: speedup, faster camera, faster picture taking ; better reliability

lpm/cpuidle: low power modes overhaul to allow deeper power modes & better power savings

msm_serial: overhaul - fix power regression (reduce higher battery consumption)

tty: overhaul

several driver fixes to reduce unnecessary high power consumption

BCL (battery current limit): overhaul

usb-charger: allow 1500 mA via USB

FauxSound

sound system tweaks

Underclock: little cluster to 1.344 GHz, big cluster to 1.536 [much cooler, close to no overheating ; much improved efficiency - very high SOT (screen on time)]

Voltage Control

writeback: LOT of improvements - less delays and lagging

ext4: several improvements to reduce delays and lagging + reduce battery consumption

cpu-boost: rework

little / big core fixes to allow booting when big core is broken (Nexus 6P, Nexus 5X)

Linaro 6.4.1 Toolchain

optimization flags to raise stability

lots of filesystem fixes

exfat: built INTO the kernel

disabled SYSVIPC (security vulnerability, unnecessary overhead)

USB: phy: , xhci: enhancements

several security enhancements and improvements

more snappier kernel/system to allow interruption of work

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

network and other subsystem fixes & improvements

ANT/BT/FM: battery reduction tweaks, stability improvements

Crypto: enhancements and speedups

WiFi: newer driver & fixes, improvements

Fingerprint Scanner + Touchscreen driver improvements

Fingerprint Scanner Boost

AdrenoIdler

several i/o schedulers

several governors [

interactive

governor WITHOUT modifications recommended]

new kernel source base: 64.1.2.3 (thanks to [MENTION=8041676]GreyLeshy[/MENTION] for the porting , adaptation)

Download

sats = satsuki (Z5 Premium)

sats_dual = satsuki dual (Z5 Premium Dual SIM)

See Attachment

or Google Drive: https://drive.google.com/open?id=0BykGGWB96CBQZ2lLLTBmOUJrM2M

Scripts

See Attachment (swap-tune_memory-compaction.sh) [had to be renamed to txt to allow uploading]

That script only needs to be run ONCE after bootup of Android (e.g. via Script Manager),

it allows higher throughput, faster processing with the swap and reduce the accumulation of traffic/lag (simplified)

Source

https://github.com/zachariasmaladro..._msm8994_kitakami_r2/commits/BreachKernel_I.1