[Kernel][M/N][AOSP/LineageOS/MIUI][Linaro 4.9] KaminariKernel R4 [04 March 2018] - Moto G 4G Android Development

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]
*/
Hey folks!
After being a Falcon exclusive for quite a long time, KaminariKernel's LineageOS edition is now available for Peregrine. Have fun.
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 stuff, 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, Peregrine), Kernel for the Moto G
Contributors
Kamin4ri
Source Code: https://github.com/Kamin4ri/KaminariKernel/
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R4
Stable Release Date: 2018-03-04
Created 2016-11-21
Last Updated 2018-03-04

Reserved

Reserved

RESERVED!!!

Reserved too

The standard R1-M release is now available. The others shall be available soon.

Good job m8.
Does it feature the CPU overclock?

What is the difference between Standard and Alternative version? I know there says what is the difference but I want to know how will that affect phone. And which is better for battery life? And why no extra governors? Just curious. Anyways thanks for your hard work! Flashed the Alternative version and no problems so far
Edit: Tried installing Standard version, now the Hotplug menu in Kernel Adiutor is gone, that's intended right?
Edit2: I have a problem, sometimes my phone gets stuck and I have to reboot pressing power button for like 10 seconds. Also happenned that it was locked and led was blinking but I couldnt unlock the phone, black screen. Also happenned since I installed this kernel.

Fedray said:
What is the difference between Standard and Alternative version? I know there says what is the difference but I want to know how will that affect phone. And which is better for battery life? And why no extra governors? Just curious. Anyways thanks for your hard work! Flashed the Alternative version and no problems so far
Edit: Tried installing Standard version, now the Hotplug menu in Kernel Adiutor is gone, that's intended right?
Edit2: I have a problem, sometimes my phone gets stuck and I have to reboot pressing power button for like 10 seconds. Also happenned that it was locked and led was blinking but I couldnt unlock the phone, black screen. Also happenned since I installed this kernel.
Click to expand...
Click to collapse
I'm still thinking about putting extra governors. You went from Alternative to Standard, right? Then no, it shouldnt be gone. I must've done a typo in the updater-script (actually, i did just that, but fixed - hopefully - in R2). And about your phone locking up, could you send me a log or something? (Preferably dmesg)

Kernels updated to R2. Yeah, I skipped R1-N. It was built but i forgot to upload it. It had a messed-up installer script anyway.

Kamin4ri said:
Kernels updated to R2. Yeah, I skipped R1-N. It was built but i forgot to upload it. It had a messed-up installer script anyway.
Click to expand...
Click to collapse
Installed standard version r2, CPU hotplug menu still not available. Working with alternative version.
Enviado desde mi XT1040 mediante Tapatalk

Release 3 is now available! This one supports both Marshmallow and Nougat (single zip for both).
Changes:
- Synced with latest CM (Lineage) source code
- Build optimizations from kwoktopus
- Built with Linaro 6.2
You'll find the download links at the OP.

I'm in Resurrección Remix Marshmallow, this kernel should works? Sorry my bad english

[email protected] said:
I'm in Resurrección Remix Marshmallow, this kernel should works? Sorry my bad english
Click to expand...
Click to collapse
Of course!

Does this kernel support ExFat ?, thanks in advance.

J0hnick said:
Does this kernel support ExFat ?, thanks in advance.
Click to expand...
Click to collapse
It does support it via Filesystem in Userspace (FUSE). But the ROM must have an exFAT FUSE driver, and be able to actually recognise and mount USB sticks or memory cards formatted to the exFAT filesystem. CM and its derivatives/forks fulfill both requirements, whilst the stock firmware fulfills neither (even if you install fuse-exfat binaries, your USB stick or memory card won't automount because the version of vold which is shipped within the stock firmware doesn't support exFAT - you'll have to mount it manually via command line).
I've tried to implement exFAT support by using a kernel driver, but it didn't work well. That was a long time ago

Why did you remove the overclock? Which version has overclocked?
Sent from my XT1040 using XDA-Developers Legacy app

The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?

Joel Oliveira said:
The cell phone gets very hot, the processor frequency drops to 1094mhz and 998mhz, and it gets very slow. Can you disable SoC's Temperature Control?
Click to expand...
Click to collapse
Kernel Auditor is your friend

@Kamin4ri, I found on your AFH dev page the R4 version of this kernel, build date January 31, a bit old & not posted here, yet. Thinking of flashing it on my peregrine running RR N 5.8.2, is it safe enough ?
Since you haven't posted it here, I thought it maybe​ an experimental kernel & not stable enough.

Related

[STOCK 5.0.2] LollipopExtended Kernel for L90

LollipopExtended Kernel for LG L90 (-L.E.K.-)
It's not old buggy LollipopExtended, this kernel completely new and based on new LGE kernel sources - now IR port and all another works fine
General information
Author: Nikita Pro Android
What is it: stock kernel with added features, most of them can be disabled/enabled on your own.
For what ROM is it: any 5.0.2 STOCK-based ROM
Kernel version: 3.4.0
LGE source code version: v20b (the last available for G2 Mini & L90)
Kernel toolchain: official last google ARM-EABI-4.8​
Changes in kernel:
1) Added GPU overclock (533 MHz)
2) Added RAM overclock (566 MHz)
3) Added new CPU frequency: 499 MHz.
4) Added new GPU governor: conservative
5) Fixed simple_ondemand GPU governor crash - now it's working fine
6) Added Simple GPU Algorithm by Faux123 - additional for msm_adreno-tz GPU governor.
7) Some tweaks for GPU drivers - now it displays not visible before the "zero" GPU frequency 19 MHz
8) Added new CPU governors: conservative (already was in kernel, just enabled), interactive (already was in kernel, just enabled), pegasusQ, wheathley, zzmove, intellidemand, intelliactive, intellimm
9) Added INTELLI_PLUG & Alcucard_hotplug
(analogs for standart MPDesicion)
10) Added new I/O shedulers: cfq,
sio, sioplus, fiops, fifo, vr, zen
11) Added USB forced fast charge V2 (now there's no bug with charging battery icon after unplugging phone)
12) Added KSM Page Check (kernel object which check if page already has scanned)
13) Added Dynamic FSync (fs tweak)
14) Added powersuspend v1.5 (new google driver for autosleep - configure in Kernel Auditor -> Misc Controls -> Power Suspend Mode, set on "autosleep").
15) Added some minor tweaks and optimizations (NOT any -O3 "super" optimizations which just add bugs and random reboots)
v2.0:
16) Updated RAMdisks (D410 - V20D, D405/D405n - V20C)
17) Added support for init.d (to enable write in build.prop sys.init.d=on)
18) Added support for Faux Sound Control
19) Added many new TCP algorithms (by default "cubic")
20) Applied some kernel patches from codeuarora forum (caf)​
Download:
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
LG D410 (two SIM variant): https://yadi.sk/d/LSbpc0vUmrNET
LG D405/D405n : https://yadi.sk/d/iPoxqfCPmrNEf
ALL VERSIONS (folder): https://yadi.sk/d/zSE0Dqh0iDrQM​
Installation:
Before installation it's recommend to delete all apps for kernel set up to avoid conflicts.
1) Be sure that you have LG L90 model D410 or D405.
2) Be sure that you have 5.0.2 STOCK-based ROM.
3) Download .zip from spoiler above.
4) Go to recovery.
5) Do wipe cache.
6) Install downloaded .zip.
7) Reboot, wait until system will fully load.
8) Reboot again, wait until system will fully load.
9) Install Kernel Auditor and set up kernel as you like or just enjoy sun at the window ​
To set up kernel on your phone I recommend to use: Kernel Adiutor - Google Play link​
XDA:DevDB Information
LollipopExtendedKernel, Kernel for the LG Optimus L90
Contributors
Nikita Pro Android, faux123, Attack11
Source Code: https://github.com/NikitaProAndroid/android_kernel_lge_qualcomm_msm8226
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2015-08-02
Created 2015-08-02
Last Updated 2016-01-22
¯\_{ツ}_/¯
Is this real or another fake OC?
ANYWAY, good job
It for D415?
judas1977 said:
Is this real or another fake OC?
ANYWAY, good job
Click to expand...
Click to collapse
I think it's only fake again. I applied the OC to my Stormy Sea kernel, but no GPU result differences in benchmark tests.
judas1977 said:
Is this real or another fake OC?
ANYWAY, good job
Click to expand...
Click to collapse
GPU overclock not locked but it's too little difference between 450 and 533 MHz so you will not see it. You can set 450 as max freq, what's the problem?
0967894983 said:
It for D415?
Click to expand...
Click to collapse
What Software version do you have? I need boot.img from last V20x for D415 and I'll can make kernel for you.
Nikita Pro Android said:
GPU overclock not locked but it's too little difference between 450 and 533 MHz so you will not see it. You can set 450 as max freq, what's the problem?
Click to expand...
Click to collapse
I don't have any problems because i don't use that kernel.
Just asking.
judas1977 said:
I don't have any problems because i don't use that kernel.
Just asking.
Click to expand...
Click to collapse
So are You satisfied with the answer?
Knowing you? I didn't expect that much.
judas1977 said:
Knowing you? I didn't expect that much.
Click to expand...
Click to collapse
Don't understand what you meaned. Anyway, let's close offtop.
judas1977 said:
Knowing you? I didn't expect that much.
Click to expand...
Click to collapse
you can't criticize anyone, you have builded a dozen of rom and none of these are fully working, so stop complaining in others contributions that really works
I was reffering to his answer, not to his work.
And, actually, i think that @Nikita Pro Android is doing really great thing in this kernel sources, really. He fixed some errors, which affect even custom ROM's kernel. This kernel could be a really, really great thing for the stock users. That's not the point. But, basically, you're right, sorry @OP
EDIT:
@OP
Which file contains "real" v20b sources? Because when i unpack one - it's v20a inside (kernel sources)?
judas1977 said:
EDIT:
@OP
Which file contains "real" v20b sources? Because when i unpack one - it's v20a inside (kernel sources)?
Click to expand...
Click to collapse
L90 kernel sources are v20a inside "v20b" archive. G2 Mini kernel sources are v20b inside "v20b" archive and have many additions and fixes (compared with L90 sources) so I used them.
I'm very sorry -4pda users found bugs that sensors (Accelerometer, Magnetic and Proximity) not worked on L90 devices. I'll try to fix it.
@up
Did they tell you which variant they have tested?
I used your v20b commit on my own project(didn't know where did you take that update before) and sensors work good on d405n.
I don't think that other changes in your sources could affect our device - L90.
I use the kernel on KitKat but i don't think it's the problem here...
Nikita Pro Android said:
I'm very sorry -4pda users found bugs that sensors (Accelerometer, Magnetic and Proximity) not worked on L90 devices. I'll try to fix it.
Click to expand...
Click to collapse
With me it's working perfectly. Not a simple fault.
Sent from my LG-D405 using XDA Free mobile app
judas1977 said:
@up
I used your v20b commit on my own project(didn't know where did you take that update before)
Click to expand...
Click to collapse
It's sources overlay which I did to see LG changes in each revision.
I need some help.. I change min cpu frequency to 300 MHz and tick apply on boot but it always changes to 700MHz even without reboot.. Is there any chance to make this work? changing governor for example (using on demand)
My Phone is d405n
Warimation said:
I need some help.. I change min cpu frequency to 300 MHz and tick apply on boot but it always changes to 700MHz even without reboot.. Is there any chance to make this work? changing governor for example (using on demand)
My Phone is d405n
Click to expand...
Click to collapse
open your build.prop and search for this string "ro.min_freq"
replace the value 787000 with 300000
then reboot

[Kernel][5.1][Stock][Linaro 5.3] KaminariKernel R3 [7 July 2016]

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.
*/
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen (LTE version). I decided to resume developing it since I realized I was wrong (I thought no one was interested in it). So here we are again.
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 Soon™
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.x: 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-Peregrine), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-10-15
Last Updated 2016-07-09
Hey!!! Are you looking for the changelogs?
I'm moving them to this page here! So please wait!
F.A.Q. Read this before moaning!!!!!!
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 ROMs?
A: No.
Q: Will this kernel work on xyz rom?
A: No. Non. Nein. Title clearly says: STOCK.
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?
Optimized Stock Kernel (aka "Kaminari SuperLite")
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.
So here is my Optimized Stock kernel.
Differences in relation to the stock kernel:
- Compiled using my custom Linaro 5.2 toolchain
- Bumped to Linux version 3.4.110
- Compiled with -O3 and Graphite flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Default I/O scheduler changed to cfq
- Default TCP congestion algorithm changed to Westwood
- 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
Differences in relation to Kaminari:
- All governors except Interactive removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- Bricked Hotplug has been replaced by MPDecision
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Version bump to 3.4.110 (Kaminari has been kept at 3.4.42)
- Compressed using LZO (Kaminari uses XZ)
Download it from here.
This one is mostly flash-and-forget. No need to tweak anything.
If you're coming from Kaminari, and you're using Kernel Adiutor, you MUST clear the app's data before flashing this build. If you can flash the stock kernel before flashing this, it's even better.
One more reserved...
Okay. Last reserved.
Oh guys... Can someone provide me their init.rc? So I can add proper init.d support
kingkaminari said:
Oh guys... Can someone provide me their init.rc? So I can add proper init.d support
Click to expand...
Click to collapse
Here the mine, :good:
Second test build is up! https://www.androidfilehost.com/?fid=24052804347838189
Changelog is in the second post.
pretty stable kernel as far as i can tell. There is just one thing.. how do i get the over clock to stick? no matter if i have intelliplug on or off it always changes back to default frequencies after a while
EpiccSkillZz said:
pretty stable kernel as far as i can tell. There is just one thing.. how do i get the over clock to stick? no matter if i have intelliplug on or off it always changes back to default frequencies after a while
Click to expand...
Click to collapse
Try a different governor. Interactive likes to reset the frequencies to their default values. Or the chipset may be incompatible (despite it still being - technically - only an msm8226 with lte support).
kingkaminari said:
Try a different governor. Interactive likes to reset the frequencies to their default values. Or the chipset may be incompatible (despite it still being - technically - only an msm8226 with lte support).
Click to expand...
Click to collapse
Could you please recommend me a governor?
EpiccSkillZz said:
Could you please recommend me a governor?
Click to expand...
Click to collapse
Either intelliactive or yankactive
Sent from my XT1033 using Tapatalk
Woww! Finally CPU overclock! It works very good! Thankyou man
I had read that overclock was virtually impossible because our phone was locked to a maximum CPU freq, it wasn't true? It's nice to have other options, thank you for the development.
rodsayd said:
I had read that overclock was virtually impossible because our phone was locked to a maximum CPU freq, it wasn't true? It's nice to have other options, thank you for the development.
Click to expand...
Click to collapse
I also believed that. But I once ran two Antutu benchmark tests, one with the default freq (1.2GHz) and the other with an increased freq (1.6GHz), and in the second test, I got a slightly higher score (which leads me to assume that the overclock actually works). Plus, my overclock implementation is different from the previous ones.
kingkaminari said:
I also believed that. But I once ran two Antutu benchmark tests, one with the default freq (1.2GHz) and the other with an increased freq (1.6GHz), and in the second test, I got a slightly higher score (which leads me to assume that the overclock actually works). Plus, my overclock implementation is different from the previous ones.
Click to expand...
Click to collapse
The phone has a locked multiplier, but it still have FSB overclock (like the old AMD athlom XP Days)
Dirty flashed on xt1039, it works. It's now time for tuning.
Thanks a lot! I was waiting for a kernel like this.
Is there the possibility to add the undervolting feature?
sclcn12 said:
Dirty flashed on xt1039, it works. It's now time for tuning.
Thanks a lot! I was waiting for a kernel like this.
Is there the possibility to add the undervolting feature?
Click to expand...
Click to collapse
I've tried to do that with falcon. I had to solve the merge conflicts manually, but in the end the phone wouldnt boot - it went into a red screen saying "watchdog reset detected" right after the motorola logo. So, with that being said, we wont have undervolting for now, at least till i manage to solve that conflict
Third test build up!
Download
Changelog is in the second post.
Thanks for the work, it's a great kernel. Working really great
Enviado desde mi XT1040 mediante Tapatalk

[Kernel][6.0][Identity Crisis][UberTC 4.9] KaminariKernel R7 [2 January 2017]

KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now (even more) 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 simply grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if you get screwed up because of that, it's entirely your fault.
*/
Hiya fellas.
I suppose yall know that there's a ported rom from titan/thea (IDCrisis) for our Moto G. And I've ported a rom myself (but I don't plan on releasing it >.<). And this kernel is designed to work with any stock-based (read: ported from titan) rom for our device (especially IDCrisis).
But fair warning: don't even think about flashing it on Lollipop.
Features:
Sources & Optimizations
- Based on CM13's shared falcon/peregrine/titan/thea sources
- Compiled with Uber Toolchain 4.9.4
- 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 No more!!!
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 Nicht mehr!
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz) No more!!!
Click to expand...
Click to collapse
Extra Sh*t
- Simplified msm-thermal driver by @kwoktopus Was causing trouble
- Disabled gentle fair sleepers
- USB Fast Charge
- Extra TCP Congestion Controllers
- Compass & Accelerometer drivers now use State Notifier Was causing trouble too
- 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:
For Falcon:
Standard Version
Permissive Version (Flash this only if you're having major SELinux-related issues)
Click to expand...
Click to collapse
For Peregrine:
Standard Version
Permissive Version (Flash this only if you're having major SELinux-related issues)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Looking for previous releases?
Pre-reset builds:
Falcon releases
Peregrine releases
Click to expand...
Click to collapse
Post-reset builds:
Falcon releases
Peregrine releases
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Ran into issues? Go back to the stock kernel - just download one of these!
New Stock IDCrisis Kernel (Adapted from CM13) - Falcon
New Stock IDCrisis Kernel (Adapted from CM13) - Peregrine
Click to expand...
Click to collapse
Flashing Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage, i.e. /sdcard (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!! This is a bug on the install script's side. I'll be looking into it.)
- 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 stuff, 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, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @lost101, for creating IDCrisis
- @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)
- @kwoktopus, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (IDCrisis), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/idcrisis
Kernel Special Features: Read above!!!
Version Information
Status: Stable
Current Stable Version: R7
Stable Release Date: 2017-01-02
Current Beta Version: R6 Beta 2
Beta Release Date: 2016-11-01
Created 2016-03-26
Last Updated 2017-01-02
Reserved
Reserved
Reserved
Reserved!
Reserved
Reserved!
For those of you running IDCrisis, no matter which version.
Flash the stock kernel before flashing my kernel. I'll upload a stock titan/thea boot image for you guys to use.
Edit: Here's the image. It doesn't include any modules.
https://www.androidfilehost.com/?fid=24459283995306368
kingkaminari said:
For those of you running IDCrisis, no matter which version.
Flash the stock kernel before flashing my kernel. I'll upload a stock titan/thea boot image for you guys to use.
Edit: Here's the image. It doesn't include any modules.
https://www.androidfilehost.com/?fid=24459283995306368
Click to expand...
Click to collapse
do i need to flash it even if i have the previous version of your idcrisis 2.0?
if yes do i need stock modules also?
Using the latest (1.2) Identity Crisis, single SIM, normal (non-GNL) version. Using the IDCrisis version of the kernel recommended by lost. Falcon 2013 xt1032.
Want to try this kernel. Flashed the stock Titan/Thea image as instructed. Everything fine. Proceed to try to flash the Kernel. Error message. Something like "this kernel is for Lollipop 6.0.x (SDK 23). Your version is Marshmallow 6.0 (SDK 23)". Can't flash. Odd.
I reflashed the older IDCrisis kernel, and it's fine (hello from my Moto G) so at least it didn't go horribly wrong.
same here, couldn't flash it
+1
Enviado desde mi XT1072 mediante Tapatalk
Lolz. Looks like i did **** with the install script. Please open meta-inf/com/google/android/update-binary and remove the compatibility check part (do NOT remove anything else).
I'll upload a fixed flashable zip soon.
Here are the fixed flashable zips. Sorry for the derp, guys.
I lost my root permissions. Of SuperSU when I installed this kernel.
mahadev111 said:
I lost my root permissions. Of SuperSU when I installed this kernel.
Click to expand...
Click to collapse
Was your root systemless? Just reflash SuperSU.
kingkaminari said:
Here are the fixed flashable zips. Sorry for the derp, guys.
Click to expand...
Click to collapse
no worries mate. anyway, i'm able to flash the zip now but it gets stuck on M logo, what's wrong?
lucastracq said:
no worries mate. anyway, i'm able to flash the zip now but it gets stuck on M logo, what's wrong?
Click to expand...
Click to collapse
Funny, mine gets stuck at the WARNING BOOTLOADER UNLOCKED screen (I never got rid of that).
....But hey, it flashed.
Damn. I forgot to say, thats an experimental build using a new codebase. I'll have to switch to the old codebase...
Here's a build based on the old codebase. It has selinux force-set to permissive. Hopefully it boots.
Edit: There's a peregrine version as well.
And here are builds based on the new codebase, also with selinux force-set to permissive.
Selinux on marshmallow is a *****.
Choochter said:
Was your root systemless? Just reflash SuperSU.
Click to expand...
Click to collapse
Yes,root was systemless,I was on identity crysis 1.1d.when I reflashed SuperSU.stucked at boot logo.then I have to reflash rom.

[Kernel][CM13][Z00A][3.10.103] FTL-Kernel [MM-Blobs][V1.2.1][Sweep2Sleep]

Code:
[CENTER]/*
*
* I 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 do some research
* 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.
*
*/[/CENTER]
THIS KERNEL ONLY WORKS WITH CM13 03/09/2016 MM-BLOB VERSION. DO NOT FLASH ON NIGHTLY VERSIONS​Kernel Features:​Built with GCC 4.9(Will updated)
kernel.org version 3.10.103
Can work with Xposed v86​Governors: (Currently Unavaiable)​
ADAPTIVE
BIOSHOCK
CONSERVATIVEX
INTERACTIVE
LAGFREE
LIONHEART
ONDEMAND
PERFORMANCE
POWERSAVE
USERSPACE
WHEATLEY
ALUCARD
INTERACTIVEX
HOTPLUG
SMARTMAX
LULZACTIVE
DARKNESS
CYAN
BLUACTIVE
NIGHTMARE
PEGASUSQ
INTELLIACTIVE
SMARTASSH3
YANKACTIVE
SMARTASS2
HOTPLUG
HYBRID
INTEL
To Do List:​-Add Alucard Hotplug
-Add Underclocking
-Add I/O Schedulers
-Add Governors
-Try to add Sweep2Sleep(DONE)
-Try to add Sweep2Wake
-Update TC
-Update Kernel Version(DONE)
-Boost Flashlight(DONE)
-Cleaner Base(DONE)
-Try to Dual Led Get to Work
-Add KVM​Downloads:
(Please take a backup before flashing)​
Gdrive
Notes:
+V0.4 is same with cm stock kernel. If you mess up you can use as backup kernel
+To enable Sweep2Sleep. Download kernel auditor app. Under "Wake" section. Enable Sweep2Sleep and make apply on boot.​
XDA:DevDB Information
FTL-Kernel, Kernel for the Asus ZenFone 2
Contributors
oguz298, Nyks45
Source Code: https://github.com/oguz298/FTL-Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.2.1
Stable Release Date: 2016-09-25
Created 2016-09-19
Last Updated 2016-09-25
Changelogs:
There's no changelog between 0.1-0.4 because they are too buggy.
Version 0.4
+First boot
+Compiled with GCC 4.9
+Little Fixes
Version 1.1
+Updated Kernel Version to 3.10.103
+Boosted Flashlight Brightness(not on camera just flashlight for now )
+Cleaner Base
Version 1.2
+Added Sweep2Sleep
Version 1.2.1
+Edited Sweep2Sleep for More Smoothness
rez v2
New kernel.Wow.Heed more
Russiamen said:
New kernel.Wow.Heed more
Click to expand...
Click to collapse
Thanks bro
i will test it bro! thx for the hard work!
lineu94 said:
i will test it bro! thx for the hard work!
Click to expand...
Click to collapse
Do you have mm-blobs? and don't forget take a backup
oguz298 said:
Do you have mm-blobs? and don't forget take a backup
Click to expand...
Click to collapse
Yeah, i have the last dirty unicorns, but one question, the kernel already have all the governor listed? I only see a few ones
Sorry for my bad english
lineu94 said:
Yeah, i have the last dirty unicorns, but one question, the kernel already have all the governor listed? I only see a few ones
Sorry for my bad english
Click to expand...
Click to collapse
i mentioned on note. 0.4 is first build it doesn't have any changes(little fixes maybe). I'll add new version in 2 days with new stuff for our zenny. I'm working on brighter flashlight now.
Can you use for 1 day or something to see battery life?(on dirty unicorns. because i have cm i can't test on other roms right now)
oguz298 said:
i mentioned on note. 0.4 is first build it doesn't have any changes(little fixes maybe). I'll add new version in 2 days with new stuff for our zenny. I'm working on brighter flashlight now.
Can you use for 1 day or something to see battery life?(on dirty unicorns. because i have cm i can't test on other roms right now)
Click to expand...
Click to collapse
I will charge my phone, and test it for 1 cycle, I will post the result tomorrow, thx for keeping our zenny alive
This is the partial result, the deep sleep worth very well, in normal use the battery drain a little fast
Sent from my ASUS_Z00A using XDA Labs
lineu94 said:
I will charge my phone, and test it for 1 cycle, I will post the result tomorrow, thx for keeping our zenny alive
Click to expand...
Click to collapse
Hey man. This is great. You have the Wakelock issue too? @oguz298
Use my linaro tc. It's slightly better than the current one. Also there are updated which can be easily cherried. Finally if you are on Telegram contact me there. I will be happy to help.
Will this kernel work on Z008???
Brihanalla said:
Will this kernel work on Z008???
Click to expand...
Click to collapse
Idk because i don't have z008 device
Flashed the v1.1 Kernel....no errors. Boot up phone was then stuck at ASUS logo. Tried to flash v0.4 kernel to return to stock...no errors...Boot up phone was then stuck at ASUS logo again. Thank you for consistently reminding us to take nandroid backup.
By the way ,I'm on Unofficial Cm13 MM Blob 20/09 Z00A 2GB 16ROM
puppetminds said:
Flashed the v1.1 Kernel....no errors. Boot up phone was then stuck at ASUS logo. Tried to flash v0.4 kernel to return to stock...no errors...Boot up phone was then stuck at ASUS logo again. Thank you for consistently reminding us to take nandroid backup.
By the way ,I'm on Unofficial Cm13 MM Blob 20/09 Z00A 2GB 16ROM
Click to expand...
Click to collapse
No custom kernel supports that version of mm blobs. It's because Jason broke a lot of stuff with that which was fine in the 09/03 mm bl Cm13 build.
If you want custom kernels you should stay on 09/03 build.
puppetminds said:
Flashed the v1.1 Kernel....no errors. Boot up phone was then stuck at ASUS logo. Tried to flash v0.4 kernel to return to stock...no errors...Boot up phone was then stuck at ASUS logo again. Thank you for consistently reminding us to take nandroid backup.
By the way ,I'm on Unofficial Cm13 MM Blob 20/09 Z00A 2GB 16ROM
Click to expand...
Click to collapse
I forgot to mention this kernel only works with 03/09 version. Sorry about that. I added big warning to op
oguz298 said:
Idk because i don't have z008 device
Click to expand...
Click to collapse
You can easily make it work on Z008. Just edit your defconfig to compile also a driver called CONFIG_SUPPORT_MIPI_OTM1284A_DISPLAY=y
oguz298 said:
I forgot to mention this kernel only works with 03/09 version. Sorry about that. I added big warning to op
Click to expand...
Click to collapse
No problem......but as always thanks for always reminding us jokers to always backup before doing anything.....thank you for your work....thanks to nutcase as well
This kernel, works in roms based on CM13?

[KERNEL][EOL][10][OneUI/LOS][G96xF/FD/N] RZ Kernel for Samsung Galaxy S9(+) Exynos

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.*/
RZ Kernel aims for as stock experience as possible. It is made from Samsung's stock kernel with stability updates thanks to great guys who made ELS (exynos-linux-stable) branch
It also attempts to increase overall multitasking performance while maintaining good battery life with proper settings
Features
Adapted new Samsung EMS scheduler from Samsung 4.14 kernel (with 16ms PELT)
Gaming optimizations (reduce heat while maintaining performance stability)
Disabled battery-hogging WAKELOCKS
WireGuard and DriveDroid support
Security patch fixes adapted
Thanks to corsicanu for helping me with initial kernel support
XDA:DevDB Information
RZ Kernel, Kernel for the Samsung Galaxy S9
Contributors
remilia15
Source Code: https://github.com/diepquynh/android_kernel_samsung_universal9810
Kernel Special Features:
Version Information
Status: Testing
Created 2020-04-11
Last Updated 2020-08-27
Download link: Drive folder
CHANGELOG:
20200412: Initial release
20200823 [FINAL]: Post #10
Notices and Q&A
The kernel is based on tw10-android-4.9-q branch of ELS, which is currently at stable state from my experience
Other related features of the kernel were picked from other sources. Credits belong to the owner
The kernel's energy costs table is remade in favor of new EMS scheduler
Questions and Answers (Q&A)
Q: AnTuTu scores please?
A: This kernel isn't made for benchmarks so let's not talk about it
Q: My phone gets hot while using this kernel?
A: Short answer: It's your own issue, fix it yourself. Nobody makes a kernel just to burn your hands
Long answer:
Install Termux app from Play Store
Enable screen rotation, open Termux in landspace mode
Type this command: su -c top -d 2
A list of processes will appear and refresh with 2s interval. Find which process consumes the most CPU usage with [%CPU] column and the package name in ARGS column. You should see the culprit of your issue
Reminder: There is no such thing as "I have nothing in background but the phone still heats up". There definitely something happen and 99% of the time it's some of the rogue apps running in background
Q: Can you add X Y Z feature to this kernel?
A: I want to keep the kernel clean and simple. However, if the feature is really useful, I'll consider adapting it with proper performance check before releasing
Q: Installation procedure?
A: Simply flash the kernel with supported ROM and forget. No Magisk reinstallation needed
Reversed for future usage
Another kernel for S9 devices, awesome.?
Thanks
Updated initial release with latest defconfig base for DTC5 vendor
Limit of downloadings from google...
Hey. Will this kernel Work with dtc4 vendor?
Build kernel from scratch
I need help with building kernel outside of android build system.
I have downloaded sources from here: https://github.com/LineageOS/android..._universal9810 , installed cross-compiler, configured with "make exynos9810-starlte_defconfig", build with "make". For now I have file arch/arm64/boot/Image .
How to build correct dtb and pack it with the Image file to bootable image?
Thank you.
Second public build is coming, and this will be the final build of the kernel project!
We have been going through lots of ups and downs in the testing group, so here are the results
Changes:
Fixes zram on boot
Adapted a new kernel scheduler, supporting 32/64-bit task scheduling
Critical scheduler performance fixes
Adapted newer vendor support
As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. The whole project hasn't lasted long, but it was a great time. This and the RZ Kernel project for Exynos 8895 will also be abandoned, unfortunately
Once again, thank you for all your support!
remilia15 said:
Second public build is coming, and this will be the final build of the kernel project!
We have been going through lots of ups and downs in the testing group, so here are the results
Changes:
Fixes zram on boot
Adapted a new kernel scheduler, supporting 32/64-bit task scheduling
Critical scheduler performance fixes
Adapted newer vendor support
As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. The whole project hasn't lasted long, but it was a great time. This and the RZ Kernel project for Exynos 8895 will also be abandoned, unfortunately
Once again, thank you for all your support!
Click to expand...
Click to collapse
Arigathanks! I've been using the kernel for quite sometime and I like how it's underclocked by default. What device would you be moving to?
Sad to see such a nice kernel getting abandoned.
What needs to be done to keep it updated and relevant? Would love to keep it alive.
Using this kernel with havoc os, all is good as a daily driver battery life with this combo is awesome
Revontheus said:
Arigathanks! I've been using the kernel for quite sometime and I like how it's underclocked by default. What device would you be moving to?
Click to expand...
Click to collapse
I'm still using my daily driver (S8+) and currently don't have plans buying any other devices
BackToAndroid said:
Sad to see such a nice kernel getting abandoned.
What needs to be done to keep it updated and relevant? Would love to keep it alive.
Click to expand...
Click to collapse
Perhaps you can clone my kernel repo and do something with it. The most contemplating thing is to handle future vendor updates from Samsung. The kernel might go unbootable on latest One UI at some point, so someone must be doing the stock defconfig update (that's the least requirement to boot One UI ROMs with newer vendor)
Hmmm....Usually I can verify that the kernel has been installed by checking it's build date. But it still shows the same like before. I'm running official LOS and flashed the kernel in LOS recovery. According to the log it went fine. Maybe it doesn't work with that recovery?
Edit: Ok, in TWRP it works fine.
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
It works without issues for the most part except for USB C audio output which stutters compared to stock kernel.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
I tried it. Some tweaks not working like showing download speed and reverted back the old power menu (no emergency call) which is baked in the rom and the settings menu changes like 2 battery options in the menu. One is fixed at maximum power saving and cant change while another is on the device health or something which can be change. I also found that sometimes it ramps up the clocks without any reason i still manage to get 4.5-5.3hrs of sot with light usage. The chrome is unusable since it bugged out like its inverted color and cant see sh*t.
BackToAndroid said:
Anyone tried using with the latest vendor / security patch? I'm on Alexis ROM 1.8 would love to continue using this kenel.
Click to expand...
Click to collapse
Just flashed it - seems to work fine with 1.8
UweRammelt said:
Just flashed it - seems to work fine with 1.8
Click to expand...
Click to collapse
How was the standby drain? What twrp did you use? I used 3.4.0.0 of TWRP. The chrome is super dark and cant see. Can you confirm this or im an isolated case? Do you think its because of not using twrp 3.3.1.1 that bugged mine? Hope you can help me. Thanks!

Categories

Resources