yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Just to let you all know there will be a new build in the coming days I've been testing it for about a week now and I'm pretty happy with the results I've been getting. Just hope the bootloaders are solved for the users getting them as I haven't experienced them so I had no logs to go off. This still requires the V20D bootloader for the H850.

At H830 and RS988 users which bootloader do you guys require for this kernel to boot. As I'm going to add the bootloaders to the anykernel package as default?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhoneEnthusiast:
Will you add in the update overclocked frequencies for cpu and gpu?And ability to decrease voltage on cpu that would be perfect!Thanks :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
I have it added but the frequencies don't show up so the user and set there own frequencies
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jmgamer12:
I'm using 21c bootloader for RS988
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jsergan:
The last rootable version for H830 is 20A Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Did the kernel work with the V21A bootloader???
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jmgamer12:
The last iteration I used on 21A is v6.1 and there was some overheating and battery life issues but otherwise fine.

I formatted the internal memory so I unfortunately don't have the log files for it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
I'll send you a zip package in a couple of days that will run in recovery and backup your current bootloader files that way I know I have the latest working version for your model.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
Yes, I also had Asgard running when I was on 21a. At the time, I was running Asgard 6.2, and everything was great. There were no major issues that I saw from my daily usage.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Just sent you a pm with the backup zip [emoji6]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I posted a logcat in regards to the H850 bootloader issue. Since many of us can't install thie kernel, an install guide would be very appreciated!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
An install guide will be added to the front of the thread on next release.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Thanks a lot, I'm sure many will appreciate it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhoneEnthusiast:
ok,hope in the future you will figure out what is wrong with this ;) I like use stock based roms but i want to gain max peromance of this chipset so need more frequency :cool:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
That's not how you go about it, increasing the frequency beyond what the chip was intended to run at just turns your device into an overpriced hand warmer. I'd opt for a more aggressive governor instead.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
OC is necessary. I will wait only for voltage control, bc wich me practice only this options give real increase battery life.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PhoneEnthusiast:
I now what i doing and what i want.this device can easily handle frequencys of 821snap chip for cpu and gpu.You also could do a better thermal contact between chip and frame to more effective heat transfer.Governor doesnt help you to get more perfomance in apps with very high load.

agreed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Whatever floats your boat, pal
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
new builds are out the change log is available here at GitHub Change Log

You might notice the zip package has increased by around ~20mb or so that's because in order to help prevent boot-loops i have included the latest known working bootloaders for each device in the zip package.

As always i don't have a H830 or RS988 device so i have been unable to test the zip package for bricking etc so test at you own free will and bricking is your own fault.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NolenUmar:
Thank you eoghan2t7! :3 changelog looks beautiful.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hello everyone,

please can someone tell me what problems occur when trying to use Asgard kernel on newer bootloader?

I have compiled the latest available source, 20K, and tried to use the resulting kernel on a 20K rom.

It would boot kind of, but the lockscreen would not load, and errors where popping up about not being able to load whatever.

Same result trying to use LG V20 10q source.

btw, 20q for H850 has been released. Maybe I'll put in a request for the source.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Are you using the correct kernel defconfig?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jsergan:
H830 installed successfully! Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Yes I believe so. First with this: h1_global_com-perf_defconfig

Then later I extracted configuration with *extract-ikconfig* from 10k stock kernel - the same result.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ziomall123:
Hi, did you tried 20q??? Any improvements???
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Thats odd the only thing I can think of is they haven't uploaded the complete sources.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Hi all,

I have H850 model with stock 20K ROM.

Flashed this kernel smoothly, and it installed bootloader.

After flashing the boot didn't finish (stuck at LG logo). After a long time I've pulled out battery and it booted OK.

Only thing that wasn't working is the "Buisness calendar" widget. I wanted to reboot the phone and hit the "power off and restart".

Then the phone didn't pass the LG logo. Battery pull and still stuck at LG logo. Had to revert to stock kernel for now.

I didn't change any settings.

I don't know how to get a log at this situation.

Any thoughts of what I could do wrong?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
Fulmics 4.5 with asgard 6.4, flashed new one with little wipes and magisk 14.3. Everything went fine! Xposed as well! Now I'll check the behavior! Thanks a lot for your efforts
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Flashed v7 and all seems great. I could identify it by its date, because I couldn't find a version number.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dadittoz:
I experience Bluetooth stutters when listening to Google Music with v7.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
No stuttering here!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Ok, I did get it to work now.

I don't know why but it takes quite a while to boot now, but kernel seems to be working fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] thewhisper:
Your kernel breaks bluetooth totally ! Please fix it !!!!!!!!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
If you at least put some logs to back that up,so if that happens to you,the dev will know what's up and what is wrong. For instance I'm on. Fulmics 4.5 and asgard 7.0 and everything works perfect,Bluetooth included as I've just tested transfer and audio quality with my car system and my Bluetooth headphones.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] thewhisper:
Tell me how to create some logs and will do this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
https://xdaforums.com/showthread.php?t=1726238

Try to replicate the problem while getting a log so it's recorded in the log
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
I always used deadline as the default I/O scheduler, but the maple scheduler (that was set after flashing asgard 7) it's really great :good::good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Maple is very good it has a good balance between battery and performance and I've used it ever since being added to the kernel [emoji6]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ew:
Are you able to share the settings that you use.

Thanks in advance.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] limasq:
Hello, i get unzip failed error. What could be the problem?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Will do soon [emoji6]

Redownload the file as the zip has been tested several times and works so it sounds like a bad download.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cesarandres_8911:
Hello, thanks for you working. I have the h830 TMobile variant using my Nimax Rom from latest firmware update (h83020M). In this moment, all working fine.

I would like to consult which bootloader version do you use for my variant (v20f or v20k).

I will continue testing and I could tell you how the tests finish. I will also try to test the kernel using the latest bootloader available (h83020M).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Thanks, all of your effort on this kernel is greatly appreciated. Please don't take this the wrong way, take it as constructive criticism. Since I have been using this kernel (on its default settings). I have witnessed horrible lag after a certain period of time has passed (what I suppose might be a memory leak). I have a total of over 250 apps installed and I use greenify alot, yet still after a certain amount of time, the device is barely usable (no exaggeration). To make sure if the kernel was the culprit, I tried another kernel which was released recently and no slowdowns whatsoever. If you need any details I will provide you as soon as I get enough time to. (I am running Fulmics 4.5) (I assume this issue doesn't occur with anyone else because nobody has over 250 apps installed :laugh:)

Edit: the other kernel I was referring to was mk2000 kernel)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
After a few days of testing 7.0 on fulmics 4.5 with over 200 apps including system ones,using alucard governor,I'm more than satisfied with the outcome. Great work :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cheeze.keyk:
This is for Stock based rom only.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
I will once I figure out the end user can tell it's oc'ed etc there is away to do it via dts edits but the end user won't be able to control the frequency steps.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
What's the difference with stock interactive governor and that of the OP3 and why Zram disabled again ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Interactive on the OP3 is just a slightly tuned one from what I have read. As for disabling Zram that's by me testing it effectiveness and according to my tests Zram never gets used because the G5 has 4gb of ram so the ram rarely maxes out for Zram to take effect. If more users request it and can give me things to test that it is needed then I can add it back in with a flick of a space bar [emoji6]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Tuned for performance or battery ?

Right now my memory usage is: RAM 70% - ZRAM 44% (of 949 Mb) and I try to you light memory apps.

Thank you for giving new life to this kernel :good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] SuperNu:
Great work. I'm glad you've taken up custom kernel development for the LG G5. I cannot wait to see future releases of this kernel. :good:

Unfortunately for me, I ran into a boot loop after flashing this kernel, powering down the device and then flashing Magisk 14.0. I have not yet tried to boot without flashing Magisk or flashing Magisk 13.3. I'll report back when I have some time to do more investigation. I'm currently running H830 with the stock 20k update.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Its tuned more towards battery life i have just committed an update for the interactive gov to hopefully get more performance and battery. ill readd zram but disable it by default so you will need a kernel app like Kernel Toolkit to enable it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
So Zram it's not removed, only disabled?, then I can enable with EX kernel manager...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
No it is removed I'll re-add it to the kernel tomorrow and upload it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
After a few hours I'll get everything working properly.There is no bootloops.

Dirty flash over Asgard 5.1, Magisk 14 works without problems.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tiis:
Awesome! Thank you very much! Working great with Fulmics 4, Magisk 14, and AKT 1.4 profiles :)

Only bug I found: disabeling cpu cores does not work compared to stock 20i kernel.

Cheers
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Yeah I noticed that as well and I'm looking into that bug.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zer0_rulz:
Does snapdragon 820 doesnt really support hotplugs?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dadittoz:
Seems like my bootloop problem is unrelated to Magisk. It bootloops for me even without Magisk. I've tried stock v20i, tried Fulmics v.4 that comes with Magisk 13.3... Every time I install this kernel I am no longer able to boot. Anything I can do to provide logs?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I can also confirm that i cannot boot either after flashing Asgard Reborn tried every possible way and everything i get a bootloop
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] aalvico:
I have the same. I didn't try wipe data, maybe it solves.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cla94:
What is AKT 1.4 profiles?

Inviato dal mio LG-H850 utilizzando Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] onestyle007:
The power of search button. ;)

https://xdaforums.com/oneplus-3/how-to/advanced-interactive-governor-tweaks-t3476589
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ziomall123:
I have bootloops every time... hmm i can not boot after kernel installed. Any idea to solve it???
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
[MENTION=535343]all[/MENTION] above: What are your exact steps when flashing the kernel I.e. if reflashing the rom are your rebooting into recovery again and then flashing the kernel etc...?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
Anyone use magisk 14.5 without problem? In my case I got bootloop with 7. Could be a incompatibility with the kernel be the reason?

I recovered my backup with magisk 14.3 without problems! It's only a suspicion
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
It isn't related to the kernel because on stock Fulmics kernel I have that same issue.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
If you can grab me some logs etc when you get time please do as it would help greatly. I have yet to get such issue so I can't replicate it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] serpent android:
Any way to root lg g5 at&t running nougat
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Sure I will log as soon as I get time. But what do I exactly log? Do I need to turn on logcat from the moment I boot till the moment it starts lagging?

*Side question: could the lag be caused by LG RCT?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
No not an incompatable with the kernel, but incompatable with Fulmics itself
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
I don't need to pass SN so I use SuperSu: zero problems
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I prefer magisk for the modules and easier OTA updates and dirty flashed. To clarify, it's not that magisk doesn't work, any version lower than magisk 14.5 works flawlessly here. (I'm on magisk 14.3)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I'd avoid anything higher than 14.0. Everything from there was made to target Pixel issues, always install stuff distributed in the stable repository.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Grab logs when you start to notice the lag happening and no it wont be RCT as it has been disabled for a while now:

https://github.com/eoghan2t9/LG-G5-...mmit/02960e260ecec5d84d006e7a27e32965a496edef
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Rafeh:
Asgard version 7 , after enabling google assistant the phone starts making problem. I am on H830 20L.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dadittoz:
Is KCAL missing in 7.0? CF.lumen doesn't detect it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sergykm:
Bluetooth is gone in last version.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
Not for me!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] suhridkhan:
I am observing the same.

BT is working fine here too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
CF lumen is working for me which part doesn't work for you and I'll test it?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dadittoz:
There's no KCAL option in CF.Lumen if I install 7.0 kernel (see attachment). KCAL Option is there if I install 6.4 kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ErickG233:
it's great but i have some issues when i set interactive governor

can't set io_is_busy (LITTE&BIG)

and BIG core 1: can't set hispeed_freq

2: can't set max_freq_hysteresis

will you fix it? sir
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tiis:
My observations with Asgard v7.0/6.4 (default settings) on Fulmics 4.5/5.0 H850:

- Device gets laggy after a few days w/o reboot (Asgard v7.0 only)

- Low battery shutdown between 20~16% charge left, Stock still around 3~2%. Tested w/ two original batteries.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Facing the same issue (#1). Could you send the logcat to the dev as soon as the device gets laggy?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Awkydee:
I have the RS988 variant stock 21c and I cannot get this kernel to boot. I was wondering if anyone can provide me with some assistance? What bootloader version is included in Asgard 7.0 for RS988?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cheeze.keyk:
I'm facing this problem also. device sometimes reboots, it starts only when i activated google assistant. and when trying to use google assistant sometimes it hangs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Mikeyy233:
Same here thought i was the only one
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] cheeze.keyk:
I disabled okay google now detection and im still observing it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
Problems Occur After Google Assistant Setup

Same here (RS988 w. 21c). The phone works perfectly before I start the initial setup of Google Assistant. When I hold down home and start Google Assistant for the first time, the phone hangs, and does a soft reboot. After this, the random bootloops start occurring.

[MENTION=3520901]eoghan2t7[/MENTION] maybe this could solve all of this kernel's problems. Might wan't to look into this.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Yes sorry for being very quiet lately. I'll be fixing some things tonight so I'll see what happens.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Awkydee:
Has anyone had this issue with Google Assistant on RS988 using version 6.4?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Rafeh:
Asgard 6.1 fixes this issue but i liked the performance and battery timing of asgard 7.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
So I have finally completed my exams and was preparing to capture a logcat, until I faced the "access is denied" error when outputting the logcat into text.

Now since then I've noticed a thing, compared to other kernels, this kernel chew the zram, as soon as a minute passes since I boot the Zram is 99% full.

And another question, for how long do you recommend me to log for before stopping the output?

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Managed to extract a logcat. Please let me know if it is too long or short.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
New kernel coming soon with loads of bugs fixed etc and i have also enabled the kernel to have wireguard more information can be found here on it https://www.wireguard.com

The tools needed for wireguard to run will be included in the kernel package
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Version 7.1 Uploaded

New version has been released so please report any bugs etc.

Quick rundown on Wireguard and i quote [MENTION=5434776]zx2c4[/MENTION]:

"WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it plans to be cross-platform and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry."

To get Wireguard working you will need to do one of two thing.

1st:

Sign up for an account here

https://www.azirevpn.com/wireguard

Once sign up has been completed and verification email accepted you notice this message on your user page:

"24 hours free trial has been added to your account, which means that you can connect to our OpenVPN & SOCKS5 servers right away. Our implementation of WireGuard is currently free indefinitely."

Don't worry about the 24 hour trial as the Wireguard server are currently free forever however this could possible change with time. When you arer on the user panel head to this page:

https://www.azirevpn.com/cfg/wg

Fill in your details and download the generated config file.

2nd:

Head to the play store and download the Wireguard App

https://play.google.com/store/apps/details?id=com.wireguard.android

Import the downloaded config file and then your all set to avoid ISP blocks.

Changelog is as always on github:

https://github.com/eoghan2t9/LG-G5-Asgard_Reborn_msm8996/commits/master

Thanks to [MENTION=5434776]zx2c4[/MENTION] for helping me get Wireguard working correctly last night.

Wireguard speedtest results:

[IMG="Wireguard Speedtest"]http://beta.speedtest.net/result/6876974292.png[/IMG]

My own ISP results

[IMG="Own ISP"]http://beta.speedtest.net/result/6876983395.png[/IMG]
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
Bootloop Fixes?

Great work [MENTION=3520901]eoghan2t7[/MENTION] getting Wireguard implemented in this kernel!

I looked through the changelog on GitHub, but I didn't see anything about the bootloop issues that several users have been reporting. Is that fixed with this release?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
As you would have seen I reverted quite a lot of commits as I believe the bootloop issue was within those commits even though I have never had a bootloop issue running my kernel even with those commits I reverted them anyway just to be safe. My personal opinion on the bootloop issues I think is plain and simply down to a user error setting something that conflicts with something else that is my only explanation as to why some users where getting these bootloops.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
With v7.1 I had some problems with Google Play Store, the program lags and closes with certain operations. I gone back with v7 and all is fine...

I didn't do a full ART and cache clean, should I have done it ?