[AOSP/CM][LOLLIPOP][ANYKERNEL][29/05/15] Phantom Kernel r4

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi

Code:
#include 
/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear
 * war, or the current economic crisis caused by you following these
 * directions. YOU are choosing to make these modificiations, and
 * if you point your finger at me for messing up your device, I will
 * laugh at you.
 */
Some points to note-
Added msm_hotplug hotplugging driver
Thermal control driver by @franciscofranco
XZ compression
Disabled crc check
Task adj rbtree optimization from Motorola
Memcpy, memmove optimization from Motorola
Compiled using latest Linraro 4.9 optimized for Cortex A15
Anykernel script
Latest KCAL control driver
CPU Power driver and updated ARM typology
Overall CPU stats
Disabled crc check
Powersuspend driver
USB Fast Charge
Fixed simple_ondemand GPU governor
Added Conservative GPU governor with many more patches to devfreq
Voltage Control
Stereo call recording support
Entropy tweaks
TCP, KGSL and many many many more patches
CPUFREQ tweaks
Power efficient workqueues for almost everthing
SCHED tweaks
futex patches
exFat support
Sound Control 3.2
Added SIO, FIOPS, BFQ and TripNDroid I/O schedulers
Tweaked existing I/O schedulers
fsync
Added intelliactive and elementalx governors
Tick, time patches
Vibrator Strength Control

...also much more stuff which I can't write here because I don't want to spam. Go to github and check yourself.

Issues-
-You tell.

Instructions-
No support for MIIUI
AOSP tagged zip is only and only for Ivan's AOSP, all other ROM users please use CM tagged zip
First flash a ROM if you haven't already as kernel is not provided in form of a boot.img
Flash zip through recovery
DO NOT POST BUG REPORTS IF YOU DIDN'T FLASH KERNEL ON A CLEAN INSTALL.
Controls for every feature can be found in Kernel Auditor app


Download-
http://forum.xda-developers.com/devdb/project/?id=9618#downloads


GPL Compliance:
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to this kernel. If you want to include my kernel in your project or use my source code, please mention it in your post, give proper credits.
Opensource does not mean 'Out-of-credit'
Thank you.


NOTE TO MODERATORS- OT is allowed in this thread. Only warn users or delete posts when they start to become uncivil with each other.

XDA:DevDB Information
Phantom Kernel, Kernel for the Xiaomi Mi 3

Contributors
Shivam Kuchhal
Source Code: https://github.com/shivamk11/android_kernel_xiaomi_cancro

Kernel Special Features:

Version Information
Status: Stable

Created 2015-05-05
Last Updated 2015-05-29
 

Shivam Kuchhal

Senior Member
Dec 1, 2012
942
1,704
0
New Delhi
Recommended Kernel settings

Use Kernel Adiutor app for making all changes.

CPU:
Governor- Interactive(for balance) or elementalx(for performance)
Multicore Power Saving- Aggressive
Rest untouched.

CPU Voltage:
-50mV all frequencies

CPU Hotplug:
Turn MP Decision off if it isn't already and turn msm_hotplug on. You can leave tunables as it is or make your required changes.
I keep 1036Mhz as maximum screen off frequency

GPU:
GPU Governor- simple_ondemand

Screen:
Do whatever suits you best
I keep saturation at somewhere between 50 and 60. And screen value and contrast at 130.

Sound:
Use FauxSound app for making changes, our version of sound control is old and buggy.

Battery:
Force Fast Charge- on

I/O Scheduler:
Scheduler- bfq/row/sio
Whichever you find best

Misc Controls:
TCP Congestion Algorithm- westwood
 
Last edited:

marko94

Senior Member
Jul 28, 2012
2,632
1,142
193
30
Zagreb
Power eficient workqueues and MP decision doesn't works..I enable this,but after few sec they disabled automated..btw great kernel,and great works :D

Sent from my MI 3W using XDA Free mobile app
 
  • Like
Reactions: anand_n

Jhayzt

Senior Member
Nov 1, 2011
856
284
0
Urdaneta
I've been using this since last night and.. Speechless. XD No drop frames when scrolling here and there. UI animations are solid 60fps its as if I own a Nexus device(As in no dropped frames). The kernel works well with XenonHD. You dev @Shivam Kuchhal, deserve the 5 star rating. :)

Want to feel the same experience? Leave everything as is and change your Governor to ElementalX and I/O to SIO. :)
 

storytellerz

Senior Member
May 16, 2012
468
61
0
Kuching
I've been using this since last night and.. Speechless. XD No drop frames when scrolling here and there. UI animations are solid 60fps its as if I own a Nexus device(As in no dropped frames). The kernel works well with XenonHD. You dev @Shivam Kuchhal, deserve the 5 star rating. :)

Want to feel the same experience? Leave everything as is and change your Governor to ElementalX and I/O to SIO. :)
How's the battery?

Sent from my MI 3W using XDA Free mobile app