yashsingh1/xdaforums huggingface dataset:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
It's just a benchmark, but it tells something! Very good result.

However, I'm experiencing some lag while playing real racing 3. It didn't happened in stock so I don't know if there is some tunables more battery friendly, or maybe the device get too hot and started throttling.

If you are interested I can get some logs.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
So it just works out of the box, or you need to use a kernel manager to select which governor it should use?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Both. It works well as it is pre configured, but you can also tune it using a kernel manager
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Still noticing lag ?

Not sure if logs would do me any good with this, but you can send me some if you wish.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I have been playing again with no lag. Maybe it was due to thermal throttling
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
I don't know if it's 20c, or i've just gotten used to the performance of pixel experience. But it is laggy.

Edit: Changing to "interactive" fixes it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Features of Oreo beta(5) kernel, currently:

KCAL - Screen panel control

blu_active (by eng.stk) cpu governor

Integrated blu_active settings into ramdisk

Toggle USB2 900mA Fast-Charge on/off

Boeffla Dynamic Sync Control

Boeffla Wake-Lock Blocker

Various patches and fixes

Maple I/O scheduler

WireGuard

Also RCTD is now disabled properly (changed with Oreo).

Flashing script mounts system and removes the offending lines in a certain file there.

Oreo Beta Folder -- Source
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] bou87:
thanks, very apreciated kernel, good job
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] xdzeus:
Have 1 question do i have to flash magisk after the kernel becouse you need to do this with the melina kernel in order to make it to work on the oreo
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hmm... not sure, should be no harm in doing it though, just to be sure.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I've upgraded from beta2 without flashing magisk and everything is ok
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
I'm not using melina, but nebula. Works fine. Didn't reflash magisk, no issues. Interactive still seems ever so slightly more fluent.

Is this "Toggle USB2 900mA Fast-Charge on/off" enabled by default?

Edit: After having tested it for a bit, interactive is defiantly more fluent. But blu_active is getting closer.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] marietto79:
[MENTION=6814590]askermk2000[/MENTION]

very good kernel, awesome performance:good::good:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Andolss:
How to use the wakelock blocker?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sun_is_shinning:
so, like someone already ask, i dont find the answer and like to know:

i have Oreo v20c and Melina TWRP with Melina Kernel and Magisk working fine, to try this just flash the Kernel and nothing more is changed instead of Kernel right? i wont lose root and magisk?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hey

I updated first post with Oreo release info, and with (I hope to be) v1.0 stable release.

New feature since last beta: DriveDroid support
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Thank you very much. I'm using the new version and seems very responsive and fluent after tuning a bit bluactive governor.

This kernel is giving a new life to our devices with Oreo.

The only thing I'd like to play with is undervolting, because thermal throttling is too aggressive and the faster cores tend to create a lot of heat.

I know it may be dangerous soI understand if you don't plan to include it. But could you look for and post the voltages that use the kernel for each frequency, in order to find a fast but cool frequency? I mean, I've seen kernels where a little raise in frequency costs a much higher raise in voltage, so it's worth for example, keeping it a 1900mhz instead of 2100
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I did that myself a while back.

Though I'm not sure if I still have that voltage table around, I did use that info to tune blu_active. If you look inside the zip (or in root dir of your g6) and find "ramdisk/init.blu_active.rc"

you'll see clearly the settings that are applied.

You where actually pretty spot on with your example. ~1900Mhz is where I put the most frequent load at (+70%). To go higher load must be +95%

So I guess if you want to UC, you'd lower the max (big cluster) to that.

Something else for those that don't know. blu_active has a setting called "fastlane". To enable just put "1", fastlane = 1

You can configure the threshold, default is 50% - when the load reaches that, fastlane will ramp the frequency more aggressively.

So basically a switch to increase performance without re-adjusting the whole configuration.

Edit: Actually I never had the voltage/freq steps for the G6, as I don't have one.

The get the steps (on G5) I had to patch the kernel with a voltage adjustment patch. They then showed up in KA or similar app.

I tried to find them in the kernel source itself but I couldn't. I guess I didn't understand how/where those values where derived.

But my point being, the steps are different for G6. Those values you see in "init.blu_active.rc" are extrapolated from the G5/V20 values.

I do think they're reasonably correct though.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DJPRMF:
Great kernel. Working fine in latest Oreo build :)

Quick question, what are the best tuning settings that i should look to improve battery? (performance i know will probably hurt a bit, but i prefer battery over raw performance)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Andolss:
Really great kernel?, I use Interactive guv and don't feel the need to lower the res to 1080p anymore.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
The kernel is mostly battery saving oriented.

Better performance comes from using newer GCC compiler with optimization flags, code fixes and additions that stock kernel lacks.

If you want even more battery saving perhaps you could do like blackhawk_LA above.

Nice :good:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sdrawkcab3:
When I tried flashing v1 Oreo on my US997, I got an error about the wrong version of Android. I'm pretty sure it said I had version 8.0.0[] and the kernel is for 8.0.0 - I'll get the exact error text and post it later. Just curious if anyone else has successfully installed on US997?

Beta Oreo version flashed fine, btw. It's just the v1 Oreo release that didn't flash for me.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=842389]sdrawkcab3[/MENTION] Hmm, well haven't heard any complaints from either G5 or V20 forums, so perhaps something weird with us997 build.prop

You can open the zip and edit the line "do.droidcheck=1" in anykernel.sh, and turn it off; "do.droidcheck=0"
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sdrawkcab3:
Hadn't thought to change that! Clever idea [emoji846] I'll give it a go

Edit:

That worked [emoji106]
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I've had random reboots at night. I have some ram related magisk modules so I'm not sure if it is kernel related. If I remember well, there was a file called last_kmsg where devs could look for issues, but I don't find it.

If someone has had any similar problem please tell.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] matteool:
Hi, I looking for a kernel to improve my battery life. I have fulmics with Android 7. Is it compatibile? And which settings is the best for battery life?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
After disabling magisk modules, I haven't faced any random reboot for days. So I can say the kernel is perfectly fine.

Enjoying a great battery life, good performance and less heat
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DJPRMF:
This is for oreo.

There are some old builds that work in Nougat - i think - but if you are already in Fulmics just stick with that...

A quick note, using Magisk "RAM" optimization modules often cause more issues that solves anything. There will be no noticeable improvements using those... :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hmm so it seems I've been doing something wrong a while now.

AnyKernel will not copy the modules to system/lib/modules any longer.

Just to confirm; does G6 keep modules in /system/lib/modules or in /system/vendor/lib/modules ?

Nvm
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo Kernel v1.1

* Security updates.

* Code fixes/updates.

* Re-built compiler.

* Now using graphite gcc optimizations.

* Improved speed and ram usage.

* Westwood as default tcp algorithm.

* Fixed kernel modules not being copied to system.

Source: mk2000-oreo
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] kikobg98:
If i flash this over v1.0 do i need to install magisk and everything?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I had big slowdowns when waking the phone and starting the camera. It seemed like a ram management problem since aftera few seconds everything went back to normal. But it has appeared again when heavy multitasking.

On version 1.0 everything has always been smooth and fast.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I think you had H870...

Try and use this for a while. See if it reappears.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Bunsenbrenner:
with 1.1 no problem with me better than 1.0 no slowdowns or stuttering when using or waking up the handset very good work.

I still miss settings, for example touch boost you can add and other settings? ???

My Handset H870 (DEC)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Using it since yesterday and after a lot of testing I have not had any issue. Actually, I'd say multitasking is better (I have zram turned off)

Great kernel!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] remondz:
For some reason v1.0 feels a lot smoother to me than 1.1 and I'm getting weird delay when opening apps with 1.1 (e.g. Gmail loads much faster on 1.0)

Edit: Using interactive governor
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v1.2

* Code fixes/updates.

* Enabled power efficient workqueues.

* Added SultanXDA's Input Boost driver (disabled by default).

* Patched some Qualcomm drivers with power efficient workqueues.

Source: mk2000-oreo
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Thanks!

Is this based on the "original" 1.1 , or has it the fixes (or whatever changes) on the alternative version you uploaded two days ago?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
If your problem was fixed by that kernel I uploaded for you, then this will too.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v1.3

* Minor changes.

I had to do an update here. Yet again a bug sneaked into what was supposed to be a stable release.

"PowerManagerService" wakelock was going rampage. It was caused by a last minute addition I didn't test for v1.2

I didn't think I had to as it was a fairly common patch for improving power consumption.

Anyway now it's gone, and hopefully no other annoying surprises left.

Source: mk2000-oreo
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] marietto79:
I have very system slow down with this version. the apps opened slowly and lag. I am on lg g6 h870 strock oreo rom.

for me 1.1 version was the best (the second version you uploaded for h870 users).

Thanks for your hard work.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I have been using the kernel for a few days and everything is as fast as always
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] kikobg98:
v1.3 Working fine
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] marietto79:
Sorry, it was my fault.:(:(:(:(

I had a problerm with settings in EX Kernel Manager non applied on boot that slow down the phone.

Now it's all ok. Fast and Smooth as always.

Sorry again and thanks for your work:good::good:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v1.4 BETA<<-- (This is the link...)

---removed---

* Many interesting commits from sultan's and nathanchance's Pixel 2 kernels.

* Replaced Input Boost with Pixel2 version. Now boosts on app launch (and on waking).

* Also I've disabled normal boosting on touch input. No user configuration to be done.

* Removal of deprecated code from KGSL (adreno) driver, by Sultanxda.

* Sultanxda's irq and thread management.

* Various stuff...

Source: mk2000-oreo
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] matthew33:
I can't see version 1.4 when i click the link.

Matt.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ziotapa:
Click BETA !!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] matthew33:
Can't see anything that says beta.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
The kernel is amazing. Used it on the g5 and was never disspapointed.. On the g6 with latest stable & beta I cannot change the CPU frecuency I will always stick to 979 & 1056mhz I tried kernel auditor & ex kernel apps to change frecuency but no avail that low speed kinda makes the phone a little bit slow
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Do you have US997 ?

In any case there is no explanation why *you* would such problems, but... if it is something related to a particular variant, I wouldn't even know where to begin to solve it.

I'm building this kernel for some ~18 LG phones. It seems generally if it works for one, it works for them all (putting aside some quirks between the main models like G5 vs V20).

That said; there seems to be (I'm saying 'seem' because, I only have a G5 H850) something with both the H990DS and US997.

I recall a few with US997/H990DS in the past complaining about something very obscure that no one else has ever heard of. Someone mentioned switching to Interactive governor, you can try that.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I'm pretty sure it's because of thermal throttling. It's very aggressive on G6. It keeps the cpu on low frequencies even after cpu temp has ramp down. So right after booting you have to wait a few minutes before it cools down enough to let the frequencies go higher.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
Thats the thing i am not playing any games when using it or any intensive usage

---------- Post added at 06:49 PM ---------- Previous post was at 06:47 PM ----------

My g6 is the H872 variant. But i might be a oreo problem cause even on AEX with nebula kernel it had few problem with the frecuency, but the current version of your kernel that im using is the 1.4 beta14
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
It's easy to check. Just leave your phone alone for at least ten minutes and then look at frequencies and try to change them.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
Will do... Be posting back if there any result

---------- Post added at 07:13 PM ---------- Previous post was at 07:00 PM ----------

Ok so after changing the frecuency to the desire speed.. It does not change in the app visualy but it tells me that the max speed is the one i choosed
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
This is how it looks while in performance and i change the frecuency multiple time it still goes back to 979 & 1056mhz
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Battery at 38°C is hot enough to trigger thermal throttling. I am using a modded thermal.conf made by someone here. Look for it, I don't remember if it was posted on Melina kernel thread
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
I installed melina kernel just in case it was bug on my part but no even with melina cpu frecuency refuses to change. Hell when refreshing the dashboard on Ex kernel the max cpu freq changes a lot it goes from 1593 to 1440 randomly. But i will look for the that thermal.conf file
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] paul_zm:
In settings , kernel version is unavailable , is it right :confused: I flash v1.3 first time
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
Its normal get kernel auditor or Ex Kernel managaer and it should tell you that you are using Mk2000 kernel
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] paul_zm:
Yeah , you are right , I don't understand why it is not displayed in settings .:p
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Genji-2d:
Dunno but it was the same on the G5 so perphaps the OS cant properly name it who know :silly:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v2.0 BETA

^This is the link^

* Linux 3.18.126 (latest)

* Many interesting commits from sultan's and nathanchance's Pixel 2 kernels.

* Replaced Input Boost with Pixel2 version. Now boosts on app launch (and on waking).

* Also I've disabled normal boosting on touch input. No user configuration to be done.

* Removal of deprecated code from KGSL (adreno) driver, by Sultanxda.

* Various stuff...

Ok so I've gone back to the beginning and refreshed the whole kernel. Starting with CAF base and

merging in Android stable 3.18.126

Then extracting (almost) all of the non-LG commits applied - separating them as individual commits, and

finally applying LG's own modifications.

After this I picked in from previous mk2000-oreo branch, condensing commits and omitting questionable ones.

Of course upstreaming from 3.18.71 to 126 has brought a whole bunch of updates and fixes treewide.

I removed sultan's irq and kthread management as that seems to not be plug'n play with the 3.18 kernel.

I have been testing a bit myself and seems alright so far.

Source: mko-v2
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] lovermed:
any chance you would work on the lg g7 ?? would love to have your kernel !!

wonderfull device :))
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Well, I don't have a G7.

Nor do I have a G6 or V20, but in this case it's different since they all use the same kernel by LG - which simply requires a bit of tinkering and maintenance to be compatible with all three.

G7 is an entirely different kernel, based on Linux 4.9.x. But you know, I might try and create a kernel for just for fun, hehe. Right now I have developed a kind of muscle for using git and

upstreaming kernels and such, so it would be an efficient operation at least.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] lovermed:
I would be forever thankful
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Ijspegel:
What is the reason you are using blue active as standard governor? Is it better at performance or battery? My phone does feel faster and smoother with this kernel. Are the new andreno drivers included? Thanks for your work!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
'blu_active' is a governor by the well known developer eng_stk here on xda. Including it in the kernel seems appropriate because it's an updated version of 'interactive' which is what

most people should use anyway. Also, because of extensive tuning preset which I found originally in eng_stk's repo, for blu_active. So I'm using his governor with the adjustments as I found them.

This place is only about kernel. These adreno driver has nothing to do with it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sun_is_shinning:
well, i just need to say until now (i just flash this yesterday) the standby battery drain for the last 17h idle is 0, 0%.

just a really strange thing i just notice right now is: i didnt have network SIM in my phone, but the signal icon say i have network like: how?! i didnt have a SIM inside the phone...but i dont know if this is a problem with this kernel.

One thing i see is sometimes when unlocking the phone and open a app is a little lag/slow down but dont mind about.

i have flashed the last beta v2.0 and get 174.858 in Antutu, better than Melina Kernel, i didnt change anything with EX Kernel Manager or Kernel Adiutor, just flash the kernel and rock on without any more modifications.

i just want to know if is possible to add some internal app/mod to change KCAL setting without a need of a 3rd app like Kernel adiutor to change that...i dont like to have an app to do this and other to do that and since i just want to change KCAL settings i ask if this is possible to do, i see built in on some ROM's so i just like to have it on stock with this kernel.

Thanks in advance...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ErickG233:
KCAL control

or you can change something in /flashablezip/ramdisk/init.blu_active.rc
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I have looked at the G7 thinq source and I don't think I'll be doing it currently, as the LG Oreo source is very weird.

It's "older" than the first CAF release for sdm845, so I have no reference point.

Maybe after Pie gets released I'll do it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I feel the phone is faster than ever. And for now, I haven't experienced any issue. Even boot time seems to have decreased
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] paul_zm:
Are you using 2.0 beta ?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Yes
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Yes, like this (taken from V20 Gamma Kernel):

# Gamma settings for better LG V20 contrast and colors
write /sys/devices/platform/kcal_ctrl.0/kcal_enable 1
write /sys/devices/platform/kcal_ctrl.0/kcal "251 245 221"
write /sys/devices/platform/kcal_ctrl.0/kcal_min 20
write /sys/devices/platform/kcal_ctrl.0/kcal_sat 260
write /sys/devices/platform/kcal_ctrl.0/kcal_val 255
write /sys/devices/platform/kcal_ctrl.0/kcal_cont 256

Values should likely be adjusted for your display.

I've notice that on stock Oreo, blue component has already been reduced compared to Nougat (at least for G5 it was). So not much adjustment is needed.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
What is the thermal throttle limit in 2.0?

I'm not sure what the line is called that controls it, but wanted to know what it is set to. Also for gpu.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I have not modified anything related to thermal management on the G6.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
Oh, you haven't, i thought that was the first thing kernel makers did. Do you then know what performancewise differences there would be to disable core control and only use VDD restrictions?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Jogg3r:
Hey guys just wondering what are the best cpu settings for good battery and system Smoothness. Whats your favourite? Just rooted my v20 yesterday. Main reason was the screen remteriom and bad battery life. Any help would be awesome. Thank you :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Certainly not the first thing I did. I've only very recently done minor adjustments to a few thermal settings on G5 and V20. Not the G6 because it has an embedded battery, and secondly it was much more complicated to adjust for.

Those settings you're talking about are obsolete I'm pretty sure. No need to do anything with those.