[One (M8) Android Development] ~clumsy~:
Clumsy Kernel
​

​

I [MENTION=3989587]~clumsy~[/MENTION], begun working on this kernel with the input from [MENTION=398245]LeeDroid[/MENTION]. The mission is to make a kernel for the M8, with potential to grow and continue this kernel in the future other flagship devices that [MENTION=398245]LeeDroid[/MENTION] will produce.

So lets not beat around the bush, here's the kernel

Made for Marshmallow Sense 7 based of GPE source and it will work on GPE or Sense devices, unified dt.img for all M8 variants.

KCAL Patch by [MENTION=4316709]savoca[/MENTION]

This patch will give the the ability to change the intensity of RGB values, Contrast, Saturation, Value and Hue. Also Options for Grayscale and inverted display. All configurable through the app.

Disabled HTC Write Protection

This will allow the "/system" to be writeable, you must remount "/system" as "rw".

HD Audio

This mod with the HK files allow s24-bit, 192KHz FLAC file playback with the stock HTC Music app.

Test file is available from here.

USB Fast Charge

It will allow the current to increase to 1100 ma when connected to a USB port on a computer/laptop or cheap AC Chargers (if the computer and laptop can support that current), usually it will be limited to 500 ma. This mod does not directly affect AC chargers, so to get the best AC charging performance it is best to stick to stock charger.

Default Westwood TCP Algorithm

A newer version of Reno, and another commonly used one. It controls parameters better, helping out streaming and overall quality of browsing the internet. One of the most 'fair' algorithms out there, and is one of the most efficient algorithms to date.

More information can be found here.

LZ4 compression

LZ4 is a very fast lossless compression algorithm.

/dev/frandom

/dev/frandom is about 10 times faster and will help when generating session keys.

Multiple Carrier

This kernel supports for the variants International (M8), Verizon (M8WL), Sprint (M8WHL) and Dual SIM (M8DUG).

KEXEC Hardboot

KEXEC Hardboot is syscall of Linux kernel, which allows you to boot another Linux kernel without restarting the device. In other words this allows support of MultiRom.

More information can be found here.

Wake Gestures

The kernel has the following wake gestures, s2s, s2w and dt2w thanks to [MENTION=4684315]flar2[/MENTION].

Kernel Same-page Merge (KSM)

Kernel Same-page Merge (KSM) is a process that allows guests to share identical memory pages. By sharing pages, the combined memory usage of the guest is reduced. The savings are especially increased when multiple guests are running similar base operating system images.

All compiled with Linero Toolchain 5.2 a better choice than GCC.

Some Misc App Tweaks

- Vibration Strength

- Wake Gestures

Download Clumsy M8 Kernel V 2.30 For MM Sense

Download MD5: 55b71b92f8161f83669986dc143c5b2e

Download Clumsy M8 Kernel V 2.20 For GPE

Download MD5: b4e63a9f018ec915168c6fcfb2d87e1f

Download Older Versions​

Installation instructions

Note: If you brick your device or void your warranty (you did that when you unlocked your bootloader), I am not responsible.

You must have a sense 7 marshmallow Rom installed on your device

Download the kernel .zip

Download .md5 if you want to be extra safe

Put the .zip and .md5 in the same directory of your device

Reboot into your recovery

Flash the .zip in the recovery and it should check the md5 for you

Follow the aroma installer instructions

Once complete click "Save Log" in the aroma, just encase there are some problems, it can help me solve them

Reboot the device and play around in the tweak app to get things just right

Share your experience, good or bad, can only get better with you guys

XDA:DevDB Information

Clumsy M8 Kernel, Kernel for the HTC One (M8)

Contributors

~clumsy~, LeeDroid

Source Code: https://github.com/Clumsy-Kernel-Development/M8_Kernel

Config: clumsy_defconfig for MM Sense (slight variation for M8WL, M8WHL, M8DUG)

Source Code: https://github.com/Clumsy-Kernel-Development/M8_GPE_Kernel

Config: clumsy_defconfig for GPE (slight variation for M8WL, M8WHL, M8DUG)

Tool Chain: Linero Toolchain 5.2

Kernel Special Features:

Version Information

Status: Stable

Current Beta Version: Clumsy M8 Kernel 2.20 GPE and Clumsy M8 Kernel 2.20 MM Sense

Release Date: 2016-05-01

Created 2015-06-25

Last Updated 2016-03-18

​