yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] seanskiT!:
What would it take to get Gamma for all variants, especially LS990?
[G3 Android Development] Erock2k4:
Does this kernel support Systemless root?
[G3 Android Development] Omar-Avelar:
I was fine tuning the voting bandwidth requirements for the GPU frequencies, seems like the table was a lousy job. But while experimenting I noticed I put extra headroom on the 578 and 620 MHz steps that was not really required at all. So I bumped those 2 back to what I had on thursday which is still better than stock ;)

You can see those GPU values as QoS values that guarantee bandwidth accross the SoC, right now the 'extra bandwidth' was not needed so I decided to settle for battery while eliminating micro-lags.

I can try in a few days

This was intended since v15+... the GPU throttling kills the smooth experience, the Kernel is such that it favourd CPU underclocking and throttling rather than GPU throttling, this is more in tune with some Nexus phones. And while the GPU was undervolted a heavy 200 mV... it is not going to fry your phone ;) again seems like the MSM8974AC voltage values for the GPU were exaggerated or LG got some out of date values on their stock kernel.

I can try in a few days, the reason I don't do all is because I don't know the full userbase. I started this Kernel for myself and have added some variants as other people wanted to try them out :)
[G3 Android Development] seanskiT!:
I can try in a few days, the reason I don't do all is because I don't know the full userbase. I started this Kernel for myself and have added some variants as other people wanted to try them out :)[/QUOTE]

I understand that. If you do, let me know, I can do some testing for you. And would appreciate it. I have done some theme stuff in the past, just not sure I have the resources to try and build a kernel.
[G3 Android Development] hean_burak:
For those who have scrolling lag or any kind of lag, try to change external read speed to 512kb in I/O. So far it worked like charm for me. I guess this unsovable lag is related to I/O rather than cpu side.

Btw thank you for your hard work [MENTION=5103965]Omar-Avelar[/MENTION].
[G3 Android Development] eric93se:
On kernel v17 both cores stay very active with no inputs. Any way to get them to settle to help on battery life?

Love all your work so far, taming the gpu is a big thing on this phone!
[G3 Android Development] Omar-Avelar:
Thanks, by the way I have kept this Kernel as dual-core minimum on the hot-plugging to help scheduling on the OS to be more efficient and keep the CPU frequencies lower without spikes. From experiments I got better battery life by keeping 2 cores active than just 1 in sleep since having a single core was causing the freq to spike at ~2.4 GHz for that specific core from time to time depending on workload.

This MSM8974AC SoC really uses way more power by going to on itself @ 2.4 GHz compared to let's say have two cores awake hovering at 1.5-1.6 GHz..
[G3 Android Development] hean_burak:
That way of cpu working reminds me zzmove behaviour. On a long shot it drains less battery compared to 1 core jumping high. Also restricting max frequency is a good way to go since temperature highly depends on max frequency.

Still would like to know if anyone achieved lagfree by simply changing I/O settings.
[G3 Android Development] EternalFlame:
Noice! 17.0.0 works with 7.1.1 \o/
[G3 Android Development] :
Add more hotplugs pls. Thanks
[G3 Android Development] brolic925t:
Would it be possible to add elementalx gov? Sorry to ask. You always deny me anyway LOL
[G3 Android Development] EternalFlame:
DonÂ´t get me wrong mates, more "stuff" to choose is always nice, but without proper testing and just adding things blindly especially hotplugs and govs, this kernel will fail faster than you can count to three.

Maybe a separate built would be a good idea in this case. Just my 2 cents.
[G3 Android Development] XxNeoDragonxX:
You should realize that the interactive gov has been tweaked a lot on this kernel. Why add more gov if one can do most of the job?? This kernel, so far, is rock solid and the most fluid you can find ! I say, If you wanna add more govs and the like, fork it! That way Omar can continue development focusing on one thing at a time and not 1500 govs that just doesn't deliver the way interactive does on this kernel.

Just my 2 cents.
[G3 Android Development] Omar-Avelar:
You know what, you might be right. The LLC cache of the SoC seems to be of 2 MiB in size, I think that the bigger than 1 MiB or 2MiB read-aheads might be causing the cache to lose a lot of warmed-up code that lives in the Kernel -- and hence when it starts to read data from DDR by default it takes a little while to warm up the bus scaling device and seems to have a latency penalty in our device... I reduced it all to 128 KiB read-aheads and it does feel way speedier... quite interesting and it's just a theory right now... let me continue doing testing and report back! :cowboy:
[G3 Android Development] Likkleskip:
Is there anyway I could make charge faster?
[G3 Android Development] Tunghur:
Hi! Of the latest versions the 17.1.0 is the best in my opinion (I don't install v17.2 yet). In general the performance is very good, just need a little improve in scrolling lag, the "great evil" in our phone I think.

Thanks!

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] souler456:
If you have problems on scrolling, then try changing your resolution to 1080p. Ever since I used it, never had I scrolled so smooth in mah life...

:D :) ;) :good:
[G3 Android Development] PommesMitSenf:
is there an easy way to change the resolutionto 1080p?
[G3 Android Development] cela_elis:
Nomone resolution changer on the playstore
[G3 Android Development] Taracair:
Bootloop after flashing version 17.2 on DU 10.4 official. Any ideas why? I just flashed the kernel and rebooted. Went back to aCC kernel.

Thanks in advance.

Edit

Forgot to wipe cache

Very good kernel. My phone stays very cool and fluent.
[G3 Android Development] Francesco0301:
Latest version of this kernel supports CM14.1 official with f2fs?
[G3 Android Development] EternalFlame:
Dayum ! 17.2 runs smooth AF with the latest RR 7.1.1 and the new NLP beta 10 , super clean flashed (internal sd too) that baby, thanks man ! :good:
[G3 Android Development] hean_burak:
Now 17.2 rocks, kernel is smooth like butter. You made a great job [MENTION=5103965]Omar-Avelar[/MENTION]
[G3 Android Development] Cortex A72:
Tri this

Download terminal via play store and open it and type :

wm size 1080x1920

wm density 441

if you want back to the stock res etc type :

wm size 1440x2560

wm density 560

you can try to experiment i add instead of 441 ppi 401 and full hd res tri it and tell me if it work for you.
[G3 Android Development] Tunghur:
The best way to change resolution and dpi. In my experience the performance don't have a big improve, but each phone it's different.

EDIT: [MENTION=5103965]Omar-Avelar[/MENTION] I installed RR latest build (7.1.1) and Gamma v18.2.0 it's amazing the performance improve and battery life is normal. Finally the lag in scroll situations it's almost gone. I think this is because the rom has more development and, obviously, because you hard work.

Thank you very much for that!

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] Shady282:
hello, does anyone recommend a governnor profile to be used with this kernel, in order to have a good performance for social media apps (not games) and most efficient battery use? and is it me that having the phone heat up when charging and sometimes when used on mobile internet and such?

Using RR 7.1.1, D851

Thank you for your work.
[G3 Android Development] Gillah:
[MENTION=5103965]Omar-Avelar[/MENTION] Is it possible to had the savoca script so i can use it with weatstone.apk? Thx

Enviado do meu LG-D855 através de Tapatalk
[G3 Android Development] cimdrap:
Where is the download link in the first page?
[G3 Android Development] nicolasfh:
http://xdaforums.com/devdb/project/?id=16593#downloads
[G3 Android Development] Shady282:
hey, i wonder if the OP can give a little more attention to the mobile data and LTE vs battery, because the when i turn on mobile data, the battery drains so fast that. thank you!

RR 7.1.1 D851
[G3 Android Development] Sealant:
Thanks for info about changing resolution! Is this possible via terminal to do fps cap? For example 30 fps.
[G3 Android Development] egar3427:
why the normal charging is so slow? does the fast charging is disabled for both usb and normal charging?

please enable fast charging for normal AC Charging. because its the default.

i've installed this kernel today, love everything except this slow charging time

thanks op
[G3 Android Development] Eliminater74:
Just passing though checking out how things are with the G3, Nice to see much love still given to the ol Great device..
[G3 Android Development] marcdw:
And nice to see you dropping in now and again. We all owe a great debt to you, for sure (your PAC5 is still my primary/main).

Yep, G3 still gettin' that love. No shortage of ROMs and goodies to play with. Gamma kernel and Nougat is keeping things alive for the time being.

LG G3 D851, Nimax Slim Fit v1.0 ROM, Gabriel v2.2 OC Kernel, Tapatalk 4.9.5
[G3 Android Development] nytebird:
Couldn't put it better myself.
[G3 Android Development] Eliminater74:
I am getting my hands on a few I7's and a build system is being donated to me.. Just maybe just maybe, I can build a rom for the G3 again.

I still have my G3.. its in the original box it came with, No dents or scratches.... still gota replace the screen thanks to my nephews gf...

I am going to give my daughter my v10............... I move on to the G6, which is supposed to sport a msm8998 SnapDragon 835, on a 4.4 Kernel.

at 3ghrz.. and support 5G.. screen size is rumor to be 5.6........ I hope all the rumors are right.. I think LG just might pull this one off this time around..

all their 64bit devices have been pure crap so far................. My daily driver is my HTC 10. which I do dev work on that............

only reason I do any dev work on the v10 cause they keep spamming my message box with request for help........

I am already running Official N on my htc 10....... not bad.. but did notice a few bugs..............

Well man, before I get too much off topic here.. I better close this message off..

nice to see you all still giving this device much love..................

Its still the best device LG ever made........................ Unforgivably it might be the last............
[G3 Android Development] Alukrad:
I've been saving my money for the G6...The rumored specs make it seem like a monster of a powerhouse and I'll be willing to bet money on it. Hopefully I get to use your kernel again Elim!
[G3 Android Development] Cortex A72:
What is changed I see new version is up but no changes on GitHub?
[G3 Android Development] Sc4ryB3ar:
Are those Linux 4.9 bugfixes that I'm seeing?
[G3 Android Development] himel272:
Cpu speed not stable

I can't set max cpu speed. After set then then few minutes its increase to the highest cpu speed. Any help please?
[G3 Android Development] Tunghur:
I'm on latest RR build (12/20) with Gamma v19. The overheating is annoying and makes that phone go to a permanent lag state. With v18.2 and the past RR build the performance was amazing.

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] fabriquesilver:
been using this kernel, since v. 8.1 on Nougat Roms. great job! keep up the good work ;)
[G3 Android Development] Omar-Avelar:
You're right... there's some play with it using CM14.1, the CPU freq is stuck at max 1036 MHz... I believe MPDecision is involved and keeping the freq stuck,somehow it is working fine on CM13... let me investigate what's up

Do other Nougat based ROM's work ok?

UPDATE: Fixed the bug in v19.1.1
[G3 Android Development] :
Add more hotplug i think it will fix it
[G3 Android Development] elhennig:
Thanks for this kernel. I know you want to keep it lightweight as possible.

Anyway, my experience with the following setup was so good in terms of battery life, that I would like to ask, if you could add the need parts:

Governor: alucard

Hotplug: alucard

I/O scheduler: zen

TC congestion algorithm: Westwood
[G3 Android Development] Omar-Avelar:
I thinks I will do add : TCP_CONG_WESTWOOD :laugh: I do love Westwood on my DD-WRT routers, so thanks for giving out the idea.

In terms of other governors I am keeping this lightweight... and just yesterday played a couple of hours with performance monitors to get the battery life I wanted.

This phone battery drains fast if the memory subsystem frequency scaling is left running in "high performance mode" but with some tricks I tried yesterday on both:

qcom,cpubw.41

and

0.qcom,cache

I finally get a good amount of time at 300 MHz on the cache, bus and DDR bus'es while idling... you will notice this since the phone will be really cold when idling on yesterday's build.

Btw the actual Interactive governor was tuned to use a value of min_sample_time of 0, that also means that the device will not hover at CPU frequencies it thinks it is good to be, but ramp down as fast as the timer can. Reaching to this value of 0 was tricky since this is what caused the micro-stutters on recent builds until yesterday finally cracking the last two portions in memory bandwidth scaling ;)

UPDATE: Here's an explanation of the frequency tables and to the rightmost you can see the amount of time spent. This was what was majorly tweaked in the last days to achieve zero stutter without excessive use of frequencies across the SoC

​
[G3 Android Development] elhennig:
Thanks, I gues westwood is performance wise slightly better than cubic.

Thank you for the explanation. Do I understand correctly, that this configuration is all part of the 19.2 version of your kernel and there is no need to tune parameters on my own?

It is always sad to leave a known good-working solution, but I am open enough to test your's. I will report my experience with it later...

It was already mentioned in this thread: Is there any way to enable Fast Charge in your kernel?
[G3 Android Development] eric93se:
Omar-Avelar, how will I ever get another phone.... No other will be this grand :( /tears of joy/sorrow/ :D
[G3 Android Development] fabriquesilver:
so far and i dont know why, the 12.1 and 12.2 builds are the most fluid ones. i tried all ever since, but its just not the same smoothness
[G3 Android Development] EternalFlame:
Latest one is not that bad, needed some time after a clean install (latest official R.R. build) to show its full potential, but i´m satisfied... sometimes it feels like it needs some milliseconds to get started after the device is idle for some time, means i can see "fps drops" when opening apps or pulling down the notification shade... but after almost 2 years with this phone i got used to it lol.

And it was way worse on 6.x.x or 5.x.x ROMs without this nice optimized kernel.
[G3 Android Development] fabriquesilver:
yea same here, with the 12.* builds this micro lag isnt present, and i use conservative

down_threshold 45

freq_step 10

sampling down factor 1

Up_treshold 95
[G3 Android Development] EternalFlame:
[MENTION=4835912]fabriquesilver[/MENTION]

Noice, i will try it out with your settings.
[G3 Android Development] Sealant:
With this configuration kernel working great but when im doing nothing its no one active core with 300mhz but 4 online cores with 300mhz. How to change it? On my previous phone LG G2 on all kernels without modifications i had 300mhz on one core online on idle.. on lg g3 i have always 2/4 online cores ;(
[G3 Android Development] fabriquesilver:
check the hotplugging whether its on or not, seems like its off

i have two cores online on 300mhz when idle

the built in hotplugging is modified to have 2 cores online to save battery, it consumes less power to have 2 online than putting 1 core online then turning it off
[G3 Android Development] Sealant:
So i dont know ;p hotplug is on. MPDecision right? Its no other option to ON but u mean this option?
[G3 Android Development] fabriquesilver:
Wipe cache and check again. It should work as the default setting for the kernel is 2 cores online
[G3 Android Development] Sealant:
So I installed clean rom and kernel again.. So kernel going to be only on 2 cores online but on default governor. But when i change governor on conservative its not going to be 2 cores online
[G3 Android Development] fabriquesilver:
Very strange..
[G3 Android Development] Omar-Avelar:
With a single setting in the memory frequency scaling of cpubw I can take out this micro-lag, I just noticed it too since I went max "power saving" on latest one, so give me a few hours to do experiments and dump frequency utilization tables to make sure there is not that big of sacrifice and settle on what value will be chosen.

Thanks for paying attention and giving a build number to compare with :)
[G3 Android Development] fabriquesilver:
Thanks for your work ;)

I use the 12.* builds as my daily kernel. Whenever there is a fresh one out I try it with the same kernel auditor settings. What came close in performance was the 15. Ultracool, the rest were laggy for some reason when coming from idle or at wake up.

I Dont play games, use the stock cm browser, messenger, XDA app, google search app, I use greenify so every each time the kernel is tested under the same scenario.

I'm on official CM Nightly if that's any help,

And to be precise. 12.1 is superior in performance to 12.2
[G3 Android Development] EternalFlame:
[MENTION=4835912]fabriquesilver[/MENTION]

Aaay your settings works well, at least the stutters after the phone is idling for a while were gone, but it don´t get it, the interactive governor should be better in terms of performance especially on nougat ROMs, now this old ass conservative gov. makes things smoother, its just weird but i gave up to understand this behavior, since there are so many other factors why we got some "lag" on our phones (ROM builds,Apps,Connection Issues-> i think i recognized the most "stutters" while moving outside when the phone has to work a lot with data connection stuff / playing music / browsing the web simultaneously and whatnot)

However, i will clean flash the latest R.R. build from yesterday and try out v20 lets see how it goes.

Thanks Omar for still working on this kernel to get the best out of our old but still great and sexy G3 :cool:
[G3 Android Development] fabriquesilver:
I know. Its weird that the interactive has a slower response than the conservative. Also the conservative goes rapidly back to idle freq once the tasks are done. Keeping it cool and battery friendly.
[G3 Android Development] souler456:
This is AnyKernel2, yes?

:D :) ;) :good:
[G3 Android Development] egar3427:
i really love this kernel, its fluidity is amazing.

but my battery looks like draining quicker. how is your SOT guys? mine barely touch 2 hours and 30 minutes with 3g mobile data on. is it normal?

what governor are you using, thanks
[G3 Android Development] ceza1380:
Kernel is fast but battery is really poor. Like 2, 2:50 hours SOT. I'm sure kernel is going to have both battery and performance improved soon because dev is working hard and his knowledge on top.
[G3 Android Development] Tunghur:
With which version? I'm on v20 using interactive and performance is good.

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] Omar-Avelar:
On v20.1.0 I have fixed a mistake I had made after v12 that caused not to have the performance up to par. I had picked the wrong slave ID's on the memory subsystem on the last 3 high'ish GPU frequencies, and hence introduced GPU micro-lags due to bandwidth starvation and not a fair QoS.

Thanks to all ([MENTION=4835912]fabriquesilver[/MENTION] and [MENTION=6149253]gr3ud[/MENTION]) on pointing out that the v12 was the best and gave me an idea to look at what I could have messed up :)
[G3 Android Development] fabriquesilver:
Great job. Its running smooth ;)
[G3 Android Development] eric93se:
I noticed with v20.1.0 When I lower the max cpu freq. the phone then idles with just one core running. This is actually something I wanted, to lower power consumption and I know was not your intention but my phone is still plenty responsive with just one core. I also lowered the boost freq to 800Mhz.
[G3 Android Development] fabriquesilver:
Omar

I wonder if u can have a look at v8.2.0 versus v12.1

Just checking it and it seems that the v8 is even lighter and smoother than the v12.1
[G3 Android Development] Tunghur:
I agree, those versions are the best. I think the v20.1 is good, but not so much.

Omar: how can I help you? If you need some help, and if I can, tell me what you need.

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] alaskenikeni:
Love this kernel, just missing the Faux sound mod. Will this be added some day?
[G3 Android Development] fabriquesilver:
Been running v8.2.0 for a couple of days, no heat problems, fluidity is the best and getting 4hrs of SOT on average

-50mv undervolt

Conservative governor

Down tresh 45

Up tresh 95

Freq step 10

Sampling down factor 1

Input boost frequency 652mhz

Bfq 2048

Dirty ratio 20

Dirty background 25

Dirty expire centisecs 800

Dirty writeback centisecs 2000

Overcommit ratio 50

Swappiness disabled

Vfs cache pressure 50

Minfree 4096

Zram 300

Entropy read 2048 write 1024

Very aggressive lowmem
[G3 Android Development] Tunghur:
I will try this with v21. Thanks for sharing [emoji106]

______________

LG G3 (D851)

- Resurrection Remix (5.8.0)

- Gamma Kernel
[G3 Android Development] pops106:
Been running for about 24hrs now and I am really impressed.

Cold phone, charges on USB, battery good, smooth experience.

That is running on AICP
[G3 Android Development] Omar-Avelar:
Updated to 1.1 with some sweet enhancements and attached the GeekBench scores and AnTuTu at stock frequency and without any fsync off hacks :)

​
[G3 Android Development] Tunghur:
Hi! First at all, thanks for share your work!

I have a kernel adiutor mod, and I can't see an option to disable the f-sync function. It's by the mod or is not implemented?

______________

LG G3 (D851)

- CM 13.0

- Gamma Kernel (v1.1)

- Xposed (v86)
[G3 Android Development] edoardotavecchio:
This kernel seems to be so promising. [MENTION=5103965]Omar-Avelar[/MENTION] are you going to implement some governors/schedulers/hotplugs/tcp algorithms? Actually I'm still using another kernel so I don't know which of the are already implemented, but by looking intk "Features" in the OP this kernel seems not to have these things. I'll surely flash this if you'll implement those things, please let me know I'm so excited about this :fingers-crossed:
[G3 Android Development] iam_delan0:
Great Kernel! Any chances of a LG stock ROM version?
[G3 Android Development] Omar-Avelar:
I had a corrupted D851 2.0.0 Kernel Uploaded, fixed it right now in the downloads tab :)
[G3 Android Development] Omar-Avelar:
I won't be implementing a bonanza of schedulers/hotplugs/governors, the intent of this Kernel is to remain lightweight with good performance without being too overly complex ;) sorry

I won't really have the time to mantain it, so I don't think I will pursue something that I cannot test myself as I usually like giving out what I personally use
[G3 Android Development] edoardotavecchio:
I don't mean a lot of them, just 2-3 choices :p. So no other governor ecc. ecc. will be implemented?
[G3 Android Development] Omar-Avelar:
This will be kept minimal on future releases still.

Btw, making use of this post I have updated to version 2.2.0 with memory controller power savings on suspend. This version should feel more smooth according to my testing :fingers-crossed:
[G3 Android Development] Jagdish84:
Working beautifully on Turbo 5 preview build... Thank you for including gamma control as well ?

Sent from my caseless LG G3, because I believe in myself