yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] Omar-Avelar:
The last versions had bugs bringing up all of the CPU cores up at boot, fixed that at the latest version while still keeping all of the goodies
[G3 Android Development] Ormsher:
I see kernel got updated. Change log?
[G3 Android Development] marcdw:
Wow, I thought v2.2.0 was the last one but three builds since. I didn't know we had to personally monitor the downloads.

A little "new build is up" would be nice. ?

LG G3 D851, Mahdi KitKat ROM, microG Project, Tapatalk 4.9.5
[G3 Android Development] foxtaur:
Any chances of including the IO scheduler "maple"? Im kinda curious what you guys think

I've heard its better than ZEN
[G3 Android Development] Omar-Avelar:
Sorry guys, I was sort of experimenting so I didn't got those marked as official.... and I had just seen that my changelog was lost at some post-edition I'd done at some point... bah :(

But today I will mark 4.2 as official since I got quite a big performance improvement in this build without compromising safety, thermals or anything on reliability. I will probably be marking this version as my baseline if I can still continue to improve further, let me know how do you guys feel this build :)

Here's a GeekBench V4 run with out of the box settings on the Kernel : http://browser.geekbench.com/v4/cpu/201408

Here's the AnTuTu results for this build just in case:

[Using default interactive governor and adreno-tz... since 'performance' governors are not really for everyday]
[G3 Android Development] marcdw:
Yay! Will give it a go. Hard part is figuring out which ROM I want to flash it against.

LG G3 D851, Mahdi KitKat ROM, microG Project, Tapatalk 4.9.5
[G3 Android Development] jochem86:
Just installed the latest... i was on ACC lite on RR and i have to say... so far so good, cant say anything yet on batt but its really smooth :)

EDIT:

awsome kernel, no need for me to search for others... in my view better then aCC lite... great job!
[G3 Android Development] sheikhramnuj:
This kernel is pretty awesome! No lags and heating issues. Installed this kernel with latest aicp rom nightly. Keep it up op! :good:
[G3 Android Development] omaaar622:
Greaaat job

but I have a bug with the D851 varient

the Bleutooth doesnt work
[G3 Android Development] Omar-Avelar:
What is the bug signature like? I don't hace the D851 at hand but I can fix it, justo give me a week or so :)
[G3 Android Development] fabriquesilver:
Some screenshots using the previous settings
[G3 Android Development] Skyllery:
Nevermind my mistake, best kernel so far

Regards and happy new year !
[G3 Android Development] boofman:
Nice kernel, and thanks for sharing your config!

I've noticed the 3rd and 4th battery drainer on your screenshot are phone idle and cell standby, which is also the case I have.

My other phone, which is a Note 4 on Marshmallow, sleeps better than my G3.
[G3 Android Development] lintol23:
Is this kernel compatible with 7.1.1?
[G3 Android Development] nytebird:
Yes
[G3 Android Development] Omar-Avelar:
That is because he is using the v8 build which does not have the phone idle optimizations that were introduced in v20+

Phone idle on my case now is 1%, but cell standby can be power hungry if you are in region with bad reception :), I'll try and keep improving this Kernel
[G3 Android Development] ZjemCiKolege:
Any chance to 3.4.113 ? :P
[G3 Android Development] fabriquesilver:
Nice

I'll try the latest build
[G3 Android Development] crossxn:
Please release a version for vs985. Thanks.
[G3 Android Development] boofman:
I'm using D855 v.21, phone idle is at 6% but cell standby is at 1%..not that I'm complaining, but I'd just like to point out that it's the opposite of yours.. ;)

Great work, phone is snappy and stable, and with -10 undervolt, phone rarely heats up.

Thanks for your hard work!
[G3 Android Development] fabriquesilver:
Same here.. V21
[G3 Android Development] Omar-Avelar:
Nice, thanks for that data -- that's something I was missing to see how it behaves for other users... I will try out some other things I have in mind to see if I can squeeze out even more out of the phone... but so far I feel contempt on how it is ;)

I have been in WiFi all day when I get 'Phone idle' of 1% so it might be something else that bumps Phone Idle by that much when using the modem? Or what do you guys have in mind :laugh:

The other difference is that I am using a CM13 ROM vs CM14.1 based. I had been using CM13 on my daily driver and using CM14.1 on my dev phone to test both at the same time, but my dev phone does not get real world usage patterns so I cannot really tell if CM14.1 just uses more in idle than CM13 or if it is indeed something else.
[G3 Android Development] fabriquesilver:
Cm 14.1 here. I use greenify. The apps that are left to run are google app messenger outlook and browser
[G3 Android Development] boofman:
I'm using RR v.5.8.0 Android 7.1.1.

I also use Greenify with aggessive Doze, but I do use a lot of SMS and do a lot of phone calls. I also use Email regularly (it's a work device) so Wifi and LTE are a must and used in about 60:40 ratio.

My LG G3 with your kernel gave me the best battery life thus far, but my Note 4 stock MM and no greenify lasts longer and sleeps better, which is a bit odd.
[G3 Android Development] fabriquesilver:
So this is what's happening here. Its rarely in deep sleep
[G3 Android Development] fabriquesilver:
Edit
[G3 Android Development] Omar-Avelar:
Will do ;)
[G3 Android Development] marcdw:
Comparing two totally different devices with dissimilar innards and battery running different android versions.

I don't see how that would register a ? (hmm) moment.

Heh heh. Sorry. Had to. [emoji57]

LG G3 D851, crDroid N v1.9 ROM, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[G3 Android Development] boofman:
True..i see your point. I shouldn't have compared them.

Though the original question was the battery drain on my G3 on RR Nougat Gamma Kernel.
[G3 Android Development] Omar-Avelar:
Can you test the version attached? :)
[G3 Android Development] fabriquesilver:
Hi Omar. Maybe this will give you a better view of what causing the idle drain

Its on V21.0
[G3 Android Development] Omar-Avelar:
Oh snap, I had seen that scenario where the WLAN rx wakelock is active due to the type and firmware of the access point/router that you are using. I will see if I can try silence that out, no wonder why it showed way different to me than you.

Btw... does anyone have any success stories booting the vs985 with my beta Kernel build on last page?
[G3 Android Development] jabbeboy:
Is this kernel only working on AOSP based roms and NOT LG Stock roms etc: Tekcafe/ZoeRom ?

?
[G3 Android Development] Sealant:
Guy!.... WTF with u.. U doing problems for all and u dont understand basic staffs... Stop making all bad mood on all threads.

AOSP not mean STOCK. GO BACK FOR STOCK ROM GUY

My godness
[G3 Android Development] jabbeboy:
My problem is none. I just asked.

I suppose its better that i ask before i flash it and end up in a bootloop. Now i dont need to end there and can therefor look for another kernel. ?

Don't be such a hater man.
[G3 Android Development] Sealant:
just you blame someone for something well done.
[G3 Android Development] marcdw:
You asked the same in at least two AOSP/CM kernel threads. That means you didn't pay attention to the title of threads or read the OPs (original posts).

Read and pay attention and things will be clear.

For stock ROMs look at Xceed, Gabriel, and Solid. May be others but not sure.

LG G3 D851, AOSPA-M ROM, aCC v1.5 Kernel, MultiROM, Tapatalk 4.9.5
[G3 Android Development] jabbeboy:
Shut up. I haven't blamed someone.

It was a simple freaking question. Just reply saying "NO, only CM /AOSP " would be required to get me the hell away from this thread.

No not atleast two thread, it was only 1 thread. No i was abit confused from the title and then some line in the OP.

Thanks for the tips :)

I will be gone now. :)
[G3 Android Development] Sealant:
I say just that something you think is wrong when everyone thinks that is ok.

You should not use this forum if you have a problem and when you blame all your fault.
[G3 Android Development] marcdw:
Gamma and CrazySuperKernel. That's more than one, at least two. In the latter you made the assumption that all variants meant all ROMs and was sort of complaining. Went so far as to say it was bull**** that the kernel wasn't for stock.

I guess the both of those were enough for Sealant to break the leash and pounce on you like a pit bull. [emoji36]

's okay.

LG G3 D851, AOSPA-M ROM, aCC v1.5 Kernel, MultiROM, Tapatalk 4.9.5
[G3 Android Development] foxtaur:
Both are great kernel. Both aim to achieve good performance, gamma just plays it safe and emphasizes on stability more than features. That's all I have to say.

Anyone flashing the wrong files and bricking their device without doing the research truly deserves it.
[G3 Android Development] noussair78125:
its work for nougat RR lg g3 d850 ??????
[G3 Android Development] yandoo:
Im on crDroid 1.9 (now with this kernel) and I only can charge my phone when it is Off, do you guys have this bug? Its the first time I try a non-stock ROM
[G3 Android Development] elhennig:
So here is my report after some weeks using gamma kernel. I always installed the latest version once available.

The battery life is very good. It is much better than the stock RR kernel.

My config is

CPU Governor: Interactive

I/O scheduler: CFQ (internal,128k) ROW (external,1024k)

TCP Congestion: Westwood

Normal voltage configuration.

400Mb zram

My conclusion is that Omar's interactive governor does a very good job, as good as my previously preferred setup.

Thanks!
[G3 Android Development] Shady282:
thank you for this great kernel!

I was wondering if anyone recommend a specific configuration that helps in getting the most of battery with a good performance for the use of social media and browsing (not a gamer) ?

Using D851, AICP, Gamma kernel 22.0.0.
[G3 Android Development] Saratoga79:
Since each device is diferent, you may try yourself with diferent gov/hotplug combos.
[G3 Android Development] Shady282:
oh, is there a guide or something to understand the settings there? because i m afraid i might brick my phone if i play with wrong values or something, thanks :)
[G3 Android Development] Vinloc:
i am on lg g3 d855 and i have used the settings posted by elhennig, but my bettery drains so fast :( i am on xenonhd 7.1
[G3 Android Development] hean_burak:
Try to change westwood back to cubic. Also I usually use default cm value for ıo which is 512 for both internal and external. But something else might be the case, for example rom itself or kernel update.
[G3 Android Development] Vinloc:
thanks for the fast reply, will try it out and will update if there is any change :)
[G3 Android Development] elhennig:
That probably does not change the battery behavior.

[MENTION=7043434]Vinloc[/MENTION]: How many battery cycles did you try? My experience is that battery drain is rather normal during the first cycle after flashing. This could be caused by rebuild of the media database or some other process. Better Battery Stats could be a big help to find the reason.
[G3 Android Development] Saratoga79:
If you are afraid of doing something wrong, you shouldn't play with fire, or you can use GovTuner Mod form XDA, it is a mod that tunes the governor you are running with different profiles, battery, balanced or performance. Just search for it and give it a shoot.
[G3 Android Development] ronche2000:
why latest v23.0.0 drain battery fast? D855 AICP rom
[G3 Android Development] marcdw:
That is something you can determine yourself. There are tools out there to help you do that.

LG G3 D851, LiquidSmooth v4.1 LP ROM, MultiROM, Tapatalk 4.9.3
[G3 Android Development] Saratoga79:
First of all, wait some battery cycle to settle down the Kernel. If you still hace bad battery behaviour use BetterBatteryStats to check what app/service is draining your battery.
[G3 Android Development] eric93se:
To get the cpu to settle (and lower battery consumption) I had to do a full reboot and let the rom settle (don't touch it for a couple minutes after finished rebooting) so that the new settings would take hold.

edit: also sometimes I would toggle the cpu govoner off/on to get the cpu to settle. But not so much with this kernel.
[G3 Android Development] sanguinesaintly:
Versions later than 21 have been pulled from downloads ?
[G3 Android Development] Omar-Avelar:
Due to excessive batter drains reported by various users. Looking into it :(
[G3 Android Development] Saratoga79:
Keep the good work buddy!! :good::good::good:
[G3 Android Development] Omar-Avelar:
Fixed it in v24.0.0 from the testing I had done, please do report anything strange or abnormal!
[G3 Android Development] Omar-Avelar:
Just flash it over, it is not incremental but the full Kernel and parameters that get's written ;)
[G3 Android Development] elhennig:
Hi, what did you fix? The battery drain?

On my phone everything was normal with 23.
[G3 Android Development] Gillah:
Hi [MENTION=5103965]Omar-Avelar[/MENTION] , is it possible to add the Savoca patch to your kernel? https://github.com/savoca/furnace-g3/commit/60bc97a256eee0f5f15f4c85a27f9a5e3ad6f0d3

Thx

Enviado do meu LG-D855 através de Tapatalk
[G3 Android Development] rf69:
Sorry for the stupid question, i haven't played around with Kernels at all.

Can i just flash it in TWRP or do i have to do a clean install.?

Thanks in advance :cool:
[G3 Android Development] marcdw:
No, just flashing in TWRP is fine. I suggest the following.

Make sure any existing kernel tweaks are back to defaults (you haven't messed with kernels but for future reference).

Backup your ROM or at least the boot.img so you can revert to default kernel if need be.

Flash new kernel (some folks like to wipe cache).

Boot and benefit.

You'll have to do some reading on governors, hotplugs, I/O schedulers, and more to get the most out of a kernel.

The following thread and its corresponding website has a boatload of information on the subject.

Users in the kernel threads will fill in the blanks with real-world usage examples.

http://xdaforums.com/showthread.php?t=3048957

[REF][GUIDE]Most up to date guide on CPU governors, I/O schedulers and more!

LG G3 D851, crDroid v2.0 N ROM, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[G3 Android Development] Shady282:
The version 23, improved the battery life a lot ! compared to other versions.. now trying v 24. but I do live in a country where the cellular connection is very bad, which lead to drain in battery... and some location when i m in, like my university, the phone keeps rebooting when using the data mobile in that area. is there a way to fix that ? or to fix network connecting battery drain ? thank you for your work!!
[G3 Android Development] rf69:
[MENTION=6046143]marcdw[/MENTION] - Awesome thanks a lot for the detailed answer.

Luckily i haven't changed anything on the current built-in kernel.

I do have a tasker script setup to make a Nandroid backup every Saturday, so after the backup tomorrow i will give it a try.

Also thanks for the link, i will read through it and change some settings accordingly.

I have one last question, which app do you prefer i use for editing the kernel settings?

Thanks

:)
[G3 Android Development] marcdw:
I prefer Kernel Adiutor-Mod (available on XDA).

You could go with the Kernel Adiutor from the Play Store. More visually appealing (for some).

LG G3 D851, LiquidSmooth v4.1 LP ROM, Nebula v9.3 Kernel, MultiROM, Tapatalk 4.9.3
[G3 Android Development] Trevomader:
Hello Omar and fabrique, did you manage to fix this wifi battery drain?

I've tried everything, gapps/no gapps, multiple kernels, multiple roms, multiple sync settings, greenify, etc. and could not get the screen off wifi battery drain to go away, with wifi on and screen off i'm getting 50% deep sleep/50% awake time which obviously drains the battery ridiculously fast.

The only way i managed to keep the drain at bay is to use the app "ForceDoze" to switch wifi to off when the screen is off.

I'm currently on v24.0.

Thanks in advance :)
[G3 Android Development] PEPITE:
I had to say that this config works like a charm on my device (d855) !

All animations and scroll are impressively smooth, even scroll the playstore home page does not produce lag (this home page used to be a nightmare test for my device)

--

d855 on CleanRom latest

Gamma kernel v8.2
[G3 Android Development] mvyrmnd:
I just wanted to say that since I installed v24, (running crdroid v2.0) I thought my battery meter was broken, it stayed on 100% for a full hour of use! Smooth, fast and so much better battery life. Thanks for all your hard work Omar.

I'm going to load 24.1 now.
[G3 Android Development] TobyKurogane:
Hello, this is my first time using a custom kernel

I just want to ask:

After flashing the kernel, do I have to do anything more like setting it up or just flash and enjoy?

If needed, what can I use to tweak your kernel

Sorry, this is my first time so I dont know how to use it properly
[G3 Android Development] Shady282:
I don't know what others are experiencing with v24 and v24.1, but i m experiencing bad battery life and some boots happens when moving through apps and the gps is on especially on 24.1, and certain geographical location/cellular.

V23 was a lot better. and maybe i ll give a try for v8 ? since some people are reporting good battery life.

I m on D851, AICP 7.1.1 / 12.1. GAPP 7.1.1.

Thanks :).
[G3 Android Development] ronche2000:
[ROM][7.1.x][v500] Official CyanogenMod 14.1 (Nightly) It Is compatible with gamma kernel?
[G3 Android Development] ToRt1sher:
It is.
[G3 Android Development] ceza1380:
With latest builds, Kernel finally reached battery friendly level which I wanted. It's also fast. I know Omar never gonna stop improving the Kernel and bring more SOT and speed to the G3. I'm getting 5hr SOT at the moment.
[G3 Android Development] error748:
I don't know what is your model but for me with D855 and v24 I am pretty happy with extremely high battery life.

Just 1% usage from 100 to 99% what an amazing kernel

Before this I was using CrazyKernel v9 and I could barely reach 4 hours

With this one I think I will reach over 5 hours of SOT
[G3 Android Development] Sealant:
Tell us ur settings!!!! ;D

Kolego daj mi znać co tam poustawiałeś takiego, że Ci tak fajnie na baterii trzyma ^^ ja najlepszy wynik miałem na g dwójce 6.17h sot ;p a na g3 Ty go przebiłeś.. Na G3 miałem 5h the best
[G3 Android Development] boofman:
v.24.1 is stable for me on my RR Nougat..tbh I didn't feel any significant improvement over v.21..battery life is still great!
[G3 Android Development] Omar-Avelar:
Let me know how this version (v25.0.0) handles temperatures, I liked your YouTube video very much showing that I could improve it further :laugh:
[G3 Android Development] valeriogerva:
V 25 radio fm work now?

Enviado desde mi LG-D855 mediante Tapatalk
[G3 Android Development] Saimonas:
Not working...
[G3 Android Development] Vinloc:
Hi, sry for the late answer, was the first cycle to be honest, after a reboot battery was ok, not great but ok, but my G3 still got a little bit warm to the touch when playing a game (not graphically intense, but was an online game) Better Battery Stats showed me no data to conclude a reasonable source for the battery drain

just flashed v25, lets see how the battery holds up now :)

using interactive as cpu governor, row as io scheduler and cubic as tcp for my settings, changed nothing else :)
[G3 Android Development] cimdrap:
I got 2 reboots (version 25) d855
[G3 Android Development] eric93se:
Just to share, in order for the new setting to take hold I always have to do a reboot (not including the reboot when flashing) and give it a minute to settle after that.
[G3 Android Development] ronche2000:
force reboot in v25 when playing 3d games, 3x happen to me
[G3 Android Development] Saratoga79:
You may provide some logs to check.
[G3 Android Development] ronche2000:
I noticed phone heat faster in v25 cause phone to force shutdown
[G3 Android Development] Omar-Avelar:
I see, no wonder why I was not seeing this (still using CM13 as my main driver).

[IMG="V23-V25? I think"]http://i64.tinypic.com/wi0dh3.png[/IMG]​

There is something strange and stuck going on with CM14.1 on certain boots using my Kernel, I will have to analyze :( ... it might be the Thermal Daemon since it should be throttling lower even under sustained high loads

I don't know why it is triggered yet but closing all apps 'fixes' it for me after a few more seconds on this phone, will get you guys an answer soon

EDIT: In my CM14.1 case/phone it is Kernel Aduitor that causes havok, going and closing all processes return my phone to normal... no idea why, it might happen with other apps

PID USER PR NI CPU% S #THR VSS RSS PCY Name
6056 shell 20 0 50% R 1 4768K 1580K fg top
4402 u0_a90 10 -10 41% S 49 1534080K 112644K fg com.grarak.kerneladiutor
31 root 20 0 8% S 1 0K 0K fg kworker/u:1

Can someone also check this on their device?
[G3 Android Development] iam_delan0:
Are you using stock CM 13 or some other CM 13 custom? I'm not really having good battery life on RR (7.1.1).. Tried all versions of the kernel. BBS also does not report anything.
[G3 Android Development] Omar-Avelar:
Using official CM13 still as daily driver, and it works as a charm, I still have no idea why some boots behave strange with CM14.1 or CM14.x based (probably) as mentioned in the screenshot, will have to dig deeper :p
[G3 Android Development] ronche2000:
d855 variant and my rom AICP - 12.1 - N 7.1.1_rXx
[G3 Android Development] Omar-Avelar:
Thermals fixed on the latest v27.0.0 Kernels, thanks for reporting that out!
[G3 Android Development] iam_delan0:
Well now I know the cause of my bad battery life.... yesterday my screen felt a bit odd... as in slightly raised up on one side I pop open the cover to find my battery slowly bulging... Got a new one all seems fine now... Don't know what caused the issue... My third battery now in the two years that I have this phone...
[G3 Android Development] ronche2000:
it is compatible to LG g pro 2?
[G3 Android Development] marcdw:
Not sure but I wouldn't think so. It's for a particular G3 family of phones.

For instance I don't believe the G3 Beat would be in our family of devices.

LG G3 D851, Oct-N ROM, MultiROM, Tapatalk 4.9.5
[G3 Android Development] sub7ei:
Screen colors are oversaturated, I revert back to stock profile.
[G3 Android Development] Sealant:
Why all the time i have 65+ cpu temperature. Some one said that with no change in gamma kernel have 6h sot. When i install kernel i have 65C idle and 75/80C+ when im doing anything. I always had that problem with this kernel. I know why its always that temperature. Because i have all the time high frequences on cpu but why i have this high frequences when some one with stock settings in this kernel have 6h sot? Sry for bad english but i have that u can understand what i mean.

Regards!
[G3 Android Development] Omar-Avelar:
What are you using to check temperatures? On CM14.x right now using Kernel Aduitor I see it peg the CPU utilization very high and get high temperatures which I still don't know why... However Kernel Aduitor with CM13 and my Kernel work just fine...

But using AIDA64 for instance gives me idle temperatures of 39-40 C...
[G3 Android Development] Sealant:
So kernel adiutor showing me that temperature. But i dont need to check temperature because i feel it on hand that device have 80C. For example on CrazySuperKernel i have 30C idle but there dont working tethering wifi so i have to use other kernel on the moment. And im sad because i think that only I have problem with heat on this kernel.. What i can doing wrong after instalation? I have that temperatures with clean instal rom ;x with aicp with crdroid with marchetto RR... so its probably no rom bug.
[G3 Android Development] brzzzl:
Better battery life

Hi guys,

ive got two questions

1. whats the best Rom+gamma kernel combination for the best battery life?

2. which kernel settings are you using? (For battery life)

Thanks!
[G3 Android Development] seanskiT!:
And neither question can be answered by someone else. Each of these phones are different. You need to experiment and see what is best for your phone.