[STOCK 5.0.2] LollipopExtended Kernel for L90 - LG Optimus 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

Related

[KERNEL] [4.4] Werewolf kernel v008 [15/02/2015] SM-T210(R) and T211

Hey guys
As you already might have read in either the CM11 dev thread or the Q&A section, I am working on a custom kernel for our T210(R) and T211. It's still in a pretty early stage, but the current build is fully stable, so I thought why not share it
As I'm pretty new to this community, a few words about myself: My (only) device I have been working on is the LG Optimus 4x HD, for which I also made a custom kernel (also named werewolf kernel, who would have thought of that ). Me and 2 other fellow RDs were able to "switch" many blobs with the ones from grouper, which fixed many, many issues we were facing in 4.4 with the stock 4.1 blobs. I am the official maintainer of namelessROM and vanir for the 4x HD, and am also compiling GummyROM, LegoROM, unofficial CM 11 (using grouper blobs) and SlimKat for the 4x HD on a nightly base. And as soon as we have a proper device tree for our tab, I'm sure I can port the Tab3 to all those ROMs
Now, enough chit chatting, let's talk about the kernel
It's based on @ketut.kumajaya's blackhawk kernel (thanks again, mate ) From v004 on we are based on official KitKat sources, with some additions such as:
Features:
Various network tweaks
Entropy tweaks
I/O speed improvements
cortex a9 and neon omtimizations
Added frandom
Tweaked vm dirty ratios
Dynamic read-ahead values
Added I/O schedulers: ROW, SIO, BFQ, FIOPS, V(R)
Optimized AES and SHA1 routines
Added CPU governors: Lionheart, Adaptive, Intellidemand, Hotplug, Hyper
Reduced RAM usage from logger
Updated lowmemkiller
Overclocked to 1.420 GHz by default
Disabled vsync for better 2D performance
Overclocked GPU up to 624MHz (default 416MHz)
Custom user voltage control (CPU)
Undervolted by default (-25mV)
S2W and DT2W (WIP)
Fast Charging
KSM
Bugs:
You tell me!
Installation:
Download the kernel from HERE
Reboot into recovery (recommended to make a nandroid)
Flash the kernel zip
Recommended to wipe /cache
Reboot and enjoy!
And remember to remove phservice if you want to change some CPU/GPU settings yourself
Notes:
See 2nd post
GPL:
Kernel sources
Kernel Modules (only for v001 - v003)
Used defconfig
Used build script
Thanks:
@ketut.kumajaya for the initial kernel base
@gr8nole for general help, info and testing
XDA:DevDB Information
Werewolf kernel SM-T210/T211, Kernel for the Samsung Galaxy Tab 3
Contributors
laufersteppenwolf
Kernel Special Features: Tuned for best possible performance
Version Information
Status: Stable
Created 2014-07-21
Last Updated 2015-05-25
Tweaks and other stuff
Since v002, we have an updated lowmemorykiller. It behaves a bit snappier than the old one, also with the default minfree values. However, in case you like to tweak your device a bit to make it even more snappy (like me ), I tweaked the minfree values a bit to slightly increase the free RAM without really affecting the multitasking experience. The script can be found in the attachment. All you need to do is to extract the script and place it in your /system/etc/init.d/ folder and that's it. The values will be automatically set on boot.
UV interface
The min possible voltage is 1000mV for now, and the max one is 1400mV. If you want me to lower the min voltage, please let me know.
Also, please note, that the voltage has to be changed in 12.5mV steps. If you apply for example 1110mV, it will be rounded down to 1100mV.
Fast Charge interface
The main interface is inside /sys/kernel/fast_charge/*
/sys/kernel/fast_charge/force_fast_charge (rw)
0 - disabled (default)
1 - use custom mA configured through the sysfs interface (see below)
/sys/kernel/fast_charge/ac_charge_level (rw)
rate at which to charge when on AC (1.8A to 2.3A)
/sys/kernel/fast_charge/usb_charge_level (rw)
rate at which to charge when on USB (0.5A to 1.0A)
/sys/kernel/fast_charge/failsafe (rw)
0 - disabled - allow anything up to 2.3A to be used as AC / USB custom current (USE WITH CAUTION!)
1 - enabled - behaviour as described above (default)
/sys/kernel/fast_charge/version (ro)
display fast charge version information
New kmsg layout
From v008 onwards the kmsg looks a tiny bit different. Instead of displaying the time since boot, it logs the actual time and date.
Now, you may ask yourself: "does that any good?" Sure it does. When you encounter an issue and grab a log, you can send it my way saying "the issue happened at 15:35". It is way harder to find out the exact time (in seconds) since the device booted, right?
When changing the CPU gov, you might want to keep THIS (4.1) or THIS (4.4) in mind
Changelog:
v008 [15/02/15]
- Disabled zcache
- Added KSM (including deferred timer to save battery)
- Tweaked zRAM
- New kmsg log layout (see 2nd post for more details)
- Fixed kernel version in settings
- Disabled S2W and DT2W by default
When you flash this version, please wipe cache, otherwise bad things could happen
v007 [08/12/04] RIP Beth
- Slightly more RAM from logger
- S2W and DT2W (Still WIP)
- Decreased min possible CPU voltage to 800mV
- Undervolted by default (-25mV)
- Fast Charge support
v006 [01/11/14] MOAH CPU
- Added CPU UV interface
- OC'ed further to 1420MHz
- Max GPU freq limited to 624MHz until all issues are resolved
- Fixed init.d support on T211
v005a Minor fix
- Fixed DeviceControl GPU support
- Output all GPU freqs in Hz instead of KHz
v005 [18/10/2014] SM-T211 support
- Added support for the T211 variant (thanks to @sscsps for testing)
- Merged latest Sammy updates
- Enabled I/O accounting (only needed for devs)
- zcache enabled by default
- GPU OC up to 624MHz (default is 416MHz)
v004 [25/09/2014] Android 4.4 support
- Re-based on latest KitKat sources
- Re-added almost all features from v003
- Removed 156MHz freq step (causing trouble for still unknown reasons)
- Overclocked to 1.344 GHz (instead of 1.205GHz)
- Disabled vsync for better 2D performance
- Disabled "reboot recovery" to avoid being stuck in recovery on old recoveries (special version)
v003 [31/08/2014]
- new govs: Hotplug, Hyper
- new freq step @ 156MHz
v002 [25/07/2014]
- reduced RAM usage from logger
- new/updated lowmemkiller (see attachment in 2nd post for init.d script with tweaked minfree values)
v001 [18/07/2014]
- initial release
good work you link where ? and nice job workıng 4.1.2 ???? 4.2.2 .4.4.2 kernel android version what? @safariking [MENTION=3034891]gr8nole[/MENTION
not working dont flash ı using ultimate rom safarinking by 4.1.2 soft brick device
Not working yet hope you get it working good luck
Sent from my SPH-L720 using XDA Premium 4 mobile app
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
laufersteppenwolf said:
sorry guys, I just found the issue... my last commit breaks the GPU module so it doesn't compile, doesn't get copied over into the zip and so does not get replaced on your system, but the new kernel cannot load the stock module as I used another defconfig name...
Will be fixed ASAP
EDIT: Fixed and uploaded
Click to expand...
Click to collapse
Nice work. This kernel works. Will monitor battery life and game performance.
Sent from my SM-T210R using XDA Free mobile app
laufersteppenwolf said:
When changing the CPU gov, you might want to keep THIS in mind
Click to expand...
Click to collapse
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
big job thank can you add overclock gpu ? downclock?
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
You can check if there is OC available by installing "No-Frills CPU Control" from the google play store
a question about toolchain
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Anil Shovo said:
is there anyway to flash it on tab 3 t211 kk 4.4.2 firmware
Click to expand...
Click to collapse
I do not think so, as I'm using the ramdisk from t210, which most likely isn't compatible with t211, and sure not with 4.4.2
gr9nole said:
big job thank can you add overclock gpu ? downclock?
Click to expand...
Click to collapse
step by step
moonbutt74 said:
@laufersteppenwolf
hi, i would like to know which toolchain you used to build this kernel, a direct link to it would be helpful.
also, using the supplied defconfig can i make [defconfig] and then make -j# or are there additional things to do?
i build kernel for tab3 10 fine but setting up my system for sm-t210 is proving stubborn. there is another project going on
that i would like to learn from and help with, your help would be appreciated.
thank you for reading.
m
Click to expand...
Click to collapse
for this build, I used CM's 4.6 toolchain, but that'll change soon
I will also push the build script and modules to github ASAP, so just wait for that, as setting up the modules and stuff isn't the most pleasant thing to do
Werewolf is not playing lol so what your saying is that we will be having cm 11 and aosp all the good stuff soon ?
Sent from my SM-T210 using XDA Premium 4 mobile app
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
trazfer said:
I've used this kernel for 2 days. I have noticed the screen flickers on the 2nd day and while watching a movie (while plugged in) the tab was battery drained battery was 30% when I started watching. Can others confirm this?
Goodside. Battery life is enhanced and performance is the same. Nice work on this
Sent from my SM-T210R using XDA Free mobile app
Click to expand...
Click to collapse
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
No ir blaster
Edit: This is what I get when I open peel smart remote
laufersteppenwolf said:
I was experiencing the exact same flickering myself as well, but on stock kernel
This flickering isn't kernel related, but ROM related. Sammy must have screwed up the auto backlight handling, as it only happens at some certain brightness values
Click to expand...
Click to collapse
He is tottaly right, also sometimes when you are using this tab, the screen locks by itself
Ripshock said:
No ir blaster
Edit: This is what I get when I open peel smart remote
Click to expand...
Click to collapse
Check your build.prop to see what the ro.build.product shows.
gr8nole said:
Check your build.prop to see what the ro.build.product shows.
Click to expand...
Click to collapse
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Ripshock said:
I am using stockrom series with a build for sm-t210 but I have used device spoofer and spoofed my original build sm-t210r
Click to expand...
Click to collapse
It works for me with the stock firmware/rom with this kernel.

[KERNEL][D410 & D405][STOCK 5.0.2] LollipopExtended KERNEL

[D410 & D405] LollipopExtended KERNEL​
ONLY FOR LG D410/LG D405 WITH STOCK-based ROMs!
KERNEL COMPILED USING LINARO CORTEX-A7 4.9.3 TOOLCHAIN!
My changes in kernel:
Added CPU overclock to 1.6 GHz/underclock to 192 Mhz (default CPU freqs is 0.3-1.2 GHz, so you need to set up overclock and underclock in Kernel Auditor)
[*]Added GPU overclock to 533 MHz*/underclock to 100 MHz
[*]Added support for FAST CHARGE function (disabled by default - for enable use Fast Charge)
[*]Default governor changed to ondemand
[*]Added new CPU governors: CONSERVATIVE, INTERACTIVE, INTELLIDEMAND, INTELLIACTIVE, INTELLIMM, ZZMOOVE, YANKACTIVE, SMARTMAX, IMPULSE, ALUCARD, ADAPTIVE, WHEATLEY, DANCEDANCE, LIONHEART, SMARTASSV2 - experimental, on default parametres cpu works on max freq!
[*]Added some new I/O shedulers: BFQ, SIO, SIOPLUS, FIOPS, FIFO, VR, ZEN.
Added support for Faux Sound Control (v3.4) function (to set it up use: FauxSoundControl App)
Added support for intelli_plug (v3.8) (setting in the Kernel Auditor -> CPU Hotplug)
* - may work incorrect sometimes, so for most perfomance in games I recommend you to turn GPU governor to "perfomance".
Information
Developer: Nikita Pro Android
Just for STOCK-5.0.2 ROM and which based on STOCK.
Kernel version: 3.4.0
I compiled kernel from official kernel source code L90
Installation
1. Download and put to storage:
D410: >>>LINK<<< (v2.0)
D405: >>>LINK<<< (v2.0)
2. Go to recovery and wipe cache.
3. Flash downloaded .zip and reboot.
4. Reboot again!
5. This is all.
OLD VERSIONS:
D410:
v1.1 - https://yadi.sk/d/PKys5ToBgY3ym
D405:
v1.1 - https://yadi.sk/d/jf06noYHgZZvx
XDA:DevDB Information
LollipopExtended kernel, Kernel for the LG Optimus L90
Contributors
Nikita Pro Android
Source Code: https://github.com/NikitaProAndroid/android_kernel_lge_msm8226_w7ds/tree/lollipop-5.0.2
Kernel Special Features:
Version Information
Status: Stable
Created 2015-05-11
Last Updated 2015-05-11
D405 support will be added soon.
This is really nice
Thanks
Just a quick correction. OP states the kernel version is 3.4.10, but it is actually 3.4.0. Just want to avoid any confusion
Sent from my LG-D415
Question do u experience and boost in performance when clocked at 1.6
---------- Post added at 11:23 PM ---------- Previous post was at 11:17 PM ----------
also is selinux set to permissive ?
santitasheart said:
Question do u experience and boost in performance when clocked at 1.6
---------- Post added at 11:23 PM ---------- Previous post was at 11:17 PM ----------
also is selinux set to permissive ?
Click to expand...
Click to collapse
No, not very big perfomance. To enable selinux you should use special app.
Added support for LG D405 model!
Kernel version fixed to 3.4.0 (thanks @CaptivateKing )
Thanks for this! Testing it on D405n, so far so good!
I have a d405n and my kernel version says Unavailable
It does not support nfc.
It is possible to add support in d405n?
Tanks
Nikita Pro Android said:
Added support for LG D405 model!
Kernel version fixed to 3.4.0 (thanks @CaptivateKing )
Click to expand...
Click to collapse
Hi, Thank You for your best project.
Can you add USB OTG to your Kernel?
Download link is broken.
Iamnottheoneuknow said:
Download link is broken.
Click to expand...
Click to collapse
Both links are working on my end
Sent from my LG-D415 using XDA Free mobile app
OK is good now. I had to use IE to download, on Opera download does not work.
filipealexandre93 said:
I have a d405n and my kernel version says Unavailable
It does not support nfc.
It is possible to add support in d405n?
Tanks
Click to expand...
Click to collapse
So there is one defconfig for w7n device, I think it is what for yours D405n.
Farshadvh said:
Hi, Thank You for your best project.
Can you add USB OTG to your Kernel?
Click to expand...
Click to collapse
Our hardware doesn't support OTG so it'll be useless in kernel.
On the moto g, overclocking the msm8226 in that phone was proved to be a placebo. Is this true for other devices using the msm8226? I am considering adding overclock to my d415 kernel.
Yes it is
zowpow said:
On the moto g, overclocking the msm8226 in that phone was proved to be a placebo. Is this true for other devices using the msm8226? I am considering adding overclock to my d415 kernel.
Click to expand...
Click to collapse
It will get you only less battery life, not very big perfomance. I plain to remove overclocking from my kernel in next version.
sometimes overclocking could be useful, in my case i decompress and re-compress zips and the performance with es file explorer is better with oc, you should change clocks default to 1.2 but set oc optional
sergioslk said:
sometimes overclocking could be useful, in my case i decompress and re-compress zips and the performance with es file explorer is better with oc, you should change clocks default to 1.2 but set oc optional
Click to expand...
Click to collapse
That would only be true if the overclocking method was full proof. Right now it's all placebo. I've ran multiple benchmarks on this chipset at 1.6GHz vs 1.2GHz, and they performed exactly the same. This chipset is locked on stock frequencies for the time being
Sent from my LG-D415 using XDA Free mobile app

[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][M/N][AOSP/LineageOS/MIUI][Linaro 4.9] KaminariKernel R4 [04 March 2018]

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.

[KERNEL][N/O] Pure

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.
Please read completely this thread before using for minimize faq.
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!
Click to expand...
Click to collapse
Requirements
BACKUP your Boot.img and ROM Before flash this Kernel.
Unlock Bootloader as well
Latest Firmware
Latest TWRP
you need Wipe dalvik/art cache
Features
Using Official XIAOMI Patch(part)
Support AOSP/Los (Nougat/Oreo)
24 Cpu Governors
13 i/o scheduler
all TCP schedulers
Overclocked CPU frequencies (BIG CPU upto 1.8GHz, LITTLE CPU upto 1.2GHz).
GPU overclock support upto 635MHz
Support F2FS only on AOSP Nougat/Oreo
KCAL advanced color control
Enable 50 MHz GPU Frequency
Software CRC control is Off
Implement DT2W/S2W
zram
Zwap
Frontswap
z3fold
Gentle fair sleepers
Arch power option
Better audio drivers
Enable chacha20
Add Qnovo Interface for QNS
intelli-Thermal
65hz screen
Simple GPU Algorithm.
dynamic sync control
CPU voltage control.
replace urandom pool with a CRNG
adrenoboost
add adreno_idler
added uksm
added usb force fast charge.
added sound control
add more hotplug:AutoSMP alucard zen_dicision msm_hotplug blu_plug thunderplug
added Wireguard
added boeffla wakelock blocker
added frandom
added fingerprint booster
more
Bugs ?
If you find bug, please go to GitHub and submit bug
Credits
(Not in order)
bitrvmpd
Nik001
Francisco Franko
LuizPauloDamaceno
Flar2
mostafa-z
LuanHalaiko
arter97
Vvr-RockStar
aviraxp
ryan-andri
HridayHS
Planet-X
djb77
Alucard_24
AshishM94
morogoku
Tell me if i miss someone else
Donations
i spend some hours to build this kernel. if you like my work you can buy me a coffee
ko-fi.com/imimzf
Downloads
t.me/pure_kernel
Source Code: github.com/imzf/pure
Status: Dev
Hi Dev , Will 65hz screen works on every redmi 4x Modal ?
Cybertron[emoji769 said:
;75941498]Hi Dev , Will 65hz screen works on every redmi 4x Modal ?
Click to expand...
Click to collapse
yes,65 is currently best, 66 will appear screen offset
通过我的 Redmi 4X 上的 Tapatalk发言
why there is no normal (without external login) download link?
szafa said:
why there is no normal (without external login) download link?
Click to expand...
Click to collapse
Because I don't have permission
通过我的 Redmi 4X 上的 Tapatalk发言
Waiting for reviews
Bootloop on miui eu dev 8.5.13 after change from Clarity 2.5
szafa said:
Bootloop on miui eu dev 8.5.13 after change from Clarity 2.5
Click to expand...
Click to collapse
Current support for miui is not very good, need to brush driver package. If you want to brush into another kernel, you must firs trestore to stock boot.img。
通过我的 Redmi 4X 上的 Tapatalk发言
In browsers based on chromium when watching a video, noticed artifacts, the same were on LH Kernel and simple kernel. Display Ebbg. They do not appear very often, in the form of a brief appearance of a gray bar in any part of the screen
imzf said:
Current support for miui is not very good, need to brush driver package. If you want to brush into another kernel, you must firs trestore to stock boot.img。
Click to expand...
Click to collapse
I restored stock kernel first, then flash your kernel and like befere i have bootlop. After that I flash Clarity kernel and all is ok.
btw. Your Topic is in wrong forum category.
Where download link?
Need link
Anybody please mirror the link..
he, sorry for my English.... you can do this kernel for PIE ARROW CUSTOM ROM 30 09 2018...THANKS
Anyone tested on Nougat? Will give trouble if we clear cache and dalvik and flash it over clarity?
Link?
Bro can you make kexec hardboot supported kernel.
What is meant by fingerprint booster?
Sent from my Redmi 4X using XDA Labs
miui support?
Did anyone tried this with pie???

Categories

Resources