yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zer0_rulz:
Can u add the ability to disable touchboost?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] otakutw:
can you send me a copy of 30s too? thx
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
An what about bootloader, which version are you using?

There is no touch, or cpu boost in this kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
I originally had N 20s firmware. Flashed Fulmics 5.5
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
On my H850, it doesn't. Anyway, you proceeded correctly.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pphish20:
What stock firmware are you trying to install this on? With what bootloader? That entire process I explained on my H850 takes 40 min at most and that's not just flashing that's setting everything up too.. 1.5 seems quite stable for me. And works rather well.,I literally have not had a single issue arise. Everything is running beautifully.

---------- Post added at 04:27 AM ---------- Previous post was at 04:22 AM ----------

Private messaged you.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
I'm using H850 running stock 20s ROM with it's stock bootloader, radio, etc...

I root it with SuperSU and add xposed for fun.

Only real change from stock is this kernel.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hmm you're using supersu...

I've had multiple users complaining in this thread about problems, only to find out later that it's because of supersu.

Did you by any chance flash supersu after flashing my kernel?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
I flash superSU once first thing after flashing the stock ROM. Then I flash xposed and boot.

After ROM settles I flash your kernel. Actually I don't remember when I upgraded and flashed superSU last time. It was a long time ago.

Version 1.4 works great for me every time I flash it after a test 1.5 versions.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
I have the same issue as [MENTION=2602248]ilyadan[/MENTION] and I'm on Fulmics with Magisk root.

P. S. Your efforts are amazing. Thank you.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=2602248]ilyadan[/MENTION]

Ok, I'm sorry it's not working well for you.

I posted this in my V20 thread.

So I guess we can accept that the only problem with 1.5 so far is the fast-charge problem.

Like I said in the V20 thread, I'm not likely to find a fix for this, but I may update to a newer source when that is released by LG, and that my fix it.

Edit: I guess I can mention that I myself have not had this issue using the standard qc2 charger that lg supplied with the phone (H850). I am on the 20Q bootloader and Fulmics 5.1
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Zer0_rulz:
But can u add that feature? Just like in asgard, i found ur kernel that is so simple, i just like to disable touchboost so i can use the AKT app
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
For me fast charging works, what's not is google assistant...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
It doesn't for me either.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Well that seems impossible to me.

I remember you having problem with SuperSu before, you flashed it after flashing my kernel and it reverted to a previous backup.

Have you checked if you actually have version 1.5 installed? Just to make sure nothing has happened like last time.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Yes, I have installed v1.5.

Since that time that I was flashing kernel and after SuperSu, never I done it again, only kernel.

---------- Post added at 01:53 PM ---------- Previous post was at 01:48 PM ----------

CAN'T BELIEVE IT !!!

I have done NOTHING since yesterday (when I made an ART cache & cache wipe) and Google Assistant still didn't loaded...

Just now I try again, and works ok !!! :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I'll wipe /cache as well, then. Does fast charge still work?

EDIT: To clarify, my Assistant works, meaning a long 'home' press triggers it, and I can use it just fine. It's the 'ok google' trigger that doesn't work.

EDIT_2: Nope, same thing. Fast charging and no Assistant voice trigger.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Every time I connect the phone to the stock charger, the screen says "fast charging".

I just tried the "ok google" and the assistant hangs, but if I press the little microphone I can speak and then it works. And also works from Gboard.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Isn't that the expected behavior? I suppose LG bundled a QC charger with this phone, but I don't know for sure since I bought mine second hand.

Anyway, my 'ok google' doesn't work at all. Maybe [MENTION=6814590]askermk2000[/MENTION] can give us some insight on how well Assistant is supposed to work now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I think you need to ask google about "how well it's supposed to work".

I've said enough on the subject. It was broken in 1.5 up until final release. Now it works.

Only you, and one or two more have said it doesn't work. Why it's like that I have no idea, seems impossible, but maybe I somehow packed the beta kernel inside the 1.5 zip...?

I suppose it's possible, I did manage to put the H910 kernel inside the H990DS zip in the V20 thread.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
First off, I didn't mean to offend you in any way, I'm not emoji-y type, which I see may be interpreted as rude. Sorry for that. I fully understand the frustration you may experience working for free here, and I thank you for the effort you choose to put into what you do.

I was just confused on the behavior I was supposed to expect, and you just clarified that for me. Thanks again.

I will report back when I do a clean flash, or if/when something changes.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
You do what you want of course, but I did not start this project so ppl would be flashing and re-flashing roms and kernel galore.

I know I don't like to do all that over and over.

If you must have fast-charge, and/or you have problem with "OK Google" then 1.4 should work just fine. In fact I don't think I've ever had one single complaint about version 1.4

I will see about straightening out version 1.5 - right now though I'm only considering 1.5 to have one problem, and that's fast-charging.

It's not impossible that there is a problem with "ok google" for some ppl I guess, but it seems very unlikely it's my kernel, and I have no way of testing it myself. So I'm going to put that one aside.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Just flashed back the almost mythical v1.4 :) and the Google Assistant behavior it's exactly the same as with v1.5, so it's not a kernel fault, the bug it's in another place, but for me it's of very little concern.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] maksimal-nn:
1.5.test, works fast charging fast.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Did you follow the steps by [MENTION=2602248]ilyadan[/MENTION]:

How to reproduce:

1. Discharge your phone to less then 35%.

2. Connect to quick charger.

3. Verify phone switches to quick charge.

4. Leave it charging for 10 minutes.

5. Check that it is still quick charging or dropped to regular charging mode.

Acceptance criteria:

Should remain on quick charging until unplugged.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] maksimal-nn:
No, I just installed the test 1.5, on top of the stable 1.5, well, I did the wipe cache.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Sorry, I was unclear. How did you test it? Look at the steps ilyadan defined. I updated my last post.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] maksimal-nn:
discharged up to 15% and put on charging, up to 80% charged about 20 minutes, the same operation on a stable 1.5 took about 2 hours.

At a stable 1.5, the accu battery showed a charge current of 850mah, on the test 1.5 1570mah.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Azul Baseem:
How much of a difference do you think F2FS would bring us in everyday usage? At this point our poor G5's could benefit from any legitimate stable optimization that, if supported, wouldn't hinder the kernels simplicity or stockish approach but I'm not sure so I'd love to know how you feel about the idea of it mk.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=4537464]maksimal-nn[/MENTION]

Is this repeatable? You never had fst-chg issue since flashing the test build?

[MENTION=2026115]vkeza057[/MENTION]

You said you tried the test build, and it didn't work right?

...not sure what to make of this... :silly: :laugh:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Tried again... same issue. Maybe [MENTION=2602248]ilyadan[/MENTION] could confirm.

I'll stick with 1.5
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] maksimal-nn:
as you laid it out (1.5.test), immediately downloaded and installed, a couple of days already test, everything is fine, on the car 3.0 charging is also all good.

P.S. At once I apologize, for my English, I speak English, as taught, in a Russian school ...))))
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Judging by the quick charge indication of the phone itself both 1.5 and 1.5 test failed on my phone. I didn't measure voltage and current. I can try to test again and this time with USB tester connected. It will take some time.

Currently I'm on 1.4 version that works great for me. I consider 1.4 to be the absolute best core for LG G5 Nougat at the moment.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Ok

Again, I'm sorry for all this testing.

I wish I had the problem as well, then I could test it better/easier.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
For me fast charging works, latest mk2000 and fulmics. Unless it somehow says fast charging while doing normal speed charge ? What do you guys think based on my charge % and times
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ecompton59:
would putting a init.d script for fast charge issue I've never noticed on g5 I have 2 qc 3.0 chargers never checked voltage kernel runs good could Google assistent stopped because its oem unlocked a safety they put in somewhere idk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I have uploaded in this post a test build for version 1.5.2

This is not specifically to test for the fastcharge issue, this is a new build in general. See my github for changes.

I also did something which might impact fst-chg but I don't know if it'll fix the problem. But it was something I'd do anyways.

You can also turn on/off "power_efficient_wq" (or whatever the name is, seems to be what the app decides), so that's another thing you can try to do, as I did suspect that this could affect fst-chg before but you couldn't disable it manually.

Starting from this build on, you should know that after flashing my kernel you'd have to restore or re-flash stock boot if you're gonna flash another kernel after.

This is because there are some modifications to the ramdisk which would be left over if you simply flash another kernel with AnyKernel type flashing script.

Well this was true ever since 1.5 but is a bit more true now :)

Oh, and you should wipe dalvik/cache after flashing 1.5.2 as well.

I have disabled debug_fs - thx to sultanxda

this has removed a large chunk of bloat and unused debug features in the kernel. It's 1 MB smaller now, and performance should be even greater.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I don't know, from what I have scarcely gathered about the subject, there isn't much speed difference now that ext4 has gotten better. The benefit would be in reduced wear on the nand I think, but again this is just the info I've stumbled upon.

But what I do know is what eng.stk have said in his interview on xda's frontpage around Christmas. F2FS is unstable, and all in all not worth the trouble.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Running v1.5.2 and until now all is fine. Connected to QC I still have the "quick charging" message, and it took 41 minutes from 67% to 96%, don't know if it's fast or not.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Stan_LSD:
Good afternoon! After some time of use Bluetooth, it ceased to work. Just does not ON : (

Version 1.5, not a beta.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kloosek:
On version 1.5.2 I have randomly reboots. On version 1.5 everything works fine.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Version 1.5.2

No issues except QC drop-out.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
1.5.2 is quite the upheaval really. I'm not even sure if it is feasible to disable debugfs, LG might be using it in stock rom for some important functions, IDK I guess time will tell.

I'm using it myself and I only saw one problem so far. After first flashing it, I didn't wipe cache/dalvik, but it seemed like the os actually started recompiling dalvik suddenly by itself, as as cpu suddenly jumped up high stayed at around 100% for a long time. But haven't happened since.

PS: Also remember, if going back to 1.4 after this, restore boot backup first to a point before installing 1.5.2
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
I had one soft reboot after disabling wq_power_save, since then all is fine (and still is off)

ps.: is really fast
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] seraphism:
Hi guys,

Just out of interest, in my opinion, wq powersave does not seem to function well on the g5 at all on any cpu governor. Iv tried it with every g5 kernel over the last 6 months with different combinations of governors & schedulers. I haven't been able to stabilise it. There a hell of lot variables as to why this could be so I advise caution with what I'm saying. It might just be better to leave it out of this kernel if it is possible? Out of every kernel iv tried & every governor etc, 1.5 beta 11 with the stock settings seems to be the most stable I have tried. Its smooth & battery drain is decent. I only use my phone to browse & read. No gaming or heavy stuff. I wouldn't flash anything else at this stage. It does take about 3 days to settle though. Just my 2 cents. Thank you very much for this Aster :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] epithetic:
I see this after every clean reboot on 1.5.2, did wipe cache/dalvik after flashing.

fwiw, once it stops (around ten to fifteen minutes after booting) it doesn't appear to happen again while the system is up and running.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
wq_power_save has nothing to do with the bugs in this beta.

It's because I have disabled debugfs. I'm still working on it, more fixes coming soon. I'm hoping it's doable to leave debugfs out, the benefits will be substantial.

Also it's very cool since I've not seen anyone else do this except sultanxda in his OP3 Kernel/Rom.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Uploaded new beta version.

Fixes to debugfs.

Many initialization compile errors resolved.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Not a single soft or hard reboot with beta 1.5.5, and despite I always get "fast charging" on screen when I connect the stock QC, today the charge was noticeably faster. Its running really well :good::good::good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Everyone get "fast charging" when charger is connected. The fast charging issue is that after 10 minutes of charging you don't see "fast charging" any more. Also with stock charger and cable you will not see practically any difference between fast and regular charging speeds.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
My charger says "fast charge" on top, and cable is thicker than common cables, so ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Sorry, I don't understand the question.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
For me it's a fast charger, and the speed is like one of this kind...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] de_hammer:
I've been trying to figure out if I can run a build of this kernel for the RS988 variant. It appears there is an option to build it in the build.sh script as well as a file in /arch/arm64/configs for it. I'm assuming this means everything needed to build the kernel for the device is there but I was wondering if I was missing anything.

Cheers.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hey

Yes you should be able to build for RS988.

What you probably need to do though is to get an up to date defconfig from the latest stock boot image. You can extract the kernel from that, and then extract the config from the kernel with *extract-ikconfig* script.

With that you add or subtract the new stuff into *device_lge_rs988*. Then run ./build.sh rs988

You're the first to mention RS988 to me, and I see Fulmics doesn't support it so I have completely overlooked that one. I could do it myself too if could get the latest boot-image from someone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Post updated

Beta2, did something for fst-chg. Fingers crossed :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] de_hammer:
I think the latest boot image is available at https://xdaforums.com/lg-g5/development/stock-21c-roms-flashable-zips-imgs-t3679907 but I could also extract it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
No luck again. :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hmmm... ok

So am I right when I remember some of you saying this was present on stock rom/kernel also?

Because then I think this must be because I'm using G5 source now, instead of V20 source, like I did on version 1.4
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
Yes, it was a major bug of stock G5 Nougat kernel. Probably V20 doesn't have this bug.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
I had the issue with stock.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
I don't have this problem. Try use my mod.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
With 1.5.5 beta 3 quick charge still falls to regular after few minutes. Sorry.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] vkeza057:
Tried your mod. No effect on the issue. Thanks anyway.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
Ok i will try today and you have right, fsch stop working after 3-5 minet when start charging. When i have time i try look battery temperature sensor and rest sensors on mb and others simple thing like kernel module file permission. I thing it's nothing big problem.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
[MENTION=7946901]MrDraska[/MENTION]

Hey

This is AFAIK the only problem with 1.5* kernel. It has been bugging me quite a bit. My usual procedure for debugging has come short in this case, but I'm not a real developer either. Meaning advanced kernel debugging is out of the picture. I would imagine a developer could arrive at the problem direct through such means, rather than indirect debug based on commit history and half-assed bug reports :)

BTW: I uploaded 1.5.5 BETA4 recently, and just now added RS988 as well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] de_hammer:
Tested the rs988 beta with latest stock rom. Seems that everything other than NFC is working as it should.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
Ok matte. Flash last beta yesterday and everything works. Fast charge work beuty!!!!!

Tx!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Ah wonderful :)

I was testing beta4 myself earlier (but not fst-chg since the problem doesn't seem to manifest with my charger) and I noticed that usb connection to pc didn't work properly, but it might be because of the VM (virtualbox) I had open, I didn't get the chance to test much further since I'm not using beta4 right now.

Could you test if usb pc connection works?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ew:
Just checked and the usb-pc connection doesn't seem to work. Takes forever scanning. Gave it 5 minutes then gave up. That issue didn't exist in beta 2.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] otakutw:
MTP connect don't work on my side too on beta 4
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Trudi:
MTP and fast charge working perfectly on beta 4 here. H850 with Fulmics 5.5.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
Same here
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
I have uploaded BETA10 here. I actually found that WCD9335 has something similar to High Performance Mode of it's predecessor, but there is no sysfs node to turn it on. So I have now enabled it in the source. It seems to be called *Class-H HiFi*

Default was *Class-H LowPower*

Considering that it's already been tested by the right kind of people (here), and the result was that it makes zero! difference, this is likely just a waste of power (if even that makes a difference). Though this is WCD9335 but... well, guess I'll leave it enabled for now.

This new beta is based on LG G6 source, not so much new features yet.

Edit: added H830 as well
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jm98:
No beta 10 for H830? :(:(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] viktor92:
What does it implies that this beta is based on LG G6 sources ?, there's some improvements ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
LG has given it a bit more attention it seems, since G6 is newer. More CAF patches applied and such.

Having a validated, updated and working base is nice because I don't have to worry about applying the patches myself.

Also there will only be one kernel tree for all supported models now. And I'm hoping fast-charging will work now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
On latest beta 1.5.5b10 the quick charge remains. Did two charges and in both QC remain.

On other hand phone charges 15% per hour. Thats not quick at all. I did reboot, and again charging super slow while saying "fast charging". I prefer regular slow charging over this fast charging.

I'll test it again at home with another charger to be sure that it's not a charger issue. Will follow tomorrow.

P.S. Phone is ice cold while charging, so it's not a temperature issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] askermk2000:
Hmm, yeah I think I noticed this as well when testing my qc 2.0 charger. But I never use quick-charging so I wasn't sure if maybe the speed increases when screen is off, or something.

But yeah, I noticed it was very slow. I'll have to take a closer look at the G5 code. Seems to be working on V20 though.

Btw, there is enabled a new feature now that decreases charging current if your battery is old and worn. It was enabled as standard in G6 source so I kept it. There where another similar option enabled previously, but that decreased the working capacity of the battery in case of it being old/worn out.

Though I don't think this has anything to do with it since when I tested fst-chg it was not enabled.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ilyadan:
How do I disable it? My battery is OK.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MrDraska:
Hello!! Betta 10 its the best fast kernel, but charge its very slowly (50 to 100% in more than 2h... yes two h)

Use stock lg g5 charger and htc u11 fast charger.

Tx for hard work!