[Kernel][5.1][Stock/GPE][Linaro 5.3] KaminariKernel R3 [7 July 2016] - Moto G Android Development

KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your already voided warranty is now void again.
*
* 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 my *** off at you.
* Really hard.
*/
Yo! This thread contains two kernels (regular and SuperLite). If you wanna see what SuperLite is, then go here. You should read everything before moving onto the downloads section.​
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen. In the beginning I decided to keep it for my personal use only, but then I decided to share it with you guys since there was no custom kernel compatible with the 5.1 stock rom.
Features:
Sources & Optimizations
- Based on Motorola's shared falcon/peregrine source
- Compiled with generic Linaro 5.3 toolchain
- Compiled with -O3 optimization & some more flags (e.g. Pipe flag)
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- Ye Olde MPDecision
- AutoSMP
Click to expand...
Click to collapse
Extra CPU Governors
- Bioshock
- Dancedance
- Impulse
- Lionheart
- Smartmax
- Yankactive
- Yankdemand
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen (Default)
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
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- HID Driver (Use your phone as a USB keyboard/mouse)
- Compass & Accelerometer drivers now use State Notifier
- 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:
Regular Version
Overclock-Ready Version
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.3: Go here
- All releases from 1.3 onwards: Go here
- KaminariLite (discontinued): Go here
- KaminariSL (previously Optimized Stock): Go here
Click to expand...
Click to collapse
Got into trouble and need to go back to the stock kernel?
Then you should click this link here, bud!
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 (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!!)
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- (Optional) Wipe cache and/or ART cache
- Reboot and have fun!
Coming from another kernel? Then I suggest you to (at least!!!) dirty flash your stock rom and kernel in order to avoid any issues!
Wanna tweak it? Use Kernel Adiutor! (I do NOT support Synapse!!!)
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, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @Aayushya, he provided the initial cherry-picks
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @Alberto97, for the Linux version bumps (.43 up to .109)
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (Lollipop-Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features: Read above!!!
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-09-07
Last Updated 2016-07-09

F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Read the OP.
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: Go here for that.
Q: Will this kernel work on the GPE ROM?
A: Yes. And it'll also allow you to use this ROM without having to format /data to ext4.
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. For Synapse, scroll up and read the OP first.
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

Kaminari SuperLite (previously "Optimized Stock Kernel")​
Since KaminariLite has been discontinued, and Kaminari has become cleaner regarding features, I've been working on a version closer to the stock kernel, only more optimized.
Enter Kaminari SuperLite!
Diferences between this & the stock kernel:
- Compiled using generic Linaro 5.3 toolchain
- Bumped to Linux version 3.4.112
- Compiled with -O3 and misc optimization flags flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Supports both stock and GPE roms, regardless of filesystem (f2fs or ext4) used on /data
- Adds init.d support
- Default ZRAM size changed to 400MB
Click to expand...
Click to collapse
Differences between this & Kaminari:
- All governors except Interactive removed
- AutoSMP removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Compressed using LZO (Kaminari uses XZ)
Click to expand...
Click to collapse
Wanna give it a try?
Click this link here!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions:
Same as Kaminari.
Coming from regular Kaminari? Wipe your Kernel Adiutor data first! If you can flash the stock kernel before flashing this, it's even better!
Click to expand...
Click to collapse

Reserved!!!

Reserved again
null

Wow m first...
---------- Post added at 08:25 AM ---------- Previous post was at 08:17 AM ----------
Just flashed it...buttery smooth...smartmax works like charm and yeah happy to see the kcal screen control...thanks kaminari for this amazing kernel...

So it is only for stock 5.1 right?
Edit: Working smoothly on stock 5.1
Keep it up.

Working great on XT1031 with stock 5.1. Nice job!

@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk

akshayk01 said:
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
No, no plans for aosp/cm support yet - mainly because of my limited knowledge. But i'll consider making a version supporting these two

New build in the works! Just trying to fix a bug where all CPU cores stay online (needless to say that this causes a gigantic battery drain)

New build up!
https://www.androidfilehost.com/?fid=24052804347811341
https://www.androidfilehost.com/?fid=24052804347811344 - "Mori" version - with S2W/DT2W
Changelog here.

I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.

amarc78 said:
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
Click to expand...
Click to collapse
The previous zips i made here worked fine (i flash them through adb sideload). And i just fixed the init.kaminari.sh. Plus i've fixed s2w/s2s in the Mori version (dt2w is still partly broken though).

New build up!
Version: 0.96b
Download: Regular Version | "Mori" Version (DT2W)
Changelog here, but for those who don't wanna go there:
- Fixed s2w (dt2w halfscreen is still broken)
- Fixed derp in init.kaminari.sh
GPE users, please test my builds if you can / feel courageous enough to do it

I give up, except for the first build, they won't flash in recovery for me.

amarc78 said:
I give up, except for the first build, they won't flash in recovery for me.
Click to expand...
Click to collapse
I'll upload a zip without anykernel later. Btw, which version of twrp are you on? And do you have sufficient space in /system? Because this kernel pushes modules to it. I'm on twrp 2.8.7.0 + a modified stock rom, and i've had zero flashing errors so far

For those who are having problems with anykernel, i've uploaded special flashable zips without it.
Version is still 0.96b.
Downloads: Regular | DT2W

Version 096b flashed without any problems.
Just put the zip in the root of internal storage.

cool everything is just superb @kingkaminari hope you keep updating this kernel

Related

[DISCONTINUED][6.x][KERNEL][AOSP/CM][UBER 5.3] Optimus Kernel R55 [-O3][DT2W]

Optimus Kernel​
I present to you my own kernel which has been built with many optimizations and tweaks. This kernel will work on marshmallow roms only.The main aim is to provide a stable kernel with optimizations.
I hope you all will like it
A new simple version (lollipop version) is available at post #2. Do check it out!
Note: R47 or later will work perfectly only on MarshMallow. Lollipop support was ended with R46.
Custom Features:
- Updated to latest cm-13.0 Sources
- Compiled With Custom UBER 5.3.1 Toolchain
- Compiled With -O3 & Graphite Flags
- Additional many optimization flags
- Compiled With Cortex A7 Tweaks
- ARM v7 Optimizations
- MSM_hotplug driver flavored by neobuddy
- DoubleTap2Wake/Sweep2Wake
- GPU underclock/overclock(Min:100 MHz & Max:533 MHz)
- Add dev/frandom
- Added Support for Kernel Neon Mode
- Enabled Pipe Flag
- Adreno Idler Algorithm
- Add State notifier driver
- Add Impulse governor(default)
- Add BioShock/DanceDance Govs
- Added SmartMax/LionHeart Govs
- LCD Kcal Control by Savoca
- Faux's Sound Control
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- LMK tweaks
- block: disable add_random
- Enable unaligned capability for ARM
- CpuFreq Optimizations
- Backported hotplug thread infrastructure
- Disabled Gentle Fair Sleepers
- Enabled Many TCP Congestions
- Added SIO,VR & ZEN IO Scheduler
- Sched & Mutex Tweaks
- Pushed Read Ahead value to 512
- Use your android device as USB Keyboard/Mouse
- Enabled FSync by default
- Optimized Slub
- VFP HardFloat
- Power Efficient WorkQueues
- Kexec patched (Multirom Compatible)
- Many more things (Check Github)
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.​
Pls Read This before flashing:
You need ROM's default kernel before flashing this as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX.
DOWNLOADS:
AndroidFileHost
OptimusR46NEW(Final LP version)
Mirror: (Current as well as older versions available)
Mediafire
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!​
PLS DON'T MIRROR THE LINKS
Recommended app:
Synapse or Kernel Adiutor
Flash UKM.zip from the below link: (credits to @apb_axel)
http://forum.xda-developers.com/android/software/zip-synapse-script-universal-kernel-t2736986
And then install synapse from play store.
I would like to say thanks to @faux123 @YoshiShaPow @fermasia @Alberto97 @TeamMex @Quasar @Mazda @FabioSan @Blechdose @neobuddy89 @RenderBroken @savoca @deadman96385 @pinkflozd @alin.p @Cl3Kener @Shivam Kuchhal and CYANOGENMOD TEAM
and MANY MORE...
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G
Contributors
Flashhhh, Thecrazyskull
Source Code: https://github.com/desaishivam26/Optimus_Reborn
Version Information
Status: Stable
Current Stable Version: R38
Stable Release Date: 2015-05-21
Created 2015-04-24
Last Updated 2015-07-14
OptimuSimple is the version that i have been using quite often now. It's not bloated with many features and works surprisingly well compared to original version. Some of it's features:
- Updated to v3.4.109
- Compiled with Linaro 4.9 Cortex A7 optimized toolchain
- Intelliplug 4.0 by faux
- Faux Sound Control
- Kcal Control by savoca
- Simple GPU Algorithm
Optimizations and governors are same as original version. It doesn't contain dt2w. So if u want dt2w flash original version from 1st post!
Download:
https://www.androidfilehost.com/?fid=24052804347833430
Looking for changelogs??
Here they are!!!
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM12/12.1 and AOSP roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Many thanks to showp1984 for this info
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This is a special version modded by neobuddy Plus the idle frequency and some load thresholds have been adjusted by me.
Some Configuration:
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (130)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (600 MHz)
mpdecision's input event boost, aka project butter
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
Good to see one more kernel
Sent From My XT1068{LP} Using TapatalK
Will try ASAP, thanks
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
hiu115 said:
How about the camera performance? On other kernels, it would freeze after touching the shutter and requires a reboot.
Anyways, great job on making another kernel available for Lollipop
Click to expand...
Click to collapse
Camera is working fine!
You can test it for yourself
Kai Disobey said:
Installed on my XT1032 16GB CM12 . Intellidemand/Noop and it runs great , very smooth scrolling tested with G+ in the Browser.
Click to expand...
Click to collapse
Glad to hear that!
srisurya95 said:
Thanks for the intelliplug and a bunch of governors
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
U r welcome
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Does it support XT1033 as well?
hiu115 said:
Does it support XT1033 as well?
Click to expand...
Click to collapse
Yes!
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
DeHuMaNiZeD said:
Working great man, but please fix the gpu governors, When switching to simple_ondemand then it reboots..
Click to expand...
Click to collapse
Thanks for reporting!
Will fix it
But the next update will take a little time!
Sry
Intellithermal plzzzz..
srisurya95 said:
Intellithermal plzzzz..
Click to expand...
Click to collapse
Intellithermal isn't entirely useful on the Moto G since it runs on low clock speeds anyway. So no heating problem.
srisurya95 said:
Flashed this kernel on blisspop and its awesome!!!
ROM performs pretty good with kernel and intelliplug works like a charm
Thank you @Flashhhh hope u continue development
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry what version of blisspop you have?
today's build?
deltafile said:
sorry what version of blisspop you have?
today's build?
Click to expand...
Click to collapse
4/02
Sent from my falcon using XDA Premium 4 mobile app
srisurya95 said:
4/02
Sent from my falcon using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ty im going to switch to it from candy rom

[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][AOSP/CM13/CM14.1/LOS] NxKernel r4 [03.01.2017]

NxKernel
r4​
Yeah, jet another kernel for the falcon!
Why? You might ask and you are right.
I have been experimenting with kernel features, fixes and (alleged) improvements and always tried to create a kernel which I would be happy to use every day on my device. You know the usual stuff: long lasting battery with lag-free performance... It's not easy at all I have to tell. I am not a developer but know my way around Git and programming and researched a lot of sources on the internet looking for kernel stuff. Some patches offer improvements in speed and response time etc, but in reality, many of them do more harm than good when it comes to real-life praxis. In the end, I had a great collection of fixes and patches which I tried (nearly) one-by-one examining the gains and losses of 'em.
All the credits go to the developers of the features - and a little of it to me for putting them together and bringing them to the Moto G.
Features
Compiled with UBERTC 4.9.4 and O2 optimization level
Overclocked [email protected], [email protected], [email protected]
Intelliplug 4.0 CPU hotplug
Intelliactive and Intellidemand CPU governor
PowerSuspend 1.5
Intellithermal v2
Simple GPU Algorithm
Adreno Idler
Power Efficient Workqueues
Fast Charge v2
Dynamic fsync
Enabled NEON mode
Westwood TCP congestion control
Frandom fast random number generator
Wakelock toggles
Click to expand...
Click to collapse
Installation
Download the kernel to your device from the link below
Reboot to recovery
Flash the kernel
(optional) Wipe cache & dalvik cache (recommended)
Reboot
(optional for CM13 - bootloop on CM14) If you would like to enable frandom, copy the 20frandom script (by Ryuinferno, see attached) to system/etc/init.d and change its permissions to 0755.
Click to expand...
Click to collapse
Download
CM14.1/Lineage OS: r4 - https://www.androidfilehost.com/?fid=673368273298920933
CM13: r2 - v1.1 - https://www.androidfilehost.com/?fid=385035244224396903
Please do not mirror any of my files!
I switched to "r" naming scheme which means r1 (v1.0) and r2 (v1.1) are for CM13 and releases from r3 upwards for CM14.1 and Lineage OS.
Click to expand...
Click to collapse
Sources
https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Click to expand...
Click to collapse
Recommended settings in 2nd post.
Changelog in 3rd post.
Many thanks go to:
The CM Team
faux123
arter97
Hurtsky, Kaminari, pinkflozd, alinp, BryanByteZ
soniCron
...and the community for keeping alive a 3-year-old device :highfive:
Click to expand...
Click to collapse
If you would like to help or thank me, you might buy me a beer/coffe/coke to fuel the development.
XDA:DevDB Information
NxKernel, Kernel for the Moto G
Contributors
NxStep
Source Code: https://github.com/NStep/android_kernel_motorola_msm8226/tree/cm-14.0-nx
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r4
Stable Release Date: 2017-01-03
Created 2016-10-21
Last Updated 2017-01-03
Recommended settings
I suggest Kernel Adiutor to edit the kernel settings. See attached screenshots for the details. The settings that cannot be seen on the pictures are untouched.
I've attached the two json files to import for the two custom controls in Kernel Adiutor, bluedroid_wakelock and USB_fast_charge. To be able to import directly just change the extensions to json.
*For CM13 only! Causes bootloop on CM14 for now.*
Also attached the frandom enabler script (20frandom) that is to be placed in system/etc/init.d wit the permission 0755. Make sure you remove the txt extension first!
Sorry for the extension messing, xda does not allow to upload json files or files without extension... I might move the files to my file host soon.
CPU governor tunables
*to be updated for CM14*
Optimized governor tunables based on soniCron's superb guide. It works with interactive and intelliactive as well and scales fine with overclocking enabled and disabled too.
Basically, it uses 4 optimal frequencies: 300MHz, 998MHz, 1190MHz and 1593MHz if OC enabled. It prevents the CPU jumping a lot between frequencies that do not provide enough performance for a given task. I managed to get 4-5 hours of screen on time with these settings.
Tunables are as following:
Code:
above_hispeed_delay: 20000 998400:60000
boost: 0
boostpulse_duration: 80000
go_hispeed_load: 75
hispeed_freq: 998400
io_is_busy: 1
min_sample_time: 40000
sampling_down_factor: 0
sync_freq: 0
target_loads: 98 384000:56 600000:31 787200:27 998400:82 1094400:9 1190400:95 1305600:3 1344000:4 1401600:7 1497600:6 1593600:85
timer_rate: 25000
timer_slack: 80000
two_phase_freq: 998400,998400,998400,998400
up_threshold_any_cpu_freq: 998400
up_threshold_any_cpu_load: 95
Changelog
r4 - 03.01.2017
merged latest CM14.1 kernel sources
update to latest prebuilt toolchain UBERTC 4.9 by mdalexca
added some additional patches, see Github
r3 - 25.11.2016
intial release for CM14.1
merged latest CM14.1 kernel sources
switched to "r" naming scheme
r2 - v1.1 - 11.11.2016
merged latest CM13 sources
r1 - v1.0 - 21.10.2016
initial release
Reserved another just in case.
NxStep said:
NxKernel
v1.0​
Created 2016-10-21
Last Updated 2016-10-21
Click to expand...
Click to collapse
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
this kernel have multirom support?
thanks for your amazing work
Pretty nice idea man, I'll test it. Thanks for this kernel
Thank your for your feedback!
aldanopolis said:
this kernel have multirom support?
thanks for your amazing work
Click to expand...
Click to collapse
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
NxStep said:
Thank your for your feedback!
No, it doesn't. I haven't really examined this feature as I use only one ROM on my phone. But I might add it in the future if it is requested.
Click to expand...
Click to collapse
IMHO, As we have no kexec workaround in last version of multirom , this is not mandatory.
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Guillosd said:
Any way to backup the stock kernel of Orion Os in case I find any issue with this kernel?
Click to expand...
Click to collapse
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Good to see another kernel available for our old (but seemingly immortal?) phone. Best of luck to you!
Like Kamin4ri said thanks for the kernel i really hope that moto g be immortal best phone that i used for sure, good enough for what i need.
Would be great if it has dt2w...
Aayushya said:
Use Flashify
It has the option to backup the current kernel and can also flash imgs, zips and stuff.
Click to expand...
Click to collapse
nandroid restore would work as well ,right?
Hiraethic said:
nandroid restore would work as well ,right?
Click to expand...
Click to collapse
Yes
everything works awesome on aosp 7.0 by srisuriya
Skarni said:
Downloaded and installed a couple of hours ago.
Feels smooth and snappy. Have not encountered any glitches.
I'm running [7.0.0_r14]AOSP+OM
Thank you for bringing another kernel to this old device.
Click to expand...
Click to collapse
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
NxStep said:
Recommended settings
~snip
[/CODE]
Click to expand...
Click to collapse
Those pictures on second post are recommended settings?
kamesh_kraken said:
Did you change any settings in Kernel Auditor?
---------- Post added at 10:48 AM ---------- Previous post was at 10:46 AM ----------
Those pictures on second post are recommended settings?
Click to expand...
Click to collapse
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Skarni said:
I did apply some of the settings from the pictures. I chose different scheduler and network TCP algorithm.
I do not have the paid version of Kernel Adiuitor, so I was not able to use the .json files.
Click to expand...
Click to collapse
Use a mod, kernel adiutor is open source

[Kernel] Project T Kernel for ZTE Axon 7 Mini

Hi guys,
I know that this forum is not widely used by ZTE Axon 7 Mini owners, but I still want to share my work the kernel used by the stock firmware.
Most of the parts were of course already based on the work of others, so I will give credits at the end of this thread of course.
Pre-requisites:
Unlocked bootloader
TWRP flashed
Knowledge you do this all at your own risk! I tested this kernel with my EU model, so I don't know if this will work on the US models, too.
Features:
- Based on latest kernel source shared by ZTE (ZTE B2017G Nougat(7.1.1) Kernel(3.10.84))
- Built with GCC 4.9 toolchain
- UC to 499MHz for BIG and 403 MHz for LITTLE (thanks to @flar2)
- OC to 1651 for BIG (again @flar2)
- Additional governors: yankactive, blu-active, impulse
- Additional IO schedulers: Sioplus, Zen, FIOPS. Tweaked Row is set as default
- Additional TCP congestion algorithms with westwood being the default one
- Approx. 30% faster due to CRC calculation and auditing disabling
- Sweep2Sleep on the navigation bar
- frandom RNG
- Sound Control by @flar2
- ZRAM using LZ4 optimized for ARM by default
- Optimized power management driver by @Yank555
- Native exFAT support without needing fuse @dorimanx)
- KCAL
- Vibration control
- uses higher power CPUs to boot (got roughly 3s faster boot time)
- Dynamic Fsync
- Gentle Fair sleepers can be toggled via sysfs and Kernel Adiutor
- Smaller tweaks
To do:
- Switch toolchain
- Remove "dirty" from the kernel name Apparently I need to push all changes to github before compiling(or recompiling the same kernel as soon as I pushed everything)
- Set the phone to accept the lower frequencies without having to set this up in Kernel adiutor
- Alter interactive governor to use full frequency range
- Add D2TS for screen and fingerprint sensor, S2W
- Wakelock reductions
- Maybe BLX, KCAL (even though I don't get the point to implement it) I was curious and did it now, looks nice
- LED and vibration control
- Switch hotplugging mechanism to Lazyplug, hotplugging is not that energy efficient anymore
See the attached picture regarding the CPU stats when using yankactive for example
Credits go to:
@Lord Boeffla @flar2 @dorimanx @Yank555
Unfortunately I didn't give proper credits on my github, I want everyone to know, that none of the features were designed and written by myself, just adapted to work on our phones!
Download here:
https://drive.google.com/drive/folders/0B0mn6OUqIDzBZG1DM1Y4dmxUV2c
Flash in TWRP, root and every other ramdisk modification will be preserved (Anykernel2 by osmosis)
Github:
https://github.com/TheSSJ/tulip_kernel
Changelog
V1.1: Initial version for public release!
V1.2: KCAL support
V1.3: Changed boot CPUs to higher power ones, added dynamic Fsync, added Quick Wakeup driver
V1.4: Gentle Fair Sleepers can be toggled now, ROW scheduler tweaked
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
TheSSJ said:
V1.1: Initial version for public release!
NOTE: in case anyone is wondering why I didn't pick the DevDB projects: as our device is not activated to be used with DevDB, I went with normal threads
Click to expand...
Click to collapse
TheSSJ said:
I wouldn't exclude this, but as I am running on stock, I can't confirm or deny...
You could make a backup of your boot and flash it and see what happens, worst thing is that you need to reboot to recovery and restore your backup
Click to expand...
Click to collapse
Thank you for replay, what governor you use?
You will need to try and see.
It uses anykernel which is good. But aokp and lineage are on android 7.1.2 while stock is on android 7.1.1. There was at least one kernel api change that may cause problems. But I'm not sure.
I'm assuming this package has the wlan module also...?
Askael said:
Hi! Amazing work! Thx for the job.
Can I use this kernel with AOKP? AOKP has android 7.1.2
Click to expand...
Click to collapse
@ssj @tdm
Guys, try flash kernel, AOKP, don't work.
W8 kernel version from customs
tdm said:
I'm assuming this package has the wlan module also...?
Click to expand...
Click to collapse
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
TheSSJ said:
You mean the prima wifi stuff I have seen in you github? Honestly I didn't feel the need...does it improve the wifi experience or is it just for making it compatible with LineageOS?
Click to expand...
Click to collapse
tdm said:
No, I mean the kernel module for wifi, /system/lib/modules/pronto/pronto_wlan.ko. If that doesn't match your kernel, it won't load and you won't have wifi.
Note stock has a handful of other kernel modules, but I don't think any of them are needed Most look like they are for testing.
Click to expand...
Click to collapse
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
TheSSJ said:
Oh, ok...pronto driver is built into the kernel though, all other modules are really for debugging and testing as far as I could gather, so they are not included (and the phone works fine)
@Askael: As for a custom kernel for Lineage/AOKP etc: as I won't have these OS's on my phone I use as my daily driver, I can of course create one, but it is always published as untested, so there is no point IMHO.
Click to expand...
Click to collapse
But we can test this. But if you not want - don't worry! :good:
Askael said:
But we can test this. But if you not want - don't worry! :good:
Click to expand...
Click to collapse
Will think about it
Version 1.2 is out, now with KCAL screen control support!
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
kevincai96 said:
I'm building a kernel with many of these features for the LineageOS ROM. Want me to make a thread, and then you can link it for people interested in using it in your OP? Source is here: https://github.com/djkazic/sombrax_kernel
Click to expand...
Click to collapse
Hi,
Feel free to open a new thread it is important to push this phone amd its potential as good as possible!
Development will go on, i still have some items to implement :good:
@TheSSJ
Hi! Any news about update?
@TheSSJ
Good to see you in Axon mini from zenfone 2
Askael said:
@TheSSJ
Hi! Any news about update?
Click to expand...
Click to collapse
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
Druboo666 said:
@TheSSJ
Good to see you in Axon mini from zenfone 2
Click to expand...
Click to collapse
I was spotted It's a great phone, let's get the most out of it
TheSSJ said:
You mean a custom kernel for CM builds or an update for this stock kernel?
For the CM based one I didn't start, although applying the modifications I applied to my kernel should be working
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
For this stok kernel
I was spotted It's a great phone, let's get the most out of it
Click to expand...
Click to collapse
i am using Axon 7 and yeah its a great phone i must miss you in axon 7
Updated version uploaded and available on G-Drive, boot time increased by 3s (you take what you can get )
/EDIT: Next version out, small enhancements and adding the possibility to enable/disable gentle fair sleepers

[KERNEL] [Oreo-8.1] [libra/aqua] HateKernel-2.0 -UBERTC-5.3.x

Introduction
HateKernel is a custom kernel compatible with libra/aqua and on LineageOS 15.1-based ROM (Oreo 8.1.0). This kernel source are forked from Cozzmy13's source (CAF) and are made to improve performance, battery life, features and stability of our device. Obviously, I can't guarantee all of those claims at once due to the fact that there is a trade-off among them, so its up to you for applying tweak or setting-up your device based on your usage criteria.
Click to expand...
Click to collapse
Image
Damn! I'm too lazy to post any. :silly:
Click to expand...
Click to collapse
Features
-Boeffla wakelock blocker.
-FAUX sound control.
-KCAL advanced color control.
-CPU boost & input-boost. (off by default)
-Kernel samepage merging. (off by default)
-Power-efficient workqueue. (on by default)
-Disable storage CRC check. (reduce IO overhead)
-FSync on/off. (on by default)
-250Hz tick timer-interrupt & dyntick tickless-idle. (may help with battery and UI lagginess? I'm not sure.)
-Added CPU Governor - relaxed, blu-active, despair, zzmoove, elementalx, wheatley, impulse, bioshock.
-Added IO-Scheduler - fiops, sio, sioplus, zen, vr, maple.
-Exposed all TCP congestion algorithm.
-Proper undervolt. (untweakable. Hardcoded in kernel. Blame QCom)
-Compiled with UBERTC-8.x.x -O2 flag.
-A few more optimization.
Click to expand...
Click to collapse
Installation instruction
Required - TWRP recovery latest version & Nougat-bootloader.
NOTE: For AnyKernel2 flashable zip, I highly recommend to flash your stock ROM's boot.img first.
Flash via 'fastboot':
1) Download 'HateKernel-x.x.img'
2) Put the image in same folder as fastboot executable.
3) Run thru command "fastboot flash boot HateKernel-x.x.img"
Flash via TWRP recovery (boot.img):
1) Select install and change mode to "Flash Image" in TWRP.
2) Flash 'HateKernel-x.x.img' in 'boot' partition.
3) Obviously, reboot.
Flash via TWRP recovery (AnyKernel zip) RECOMMENDED
1) I think you should know how at this point.
2) Install as usual.
Click to expand...
Click to collapse
Downloads
All version >
Dropbox: Download
Click to expand...
Click to collapse
Credits
*Cozzmy13 for kernel source
*AndropaX
*flar2
*faux123
*savoca
*Boeffla
*jollaman999
*nathanchance
*tester/suggester/advisor and everyone who helped to improve HateKernel
*everyone i forgot to add
Click to expand...
Click to collapse
XDA:DevDB Information
HateKernel, Kernel for the Xiaomi Mi 4C
Contributors
kopter36
Source Code: [url]https://github.com/iZwnMswn/kernel_xiaomi_msm8992[/URL]
Kernel Special Features: Read "Features".
Version Information
Status: WIP
Current Stable Version: HateKernel-3.1
Stable Release Date: 2018-05-28
Current Beta Version:
Beta Release Date:
Created 2018-02-14
Last Updated 2019-03-08
+ Preliminary info.
- Kernel in .img format are only compatible with Lineage-15.1 by Cozzmy13 ONLY. Don't flash it on other ROM even from the same source.
- HateKernel-1.5_r2 and up currently had issue with some device won't be able to boot. I'm currently still working on it.
+ Download info.
- Testbuild : There is 2 version (Lineage-15.1 stock & HateKernel build). Please test both version from lower-number to highest and report back which one is working + state last Stable-release of HateKernel that is working before.
- Experimental release is essentially a beta version but have been tested by me, but sometimes it might not working reliably with certain ROM+variant(libra/aqua).
- Stable release, as the name imply, mostly always working and have no major bug. This version have been tested extensively to avoid complaint from users and headache for me
Thank you so much for every feedback.
+ Changelog {ascending order}
HateKernel-1.1
- initial build using Google's toolchain. (GCC-4.9)
HateKernel-1.2
- support libra and aqua variants.
- expose all standard CPU governors + add elementalx.
- expose all standard IO-schedulers.
- expose all standard TCP congestion algorithms.
- input-boost and CPU-boost.
- enable RCU boost.
- Kernel Samepage Merging.
- implement display_state API.
- msm8992 initial overclocking.
- Slimbus overclock.
- enable Error Detection and Correcting log capability.
- enable CTS and SHA512 crypto for ARMv8.
- use asymmetric-key-type for crypto.
- compiled with UberTC-4.9.X (GCC-4.9.4)
HateKernel-1.3
- add CPU governors > (bioshock, blu_active, despair, impulse, relaxed, wheatley, zzmoove)
- add IO-schedulers > (fiops, maple, sio, sioplus, vr, zen)
- add WireGuard support.
- revert msm8992 initial overclocking.
- undervolt CPU with stable value.
- fix display_state implementation.
- compiled with UberTC-5.3.X (GCC-5.3.1)
HateKernel-1.4
- add KCAL advance color controls.
- add FAUX sound controls.
- add Boeffla wakelock blocker.
- 1000Hz ticks + dynamic tickless-idle.
- disable storage CRC check.
- FSync on/off.
- remove Edge-Touch for touchscreen.
- enable ARM's v8 hw CRC32.
- enable parallel crypto engine.
- compiled with -O3 flags.
HateKernel-1.5_r2 {stable} {alternative}
- based on HateKernel-1.1 config with stable features.
- fixed Synaptic's touchscreen issue.
- revert some minor features and optimization in favor of stability.
- compiled with -O2 flags again.
HateKernel-1.6b {staging}
- based on Hatekernel-1.4 config with fixed Synaptic's navigation button issue.
- 100Hz timer interrupt tick.
- enable MSM kgsl triple buffer.
- improve scheduler for SMT operation.
- a lot of underlying optimization.
- optimize very likely/unlikely branch (yes, I'm aware of security-hole for this one)
- fully compiled with -O3 flags (don't worry about cache miss, trust me)
ps : This list is depreciated. I will clean this as soon dev-build are complete
Whoa, can't wait for this to be released and given a bunch of customization soon
flammenwerferx said:
Whoa, can't wait for this to be released and given a bunch of customization soon
Click to expand...
Click to collapse
DL link posted. Try it out
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
nicee, will this compatible with others 15.1 based?
hanuraiga said:
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
Click to expand...
Click to collapse
IcyGlacial said:
nicee, will this compatible with others 15.1 based?
Click to expand...
Click to collapse
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Just try installing on AEX rom, but not explore more.
kopter36 said:
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Click to expand...
Click to collapse
i've got bootloop on NOS....
caxwan said:
Just try installing on AEX rom, but not explore more.
Click to expand...
Click to collapse
AEX on libra? Can you give me the thread link?
ClaviluX said:
AEX on libra? Can you give me the thread link?
Click to expand...
Click to collapse
Sure, here the thread
4pda - mi4c
hanuraiga said:
i've got bootloop on NOS....
Click to expand...
Click to collapse
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Thanks guy! You are really great!
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Awesome... I'll be waiting
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
flammenwerferx said:
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
Click to expand...
Click to collapse
Most of those features are not limited to 3.18.xxx kernel. I've seen most of it implemented on Nexus 5X's custom kernel which share same kernel version with our device with the only exception is Qnovo charging driver. In fact, I've seen some of those features implemented on 3.10.9x which arent upstream to latest version at all.
HateKernel-1.3 is up
Changelog ;
-upgrade compiler to UBERTC-5.3.X (GCC-5.3.1)
-revert overclocking code until I found (if possible at all) working code
-proper undervolt to keep thermal-throttle a bit manageable
Click to expand...
Click to collapse
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
-upstream with latest CAF tag for msm8992
-upstream security patch
-Boeffla wakelock blocker
-backport zRam, F2FS and ext4 driver
-Adreno idler
Click to expand...
Click to collapse
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Thanks @kopter36
HateKernel 1.3 intalled on my phone.
AEX Rom, without trouble on booting.
kopter36 said:
Changelog ;
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Click to expand...
Click to collapse
Well, I'mma just suggesting these
1. KCAL Advanced Color Contol [with satutation, contrast and etc. Control]
2. Faux Sound Control [this really useful especially if somebody is experiencing a hissing noise on their headset, so they can reduce the output volume through this control]
3. Intelliplug or any hotplugging [only if it's really necesarry]
4. Adreno idler / booster of course (You've mentioned)
5. Upstreaming to the latest CAF (You've aforementioned)
6. ZRAM LZ4 Backport (On your to-do list)
7. Some kind of power efficient workqueue maybe
8. So-called boeffla wakelock (if i ain't mistaken the name)
PS : Anyway, undervolting seems working flawlessly, I've never reached 50°C now on normal chatting usage (usually it is around 50-55°C after one hour usage)

Categories

Resources