[One (M9) Android Development] F4uzan:
Mono Kernel for HTC One M9 (Hima)​

Let's start this off with the basic and regular warning and disclaimer :

#ifdef (IF_YOU_FLASH_THE_KERNEL)
* No one except you chooses to flash this kernel, this is your [B]own[/B] choice
* Do not flash this if you expect stability that equals to a stock kernel
* Neither me or XDA is responsible if the kernel destroys your device
* No cats harmed during the creation of this kernel
#endif

Mono Kernel is a kernel made with simplicity and customizations in mind, I never wanted a kernel with gazillions of "bloaty" features (governors, schedulers, etc) that gives me uneasiness since there's too many choices to be made.

Technical details :

If you want to know about the toolchain and stuff I used

- Compiled with Google GCC 4.9 (pre 21-07-2016 releases), and UberTC 4.9.4 (21-07-2016 release and newer)

- Built on a SlimROM source tree

- Little to no weird optimizations flags, I'll avoid adding -Ofast, -O3, Graphite or anything related to them

Features :

Some bits of features that you'll see

- Latest upstream kernel, currently on 3.10.102

- zzmoove (bLE edition) and elementalx governor

- FIOPS and SIOPLUS scheduler

- Configurable thermal control

- Toggleable CRC and Dynamic Fsync

- USB Fastcharge

- UKSM 0.1.2.3 (Ultra KSM, an improved KSM)

- KCAL v2 (post-processing control for display)

- state_notifier driver, replaces earlysuspend and powersuspend

- Franco's Sound Control

- zRAM support

- Mini-bits of somewhat-safe (but not necessarily stable) optimizations

- Lots of updates and upstream works from various sources (CAF, Google, and Linux)

- And probably more

Bugs :

- Possible bug: Stereo channels are reversed (left to right and right to left) (False report on my side)

- None, at least for now

Download :

Get it while fresh!

AndroidFileHost Folder

Installation :

Please read all of this before continuing

For .img format (Slim6 only) :

IMG is deprecated as of 12 July release, please use ZIP instead

- Download the .img and put it somewhere

- Reboot to recovery (I'll assume you're using TWRP here)

- Press 'Install' then press 'Install Image' (located on the bottom-right side)

- Locate the .img

- Make sure you select 'Boot', not 'System Image' or 'Recovery'

- Swipe and install, but don't reboot

- Reinstall any Systemless mods (Systemless Root, Xposed, etc) if you have one

- Reboot and wait for it to boot!

For .zip format :

- I mean... you probably know how

- Just flash the zip

Compatibility List :

Check if your ROM is compatible

- Tested on Slim6

- Working on CM

- Possibly working on RR

Credits :

All these talented people deserves a cookie

(In no order)

- flar2

- faux123

- franciscofranco

- anarkia1976

- chadouming

- neobuddy89

- imoseyon

- myfluxi

- yarpiin

- Grarak

- ##W4TCH0UT##

- benschhold

- Evolutionzz & Dims_Camper (some nice friends to talk)

There's too many people that deserves to be here, if you're one of them (in case I somehow forgot to credit you here and on the source code / Git repo page), please, don't hesitate to PM me!

Notes :

- Mono Kernel will always remain on 'testing' phase, mostly because I tend to screw up and break stuff, so I don't warrant any stable release, unless otherwise mentioned

- This kernel is working on CM (and possibly other ROM based on it)

- Nope, I have never tested this on any other variant of the M9 apart from the International variant

- Yes, no hotplug support for now, I'm still experimenting with hotplugs on this device

XDA:DevDB Information

Mono Kernel, Kernel for the HTC One (M9)

Contributors

F4uzan

Source Code: https://github.com/F4uzan/mono_hima

Kernel Special Features: Uh... it's downloadable ?

Version Information

Status: Testing

Created 2016-07-09

Last Updated 2016-07-31