[KERNEL][5.x]elementaryKernel v1.1 - Moto G Original Android Development

This is supposed to be a clean Lollipop kernel without hybrid updates. Most of the modifications will consist of added features like DT2W, SoundControl etc.
Features:
DoubleTap2Wake v2
Pocket Guard
SoundControl
LCD Kcal Control
FastCharge
Powersuspend v1.6
Intelliplug
Intellithermal v2
ARMv7 optimizations
Asynchronous Fsync
FIOPS I/O Scheduler
Interactive governor finetuned
Faux's Simple GPU Algorithm
GPU Overclock to 533 MHz
Notes:
This kernel is not for those who want a lot of customization settings. The kernel is already finetuned enough to work out of the box.
Everything is done this way because I compiled this kernel only for personal use. I decided to publish it because all the other kernels are using the old DT2W module and are having problems.
I'm not willing to add other governors, schedulers or features that I don't think will make a significant difference.
DoubleTap2Wake and Pocket Guard enabled by default
Pocket Guard turns off the touchscreen and the power button when the proximity sensor is covered to avoid accidental unlocks when the phone is inside the pocket and cuts off the power for the touchscreen after the proximity is covered for at least 5 seconds to avoid turning the touchscreen on and off continuously.
DT2W is optimized for low power usage
SoundControl has modified Quality preset already applied for those who can't afford Faux's app
FastCharge is not a module that can be turned on and off. It is a line of code inside the USB driver that sets the charging voltage to 1500mA on every compatible charger
MPDecision is disabled by default and replaced by Intelliplug
The kernel is using CM12 ramdisk. If you encounter incompatibility problems with other ROMs, you will have to unpack and repack the ramdisk by yourself.
Changelog:
1.1
Force SELinux Permissive mode for Xposed compatibility
Add GPU Overclock to 533 MHz
Add Faux's Simple GPU Algorithm
Downloads:
elementaryKernel 1.1 02/19
XDA:DevDB Information
elementaryKernel, Kernel for the Moto G
Contributors
alin.p
Source Code: https://github.com/alin23/android_kernel_motorola_msm8226
Kernel Special Features: DoubleTap2Wake, Pocket Guard
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2015-02-18
Last Updated 2015-02-19

Thanks to share your work I'll test your kernel today later...
---------- Post added at 05:23 PM ---------- Previous post was at 04:58 PM ----------
I just try to flash it but no way I have an error under cmw ....

Re-upload the zip
File manager showing file is corrupted. I tried 2-3 times but still same error

abhi0502 said:
Re-upload the zip
File manager showing file is corrupted. I tried 2-3 times but still same error
Click to expand...
Click to collapse
+1
Sent from my Moto G using XDA Free mobile app

hello,
the .zip file is corrupt, Re-upload the file thank you

I so wanna try this, ill flash cm12 just because of it

Is it compatible with stock 5.02 asia

Glad to see you here Alin. (A former Galaxy Mini owner.)
And yeah, the zip seems to be corrupted.

File corrupted also by me please could you re upload ....

abhi0502 said:
Re-upload the zip
File manager showing file is corrupted. I tried 2-3 times but still same error
Click to expand...
Click to collapse
+1
Sent from my Moto G using XDA Free mobile app[/QUOTE]

Can we not clutter the thread wit the same post?

Fixed upload
Sorry for the delay. I fixed the upload. I don't know what happened.
By the way, I didn't test but I don't think it is compatible with stock lollipop. I tested it on CM12, SlimLP and AOSPA and it works.

Works on stock ROM 5.0.2 on a XT1032?

Thanks this time I could flash it hope battery drain will be ok ...I'll report later

Wroking fine
please only add GPU overclock to 550mhz

Does it works on stock 5.0.2 brazilian ?

ATTENTION TO EVERYONE!!!!
NO, this kernel DOES NOT WORK ON ANY STOCK OR STOCK BASED ROM! IT is impossible because a kernel for stock rom needs to be compiled from motorola's kernel source, and motorola didnt release any source for lollipop yet! Please stop asking if this kernel works on stock because it doesnt and don't even try to flash it because you're only gonna end up with a boot loop! THANK YOU!
---------- Post added at 11:59 PM ---------- Previous post was at 11:55 PM ----------
I have a question @alin.p, would it be possible if you add a setting to completely disable the power button except for rebooting? Im asking this because i wanna force myself to use s2w and s2s but i always just use the power button. I'm just asking if that would be possible, not telling you to add it

DeHuMaNiZeD said:
ATTENTION TO EVERYONE!!!!
NO, this kernel DOES NOT WORK ON ANY STOCK OR STOCK BASED ROM! IT is impossible because a kernel for stock rom needs to be compiled from motorola's kernel source, and motorola didnt release any source for lollipop yet! Please stop asking if this kernel works on stock because it doesnt and don't even try to flash it because you're only gonna end up with a boot loop! THANK YOU!
---------- Post added at 11:59 PM ---------- Previous post was at 11:55 PM ----------
I have a question @alin.p, would it be possible if you add a setting to completely disable the power button except for rebooting? Im asking this because i wanna force myself to use s2w and s2s but i always just use the power button. I'm just asking if that would be possible, not telling you to add it
Click to expand...
Click to collapse
Thanks
---------- Post added at 02:57 AM ---------- Previous post was at 02:41 AM ----------
great works

Mukesh099 said:
Is it compatible with stock 5.02 asia
Click to expand...
Click to collapse
No its only for CM12 based Roms

Thank you for releasing this, was missing my DT2W.

Related

[Kernel][N5110 / N5120 / N5100] DracoKernel r1

Supports all AOSP / CM based KitKat ROMs (Be sure to download the correct version)​
WARNING!: ​Only flash the kernel for your device, flashing the wrong kernel can/will lead to hard brick. Never try to install the 5110/5100 on to the 5120 and never install the 5120 on to the 5110/5100.​I recommend Trickster MOD and No-frills CPU Control to customize the kernel. ​
Use at your own risk.
Be sure to make a full nandroid backup before flashing.​I am not responsible for any damages that may occur.​
Features:
Linux 3.0.71
OC & UV support for CPU and GPU
Max CPU speed is 1920MHz
Max GPU speed is 700MHz
Exfat support
DynamicFSYNC
Governors: Adaptive, Pegasusq(default), Interactive, Powersave, Performance, Ondemand, Userspace, LulzActivQ, SmartassH3, ZZmoove.
ARCH-Power enabled
ZRAM
Dynamic read-ahead
Hotplugging enable/disable
TriangleAway Support
j4fs support
Frontswap Support
Click to expand...
Click to collapse
Downloads: DracoKernel
You will see two folders "Normal ROMs" and "Alternate ROMs"
Use the normal one if you are running: CM, AOSB, Slim, or Beanstalk.
Use alternate if you are running: Carbon or Omni
Since PAC adds its own custom frameworks, it will have its own version.
If you flash the wrong one, you will be stuck on the bootanimation. Easy fix, just go flash the other one.
Installation:
Flash in recovery.
Then flash SuperSU
Goals of this kernel:
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. It aims more for a good mix of all, not sacrificing stability and functionality in the end. With that being said, I am open to any suggestions and contributions, but I will only implement it in if it makes sense to me and does not hinder one's experience using this as a daily driver. Also, try to limit talk of benchmark scores because they do not accurately depict real life experience.
Source: https://github.com/ryukiri/DracoKernel
XDA:DevDB Information
[Kernel][N5110 / N5120 / N5100] DracoKernel, a Kernel for the Samsung Galaxy Note 8.0
Contributors
ryukiri
Kernel Special Features:
Version Information
Status: Testing
Created 2014-02-23
Last Updated 2014-05-03
Reserved
Changelog:
2.22.2014
Initial Release
Reserved
To Do:
Make sure it compiles with linaro and -O3 optimizations
BLN support
Check Boeffla sound problem
Doubletap2wake (low priority since our hardware limitations will cause it to have massive battery drain)
USB OTG
Touchwake(?)
Patch up to Linux 3.0.101
Dual boot (not sure since I don't use it much, but i may implement it in the future)
Suggestions?
Click to expand...
Click to collapse
For more responses , you should make a recovery flashable zip, for the noobs and for people with no pc
Dexxmor said:
For more responses , you should make a recovery flashable zip, for the noobs and for people with no pc
Click to expand...
Click to collapse
people could always use mobile odin though.
mobile seem not working on the current nightly, so unable to flash
Gekritzelt von meinem Note 8
Dexxmor said:
For more responses , you should make a recovery flashable zip, for the noobs and for people with no pc
Click to expand...
Click to collapse
Yeah, I was planning to so flashable zips in the future. This first release is like a beta. I need to make sure all 3 variants work properly. You have the n5100 right? I heard from tejkkarani that it takes forever to boot so hold off on flashing for now. (Great if anyone else could confirm this) I'm going to take a look at it today.
Sent from my GT-N5110 using Tapatalk
ryukiri said:
Yeah, I was planning to so flashable zips in the future. This first release is like a beta. I need to make sure all 3 variants work properly. You have the n5100 right? I heard from tejkkarani that it takes forever to boot so hold off on flashing for now. (Great if anyone else could confirm this) I'm going to take a look at it today.
Sent from my GT-N5110 using Tapatalk
Click to expand...
Click to collapse
:cyclops:I have a N5100 also also waiting to try out kernel
matthewtech770 said:
:cyclops:I have a N5100 also also waiting to try out kernel
Click to expand...
Click to collapse
Can you test it?
ryukiri said:
Can you test it?
Click to expand...
Click to collapse
Cool I will i see it's a .img format how do I install this I think I know I have to replace the img in a CM11 I have downloaded and switch out the img and then reflash the CM11 rom right
matthewtech770 said:
Cool I will i see it's a .img format how do I install this I think I know I have to replace the img in a CM11 I have downloaded and switch out the img and then reflash the CM11 rom right
Click to expand...
Click to collapse
I sent you a PM. Its recommended to use Heimdall, but that way might work. Try it. I'll try to get a flashable zip asap. Computer is compiling a new ROM right now so I'll see after that.
EDIT: The flashable zip should be available soon. I'm testing it on my n5110. Check your PM in a few mins.
EDIT2: Sent you a PM, can you test it now?
ryukiri said:
I sent you a PM. Its recommended to use Heimdall, but that way might work. Try it. I'll try to get a flashable zip asap. Computer is compiling a new ROM right now so I'll see after that.
EDIT: The flashable zip should be available soon. I'm testing it on my n5110. Check your PM in a few mins.
EDIT2: Sent you a PM, can you test it now?
Click to expand...
Click to collapse
I flash the n5100 zip you sent me tab is still booting just the cm11 circle spinning around :crying:
matthewtech770 said:
I flash the n5100 zip you sent me tab is still booting just the cm11 circle spinning around :crying:
Click to expand...
Click to collapse
I apologize for the inconvenience. Just realized that this kernel does not work on anything but PAC. Therefore, I will spend a lot more time testing before releasing again. Thread will be closed until further notice.
Thread re-opened. Figured out the problem faster than I initially expected. Downloads are up for the N5110. I have personally tested them on the ROMs we have. There are two different versions for now so please download the correct one. Enjoy!
FYI: N5100 builds will start shortly (approximately 12-24 hours from now or so), and N5120 will start a day or two after that.
Edit: N5100 should be ready now.
Using on CM 11 (cm-11-20140226-NIGHTLY-n5100.zip) .. not bootloop for me. Works perfectly. As I have installed it just now cant comment on the performance or battery life. Using GravityBox (KK) with Xposed Framework. Didnt face any issues yet.
working with AOSB 1.3.0 on N5100 from 23rd February 2014 , no problem so far.
Boeffla sound app not support please fix
Is your kernel name is dirty Austin?
---------- Post added 27th February 2014 at 12:08 AM ---------- Previous post was 26th February 2014 at 11:59 PM ----------
Boefllia sound restarting the tablet not working art all
Kernel works good at my end (newest nightly). Good job
Gesendet von meinem Nexus 4 mit Tapatalk
rowihel2012 said:
Boeffla sound app not support please fix
Is your kernel name is dirty Austin?
---------- Post added 27th February 2014 at 12:08 AM ---------- Previous post was 26th February 2014 at 11:59 PM ----------
Boefllia sound restarting the tablet not working art all
Click to expand...
Click to collapse
whoops, just checked the code. I forgot to enable it in the defconfigs (files and everything are all in place though). I'll enable it next release. And no its not, I'm going to change the name to DracoKernel in future releases. Currently, thats not too high on my priority list.
Edit: Boeffla sound may take a while. Enabled it but app isn't recognizing that the kernel has the feature..
EDIT! nevermind, i'm an idiot, lol. thanks for this kernel by the way! definitely kicks major ass!

[KERNEL]Lightning kernel cm11

Lightning kernel
this kernel is made for cyanogenmod 11 roms and i take no responsibility if you brick,destroy your device due to this kernel
features
sound control 3.2
gpu overclock to 627mhz
intelli thermal
cpu overclock upto 1836mhz(disable mpdecision)
compiled with linaro 4.9.1
added intelliactive,intellidemand,preservative,hyper,wheatley,lionheart governors
row,fiops,tripndroid io schedulers
undervolting
sweep to wake and double tap to wake
auto mpdecision (turn off stock qcom mpdecession)
sound stuttering fixed(zzz sound while hearing music)
Motorola MSM memcpy enhancements
cpu unallingnment access
kernel mode neon
exfat support
gpu voltage control
multi rom by Olivier (sony 233 blobs)
81mhz lowest cpu frequency
more to come
source code https://github.com/nikhil18/android_kernel_sony_apq8064
installation instructions
flash the zip in recovery
for extreme overclocking disable qcom mpdecision
Setting custom GPU Voltages via sysfs
NB:
- Safe lock is present on MIN/MAX values:
Quote:
#define GPU_MIN_VDD 900000
#define GPU_MAX_VDD 1200000
The default GPU voltages are:
Quote:
+ [VDD_DIG_NONE] = 0,
+ [VDD_DIG_LOW] = 975000,
+ [VDD_DIG_NOMINAL] = 1075000,
+ [VDD_DIG_HIGH] = 1175000
Verify the actual settings:
Quote:
cat /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
975000
1075000
1175000
Adjust to desired values and verify:
Quote:
echo "930000 1000000 1100000" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_mv_table
compatible roms
carbon rom
beanstalk rom
AICP kk rom
aokp rom
cm11 rom
more testing needed
credits
doomlord for kernel building instructions
jeroenqui for meow kernel
thomas1991_12 for linux patches and features
cyanogenmod for kernel source
Tommy-Geenexus for guidance
faux123 - For almost all kernel features
BrateloSlava-for many features and guidance
naitik2012-for testing
twrp ramdisk-Angel bob
XDA:DevDB Information
Lightning kernel, Kernel for the Sony Xperia Z
Contributors
nikhil18
Kernel Special Features:
Version Information
Status: Testing
Created 2014-07-10
Last Updated 2014-09-22
changelog
sony 233 blobs.
version 0-initial release
version 1-added intelliplug,gpu overclocking,linux patch to 103,gpu simple governor,gpu voltage control,cd rom emulation .
version 2 - added lot of governors,f2fs support,exfat support and hopefully wifi fixed
version 3-added gpu overclock 627mhz,added tweaked CPU auto_hotplug driver,patches for improved CPU hotplug efficiency and at last finally wifi 100% fixed and this is the biggest update of this century
version 4-added kexec hard boot(multi rom) thanks to Olivier ,added multirom twrp recovery,fixed gpu simple governor,changed to xz compression.
version 5-fixed multirom,added row schedule and i have released two versions with autosmp and intelliplug.
version 6-added row sched,500ma charging for unknown chargers,fast charge,disabled some debugging for better performance,fixed sound stuttering if its there.
version 7 - added 81 and 270 mhz cpu frequencies,vfp hardfloat for better performance,set westwood tcp as default added many tcp congestion controls eg reno,highspeed,htcp,illinois,scalable and many more.
version 8-.283 blobs added,added interactive gpu governor,anykernel,fixed cd rom emulation,sound control 3.6 and for more you can check the commits.
downloads
Ok guys uploaded version 8 autosmp version here http://d-h.st/FwM enjoy
faq
Q1 low frequencies like 81mhz not sticking
Ans turn on frequency lock in trickstermod
Q2 if you are having random reboots?
Ans lower the max freq to 1512000 and increase the min frequency to 384mhz
nikhil18 said:
can any one please upload latest cyanogenmod boot.img so that i can extract the ramdisk and upload the kernel
Click to expand...
Click to collapse
http://www.infectedbuilds.net/downloads/yuga/cm_11/latest_boot_img/
Maybe this could help.
Very interesting. I'll test it as soon as you upload.
Can you add "true CD-ROM emulation interface" feature? DriveDroid is very useful for me.
version 1 uploaded
i dont have an xperia z so i am not sure it will boot or not
m0b said:
Very interesting. I'll test it as soon as you upload.
Can you add "true CD-ROM emulation interface" feature? DriveDroid is very useful for me.
Click to expand...
Click to collapse
i will try to add this if the kernel boots
nikhil18 said:
version 1 uploaded
i dont have an xperia z so i am not sure it will boot or not
Click to expand...
Click to collapse
It boots but GSM doesn't work (returns error while searching network). Everything else seems fine.
Tested on Beanstalk 4.4.4.001 which is based on CM11. I'll test on CM11 later if it's necessary.
m0b said:
It boots but GSM doesn't work (returns error while searching network). Everything else seems fine.
Tested on Beanstalk 4.4.4.001 which is based on CM11. I'll test on CM11 later if it's necessary.
Click to expand...
Click to collapse
thats a very old build try the latest cm
guys any one else having this problem
Graphic bugs (screen tearing when scrolling) and wifi not turning on on Thomas' CM11.
Testing on Infected's CM11 now.
guys try carbon rom by Alx31TLse
@nikhil18
You shouldn't use -Ofast Optimisations.
They do more harm rather than bringing any benefits.
Gesendet von meinem C6603 mit Tapatalk 2
---------- Post added at 04:32 PM ---------- Previous post was at 04:30 PM ----------
olex195 said:
Graphic bugs (screen tearing when scrolling) and wifi not turning on on Thomas' CM11.
Testing on Infected's CM11 now.
Click to expand...
Click to collapse
You shouldn't use this kernel on thomas rom, the new drivers aren't added.
Gesendet von meinem C6603 mit Tapatalk 2
nikhil18 said:
thats a very old build try the latest cm
guys any one else having this problem
Click to expand...
Click to collapse
First of all Thank you so much... i cant believe on my eyes when i saw first thread in OG development forum with name "lightning kernel cm11 " ..
your kernel have all the features i wanted , specially Sound control , CPU OC & Undervolting..
m really happy to see that we have working CM11 custom kernel with so many features.
btw Thomas's latest CM11 kernel source > https://github.com/daeiron/android_kernel_sony_apq8064 may be it will help u
Keep developing and Thanks again
delete
Working flawlessly on Carbon ROM :good:
Performance has increased at least 2x.
Just one issue, GPU overclock does not stick, it resets to 400 after a while. (I use trickster mod)
PS: Doesn't work with PAC ROM.
Also works with Beanstalk( Fastboot flashed the boot.img)
venky716 said:
Working flawlessly on Carbon ROM :good:
Performance has increased at least 2x.
Just one issue, GPU overclock does not stick, it resets to 400 after a while. (I use trickster mod)
PS: Doesn't work with PAC ROM.
Click to expand...
Click to collapse
are you using carbon rom by Alx31TLse?
how about battery life?
@nikhil18, i cant express my grattitude for your kernel, i confirmed alls working on latest AICP 4.4.4 KK, has everything i wanted, super fast, response is just simply amazing, i do also however face clocks reverting over time even when i manually clock via system files, but probably os doing it, thank you so much finally a KK kernel that supports everything.. If i can do anything to contribute or help please let me know, will bug report in a couple of days.
Sent from my Xperia Z using XDA Premium 4 mobile app
corpsegrinder62 said:
@nikhil18, i cant express my grattitude for your kernel, i confirmed alls working on latest AICP 4.4.4 KK, has everything i wanted, super fast, response is just simply amazing, i do also however face clocks reverting over time even when i manually clock via system files, but probably os doing it, thank you so much finally a KK kernel that supports everything.. If i can do anything to contribute or help please let me know, will bug report in a couple of days.
Sent from my Xperia Z using XDA Premium 4 mobile app
Click to expand...
Click to collapse
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu and turn off stock mpdecision
nikhil18 said:
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu
Click to expand...
Click to collapse
Thanks i will do, the 192mhz on standby is surprisingly very stable, everything is great so far only things not working that i see are d2w and s2w.. You can enable them , i did with trickster mod, but doesnt work.. Only bugs ive spotted..Thanks again xD
Sent from my Xperia Z using XDA Premium 4 mobile app
nikhil18 said:
just copy the sysmon file i have uploaded in the second post to system/etc for proper overclock or you can edit the file yourself but dont burn your cpu and turn off stock mpdecision
Click to expand...
Click to collapse
Hi
m facing graphic and wifi issue in latest CM11.. can u pls solve those issue
Thanks
naitik2012 said:
Hi
m facing graphic and wifi issue in latest CM11.. can u pls solve those issue
Thanks
Click to expand...
Click to collapse
If you installed custom kernel with custom WiFi libs then just reflash ROM and then install this kernel and WiFi will work.

[Kernel] [Falcon] [CM,liquid,vanir,slim,omni] [LINARO] [Version: 1.3]

My kernel for moto g. I dont like bloated OP's so i will make this short
Features:
intelli-plug
linaro 4.9 built
frandom
15+ governors
lots of io schedulers
LMK tweeks
kexec multi rom patch
LZ4 compression
disabled some debugging to reclaim more ram
more i forgot but is all on my git here: https://github.com/cannondalev2000/kernel_motorola_msm8226/commits/kk44?page
downloads will be here: http://www.drdevs.com/devs/cannondalev2000/InSaNiTy/
there may be some times where i upload and dont post on here in that case look at my git for changelog and additions
also dont ***** to me if this bricks your phone because its not possible and i can not be held responsible if you brick flashing this in any way
that is all. flash and enjoy
mine
At least a kernel without dt2w. That's my kernel!
Cool one more kernel for my moto g..will check and revert..
I've lost wifi connection. Any problem with wifi modules? I'm on Mahdi rom
Finally a kernel that works on the latest Carbon Nightly (CARBON-KK-NIGHTLY-20140828-0903-falcon). WIFI and camera working, Trickster mod settings sticks!!
Thank you!! @cannondaleV2000
Awesome!
Thank you for the kernel!
Working fine on PA 4.6 Beta1
1- Awesome kernel, thank you so much for your work and the camera feels better than before...
2- Bugs:
Simple ondemand doesn't work, the phone reboots.
3- Request:
Can you add (if is possible) underclock to 192MHZ?
Thanx for this amazing kernel @cannondaleV2000 but the download link isn't opening...Plz solve this issue....Dying to try it
Can someone upload the build and post it here,or pm it to me.
Provided link doesn't work.
Absolutely fantastic kernel! Pretty barebones but very smooth performances.
---------- Post added at 09:02 PM ---------- Previous post was at 08:58 PM ----------
Akshay7273 said:
Thanx for this amazing kernel @cannondaleV2000 but the download link isn't opening...Plz solve this issue....Dying to try it
Click to expand...
Click to collapse
CrysiZ said:
Can someone upload the build and post it here,or pm it to me.
Provided link doesn't work.
Click to expand...
Click to collapse
http://d-h.st/1ww
justanicename said:
Finally a kernel that works on the latest Carbon Nightly (CARBON-KK-NIGHTLY-20140828-0903-falcon). WIFI and camera working, Trickster mod settings sticks!!
Thank you!! @cannondaleV2000
Click to expand...
Click to collapse
No WIFI for me.
I got a perfect kernel for my g
Sent from my Moto G using XDA Premium 4 mobile app
There will be a stock version of the kernel?
Thank you very much
Finally I'm able to taste multirom feature because of inSaNiTy kernel (none of the kernels were compatible)
Device : 1033xt GPE converted version
I will to test it. Thanks
why this file is so big?
I found one .ko file almost 32 mb in zip file..
why this file is so big?
sorry guys the download link was down for a bit as the server i use was down for a while. all is good now
Deleted
Deleted..
the .ko file is so big because being built with linaro 4.9 increases the size of the code output. and dont link to other kernels in my kernel thread -_-

[KERNEL][5.0]TOO LAZY TO PICK FANCY NAME FOR THE KERNEL[20161029]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Introduction/About
Got an old unused zenfone 5 from my brother and I've compiled this kernel because i'm not satisfy with some of the available kernel so far. Nothing fancy, just a (hopefully) stable kernel for stock lollipop or custom rom based on stock lollipop.
Click to expand...
Click to collapse
Features:
Like i said, nothing fancy lol. Things that i've modified/added:
Updated interactive cpu governor and fine tuned its parameters.
Enabled conservative cpu governor and disabled userspace cpu governor.
Added zendecision cpu hotplug helper.
Updated cfs scheduler.
Added bfq disk io scheduler and made it as default on booting.
Enabled all tcp congestion control and made westwood as default on booting.
Added power efficient workque support. Should help with battery life.
Added quick wakeup driver support. Should help with battery life.
Added async fsync support. Should help with battery life and perfomance.
Enabled joystick game controller support.
Enabled usb serial driver support.
Enabled zram driver support and made it use 256mb on booting. Should help with perfomance.
Enabled powerclamp and rapl driver for intel thermal daemon support. Should help minimize heat.
Enabled ntfs driver with read/write support.
Enabled cifs and smb network drive driver support.
Added exfat-nofuse filesystem driver support with proper automount on booting.
Enabled zenmotion dt2w support.
Made selinux mode as permissive on boot. This fixed the dreaded signal loss issue.
Added proper init.d support in ramdisk, with proper permission setup before running scripts.
Probably many, many other things i forgot to list here...
Click to expand...
Click to collapse
Changelog:
20161029
- Removed hotplug cpu governor. Hotplug cpu governor or hotplug driver are too buggy on zf5, sometimes the turned off cpu are never turn back on again.
- Fined tuned interactive cpu governor.
- Added and enabled bfq disk io scheduler and made is as default on booting.
- Updated lowmemorykiller driver.
- Enabled proper config for intel powerclamp driver.
20161024
- Added hotplug cpu governor and made is as default cpu governor on booting.
- Updated interactive cpu governor.
- Added zendecision cpu hotplug helper.
- Updated cfs scheduler.
- Removed the selinux permissive mode script.
20161018
- Removed intel cpu governor. Its unstable.
- Made interactive as default cpu governor on booting.
20161018
- Added intel cpu governor and made it as default on booting.
- Removed autosmp.
- Enabled rcu boost.
- Changed kernel hz from 100 to 300.
- Enabled many, many networking option.
- Added script in ramdisk to always set selinux to permissive mode.
20160926
- Prepatched ramdisk to support magisk v6.
- Changed default tcp congestion control to westwood.
- Disabled rcu boost. It made switching mobiledata on/off became slow.
20160921
- Using ramdisk from the latest .87 lollipop stock kernel.
- Finally fixed sdcard automounting.
- Fixed wifi hotspot not starting.
- Enabled rcu boost.
20160908
- Enabled zram.
- Further attempt to fix sdcard automounting.
- Added quick wakeup driver.
- Enabled joystick game controller support.
- Enabled usb serial support.
- Added async fsync.
20160904
- Disabled zram..
20160903
- Fixed simcard turned unavailable after signal loss, can't get proper signal even after entering area with stable signal after the first signal loss, and cpu became hot by making selinux in permissive mode on booting.
- Implemented proper init.d sysinit with permission setup before running scripts.
- Enabled powerclamp and rapl driver for intel thermal daemon. Should help with phone thermal management.
- Enabled zenmotion dt2w support.
- Enabled zram.
- Attempting to fix sdcard automounting.
- Some module built as in-kernel driver.
20160831
- Initial release.
Click to expand...
Click to collapse
What Works:
Should be everything? Do let me know if got bugs or things not working using this kernel. If got sudden reboot, please give me all files in /sys/fs/pstore
Click to expand...
Click to collapse
Download:
HERE
Click to expand...
Click to collapse
Installation Instructions:
Obviously need unlocked bootloader.
Flash the zip via custom recovery or extract the zip to get the boot.img and flash via fastboot.
Click to expand...
Click to collapse
Source:
Uploaded as tar.xz archive in download folder above. Sorry, didn't have github account. Really hated git, hard to use.
Click to expand...
Click to collapse
Thanks To/Credits:
God
Linus Torvalds and whole linux kernel team and contributors.
Google
Xda
and many, many other kernel devs whose their source i've cherry picked here and there...
Click to expand...
Click to collapse
XDA:DevDB Information
-, Kernel for the Asus Zenfone 5
Contributors
mdfzhi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 20161029
Stable Release Date: 2016-10-29
Current Beta Version: 20160908
Beta Release Date: 2016-09-08
Created 2016-08-31
Last Updated 2016-11-06
ASUS Zenfone 5 Users
https://telegram.me/Zen5Users
Sent from my ASUS_T00F using Tapatalk
@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!
TechNova said:
@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!
Click to expand...
Click to collapse
weird that you're the second person that said to me not to add dt2w. i'm actually debating whether to add it or not myself, its a nice feature to have. probably will add it along with sysfs toggle for user to turn it off if dont want it. yes the ondemand lag abit, will change to interactive on next kernel. he doesnt give his kernel source so i dont know how he lower the brightness.
super. class. well done. continue in the same spirit
---------- Post added at 08:32 AM ---------- Previous post was at 08:09 AM ----------
with your kernel does not change dpi can see what's the problem?
duffi200000 said:
super. class. well done. continue in the same spirit
---------- Post added at 08:32 AM ---------- Previous post was at 08:09 AM ----------
with your kernel does not change dpi can see what's the problem?
Click to expand...
Click to collapse
I am able to change the dpi without any issues...
U can try using ,in terminal emulator,
su
wm density ___
Where ___ will be the density value, like 120,240,320 or any desired value...
After this, u can try nomone resolution changer app from play store.
@mdfzhi , do you know if you can overclock the gpu or cpu for this device? others devs tried but is kinda like a "fake" one, becouse it dosn't affect performance, if we put like 444444.4444ghz it will run fine, so you think is possible?
day use, the kernel reboots no good .but very heated cpu I used the governor ondemand.
does this phone have isssue with signal for anyone? i lived in area where mobile signal arent very good. seems like after singnal loss, something is keeping the phone awake and made it super hot. same issue when i'm still using stock 5.0 rom and kernel. does anyone know if any rom or kernel solve the issue? i could examine ramdisk in kernel that solve the issue and see what changes were applied in it.
TechNova said:
@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!
Click to expand...
Click to collapse
No freeze at all?
ondemand on the profile and even interactive games are very heavy lag and delay necessary to put a performance profile
I really2 love this kernel because of its features that no other kernel has, but there is a problem that my sdcard can't detect, i have to revert back to boret's kernel to fix sdcard, please fix this cause i really love this kernel
.Very noted here that it makes it difficult, if my first simkarty is 3g mode and enable data transfer, I switched to the second slot, and includes data transmission and 2g network after some time returns the data back to the first slot and turn on 3g and transfer data will no longer work until you restart the phone really interfere with this because I have to switch modes and simkarty
@mdfzhi
Its almost been a week and now i found some issues:-
1.Freeze occurs sometimes (Like once in 2 days)
2.Battery drain is really more as compared to stock kernel (i did compared it with one day usage).
3.Network comes reallllly verrrry late after booting.
4.Frequent loss of network and never regains back...
5.Data never works sometimes, needs to reboot device in order to work (Airplane mode doesnt work for it)
6. Same issue mentioned by @duffi200000
compiled and uploaded new version. hopefully fixed the dreaded signal loss issue. init.d scripts should also working as it should be now. be careful with some roms that put crap tonnes of bloated init.d script. don't came whining about unstable, reboot or freeze if you didnt clean those script. i didn't use any init.d script except supersu daemon script and the kernel is stable so far.
Super will be tested
---------- Post added at 06:44 PM ---------- Previous post was at 06:37 PM ----------
flash card does not see
---------- Post added at 06:46 PM ---------- Previous post was at 06:44 PM ----------
immediately I write the solution of this problem who will face The Simple stick out your flash card and re-insert and it will work
---------- Post added at 06:51 PM ---------- Previous post was at 06:46 PM ----------
network switches everything is fine, I will continue testit
---------- Post added at 07:00 PM ---------- Previous post was at 06:51 PM ----------
I have a question is the core run on the kit Kat?
When connecting the USB otg flash card speed of copying files is very low , you can fix
First at all, thanks for your important work.
I really like that the phone has become much more energy efficient at this kernel :good:
But I have two issues:
1. I got reboot when I talking on the phone (Zenmotion is enabled).
2. My phone doesn't detect the memory card.
Asus ZenFone 5 (A501CG), stock rooted 3.24.40.87
AlexBreems said:
First at all, thanks for you important work.
I really like that the phone has become much more energy efficient at this kernel :good:
But I have two issues:
1. I'm get reboot when I talking on the phone (Zenmotion is enabled).
2. My phone doesn't detect the memory card.
Asus ZenFone 5 (A501CG), stock rooted 3.24.40.87
Click to expand...
Click to collapse
1.That's why i was telling the dev not to include dt2w.
2.keep ur fone turned on, remove ur back panel, remove and reinsert ur sdcard ,and it will work.
TechNova said:
1.That's why i was telling the dev not to include dt2w.
2.keep ur fone turned on, remove ur back panel, remove and reinsert ur sdcard ,and it will work.
Click to expand...
Click to collapse
1. Dt2w is very useful feature. Maybe author can fix it. I hope so.
2. Thank you for this temporary solution. And I'll wait until the author to fix this.

[Kernel][Stock][Pie][H870] Marshall Kernel [v0.2]

Marshall Kernel​Basic information
Marshall kernel is targeted to be balanced between battery life, stability and performance. It's based on a mix of mk2000, Melina kernel and couple of my mods. H870 is so far the only model supported since its the only one that received stock Pie.
Installation
Wipe cache
Flash kernel
Flash Magisk [Mandatory otherwise the phone won't boot]
Features
Kernel version 3.18.120
USB Fast Charge toggle
CPU Input boost
Adreno Idler
Boeffla WakeLock Blocker
Kcal - Advanced screen color control
K-Lapse v5.0
RCTD/Triton Disabled
Maple I/O Scheduler
WireGuard
DriveDroid support
OpenSource exFAT driver replacement
Improved display latency
Improved performance & battery life
Removed frequency lock
Various other patches/improvements
Download
H870_v0.2_Marshall
Changelog
V0.2-Marshall
- Initial release
Sources
https://github.com/w0lfsvk/msm8996_lge_kernel
mk2000
Melina
LGH870_Android_Oreo_H870_v30a from http://opensource.lge.com
Credits
Melina,
mk2000,
Everyone who helped me with testing,
Special thanks to stendro for his mk2000 kernel build scripts
[emoji41]
Sent from my LG-H870 using Tapatalk
---------- Post added at 03:25 PM ---------- Previous post was at 03:23 PM ----------
Can i simply flash and reboot if i already have magisk installed?
Matt
Sent from my LG-H870 using Tapatalk
matthew33 said:
[emoji41]
Sent from my LG-H870 using Tapatalk
---------- Post added at 03:25 PM ---------- Previous post was at 03:23 PM ----------
Can i simply flash and reboot if i already have magisk installed?
Matt
Sent from my LG-H870 using Tapatalk
Click to expand...
Click to collapse
No, you need to also flash magisk right after the kernel
TheWolfSVK said:
Marshall Kernel​Basic information
Marshall kernel is targeted to be balanced between battery life, stability and performance. It's based on a mix of mk2000, Melina kernel and couple of my mods. H870 is so far the only model supported, US997 should come soon aswell.
Installation
Wipe cache
Flash kernel
Flash Magisk [Mandatory otherwise the phone won't boot]
Features
Kernel version 3.18.102
CPU Input boost
Adreno Idler
Boeffla WakeLock Blocker
Kcal - Advanced screen color control
RCTD/Triton Disabled
Maple I/O Scheduler
WireGuard
DriveDroid support
OpenSource exFAT driver replacement
Various other patches/improvements
Download
H870_v1.1-Marshall.zip
H870_v1.2-Marshall.zip
Changelog
H870_v1.1-Marshall
-Initial build
H870_v1.2-Marshall
-Fixed kernel version displaying
Sources
https://github.com/w0lfsvk/msm8996_lge_kernel
mk2000
Melina
LGH870_Android_Oreo_H870_v20a from http://opensource.lge.com
Credits
Melina,
mk2000,
Everyone who helped me with testing,
Special thanks to stendro for his mk2000 kernel build scripts
Click to expand...
Click to collapse
Cool, is it possible you could add support for HID devices/android_keyboard_gadget? (Nethunter HID attacks)
I'll be waiting for the US997 release
Mnky313 said:
Cool, is it possible you could add support for HID devices/android_keyboard_gadget? (Nethunter HID attacks)
I'll be waiting for the US997 release
Click to expand...
Click to collapse
Sure but I need someone with US997 for testing
TheWolfSVK said:
Sure but I need someone with US997 for testing
Click to expand...
Click to collapse
Happy to test for US997, it is my main device, but I've got TWRP and backups so I don't mind
Mnky313 said:
Happy to test for US997, it is my main device, but I've got TWRP and backups so I don't mind
Click to expand...
Click to collapse
Join our telegram group:
https://t.me/joinchat/FzTdQURW3-qbsIPkioBIGg
Nice to see another kernel for our device. You wrote inOP that is based on v20A. Will it work well with 20c firmware? Hasn't LG updated the sources?
Thank you for your work
blackhawk_LA said:
Nice to see another kernel for our device. You wrote inOP that is based on v20A. Will it work well with 20c firmware? Hasn't LG updated the sources?
Thank you for your work
Click to expand...
Click to collapse
It works on all oreo versions, Im personally using it over v20c
TheWolfSVK said:
It works on all oreo versions, Im personally using it over v20c
Click to expand...
Click to collapse
Me too.
Sent from my LG-H870 using Tapatalk
Running your kernel on my H870, V20C, so far so good, great work ?
Heya, thanks for the Kernel, I flashed over from Melina kernel - noticed less CPU governeei options - missing my old elementalx setting. Any plans to add more governor settings or have you tuned/optimised the interactive governor in the Kernel
Zander_ said:
Heya, thanks for the Kernel, I flashed over from Melina kernel - noticed less CPU governeei options - missing my old elementalx setting. Any plans to add more governor settings or have you tuned/optimised the interactive governor in the Kernel
Click to expand...
Click to collapse
Im planning to add the elementalx cpu gov.
Another Awesome Release by @TheWolfSVK, Good work man........
at least some devs still care about this device..........
Eliminater74 said:
Another Awesome Release by @TheWolfSVK, Good work man........
at least some devs still care about this device..........
Click to expand...
Click to collapse
True that.
Matt
Sent from my LG-H870 using Tapatalk
TheWolfSVK said:
Im planning to add the elementalx cpu gov.
Click to expand...
Click to collapse
Thanks for responding
That's good news, ima keep running your kernel so far so good everything running smoothly, thanks for supporting our device ! Looking forward to 1.4
Flashed this over v20C, Melina Kernel...it give me some kind of error like
"Updater process ends with error: 1 Error flashing zip /external_sd/zip/H870_v1.4.Marshall.zip"
i dont know why, i wipe cache first...what im doing wrong?!
Good to see another kernel for G6. too bad can't use it on my H870DS.
Great Work sir.
sun_is_shinning said:
Flashed this over v20C, Melina Kernel...it give me some kind of error like
"Updater process ends with error: 1 Error flashing zip /external_sd/zip/H870_v1.4.Marshall.zip"
i dont know why, i wipe cache first...what im doing wrong?!
Click to expand...
Click to collapse
Do you have the H870 or the US997?
ScottThijs said:
Do you have the H870 or the US997?
Click to expand...
Click to collapse
H870.

Categories

Resources