[KERNEL] G3 XTD [N O, P] [AOSP, CM] [ALL Variants] DISCONTINUED - G3 Android Development

Code:
/* *** Disclaimer
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, etc. 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 at your won risk
*/
This is my 3rd attemt at making custom kernel for G3, after few months of working on it, i think its mature enough to make it public. Kernel used lineage cm-14.1 as a base, since then i made over 1500 changes to it. Much features are taken from 3.10 base and its version is probably closer to 3.10 then to 3.4.
R1 to R7 Kernel comes in 4 variants:
Standard and slim version for Nougat and Oreo
Slim verion lacks in additional governors and hotplugs.
This kernel was only tested on D855, but should work on other variants without issues, if any let me know.
R8 Kernel is only for Pie and Oreo Roms.
Nougat and slim versions are EOL.
Features:
Compiled with UBERTC 4.9
Additional governors: Impulse, zzmove, alucard, electroactive, elementalx, intelliactive
nightmare, slim, smartmax, smartmax_eps, umbrella_core, yankactive
Addtitional hotplugs: alucard, autosmp, blu_plug, bricked, mako, intelliplug, msm
MSM Limiter
State Notifier
Powersuspend
Power Efficient Workqueues
Per core input boost
CFS Scheduler policy
Intellithermal
Adreno idler
Simplr GPU Algorithm
KCAL
Faux Sound Control
USB Fast Charge
Arch Power
Additional io schedulers: deadline, fifo, fiops, maple, sio, sioplus, tripndriod, vr, zen
Wakelocks bloker
Dynamic fsync
Async Fsync
Frandom
CPU OC to 2,8 GHz, UC to 288MHz - oc disabled by default
GPU OC to 657 MHz, UC 27MHz - oc desabled by default
Patches and optimizations from newer kernels
and many more...
Download
MEGA
These zips are AIO this means it will detect your G3 version and flash proper kernel, a backup of stock boot.img will be created in the directory where the zip is, just in case smh goes wrong.
Also i included a control app to manage the kernel, its based on KA fork made by @bhb27, i made changes to make it work on G3, plus added some other features missing in @bhb27 KA.
Credits:
All the guys from the LG G3 DEVELOPMENT telegram channel for unparalleled kind of humour.
For the rest, check the kernel commits.
Changelog:
Release2 (26-12-2017):
Fixed kernel version not showing i rom information page.
Make LCD colors more vivid.
Add FunctionFS
Release3 (01-01-2018):
Cleanups
Optimizations
Release4 (09-02-2018):
Fixed bug with USB device not recognized
KGSL patches and optimizations
General optimizations
Release5 (13-02-2018):
Removed KGSL patches for now since it causes random reboots
Keep inline with LineageOS kernel
Release6 (02-05-2018):
Fix sound control
Enabled exfat and sdfat support
minor fixes
Release7 (12-06-2018):
Inline with other msm8974 lineageos kernels
Security patches
Bugfixes
Updates
Release8 (04-10-2018):
PIE ready
Inline with other msm8974 lineageos kernels
Security patches
Compatibilty with G3DS and D856 variants
Release9 (07-12-2018):
Inline with other msm8974 lineageos kernels
Tethering should work now
Ability to connect to hidden wifi is working now
Detailed Changelogs
XDA:DevDB Information
LineageXTD kernel for G3 Nougat, Oreo, Kernel for the LG G3
Contributors
ppajdek
Source Code: https://github.com/ppajda/kernel_g3
Toolchain: UBER from matthewdalex/arm-eabi-4.9
XTD Kernel Adiutor: ppajda/kernel_adiutor
Version Information
Linux: 3.4.113
Status: Stable
Stable Release Date: 2018-10-04
Created 2017-12-22
Last Updated 2018-10-04

Gangsta!
Your out of the box settings are awesome.
Turned on sound control and fast charge both work. PC connection charges at 850mA instead of 500mA.
Set headphone to +3 and it's a lot. I'm concerned about the mic set to +24 default setting??? is that to high, haven't tested yet.
No idea on battery life but cores are nicely under control. Also gpu is very tame!
:good::good::good::good::good::good::good::good::good::good::good::good::good:
I should mention. D850 LOS-N

Works well Thanks, but no kernel information in setting !

Tengakallan said:
Works well Thanks, but no kernel information in setting !
Click to expand...
Click to collapse
Didn't noticed gonna check this

ppajdek said:
Didn't noticed gonna check this
Click to expand...
Click to collapse
Hey @ppajdek! I know this kernel is for nougat and Oreo, does this also work on Oreo 8.1 as well?

Excavator2015 said:
Hey @ppajdek! I know this kernel is for nougat and Oreo, does this also work on Oreo 8.1 as well?
Click to expand...
Click to collapse
G3_laos_xtended_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_slim_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_o8x - is for oreo 8.x
G3_laos_xtended_slim_o8x - is for oreo 8.x

Battery life is superb , fast charging supported .
Overall perfect for my D855. Thanks :good:

Flashed it, lets test out it now

ppajdek said:
G3_laos_xtended_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_slim_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_o8x - is for oreo 8.x
G3_laos_xtended_slim_o8x - is for oreo 8.x
Click to expand...
Click to collapse
Thanks man. One thing tho, your kernel auditor doesn't work, I installed it after I flashed the kernel and tried opening it, and it just sits on a white screen. Any idea why its doing that? Thanks man in advance.

His kernel auduitor works well, you just have to give root in magisk.
---------- Post added at 09:23 PM ---------- Previous post was at 09:21 PM ----------
I recommended uninstalling the old kernel auduitor, full reboot, then go into recovery to install the kernel.

eric93se said:
His kernel auduitor works well, you just have to give root in magisk.
---------- Post added at 09:23 PM ---------- Previous post was at 09:21 PM ----------
I recommended uninstalling the old kernel auduitor, full reboot, then go into recovery to install the kernel.
Click to expand...
Click to collapse
It works now, thanks guys! Just had to reflash magisk...and reinstalled magisk manager..don't know how I lost root. Lol.

Tengakallan said:
Works well Thanks, but no kernel information in setting !
Click to expand...
Click to collapse
It's fixed, next release coming soon

mind if you share some of your profiles, preferably the ones that are better for battery

ochomdnl said:
mind if you share some of your profiles, preferably the ones that are better for battery
Click to expand...
Click to collapse
I use zzmove Governor with profile #4.
Currently undervolting by around 70 mv across the board
Sent from my LG-ls990 using XDA Labs

ochomdnl said:
mind if you share some of your profiles, preferably the ones that are better for battery
Click to expand...
Click to collapse
I will add profiles later with spectrum support, the default one is balanced, run xtd kernel adiutor and look what is set.

seanskiT! said:
I use zzmove Governor with profile #4.
Currently undervolting by around 70 mv across the board
Click to expand...
Click to collapse
How are you undervolting to around 70mv? This may sound dumb, and I should know this...but where in the kernel auditor settings is the profile #4?
Hope you have a wonderful and safe Christmas.
Thanks in advance man.

Excavator2015 said:
How are you undervolting to around 70mv? This may sound dumb, and I should know this...but where in the kernel auditor settings is the profile #4?
Hope you have a wonderful and safe Christmas.
Thanks in advance man.
Click to expand...
Click to collapse
In the cpu voltage settings.
For the zzmove profiles, go to cpu tunables and scroll down to profile number, tap it, delete the zero and enter 4
Hope you and everyone here have a Merry Christmas as well.
Sent from my LG-ls990 using XDA Labs

seanskiT! said:
In the cpu voltage settings.
For the zzmove profiles, go to cpu tunables and scroll down to profile number, tap it, delete the zero and enter 4
Hope you and everyone here have a Merry Christmas as well.
Click to expand...
Click to collapse
Not seeing profile #4, only 3 hotplugs.... Ugh.

Excavator2015 said:
Not seeing profile #4, only 3 hotplugs.... Ugh.
Click to expand...
Click to collapse
Go to cpu, where you set the governor, scroll down to cpu tunables.
Sent from my LG-ls990 using XDA Labs

Excavator2015 said:
Not seeing profile #4, only 3 hotplugs.... Ugh.
Click to expand...
Click to collapse
He mean't cpu governor tunables, look for profile profile_number and remove 0, replace it with it 4 (name is zzbat) i think.

Related

[KERNEL][CM/AOSP] Heliox Kernel [1/12]

Introduction
A new stable custom kernel for our onyx
Features
Compatible with all CM and AOSP ROMs (except OOS)
Compatible with 6.0 and 7.x
Built with GCC 4.9 toolchain .
Adreno idler.
USB Fast Charge
Built-in AdBlocker
Optimized RWSEM Algorithm.
Latest security patches.
Sweep2Wake
Added governors : bioshock, darkness, elementalX, pegasusq, smartmax_eps, wheatley, yankactive, zzmove, impulse
Added I/O schedulers : zen and tripndroid
CPU Input Boost
Wakelock toggles
Optimised memory management
Enable Arch Power
Optimised core control
O2 optimisations
Instructions
Copy the kernel zip to your phone
Reboot to recovery. I would suggest TWRP by Nachiket
Flash the zip
Reboot
Download​https://androidfilehost.com/?fid=385035244224402842​
NOTE
Use the Kernel Adiutor to access all the features
Kernel is compatible with the new MM bootloader only
Recommended Settings
Governor: ElementalX
Multicore Power Saving: Aggresive
CPU Max freq: 1728MHz
Core control: Enabled
I/O scheduler : ZEN with 512kb read ahead for int. and ZEN with 384 kb for external
Sync Threshold : 960mhz
Input Boost Freq : 652mhz
Credits
 @CheckYourScreen
 @eng.stk
 @Lord Boeffla
 @franciscofranco
 @rjdTWO
 @ZaneZam
Special shout out to Nachiket.Namjoshi for always helping
XDA:DevDB Information
Heliox Kernel, Kernel for the OnePlus X
Contributors
Subhrajyoti Sen
Source Code: https://github.com/SubhrajyotiSen/HelioxKernelOnyx
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-11-21
Created 2016-11-21
Last Updated 2016-12-01
Changelog
01/12/2016
Add KCAL support
Add Voltage Control
23/11/2016
Add support for Sultan-ized ROMs
Patch multiple QuadRooter vulnerabilities
21//11/2016
Initial Release
Such Thug Much Wow! Great work buddy!
Great to see another kernel
Nice work buddy!
Great work
Finally, up on XDA
Working with Dirty Unicorns 11/20 build?
Ragonexus said:
Working with Dirty Unicorns 11/20 build?
Click to expand...
Click to collapse
Yes! You can check the screenshots tab to verify
Great job my friend. You've come a far way from where you were.
does it need any modifications in kernel adiutor or just leave it as original settings.
Fantastic job my friend working great!!
namquang93 said:
does it need any modifications in kernel adiutor or just leave it as original settings.
Click to expand...
Click to collapse
Stock settings work just fine.
But recommended settings would be
Governor: ElementalX
Multicore Power Saving: Aggresive
CPU Max freq: 1728MHz
Core control: Enabled
I/O scheduler : ZEN with 512kb read ahead for int. and ZEN with 384 kb for external
Sync Threshold : 960mhz
Input Boost Freq : 652mhz
Is this kernel compatible with Sultans CM13? I tried to flash it, but it was stuck on CM boot animation for 30+ minutes and I gave up, because my battery would die.
Kolio_xda said:
Is this kernel compatible with Sultans CM13? I tried to flash it, but it was stuck on CM boot animation for 30+ minutes and I gave up, because my battery would die.
Click to expand...
Click to collapse
Sultan-ized ROMs aren't currently supported. It will be added in the next release
Subhrajyoti Sen said:
Sultan-ized ROMs aren't currently supported. It will be added in the next release
Click to expand...
Click to collapse
One suggestion is to update op to indicate so. Or else u will see my similar post
Tiongkia said:
One suggestion is to update op to indicate so. Or else u will see my similar post
Click to expand...
Click to collapse
Thanks for pointing that out Done
Release 2 is up
Changelog
Add support for Sultan-ized ROMs (Check screenshots for confirmation)
Patch multiple QuadRooter vulnerabilities
https://www.androidfilehost.com/?fid=457095661767117919
Latest release still cant boot on Sultan. Stuck in CM boot animation for 20 mins. Dunno if it's just me.
Kolio_xda said:
Latest release still cant boot on Sultan. Stuck in CM boot animation for 20 mins. Dunno if it's just me.
Click to expand...
Click to collapse
I personally tested it on sultan's cm13.
Try one thing. Flash the ROM again and then the kernel.

[Kernel] [Google assistant] [All Variants except Asian] Werewolf Kernel

This is my custom kernel for the LG V20. I've spent weeks working on this and making sure it works on both stock and custom roms.
Theoretically all the variants except the ones from Asia will be compatible with this kernel.
What's been tested and verified:
H910
H918
LS997
Sometimes when booting, the screen will glitch out. When it finishes booting, hold your finger over the left too side of the screen where the front camera is until both screens shut off, and the screen will stop glitching out.
Feature List:
- Enable Google Assistant
- LZ4 Compression
- Adreno idler
- Adrenoboost
- KCAL
- Optimizations following KISS(Keep it simple stupid)
- Built with GNU's GCC 6.3.1
- SafetyNet bootloader workaround
- Exfat Support
- SIO, FIOPS, bfq, cfq, deadline, noop IO scheduler
- Ondemand, Interactive, Preformance, Conservative, dancedance, darkness, nightmare, powersave govenors
- bic, cubic, htcp, Reno, Westwood TCP congestion algorithms
- Various smaller tweaks
Downloads:
- 1.1-AngryAlbatross
XDA:DevDB Information
Werewolf Kernel, Kernel for the LG V20
Contributors
USA-RedDragon
Source Code: https://github.com/USA-RedDragon/Werewolf-h91x
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1-AngryAlbatross
Stable Release Date: 2017-01-21
Created 2017-01-20
Last Updated 2017-01-22
Reserved
Reserved
love this kernel! been testing on my Dirty Santa rooted LS997 phone
Finally something to flash on my h910! Need more AT&T love in these threads.
Love this kernel too on my tmobile v20. Thanks all your hard work brother.
Usa red-dragon is anyway you could include color control in this kernel please. Using stock kernel screen looks very pale and boring. We need a little bit color saturation.
Thx for your hard work.
This based off 10j sources?
Instant very noticeable improvement in speed. Thank you very much!
I am on the lineage cm14(910) rom and flashed the kernel and the static boot it is gone.
Thank you!
Flashed this over the NSS ROM on my H910 - no more static boot!!
Anyone flash this over maximum overdrive on h918. I did and i got what looked like tv static lines all over my screen. Had to reflash whole rom to fix
netgar said:
Usa red-dragon is anyway you could include color control in this kernel please. Using stock kernel screen looks very pale and boring. We need a little bit color saturation.
Thx for your hard work.
Click to expand...
Click to collapse
This app works with any rooted phone. I've been using it for a long time and it's always worked. Only need root, no kernel stuff.
---------- Post added at 02:40 AM ---------- Previous post was at 02:24 AM ----------
This kernel works on the vs995 (Verizon). At least with WETA's ROM.
@USA-RedDragon What cpu and gpu gov do you recommend for smooth performance.
imucarmen said:
This app works with any rooted phone. I've been using it for a long time and it's always worked. Only need root, no kernel stuff.
---------- Post added at 02:40 AM ---------- Previous post was at 02:24 AM ----------
This kernel works on the vs995 (Verizon). At least with WETA's ROM.
@USA-RedDragon What cpu and gpu gov do you recommend for smooth performance.
Click to expand...
Click to collapse
Just tried the app. Doesn't do NEARLY any justice as kernel level color control does. Thanks for the advice though
lightninbug said:
Just tried the app. Doesn't do NEARLY any justice as kernel level color control does. Thanks for the advice though
Click to expand...
Click to collapse
hmmm I find it does very well. Perhaps you aren't using it correctly.
imucarmen said:
hmmm I find it does very well. Perhaps you aren't using it correctly.
Click to expand...
Click to collapse
What are your settings?
lightninbug said:
What are your settings?
Click to expand...
Click to collapse
I use custom 5 preset and then turn the saturation up to a level I like. I don't have it in front of me right this moment. I've been testing ROMs all day so have been going back and forth.
USA-RedDragon said:
This is my custom kernel for the LG V20. I've spent weeks working on this and making sure it works on both stock and custom roms.
Theoretically all the variants that Dirty Santa works on will be compatible with this kernel.
What's been tested and verified:
H910
H918
LS997
I need testers for other variants as follows:
US996
Any other unlockable variant I haven't listed
If you have a variant we don't support and are willing to test and PULL LOGS, pm me. We have a telegram group.
Sometimes when booting, the screen will glitch out. When it finishes booting, hold your finger over the left too side of the screen where the front camera is until both screens shut off, and the screen will stoo glitching out.
Feature List:
- Enable Google Assistant
- LZ4 Compression
- Optimizations following KISS(Keep it simple stupid)
- Updated to upstream 3.18.46
- Built with GNU's GCC 6.3.1
- SafetyNet bootloader workaround
- Exfat Support
- SIO, FIOPS, bfq, cfq, deadline, noop IO scheduler
- Ondemand, Interactive, Preformance, Conservative, dancedance, darkness, nightmare, powersave govenors
- bic, cubic, htcp, Reno, Westwood TCP congestion algorithms
- Various smaller tweaks
Downloads:
- 1.0-Albatross
XDA:DevDB Information
Werewolf Kernel, Kernel for the LG V20
Contributors
USA-RedDragon
Source Code:https://github.com/USA-RedDragon/Werewolf-h91x
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.9-Albatross
Stable Release Date: 2017-01-19
Created 2017-01-20
Last Updated 2017-01-19
Click to expand...
Click to collapse
Really nice to see kernels ?
Thanx USA-RedDragon. This kernel fixed my static boot on my h910 with dirtysanta root.
lightninbug said:
This based off 10j sources?
Click to expand...
Click to collapse
No, it's based of Qualcomm's CAF kernel and has LG's drivers put on top. That's why it has compatibility with stock and custom roms

[KERNEL][ALL VARIANTS][AnyKernel][v3.0] G3X-Ultimate Kernel for CM and AOSP ROM's

Introduction:
Welcome! I've developed ArtxKernel, with the aim to make a great and clean kernels for CM and AOSP ROM's, but this one is for those that don't want to mess with a lot of features, like a Flash and Use Kernel! Battery life its very impressive and this Kernel is the most clean that I've made, so, enjoy it
Click to expand...
Click to collapse
Features:
- CPU Input Boost
- Gov's: Interactive, OnDemand, Conservative, Powersave, Perfomance, Userspace, pegasusq, zzmoove, Alucard and IntelliMM
- Multicore power saving
- Alucard and Bricked hotplugs
- 27Mhz GPU
- Adreno Idler
- FastCharge Support (Updated, faster than ArtxKernel)
- PowerSuspend Mode
- Kcal color control
- Faux sound control
- Fifo, fiops, sio and zen schedulers
- Frandom support
- Async I/O, 37% more perfomance
- Fsync control
- init.d support
- Selinux permissive
- Fixed simple_ondemand GPU Gov
- 2-Way Stereo Call recording Patch
- PVS Level via sysfs
- Boosted min and max screen Brightness (It's safe)
- RAM, GPU and Battery optimizations
- Some Artx Optimizations
SmoothUnlocker:
If you want an extra boost flash it, check MEGA link, but take in consideration that it will make your Battery drain faster in exchange of perfomance and pure Smoothness
Downloads:
----------
MEGA
----------
Spectrum:
Wanna use it with Spectrum App? Then follow this simple steps:
• Download Spectrum Injector HERE (3rd post) Thanks to @frap129
• Flash the Kernel and then Spectrum Injector
• Put my Profile files in spectrum/profiles folder in your internal memory after boot
------
Profiles
------
• You're done, remember that you can change those configs with a text editor
Bugs:
If you see a bug, let me know and I'll be glad to help you and fix it
Social:
Wanna join a Telegram group of this Kernel? If you have any question or you need help, get in!
(let me know if the link is broken )
----------
Telegram Group
----------
Compatible with:
(Thanks to @marcdw and @jlb1959.01)
- Nougat ROM's
- Marshmallow ROM's
- Lollipop ROM's (Not confimed yet)
Thanks to:
cesarandres_8911, savoca, faux123, LineageOS Team, osm0sis, Feinzer
LG, matthewdalex, Andrei F, yarpiin and me
If anyone is missing here PM me
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
​
XDA:DevDB Information
G3X-Ultimate, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/G3X_Kernel_lge_g3
Kernel Special Features: See above
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-07-05
Created 2017-06-28
Last Updated 2017-08-19
Changelog!
Code:
[B]* v3.0[/B]
- Source updated
- Boosted min and max screen brightness (It's safe)
- Added 2-Way Stereo Call Recording Patch
- Added Governors: Alucard & IntelliMM
- PVS Level via SysFs
- RAM, GPU and Battery optimizations
- Some optimizations from Artx Kernel
- Cleaned a lot of code
[B]* v2.0[/B]
- Source updated
- Added Dualsim support
- Added Pegasusq Gov
- Added zzmoove Gov
- Added Alucard and Bricked hotplug
- 27Mhz GPU
- Adreno Idler
- Sound control (Replaces Faux)
- Power Suspend Mode
- Added fifo, fiops, sio and zen schedulers
- Added Frandom
- Kernel Selinux permissive
- Fsync control
- Compiled with updated UberTC
- General optimizations
- Battery improvements
[B]* v1.0[/B]
- Initial release
Smooth as butter, and charging so fast it's almost scary
Thank you
You need a banner for your OP which is called "KernelBae"
Anyway thanks for awesome job and new kernel.
Sent from my LG-D855 using Tapatalk
Stayn said:
Reserved
Click to expand...
Click to collapse
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
mohammadtalha93 said:
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
Click to expand...
Click to collapse
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
mohammadtalha93 said:
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
Click to expand...
Click to collapse
I cannot use stock based ROMs, it's too much lag for me
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
francois amon said:
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
Click to expand...
Click to collapse
Light and normal kernel has better battery life that depends on how you configure it
Stayn said:
Light and normal kernel has better battery life that depends on how you configure it
Click to expand...
Click to collapse
Allright then You. I will stay with the latest Light Version.
THX for reply
Iv been on this kernel all this morning and so far its great!
PS: Is it possible to add bioshock to this kernel?
Downloaded twice fot f400, both zip corrupted.
khnoizer said:
Downloaded twice fot f400, both zip corrupted.
Click to expand...
Click to collapse
Sorry dude, I re-uploaded it
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
khnoizer said:
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
Click to expand...
Click to collapse
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
Keep your time. You don't have to push an update all days. Let the users use it for a while and then report. One day with this kernel and report it is nothing. The system need time to get one with the kernel settings
G3X is pretty much beta. ArtX is not beta (IMO). If you want a more stable kernel use ArtX until this one gets all the kinks worked out.
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
I think I should also mention that I'm using RR 5.8.3 rom for F400 variant by oadam11, which is also have performance governor by default on its default kernel. Maybe there are something related.
Anyway, take your time, and thank you for your hard work.
EDIT: However, I've tried artxlight 2.1 but its governor wasn't set to performance by default. It was zzmoove.
Hi I have a little problem. When I flash through TWRP I get unsupported device and error 1. My device is d852.

[CLOSED][KERNEL][Affinity Kernel][OP5/5T][OOS/Custom][4.4.178][6 Apr]

Introduction:
Affinity Kernel is a custom kernel based on the latest Stable Linux 4.4 release from kernel.org.
This kernel is developed with performance and great battery life in mind offering some goodies cherry-picked from other popular kernels such as Flash Kernel, ElementalX, blu_spark, Boeffla Kernel, Sultan Kernel and Franco Kernel.
The kernel is always up to date with mainline linux kernel and is regulary updated with the latest fixes.
The goal is to provide a butter smooth experience, simmilar to what you get with the latest Pixel devices.
Affinity Kernel is based on the official kernel source released by OnePlus.
Code:
/*
* Your warranty is not void (Thank you OnePlus!).
*
* 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.
*/
Features:
Upstreamed to the latest Linux Stable 4.4.x
Upstreamed to the latest CAF tag LA.UM.6.4.r1-11500-8x98.0 & LA.UM.7.4.r1-04800-8x98.0
Tunable with Kernel Adiutor and others
Additional CPU gorvernors
Sound Control
Adreno Idler by @arter97
Full WireGuard implementation
Sweep2Sleep gesture
Fast charging on USB
FS fsync toggle (enabled by default)
Additional IO schedulers (Maple, FIOPS, SIO, ZEN)
Qualcomm MDSS v2 (sRGB + KCAL)
dm(avb)-verity disabled
Faster app cold-launch
IO Tuning
Optimized with oFast and O3
Westwood TCP algorithm as default
Full Treble compatibility with Treble related fixes
Individual Input Boost frequency for each cluster
Disabled the BCL battery driver
Backlight Dimmer by @flar2
Boeffla Wakelock blocker v1.1.0
CDROM emulation
init.d support
ARM target optimizations
Passes SafetyNet check
Crypto Routines optimizations
High Brightness mode
Adreno driver improvements
EAS
Dynamic SchedTune Boost v3
KLAPSE Driver
Decreased swappiness
Installation:
Before you install the kernel, make sure you have
a backup of boot partition in case something goes wrong!
If you are coming from stock kernel:
Reboot into TWRP
Flash the Affinity Kernel.zip
Reboot
If you are coming from another custom kernel:
Reboot into TWRP
Dirty flash your rom or restore boot backup if you have any
Reboot recovery
Flash the Affinity Kernel.zip
Reboot
Updating:
Just flash the latest Affinity Kernel build over the previous one
Downloads:
{Mod edit}
On ROMs like Dirty Unicorns, WLAN won't work because the wlan module is required
to load on device initcall rather than late initcall like other ROMs do. There's a workaround for it but
it breaks WLAN on all ROMs that have the module built inline or the CAF way
{Mod edit}
Thanks to:
@joshuous for his EAS commits and Dynamic Sched Boost
@osm0sis for his AnyKernel2 installer
@nathanchance for his android-linux-stable project and helping me
@Lord Boeffla for Boeffla Wakelock Blocker and LED control
@Sultanxda for his fixes and other stuff
@eng.stk for his tweaks
@flar2 for his Sweep2Sleep gesture driver
@tanish2k09 for KLAPSE Driver
And all those folks contributing to Linux Kernel
XDA:DevDB Information
Affinity Kernel, Kernel for the OnePlus 5T
Contributors
LinuxUser0227
Source Code: https://github.com/hejsekvojtech/Affinity-OnePlus5
Kernel Special Features: Fast, Battery friendly, Stable, Up to date
Version Information
Status: Stable
Created 2019-02-20
Last Updated 2020-04-28
I'll take this one
And this one
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
finally:good:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
Click to expand...
Click to collapse
I'm using least oos ob24.
gsser said:
Thanks for the work, ill give it a try.
2 thing that bugs me are:
1- isnt restoring stock boot.img removes custom recovery and replaces it with stock one?(had that problem before)
2-is the kernel(pie) eas or hmp?
Click to expand...
Click to collapse
1. Yes but it's better to do a backup of boot that has Magisk installed so you don't have to reflash TWRP
2. Since r20 it's EAS based
directorli said:
Thank you for your working on this kernel !
I have a problem with the least one. It's an eas kernel. My oneplus 5t restart it's os staying oneplus log more than 1 minute.Using r19 kernel spends about 30 seconds.
Is thit normal?
thank you.
---------- Post added at 06:41 AM ---------- Previous post was at 06:40 AM ----------
I'm using least oos ob24.
Click to expand...
Click to collapse
Haven't seen such behaviour yet, some users reported that it works perfectly on both 5 and 5T.
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Amisuta said:
If I'm coming from a kernel like bluspark, I must flash the stock boot img first, correct? Where can I find this?
Click to expand...
Click to collapse
Dirty flash your rom
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Sent from my OnePlus5T using XDA Labs
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
How many sot do you get?
gsser said:
Kernel is good. Only thing i saw was cpu clocks wouldnt go down less than 800mhz and 500mhz.
Solid, liquid smooth, clean. For me it is better than RZ kernel
Click to expand...
Click to collapse
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
sleepwalking0593 said:
Minimum frequency is 518 and 806 because Qualcomm did it so people follow it
Click to expand...
Click to collapse
Qualcomm or OnePlus? (Not doubting you genuinely curious)
haikalzarith said:
How many sot do you get?
Click to expand...
Click to collapse
8 and 17 standby
Sent from my OnePlus5T using XDA Labs
1 hour of youtube
Sent from my OnePlus5T using XDA Labs
Heisenberg420 said:
Qualcomm or OnePlus? (Not doubting you genuinely curious)
Click to expand...
Click to collapse
Qualcomm did it. So OnePlus followed them
gsser said:
1 hour of youtube
Click to expand...
Click to collapse
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Teso79 said:
Hello
Are you using greenify or any other tweaks of that kind.
Thanks
Click to expand...
Click to collapse
I dont.
Affinity Kernel r21 is up!
Since r21, Affinity Kernel is available for custom ROMs as well. Should work well with every ROM except of OmniROM and TreskMod (which is Pixel-like OmniROM)
because Omni has its own way of loading the WLAN module so WiFi might be most likely broken. Anyway, you may also notice that on some ROMs that have EAS baked in, Affinity Kernel
default settings are not getting applied. That's because the ROM has its own post boot init script that overwrites my settings, not a big deal.
Here's the changelog:
Upstreamed to Linux 4.4.176
Support for custom ROMs
Some touchups for init script
Added O3 GCC optimalization
Readahead improvements
A bunch of kgsl improvements (adreno driver)
devfreq improvements

[KERNEL][Oreo/Pie/10] Fz Kernel

Code:
#include <std_disclaimer.h>
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices,
* 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.
*/
NOTE »
Fz Kernel
Only for 8.1, 9.0 & 10.0 ROMs.​
ABOUT​This kernel was made using the current LineageOS kernel source as base and merged all the necessary changes to work on Android 10 (Ten). On top of it I then added some features for it to be customized by each user if they do want to.
Feature list
Replaced Qualcomm cpu-boost with Sultanxda cpu_input_boost driver.
Replaced Qualcomm MPDecision with NVIDIA CPUQuiet driver from Tegra CPUs.
Charging current customization Interface.
Voltage control for undervolting.
KCAL Color Control support.
Simplified Thermal driver.
Franco's Wakelock blocker.
Franco's Sound Control.
Franco's Backport of POWER_EFFICIENT workqueues.
Enabled Multicore power saving.
A LOT of under-the-hood optimization changes from Sultan, Franco, Boeffla, arter97 and many others.
Fixes USB MTP without enabling USB Debugging.
Fixes Data Saver.
Smooth default kernel behavior using ZaneZam's zzmoove governor with ZZ Battery Plus profile.
Custom Governors:
Alucard
Impulse
Intelliactive
Intellimm
Lionheart
Smartmax
zzmoove
Custom Hotplugs:
MSM Hotplug
AutoSMP Hotplug
CPUQuiet
Custom I/O Schedulers:
FIOPS Scheduler
SIO Scheduler
TripNdroid Scheduler
zen Scheduler
DOWNLOAD HERE​
OTA Updates
Going forward, kernel OTA updates will now be handled via Franco's Kernel Manager app. Users may import the following URL in FKM Flasher to receive updates:
https://raw.githubusercontent.com/Feinzer/fz_kernel_data/master/ota/release.json
Thanks to
CyanogenMod / LineageOS
Ak
Nikhil18
DeadlyIndian
ArtxDev
Sultanxda
franciscofranco
ZaneZam
Lord Boeffla
flar2
Adithya R.
Tomoms
Idprophecy
All of this is possible ONLY because of the work of these people and teams. Thank you.
XDA:DevDB Information
Fz Kernel, Kernel for the OnePlus One
Contributors
Feinzer, LineageOS, AK, Nikhil18, DeadlyIndian, ArtxDev, Sultanxda, franciscofranco, Lord Boeffla, ZaneZam, flar2, Adithya R., ab123321, Tomoms, Idprophecy
Source Code: https://github.com/Feinzer/fz_kernel_oneplus_msm8974
Kernel Special Features:
Version Information
Status: Stable
Created 2019-05-23
Last Updated 2020-01-15
Reserved
Changelog:
Fz v4.3:
Removed CPUQuiet Hotplug driver.
Added Intelli Hotplug driver.
Updated installer zip to anykernel3.
Added FKM OTA Support
Fz v4.2:
Added ZRAM (Disabled by default)
Removed Maple I/O Scheduler due to reboots caused by it.
Back to good ol' zzmoove default setup.
Fz v4.1:
Added back features and optimizations lost in the LineageOS rebase process.
Added some new settings on init to actually use the features this kernel has.
Fz v4:
Complete rebase to bacon's current LineageOS kernel.
Initial release for Android 10.
Fz v3.1 HOTFIX:
Fixed bootloop on ROMs built with AOSP/POSP trees.
Fz v3:
Added NVIDIA's CPUQuiet driver.
Disabled mpdecision by default.
Added Dynamic Interactive governor.
Added ElementalX governor.
Added Maple I/O Scheduler.
Added general optimizations and improvements.
Reserved
I'll give a try.
Currently over LOS 16 20190523 + magisk 19.2 no issue after flashing.
I'll try common things on few days:
1. Gps UNTESTED
2. Bluetooth OK (test with 2 bluetooth headphone and 1 bluetooth sound speaker)
3. Wifi hotspot OK (unlike FC kernel r57)
4. Battery life UNTESTED
5. More?
Been using it for weeks. It's good. Definitely worth trying.
Using it with TugaPower and I'm very satisfied. [emoji106] for good work.
Sent from my A0001 using Tapatalk
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Is there any changelog?
kakawait said:
Is there any changelog?
Click to expand...
Click to collapse
Yes, there is but I don't really wanna edit the OP every time I release a new version unless there are like, nice big changes to edit the feature list, I might post changelogs once I drop a new version on the reserved posts or something.
Yo Feinzer! i see your bacon is still alive...
i can't really use telegram rn that's why I've been missing , been trying to revive my damn phone...
(figure out who i am , isn't that hard )
Edit: Glad to see you doing some work hehe
Initial impression of this kernel seems good. The phone is a bit more responsive now.
Using official lineage OS 16.
doesn't work on POSP v2.2 - bacon
meiax93 said:
This kernel work great on TugaPower P18. Thank you for your great work. All the best.
Sent from my OnePlus One using XDA Labs
Click to expand...
Click to collapse
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
VitorMSA said:
What settings you use on hotplug?
Enviado do meu A0001 através do Tapatalk
Click to expand...
Click to collapse
i just flash that kernel and forget. i not tweak any settings. xD
Does.'t boot on AOSP rom also
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
You aren't giving details about the problem, which ROM are you using? any mods or something?
RenzozO said:
doesn't work on POSP v2.2 - bacon
Click to expand...
Click to collapse
portfolio said:
Does.'t boot on AOSP rom also
Click to expand...
Click to collapse
This issue has been fixed now with the v3.1 release.
Next time tho, try to tell me more information about the situation because I cannot address an issue that I have no information of, thank you
yes, v3. 1 is booting now with arrowOS, thanks!
Is this kernel support zram with lz4?
Or will it be supported?
SoarStarlight said:
Is this kernel support zram with lz4?
Or will it be supported?
Click to expand...
Click to collapse
Will look into it
Edit: nvm it does, I forgot about it.

Categories

Resources