[Xiaomi Mi 2] Khaon:
Khaon presents his kitchen for

Xioami MI2(s) devices

I am not responsible for any damage to your phone.

Read before downloading or posting in the thread:

Proceed with caution if you have no experience.

Introduction

You will find in this thread links to my kernel and a custom CM rom compiled with linaro toolchains and with optimized flags. The rom is shipped with my kernel

This kernel is based on cyanogen's. It ingrates various patches, in my opinion, stock kernel misses. It supports both ext4 and f2fs partitions.

This is a xda debDB project, so feel free to fill in bug reports, feature(s) request and review!

This kernel works on cyanogenmod rom and maybe some other AOSP roms!!

It uses, for now, a simple all kernel repack script. Thus, this repack method is not guaranteed to work at 100%for your custom rom!

Roms reported working so far : Omni Rom, Gummy rom, Paranoid rom, Pacman Rom, CM11 also​

The kernel is fully supporting f2fs, if will correctly mount your partition as long as they were formated with f2fs and ext4.

You don't need to edit the rom's script, it will detect itself your partition's filesystem.

For those who don't know what is f2fs

Some benchmarks to point out the performance difference between EXT4 and F2FS

Features :​

Compiled with lastest stable linaro - 4.9.2-201409

Compiled with appropriated optmizated flags : O3, etc.

Any kernel script

CPU Governors : onDemand,msm-dcvs,interactive, intelliactive,conservative, performance, userspace

GPU Governors: onDemand,performance,interactive

I/O schedulers : noop, cfq, row,deadline, bfq v7r6(tweaked for nand devices)

CPU hotplug drivers : intelli_plug

intelli_thermal

Support and up to date with upstream f2fs revision branch

Mounts dynamically your partition as long as they were formatted with ext4 or f2fs(not working yet with data f2fs with TDB and sys2)

CPU UC/OCing

GPU OCing up to 500 Mhz

FauxSound 3.6

supports kernel neon mode

kernel image compressed with lz4 algorithm for faster boot

arm optimized crypto algorithms

frandom: A fast random number generator for replacement to urandom

uksm in replacement for ksm

Westwood+ TCP congestion control algorithm

And many more patches(see my github!).

​

Instructions :

[B]Kernel:[/B]
1. Reboot to your recovery
2. Install the zip
3. Wipe your caches( /cache & dalvik-cache)
4. reboot & enjoy!
[B]Rom: [COLOR="Red"][FONT="Arial Black"][SIZE="2"]THE ROM IS SHIPPED WITH ORIGINAL CM11 KERNEL[/SIZE][/FONT][/COLOR][/B]
1. Just install the zip! (if you have some partition ith f2fs it will detect itself)

[B]Format cache and data partitions to f2fs:[/B]
You can use @XperianPro 's [URL="http://xdaforums.com/mi-2/development/rom-cyanogenmod-11-modified-edition-t2873261"]philz's recovery[/URL] he built for his modified rom
or use my custom twrp recovery, [B]need to use 2.8.1.0 and onwards[/B]

[SIZE=1].[/SIZE]

Download Link​

Credits :

Cyanogenmod and particulary @@m11kkaa for their work on this device

Samsung for f2fs filesystem

@faux123for his work ( intelli_plug, intelli thermal, fauxsound, intelliactive)

@franciscofranco for his gpu governor

@osm0sis for his any kernel script 2.0

Linaro team for their work on the toolchain

XDA:DevDB Information

Khaon's kitchen for the Xiaomi mi2(s), ROM for the Xiaomi Mi 2

Contributors

Khaon, @faux123,@m11kkaa,@franciscofranco

Source Code: https://github.com/Khaon/mi2_kernel/tree/khaon

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Based On: Cyanogenmod

Version Information

Status: Snapshot

Stable Release Date: 2014-10-27

Created 2014-09-27

Last Updated 2015-01-05

XDA:DevDB Information

Khaon's kitchen for the Xiaomi mi2(s), ROM for the Xiaomi Mi 2

Contributors

Khaon, @faux123,@m11kkaa,@franciscofranco

Source Code: https://github.com/Khaon/mi2_kernel/tree/khaon

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Based On: Cyanogenmod

Version Information

Status: Snapshot

Stable Release Date: 2015-01-13

Created 2014-09-27

Last Updated 2015-01-13