[KERNEL][2017-02-17]faizauthar12's Kernel[AOSP/MIUI][UBERTC] - Xiaomi Mi 4i

/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
Click to expand...
Click to collapse
/* Introduction */
welcome to my custom kernel thread
first of all, this kernel only support "AOSP" based rom
not the MIUI, don't blame me tho.Ask Xiaomi why they didn't want to release a new source code
this kernel aimed for our beloved CyanogenMod / AOSP ROM
i add a feature that i need or i wan't
kinda performance tweak, and some idling feature
compiled with UBER 5.3.1 to gain a good stability
Click to expand...
Click to collapse
/* Features */
Power Suspend
FIOPS I/O
SIOPLUS I/O
ElementalX Governor
Despair Governor
Intelliactive Governor
Zzmove bLE Governor
Adaptive Low Memory Killer
Thermal Throttling
Adreno idler
arch power
Frandom
KCAL
Backlight Dimmer
Force Fast Charge
Built with UBERTC & Archidroid
Click to expand...
Click to collapse
/* Configuration App */
I recommend Kernel Adiutor-Mod
Click to expand...
Click to collapse
/* Kernel Installation */
First of all, you need to have TWRP Recovery
Download the kernel below,
Put kernel on your local storage device
flash the flashable zip
for AOSP user please flash prima update
for Miui user please flash Miui fix
Click to expand...
Click to collapse
/* Download */
AFH Folder
Click to expand...
Click to collapse
/* Source Code */
Github
Click to expand...
Click to collapse
/* Credits */
@dh-harald
@franciscofranco
@Evisceration
@zeroblade1984
@faux123
@imoseyon
@Intersectraven
@savoca
@Zanezam
Click to expand...
Click to collapse
XDA:DevDB Information
faizauthar12's Kernel, Kernel for the Xiaomi Mi 4i
Contributors
faizauthar12
Source Code: https://github.com/faizauthar12/android_kernel_xiaomi_ferrari-1/tree/cm-14.1-mod
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2016-12-18
Stable Release Date: 2016-12-18
Created 2016-06-23
Last Updated 2017-02-17

Changelogs is here
/* Changelogs */
2016-12-12
Android Nougat support start here!
Old:
20161118
Despair Governor
Intelliactive Governor
Zzmove bLE Governor
20161003
sched optimisation
workqueue optimisation
remove wakelock toggle
20160912
Dynamic Fsync
Adreno idler
cluster_plug gone cuz we decided to do that and change it with core ctrl
add thunder plug
compiled with UBERTC 5.3
Linux Kernel 3.10.103
20160828
REBASE!
removed all hotplug
switch to cluster plug (only support rom will works)
backlight dimmer
force fast charge
*rebased for better kernel stability, and performance
and also for avoiding SOD
20160721
using the latest caf
kernel linux 3.10.102
removed thunderplug
removed msm limiter
and other stuff will be added soon
20160630
Introduce KCAL
support AOSPA
More details here
20160626
simple algorithm enabled by default
intelli_plug enabled by default
Zswap
vnswap
ElementalX
Wlan wakelock control
Goodbye SIO, welcome SIOPLUS
20160624
Adreno Idler
Thunderplug V5.0
MSM Hotplug
SIO Scheduler
MEMUTILS
State Notifier
MSM Limiter V4.0
Frandom
20160623
Initial Release

/* Useful threads before do any modification */
Go here
/* How to report a bugs */
this is a template i made, so i'm not confused with your report stuff
which ROM you're using?
which kernel build you're using?
what are you doing before this bug happening?
do you have the logcat?
Click to expand...
Click to collapse
/* FAQ */
Q: I got broken double tap 2 wake
A: flash your rom again,then flash this kernel,it's bcuz u do a dirty flash from sensei
Q: I can't change the minimum freq, how to fix that?
A: Don't enable vdd restrictions at thermal section
Q: can i flash this kernel over AOSPA MM?
A: no,you can't ., i'm sorry but AOSPA had a different stuff
Q: will you support Miui 7++++
A: no!,because xiaomi doesnt want to release their new source code

faizauthar12 said:
/* Disclaimer */
/* Introduction */
/* Features */
Power Suspend
/* Configuration App */
/* Kernel Installation */
/* Download */
/* Source Code */
/* Credits */
XDA:DevDB Information
faizauthar12's Kernel, Kernel for the Xiaomi Mi 4i
Contributors
faizauthar12
Source Code: https://github.com/faizauthar12/android_kernel_xiaomi_ferrari/tree/cm-13.0-test
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2016-06-23
Stable Release Date: 2016-06-23
Created 2016-06-23
Last Updated 2016-06-23
Click to expand...
Click to collapse
I will try to see that this.Thanks

xemisxu said:
I will try to see that this.Thanks
Click to expand...
Click to collapse
sure
here is the latest screenshot from latest source of the custom kernel
finally we hit 42k without OpenGL 3.1

flashing your kernel on thewisenerd cm12,1
seems like dt2w is more responsive
thank's for the good work!

Will this work on MIUI?
Sent from my MI 4i using Tapatalk

nj.minz said:
Will this work on MIUI?
Sent from my MI 4i using Tapatalk
Click to expand...
Click to collapse
Yes, if they install the fix post sensei

Unable to set the min. frequency at 200 MHz. Every time I try to set it it reverts back to 998 MHz then 1344 MHz.http://cloud.tapatalk.com/s/576d60419bf38/TRIM_20160624_214949.mp4

nj.minz said:
Unable to set the min. frequency at 200 MHz. Every time I try to set it it reverts back to 998 MHz then 1344 MHz.http://cloud.tapatalk.com/s/576d60419bf38/TRIM_20160624_214949.mp4
Click to expand...
Click to collapse
Seems that comes from interactive gov it's self
Let me add another gov soon

faizauthar12 said:
Seems that comes from interactive gov it's self
Let me add another gov soon
Click to expand...
Click to collapse
I've tried other governors but same result... What's weird is that after enabling MSM limiter I'm able to lock the min. frequency at 200 MHz but it's not working as the frequency table shows 200 MHz remained untouched.
Sent from my MI 4i using Tapatalk

nj.minz said:
I've tried other governors but same result... What's weird is that after enabling MSM limiter I'm able to lock the min. frequency at 200 MHz but it's not working as the frequency table shows 200 MHz remained untouched.
Sent from my MI 4i using Tapatalk
Click to expand...
Click to collapse
hmm :/
Thank you for your report
Let me review the source code :fingers-crossed:

okay here we goes
finally i find out way to enable intelli_plug .. because a lots of good stuff right there
random generation optimization including e/frandom support thanks to emoseyon(lean kernel)
disable SIO ,welcome SIOPLUS
ElementalX
Zswap,vnswap thanks to faux123
built with archidroid
*simple algorithm enabled by default
*intelli_plug as default hotplug (and of course you can change it to another hotplug)
https://www.androidfilehost.com/?fid=24591023225177012
full changelogs:
you can see it at my github

faizauthar12 said:
okay here we goes
finally i find out way to enable intelli_plug .. because a lots of good stuff right there
random generation optimization including e/frandom support thanks to emoseyon(lean kernel)
disable SIO ,welcome SIOPLUS
ElementalX
Zswap,vnswap thanks to faux123
built with archidroid
*simple algorithm enabled by default
*intelli_plug as default hotplug (and of course you can change it to another hotplug)
https://www.androidfilehost.com/?fid=24591023225177012
full changelogs:
you can see it at my github
Click to expand...
Click to collapse
Nice! This solved the problem of the minimum frequency ?

xemisxu said:
Nice! This solved the problem of the minimum frequency ?
Click to expand...
Click to collapse
@nj.minz
Now i know why ..
When you try to use 200mhz but getting back to 900
It's because vdd restrictions
I notice that when playing around with thermal option
So Don't enable vdd restrictions...

Can I flash it on cm 13?

raymond_bqg said:
Can I flash it on cm 13?
Click to expand...
Click to collapse
Nope

raymond_bqg said:
Can I flash it on cm 13?
Click to expand...
Click to collapse
xemisxu said:
Nope
Click to expand...
Click to collapse
What do u mean ?
It can be flashed at any ROM :fingers-crossed:

faizauthar12 said:
What do u mean ?
It can be flashed at any ROM :fingers-crossed:
Click to expand...
Click to collapse
I thought it was only for cm12.1...
Sorry

faizauthar12 said:
What do u mean ?
It can be flashed at any ROM :fingers-crossed:
Click to expand...
Click to collapse
Thanx for replying @faizauthar12.In ur thread u mentioned that u merged it with cm 13 but just want to be sure.
Going to flash ur Kernel.

Related

[KERNEL][ANYKERNEL][AOSP5.0][CM12] pink kernel 20141210

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
GPU Overclock (550mhz) / underclock (100mhz)
BUS, RAM overclock
Simple Adreno-TZ Governor
Linaro Cortex A7 GCC 4.9.3 Toolchain
Sound Control 3.2 thx to faux123
Color Calibration thx to savoca
sweep2wake & doubletap2wake thx to faux123
Pocket Detection for s2w and dt2w thx to alin23
IntelliThermal V2 (enabled by default)
Intelliplug 3.7 CPU Hotplug driver (mpdecision stoped and intelliplug default on boot)
FIOPS, ROW, BFQ-v7, SIO, DEADLINE, NOOP, CFQ Schedulers
Intelliactive, Intellidemand, IntelliMM, CPU governors
ZSWAP 384mb (lz4 compression)
PowerSuspend 1.5 lots of new features to improve battery (enabled by default)
Dynamic FSYNC
Dynamic Writeback
Dynamic Cache Pressure
Dynamic Readahead
AIO Optimizations
UKSM Samepage Memory Merging
veno (default tcp congestion)
gcc optimization tweaks for our cpu
exFAT & NTFS Support
Use Android device as USB keyboard/mouse (USB Keyboard APK)
some more patches
Instructions:
Boot Recovery
Backup your current ROM (backup whole rom)
If you use a custom kernel its suggested to flash the current ROM again!
You need the default kernel included in your ROM before flashing
flash the zip
reboot
Since the change in 20141210
The kernel supports only CM12 derivatives
Click to expand...
Click to collapse
DOWNLOAD AndroidFileHost​
Code:
[SIZE="5"][B][COLOR="Red"]ITS COMPATIBLE ONLY WITH CM12 BASED ROMS[/COLOR][/B][/SIZE]
[SIZE="4"][B][COLOR="Red"]IT IS NOT COMPATIBLE WITH THE STOCK MOTOROLA ROM[/COLOR][/B][/SIZE]
[SIZE="3"][COLOR="Red"]Use at your own risk!![/COLOR][/SIZE]
Thanks:
dhacker 29
faux123
razrqcom-dev-team
SeannyM
savoca
Source:
GitHub
XDA:DevDB Information
pink kernel, Kernel for the Moto G
Contributors
pinkflozd, dhacker29, faux123, SeannyM
Source Code: https://github.com/pinkflozd/android_kernel_motorola_falcon
Kernel Special Features:
Version Information
Status: Beta
Created 2014-02-03
Last Updated 2014-12-10
Faq:
Q: How can i make a BUG repport
A: You can use the new bug report interface.
adb shell /data/pink/create_bugreport.sh
adb shell /data/pink/create_bugreport_delayed.sh
The bug reports will be located on your sdcard
Click to expand...
Click to collapse
Q: How can i stop this kernel from surviving OTA's
A: Delete the file /system/addon.d/98pink
Click to expand...
Click to collapse
Q: Does CPU overclock work on this kernel?
A: NO
Click to expand...
Click to collapse
Q: How can i enable Sweep2Wake and DoubleTap2Wake?
A: Use an app like TricksterMod, Performance Control, Faux, etc...
Click to expand...
Click to collapse
Q: Why is my device so laggy?
A: Try setting a different governor like Intelliactive
Default settings are meant for powersave
Click to expand...
Click to collapse
Any more suggestions?
Wow, another kernel! Another something to tinker with my Moto G!
its only compatible with Cyanogenmod based roms
feature requests are welcome
p.s. posted in wrong forum selection... reported the thread already, sorry guys
So far so good on 1034. It's running pretty dang smooth. Any chance for an overclocked gpu to 450?
How can I enable doubletap2wake?
And when I set the max frequenz to 1190mhz it doesn't save.
Thanks for this! But what method did you use to oc?
Thanks, works amazing on official liquidsmooth
+1 with the GPU overclock
Matyhew
Sent from my Moto G using XDA Premium 4 mobile app
matyhew said:
Thanks, works amazing on official liquidsmooth
+1 with the GPU overclock
Matyhew
Sent from my Moto G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What official liquidsmooth? Where is that?
Sent from my XT1034 using Tapatalk
Thanks. In future will be possible add support for stock rom ?
SWTR said:
How can I enable doubletap2wake?
And when I set the max frequenz to 1190mhz it doesn't save.
Click to expand...
Click to collapse
Use an app like performance control from aokp ROM
anerik said:
Thanks for this! But what method did you use to oc?
Click to expand...
Click to collapse
I used dhackers overclock...will try with faux method next
Sent from my Moto G using Tapatalk
pinkflozd said:
Use an app like performance control from aokp ROM
I used dhackers overclock...will try with faux method next
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
k, cause i think dhacker's method was not working
anerik said:
k, cause i think dhacker's method was not working
Click to expand...
Click to collapse
I'm hitting 1.59....
jamesro1208 said:
What official liquidsmooth? Where is that?
Sent from my XT1034 using Tapatalk
Click to expand...
Click to collapse
Here you go there's the anoucement
https://plus.google.com/109593167135842098182/posts/Fm6WnhxSGvP
Also OC's working fine for me?
Matyhew
Sent from my Moto G using XDA Premium 4 mobile app
dancingtortoise said:
I'm hitting 1.59....
Click to expand...
Click to collapse
Yeah, it's there and all but that does not mean it will work. Same as faux method
anerik said:
Yeah, it's there and all but that does not mean it will work. Same as faux method
Click to expand...
Click to collapse
https://www.dropbox.com/s/tfw6imxfqvo1am7/Screenshot_2014-02-03-12-38-36.png
dancingtortoise said:
https://www.dropbox.com/s/tfw6imxfqvo1am7/Screenshot_2014-02-03-12-38-36.png
Click to expand...
Click to collapse
It's not that what i mean!! There's no proof that these oc methods improve in any kind of way... In fact the cm build with oc enabled caused more issues than profits... That's what i mean. They are even enabled by 2 different methods so there's no guarantee they both work the same
Does doubletap2wake work on your Moto G?
anerik said:
It's not that what i mean!! There's no proof that these oc methods improve in any kind of way... In fact the cm build with oc enabled caused more issues than profits... That's what i mean. They are even enabled by 2 different methods so there's no guarantee they both work the same
Click to expand...
Click to collapse
Hahaha. Oh, my bad. Then I guess its just a matter of preference. I always like to have the option.
On faux kernel yes
Sent from my Moto G using xda app-developers app

[L-5.1.1/L-5.0.0][23.07.2015][God's Kernel-R3.0][True God Of Kernels][ALL ROM]

God's Kernel
God's Kernel-True God Of Kernels​
About God's Kernel:
God's Kernel is a open source kernel designed to unleash the power of Yuphoria.
The Aim of This project is to give a most stable ,power-full,ultra-fast fast kernel with Max Battery Life which is required for every Yuphoria user.
DISCLAIMER:
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
FEATURES OF God's Kernel:
Built using UBERTC-6.0 & SMTC-6.0[Option to select in downloads] Tool-chains with O3 flags and other tweaks.
CPU Governors :
Conservative
Impluse
Inntelliactive
Intellidemand
Yankactive
Zzmove[Remover]
Darkness
Blu Active
Hyper
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
USB Fast Charging
Fast Charging Drivers.
Thermal Control Configuration.
Fixed CPU Min Frequency showing always MAX
LZ4-compressed kernel
KCAL control-------Controlling screen colors made easy ....credits @savoca
Frandom Drivers
Optimizations and memory leak fixes------Expect More Stable
Fix high load average from uninterruptible waits
BFQ I/O Scheduler
Thermal Throttling [Relax value]----Expect cool Yuhoria in your hands rather then old heating one
Cortex A53/ARMv8 architecture Tune-Up
Kernel Power Suspend-------Expect Sleep Like a Baby when Screen is off
Disabled updating idle time if cpu offline
Tweaks for interactive governor
Included More ZRAM Devices
Added custom Gestures to wake device ..like swipe down up etc
Deep sleep mode
Click to expand...
Click to collapse
CHANGE LOG:
God's Kernel-R3.0
Added Hyper and Blu Active Governors
Removed ZZMove and INTELLIDEMAND Governors
ext4: Speedup WB_SYNC_ALL pass called from sync
sync: don't block the flusher thread waiting on IO
msm mdss: Avoid calling wake_up_all() twice in display thread
fix writeback cache thrashing
block: Reserve only one queue tag for sync IO if only 3 tags are available
fix race that cause writeback hung
made context readahead more conservative
msm_hsic_host: reduce wakelock
Click to expand...
Click to collapse
God's Kernel-R2.0
Built with Saber Mod-6.0 And UBERTC -6.0 with O3 flags and other tweaks.
CPU Governors :
Conservative
Impluse
Inntelliactive
Intellidemand
Yankactive
Zzmove
Darkness
Hot Plugs:[ Warning : Use any one ]
Intelliplug
Mako hotplug
MSM Sleeper
MSM_ZEN_Decision
AutoSMP
MSM MPDECISION[Bricked]
USB Fast Charging
Fast Charging Drivers.
More Improved Thermal Control & Core Management.
General Optimization & Tweaks
Click to expand...
Click to collapse
God's Kernel-R1.0
Initial Release
Click to expand...
Click to collapse
SINCERE THANKS & CREDITS TO:
@DooMLoRD
@kairi_zeroblade
@SanthoshM
@savoca
@yank
Franco
Faux123
bbedward
Prasanna08
DespairFactor
tarun Kapadia
varun-chitre
All Official Beta-testers
Click to expand...
Click to collapse
DOWNLOAD LINKS:
God's Kernel-R3-SMTC6-lettuce-23072015 [ Built with Saber Mod-6.0]
God's Kernel-R3-UBERTC6-lettuce-23072015[ Built with UBERTC-6.0]
INSTALLATION STEPS:
Minimum Requirements To Install God's Kernel:
This is For ARM 64
Your Device Should be Rooted with Unlocked Boot-loader & Latest Custom recovery Installed.
Recommended Custom Recovery TWRP : Click Here to View TWRP Offical supported devices
Installation Procedure:
Boot Into Recovery Mode
Flash provide Kernel Zip
Wipe Cache and Dalvik
Reboot To System
Click to expand...
Click to collapse
SOURCE CODE:
XDA:DevDB Information
[God's Kernel][True God Of Kernels], Kernel for the YU Yuphoria
Contributors
Adi Shakthi
Source Code: https://github.com/AudioGod/Gods_kernel_yu_msm8916
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: God's Kernel-R3.0
Stable Release Date: 2015-07-23
Created 2015-07-18
Last Updated 2015-07-23
RESERVED
I just wanted to know how to enable screen wake up gestures as mentioned in the kernel and what is the difference between the two versions of the kernel. Sorry but I'm new to custom kernels
Yoshiorch said:
I just wanted to know how to enable screen wake up gestures as mentioned in the kernel and what is the difference between the two versions of the kernel. Sorry but I'm new to custom kernels
Click to expand...
Click to collapse
Ubertc some extra smoothness and saber mod some extra speed ...
Sent from my AO5510 using Tapatalk
USB OTG
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Any chance to compile USB OTG as the hardware supports it Your reply is much appreciated
UPDATE
God's Kerne-R3.0 Release !!!!
Refer OP for Change Logs and other details
Note : If you guys need support for Kernel Then Please ask in xda Thread i will not respond if its posted in any other thread Except XDA & Official Sonic-Developers web Page
Thanks You
@Adi Shakthi
Accelerometer doesn't work on Aicp rom with your kernel is there any fix for it?
Yoshiorch said:
@Adi Shakthi
Accelerometer doesn't work on Aicp rom with your kernel is there any fix for it?
Click to expand...
Click to collapse
The bug seems to be in the latest CM builds and not within the Kernel. Using CM12.1 without R3.0 and facing the same issue.
Great to see update for god kernel. Will be using it and posting my reviews soon.
Can i flash this kernel on 7.1.2 based custom rom
can i use it with a nougat rom??
Hi.
Can this kernel be used for AOSP Extended 7.1.2
Baes
Bro pls upload it to another server pls
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Provide working link bro
Can i use it in yuphoria running on miui 9.3.2 custom rom. Will i need to root again?
I have no clue dear ..its a long while since I left these devices ...
But to be best it has to work since it use existing ram disk from your roms kernel ...it patches the ram disk ..it doesnt replace ram disk ...
I rarely use MIUI rom in my life...last time may be when am using Dell streak 5 ..in Android 2.3 ...sorry to tell this ..
I hope you understand dear ..thanks alot for stil showing intrest in my works ...
Sent from my SM-N950U using Tapatalk
Abhishek38203 said:
Can i use it in yuphoria running on miui 9.3.2 custom rom. Will i need to root again?
Click to expand...
Click to collapse
Of course No Don't Try!
Adi Shakthi said:
RESERVED
Click to expand...
Click to collapse
Ye link open nhi ho rhi h or koi link do

[Discontinued][Kernel][AOSP/LineageOS/MIUI] KaminariKernel R12 [04 March 2018]

This project is no longer being maintained. I'm no longer developing for the G1/G2 family.
KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now more void than it already was.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if that gets you in trouble, it's entirely your fault. [STRIKE]Might be my fault as well, because I'm not a developer, but I don't care. lol[/STRIKE]
*/
Hiya fellas.
This is a sister project to my original (and ridiculously outdated) kernel for stock ROMs only. The version in this thread is the one designed to work with anything that isn't the stock firmware, i.e., AOSP, AospExtended, LineageOS, Resurrection Remix,... You name it. Even MIUI, which can be a b**** to get custom kernels supported on.
Features:
Sources & Optimizations
- Based on Lineage's shared falcon/peregrine/titan/thea sources
- Compiled with Linaro 4.9
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- MSM Hotplug
Click to expand...
Click to collapse
Extra CPU Governors
- Impulse
- Smartmax
- Yankactive
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- Simple GPU Algorithm
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- CPU Overclock (up to 1.6 GHz) (Overclocked version only)
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Unified Marshmallow & Nougat (CM/LineageOS 13 & 14.x)
Click to expand...
Click to collapse
Looking for previous releases?
Go here.
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- Reboot again and have fun!
Coming from another kernel which isn't mine? Don't worry, no need to dirty flash the ROM/kernel anymore. The install script now does all the dirty work for you.
If you wanna "tweak ALL the things", use Kernel Adiutor! (Synapse is NOT supported!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo
- Qualcomm/CodeAurora
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (AOSP/LineageOS, Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: R12
Stable Release Date: 2018-03-04
Created 2016-01-13
Last Updated 2018-05-17
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Because I wanted to
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Works on any ROM as long as it isn't stock . So yes, it does. AOSP, CM LineageOS, RR... Any of these.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. No Synapse support!
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Reserved
Reserved
Okay... Last reserved.
Our first test build is up! Link is at the OP.
It's still a very early test build and it may (and probably does) contain issues (serious or not). You've been warned.
This build should fix PowerHAL not being disabled.
Great work. Zero bugs in the short time since flashing. Thanks.
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
BhavikRB said:
Hello King Kami Nari , , , Kami nari Kami Nari
What hotlplug is provides in your kernel ??
King Kami Nari
Click to expand...
Click to collapse
MPDecision.
Sir King Kami Nari ,
Have you modified Interactive ?
kingkaminari said:
Created 2016-01-13
Last Updated 2016-01-12
Click to expand...
Click to collapse
Lol? xd
So far so good with the kernel thanks!
@kingkaminari Wow, finally! flashing it right now, thank you so much!
I hope to see the rest of the features present on 5.1 here on M and Thank you so much!
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
espaciox99 said:
Lol? xd
So far so good with the kernel thanks!
Click to expand...
Click to collapse
Yeah . There's this little derp with the dates lol
espaciox99 said:
@kingkaminari
Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
Click to expand...
Click to collapse
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
BhavikRB said:
Sir King Kami Nari ,
Have you modified Interactive ?
Click to expand...
Click to collapse
No. Interactive has been left untouched.
If you come from Hurtsky's Hybrid Kernel or Flashhhh's Optimus Kernel, don't forget to re-enable MPDecision - just rename /system/bin/mpdecisionbak to /system/bin/mpdecision.
kingkaminari said:
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
Click to expand...
Click to collapse
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
espaciox99 said:
Try and several governors and feel the same, the only solution is to disable "MPdecision"
EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu and if I turn off the mpdecision not happen
Click to expand...
Click to collapse
I actually was having a similar problem to this not long ago but not this particular kernel.
Just fooling around I found that if I flashed any kernel after rebooting system I would have the problem you described, however if I flashed the ROM, Gapps, and kernel in recovery all together before initial boot everything works as it should.
Not sure why this is but I have experimented and it is the only solution I have found so far.

[KERNEL][MIDO][MIUI] FLIP kernel [r1]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably voided.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is this:
After tired of looking for stable no nonsense kernel for MIUI and couldn't fine one, I've decided to compile one myself. This is just a kernel I flipped from readily publicly available source, nothing special here. It should boot with any MIUI Nougat roms.
Click to expand...
Click to collapse
Difference with stock MIUI kernel
Compiled using OmniRom's kernel source as base so contains all its features, fixs and patches.
Compiled using UberTC 4.9.4 for stability.
Compiled using correct optimisation flags for our MSM8953 cpu.
Patched with EAS scheduler from OnePlus3 LineageOS-based kernel with EAS
Updated Ondemand cpu governor from franciscofranco's kernel for OnePlus3, finetuned it abit and made it as default booting cpu governor.
Default to Noop disk i/o scheduler on boot.
Default to Westwood tcp congestion control on boot.
Disabled/made as built-in some modules.
Disabled some stuff like zram, cleancache, zcache.
Added support for exfat fs via exfat-nofuse.
Enabled ntfs fs support.
Init.d startup script support with correct permissions applied on every boot.
Probably some other things I forgot to list here...
Click to expand...
Click to collapse
Changelog:
r1 - First public release.
Click to expand...
Click to collapse
Download:
FROM HERE
Click to expand...
Click to collapse
Installation notes:
Need unlocked bootloader, so unlock your bootloader if you haven't yet.
Need to be on any custom recovery so flash one if you haven't yet.
Need to be on any MIUI Nougat rom.
If you have any custom kernel other than this kernel already installed, please flash or restore your MIUI rom stock kernel because this kernel would need to use the stock unmodified ramdisk and custom kernel might already modify it.
Backup, backup and backup!
Download the zip, put into either internal phone storage or sdcard, flash away.
If you want to go back to your previous kernel, just dirty flash your rom or restore boot and system from backup.
Click to expand...
Click to collapse
Thanks to:
God, for everything.
Linus Torvalds, for the Linux kernel.
Google, for Android.
Xiaomi, for kernel source.
Xda forum, learnt alot from here.
Uber team, for the toolchain.
khan_frd2002, for the OmniRom kernel source.
EAS-Project on Github for the EAS patches.
franciscofranco, for the Ondemand cpu governor source.
osm0sis, for AnyKernel2 kernel installation template.
Probably some others I forgot to list here...
Click to expand...
Click to collapse
XDA:DevDB Information
FLIP kernel, Kernel for the Xiaomi Redmi Note 4
Contributors
coldplug
Source Code: https://github.com/thecoldplug/android_kernel_xiaomi_msm8953
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r1
Stable Release Date: 2018-01-11
Created 2018-01-11
Last Updated 2018-01-11
Wow. EAS working well ?
Kevin Saiza said:
Wow. EAS working well ?
Click to expand...
Click to collapse
Partially. Cpu governors meant to work with eas like sched and schedutil doesn't work well with 625 because it was meant to work with dual cluster a72+a53 like 820 etc, while 625 only have a single cluster of a53, plus theres no proper powertable. Sched and schedutil just froze at lowest available freq because it can't choose proper powertable, making phone lags. I've disable both and made ondemand as default governor.
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
zecabra said:
I se the OP off this thread speaking about voltage values, is this what o are referring as power table?
https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118
Click to expand...
Click to collapse
Similar. All cpu already got predefined voltage table in the kernel source for the usual hmp scheduler, usually modified for oc/uv. Eas need its own, new voltage table specifically written for it, for every specific cpu too.
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
zecabra said:
tks for the nice kernel, I only have one request if possible, I'm more a guy of battery saving because i spent long times with no access to recharge the phone, its the implementation of alucard
Click to expand...
Click to collapse
If you mean alucard cpu governor, then I've already tried to add it lol. Doesn't work, endless reboot. In fact all interactive based cpu gov like impulse, alucard, blu_actice, zzmoove won't work here. Hence why I've disabled even the interactive cpu gov.
DEMIGOD124 said:
add please function: fix ttl.
this is very important for Russia, Ukraine, Belarus ... and others.
this is necessary to bypass the blocking of cellular operators.
this is in the same kernel as: [KERNEL][MIDO] Stormguard 01/01/18, [KERNEL][MIDO][VOLTE++] Chewy kernel r8.1 [22/12].
Please
Click to expand...
Click to collapse
Doesn't need to add or anything, its already in the kernel and enabled, i think...
I don't have any idea how it work or if it even work though, so do try and let me know how it goes.
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
pikachukaki said:
FLIP-r1-MIUI-mido.zip Failed - Virus detected What???
Click to expand...
Click to collapse
Lol your virus scanner might have detected the zip itself or the script within as a virus, its not. Gdrive where I've uploaded it should already scanned it before you even download.
Don't use that pos virus scanner, change to other virus scanner or better yet, use linux ?
So witch one is better for miui and why ?
kcal bugg still there?
kemo12533 said:
So witch one is better for miui and why ?
Click to expand...
Click to collapse
Theres only one...
aman1241 said:
kcal bugg still there?
Click to expand...
Click to collapse
Haven't add kcal.
coldplug said:
Theres only one...
Haven't add kcal.
Click to expand...
Click to collapse
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
kemo12533 said:
I mean this one Vs stock
I am not really into the kernel thing and wanna know what will I get from this one VS the stock in a sample do novas like me will get what all this futures for ?
Click to expand...
Click to collapse
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
coldplug said:
Already wrote all the differences on the first post. Can't really say whats good amd whats not due difference usage and needs, but do try and see for yourself. Backup before install, restore if you're not happy ?
Click to expand...
Click to collapse
i am on pixel experience right now so i cant atm but i will soon
Hi
Where is the link?
Overclock
Can I overclock my cpu and gpu on this kernel ??
I feel stock is better
I feel as so cause after switching to this kernel my phone is a bit more Laggy so I switched back to stock

[EAS][ATOS][KERNEL][WHYRED]Atos-Kernel [4.4][AOSP/MIUI][PIE]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
I am new to kernel development so please don't be harsh in reviews.
And so sorry I'm not attaching kernel source because I'm not experienced with git command
I develop this kernel just merge anything commit from Github
Compile using DragonTC Clang 10 (Based on LLVM 10.0.0svn)
Features:
- Energy Aware Scheduling (EAS)
- Kernel Upstream To 4.4.193
- Selinux Enforcing
- CPU OC to 1.8/2.2GHz
- KLapse v5.0
- F2FS
- Fsync: on/off support
- Headphones and Microphone gain control
- Fast Charge
- Improvements Sound Quality
- Many memory improvements
- Vibration intensity control
- KCAL color control
- DTS Sound
- Audio codec quality improved
- Wakelock Support
- I/O optimization
- I/O schedulers:
noop
deadline
cfq (default)
bfq
anxienty
fiops
sio
maple
- EAS CPU Governors :
schedutil
blu_schedutil
helix_schedutil
alucardsched
- Standard CPU Governors:
yankactive
blu_active
userspace
powersave
performance
- GPU Governor:
spdm_bw_hyp
bw_hwmon
venus-ddr-gov
msm-vidc-vmen
msm-vidc-ddr
bw_vbif
gpubw_mon
msm-adreno-tz (default)
cpufreq
userspace
powersave
performance
simple_ondemand
- And more features ​
Installation:
- Reboot Custom Recovery (TWRP / OrangeFox)
- Backup boot, system, vendor
- Install Kernel
- Reboot system
Bugs :
Looking for another bug
Download:
MOD EDIT: DOWNLOAD LINK REMOVED
MOD EDIT: DOWNLOAD LINK REMOVED
Only for PIE
*NOTES: Use SmartPack Kernel Manager for more experience with this kernel
Thanks TO :
All the commits I took in kernel development
AnyKernel2 for Flashable ZIP
Some my kernel testers
And thanks to anyone for telling me bug this kernel
And you
Leave thanks if you like this Kernel
Code:
Changelog:
- v7
Kernel Upstream 4.4.193
Merge tag "LA.UM.7.2.r1-07500-sdm660.0"
Fix issue popup "There's internel problem with your device. Contact your manufacturer for details."
KLAPSE: make own Makefile and Kconfig in klapse folder.
Set default Cpu Governor to schedutil.
Selinux Enforcing.
Optimize Audio Codec.
Support Android 10 Q (Test)
And some improvement.
- v6.1
Add KLapse v5
Fixed lagging issue Non Overclock
Some improvement
- v6
Add Wakelock Blocker
Add IO scheduler: anxienty, maple
Upstream schedutil governor
Makefile: Some changes for GCC
And some improvement
- v5_test
Upstream kernel 4.4.189
Add Cpu Governor : helix_schedutil, alucardsched
New compile with DragonTC
Fixed Lagging issue OC/NonOC
- v4
Add features: Kcal Control, Sound Control, DTS Eagle, and some features
Add Cpu Governor: blu_schedutil
Fixed Wifi
Fixed Bluetooth
- v3
Add f2fs support
Bring Up EAS
New EAS Cpu Governor: schedutil
And fixed some bug
- v2
Booted, but lot a bug
- v1_test
Initial release
Compile using GCC 8
Cross Compiler: Aarch64-UberTC4.9
Cross Compiler 32: Arm32-UberTC4.9
XDA:DevDB Information
WHYRED Atos Kernel, Kernel for the Xiaomi Redmi Note 5 Pro
Contributors
Okta. Pra A
Source Code: https://github.com/OktapraAmtono/Xiaomi_Kernel_Whyred
Kernel Special Features: Energy Aware Scheduling (EAS), Overclock CPU, DTS Eagle
Version Information
Status: Stable
Current Stable Version: v6.1 (4.4.189)
Stable Release Date: 2019-09-10
Current Beta Version: v6.1 (4.4.189)
Beta Release Date: 2019-09-10
Created 2019-09-16
Last Updated 2019-09-21
Reserved
Download Old Version
- v6.1
MOD EDIT: DOWNLOAD LINK REMOVED
MOD EDIT: DOWNLOAD LINK REMOVED
Hey. Thanks for new kernel its great on battery with non oc version . But i got an error when reboot phone : your device have a internal problem . please connect to manufacture. This error when booted
Can you solve this problem is next update ?
I really like your work
ali.damiri said:
Hey. Thanks for new kernel its great on battery with non oc version . But i got an error when reboot phone : your device have a internal problem . please connect to manufacture. This error when booted
Can you solve this problem is next update ?
I really like your work
Click to expand...
Click to collapse
Hi, Thank you for the report [emoji3526] ... I will fix the next update, but in MIUI there is no error message, only in the custom ROM
And thank for supporting me [emoji56]
Sent from my MI 9 using Tapatalk
Okta. Pra A said:
Hi, Thank you for the report [emoji3526] ... I will fix the next update, but in MIUI there is no error message, only in the custom ROM
And thank for supporting me [emoji56]
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
Dude i am using global stable 10.3.2 and i got this error .hoping next version fix it ?
ali.damiri said:
Dude i am using global stable 10.3.2 and i got this error .hoping next version fix it [emoji6]
Click to expand...
Click to collapse
Sure? Because I only tried it on miui eu beta and miui pro,, and I will fix it in the next update [emoji3526][emoji3526][emoji56]
Sent from my MI 9 using Tapatalk
How to join beta test? Can i? Ada link grup telegram gak bro?
Okta. Pra A said:
Sure? Because I only tried it on miui eu beta and miui pro,, and I will fix it in the next update [emoji3526][emoji3526][emoji56]
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
Yee i am sure .?
Moch Wawan said:
How to join beta test? Can i? Ada link grup telegram gak bro?
Click to expand...
Click to collapse
You can pm me in telegram
Sent from my MI 9 using Tapatalk
ali.damiri said:
Yee i am sure .[emoji846]
Click to expand...
Click to collapse
Wait next update dude [emoji56][emoji16][emoji847]
Sent from my MI 9 using Tapatalk
Deepsleep doesn't working
Deepsleepnya ga jalan
Nickolas Y said:
Deepsleep doesn't working
Deepsleepnya ga jalan
Click to expand...
Click to collapse
try using deep sleep tweaks, because I don't know how to enable deep slep feature
Sent from my MI 9 using Tapatalk
Eas kernels works better with anxiety (default)
Beytullah61 said:
Eas kernels works better with anxiety (default)
Click to expand...
Click to collapse
Thank dude,
please try a good combination and share if there is a better one [emoji3][emoji6]
Sent from my MI 9 using Tapatalk
Okta. Pra A said:
Thank dude,
please try a good combination and share if there is a better one [emoji3][emoji6]
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
I can help you with something if you want. But not here. Telegram or Instagram, give me link of your accounts and I can pm you ?
Okta. Pra A said:
Sure? Because I only tried it on miui eu beta and miui pro,, and I will fix it in the next update [emoji3526][emoji3526][emoji56]
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
I still got the "Can't connect to camera" error with this kernel (all the custom kernels) + MIUI EU, this issue doesn't occur with the stock one. Could you please fix it?
quan3c10 said:
I still got the "Can't connect to camera" error with this kernel (all the custom kernels) + MIUI EU, this issue doesn't occur with the stock one. Could you please fix it?
Click to expand...
Click to collapse
Install vendor 9.8.8
Or try install patch miui camera,
You can search in the telegram group
Sent from my MI 9 using Tapatalk
Beytullah61 said:
I can help you with something if you want. But not here. Telegram or Instagram, give me link of your accounts and I can pm you [emoji854]
Click to expand...
Click to collapse
Hi dude, cek pm [emoji3]
Sent from my MI 9 using Tapatalk
Nickolas Y said:
Deepsleep doesn't working
Deepsleepnya ga jalan
Click to expand...
Click to collapse
Hi bro, deep sleep working fine on my device
Sent from my MI 9 using Tapatalk
One of the best kernel for our device... thank u so much for this kernel dev.
Sent from my [device_name] using XDA-Developers Legacy app

Categories

Resources