[KERNEL][OREO]•=|=•BLEEDING EDGE•=|=•[HARPIA] - Moto G4 Play ROMs, Kernels, Recoveries, & Other De

•=||=•INTRODUCTION•=||=•
A custom kernel for Moto G4 Play a.k.a Harpia
This should should work on all oreo custom roms
Disclaimer
Code:
[color="red"]
* 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 .
* If you point the finger at me for messing up your device, I will laugh at you.
[/color]
•=||=•KERNEL SPECIAL FEATURES•=||=•
CPU
Code:
[center]
Cpu quiet firmware
Improved Default governers and io schedulers
Dynamic Fsync
Arch Power savings
TouchBoost
Power Suspend Mode
Work queue Power saving
Msm limiter
​
CPU GOVERNERS
Code:
[center]
ElementalX
LionFish
Zzmove
Darkness
Blu active
[/center]
HOTPLUGS
Code:
[center]
Alucard
Thunderplug
Zen decision
Msm hotplug
Msm mp decision
[/center]
IO SCHEDULERS
Code:
[center]
Sio plus
Zen
Sio
Fiops
Trindroid
Sioplus
Fifo
[/center]
GPU
Code:
[center]
Adreno Idler
Msm thermal temperature control
[/center]
SCREEN
Code:
[center]
Kcal Control
High Brightness Mode
[/center]
MISC
Code:
[center]
Upstreamed to latest linux stable v3.10.108
Built with Bleeding edge 7.3
Several changes which improve the battery drain when idle
Double tap to wake
Force Fast Charge
Wakelocks Blocking
Software crc control
TCP congestion algorithm
Radio Power Savings
[/center]
•=||=•INSTALL INSTRUCTIONS•=||=•
Code:
[center]
1.Download the kernel zip.(You don't wanna??😏)
2.Move it to phone's memory or sdcard. ( Or in your brain ,you better know)
3.Boot to twrp.(Or flash it by fastboot😆)
4.Backup Current boot image(in case your luck is bad or you try to install this on nougat)
5.Flash the zip( go get a torch)
6.Reboot!!!!done( Congrats you have rebutted yourself)
[/center]
•=||=•DOWNLAODS•=||=•
Download from AFH
Download from XDA
•=||=•BUGS•=||=•
What are you looking for?
Bugs???
You won't find it.
You are so desperate aren't you??
ok you win
You tell me
[/CENTER]
XDA:DevDB Information
BLEEDING EDGE, Kernel for the Moto G4 Play
Contributors
@ki, ishubhamsingh, Subrajyoti Sen,Facum
Source Code: [url]https://github.com/Akianonymus/kernel_moto_msm8916[/URL]
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v69
Beta Release Date: 2018-04-15
Created 2018-02-24
Last Updated 2018-04-15

Changelogs:
v69 beta release
* Added msm limiter
* Radio power savings
* New schedulers
* New cpu governers
* Tcp congestions
* Introduce cpu quiet firmware
* RCU improvements
* Built with Bleeding edge 7.3 toolchain
* Add boeffla_wl_blocker
* Improve Adreno Idler
* Introduce Input boost
* Sound improvements
* 64 bit binder support
* Binder fixes
* Improved Deep sleep

@ishubhamsingh and @Alberto97 for his base of kernel
@facuarmo for teaching me
@Subhrajyoti Sen for his heliox commits
@nathanchance for his great guide on upstreaming kernel
Me for Building it for Harpia
Whole opensource community
If i missed anyone ...Quote me

Misc
So ,you want some configuration which can be used as balanced , performance,battery or gaming
Well i was about to ....then i found spectrum kernel manager.....
Its good easy to change the profiles...
But i am still not sure which config to use(still testing)
Profiles for gaming and performance is easy ...but the main thing is balanced thing...you need to be precise when you say balanced.So wait for the spectrum support
Befor listing any governers read this
Code:
* The best governer is interactive if you know how to configure it,well don't ask me,..still learning (me noob :p )(thats where custom governers come in handy)
* The profiles that i will list is based on my experience,so it maybe different for you
* Gaming profile means gaming , don't ask for battery(same applies for performance with more battery)
* If you have applied balanced configuration then don't report if you find lags in games.Balanced means balanced ,not heavy gaming.
* Do not touch a setting if you don't know what it is....
Anyway i am listing some configurations which you can apply by a kernel manager app like ElementalX app or kernel adiutor(both are good and updated)
All suggestions are welcome
I am not including the hotplugs configuration because i am still figuring out.(but you can experiment)
Balanced:
CPU Governer:ElementalX
CPU Max Freq:1094 or 1152
Enable temperature throttle(set it to 50 )
Gpu governer:Simple_ondemand
IO scheduler :Fiops
Read ahead value :1024
Swapiness:10
Vfs cache pressure :50
Enable dynamic fsync
Enable arch power
Power suspend mode:Hybrid
Gaming
CPU Governer:ElementalX
CPU Max Freq:1209
Enable temperature throttle(set it to 60 )(be sure not to blast it)
Gpu governer:msm_adreno
Enable adreno idler
IO scheduler : Deadline
Read ahead value :2048
Swapiness:1
Vfs cache pressure :40
Disable dynamic fsync
Enable arch power
Enable Gentle fair sleepers
Powersuspend mode:Userspace
Powersuspend value :0
Entropy:512 to read,256 to write
Low memory killer values: Aggressive
Till now only these two....i will update when i understand hotplugs
Post will be updated later

There is a difference in terms of performance, the phone becomes softer and I notice it, in battery I am in proof to see that such optimal configuration you recommend with kernel auditor

albertwesker17 said:
There is a difference in terms of performance, the phone becomes softer and I notice it, in battery I am in proof to see that such optimal configuration you recommend with kernel auditor
Click to expand...
Click to collapse
Post #4 updated
Thread doesn't view properly on xda lab app
So i recommend to view this thread in a browser

Thanks a lot for your kernel. Btw any chance of adding CPU and GPU over clocking feature to your kernel.

zhimomi said:
Thanks a lot for your kernel. Btw any chance of adding CPU and GPU over clocking feature to your kernel.
Click to expand...
Click to collapse
Nope,It will uneccessarily increase the heat resulting in poor battery life

Camera
Is the camera working?

Camera
In Bootleggers, cam recording stops working

To all HybridX users
All rom that is made for harpia by me
You don't need HybridX on those roms
Those rom already have HybridX by default

Kernel no working.

The kernel will be updated soon
Stay tuned.

@ki said:
The kernel will be updated soon
Stay tuned.
Click to expand...
Click to collapse
excellent I will be pending here I hope good changes :good:

Holla, New update is here
The Bleeding edge is here
(I know you are confused)
Changelogs:
v69 stable release
* Added msm limiter
* Radio power savings
* New schedulers
* New cpu governers
* Tcp congestions
* Introduce cpu quiet firmware
* RCU improvements
* Built with Bleeding edge 7.3 toolchain
* Add boeffla_wl_blocker
* Improve Adreno Idler
* Introduce Input boost
* Sound improvements
* 64 bit binder support
* Binder fixes
* Improved Deep sleep
Download links in first post
I want bug reports xD
Happy Flashing

@ki said:
The Bleeding edge is here
(I know you are confused)
Changelogs:
v69 stable release
* Added msm limiter
* Radio power savings
* New schedulers
* New cpu governers
* Tcp congestions
* Introduce cpu quiet firmware
* RCU improvements
* Built with Bleeding edge 7.3 toolchain
* Add boeffla_wl_blocker
* Improve Adreno Idler
* Introduce Input boost
* Sound improvements
* 64 bit binder support
* Binder fixes
* Improved Deep sleep
Download links in first post
I want bug reports xD
Happy Flashing
Click to expand...
Click to collapse
Maybe you created a kernel with no bugs? Wouldn't that be amazing?
Just flashed on latest AOSPExtended and looks to be running alright. WiFi and data works so that's nice. Will update if i have any issues!
**CAMERA WORKS I LOVE YOU BRO!**

UnitedShoes said:
Maybe you created a kernel with no bugs? Wouldn't that be amazing?
Click to expand...
Click to collapse
Nothing in this android world is without bugs,they are just hard to find sometimes
UnitedShoes said:
Just flashed on latest AOSPExtended and looks to be running alright. WiFi and data works so that's nice. Will update if i have any issues!
**CAMERA WORKS I LOVE YOU BRO!**
Click to expand...
Click to collapse
As expected.
Waiting for the bugs list.:silly:

Post #1 Updated
Links corrected
Updated the features list
Currently this kernel will only work with AEX, CRDROID ,LOS,AICP and RR.
The rest roms won't support untill they get an update.

Working on Lineage 14.1?

@ki said:
Post #1 Updated
Links corrected
Updated the features list
Currently this kernel will only work with AEX, CRDROID ,LOS,AICP and RR.
The rest roms won't support untill they get an update.
Click to expand...
Click to collapse
only firmware from scratch, can I set on AEХ 5.4 with a whip cache and dalvik cache?!

Related

[Kernel][AOSP/TW] ChronicKernel - (UV/GPU/CPU-OC/dyn fsync/Linaro) [05/07/2014]

ChronicKernel for Sprint Samsung Galaxy S4​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Here is a initial kernel for AOSP/TW. It has all the features you would expect from a modded kernel, CPU OC, GPU OC, more CPU governors, Undervolted, Underclockable, GPU OC CPU L2 OC, and linaro -o3 optimizations
Click to expand...
Click to collapse
Screenshots
Requirements
* Rooted (obviously)
* I use CyanogenMod as my daily, so i don't test the TW version much..it should be fine though.
Installation
1: Place zip on sdcard
3: Reboot into recovery
3: Clear cache and dalvik cache
4: Flash zip
5: Reboot
6: If desired edit the init script at /system/etc/chronic-config.sh to suit your needs
7: Profit
ChronicKernel
* All-in-One kernel for all qualcomm variants (AOSP/CM only)
* Compiled with linaro
* GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script)
* CPU OC to 2322 Mhtz (1890 Mhtz default)
* CPU L2 cache overclocked to 1.3Ghtz
* Raised the low/med/high values for GPU governor one step each
* Added many I/O Schedulers
* Some scheduler performance tweaks
* Added CPU Governors intelidemand, wheatley, lagfree, linoheart, smartassH3, badass and smartmax (Default gov = intellidemand)
* Dynamic Fsync
* F2FS Support
* User adjustable CPU uV
* frandom support
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* USB fast charge (disabled by default - configurable though chronic-config.sh init script
* Patched to Linux 3.4+
May-7
* Added back patch to ramdisk for PACMAN rom.
* Added F2FS support
* Synced ramdisk with CM
April-23
New Release v3.0 All-In-One AOSP_KK4.4 Kernel!
* Sorry for the long delay. Got burnt out on android for awhile and got some new toys as well so was busy
* All the needed updates to kernel and Ramdisk since last release and to comply with CM"s new all-in-one rom build,
because of this we can now use one flashable zip for all qualcomm variants now. I added the auto-loki patching from
CM's rom zips so loki should be done for you. let me know if you have any issues.
* Updated kernel to 3.4.82
* I'm sure there are a few small fixes I forgot since last release but basically you can expect what you did with the last release just up to date.
Dec-24
New Release v2.4 for AOSP Android KitKat 4.4! (TW to follow soon)
Changes since v2.3:
* Got rid o dcvs governor as it never worked
* Updated to offical Android 4.4.2/CM-11 Kernel source, changes include:
* We are now using the msm2 gpu driver not msm.
* Updated WiFi Drivers
* Updated Sensor drivers
* Many changes to the framebuffer and vidc driver
* Linux 3.4.75
And as always the ramdisk is synced with CM as of time of compile
Oct-28
* AOSP-JB4.3: Tagged v2.3.3 (maintenance update)
* AOSP-JB4.3: Fixed issue with latest ROM builds
Oct-26
* AOSP-JB4.3: Tagged v2.3.2 (maintenance update)
* AOSP-JB4.3: Merged all the upstream commits from CM, should help with stability
* NOTE: If your colors are off with the display. Its because your ROM hasn't been updated to latest display drivers, ask your ROM developer to update their ROM.
Oct-20
* Common: Updated to Linux 3.4.66
* Common: Added Faux123's Simple GPU governor
* Common: Fixed compatibility with PAC
* AOSP-JB4.3: Merged upstream changes for compatibility with latest CM nightlies
* TW: Tried to fix issue with LPM mode (charging while off)
Oct-6
* Bumped AOSP to v2.2 and TW to v1.2 respectivly
* Common: Fixed issue across all custom S4 kernels where the Governor is only applied to online cpu cores. They are now set regardless
* Common: More aggressive L2 Overclock, bumped max L2 freq by 100 Mhtz and have a more aggressive scaling of the L2 freqs
* Common: Updated to Linux 3.4.62
* AOSP-JB4.3: a few (minor) upstream changes
Sep-5
* AOSP-JB4.3: Merged over 200 commits from CM to bring in sync, No other changes, although seems performance is a little improved
Aug-24
* General: initial release ot the TW/GE kernel, refered to as TW-JB4.3, this is the same as the TW (now known as TW-JB4.2) just compatible with GE roms
AOSP-JB4.3
* AOSP-JB4.3: Synced Ramdisk with CM, latest nightlies should work now
* AOSP-JB4.3: Fixed a bad merge in the last version related to I/O scheduling
* AOSP-JB4.3: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.3: Updated to Linux 3.4.59
* AOSP-JB4.3: Tagged v2.1
AOSP-JB4.2
* AOSP-JB4.2: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* AOSP-JB4.2: Updated to Linux 3.4.59
* AOSP-JB4.2: Tagged v2.1
TW/TW-JB4.2
* TW: Some cleanup to try and make it more stable
* TW: Added official Samsung exFAT support (thanks ktoonsez for original commit)
* TW: Updated to Linux 3.4.59
* TW: Tagged v1.1 and will be known from this point on as "TW-JB4.2"
TW-JB4.3 - TW/GE
* TW-JB4.3: Initial TW/GE kernel v1.0
Aug-16
* AOSP-JB4.3: Maintenance update - Synced with upstream CM kernel at time of compile - glitches should be gone
* Note: sorry for the delay. i was busy getting 10.2 booting on pyramid/glacier/holiday
* Took the version number out of the OP title as its not the same across all platforms
Aug-4
* AOSP-JB4.3: Added AOSP 4.3 kernel, has all the updates from CM's kernel as of this date
* AOSP-JB4.2: Sync with CM. a little clean up
* TW: TW kernel is now out of RC and v1.0, Merged a few things from the AOSP-JB4.3 kernel
* There were a good amount of updates that are kinda hard to explain. if you want more details check my github
Old Changelogs
July-20
* TW: RC2 release
* TW: tried to fix exFAT support, please let me know
* TW: Fixed an overlook that was causing the GPU to stay at a higher freq then normal
July-18
* Fixed a few little overlooks on my part in the TouchWiz beta1. Here is RC1
July-17
* inital TW build, still beta but should work fine just might have a couple things enabled (I/O schedulers that dont work or shouldnt be)
July-14
* Fixed Color temp settings not showing in Advanced Settings
* Couple tweaks to fastcharge cherry-picked from ktoonsez's kernel
* Merged JFA source
* All CM changes merged
* Added option to configure CPU OC from chronic-config.sh
* Fixed a race condition between chronic-config.sh and init.qcom.post_boot.sh setting governor
* Updated to Linux 3.4.52
* Fixed a type-o in chronic-config.sh that might have prevented dynfsync from being set to the desired setting
* Initial support for the Sprint variant
* General cleanup
July-2
* Reworked the way the config script works. it now sets gov correctly. it was renamed to chronic-config.sh and moved to system/etc/
* A few upstream updates
June-30
* Maintenance update
* Merged all upstream CM changes, should work on latest nightlies now
June-26 Stable Release
* Over 100+ upstream commits, like vidc etc, CHECK HERE for details
* Updated to MFx source/google sources
* small bugfix to screen off max gov
* wakelock fix (upstream)
* Updated to Linux 3.0.50
* Few misc bugfixes
** Honnestly the changelog doesnt do the update justice. CHECK HERE for details
June-18
* Upstream: Kernel source updated to MDL (samsung)
* Bugfix: Synced ramdisk with upstream CM to fix issue with bluetooth
* Fixes to Fast charge
* Bugfix: fix issues with workqueue (ktoonsez)
* Screen off Max freq will be disabled while in call (ktoonsez)
* Bugfix: Two EHCI: HSIC commits from caf to fix a wakelock
* Added CIFS Support
* Switch to intellidemand as default CPU governor
* Set 504Mhtz as boot freq for GPU
* GPU: Changed 544mhz to 545mhz to conform better with the pll table
* reduce some log spam (ktoonsez)
* GPU OC: Add 627mhtz step
* Linux 3.4.49
June-11
* Merged all upstream changes from CM kernel, including things like the MDM kernel source update
* Updated to Linux 3.4.48
* GPU OC now correctly reflects the current gpu freq to sysfs
June-7
* Pretty sure the intellidemand issues are fixed now
* Some bugfixes from caf for cpufreq and cpufreq stats
* GPU OC is fixed now (wasn't working correctly, would reject any freq higher then 450)
* GPU OC steps are now 504 544 and 601mhtz
* Synced with upstream (CM)
June-4
* Added in between steps to OC freqs to try and help people squeeze a little more out of the CPU (ktoonsez)
* GPU OC to 533Mhtz
* Added some missing intelidemand code to try and fix battery drain
* Some upstream changes like control screen color temp by sysfs
* Switched back to interactive as default governor
May-31
* Tweaked the GPU bandwith and governor low/med/high values for better performance
* Some bug fixes from type-o's made by samsung
* Removed CPU governors that don't support hotplugging (ktoonservativeq, dancedance)
* Min cpu freq with start at 378Mhtz for all cores
* Switched to XZ compression when making kernel to reduce size (the only impact on user end is a 1 sec longer boot time on Samsung splash)
May-29
* Reverted some cherry-picks from upstream that was causing bootloops for some
* Fix for GPU governor, it was sometimes getting stuck at 450 mhtz even with screen off (credits: ktoonsez)
* Updated the updater-script in the flashable zip to do some housekeeping before flash like remove old modules
May-28-build2
* Fixed bad zip packages
May-28
* Rebased source off of ktoonsez kernel,
* Fixed all the instability from the last releases
* CPU OC up to 2322 Mhtz (not all devices can handle this!)
* added frandom support
* Added a few Governors and I/O Schedulers
* Disabled a lot of useless debugging options
* Disabled un-needed modules
* More general build optimizations
* Other changes I forgot
May-26-build2
* Fixed all the bootloop issues from the last build
May-26
* Bugfix: cpu freqs on all cores but core0 weren't being set to desired levels
* Bugfix: a lot of block (I/O) fixes from caf and faux123
* CPU is now overclockable to 2268Mhtz but not all devices, including mine can handle this.
* CPU can now be overvolted to 1500 uV
* CPU L2 cache overclock to 1.3Ghtz (this seemed to give the most performance boost out of any overclocking so far)
* full kernel based mpdecision (there is an init.qcom.post_boot.sh script included that will disable userspace mpdecision, DON'T REMOVE IT)
* Added back all the special UID drivers that got disabled
* A lot of cleanup to the defconfig and disabled a lot of useless options and enabled some that weren't there before
* Switched to intellidemand as default governor
* Switched to ROW as default I/O scheduler
* CPU: Boot at default freq of 1890Mhtz for stability
* Probably a lot more small tweaks I'm forgetting
May-18
* Added an init.d script to zip to help control custom kernel settings
* Added CPU OC to 2106 Mhtz (1998 mhtz default)
* Set default GPU OC to 450mhtz to save battery (still overclockable via 89chronic init script)
* Adjusted the GPU Bus bandwith, seems to help with performance and battery life
* Lots of updates for CM kernel (gpu drivers etc)
* Maybe a couple other tweaks I forgot to list
May-14
* initial release
* Please keep all comments in this Discussion Thread. Any comments not in that thread will be ignored. Feel free to use the DevDB Bug reporting option as you see fit. This is critical in keeping the same question from being asked times in 5 different threads all with the same answer. It was really slowing down development.
* ]If you have problems with frequencies sticking use "No frills CPU Control" and go to Settings and prevent other apps from changing CPU settings
* Although this kernel has now reached "stable" status. bugs still could pop up. please if you find a reproducible bug and decide to post please try and provide a last_kmesg or logcat.
* Versions go as follows: AOSP-JB4.3 = CM-10.2 etc, AOSP-JB4.2 = CM-10.1 etc, TW-JB4.2 = Android 4.2 TW based ROMs, TW-JB4.3: Android 4.3/Google Edition based ROMs
AOSP-JB4.2 : ChronicKernel-JB4.2-AOSP-SPR-v2.3.zip
AOSP-JB4.3 : ChronicKernel-JB4.3-AOSP-SPR-v2.3.3.zip
AOSP-KK4.4 : ChronicKernel-KK4.4-AOSP-JFLTE-v3.1.zip
TW-JB4.2 : ChronicKernel-JB4.2-TW-SPR-v1.3.zip
TW-JB4.3 : ChronicKernel-JB4.3-TW-SPR-v1.3.zip
Goo.im Repo : CLICK HERE
* This Kernel can also be downloaded directly with GooManager *
My Github (main): https://github.com/Team-Hydra/android_kernel_samsung_jf
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* A lot of this was taken/based off of flar2's Kernel for the HTC One, so thanks for the source!
* Also grabbed some things from Faux123's kernel
* All the people who have helped me learn more and more over the past 4 months (arco/dastin1018/android1234567) you guys are the best!
I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Happy Flashing
Albinoman887
XDA:DevDB Information
[AOSP/TW] ChronicKernel, a Kernel for the Sprint Samsung Galaxy S 4
Contributors
albinoman887
Kernel Special Features: * Compiled with linaro * GPU OC to 627 Mhtz (450Mhtz default - configurable though chronic-config.sh init script) * CPU OC to 2322 Mhtz (1890 Mhtz default) * CPU L2 cache overclocked to 1.3Ghtz * Raised the low/med/high values for GPU governor one step ea
Version Information
Status: Stable
Created 2013-09-05
Last Updated 2014-05-07
Reserved
Please keep all discussion in the new Q&A thread please. otherwise your comment will most likely be ignored. Check "NOTES" section in OP for details
reserved
Interesting! Ill defintely check this out!
Sent from my SPH-L720 using xda app-developers app
Nice to see another kernel developer
Sent from my SPH-L720 using Tapatalk 2
any chance of u cooking up a TW kernel??
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
mjs2011 said:
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Im getting ready too
Sent from my SPH-L720 using Tapatalk 2
---------- Post added at 09:11 PM ---------- Previous post was at 08:23 PM ----------
mjs2011 said:
Anyone running this thing yet? Thoughts? I may have to flash this layer.
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
OK so far so good
Sent from my SPH-L720 using Tapatalk 2
lol guys just try the kernel....its really stable. ive had it on all the other variants for about 2 months i just forgot about sprint lol. its loosely based off of Ktoonsez's kernel. (we trade fixes back and forth) bot mainly based off of CM with all the additions mentioned plus a few more little ones like frandom support i think its the only kernel with L2 cache overclocked though, which gives a nice boost i think. and battery life is great, and no reboots or anything i'm aware of
albinoman887 said:
lol guys just try the kernel....its really stable. ive had it on all the other variants for about 2 months i just forgot about sprint lol. its loosely based off of Ktoonsez's kernel. (we trade fixes back and forth) bot mainly based off of CM with all the additions mentioned plus a few more little ones like frandom support i think its the only kernel with L2 cache overclocked though, which gives a nice boost i think. and battery life is great, and no reboots or anything i'm aware of
Click to expand...
Click to collapse
Do u plan to cook up a TW kernel or just AOSP/CM??
eh maybe...never messed with TW i flashed CM right when i got my phone so not sure
Been running this since last night. So far so good. Haven't changed any settings because I usually use intellidemand. Are there any settings you suggest changing?
Sent from my SPH-L720 using Tapatalk 4 Beta
albinoman887 said:
eh maybe...never messed with TW i flashed CM right when i got my phone so not sure
Click to expand...
Click to collapse
maybe is good!! yea i never liked CM/AOSP much i think the longest i ever ran a AOSP rom was a few hours tops.. When i was with HTC i ran just sense roms.and .now that im with Samsung I run TW
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
mjs2011 said:
Been running this since last night. So far so good. Haven't changed any settings because I usually use intellidemand. Are there any settings you suggest changing?
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I overclock the cpu to 1998 or 2106 depending on battery and particular phone
rhyme187 said:
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
Click to expand...
Click to collapse
it should work. i think the above poster would have mentioned that if it ididnt. i use the t mobile variant but they are all the same. i can flash your kernel and it works just fine just no radio
heres a test touchwiz version of my kernel. i dont have touchwiz installed so i havent tested it but it should work
http://tinyw.in/8WaA
rhyme187 said:
does camera work with this kernel? i cant seem to use my camera using kt
edit: answered my own Q it does work well with Liquid Smooth Rom
Click to expand...
Click to collapse
Yes camera works fine for me.
Ps: Been running great today on PAC nightly. I'll get some stats up once I have more time on it. Tks op!:thumbup:
Edit, added:
Is it possible to set gpu to stock using root explorer? I could be wrong but any feedback would be very appreciated. Tks!
Sent from my GS4 (PAC 7-15)
anyone test the TW kernel?
and to set GPU clock open /system/etc/chronic-config.sh and look for the GPU section. it has a list of values you can pick from. then just save and reboot
added tw beta
albinoman887 said:
added tw beta
Click to expand...
Click to collapse
sweet!!! flashing now boss.. thanks!!

[Kernel][KK/LP]Zombie[CM][06.03.15]

Zombie-Kernel
Here's my Zombie-Kernel for the Xperia Z Ultra.
I will frequently update the Kernel with useful features and backports from Linux
Mainline. If you have any feature requests please use the devdb tab above. Thanks.
The first post contains all Lollipop stuff, the second one everything KitKat related.
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 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.
Lollipop Releases:
Source:
https://github.com/Tommy-Geenexus/android_kernel_sony_msm8974
Downloads:
https://www.androidfilehost.com/?fid=95916177934537940
Features:
* Compiled with the latest Linaro GCC 4.9.2 and -02
* GZIP Compression/ Decompression
* Many Backports from Linux 3.6+
* MPDecision & Optimized Intelliplug
* In-Kernel Thermal Solution
* Display Color Control (saturation, rgb, greyscale, inverted, hue, value)
* Powersuspend
* FauxSound
* CPULimiter for full core control
* F2FS support
* Power-Efficient-Workqueues
* Reduced ghost touches to a minimum
* Voltage Control
* Headset Wakeup
* Kexec support
* ZRAM & ZSMALLOC
* Kernel Samepage Merging (KSM)
* NTFS r/w support
* Use your device as USB-keyboard/mouse
* Updated Interactive, Ondemand and Conservative Governor
* Updated cpuboost, kgsl, devfreq and other drivers from CAF
* Added NEON mode, NEON Crypto and enabled more digests
* More TCP Congestion Algorythms
* BFQ, FIOPS I/O Scheduler and Impulse Governor
Changelog:
17.01.15
* Initial release
21.01.15
* Added and updated kernel code
* Intelliplug and thermal
* Tweaked ramdisk
* Made ramdisk TWRP compatible
28.01.15
* Tons of backports
* Optimized Intelliplug
* hopefully fixed ghost touches
* Source sync'ed with latest CM
06.02.15
* Tons of backports
* Tuned Intellli_plug and removed MPdecision
* More touchscreen driver tweaks
* Sync'ed with CM
08.02.15
* New thermal driver, much cleaner
* Optimized Intelli_Plug
* Merged a patch for the ipv4 subsystem from upstream which fixes a problem that could make the system go out of memory in some cases (quoted from franciscofranco)
14.02.15
* Updated Intelli_Plug
* Switched to GZIP Compression
* Merged all feature requests
* Added Impulse Governor
* Other misc updates
18.02.15
* Updated Intelli_Plug
* Upstream updates to sched
* Other fixes from Linux Mainline
* Sync'ed with CM
20.02.15
* Updated Color Control Driver
* CAF fixes
* Brought back MPDecison as default hotplug
27.02.15
* Ramdisk sync'ed with CM for compability
06.03.15
* Switched to more reliable CAF-Thermal
* Updated Color driver
* Updated Impulse Governor - it now works as it was designed to
* Random Code fully updated to Linux 3.10
* Sound Codec fixes from CAF
* Sync'ed with CM
XDA:DevDB Information
Zombie, Kernel for the Sony Xperia Z Ultra
Contributors
Tommy-Geenexus
Kernel Special Features:
Version Information
Status: Beta
Created 2014-11-02
Last Updated 2015-03-07
Reserved
KitKat Releases:
Kernel Source:
https://github.com/Tommy-Geenexus/kernel_sony_msm8974-old
Downloads:
https://www.androidfilehost.com/?fid=95832962473394893
Reserved
Kernel Control:
UKM and Synapse:
http://forum.xda-developers.com/xperia-z-ultra/general/zip-synapse-script-universal-kernel-t2994224
Hint: Synapse may not be 100% stable on Lollipop yet.
USB-Keyboard-App:
https://play.google.com/store/apps/details?id=remote.hid.keyboard.client
Thanks:
I would like to thank all devs involved (credits in the repo) , Christopher83 for his toolchain builds and osm0sis for AnyKernel2.
Also i'd like to thank Sony for beeing such helpful towards devs and users on xda.
Tommy-Geenexus said:
- Zombie Kernel, this time for the Xperia Z Ultra.
Click to expand...
Click to collapse
Hi.Thanks for the provided kernel. Tell it only on the basis of CM? On SLimKat it is possible to set?
Feodorus 4PDA said:
Hi.Thanks for the provided kernel. Tell it only on the basis of CM? On SLimKat it is possible to set?
Click to expand...
Click to collapse
All cm based roms will work: pa, slim, etc..
I'm currently running it on slim.
Sent from my Xperia Z C6603
Tommy-Geenexus said:
All cm based roms will work: pa, slim, etc..
I'm currently running it on slim.
Sent from my Xperia Z C6603
Click to expand...
Click to collapse
I'm taking it is based on CM11's kernel - too lazy to look
blueether said:
I'm taking it is based on CM11's kernel - too lazy to look
Click to expand...
Click to collapse
Yeah, based on cm, all other roms use stock cm or cm based kernels.
Sent from my Xperia Z C6603
Hi guys,
a new kernel is up.
Changelog is attached @ the second post.
More features will come soon.
runnin smooth with the latest slimkat weekly on my c6806
New Kernel is up.
Grab it from the OP and profit!
add dt2w in new release!
madsponge26 said:
add dt2w in new release!
Click to expand...
Click to collapse
the upcoming release will feature backports from caf and linux and a rewritten anykernel, but i'll look for dt2w for sure.
New update out!
AnyKernel2 is rewritten, now removes scheduler/readahead overrides present in cm ramdisk.
Kernel is updated with backports and other stuff.
I've added logger control via sysfs:
path: sys/module/logger/parameters/log_mode
// 0: Enabled, 2isabled
Flash and enjoy.
Last KK update
Hi folks, here is my last kk update.
I've rebased the kernel on slimkat-kernel, and added my optimisations on top of it.
I've removed over 40k lines of unused deprecated code!
It will run best with slim.
See here for the changes i made.
Download: https://www.androidfilehost.com/?fid=95784891001611475
Flashing now. CM11 M12
Edit: wow! Very smooth
48 hours reporting for battery juice.
Sent from my Bacon Machine
madsponge26 said:
Flashing now. CM11 M12
Edit: wow! Very smooth
48 hours reporting for battery juice.
Sent from my Bacon Machine
Click to expand...
Click to collapse
Thats the purpose, more smoothness and (hopefully ) some juice saving
Tommy-Geenexus said:
Thats the purpose, more smoothness and (hopefully ) some juice saving
Click to expand...
Click to collapse
Mate, why dont you include pegasusq gov?
Sent from my Bacon Machine
madsponge26 said:
Mate, why dont you include pegasusq gov?
Sent from my Bacon Machine
Click to expand...
Click to collapse
Well, this is simple to answer.
I won't include any other than the already included governors.
For a fact all these govs like lionheart, etc.. were designed years ago and deliver subpar performance compared to the included governors, as they are designed with old single or dualcore devices in mind ( and pegasusq uses its own hotplug logic).
Only difference are faux intelli governors which are quite actual codewise, and a few more others which are optimized for modern devices.
But the best performance and battery life will be achieved using a frequently updated interactive or ondemand governor.
@madsponge26
i'm working on bringing dt2w.
I'll see if i can fix a few things such as >2taps mostly and implement a wakeout time like flar2.
It's already working quite good, thanks @blueether for the base.
I can't do much on lollipop as my knowledge is very limited and c only, so i'll let the others who have more knowledge doing their job and supporting them if it's in my range.

[KERNEL][G900H] duki994 Kernel [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
Development stopped for Lollipop. Please update to MM and go to my MM thread​
This is for LP only!!! For MM go to duki994 MM kernel thread:
MM kernel thread
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock BOL2 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Battery charging current control
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* WiFi: fixed enormous battery drain during standby/suspend
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I would do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true CAN make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.8
*Added LED fading control made by @AndreiLux
Version 1.7
* Fixed interactive governor logic. I forgot logic code for CPUFREQ_RELATION_C. Now interactive is 50% more responsive.
* Backport some ASLR changes
* Added ZEN IO scheduler and set it as default (beware that Synapse will auto reapply YOUR settings after boot, so ZEN won't be set. If you want it set it in Synapse I/O tab)
* updated GPU ION memory allocation code
* Exposed HMP up/down threshold tuning in Synapse ---> "HMP tuning" tab
* Fixed false adaptive LMK triggers --> less RAM clearing when not needed
Version 1.6.1
* GPU control code revamped
* GPU frequency scaling logic revamped. Fixed various bugs introduced in stock and in min/max control code + optimizations
* Synapse: added monitoring current values for DVFS Interactive governor (for GPU).
* DVFS Interactive governor is now working very good.
* Sensorhub wakelocks reduced (sensorhub and ssp wakelocks)
Version 1.6
* Disabled TIMA and some other Exynos specific non needed stuff
* New GPU Governor - Interactive
* GPU governor Interactive tunables exposed in Synapse
* Many GPU control code optimizations
* Reverted to stock DVFS OC table
* Fixed DVFS table for our SoC
* Set SELinux permissive on boot --> But after 20sec some ROM binary sets it back to enforcing.
Who wants SELinux permissive, he can set it in Synapse. But ROM boots permissive
* Better min/max GPU freq guards
* Updated touchscreen with powersuspend driver to see if it's possible to use wakeup gestures.
Version 1.5
* Disabled GPU tracing to squeeze out 3-6FPS more in games. Also should run smoother now.
* Framebuffer cmap buffer overflow check
* GPU OC --> 600MHz and 677MHz steps
---> use very carefully
* GPU min/max clock control
Version 1.4
* LMK fix
* Beefed up ASLR to give hackers more headache now if they try hacking the phone
* Upstream commits for lowlevel ARM optimization from ARM themselves
* New compiler flags. Should run about 40% faster
Version 1.3
* IRQ code updated --> critical code updated
* updated NET code that works with internet
* ALSA and Arizona (WM5110 audio chip in our phone) fixes
* SCHED, TIMER, RCU code updated
* REGMAP updates
* MM: new shrinker API --> many drivers use this (such as LMK)
Version 1.2
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Version 1.1
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synape (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Sources:
Kernel:
https://github.com/duki994/G900H_LP_Kernel
Ramdisk:
https://github.com/duki994/G900H_LP_ramdisk
Downloads:
Here they are
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
Known bugs:
* Turning headphone EQ on will lower headphone output volume.
* If you set any of Headphone EQ bands to 3dB, Wolfson audio chip will produce very unpleasant noise and stop playing.
It seems that it's inner HW components don't like that gain.
Every other setting will work, just don't set any band to 3dB Works after audio updates
* Charger controls for AC current are not reacting to change.. New charge control driver is good now.
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@halaszk88 for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his mods
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G900H LP Kernel, Kernel for the Samsung Galaxy S 5
Contributors
duki994
Source Code: https://github.com/duki994/G900H_LP_Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2016-05-01
Created 2016-04-04
Last Updated 2016-08-05
Reserved
CPU OC is unnecessary for our device.
And CPU underclock won't save more battery.
It'll actually drain more battery.
On very low freqs CPU can't finish task and needs to bump freq up. The freq changing is much more power costly than being on stock 500mhz min for A7 and 800mhz min for A15.
Look at power curves.
We have power curves similar to those on 5433, just about 20% lower I think
This are high performance cores (A15, A57, A72...)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this are for power-saving cores (A7, A53...)
The shape of curve for our chip is almost same, only with lower consumption. Look how exponentially it increases as you put frequency after 1.2GHz.
So if I enable OC to, let's say, 2GHz, then power consumption would be 20% higher than on 1.9GHz and performance would be 4% higher.
But don't let that fool you. Phone may last 2s-3s on 2GHz. Then it would throttle down when it overheats due too much power dissipation.
So in the end you get much lower performance than you would have on 1.9GHz.
And keep in mind that Exynos 7420 is built on 14nm FinFET technology, and Exynos 5422 is 28nm HKMG.
So we may use a bit more power than 7420.
My observation:
I get maximum performance on 1.8GHz. Phone is heating at least 10 celsius degrees less than on 1.9GHz so almost no thermal throttling.
For games and high performance apps, I suggest that you lock A15 core cluster on 1.8GHz.
Source for Exynos 7420 in-depth review:
http://www.anandtech.com/show/9330/exynos-7420-deep-dive/5
Reserved
i got tears in my eye,thank u very much,will test and report asap
kernel still enforcing,hope can permisive next build,hard 2 install audio mod like dolby
hope there will be overclock options and lower min freq.
the gpu voltage @266mhz weirdly high @default in synapse.
cpu workqueu checklist doesnt stick after rebot
kernel dont boot in BPC4 but runnin fine in BPC8 strange because i use the same BL
stuttering in music with screen off
other than that great kernel waiting 4 d next build
Good work.. Thxx
nice work mate... phone is not laggy now..
Bro I guess selinux is still enforcing. can we get a permissive feauture in next update.
i'm install dolby digital pluse with this kernal..but not work why>
gelarman said:
i got tears in my eye,thank u very much,will test and report asap
kernel still enforcing,hope can permisive next build,hard 2 install audio mod like dolby
hope there will be overclock options and lower min freq.
the gpu voltage @266mhz weirdly high @default in synapse.
cpu workqueu checklist doesnt stick after rebot
kernel dont boot in BPC4 but runnin fine in BPC8 strange because i use the same BL
stuttering in music with screen off
other than that great kernel waiting 4 d next build
Click to expand...
Click to collapse
I know about PE switch. I mady typo in ramdisk. Will be fixed
I use BOL2 ramdisk and BOG4 (latest kernel sources given by Samsung).
It should also work on BPC4. But use BPC8 if it doesn't.
GPU voltage is bug or made intentionally by ARM/Samsung. I lowered it to 25mv higher than 177mhz voltage and it works.
Also new charging driver made by me will be included in next release for testing
ebrahim jaber said:
i'm install dolby digital pluse with this kernal..but not work why>
Click to expand...
Click to collapse
Probably SELinux enforcing.
I will leave it on by default due to Stock ROM apps need, but I'll add checkbox/switch in Synapse to switch it enforcing/permissive. It should fix those problems with dolby sound.
Why install Dolby sound? WM5110 is awesome and as good as my ASUS Xonar Essence One DAC. And I'm audiophile. That's why I bought this phone
tycoon78[stoner] said:
nice work mate... phone is not laggy now..
Bro I guess selinux is still enforcing. can we get a permissive feauture in next update.
Click to expand...
Click to collapse
I will also disable PE workqueues by default. They drain battery more in heavier usage and make sound stutter.
Sent from my SM-G900H using Tapatalk
Installed.. And using it as it is.. But having more battery drain than stock kernel..
Where did i go wrong?
Thanks mate
Sent from my SM-G900H using XDA-Developers mobile app
ponkz said:
Installed.. And using it as it is.. But having more battery drain than stock kernel..
Where did i go wrong?
Thanks mate
Sent from my SM-G900H using XDA-Developers mobile app
Click to expand...
Click to collapse
Type this in terminal:
su
echo "N" > /sys/module/workqueue/parameters/power_efficient
It will disable PE workqueues. In some workloads I noticed that they drain battery more. I'll fix this in next build today and non-working PE workq. switch
Sent from my SM-G900H using Tapatalk
Good Job B|
Version 1.1
Changelog:
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synapse (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Downloads:
Same link as in OP
Don't forget to give feedback, report bugs or request features
duki994 said:
Changelog:
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synapse (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Downloads:
Same link as in OP
Don't forget to give feedback, report bugs or request features
Click to expand...
Click to collapse
Hi @duki994, would you be able to include doubletap2wake or swipe2wake in your kernel in the next release or future releases? It will be really cool if the phone wakes up on double tapping the screen!!! THanks
Version 1.2
Changelog:
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Downloads:
Same link as in OP
@jawzf
Yeah. That would be cool. I have exams next week, so I don't know if I can merge those changes for sweep/tap functions until then, but I want those features too. I come from G2.
Double tap is natural to me. Maybe only sweep functions can be implemented. I know LG's double tap drivers. It's coupled with custom synaptics touch chip firmware which has HW level support for double tap,
Note that sweep/double tap funcs may drain much more battery. And our driver is different from G900F.
But I'll merge and adapt 'em when time allows
EDIT: Charge current control driver is working as it should
Well looks like is time to test your kernel
duki994 said:
duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based and is based on stock BOL2 source
Features:
* Wolfson Audio control adapted to G900H implementation (thanks to @AndreiLux)
* Battery charging current control
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* OF code updated --> better/faster reading of DTS and faster operation
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 , SHA512, SHA1, ASH2 and AES NEON accelerated algortihms - now blazing fast
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* WiFi: fixed enormous battery drain during standby/suspend
* NET updates
* LMK updated and added new feature: Adaptive LMK --> better multitasking
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* Wakelock disabler: You can disable some common Samsung wakelocks in Synapse "Misc" tab if some of them are draining your battery
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this kernel in your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, as so people would know where to ask if kernel problem arises. I would do the same for you
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers that can't handle low voltage.
If someone happens to have bug with WiFi saved password being lost every reboot, here is fix:
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true CAN make your WiFi forget password each reboot. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.2
* Fixed critical bugs in ADJ RBTREE code, used by LMK driver
I recommend you to critical update kernel now.
* Disabled adaptive LMK by default and added userspace switch to turn on/off adaptive LMK in Synapse (in Misc tab)
* Tuned LMK minfree values.
* Updated BINDER and FS critical code
Version 1.1
* Fixed Synapse power efficient workqueues checkbox --> now works good
* Disabled PE workqueues by default
* Added SELinux enforcing/permissive switch in Synape (it's last checkbox in Misc tab)
* charge_control: new charge control made by @duki994 (me) (based on @Lord Boeffla's code, but refactored and reworked from scratch)
-->It's harcoded in max77804 charging chip. Now charge control should work and obey set values.
* Fixed miscellaneous things
Sources:
Kernel:
https://github.com/duki994/G900H_LP_Kernel
Ramdisk:
https://github.com/duki994/G900H_LP_ramdisk
Downloads:
Here they are
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
Known bugs:
* Turning headphone EQ on will lower headphone output volume.
* If you set any of Headphone EQ bands to 3dB, Wolfson audio chip will produce very unpleasant noise and stop playing.
It seems that it's inner HW components don't like that gain.
Every other setting will work, just don't set any band to 3dB
* Charger controls for AC current are not reacting to change.. New charge control driver is good now.
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@halaszk88 for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his mods
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G900H, Kernel for the Samsung Galaxy S 5
Contributors
duki994
Source Code: https://github.com/duki994/G900H_LP_Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2016-04-04
Created 2016-04-04
Last Updated 2016-04-05
Click to expand...
Click to collapse
[email protected], we need more custom (rom/kernel/tweak....) for G900H ..keep work❤
download link not exist !!!
plz reply download link my post !
Erfan S5 said:
download link not exist !!!
plz reply download link my post !
Click to expand...
Click to collapse
Please read OP better. I won't respond to questions like these in future.
Download link:
https://app.box.com/s/2e6tl98jpyat8cf77jjqspvrj2u3ix1a
It's written in OP. Read better.
Sent from my SM-G900H using Tapatalk
Well. In 1.2 I have also updated Wolfson audio code. It fixed 3db HP EQ gain on my device.
Test this and see if any HP Eq gain on 3dB makes unpleasant noise
Sent from my SM-G900H using Tapatalk
@duki994 maybe he cannot click the download link in the OP.. Because its just a text.. Not link ?
Sent from my SM-G900H using XDA-Developers mobile app

[F460 SLK STOCK/CM KERNEL 3.10.101][Synapse][Realtime sharpening ctl]JZKernel v5.5

HI guys, JZ Kernel is coming~Here is a finely crafted kernel, most awesome feature!
This kernel is for the stock marshmallow rom or CM13 or mokee (any rom based on CM).
MM is for stock rom, mk-cm is for mokee, cm, suda, xOS, RR.
New update script, it will judge rom to choice correct kernel.
ONLY FOR LG-F460 S/L/K!!!!
Custom Synapse, not a any kernel, but it has the any kernel features.
Thanks
Bbedward: BFS scheduler
Savoca: screen sharpness control idea
Faux123: origin intelli governor author and intelli hotplug author
Neobuddy89: state notifer, intelli thermal mods, msm limiter mods and more and more
Alucard24: alucard governor, alucard hotplug and intelli thermal mods
Dorimanx: kernel codes, toolchains and busybox.
All who contribute codes...
Kernel features
* Based on stock 30c source
* Brain F U C K deadline scheduling policy
* I/O Scheduling: deadline fiops row cfq
* CPU overclock: 300Mhz~2880Mhz (default MAX: 2660Mhz)
* GPU overclock: 100Mhz~683Mhz (default MAX: 600Mhz)
* L2 CACHE overclock 300Mhz~1950Mhz (default MAX: 1728Mhz)
* HOTPLUG: Alucard, Brickd
* Dynamic L2/BW frequency control
* CPU governor: alucard, interactive, barry_allen, zzmoove, impulse, wusong(performance)~
* Input boost
* Voltage Control Support
* Msm limiter mods
* Advanced thermal control (thanks Faux123, Dorimanx, neobuddy89) (Nice function: frequency Step Control, mod by me)
* F2FS filesystems support (ONLY CACHE AND DATA!!)
* Advanced screen color control
* Disable DATA ENCRYPTION
* init.d support
* Synapse support (two languages)
* Simple_gpu_algorithm GPU Governor
* KGSL pwer
* 40 level LG MDSS sharpening control driver mods (mod by me)
* 40 level Realtime sharpening control (via synapse)
* One-click Kernel control(Five modes) (via synapse)
* L2/BW frequency control, governor switch and real time frequency monitor (via synapse)
* Wireless ADB (via synapse)
* DCHP FIX (via synapse)
* Reset battery counter (via synapse)
* Resolution profiles (via synapse)
* Adaptive Low memory Killer
* Some feature from my G2 Kernel
* All of feature from my 5.0 Kernel
* Merged almost all feature from CAF
Bugs
Not support exfat for now, LG system framework requires Tuxera exFAT, Tuxera server can not build modules for now, I will update kernel when server can be used.
Kernel source
Kernel source
Ramdisk source
Kernel download
Androidfilehost link
How to install kernel
All recovery and kernel need KK bootloader!!
1. You need rooted your device and install my recovery (recovery thread)
2. Download the kernel from my androidfilehost
3. Use TWRP install it.
Donate to me
Download Synapse from google play
Download synapse​
Change log:
20160701
* Fix exfat format
* Merge CAF MDSS update
* Merge wcd93x0 drivers update
* Fix qdsp6v2 24bit playback
* Disable drop cache(some bugs when use f2fs filesystem)
* Support reboot to fastboot LOL~
* [synapse] Fix performance mode
* Other update forgot recorded
Nice work sir
awesome, downloading now!
Thank you sir for amazing work
@shminer Any updates in kernel or this is the final kernel build for stock marshmallow? Thanks for your kernel work for CM and fixing the call issues while headphone attached.
vinodh3 said:
@shminer Any updates in kernel or this is the final kernel build for stock marshmallow? Thanks for your kernel work for CM and fixing the call issues while headphone attached.
Click to expand...
Click to collapse
I will update the stock kernel soon, as a finally version.
will update audio drivers and some fixed, support exfat sdcard.
shminer said:
I will update the stock kernel soon, as a finally version.
will update audio drivers and some fixed, support exfat sdcard.
Click to expand...
Click to collapse
I'll wait for the final version before jumping on the MM bandwagon. Lol
d855
please support d855 in your kernel thanks...
mahmoudshab said:
please support d855 in your kernel thanks...
Click to expand...
Click to collapse
Sorry, just LG F460
Thanks appreciated your work
Help me! I can't flash file: LG-f460-mk-cm-JZ-kernel-ver-5.5-16_07_01-mkpr.zip
no uci support,
EDIT : Reflashed sorry jz !
I was trying to tweak some settings of the kernel on synapse, but whenever i restart/reboot the phone and open synapse, a message stating that "boot settings cancelled" appears, and the changes i've made doesn't seem to be saved even though i click the check sign on top. Everything reverts back to default. how can i save the changes i have made on my settings? thanks a lot!
shminer said:
Change log:
20160701
* Fix exfat format
* Merge CAF MDSS update
* Merge wcd93x0 drivers update
* Fix qdsp6v2 24bit playback
* Disable drop cache(some bugs when use f2fs filesystem)
* Support reboot to fastboot LOL~
* [synapse] Fix performance mode
* Other update forgot recorded
Click to expand...
Click to collapse
this update is only for mk-cm roms, not stock roms right? I dont see a link to download it for MM stock roms
Hi there where is the download link for stock based MM kernel?
Sorry, found the download link. Previously installed the wrong version

[KERNEL][N5] Criterion_20230115 for Android 10/11 (12/13 experimental)

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.
*
*/
Criterion is a highly customizable fork of @z3DD3r's LineageOS kernel. It features various popular cpu governors, hotplugs, I/O schedulers, kcal color control, doubletap2wake, sweep2wake etc and is built with Linaro GCC 7.5.0 (O3 and hard-float optimizations enabled). Make sure the latest version of Magisk is installed.
Download:
https://github.com/Slmnj/hammerhead/releases
Source:
https://github.com/Slmnj/hammerhead
Contributors:
@z3DD3r, @franciscofranco, @flar2, @osm0sis, @topjohnwu, @eng.stk ...
Reserved
Boot fine on crdroid 10 ,seems working fine.

			
				
Congratulations
$lmnj said:
Criterion-pr1
The kernel works completely fine on LOS 17.1. But I couldn't find time to try it on other Android 10 based ROMs. This is a pre-release for anyone interested in testing the kernel. Give it a shot and share your experience.
Click to expand...
Click to collapse
Congratulations, you have done such a wonderful incredible job :good: :victory:.
If you don’t mind, could you please sent the final file "FKE_v2.1.0.zip" to me ? I am trying to install Magisk v20.3, but the attached file "FKE_v2.0.0.zip" does not work pretty well. It's just useful for my phone within Pie rom. Thanks so much :highfive:
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.
Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches
Download
$lmnj said:
Criterion-r1
Pushed the first stable release with a couple of changes. Stay tuned for more updates with added features and improvements.
Changelog:
- Initial release
- Removed Ondemand governor
- Wakelocks aren't blocked by default
- Few fixes for devices that are not rooted
- Merged latest AnyKernel3 patches
----------------------------------------------------------------------------------------------------------------------------------------------
I just need it within two main functions, such as “doubletap2wake” and “USB Fast Charge”.
Could you please add in it
Click to expand...
Click to collapse
Fast Charge,please
Criterion-r2
Added USB Fast Charge up to 900mA. This feature is disabled by default. If you have root access, you can enable this feature using a Kernel Manager.
Download
Single-Core Score:1014
Multi-Core Score:2783
Geekbench 4.4.2
Criterion-r3
This is an important release even though there aren't any new features added. I've updated the toolchain to Linaro GCC 4.9.4 and also merged the latest AnyKernel3 patches.
Download
Criterion-r4
The Interactive governor underwent a major overhaul. It is now based on the interactive governor from Franco Kernel. I've made some slight improvements to the other CPU governors as well.
Download
Terrific Job
$lmnj said:
Criterion-r4
The Interactive governor underwent a major overhaul. It is now based on the interactive governor from Franco Kernel. I've made some slight improvements to the other CPU governors as well.
Click to expand...
Click to collapse
Good :good:
Thank you :highfive:
Not bad!
Criterion-r5
Added Franco's sound control interface
Disabled thermal-engine service (thanks to @z3DD3r)
Updated to latest AnyKernel3
Download
Criterion-r6
Added Alucard governor
Upgraded SIO scheduler to SIOPlus
Download
Finally a new kernel for Nexus 5 with Android (even 10). I will test it as soon as I get home. Nexus 5 is a test bench for me now There are very few kernels out there with proper features (if none). Please continue working on it.
Criterion-r7
Added Electroactive and Lionheart governors
Added Simple GPU governor by Faux
Changed default governor to Alucard
Updated to latest AnyKernel3
Download
Criterion-r8
Added Power-efficient workqueues (enabled by default)
Download
Can you please keep previous versions as well? I did not get a chance to download the previous ones.

Categories

Resources