[KERNEL][ANYKERNEL][AOSP5.0][CM12] pink kernel 20141210 - Moto G Android Development

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

Related

[KERNEL][GPL][Dev Talk] Render Kernel [06/03][r23] DT2W & S2W working with Deep Sleep

RenderBroken's Custom Kernel for CM11/AOSP Based Roms!​
Code:
/* *** Disclaimer
*
* 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.
*/
I am fairly new to Android Development but started out because I wanted to learn and to share what i have learned so far. My goal with this kernel is to be a very fast and stable build that offers some things that the other kernels do not. I want to initiate Development Discussions amongst the community. This will be a noob friendly thread as long as the new users follow 2 rules. First is to do some research before asking. Most likely your question has already been asked. If not in this thread then in another. Second is BE RESPECTFUL. You do these two things and even the most hardened Dev will assist you.
Current Features
General List:
* Patched to 3.4.91
* Built with Custom A7 Linaro 4.8.3 Toolchain thanks to pinkflozd
* -O3 and Linaro 4.8.3 patches
* Powersuspend v1.4 Thanks yank555 and Faux
* Falcon_hotplug by Blechd0se!! Ultra Simple but even more effective!
* CPU-Boost from CAF
* Intelliactive and Intellidemand from Faux
* Sound Control 3.2 thanks to Faux
* sweep2wake (S2W) & doubletap2wake (D2W) thanks to Showp & Faux123
* Working during Deep Sleep with Pocket Detection Thanks to Alin23
* S2W & DT2W Modified for Powersuspend
* FIOPS, ROW, BFQ-v7, SIO, DEADLINE, NOOP, CFQ Schedulers
* GPU Overclocked to 533MHz Thanks for Pink!
* Dynamic management of dirty page writebacks, expire and cache pressure
* Dynamic Cache Pressure
* Frandom
* GCC Tweaks for Cortex A7
* Color Calibration Thanks to Savoca
* Ultra Kernel Samepage Memory Merging (UKSM) Tweaked for performance
* Ram Underclock on lower freqs thanks to pinkflozd
* USB Fast Charge (ON/OFF Toggle)
* Multi-core Power Saving set to 2
* New LZ4 Compressor/Decompressor: Just plain fast!
* New Swap Space Scripts from Delta-roh! (See OP#2)
* Numerous CAF Patches!
* New C State enabled for CPU0 (retention/C-1)
* Updated BFQ Scheduler: BFQ-v7r3
* Added GPU Governors: msm-adreno-tz, Performance, Conservative, userspace, powersave, msm_cpufreq, simple_ondemand
I recommend Tricktermod for Kernel Tuning
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod
Instructions:
* Boot into Recovery
* (Recommended) Make a complete backup of entire rom
* (Recommended) Flash Zip
* Reboot
To Enable/Disable CPU-Boost or Retention (C-1) go here:
LINK
Now, after booting up again you may need to restart the phone one more time.
Beta Test Kernels:
LINK
Download:
Main Download Location
Mediafire Mirror
Changelog:
https://github.com/RenderBroken/render_kernel_motorola_msm8226/commits/kk-test
THANKS!!!!
First I want to say thank you to everyone who has answered my questions and responded to my pm's when I know they are busy with their own lives. Pretty much everyone I have come into contact with here on XDA has been truly helpful and respectful. Here is a list of people that had helped me in one way or the other:
myfluxi, Showp1984, Savoca, Faux123, pinkflozd, SeannyM, Blechd0se
Thank you guys! Without your contributions to the community we would not have the level of performance, stability and interaction that we have today
Official Testers
matmutant (Amazing bug finder extraordinaire)
rr46000
antarix
Thank you guys for your help with testing my kernels!
Donators!!!
First let me say Thank you from the bottom of my heart. I dont do this for money and for you to give me YOUR hard earned cash, its just humbling. It is truly appreciated and will probably go on to be re-gifted to other Great Devs out there! If not it goes towards updating my build machine! This means I must be doing something right and for as long as this project is relevant and I am able, I will keep it going.
lmulli
capeman316
GPL Information
Linaro 4.8.3 Toolchain
Build Script
Source
XDA:DevDB Information
[KERNEL][GPL][Dev Talk] Render Kernel [06/03][r23] DT2W & S2W working with Deep Sleep , Kernel for the Moto G
Contributors
RenderBroken, alin.p
Kernel Special Features:
Version Information
Status: Stable
Created 2014-04-19
Last Updated 2014-06-18
Saved
Reserved 2
Working good so far
Mokee open source latest (19th April)
XT1033
Sent from my Moto G using Tapatalk
Happy to see a new kernel
New kernel \o
Work on XT1033?
Sent from my Moto G using xda app-developers app
Testing, working fine at the moment
Sent from my Moto G using xda app-developers app
This kernel is for stock ROM or AOSP ROMS
Sent from my XT1032 using Tapatalk
Does doubletap2wake work in deep sleep?
Looks worthwhile to check out Gonna take a look when I have a chance.
SWTR said:
Does doubletap2wake work in deep sleep?
Click to expand...
Click to collapse
+1
Sent from my Moto G using xda app-developers app
SWTR said:
Does doubletap2wake work in deep sleep?
Click to expand...
Click to collapse
As the OP said, you must search before asking. S2w and d2w must work when the screen it's off and the phone sleep. I couldn't test it yet, but look interesting the features of this kernel..
Enviado desde mi XT1032 mediante Tapatalk
ldiomedi said:
As the OP said, you must search before asking. S2w and d2w must work when the screen it's off and the phone sleep. I couldn't test it yet, but look interesting the features of this kernel..
Enviado desde mi XT1032 mediante Tapatalk
Click to expand...
Click to collapse
I didn't found anything about that. Uff..
Sorry I should have made it more clear. I do know for fact it works on my 1034 but would love to get some feedback from other moto g users about their experiences. As I have said I want this to be an open discussion. My understanding is since the kernel uses the current boot.img radish is should work for the other versions. But this just makes logical sense to me and have not tested. Thanks guys for the interest. In the second post I will go into more about MPDecision and how to configure it to your own tastes. In the 3rd post I will be using it as a revolving post about different kernel topics or whatever the community wants to go into. Thanks guys
Kind Regards,
Render
SWTR said:
I didn't found anything about that. Uff..
Click to expand...
Click to collapse
I am not real sure about this. I will have to look it up and report back. Thanks
Kernel run nice and smooth on my XT1032 (16GB), with a fresh install off C-Rom :good:
So this kernel does not work on the stock ROM? I just tried it and I'm stuck on the logo.
The kernel run nice with a fresh install of last cm11 nightly. I really need your tutorial for configure this new kernel
SickBeast said:
So this kernel does not work on the stock ROM? I just tried it and I'm stuck on the logo.
Click to expand...
Click to collapse
Sorry bud, It does not work on stock. I would love to find out the difference though. If anyone has an idea let me know and I can look into it. I thought it was just the Ramdisk that dictates the rom it can use but my kernel uses the ROM's ramdisk so that cant be it. If anyone has some insight please share and we can go into it. I would love to have my kernel work on all roms.
On another note, it seems that Touch Boost is not working properly and I will have to look into it along with Max Screen Off. It is supposed to be disabled since I use another mechanism in MPDEC.
Ok doubletap2wake in deep sleep doesn't work. I have test it.
But kernel runs smoother than stock CM. I hope the battery is also good but I'll see.

[Kernel][AGK-OMNI] intelli plug, CPU/GPU OC/UC, Volt control ...[v1.05][14.07.14]

workes only on OMNI based Roms.
This is a beta Kernel! Only test, if you know what you are doing!!
The battery stats with this Kernel and intelliplug on are awesome!!
Features:
-Intelli Plug integrated
-CPU Volt ajust integradet
-lots of scheduler and governors
-flip2wake/flip2sleep/doubletab2wake ...
Please try and give responce!!
ATENTION if you try my Kernel, you will flash a custom boot animation!!
Changelog:
--------AGK-OMNI Kernel 1.05--------
-fix CPU clocking
-add overclocking of slimbus
--------AGK-OMNI Kernel 1.04--------
-add more GPU OC/UC range
--------AGK-OMNI Kernel 1.03--------
add some governors:
-add wrexy governor
-add nightmare governor
-intellidemand
-intelliactive
-smartassV2
-badass
-lagfree
-integrate some modules in Kernel
-reduce install files size
-add new bootanimation
--------AGK-OMNI Kernel 1.02--------
-fix volt ajust
-add Cpu OC and UC
-change GPU max OC
-fix wifi problem
-add custom boot animation
known issues:
-?
--------AGK-OMNI Kernel 1.01--------
-add intelli plug
known issues:
- volt ajust doesnt work
- Cpu OC doesnt work​
Click to expand...
Click to collapse
Downloads:
AGK-OMNIROM-Kernel-recovery-1.01.zip - 17.22 MB
AGK-OMNIROM-Kernel-recovery-1.02.zip - 10.05 MB
AGK-OMNIROM-Kernel-recovery-1.03.zip - 9.92 MB
AGK-OMNIROM-Kernel-recovery-1.04.zip - 9.92 MB
AGK-OMNIROM-Kernel-recovery-1.05.zip - 9.92 MB
Click to expand...
Click to collapse
Kernel Source: https://github.com/antaril/AGK-OMNI
This Kernel based on "Dirty Unicorns" Source​
testing now ! ...
i can confirm that the battery stats are awesome on this kernel
however ... the best omni kernel !
edit: ATTENTION!!!
i do not recommend to use smartmax_eps governor for now, it seems that there is an bug which prevent the screen from turning on and reboots the device instead !
Sry for op, but intelliPlug is the best governor for battery stat?
dena994 said:
Sry for op, but intelliPlug is the best governor for battery stat?
Click to expand...
Click to collapse
intelli plug is an alternative hotplug. you can change it in tricksterMod! standard its always MPDecision! But i change this!! Try, its awesome!
Antaril said:
intelli plug is an alternative hotplug. you can change it in tricksterMod! standard its always MPDecision! But i change this!! Try, its awesome!
Click to expand...
Click to collapse
I'm looking ti have the best battery, so witch version of AGK should I install with paranoid?
dena994 said:
I'm looking ti have the best battery, so witch version of AGK should I install with paranoid?
Click to expand...
Click to collapse
paranoid is aosp. Please install the other Version!!
Antaril said:
paranoid is aosp. Please install the other Version!!
Click to expand...
Click to collapse
Yes, but I want to know what version gives the best battery life! Hotplug, exc
dena994 said:
Yes, but I want to know what version gives the best battery life! Hotplug, exc
Click to expand...
Click to collapse
for me its intelli plug!! SMartmax and deadline! vcore ajust- 0,5
Thanks
sorry to be that guy LOL, we need more kernels here specially AOSP, why limited this to OMNI only ? smh
TheUndertaker21 said:
sorry to be that guy LOL, we need more kernels here specially AOSP, why limited this to OMNI only ? smh
Click to expand...
Click to collapse
Check the original development thread. There is one from same developer for AOSP ROMs. The AOSP kernel works great as well!
Sent from my One using XDA Premium 4 mobile app
TheUndertaker21 said:
sorry to be that guy LOL, we need more kernels here specially AOSP, why limited this to OMNI only ? smh
Click to expand...
Click to collapse
look here: http://forum.xda-developers.com/showthread.php?t=2764555
Because omni is special!! Standart AOSP Kernel will not work correctly! But you can try to use this one in AOSP. I havent try this...
new Version online!! See on first thread
Antaril said:
look here: http://forum.xda-developers.com/showthread.php?t=2764555
Because omni is special!! Standart AOSP Kernel will not work correctly! But you can try to use this one in AOSP. I havent try this...
Click to expand...
Click to collapse
You linked me to a thread that hasn't been updated since may. That's not what I meant. I meant there aren't a lot of aosp kernels out there. But, whatever.
Sent from my HTC One using XDA Premium 4 mobile app
TheUndertaker21 said:
You linked me to a thread that hasn't been updated since may. That's not what I meant. I meant there aren't a lot of aosp kernels out there. But, whatever.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No thats wrong... first look here : "Old 27th May 2014, 02:28 PM (Last edited by Antaril; 1st July 2014 at 01:26 PM."
And if you read the thread name, you can read that :"[Kernel] [AOSP] [27.05.2014] AGK Kernel v1.16"
But you are right, there aren't a lot of AOSP Kernels, but i have made one! And there aren't also alot of OMNI Kernels out there! So?
Antaril said:
new Version online!! See on first thread
Click to expand...
Click to collapse
new version ?
you mean 1.04 ?
GPU OC max 487Mhz befor was 533Mhz ... is there a reason for lower OC ?
StalCaiRe said:
new version ?
you mean 1.04 ?
GPU OC max 487Mhz befor was 533Mhz ... is there a reason for lower OC ?
Click to expand...
Click to collapse
yes, it was too much oc. But now you have more range!!
please add bln in this kernel.thx
karmania said:
please add bln in this kernel.thx
Click to expand...
Click to collapse
bln should be inside!! Which Rom do you use? in Dirty Unicorns bln doesnt run!
i use omni rom with agk 1.04 kernel on htc one m7.but bln not work for me! what should i 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][2017-02-17]faizauthar12's Kernel[AOSP/MIUI][UBERTC]

/* 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.

[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

Categories

Resources