yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
Flash through twrp recovery
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
I really want to use this kernel but can't since it massivley overheats the phone, lags on boot and bootloops. I'll keep my eye on it. Really wish we could get screen mod with stock kernel as it is the best feature for getting a better color saturation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Works perfect for me...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] bebeto68:
hi, i'm running the stock rom v20k on my rooted lg g5 (h850). Can i flash this kernel over the stock?can Iflash it dirtly or not?

Thanks and excuse me for my english:(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Yes, but flash also superSu or magisk before leaving TWRP
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Yes but flash the v20d bootloader before it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Yes, I had forgotten that ...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] iblackrd:
When I do that it stays in bootloop do I need something additional?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
Magisk flash for root! Is not implemented in kernel
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Flash it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Phong phamj:
can i dirrty flash the 6.4 over 6.2?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Azul Baseem:
Loving the kernel on h830. (imexp) you'll really have to let things settle to fully feel it's benefits.

If you've ever jumped from a clean boot straight to installing a ton of apps (like me) and felt your phone start overheating, you'll see the diff if you give it 5 minutes instead.

Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gen10:
Idk what it is I keep giving this kernel a try every update but I end up just restoring to stock. Higher idle drain and overall much more slow and Laggy than stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Lol not bad so far for battery life with very little usage just to test heavy usage during the week some time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
New version in the horizon?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
New base rom.

https://xdaforums.com/lg-g5/how-to/lg-g5-idle-battery-drain-fixed-v20p-t3690243
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
Hi all, I'm on Fulmics ROM 4.5 and after flashing this Kernel, phone goes into boot loop.

Is there anything else I need to do?

Didn't see any info on Opp
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] seraphism:
What settings do you use?

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Coming soon just testing a few recent commits

I'll post screen shots of my settings with the next release as theres some settings available in other kernel tweak apps than there is in others so I can't just post a simple config file or something.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] xlxcrossing:
Will there be a fix for overheat, lag and bootloop....those seem to be major issues
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Sorry to say this, but those are major issues for you, none of that happens to me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Overclock96:
I'm really looking forward to checking the theme updates every day :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
Im on fulmics with stock kernel (H850). The same problem - boot loop. Is there any solution to fix this?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I posted a while ago, still not sure how I'm supposed to install this kernel on Fulmics. I've tried flashing v20d bootloader first, but still no luck. The device boots, all cores pinned, then produces an LG boot animation and stays there.

Too bad, I'd like to try this kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
It Definitely does work on the latest Fulmics.

Either you didn't install the correct bootloader, or forgot to reinstall magisk from TWRP after flashing Asgard.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
Please could you kindly write down step by step what you did?

Can I use LG-H85020K-Flashable.Bootloader.zip on Fulmics ROM 4.5?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Don't flash any bootloader, just clean flash the latest Fulmics (choosing the magisk root when asked). When you finish installing Fulmics don't reboot just yet, install Asgard followed by magisk zip file (Download from the magisk thread), then proceed to reboot).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
Is there any way to flash the kernel without clean flashing the ROM?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I didn't need to reflash the Rom, I just reinstalled magisk directly after the Rom to fix my boot loop, however I advised you because I thought that you started tinkering with the bootloader. Try flashing it and reinstall magisk before rebooting (but take a backup for safety measures)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
I tried flashing the ROM (without wipe), kernel and then magisk, all without reboot but still get boot loop.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Then that's probably due to you messing up the bootloader, I never flashed any bootloader, just flashed Fulmics (nougat) since I was on marshmellow, and dirty flashed all the updates. So a clean flash may do you well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Overclock96:
I would be very grateful if you would add support for f2fs in the update
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
I tried full wipe and then flashed the rom, kernel and magisk... Still get boot loop. I guess this Kernel is not for every LG G5 H850.

I really appreciate all your help.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I didn't mean just a TWRP wipe, I mean reinstall stock nougat using LGUP, TWRP won't fix the bootloader. Just make sure that you install an older revision of nougat, rather than newer ones to avoid bootloader conflicts. (FYI, All H850s with unlockable bootloaders are equal)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
I'm on 850 and have just done a clean install with both 20d and fulmics 20k and asgard reborn but the phone restarts when it goes to "sleep"/standby. No problems when using the phone. Anyone got a solution to this?

There's no problem if i just flash fulmics though.

Installed fulmics 4.5 - (flashed 20d bootloader) -

flashed kernel -tried both 6.2 and 6.4 - Flashed Magisk 14.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I'm running the latest Fulmics, yet to receive such issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
same here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
Strange, but its good to know that other(s) have the same problem ;)

I have tried it several times and with full wipe but with the same results. Once I install stock fulmics 4.5 again, the phone is fully functional again...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Not bad on the latest kernel commits.

[MENTION=535343]all[/MENTION] anyone having issues could you make an issue on github so that I can better keep track of them and figure out possible fixes etc.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
Can't seem to find the link to your githubsite? :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
It's in the first post under source code ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
I just tried the patch kernel again with the same results. 10-15 secs after always-on-display/screensaver it reboots.. Is the a way to log and save logs prior to the reboot?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Have you any other mods installed?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
Nope, it's a fresh install with just the kernel, magisk 14 and contacts/personal settings from LG backup tool. I got a logfile from logcat that I'm going to investigate tonight :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
Hurray! I got it working :)

1) Did a complete wipe except ext. SD

2) Used LGUP to revert to stock N

3) Flashed TWRP

4) Flashed Fulmics 4.5

5) Flashed Asgard Reborn

6) Flashed Magisk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ATZ-007:
Finally managed to get it working... Just had to flash LG-H85020D-Flashable.Bootloader.zip

I guess this Kernel is not compatible with 20K bootloader.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] eoghan2t7:
Yeah I'm waiting on LG releasing there latest kernel source code to see what's changed.

Glad you got it sorted.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
yep,same here,again

i installed fulmics4.5 after full wipe ex. SD,then without booting in rom i flashed 20D bootloader,then flash kernel then magisk14.

it works for 20-25sec then phone starts to reboot,after few reboots it get's bootloop

---------- Post added at 08:11 PM ---------- Previous post was at 08:08 PM ----------

oh,i didn't saw that,so i need kdz of what? or... idk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
I used the KDZ thats on xda. (20D)

And I'm running fulmics 4.5 with 20K, Asgard Reborn 6.4 and Magisk 14. Really smooth experience so far. :)

Thanks for the kernel and keep up with the good work! :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
ok,i'll try it tomorrow. thx,at least i have a hope it will work.

if it work for you,who has same problem.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
And also try the phone before you start installing apps or use LG backup :)

The only thing I restored from my backup was messages, callog etc., no settings or apps. Good luck :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
ok.thx
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Phong phamj:
what do this kernel even do?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
hey,sorry for some off topic question, i tried to flash with lgup 20Dfirmware and it giving me <Current version is not avaiable for user> error,besides this - i can't flash twrp i'm stuck on <waiting for any device> error,i installed all drivers and im on windows 7, how i can get all to work?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
It seems that you havent activated usb debugging in developer options..

Did you select 'upgrade' in LGUP? I got errors when trying the others.

To install stock firmware on LG G5:

1. remove the battery and usbcable to turn it completely off

2. Reinsert battery and usbcable

3. Press vol+ + powerbutton

It should now be in downloadmode

4. Install drivers

5. Run lgup, select your .kdz file, select upgrade and then hit start.

6. Wait for it to finish then do a startup and just click your way through setup

To install TWRP:

1. Remove usbcable and activate developer options, select usb debugging and check that oem unlock is on.

2. Run 'cmd' and go to the folder where you have installed adb, eg. 'cd c:\adb'

3. Run 'adb reboot bootloader'

4. Run 'fastboot flash recovery twrp<DOWLOADEDVERSION>.img'

5. Reboot to twrp. (Hold down Vol- + powerbutton twice)

Hope this helps you :)

7. Flash fulmics, asgard kernel and magisk

---------- Post added at 06:25 PM ---------- Previous post was at 06:21 PM ----------

See the first post in thread. :)

I wanted it mostly to get my phone more responsive and to get more standby- and batterytime.

---------- Post added at 06:34 PM ---------- Previous post was at 06:25 PM ----------

New issue at github :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
oh i failled that

---------- Post added at 04:39 PM ---------- Previous post was at 04:35 PM ----------

hey,thx for responding me,i activated usb debugging in delevoper options.and i reinstalled all drivers,and i also changed several usb ports - it's giving me <wait for any device>

besides that- that cust error i can't do anything i flashed several versions of 20D firmware - nothing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] :
I also can't seem to get this to work with 21c, what version of Magisk are you running?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] veryjo:
The undervolt option is missing in this kernel.

It should be made possible urgently.

Then everyone can decide for themselves whether it is used.

An important way to improve battery life.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sergykm:
anybody use this kernel on last fulmics and magisk 14.0 or 14.3? I tried but everytime I got bootloop. It works only with magisk 13.2 without problem.

I also tried flash old bootloader but I got error (verification laf.img). Maybe on fylmics is old bootloader.

6.2 works with latest magisk without problem.

Also I tried betas 14.2 and 14.3 and witout success.

I don't know what is it?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
I got it but all with dirty flashes without problems
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sergykm:
I also did dirty flash, but no success.

I tried uninstall magisk and install again, but I got bootloop. Only when I flash 13.2 magisk I have no problems with it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
I am running on Fulmics 14.0, latest Asgard and latest Fulmics. The solution is restore to stock N (the earliest version you can find), flash Fulmics (don't flash any bootloaders) (don't reboot yet), flash magisk 14.0 in the same TWRP session, followed latest Asgard, and then flash again magisk 14.0 before rebooting, reboot and you will face no bootloops. (This might also work on 14.3, but I haven't tested it)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Sergykm:
thanks, but it is not a good solution for me, I don't want reinstall all apps.

Ok, I find solution who get bootloop when use asgard 64 with magisk >14.

1. Download latest magisk unistaller and magisk 14 or newer.

2. In TWRP flash magisk unistaller.

3. Flash Magisk 14 or newer.

4. Wipe cache and dalvik.

5. Reboot and wait about 5-10 minutes and then you will see the start screen with apps optimization process.

Profit!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] hridoy51094:
is there any best rom for lg g5 f700k koriyan version ?????
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pakino2004:
Normally we use first search function! But I don't think so. First question is it is your device unlockable? If not you got the answer
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
hey,guys,what gov. you use?

im on ondemand+,but it's hot af in normal scenario and battery is draining as hell even when device is with display off

on dynteractive things get even worse with heat
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kgresdahl:
I'm using alucard since somebody recommended it earlier in thread.

Here is a good site that explains the governors: https://androidmodguide.blogspot.no/p/blog-page.html?m=1
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
thx,mate
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
Are there any news about the new version of kernel?

P.S. I don't ask for ETA ;)

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
Currently running Magisk 14.0 (latest). What's the exact problem that you are having? By the way, I just clean flashed Asgard 6.4, and can confirm that it works too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
Latest Asgard Kernel is working with Fulmics. I tried a lot of governors that come with the kernel without having any problems. I used Lionfish, Alucard and now Dance Dance, as they are good for battery savings. But, in order to work with Asgard, first you'll have to flash LG-H85020D-Flashable.Bootloader. I have an H850, to be clear.

Now, the full sequence will be like this:

a) back-up the present system and boot with TWRP;

b) flash LG-H85020D-Flashable.Bootloader;

Reboot the phone, check that everything is fine. Then, reboot to TWRP again.

c) flash Asgard 6.4

d) flash (immediately) Magisk 14

e) only after these 2 steps, reboot the phone.

In order to tweak the kernel I'm using Kernel Adiutor, which is free on Play.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
Regarding the governors - as the G5's battery is crap (only 2800 mah, thank you so much LG :mad:), I had to try a lot of governors in order to find a good combination for battery, without loosing much of the performance.

So after days of changes with Adiutor, my present configuration looks like this:

- governor - dance dance ( I limited the big cores to 1785mhz and the small cores to 1401 mhz, the phone is still snappy);

- CPU boost - 20 ms;

- schedule work-queues - ON;

- CPU hotplug - disabled, do not use. Even though the purpose of a CPU hotplug is to save some battery by stopping cores you don't need (dynamically), in practice, I did'n notice any improvement regarding power save. Instead, there is a decrease in responsiveness of the phone. So I disable it. If you want to use it anyway, keep in mind that changing the governor with the hotplug active is going to produce some mess. So, before changing the governor, disable the hotplug. After selecting a new governor, you can make it active again;

- thermal - Core Control On . I limited throttle temperature down to 66 degrees. Do not combine the different drivers that are available - VDD, Core Control, etc. Only one should be active;

- I/O Scheduler - NOOP. Read-ahead 512 for the phone, 1024 for the SD (my SD has 64 Gb);

- Low memory killer - medium;

- I didn't touch the virtual memory or the entropy;

- TCP - westwood.

Here you can find an excel where I extracted the most important characteristics of the different governors that come with this kernel (from this page - https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
General battery savings tips for LG G5

1) Use 2G/3G Auto for network. You wont die if you're not on 4G, the 3G speed is good enough. The savings in battery are important;

2) There is no reason to keep Location service active all the time, are you interested in how's the weather minute by minute? Do you live or work in a basement with no windows? You should start it only when you use the GPS and then shut it down;

3) Go to settings/apps/show system and disable the applications you don't use. I even deleted some system apps, but this is a delicate matter and you should do it only if you know what you're doing. And the later impact;

4) No device administrators. It's a G5 in the end. If you'll lose it or get robbed, you can buy another one, there is no need for "where is my phone" function. Or maybe you simply love your phone so much, I don't know;

5) Do not use task killers, it will only consume your battery. Including Greenify. You should understand that in order to close all the applications with wakelocks, most of them being part of the system, the task killer app should stay awake all the time in order to close them again and again and again. That costs battery;

6) Disable Knock on. You are opening the phone from the back, are you not? Knock on being on means that a sensor will be always active waiting for you to....knock the phone. That costs battery;

7) Settings/Autostart - uncheck the app you don't need to start with the phone;

8) Data saver. Open it and uncheck all the apps you don't need to be permanently connected to the Internet. They will get their access to the internet when you open those apps;

9) Always on display? Nope.

10) Auto updates? No auto-updates. You can check it from time to time.

11) Brightness - very important. Do not use "auto brightness'. Again, that means that a sensor will stay awake all the time in order to measure the light surrounding you and mess with the brightness accordingly. Instead, choose a decent brightness level (I'm on 45%) and manually modify it only when you need it.

Remember - every sensor you keep on without having the need for that particular service, means that it will continuously stay awake and will consume battery. Use only the services you really need.

At least with this small battery phone.

Or buy another one, with a decent battery and forget all these tips.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Most of the tips I know it, but...

Are you a rich man??, this is NOT a Nokia 1100, It's a perfectly valid smartphone and flagship of last year.

The battery is decent, not so big that contemporary phones but still IT'S REMOVABLE, a rare feature nowadays that sadly is disappearing.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
I wrote these things for people who can make the difference between what is serious and what is fun.

Nevertheless, the battery is still a dissapointment.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
how do i disable cpu hotplug?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dabuHTC:
In Kernel Adiutor, under CPU Hotplug menu, make shure "AutoSMP" is not active (it's uncheked).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Uninstalling Magisk restores stock boot image, and thus the kernel.

The phone boots, and works, but on first reboot everything fails, and settles on a frozen LG logo.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Not working, I attached a logcat.

The steps I took, I've been running Fulmics 4.5 for a while:

- Flashed H85020D bootloader.

- Rebooted the phone, all running fine.

- Flashed magisk-uninstaller

- Flashed Asgard Reborn 6.4

- Flashed Magisk 14.0

- Wiped cache/dalvik.

Same thing, the phone boots, runs hot for a while, then everything crashes and freezes on an LG logo. I can still address the phone via ADB. The logcat attached is of before, during, and shortly after the crash.

I'm not much of a developer myself, if OP had a look it'd be much appreciated!

EDIT: The log is zipped, too big for XDA attachments apparently.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] olmott:
you need to flash stock COMPLETE 20D - then install fulmics(or whatever(remain on stock)) do not uninstall magisk,

flash asgard then wipe cache/dalvik then(without boot in system)flash magisk then boot in system

works for me
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Unscedeo:
Full Install Directions + Bootloop

Could anyone provide with me with proper install directions? I checked the OP and other threads following posts, but couldn't find them.

By the way, I have a unlocked RS988 model, with TWRP and the stock 21c firmware. I was running Asgard 6.4 on it, when one day my phone went into a bootloop and never recovered. Keep in mind that I was running this kernel for a few months before the bootloop happened, and without any problems. Now when I try to go back installing it, with the same procedures, it ends up in a bootloop. :confused:

My steps are:

1. Boot into TWRP

2. Wipe > Advanced Wipe > everything except MicroSD card

3. Reboot > Recovery

4. Flash the stock 21c firmware

5. Flash the Asgard 6.4

6. Flash Magisk 14.0

7. Reboot > System

Doing this results in a bootloop. Anyone have a fix? I appreciate everyone's time and effort.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Hadi99:
Wipe using LGUP instead of twrp