[Sony Xperia M4 Aqua] zacharias.maladroit:
Since I've been getting requests lately due to Google's updated Google Drive policy - here's the updated share link for the M4 Aqua kernels:

M4-Aqua_Kernels - Google Drive

drive.google.com

Nautilus Kernel for Xperia M4 Aqua​

Disclaimer:

By flashing this kernel you acknowledge that the developer is NOT liable for any loss of data, does NOT guarantee any fitness of functionality or non-harm to your phone. You are advised to backup the kernel and ROM before flashing any release which will overwrite the existing wlan module and will lead to broken WiFi when switching to e.g. Destiny kernel

Notes:

(thanks to dani020110 for idea of the thread/post structure and the kernel update script)

[*]THIS WILL WORK ONLY ON UNLOCKED BOOTLOADERS

26.3.A.1.33 Marshmallow only

Features:

reduction of external kernel modules for less attack surface and better stability and protection

lots of power-saving improvements/reductions in idle

separate built WiFi module

reduction of wakelock of WiFi driver

ARP spoofing protection

fuse-fixes

in-built exfat driver (allows file-sizes on microSD of 2+ GB, better stability)

mm: stability improvements

several speedups in the core of the kernel

writeback speedups / improvements

attempts to pass SafetyNet

zram with lz4 + z3fold allocator (NO internal memory fragmentation !) [Port from Xperia Z5]

battery reduction in usage of Google Chrome & Chrome-based browsers (webkit / webview ?)

in-built core_ctl driver (better reliability and stability)

several improvements to the sound driver

and other changes too small to mention separately

optimized kernel config to speed up booting and slim down bloat

4.9 Linaro Toolchain

optimized flags to allow further optimizations and better stability

Installation

M4 Aqua - Booting into fastboot mode

Getting into Fastboot - From the system (Android):

adb reboot bootloader

Getting into Fastboot - Alternatively (while the phone is off):

Shutdown down the phone (power it off):

Connect the USB cable to your phone (your phone only !)

Press the Volume DOWN button, keep it pressed ...

Connect the other end of the USB cable to your PC/Mac, etc. and release the Volume DOWN button

That should get you into fastboot mode (led is blue)

Additionally you can check from your PC/Mac/Linux system if the device is there: fastboot devices

Finally - Flashing the Kernel (from Fastboot)

(WiFi might NOT work ! - thus flashing from TWRP/recovery is most times better (copying updated WiFi module))

fastboot flash boot boot.img

fastboot reboot

Flashing the Kernel via TWRP/Recovery

Booting into TWRP

Press the Volume DOWN button, keep it pressed

While pressing the Volume DOWN button

also

press the Power Button

As soon as the screen turns on and you see the Sony logo ("splash"), release the Power Button - now ONLY keeping the Volume DOWN button pressed

When you see the TWRP Logo ("splash" / screen), release the Volume DOWN button

Once you are IN TWRP, the select the folder where the Kernel zip-file was copied to and flash ("install") it

(you must have

flashed

TWRP via fastboot flash recovery TWRP.img

before

to boot into recovery :cowboy: !)

Download:

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

Thanks, acknowledgments:

dani020110

AndyPhoenix9879

and all the other kernel devs on XDA

XDA:DevDB Information

Nautilus-Kernel for Xperia M4 Aqua, Kernel for the Sony Xperia M4 Aqua

Contributors

zacharias.maladroit, dani020110, AndyPhoenix9879

Source Code: https://github.com/zachariasmaladroit/android_kernel_sony_msm8994_kitakami_r2/commits/Nautilus_I.1

Kernel Special Features:

Version Information

Status: Testing

Created 2017-08-30

Last Updated 2017-08-30