AndroPlus Kernel
for Xperia XZ Premium
Requirements
  • Xperia XZ Premium [G8141 and G8142]

  • stock 7.1.1
  • 45.0.A.7.137 -> v06
  • 45.0.A.7.120 -> v05
  • 45.0.A.7.90 -> v03 - v04
  • 45.0.A.5.8 -> v01 - v02
  • 45.0.A.5.1 and older is not officially supported.

  • Unlocked bootloader
Download
How to install

1. Reboot into bootloader
2. Flash kernel using fastboot
fastboot - Extract boot.img from zip and run this command:

fastboot flash boot boot.img
*If you have no recovery, you also need to flash recovery by this command:
fastboot flash recovery TWRP-3.1.1-0-maple.img
You can enter into recovery by this way: power down -> press power + volume minus -> when logo appears, release only power and hold volume minus
3. Reboot
4. Done!

Changelog
v06
Changed kernel base to 45.0.A.7.137
Added patch for BlueBorne

v05
Changed kernel base to 45.0.A.7.120

v04
Changed kernel base to 45.0.A.7.90
Enabled HZ_1000

v03
Change the way to wakeup of tap to wake - now you only need this command to enable it:
adb shell
setprop persist.sys.touch.easywakeup 1

v02
Removed non-working DRM patch
*This fixes sound problem

v01
Re-enabled double tap to wake
To enable it, run these commands:
adb root
adb shell
/sbin/busybox mount -o remount,rw /system
touch /system/usr/keylayout/clearpad.kl
chmod 644 /system/usr/keylayout/clearpad.kl
echo "key 531 WAKEUP" > /system/usr/keylayout/clearpad.kl
setprop persist.sys.touch.easywakeup 1
Add maple/sio/fiops I/O Scheduler (yeah, Maple on Maple!)
Add iosched switcher
Add KCAL
Add wakelock blocker
Add alucard, darkness CPU governors
Add toggle for software crc
Add other misc patches
Disable DM_VERITY, force module sig and some debugging
Disable ric
--------------------------------------
Source
More from AndroPlus

FTF for Japanese Xperia

Mega collection of FTFs for Japanese models. If you have FTF which is not listed on the website, please send me via Google Drive or PM me on xda.

Xperia Codename List

The list of codenames of all Xperia!

Get my Xposed modules for Xperia

Simple and effective Xposed modules for Xperia devices - you can enable hidden features and mods with one tap.

Go to my blog, AndroPlus.org

My blog for Xperia related information. Sorry, but most blog posts are only displayed in Japanese.