yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=8410471]ugzaniii[/MENTION]

Dude, this happens because you flash Magisk after the kernel. I has never had anything to do with the kernel itself.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ugzaniii:
F***, I need Magisk, more than I need the camera flash :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I tried downgrading from 1.2 to 0.8 and then upgraded back to 1.2, and weirdly enough, the artifacts were gone and so are the crashes so far. (Other than the flashlight icon in the screenshot attached. )
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Fulmic has no bootloader included. If you never upgraded you full firmware or flash separate bootloader, you will be at whatever last ota update or kdz you flashed.

If you have flashed Asgard 7.0 then you'll be at 20D - which is quite old.

But, if it's a problem with the bootloader it shouldn't matter if using 0.8 or 1.1 etc... at least in theory, but might be worth a try to update it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=6765362]Hadi99[/MENTION]

Hey, I have some indication there is a problem with the kernel, which relates to the issue you're experiencing. But it is only apparent in very specific cases.

It's strange that you see this all the time, whereas I could only reproduce some "artifacts" when importing raw photos into Adobe Lightroom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
It was obvious alot after clean installing v1.2. After downgrading and re-up dating to 1.2, the issue has vastly reduced, I have faced it only once all day (the flashlight icon). I guess processesor intensive tasks triggers it.(as in your case)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Version 1.35 Beta

Completely started from scratch. Based on H918 10R source, and patched to Linux 3.18.85

Fixed problem with screen artifacts.

CRC32 and CHACHA20 HW acceleration, CRNG based on chacha20.

Various fixes from CAF.

--cleanup old stuff
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Will try it now. Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I think you should remove the beta status. Everything is working flawlessly, infact, this is the fastest, coolest (temperature wise) and smoothest (even the GPU seems faster) kernel I have ever tested on the G5 (on default settings). The battery is at least on par with stock (haven't drained it completely yet to give you an in-depth review) and no artifacts, overheating, crashes, or anything of that sort.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Thank you. I feel honored by the good praise :)

I'll wait a bit more, then likely I'll put v1.35 beta on front page (renamed to 1.4 or something).

Though I am missing Adreno Idler in this release, I'm not sure if I'll add it this time, will have to investigate it a bit more (if it's worth it).

PS: [MENTION=1334063]dadittoz[/MENTION] - look on front page for my github :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Finally working on the h830, let's see how it goes, so far so good!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
A day have passed since I have installed it. I heavily used it. (Recorded 4k at 100 megabits per second) and so far so good. The battery is still very good and no system UI crash happened yet.

Edit: one minor "issue" that occured with previous versions on this kernel (and this version) is that the kcal app values reset after reboot; I have to re enable the service manually and restore the values.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Yes, I've noticed that too, with EXKM. Kernel Adiutor works as it should though. I thought it must have been a bug with the app... idk what is going on there. You saying that EXKM doesn't do that with other kernels?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
No it doesn't, it's not only Ex Kernel, KCAL app does that too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Ah well it seems I have unwittingly merged a change to kcal that intentionally does this. I will revert it and release a new version soon :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Version 1.4

Is up on front page :) :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Any changes related to audio output? I noticed that at high volume I get clipping but I might have just blew the speaker
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
What version is that? I'm playing now (v1.4) on speaker, and it's as good as you could ever expect from phone speaker.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Where is it on first page? I see only revert files. I use XDA app.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mkpcxxl:
Flashed 1.4 yesterday and the animated lockscreen backgrounds (kaleidoscope) don't work. It's only a black background. Normal pics are working.

Flashed back to 1.35 beta and the animated backgrounds are back.

Best regards

mkpcxxl
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I think you just fixed half of the issue and forgot to repair the other ?. Now kcal service is enabled on boot, however, it forgets the values and sets itself at default values. (pressing the restore button reverts it back to my preferences, but it doesn't stick on reboot).

And also found a minor issue where I occasionally get a black screen when watching YouTube videos. (I think this could relate to the animated wallpaper problem the person above me is having)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Yes I know about that. I got feedback early in my V20 thread.

I'm on it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=8410471]ugzaniii[/MENTION]

I think you need to read the *Help/Questions* in post #2, or get a little up to speed on the Android world since last few years.

Basically, you're doing something unnecessary by flashing Magisk

again

after the kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ugzaniii:
When did this happen!?!?! I've always had to flash magisk after kernel as kernel wiped out magisk :eek:

I'll try again as Magisk -> Kernel instead of Kernel -> Magisk, will report back!!

EDIT:

Tested, works a CHARM!!!!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] akramqatar:
Lg g5 (h850)

Brother, while flashing on got error message as "not supported for Oreo 8.1... only supported for 8"... I have huge battery drain issue...

Can you help me... I have installed linage 15.1 on my LG G5 and have noticed huge battery drain on idle (more than 3% per hour)... When I checked on Kernel Adiutor I noticed my CPU does not use lowest frequency which is "deep sleep" but instead using 307Mhz....

Can you please help me brother...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
This is for stock ROMs it says in the title
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v1.4 BETA

---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 G5 ROMs, Kernels, Recoveries, & Other Developme] slanteyez:
Thank you for contining to update your awesome kernel! This marks a year since i have used it.. Again thamk you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] melodystyle2003:
[MENTION=6814590]askermk2000[/MENTION] may i ask which rom do you use with this kernel?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I use both stock H850 Oreo, and H-Rom G7.

Though I don't really use either of them much. I use my computer for everything these days.
[LG G5 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 G5 ROMs, Kernels, Recoveries, & Other Developme] thunderc8:
Thx for all the work you are doing for the G5
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] russy23:
Running latest version.. All is good.. Thank you
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jokohama:
Using your 2.0 BETA on my H830. So far everything is smooth. Idle battery feels great, but 3D games seem to burn faster than stock. I will test it for a few more days. Thank you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
First of all, thank you [MENTION=6814590]askermk2000[/MENTION] for sharing this custom kernel.

I went back to stock Nougat on my RS988 after experimenting with some custom ROMs. One thing I greatly missed was the ability to adjust the colors/grayscale as the stock color temp is way too cool for my liking. Plus I started experiencing image retention, which oddly enough just started happening after 1.5 years of owning this device.

Anyway, I have little to no experience with custom kernels. To be honest, as I said above, the main reason for even installing this is for KCal. I made a backup of the boot partition in TWRP and installed the latest build for Nougat (1.5.5) along with the Color Control apk that was linked in this thread and was able to adjust the picture to my liking.

I wonder though, is this kernel good to go otherwise? Is it tweaked for a good balance of performance / battery life? Because like I said, I have little to no experience with custom kernels. I'm just wondering if I need to do any tweaking to get the most of it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I

wonder why so many seems to have this silly notion.

Why would I release a botched kernel ? Why would I botch it in the first place ? Why make it hard when there's no point ?

No. In fact there's nothing you need to to do, especially if you don't know what you're doing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
I wouldn't expect any developer to purposely release a 'botched' kernel. I just thought that perhaps some developers would create a kernel that would favor performance, battery life, or have a balance... that's all. No disrespect was intended... sorry if it came out as such.

But thanks for answering my question, and again thanks for sharing your kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
If they did, it wouldn't have anything to do with stuff you can control via an app.

Just for info. Happy you like the kernel :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] slanteyez:
Hey, Askermk2000 quick question. On this kernel is it normal for the Big Cores to stay above 1200mhz the whole time when in use? I am using Blu_active. It either in deep sleep or above 1200mhz when I am just browsing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Thank you for this kernel! And thank you for continuing the development.

I'm using the 2.0 beta for very long time now, and it seems very stable. No problems found.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Azhuo:
add ntfs filesystem support：:)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MCL95:
Hey bro. Thanks for all your work. Anyone who puts such effort to improve other people's phonesis a genius. However, i tried to flash the kernel in my stock nougat Lg g5 international, only rooted with SuperSu 2.79 and running TWRP 3.2.3.2. but it says unsupported device? This is what i get. :/ redownloaded the file, nothing happens. I also attach the software info i have now. Any help will be greatly appreciated!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=8951780]MCL95[/MENTION]

It is because you have flashed a version of TWRP for another device, like H830 or RS988.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MCL95:
Hm is that so? i had double checked. The twrp is for this device i guess, and i had also installed custom roms with the same twrp in the past :/ i will try to reflash twrp 3.2.3.1 to see if it changes anything. Btw i downloaded the latest TWRP from the official app itself (see screenshot)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MCL95:
lol just worked on 3.2.3.1. Now i wait to finish booting <<hypeee>>
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Oreo mk2000 v2.0 BETA

^This is the link^

* Linux 3.18.129

* blu_active no longer...

* Switched to interactive, with some new patches

* Changed interactive tunables - Using scheduler prediction, and other tweaks

* Disabled modules entirely

* Security improvements

* Various stuff...

Using CAF interactive now. Will likely have to tweak the settings for better power efficiency some more.

blu_active was interactive - updated to latest Google (google made interactive), with only a few CAF patches.

This interactive (in this CAF 3.18 kernel) is a slightly earlier version (from google), but with many CAF/qualcomm patches. I've updated it some more now,

and I feel like trying this for a while. There are some areas for improvement should the switch be unsatisfactory, like upstreaming to newer CAF scheduler,

or simply disable prediction.

All modules are built-in now. Only a few where needed anyway (of those that where selected by default).

This works nicely on G5 (H850), but I'm uncertain about V20 or some models like H918 and H830. We'll see.

Kernel size has been reduced by using 'gc-sections', or link time garbage collection.

Start with fresh boot.img before flashing this. I changed something in ramdisk, and if you don't start fresh you'll have two init-files conflicting with each other.

Source: mko-v2
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] roubi:
Start with fresh boot.img before flashing this. I changed something in ramdisk, and if you don't start fresh you'll have two init-files conflicting with each other.

Sorry, but what does this mean?

Thank you for your work, I very enjoy to use your kernel!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NeoAqr:
Hello, Sorry for asking this question on this thread. Does anyone know any Marshmallow stock-based kernel that has KCAL? I love Marshmallow because it's fast, smooth, no notification shade stutter after few days of use without reboot... And it can do screen recording with internal sound.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Do you mean aside this kernel? Because this kernel is stock based and has kcal. IMHO, use this great kernel as it's the best for marshmallow and oreo. Just take the latest marshmallow version.

Edit: Sorry, got confused with nougat. Marshmallow worked ok for me without changing kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Uh.. I never made kernel for Marshmallow. I wasn't around then.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Xkirnel99:
Hi i flash this kernel with V30f stock ROM and when i go to settings>>about phone>>software info>> in kernel version i get ( unavailable ) .. It is okay or i have a problem ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
It's ok. That's the way Oreo works. OP explained it a few pages back.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Can I still use SuperSu with Oreo and this kernel, instead of magisk ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Yes, I could
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andreipaval:
Hello, is it possible to convert this kernel into a img format ?

I don't want to change the stock recovery, and I am rooting using Magisk patched-boot,

but to do this I would need the image of the new boot.

I would like to use this kernel, because the stock one has the flashlight bug.

Why, I want systemless root, in case OTA updates will appear.

Thank you!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
The stock kernel doesn't have a bug, it's a Magisk bug.

And yes, it is possible. As of the latest 2.0 beta, I have

integrated and disabled all modules. So all you need is

the kernel itself.

You must unpack the stock boot.img with the appropriate

tool, replace the kernel, edit 'init.rc' (in the ramdisk) and add

this line at the bottom; "import /init.mktweaks.rc". Add the

file itself (init.mktweaks.rc) to the ramdisk rootdir (where

init.rc is).

To disable rctd: Remove the "service rctd..." section from

this file: /system/vendor/etc/init/init.lge.rc

Though you'll probably have the same flashlight "bug" if

you flash Magisk on top of this image, as the problem is

with the flashing process itself.

Or, maybe not, as now Magisk might not do all the steps

it usually does (verity already disabled).

Might be better for you to wait until version 2.0 is finished though.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I've updated first post with Version 2.0

If anyone should think the interactive governor and the current settings, is worse than previous blu_active governor and settings (for low power consumption):

Disable "use_sched_load" and "use_migration_notif" - then it should be practically the same as before, as the settings are similar, and 'interactive' is practically

the same as blu_active governor.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] slanteyez:
2.0 working perfect!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] boxes:
What kind of screen on time are you guys seeing with this kernel? Os build and LTE or wifi use?

On my h820 with stock Oreo I get only 2-3 hours of sot with only LTE use, over the course of 6-10 hours of the day. Standby drain is extremely low, only 1% every 4-6 hours maybe.

I'm tempted to get an h830 to run stock Oreo plus this kernel. I really like having swappable batteries. It's either that or spend a bit more to get the s8 active with it's 4000mah battery. But no root.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I just went back to stock, I'll let you know the SOT when I have relevant data. In the meanwhile, I'd suggest getting a new battery, avoiding the OEM ones. For a replacement, I'd get a MI A2 lite, it's got that 4 Ah battery and root.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] slanteyez:
I average around 4

3-4 hours of sot with 2.0.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oevi:
I've updated to the stable 2.0 oreo version from 2.0 beta-1 about a week ago. Battery seemed to last longer. But I lost the flashlight not only as a torch but even in the camera-app (stock). Now I flashed the latest beta (15) and the flashlight is back.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
After upgrading the kernel does not upgrade Magisk, then you will have working flashlight.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oevi:
Yeah, I think you're right. I can't say for sure, but I think there has been an update on Magisk. But that means, my experience regarding the longer lasting battery traces back to the fact, that I did in fact use the stock kernel instead of mk2000.

Now I'm back on the stable mk2000 kernel and the flashlight works. Thanks Kloosek.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Magisk it's so problematic, glad I've installed SuperSu, as I don't need to pass safetynet
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
Try new version Magisk it's update to v18.1 ...

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] DMOEdetc:
I don't know if this is related to the kernel, but my phone seems to block outgoing connection to port 9100 (network printer). Other phones have no problems and I have no firewall. Maybe someone can help me?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] hightech316:
OP states this kernel is for stock roms. Although , as I read through the comments I see a few people mention using oreo build w/ lineage .

Am I reading this correct?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
Wow it's new version 2.1 !!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Some people have used it with custom rom by mistake, and come here complaining about this and that not working.

So you don't use this kernel with custom roms, unless you make a mistake, or want things to be broken.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] karma0321:
Been on 2.1 the last 2 days on my H850 and i must say it's a great version! Thanks [MENTION=6814590]askermk2000[/MENTION]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Is it me or is 2.1 is much more battery friendly?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hehe, sorry I wish I could tell you but I don't do much testing myself on these things.

It's more a theoretical practice now. Though it is entirely possible based on the new

commits since 2.0

Hopefully someone else can corroborate your findings.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] popoyaya:
Does this kernel allow the stock headphone volume to be increased, for example using Kernel Auditor?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] comesefosseantani:
I flashed it only some days ago but I have the same impression :)

Anyway after flashing Magisk 18.1 I had to reflash the kernel to get the flashlight working.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Not sure if placebo or not, but I also think battery consumption is now lower. That's great news.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] darkalexpp:
Hi, I need to compile version 1.5.5 (NOUGAT) for rs988, but I do not know what branch or until commit is version 1.5.5,

I need the full code to debug the bcmdhd driver for monitor mode support.

What branch and until commit is version 1.5.5? and what linaro version?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hey

Branch is 'mk2k-platinum', and I believe top commit is this: ramdisk: adjust init files

I was using the Linaro 7 branch, whichever latest version at that time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Not sure if placebo or not, but I also think battery consumption is now lower. That's great news

EDIT: the app double posted, sorry.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
Hi what KCAL settings you use ? What settings it's the best for this screen ? Of course i don't want burn it (shadow ).

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
It's my settings

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Gold_Phenix:
This is my settings KCAL.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zorcnecrophades:
Can i flash this in fullmics rom?