yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I assume Lineage has not re-partitioned my storage. In that case, no, dtb is not on a separate partition.

But... I think it was the program I used for unpacking the boot image that had problems and perhaps got some offsets wrong. Using different app on linux gave a different result, so from that it seems it's a gzip compressed kernel with dtb attached. To be honest though, I'm not sure.

I'm thinking the problem of not booting has to do with Lineage using efi stub. I don't know how it works exactly, but maybe there's some secure boot going on...

I have already done various tests, and changing to gzip compression or using uncompressed kernel still doesn't make it boot.

I have done very little at this point to the LOS15.1 kernel, so I don't think it's something like that. Maybe [MENTION=2881807]x86cpu[/MENTION] is using his own set of patches, or something.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes, right not the kernel I'm using is in process of getting back into Lineage. As long as you don't start picking other gerrit commits it should be fine. But if you use a different kernel it may have issue, i would doubt it though.

That bring said, since this is a stock kernel thread, those do not usually boot with LineageOS based roms.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Legitsu:
he was working from LOS source as far as I am aware it hangs on the LG splash so its probly ramdisk related ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Legitsu:
I was browsing the fulmics thread its probly the same issue thats preventing fulmics from booting which is the boot.img
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Do you have a source for this kernel, or an approximation of it? Btw, is it the same kernel you use for V20 as well? If it is then I could simply look at Omar-Avelar's Gamma kernel, although I don't see anything special there. Except that he's using an old (feb) snapshot of the Lineage kernel as base.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Sources in the LineageOS GitHub are updated with all the changes now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xneoenx:
Can I flash this on the Oreo 30c stock room?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
No.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lesterp0310:
Hi, first of all thank you so much for this kernel. I used to have it in my previous rom.

Now I have updated to the v30c Oreo and I really miss a kernel with KCAL support.

I'm wondering if you have plans to work on a Oreo based kernel?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I have uploaded OREO beta build of H830:

Oreo Beta Folder

Source: https://github.com/stendro/msm8996_lge_kernel/commits/mk2000-oreo
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xneoenx:
Brilliant thank you Sir
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a6767552266:
flashed,no bugs till now.much more Smooth than t

stock kernel. later i ll test battery life
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ecompton59:
great job testing now glad you guys kept the kernel going stock kernel on 8.0 has few issues thank you
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] adarsh35:
Hi, first of all, Thanks for the brilliant Kernel. Good Job on your work. I've been using the Oreo built since two days and few things I noticed like Phone is getting hot and battery life isn't good, didn't use stock kernel so I don't have Idea about battery life on that and the heating issue too.

Otherwise, it has been working very good.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ecompton59:
it works great not really bad on heat but once so far from mine left app on but screen was off went to bed workup it was hot but changed a few things improved doze my help in trying
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Legitsu:
Still no RS988 love ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Are you talking about Lineage kernel for rs988 ?

I never could get it to boot, tried lots of things.

Maybe I could try a few more things later but for now I'll have to give up.

Like I said, first time trying this. Perhaps it's something rather simple.

The source is up on github: "mk2000-lineage" branch.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] abced123:
Can you look into the Mobile network standy part ? With both stock and 1.0 beta for Oreo , G5 drains too much at idle, like around 30-40% battery for 7-8 hr of sleep . The mobile network standy takes at least 20% in battery usage info .
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Djolenzze:
Can i ask you, please, to make new kernel for H850 oreo?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo Beta Folder

Now with H850
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Where is Oreo for the H850 ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
https://xdaforums.com/lg-g5/development/stock-h850-30a-eu-rom-flashable-zips-t3850072
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Djolenzze:
Thank you, so far its working great. :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ebisa:
MVP! Testing it already, so far everything looks great.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ecompton59:
830t beta v2 works good still after a week of use thanks for great kernel
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] nullsec:
Any chance an RS988 (beta) build will be released?

Thanks for your awesome work!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo released for RS988 ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] nullsec:
JUST recently, I thought.

EDIT - Source: https://xdaforums.com/showthread.php?p=77801986
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I don't see any RS988 stock oreo rom anywhere. The post you referred to has nothing to do with rs988 oreo rom.

And you can't use my kernel with AOSP rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pphish20:
Just flashed the latest beta for H850 and so far so good; boot time after cache and dalvik wipe was insanely fast, so nice to have KCAL back and a working flashlight toggle! Will report back with any issues but this def seems better than stock kernel.

One question: should adreno idler be present for you? Just wondering if my dirty flash removed anything that would otherwise be present...
[LG G5 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 G5 ROMs, Kernels, Recoveries, & Other Developme] JoniDS:
Thank you for your work.

H850 Beta 5 feels faster when compared to BETA3.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] a6767552266:
Would you like to add eas feature？
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Wouldn't do that with stock I assume
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RobertPirainoBR:
LG G5 it's back to life!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Thanks for the kernel, works ok so far. I have noticed though that screen brightness calibration is a bit aggressive in moderate lighting conditions, where it tones down the brightness more than it is actually needed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] abced123:
weird issue

First, what is the proper way to flash the kernel with Magisk ?

I followed the Magisk thread : flash Magisk first , then this kernel in TWRP .

Everything seems to work fine until I encounter weird issue with apps ( such as mobile banking apps, smart thinQ, AmazonFlex, etc) that requires Hide root status in Magisk. They seem to work OK initially . However, whenever I clear the apps' data/cache , they detect root status ( such as root status warning screen, or losing fingerprint logon capability) no matter they are hidden or not in Magisk Hide.

Could someone else also try and see if you get the same problem ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oevi:
I had the problem before independent of the rom. The solution is not only to mark the banking app in the magisk app as hidden but to hide the magisk app itself by repacking it with a random name. You find this method in the settings menu of the magisk app. This worked for me using Lineage, using stock oreo and now using stock oreo with this kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ezzony:
Anyone else getting poor graphics performance (edit: on Oreo update), quite poor actually as if my phone has a slow processor, clearly a software issue. I did full wipe with stock kdz, then COMPLETE zip, have installed magisk with no modules added yet, xposed installed with just one module installed (xpd edge pro). I had to install mk2000 beta five kernel to fix flashlight and hifi-module not working which it did fix. I have set CPU to performance using kernel manager and still very poor interface performance. I'm not sure when this started as I did everything one after the other in one go.

I will prolly flash HROM v30 when the next version is released which will prolly fix it but would be interesting to know what's causing this.

Edit: I should have been more specific - it's the general graphics that is the problem, window transitions are slow and glitchy.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Nope, works fine so far. I did install first the latest twrp, then full wiped everything except sd card, restarted straight to recovery, installed the rom zip, mk2000 beta 5 kernel and latest magisk (one zip after the other withour reboot in between), did not clear cache, restarted to systen and so far performance is as expected.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pphish20:
I noticed some issues on stock kernel, but only when the phone first booted, also I turned down all animations to half just out of habit. But I haven't noticed slowness with either mk2000 beta. I feel I'm getting better performance in games like PUBG as well; I would say Xposed may be your culprit.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tremalnaik:
I flashed MK2000 beta 5 and the AnTuTu score is slightly better than it was Fulmics 5.5 with stock kernel, and graphic performance doesn't seem to be worse than it was before with Oreo and stock kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] abced123:
You flashed kernel first then magisk ? On the magisk page, it says " magisk first then custom kernel "

I am back to beta 2 now and the apps work well; also hid magisk manager . I will try the next release .
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
That is not quite true for Magisk - for Magisk it doesn't matter I suppose.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Rom, then custom kernel and magisk without reboot in between, just select the zips and install them at once. I am not saying that this is the correct way to do it, but how i did it and it works (only the auto-brightness seems a bit off to me).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ezzony:
Yeah I used to do that on my older fones but what I love about the G5 is that I never have to do anything like that. I quite like the new graphics animations on Oreo, a bit iPhoneish but more subtle. I have 2 G5's one with Oreo and my SIM phone with Nougat. Still as fast as it was from day 1 despite being full of apps. Your may be right about Xposed being the culprit.

Anyway, since my issue is prolly not related to the mk2000 kernel I'll take it up in a more appropriate thread.

Edit: I was just about to start all over again and noticed I done a twrp backup. Thought I might as well flash it and hey presto back to full speed. No clue what the hell happened to cause this as Xposed, Magisk and mk2000 all installed and working fine! Case closed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
I can confirm that the slowdowns and lags are most likely caused by Xposed. After removing it, everything works smoothly and without a problem.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
never tried this , always stayed stock, deffo dont want a custom rom, but i might give this a try, is it best to wait for the stable or can we assume this is rock solid already
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Haven't been any problems so far. Though next beta release might not be completely ok...

I'm not far from a stable point release now anyway.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] abced123:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

That s why I am confused . Read the link or see attached pix
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I thought you meant the first page of

this

thread. I wrote something similar there, but was mainly for those still clinging to SuperSu.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
[MENTION=6814590]askermk2000[/MENTION], I have a question. Does your Kernel make any changes to the GPS signal? I'm asking because I noticed that on Android 7.0 there were differences in GPS signal reception quality between Kernel in beta and Kernel in stable version. On the beta Kernel GPS signal was weaker.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
No, never touched that at any point in this kernel venture.

Don't even know where it is, if it is even there. Might be only in firmware.

Edit: [MENTION=1145936]Kloosek[/MENTION] Well I just discovered that gps is part of the bluetooth driver, or so it seems.

It's not something I've deliberately patched at least, but it's not impossible that something has

affected it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Strange thing, because I tested Asgard Reborn 7.1 and mk2000 1.5 and 1.5.5 and on this kernels GPS signal was stronger then on mk2000 beta Kernel. I did the test at the same time (differences of a few minutes for the Kernel installation) and in exactly the same place.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 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.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
Thanks matey
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Any changelog?

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Everything is here: https://github.com/stendro/msm8996_lge_kernel/commits/mk2000-oreo
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Ok, thanks. I'm sorry I did not think to look there.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
Oh cool.. Stable is out.. I missed that.. Lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
Any feedback on stable 1.0
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Flashed over beta 5 followed by cache and dalvik clears and it operates ok.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Did you notice after clearing cache/dalvik, that rebooting was extremely fast?

For me it does and also the OS bugs out, spamming this error in logcat:

UsbHostManagerService: locked boot not completed yet.

After another reboot it seems to be fixed.

Edit: Not saying this has anything to do with kernel. I think it's a bug with stock rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
The first reboot time was normal iirc. The system was a bit slow for 15-20', like it was with the stock kernel, i left it idle for a while and afterwards was fine. I have not rebooted the device since then and it is fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Yes. You're right. I noticed the same. I thought I did something wrong.

And maybe "It's not a bug, it's feature" :)

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
My battery gave me a nice suprise after installing v1.0

It might be a coincidence, but look at standby and SoT times with my old battery.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hey

I uploaded test builds for next v1.1 if anyone's interested.

https://www.androidfilehost.com/?w=files&flid=283030

Here's the score I got on GB. Not that that matter's much, but I think it's the highest overall score I ever got, by a small margin (on oreo at least).

V20 users have reported much better experienced android performance on a previous beta exclusive for them. This is based on that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
i was just about to ask if there will be another version, lol,

the time has come to install it..i hope it goes well else there will be trouble, haha

thanks for the continued work
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Indeed, there is some pleasant performance increase, at least in benchmarks. Btw, first boot was utterly lighting fast!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=227153]melodystyle2003[/MENTION] I noticed after installing oreo that booting, and especially the initial dalvik compilation was much faster.

Something I've also noticed though is that if you manually wipe cache/dalvik in recovery and reboot it will boot abnormally,

in that dalvik compile is skipped it seems. At least something bugs out and you need to do another reboot to fix it.

I guess it's possible it was due to the beta kernel I was testing at the time. I haven't really bothered testing much further, I didn't

wipe again after that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] KnightRider2008:
In kernel version it says "unavailable". Does anyone else have that issue?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
That's because of how the Settings.apk works.

I did change the name of the reported compiler, to make it leaner and nicer. But because now the

/proc/version does not look exactly like it expects, it refuses to display anything.

This can be changed, say in a custom rom. Fulmics had changed something so that a lot more info is shown there.

Similar to what KA, or EXKM shows.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
New beta up.

Oreo Beta Folder

I've gone back with a few things that caused extra battery drain, as I've noticed, especially in idle.

What you see here as of now, is what's in this kernel: mk2000-oreo
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
Thanks for the update, i will flash it in a while. So far i have noticed that phone lags when i turn off airplane mode, which i leave it on every night, and syncing takes a while till completion. Furthermore, it refuses to connect to 5GHz wifi networks again when airplane mode is turned from on to off (to overcome this reconnection issue, have had to toggling airplane mode off and on till it could successfully connected to wifi, which needed 2-3 toggle efforts).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vmirjamali:
I'd love to give this a shot, will the stable release work with the RR Oreo rom here: https://xdaforums.com/lg-g5/development/8-1-0-resurrection-remix-v6-0-0-t3789823 ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
This kernel is for stock roms not Lineage/RR or any other aosp based roms
[LG G5 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 G5 ROMs, Kernels, Recoveries, & Other Developme] abced123:
Is there any problem with manual clear dalvik/cache as you mentioned before ? or it is fixed with final release ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
This has nothing to do with the kernel, like I said previously.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Legitsu:
rs988 installer is throwing a error says it only supports android 8.0
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] danthe de la vega:
i've benn waiting for this! thank you so much!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vmirjamali:
Darn.. ah well thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
I have replicated the following problem with both latest kernel revisions: after putting the phone in airplane mode (with wifi and data being both set to on before) during the night, in the next day when turning airplane mode off wifi can not successfully access the internet. This happens when the phone is not restarted for 3 days and can be solved with a simple restart. Can be also replicated after a fresh restart if you toggle aiplane mode 6-7 times, but the problem does not persist and wifi can connect and access wifi networks after few seconds. Both kernels have been dirty flashed over previous with dalvik/cache wipes, followed by a restart after first full systen initialisation. Last but not the least, i am not sure if this issue occurs with the stock oreo kernel too, since i have never used it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I've noticed that there's something funny with wifi ever since the oreo update. It's slower to connect than with nougat, like a long delay each time you turn it on.

I can't really see how your bug could be anything other than a problem with stock rom/kernel.
[LG G5 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 G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
I only notice this at bootup for the first couple of minutes
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unimo:
Many Thanks bro., awesome and good job. Best performace.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Hey thanks a lot, I couldn't find the input boost option using kernel adiutor from the playstore, is it a special command we could use to enable it?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RobertPirainoBR:
my flashlight wont work anymore on v1.2, and I cant use the flash on camera too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wulsic:
Wipe cache, that should be enough. Else also try to wipe dalvik cache if only cache doesn't work.

Verstuurd vanaf mijn LG-H850 met Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RobertPirainoBR:
Thanks, I forget to try this
[LG G5 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 G5 ROMs, Kernels, Recoveries, & Other Developme] ugzaniii:
Anyone else still getting camera led flash and torch problems or is it just me?

I'm on 1.3 (H850), completely clean install but have tried clean cache as well.

Going to try the old beta 5 next.