[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] janjan:
​

I am sharing my kernel/boot.img, which is build from Sony Open Source/Qualcomm/ and android source (Very close to Stock KERNEL). Designed to keep balance security/ with high Performance and battery life.​

###Disclaimer###
I am not responsible for any damage, broken or boot looping.

Please read the instructions and notes before flashing anything. Don't ask me if you don't read the instructions.​

Please respect and try to help each other. You may face sometimes that I cannot answer your questions/or answer your questions a bit later. I am busy with my work and don't have enough time to read and answer all your questions at the same time.

DONATE ME HERE

DONATE-HERE

##############################

Requirements-

##############################

- A working driver for your device.

USB drivers for Xperia devices

- Unlock bootloader

- A Working TWRP-with latest patch security

- YOUR firmware must match my kernel version. I used to update the kernel with latest firmware.

- Backup your stuff for future

- YOU NEED a refresh stock ROM (means you have to wipe EVERYTHING). Use flashtool to flash the latest firmware. (Remember to check Wipe USERDATA in flashtool). It seems not necessary if you have already flashed my kernel and have a working camera

- USE LATEST FLASHTOOL VERSION TO FLASH THE LATEST FIRMWARE

- (DOWNLOAD FROM HERE:- LATEST FLASHTOOL)

##############################

Features 11/3/2019

##############################

- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (LATEST-47.2.A.8.24) March, 2019

- Up to date with latest security update—March 2019

- Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY WORK

- Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check

- Support wireguard VPN protocol

- dm-verity removed

- Sepolicy is patched for latest Oreo (deodex ROMs)

- Camera works without any patch

- Scheduler optimize/support for heterogeneous multi-core. Battery efficiency

- Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs

- Multi-core scheduler enable/optimized

- Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping

- A lot subsystems converted to use power efficient workqueues

- CAF improvements and optimized

- Enable latest energy aware scheduling patches

- Enable workqueue power-efficient mode by default

- Several other patches to improve the speed and battery usage

- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs

- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,

- Tweaked to predict the best time to save power on the CPU without affecting performance

##############################

Instructions-

##############################

- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot boot.img (flash kernel/boot.img)
- fastboot reboot

- THIRD BOOT YOUR DEVICE INTO TWRP-RECOVERY AND ENSURE/CHECK THAT ALL POSSIBLE PARTITIONS ARE IN MOUNT OPTIONS

- NOW FLASH 2-patching.zip THEN 3-LATEST Stable Magisk

(DOWNLOAD FROM HERE:-LATEST MAGISK)

- NOW ENSURE THAT MAGISK MANAGER IS WORKING

- FINALLY BOOT INTO TWRP-RECOVERY AND FLASH 4-kernel_permissive.zip WITH WIPE DALVIK & CACHE

- YOU CAN ALSO FLASH 4-kernel_permissive.zip FROM MAGISK MANAGER

- OPEN MAGISK MANAGER AND FIND/OPEN MODULES

- PRESS /HIT THE PLUS + SIGN AND FIND THE PATH OF THE 4-kernel-permissive.zip

- NOW IT WILL INSTALL THE ZIP AND REBOOT

- DONE AND ENJOY

##############################

Downloads

##############################

XPERIA-XZ1 Compact(G8441)-LATEST-47.2.A.8.24-(11/March/2019)

##############################

XPERIA-XZ1 Compact(G8441)-ALL-BOOT IMAGES-[KERNEL][DRM-PATCHING]

##############################

Source/GitHub

##############################

Kernel-source

-47.1.A.12.xxx

https://github.com/Nexusma/msm-4.4

https://github.com/toffyjan/android_kernel_Sony_lilac_poplar

https://github.com/sonyxperiadev/device-sony-lilac

IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE

DONATE ME HERE

DONATE-HERE

Special Thanks To:

If you can, donate and respect all the devs :)

[MENTION=631273]Chainfire[/MENTION] for his great work to achieve root SuperSU

[MENTION=4297219]modpunk[/MENTION] for TWRP-recovery 3.2.1-0 and drm-fix THANK YOU

[MENTION=2807379]Androxyde[/MENTION] for Flashtool. merci beaucoup pour tout

[MENTION=4120742]munjeni[/MENTION] for his great knowledge and tools for extracting SIN images

[MENTION=8363210]sToRm//[/MENTION] for his effort on DRM work, THANKS

[MENTION=5787964]SuperR.[/MENTION] for SuperR's Kitchen , THANK YOU

[MENTION=6844550]M-Rom[/MENTION] Thanks for sharing drm-fix and patch

[MENTION=3989065]serajr[/MENTION] Thanks for DRM Fix Workaround and Sony RIC disabler

THANK YOU SONY FOR SUPPORTING DEVs AND ALLOWING US TO UNLOCK THE BOOTLOADER

Thanks to XDA And everyone else who share their knowledge and works among us in xda.​