[P8 Lite (2017) Development] Dil3mm4:
​

Main kernel goals:

This kernel builds up on two unavoidable concerns:

Smooth performance and good battery backup.

I'm honestly not a fan of phones used as gaming-devices.

So if you expect overclocking and giggles, just leave.

Kernel features:

Wireguard;

Touchboost*;

Dynamic SchedTune Boost;

Fastcharge inherited in kernel*;

Blu_active governor*;

WQ Power Efficient Toggle;

Advanced TCP*;

Boeffla WL handler;

FIOPS IO*;

ZEN IO*

Fsync;

Kernel stack increased to 32K;

Hotplug for more cores (instead of the stock 2)

VNSwap;

UKSM;

Enhancing Boeffla WL blocking;

NTFS support;

Fastest sleep-time on screenlock;

GPU Governors;

GPU is now Scene Aware;

New entropy levels;

Maple I/O Scheduler;

Reduced Wakelocks;

Test to re-enable setEnforce command.

Upstreamed to 4.4.174

Installation instructions:

fastboot flash kernel <kernelimagename.img>

Downloads:

rev2.2 4.4.174

Spectrum profile flashable via TWRP (you'll need root and spectrum app)

Download

Follow the guide under the spoiler to have better result with spectrum conf

SSC Instructions

First download the SSC flashable zip for your device file from the link above and place it on external SD card

Go to <root>/vendor/etc and delete the "perfgenius_boost_policy" and "perfgenius_config" XML files.

Go to <root>/vendor/bin/hw and rename (do not delete) "vendor.huawei.hardware.iawawreperf@1.0-service" and "vendor.huawei.hardware.perfgenius@1.0-service" (just add ".bak" in the end)

Go to <root>product/etc/xml and delete the "uniperf_config_cust" XML file.

Go back to <root>/vendor and open the build.prop, find the lines "ro.config.hw_perfgenius" and "persist.sys.iaware.cpuenable" and change them from 'true' to 'false'.

If you were already using Spectrum, on your Internal Storage, delete the Spectrum folder, along with the profiles. Leave the Spectrum app installed.

Reboot to TWRP and flash the SSC file and reboot. (If you do not have Spectrum app installed, install it). Just give root permissions to the app and set whatever profile you want to use.

Note:

BY DEFAULT ALL THE TWEAKS MARKED WITH A * ARE DISABLED.

This is to enhance user interaction in choosing, on their own, the right setup/features for themselves.

Also, this is ****"""""SUPPOSED"""""**** to work on other HI6250 platform devices as-well.

But I honestly don't care of anything else than PRA.

So don't waste your time reporting from other devices.

THIS IS A KERNEL FOR OREO/PIE ROMS.

TESTED ON CUSTOM ROMS (I DON'T CARE OF EMUI AS OF NOW).

Supportive people:

[MENTION=6765491]neondragon1909[/MENTION] for fixing derps that I commit half asleep at 6am;

[MENTION=8215344]hexxr[/MENTION] for this awesome logo;

[MENTION=7965206]petya230[/MENTION] for being always supportive.

Special thanks:

All the people in my commits;

If you'd like to contribute please feel free to PR:

https://github.com/Dil3mm4/labyrinth_kernel_prague/

XDA:DevDB Information

Labyrinth Kernel, Kernel for the Huawei P8lite/P8 Lite

Contributors

dil3mm4

Source Code: https://github.com/Dil3mm4/labyrinth_kernel_prague/

Version Information

Status: Testing

Created 2018-06-27

Last Updated 2018-06-27