[KERNEL][7.x][LINEAGE/AOSP] Optimus Kernel R3 [POTTER][12/7/17] - Moto G5 Plus ROMs, Kernels, Recoveries, & Other De

OPTIMUS KERNEL​
Hi guys, this is Optimus kernel for Potter. Only necessary features will be added.
This is for Nougat only. Works on Lineage/AOSP Roms. Enjoy!
Code:
Disclaimer:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
FEATURES:
- Updated to latest Motorola & CAF Sources
- Updated to latest upstream (3.18.60) from kernel.org
- Built with custom tailored GCC-5.4.1 toolchain (cortex-a53 neon-vfpv4 hard-float targeted, build with latest Crosstool-NG)
- Makefile: gcc optimizations (03 & VFP hardfloat support)
- Added Fingerprint boost driver
- Added zen,fiops & sio I/O schedulers
- Added Fsync ON/OFF Control
- Added wakelock blocker support
- display: added simple api to query ON/OFF state
- Interactive: reduced timer with screen off
- KCAL control driver
- Added Sound Control driver
- Enabled power efficient workqueues by default
- Added Wake Gestures support
- KGSL & Devfreq patches
- msm: added sysfs node for vibration control
- Disabled CRC check: 30% Performance boost
- Merged upstream ARM,crypto changes
- Updates to zram,zsmalloc,irq etc
- Sched & Cpufreq Tweaks
- Removed some debug and logging options
- Enabled Advanced TCP Congestions
- Lineage Profiles compatibility
- Many more (check github)
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!
You need ROM's default kernel before flashing this as this kernel uses Anykernel2 by @osm0sis (huge thanks to him). Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel)
DOWNLOAD:
GDRIVE
Special thanks to:
vache
flar2
franciscofranco
frap29
GtrCraft
fAiyaZ
The Legacy Team
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G5 Plus
Contributors
Flashhhh
Source Code: https://github.com/desaishivam26/Optimus_Potter/commits/n7.1
Kernel Special Features:
Version Information
Status: Beta
Created 2017-05-29
Last Updated 2017-07-12

I am still working on the kernel. So if u encounter any bugs pls report with logs.
Little info about Optimus Governor:
Optimus governor is based on conservative governor. It sets the CPU frequencies depending on the current usage.
It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed
the moment there is any load on the CPU. It tries to stay on minimum frequency as much as possible reducing power
consumption. I have added a tunable OPTIMAL_THRESHOLD. When the load reaches optimal threshold the cpu frequency
increases to preset optimal_freq. You can adjust these parameters using a kernel tweaker app. It also makes use of simple
display state API to query panel ON/OFF operations reducing power consumption during screen off
I recommend using EX kernel Manager or Kernel Adiutor for tweaking kernel parameters if u want to.

Yo will there. Be support for the stock rom?

Are you the same Flashhhh who used to build for Moto G 1st?

@Flashhhh nice job mate!

Amazing ?

Thug level: beyond calculation.

Sarthak Narang said:
Thug level: beyond calculation.
Click to expand...
Click to collapse
I second that.

zeft64 said:
Yo will there. Be support for the stock rom?
Click to expand...
Click to collapse
Maybe. I need testers for stock rom
navaneethkom said:
Are you the same Flashhhh who used to build for Moto G 1st?
Click to expand...
Click to collapse
Yup

I am ready to test for stock rom sir.

You got another stock tester right here

Flashhhh said:
Maybe. I need testers for stock rom
Yup
Click to expand...
Click to collapse
I'll do it!

zeft64 said:
I'll do it!
Click to expand...
Click to collapse
You should try the kernel on stock. I don't see a reason why it shouldn't work. Just backup your stock boot.img. If anything goes wrong u can always restore stock boot.img

Flashhhh said:
You should try the kernel on stock. I don't see a reason why it shouldn't work. Just backup your stock boot.img. If anything goes wrong u can always restore stock boot.img
Click to expand...
Click to collapse
Pause. That's a trap. I've. Tried that before with other kernels. It never works lol

zeft64 said:
Pause. That's a trap. I've. Tried that before with other kernels. It never works lol
Click to expand...
Click to collapse
We are using anykernel method. It doesn't replace boot.img so it should work. Just give it a try. But remember to backup stock boot.img

Flashhhh said:
We are using anykernel method. It doesn't replace boot.img so it should work. Just give it a try. But remember to backup stock boot.img
Click to expand...
Click to collapse
The kernel I'm talking about used the any kernel method as well. I'm talking about extended kernel. Didn't work until I flashed the one the dev made for stock

zeft64 said:
The kernel I'm talking about used the any kernel method as well. I'm talking about extended kernel. Didn't work until I flashed the one the dev made for stock
Click to expand...
Click to collapse
Ok . That wasn't the case for my previous device Osprey. The kernel worked on both custom and stock. I think I'll have to make a separate zip for stock then

Flashhhh said:
Ok . That wasn't the case for my previous device Osprey. The kernel worked on both custom and stock. I think I'll have to make a separate zip for stock then
Click to expand...
Click to collapse
Can you please include Faux sound , headset high performance mode also .?
Thanks for such an awesome work , I'll try your one on stock too to see if it works .

Ohhh yeahhh Flashhhh is here too. I'm in love potter support <3 ...
Man, I tried the kernel, and it is smooth. But with optimus, interactive, conservative, ondemand governors, the frequence goes to high clock (2.0ghz) and it stuck there for hude time, even without using all power, then it goes to Min (0.6ghz) and stuck there for hude time too, even when it is necessary to use high clocks.

aki_007 said:
Can you please include Faux sound , headset high performance mode also .?
Thanks for such an awesome work , I'll try your one on stock too to see if it works .
Click to expand...
Click to collapse
Did it work?

Related

[KERNEL][30/04][STOCK NOUGAT]EXTENDED STOCK KERNEL V7

EXTENDED STOCK KERNEL​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is... Still valid??.
*
* 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.
*/
WARNING: THIS KERNEL IS FOR STOCK KERNEL ROMS ONLY
PLEASE MAKE A BACKUP OF YOUR SYSTEM & STOCK KERNEL FIRST​
This kernel is for STOCK NOUGAT ROMS ONLY !
This Kernel aims to use the best and most stable feautures of stock kernel by default and add useful features and optimizations,The idea is to keep it simple, stable and optimized.
The features Are :
Updated to lastest Motorola Nougat Kernel Sources
Any Kernel Installer Script
Compiled Using Google Toolchain 4.9
Added More TCP Congestions Controls
Added Wakelocks Blocker
Added Wireguard Support
Added Sound Control
Added KCAL Color Control
Added Backlight Dimmer
Added Sys Interface To Control Vibration Intensity
Set "androidboot.verifiedbootstate=green" To Pass SafetyNet
Disabled dm-verity & forceencryption By Default
Disable A Lot Of Debugging
Some Of Tweaks and Optimizations
DOWNLOAD​
EXTENDED STOCK NOUGAT KERNEL V7​
Use the app EXKM or kernel adiutor to tweak the kernel!
XDA:DevDB Information
EXTENDED STOCK KERNEL, Kernel for the Moto G5 Plus
Contributors
attack11, sultanxda , franciscofranco , vache , flar2
Source Code: https://github.com/attack11/kernel-msm
Kernel Special Features: STOCK MOTOROLA KERNEL WITH EXTRA FEATURES
Version Information
Status: Stable
Current Stable Version: V6
Created 2017-04-27
Last Updated 2018-08-25
27-04
First Relese
12-05
Second Release
-Added Wackelock Blocker
-Added Kcal Color Control
-Added "Spectrum" Support (Performance/Battery Profiles)
-Added ZEN and BFQ I/O Schredulers
-A lot of more optimizations,Check git!
20-05
Third Release
-Added Cpu Input Boost
-Added Gpu Input Boost To Msm-Adreno-Tz Gpu Governor
-Removed ZEN and BFQ I/O Schredulers (CFQ is the best in 3.18 kernel)
-Removed Adreno Boost
-Fixed Crash when using the app from savoca to control Kcal settings
-You can edit the spectrum profiles now (the profiles are in "/data/media/0/Spectrum/profiles")
-A lot of more optimizations,Check git!
08-06
Fourth Release
-Added Sound Control by flar2
-Enabled and Tweaked KSM
-Added I/O Switcher
-Switched from cpu_inpust_boost to cpu_boost (more configurable by the user)
- Some misc updates and cleanup´s
14-06
Fifth Release
- Updated to latest MMI-NPN25.137-67 Sources!
- Disable A LOT of debugging
- Memory Leaks Fixes
- Updated Installer Script & Spectrum Profiles!
13-03
Sixth Release
- Updated From The Scrach!
- Updated To Latest NPNS25.137-93-4 Kernel,f2fs And Wlan Sources!
- Removed Lot of unnecesessary stuff , Simplify the kernel
- Added Wireguard Support
- Removed Spectrum Support and Update Installer Script!
- Some Misc Changes And Updates ..
30-0
Seventh Release
- Rebased to latest release NPNS25.137-93-8 from motorola
- Some Misc Changes And Updates ..
Does this allow fingerprint vibrations to be turned off?
roygbiv859 said:
Does this allow fingerprint vibrations to be turned off?
Click to expand...
Click to collapse
Well you can control vibration intensity, If you set it to 0 you will Disable all vibrations, including vibrations with fingerprint
attack11 said:
Well you can control vibration intensity, If you set it to 0 you will Disable all vibrations, including vibrations with fingerprint
Click to expand...
Click to collapse
Do you think in the future you will add the feature to turn off only fingerprint vibrations, but still have notification and call vibrations?
roygbiv859 said:
Do you think in the future you will add the feature to turn off only fingerprint vibrations, but still have notification and call vibrations?
Click to expand...
Click to collapse
Dunno,But If i find a way to do it I will add it :good:
Awesome, I used your attacked kernel long ago on falcon... Any recommended settings for this?
Enviado desde mi Moto G (5) Plus mediante Tapatalk
abeloman said:
Awesome, I used your attacked kernel long ago on falcon... Any recommended settings for this?
Enviado desde mi Moto G (5) Plus mediante Tapatalk
Click to expand...
Click to collapse
Stock values are pretty good ! Didnt touch anything of governor values yet or msm_performance
Great ......
Awesome! Thanks for this. High Brightness Mode...
Way to go, let's get this phone cracking. How about a debloated stock rom to go with this kernal
atrac17 said:
Awesome! Thanks for this. High Brightness Mode...
Click to expand...
Click to collapse
Thanks! But High Brightness mode is already in stock kernel/rom ...
imritechere said:
Way to go, let's get this phone cracking. How about a debloated stock rom to go with this kernal
Click to expand...
Click to collapse
Im not with roms,sorry,I dont have enough time, Hope someone can make a "debloated" version of stock one !
attack11 said:
Thanks! But High Brightness mode is already in stock kernel/rom ...
Click to expand...
Click to collapse
I never looked at Kernel Adiutor till this morning. Only had the phone less than a week. But still appreciate your work. :silly:
Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.
22sumit said:
Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.
Click to expand...
Click to collapse
Thanks ! Next update will have some more optimizations to reduce the drain in idle :good:
attack11 said:
Thanks ! Next update will have some more optimizations to reduce the drain in idle :good:
Click to expand...
Click to collapse
Would love to see a version for custom Cm/aosp based ROMs...
22sumit said:
Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.
Click to expand...
Click to collapse
Is there any way to toggle the min brightness from the homescreen with a widget or something? It's kind of a pain to go into the kernal aud app to turn it on and off
roygbiv859 said:
Is there any way to toggle the min brightness from the homescreen with a widget or something? It's kind of a pain to go into the kernal aud app to turn it on and off
Click to expand...
Click to collapse
Use profile option to set the brightness toggle on/off as per your convenience and add that profile widget to the home screen.
This should get the job done. Simple click on profile widget switches the toggle on/off.
rayzen6 said:
Would love to see a version for custom Cm/aosp based ROMs...
Click to expand...
Click to collapse
Hopefully next week i will release the lineage/aosp version,Stay tuned! :highfive:

[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.

[KERNEL][7.x][LINEAGE/AOSP] ALIZE [20/7/17]

/*
* Your warranty is... Still valid??.
*
* 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.
*/
WON'T WORK ON STOCK BASED ROM
Introduction:
The main objective of the kernel is to give to any user, a stock kernel with some tweaks like new CPU govenor focused on battery, performance and both of them, I/O scheduler, ...
Click to expand...
Click to collapse
Features:
Updated to lastest Motorola source
Kernel upstreamed to lastest source (3.18.63)
Lionfish, Bioshock, Zzmoove, PegasusQ CPU governors
FIOPS, ZEN I/O scheduler
Fingerprint boost driver
CRC check disabled (Performance boosted)
Vibration control
Sound control
Fsync support
Safetynet patch
Makefile: -0fast and Graphite optimizations
All feature of the boulzordev's kernel
Many other tweaks (check gitlab)
Click to expand...
Click to collapse
Download
Androidfilehost: https://www.androidfilehost.com/?w=files&flid=198747
Click to expand...
Click to collapse
How to flash:
1. Download Alize for Potter
2. Reboot to recovery
3. Flash kernel's zip
4. Reboot and tweak with proper app (Kernel auditor, Ex kernel manager, ...)
Click to expand...
Click to collapse
XDA:DevDB Information
Alize, Kernel for the Moto G5 Plus
Contributors
Martichou, Boulzordev, Flar2, Vache, fAiyaz, Nick
Source Code: https://gitlab.com/alize_kernel/Potter
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0.7
Created 2017-07-20
Last Updated 2017-07-20
Changelog:
Code:
v2.0
- Everything has been redone from scratch
- Switch to Gitlab and setting up CI
- Remove Barry-Allen (too old)
- Added ZEN I/O governor
- Upstream to 3.18.63
- Check Gitlab for more
v1.8
- PegasusQ cpu governor
- Kcal control
- Hight priority workqueue
- Some build fix
v1.7 | Public release
- Lastest source
- Barry-Allen, Lionfish, ... cpu governor
- FIOPS I/O scheduler
- CRC check disabled
- Spectrum support
- Many more on github
Good work! I'm liking the extra gov options. Performance is great with the default profile at the moment. I believe it's barryallen.
dpryor88 said:
Good work! I'm liking the extra gov options. Performance is great with the default profile at the moment. I believe it's barryallen.
Click to expand...
Click to collapse
Yes, default CPU governor is set to Barry-Allen.
Glad you like the kernel.
New build is up!
Check changelog.
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
joshk89 said:
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
Click to expand...
Click to collapse
My fingerprint works perfectly, not a kernel issue
GtrCraft said:
My fingerprint works perfectly, not a kernel issue
Click to expand...
Click to collapse
Yeah I don't know what happened but nothing could undo the issue other than a clean install. Which sucks lol cause I have to redo everything and my backup is useless
joshk89 said:
Getting error, finger print hardware not available. Also there are 4 fingerprints saved and I can't delete them. Running smooth other than that
Edit,
Not sure what happened but I can't edit fingerprints anymore, I've even re flashed my old backup and kernel and tried re flashing the rom,
Before I flashed this kernel I took off locks, backed upand the flashed kernel. Not sure what's going on
Click to expand...
Click to collapse
I'm sorry for this.
But it's not a kernel issue.
No one have this issue. Good luck to restore your data
I've been running 1.7 / 1.8 for a few days now using Lionfish governor and i have to say it's pretty awesome. :good:
New build is up!
Check changelog.
Martichou said:
New build is up!
Check changelog.
Click to expand...
Click to collapse
Hey bro there's some interesting features on this kernel. Figured I'd share the link with you https://forum.xda-developers.com/oneplus-5/development/render-kernel-oos-n-eas-r1-t3639839
the download link for this kernel is down. can someone provide a mirror, please?
I don't see any extra cpu governors.
What should i do??
Akshatk said:
I don't see any extra cpu governors.
What should i do??
Click to expand...
Click to collapse
Use the v44 at this thrend:
https://forum.xda-developers.com/showthread.php?p=74525704
matze779 said:
Use the v44 at this thrend:
https://forum.xda-developers.com/showthread.php?p=74525704
Click to expand...
Click to collapse
Not there.
Here is a mirrorlink:
https://www.dropbox.com/sh/xr3qe15mjqee6ps/AACOfo2SLn30rYllGC8krvx-a?dl=0
Closed per OP request

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

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.

[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

Categories

Resources