yashsingh1/xdaforums huggingface dataset:
[G2 Android Development (D802)] g.lewarne:
Right, been playing some more.

If i disable the userspace throttling (thermal engine service started by ramdisk) the kernel throttling system takes over........and makes things WORSE. Im not sure where it gets its threshold values from but it does not seem to be from those values i found in the dtsi files. If i disable kernel throttling and rely on the userspace one things go back to how they currently are. Seemingly the software one takes precedent over the kernel one if both are enabled. As to configuring the software one, i have not played with that yet, but will take a look on sunday.

My suspicion is the software throttling has the threshold values hard coded in the binaries, and the files you have been playing with are simply reference and not actually used for,configuration. Can you send me the binaries from the verizon phone that you say bench higher ?

Wont be around tomorrow as its a rare day off from work so taking it easy.
[G2 Android Development (D802)] robogo1982:
You better not come back here without having at least 2-3 beers. ;)
[G2 Android Development (D802)] mankindtw:
I built F320 kernel from latest v2 kernel source and add fast charge function.

This fast charge mod show "AC" charge when plugging into computer and

transfer file as well. Don't know host has enough power or not, no long test yet.
[G2 Android Development (D802)] :
Hi,

Here's in attachement the binarie files (from a system dump) :)

You will see that the "thermal-engine" is slightly smaller than the International version and the two others file have the same size than the International version.

They bench higher even full stock (you can take a look at the benchmark thread in the general section) about 36 700, but is this the only reason :confused:

In my case if I want to go a little over 36 500 I need a fridge :p

With all the test I've done I don't remember if I replaced this files from Verizon with the stock ones, I will test to see if there is any difference...

The other thing is that there is only 3 thermal files in /system/etc for the Verizon version:

-init.galbi.thermal_conf.sh
-thermald-8974.conf
-thermal-engine-8974.conf

The international version have 5 files:

-init.galbi.thermal_conf.sh
-thermald.conf
-thermald-8974.conf
-thermal-engine.conf
-thermal-engine-8974.conf

They are the same (about values and SYMLINK for "init.galbi.thermal_conf.sh") , except for the "thermal-engine-8974.conf", but the only difference is the battery temp (2 °C higher for [battery_monitor]), lines "thresholds" and "thresholds_clr" for Verizon.

But if I try with only the three files in /system/etc like Verizon (I replaced them in the International version by the same files from Verizon and I deleted the other two files): hard reboot during benchs :confused:

So in this case these files have done something (read by the binaries or... I don't know :confused:).

Also both have this line in the build.prop:

qcom.thermal=thermal-engine

At my level I didn't see other difference.

Hope that helps... And have a nice day off from work :good:;)

:)
[G2 Android Development (D802)] suhiiii:
Battery stats with Rayglobe 3.0 and 2.03 kernel . First full charge
[G2 Android Development (D802)] g.lewarne:
Did you just change the phone model in the lg board selection of the config or did you start with the original lg defconfig
[G2 Android Development (D802)] g.lewarne:
Thankyou !
[G2 Android Development (D802)] g.lewarne:
I just got a sunspider result of 559 ms ! No overclocking either ! What do you guys get ?
[G2 Android Development (D802)] :
With the last beta, around 560 for the other runs (with Opera...):

:)
[G2 Android Development (D802)] suhiiii:
803.5 here

2nd run 684

I am on 2.03 kernel xD
[G2 Android Development (D802)] cruzargel:
Hi [MENTION=1768899]g.lewarne[/MENTION]

Great ROM and kernel, except the I'm randomly loosing network signal :( not sure if it's your ROM or kernel.

Feature request plz:

4button nav bar or 3 key with recent apps
[G2 Android Development (D802)] :
Hi,

1)Not a single issue here with network, maybe your provider?

2)Wrong thread, it's a kernel thread here..., anyway there is an Xposed module for what you want: http://xdaforums.com/showthread.php?t=2477586, without an Xposed module I think it will be too much hard work...

:)
[G2 Android Development (D802)] g.lewarne:
Since not a single other user of either rom and or kernel have reported such issues, i am 99.9% certain it is something on your end
[G2 Android Development (D802)] cruzargel:
ok thanks. I'll just observe and reflash if it doesn't get better.
[G2 Android Development (D802)] screenager:
Install g2 xposed and be happy :)
[G2 Android Development (D802)] LittleH79:
This kernel (together with the rom) is making my phone sleep like a little baby :cool:

Just came home since yesterday and forgot phone..
[G2 Android Development (D802)] onim21:
927 ms :X Chrome and 2.03 kernel.
[G2 Android Development (D802)] screenager:
first (lazy) day full charge with 2.03v ... :laugh:!!

used on the couch mainly reading, surfing and playing. only 30% screen brightness. wifi and sync on. -50mv on all values (since 2.03v stable:cool:, will try more now) ondemand tweaked a little towards battery compared to stock values. still smooth as silk. tomorrow i will test it (more realistic) on the road. great kernel!!!! THX g.lewarne!!!:good:
[G2 Android Development (D802)] quachhanthanh:
What rom are u using? The battery is very incredible. I love that! Just got a new G2 with stock 10c rom.
[G2 Android Development (D802)] screenager:
iam using g.lewarnes stock mod rom v1.06. also i removed more bloatware.
[G2 Android Development (D802)] LittleH79:
Same :D
[G2 Android Development (D802)] robogo1982:
Please don't request such stuff, firstly because, as [MENTION=2920816]viking37[/MENTION] already said, this can be achieved with Xposed Framework, and second, there are plenty of us who like a very-near-to-stock kernel.

I remember all the bunch of silly and useless mods devs used to put in Samsung kernels... all the reason why I love this kernel!
[G2 Android Development (D802)] cruzargel:
Ok. I had that mod, but xposed framework made my phone slower. So I just thought..

Anyway, kernel and rom looking good!
[G2 Android Development (D802)] robogo1982:
I am running Xposed at the moment and I can't see any slowing down :eek:
[G2 Android Development (D802)] mankindtw:
I used g2-lgu-perf_defconfig board config and align to g2_stockmod_defconfig to have better settings.
[G2 Android Development (D802)] suhiiii:
hmm can UV be related with rom or kernel in way how much you can UV ?

I tryed 3-4 times to -50mv and everytime when I run antutu it's minimize after reaching 20-30% .

On -25 everything ok.

Today after full wipe and reflashing rom ,kernel yestarday,I try UV @ -37 and everything was ok,no minimize on antutu.

After thath I tryed -50 and again everything ok..

Rly strange :D
[G2 Android Development (D802)] g.lewarne:
Odd but not unheard of. Was a guy on one of my samsung kernels whose phone would randomly change how much it could OC by. Never found out why.
[G2 Android Development (D802)] :
Hi,

@ suhiiii, undervolt is related to the kernel, your hardware. Undervolt is mostly conditionned to your CPU binning (http://xdaforums.com/showthread.php?t=2489998&highlight=binning).

Why sometimes you can udervolt at -50 mV and not again? Depends of certain circumstances I think (CPU Load, heat according to the CPU freq, how the CPU is stressed, in a bench there is always some fluctuations, etc...).

To be sure that your -50 mV is considered to stable, run multiple tests and not only in benchs...

:)
[G2 Android Development (D802)] suhiiii:
Yea,my pvs_bin is 2 ,and saw some ppl who write thath they uV -50,at thath time my antutu crashing on 50 :D so I am little more happy now. :D

But as I know ,more UV = lower temp on proc = better scores in benchmarks :D
[G2 Android Development (D802)] :
Re,

Yes... On the paper... :D

For me and after a lot of tests on my different devices I don't undervolt because I never see any improvement in battery life nor heat (or at least nothing really noticeable that makes for me that undervolt is something obvious, or you need to undervolt at -100/150 mV and here good bye stability).

Plus you undervolt the whole CPU freq table by -50mV, maybe some freqs are less stable at -50mV than another :confused:

If you understand this:

:)
[G2 Android Development (D802)] suhiiii:
I know what you trying to say, I know thath all devices are different,maybe you just be unlucky with youre devices in way of UV .

But before g2 I got one x ,and i know with little uv like -50 got some minnor improvements,nothing big ,but if its free why not.

Here on G2 ,at least on benchmark I see some bigger scores,antutu,quadrant,geekbench 3...

Will see in day to day use in other stuff,hope too see no restarts :D
[G2 Android Development (D802)] :
@ g.lewarne, I replaced the binarie files with the Verizon ones for testing but it doesn't seems to do anything :(. The thermal throttling begin always at the same CPU temp...

I replaced the "thermal-engine-8974.conf" too (since it's a little different than the international version) but I kept all the other files (otherwise if I delete the two files to have only 3 files related to thermal stuff like the Verizon ones I have always a hard reboot during Antutu), but again nothing changed...

I stop my tests for today... :D

@ suhiiii, maybe..., maybe not... :D

:)
[G2 Android Development (D802)] screenager:
this happend to me too. first -25mv was the absolut maximum, but with 2.03v i tried -50mv again and after one day with benchmarks and normal use iam now trying -62,50mv overall and it seems stable so far. next stept would be to find the minimal voltage for each individual freq step.

or could it be, that the voltages are not applied right?

i also had the strange bug that the steps would add up sometimes instead of going down in constant 12,50mv steps!
[G2 Android Development (D802)] htcm7:
Just installed this kernel on stock ROM, UV -87.5 mV.

I noticed, this kernel is more responsive but seems drain more battery than stock kernel.

Monitoring via system tuner, when system idle, on stock kernel, almost constantly CPU 0 runs at 300 MHz, while with this kernel, CPU 0 runs at 960 MHz, other CPUs remain offline (CPU governor - on demand )

Anyone here using this kernel with stock ROM experience same as mine? Or should I use custom ROM to optimized this kernel ?
[G2 Android Development (D802)] onim21:
Hello, I have 2.03 on Rayglobe and I have more 300Mhz than 960...960 is only when I touch screen or Intelligent Screen search my face. Look at screens shot : https://www.dropbox.com/s/gwvof4hlxcetqie/2013-11-25-04-17-22.png

Wysłano z mojego Nexusa 7 2013 za pomocą Tapatalk.
[G2 Android Development (D802)] htcm7:
Changing UV to -75 mV, now seem running more on 300 Mhz too, strange, I thought lower volt is better, but not in this case.

Waiting a few more days to get more result.
[G2 Android Development (D802)] g.lewarne:
ok everyone, sorry for being quiet but im running another kernel and rom through their paces to make sure I am happy, will have them online in a day or so if all is good :)

edit:

should say that what I am trying to do is really smooth out the system, going for butteryness rather than all out benchmark results
[G2 Android Development (D802)] suhiiii:
Take your time ,I am always for better baterry :D Benchmarks are already high enough.
[G2 Android Development (D802)] screenager:
looking forward to it :) - nobody cares about benchmark.

smooth performance and efficiency are far more important!
[G2 Android Development (D802)] matematic:
Chasing benchmarks is really stupid. It doesn't show anything.

My suggestion would be to remove as much crap as you can from the system. Optimizing the framework and minimizing background processes would improve the system a lot. I don't know where the difference come from but AOSP ROM size is about 200 MB and this thing is almost 1.4 GB with removed bloatware (sever times more)
[G2 Android Development (D802)] robogo1982:
How do you butter out something already buttered out? :D
[G2 Android Development (D802)] onim21:
Did you think about chaning /system and /sdcard size ? I have 1gb free on /system, and I can't do anything with this free space...Can you make few versions of kernel with difference /system size?
[G2 Android Development (D802)] g.lewarne:
That would require repartitioning which we cannot do due to locked bootloader (yet)
[G2 Android Development (D802)] onim21:
G2 has locked bootloader? I thought that only Verizon or ATT versions, International not... ?
[G2 Android Development (D802)] sahidmiah:
I m on. Latest kernel and was playing. Real racing for 5 minutes. Suddenly phone. Crashed and went to home page.

Is that normal
[G2 Android Development (D802)] suhiiii:
Nope :D Did you UV ?
[G2 Android Development (D802)] sahidmiah:
No.i don't know anything about uv or anything
[G2 Android Development (D802)] g.lewarne:
Could have just been an app glitch
[G2 Android Development (D802)] g.lewarne:
v2.06 released!

Lots of changes, get from the OP :)

and dont go waaaaa waaaaa about the frequency change, ive been testing this for 4 days, no extra heat or battery drain of any significance. You will see its effects though ;)

Should add this *may* bench a bit lower, but overall the whole system is much smoother and more resposive, and this is more important :D
[G2 Android Development (D802)] htcm7:
Downloaded and testing. Don't care much about bench but for battery life, UV - 75mV, will report a result in few days later.

Thanks for your work.

Edit :

Just found out that my Firewall logging is not available anymore.
[G2 Android Development (D802)] onim21:
I don't know how you do it... I tested UV for - 40 value and my G2 was reboot pendant simple activities like opening SMS app.

Wysłano z mojego Nexusa 7 2013 za pomocą Tapatalk.
[G2 Android Development (D802)] htcm7:
What is your cpu bin, mine is 4, that is an advantage to have lower bin :)

Actually it can go lower up to -85mV, but to lazy to set up it manually, -75mV is enough for me, in theory, it will saving battery life for about 7.5%, which for my usage pattern, light to moderate, it could mean 3-4 hours.
[G2 Android Development (D802)] onim21:
I have pvs 2...

Wysłano z mojego Nexusa 7 2013 za pomocą Tapatalk.
[G2 Android Development (D802)] Kroutnuk:
Just installed, testing it
[G2 Android Development (D802)] libertine99:
hi, i have a weird problem, for 2 days now, after about 20 minutes of browsing/scrolling, etc, phone gets hot quickly (about 45 degree celsius) and reboots...

i went back to kernel 1.2 but still...

i didnt change any of the trickstermod or setcpu values,

is it possible that i ruined something?

edit: im on your rom 1.6 and on kernel 2.6, but as i said, it seems to happen with other kernels as well now

thx, fantastic work anyway!!

(i hate the stockromlags, i wont ever understand how thats possible with THAT hardware)

edit2: hmmmm, after removing setcpu and trickstermod, it doesnt seem to happen anymore, maybe i really did set something without purpose and onreboot, strange, sorry

btw: im a (java)developer myself and can only admire your work, many thx, sire
[G2 Android Development (D802)] ddic:
Testing it.... seems ok so far!
[G2 Android Development (D802)] Ropb:
could you build a none OC version of this kernel?

Would it make sense anyway?
[G2 Android Development (D802)] nic85:
+1 :good:
[G2 Android Development (D802)] :
Hi,

This... Don't use two CPU control apps at the same time or some weird behaviors could occur... Use Trickster Mod, better in my opinion and check the CPU settings to see if there is not some weird settings... I use it with no issues.

:)
[G2 Android Development (D802)] g.lewarne:
There is no overclocking in this kernel......? So not sure what you are asking for
[G2 Android Development (D802)] htcm7:
Just running Antutu, for stability test, UV - 75mV, stable enough and got better score than stock kernel.

Score -> Stock kernel : around 32900, v 2.06 : around 34400. Both still on Stock ROM.

There is something strange though, on this kernel, Android System seem trying to send data to the internet more often than stock kernel.

Edit :

Another strange thing, how come Antutu reported CPU Speed only at 1958 MHz. Take a look at the attachment. The one with score 32961 is from Stock Kernel and the other with v 2.06.
[G2 Android Development (D802)] Ropb:
So how come it gets overheated?

OC means not only MHZ scaling,

its even modifing the VOltage isnt it?
[G2 Android Development (D802)] g.lewarne:
No voltage mods either. And it isnt overheatibg. SoC values are 90 degrees max safe temp 110 max sustainable.

Yours is nowhere that due to the built in throttling
[G2 Android Development (D802)] g.lewarne:
Only networking change is people wanted westwood tcp congestion. It could be that
[G2 Android Development (D802)] screenager:
instead of blaming the kernel you first should check and post your settings from the kernel control app that you are using here.

by default the kernel does not overclock the cpu or change the voltage (see in the op).

also some malfunctioning apps could cause "overheating". btw: what do you mean when you say overheating? your always protected by built in throttling!
[G2 Android Development (D802)] suhiiii:
Lattest kernel is running very good,antutu and quadrant seems to be the same ,more consistant in lattest version, and I see some improvments in geekbench 3,givig rly better scores. My temp is round 40C
[G2 Android Development (D802)] htcm7:
Dear Mr. g.lewarne,

Please take a look my new edited post, there is something strange with CPU speed reported by Antutu, thanks.
[G2 Android Development (D802)] g.lewarne:
Not a clue, mine reports correctly
[G2 Android Development (D802)] suhiiii:
No problem here .
[G2 Android Development (D802)] screenager:
most likely you accidently or on purpose limited the max cpu freq?!
[G2 Android Development (D802)] chronicfathead:
Could it be down to different 802 versions? I'm sure there are at least a couple, and I recall reading about it in wootevers thread.

Edit: I've rebooted multiple times and flashed several times. No issues here.....yet.
[G2 Android Development (D802)] mandroid717:
I am running 2 xposed mods.
[G2 Android Development (D802)] g.lewarne:
hmmmm. i suppose there is a possibility it could be that, can anyone else confirm if this causes them issue?
[G2 Android Development (D802)] atsfrnd:
no issues yet and running StockMOD v 1.02 on D802b..

but i do confirm that the first boot will get you into bootloop..

turn off the phone completely then go to recovery and reboot from there.. the second boot should be fine

i am also running an xposed module (gravitybox) and LMT launcher at boot.. no hiccups at all
[G2 Android Development (D802)] g.lewarne:
Now that is interesting. I will look into that thankyou
[G2 Android Development (D802)] bervin:
Is it possible to provide a stock kernel zip to flash in the event of a bootloop for those that face this issue?
[G2 Android Development (D802)] Markyiptw:
Working fine with xposed framework and g2 xposed installed. Thanks!
[G2 Android Development (D802)] Scorbion:
Got best score i have ever seen with 3dmark. Using ur rom and kernel. Thank you.
[G2 Android Development (D802)] jojoku:
no bootloop and work fine with CleanRom XE 2.0 + Xposed (Xblast tools,App Setting,Xposed LG G2), thx dev :)
[G2 Android Development (D802)] Scorbion:
Undervolting below 800v return values to 800, even though stock values were 775v @ 300mhz.

أرسلت من LG-D802 بإستخدام تاباتلك
[G2 Android Development (D802)] boyoboyo:
What partitions the .zip flash changes? /system only?
[G2 Android Development (D802)] :
Hi,

Yes I can't go below 800mV too the values are reset, and according to my pvs_bin (pvs_bin 2), here my stock voltage table:

And is it normal that I see some extra CPU freqs in the voltage table (and you can also see your voltage table)?:

But I can't see them in the CPU freqs table?:

Not an issue, I just wondering why.

Other than that all is running flawlessly, perfectly smooth (even XDA App is smooth and performances in benchs are better than stock, about 36 000 in Antutu and about 20 900 in Quadrant (for what it worth :D)). For me Ondemand governor (tweaked a little for "performance") and SIO i/o scheduler is the perfect combo.

Maybe a bit too early to judge the battery life but it seems perfect (like the build tests :cool:).

Nice job ;)

It's weird these bootloops on some devices..., no issues here :confused:

:)
[G2 Android Development (D802)] widezu69:
I installed this and got a boot loop. I booted back into recovery and I flashed the kernel again and it booted fine. I can not use faux123 to control different aspects. I especially like the addition of Simple GPU Governor :)
[G2 Android Development (D802)] g.lewarne:
I will check out the voltage mapping in the regulator files and see what is up with that. It is odd but not something I have not seen before. In fact reminds me of a missing frequencies problem from the note 1 hydracore days......interesting.

I'm very glad the general consensus is you all are liking the kernel. Thabkyou :). A small update may be released tomorrow with some more internal foxes etc.....
[G2 Android Development (D802)] hamad138:
Finally we have some lg g2 kernels! keep updating and improving:cowboy:
[G2 Android Development (D802)] g.lewarne:
V1.01 released!

Changelog in OP. usual download location

amongst other things, have reduced the minimum user configurable CPU voltage to 700mv (fixes the reset to 800mv problem)
[G2 Android Development (D802)] mandroid717:
installed v1.01. reboots fine. yes it must have been a bad download. do you recommend ondemand or performance govenor?
[G2 Android Development (D802)] g.lewarne:
On demand by far ! Performance can suck battery dry....
[G2 Android Development (D802)] :
Hi,

Yes Ondemand governor (you can tweak it a little for better performance or better battery life), Performance governor keeps the max CPU freq all the time, there is no scaling freqs (use it for a bench if you want but...) :p

Interactive is not bad too but it seems it spends much time at the higher CPU freq due to the highspeed_freq set to 2.26 Ghz. You can also tweak it or at least decrease this value for Interactive governor so it spends less time at 2.26 Ghz according to the CPU load (and other factors).

The Ondemand and Interactive governors are tweakable, you need to do some tests with different settings to find the best settings that suits your needs (better battery life vs better performance). But if you don't have the patience or if you don't like to tweak the kernel, Ondemand is the best in my opinion.

:)
[G2 Android Development (D802)] nayak.aj:
I am currently on the first release, and it is stable! Rayglobe 2.6 Rom - D802. I usually tweak settings to maintain a balance between performance and battery life but with the initial release i found that my Antutu scores dropped a tiny bit as compared to stock kernel on multiple tests (>500), Battery life was still great!

It is of course, small variations in benchmark scores are not noticeable for human usage .

Sio - On Demand has been my combo of choice for almost 3 years. a great balance of battery life and performance , IMO.

No Complaints, Just happy to see an LG Stock ROM Kernel around!
[G2 Android Development (D802)] g.lewarne:
Could be an init.d script or kernel tweak app you have running ?
[G2 Android Development (D802)] Ropb:
Hey lewarne,

thanks so far,

can i flash your kernel with your ROM: ROM][Stock][LG-G2 D802 international] StockMOD rom, Fast, Fluid, Lagfree - v1.06

any experiance if it runs stable with this combination (kernel and rom)?

greetz
[G2 Android Development (D802)] g.lewarne:
Uh, yea ?
[G2 Android Development (D802)] suhiiii:
He is testing kernel with his own rom :D so you are safe to flash it :D It's stable
[G2 Android Development (D802)] :
Hi,

Of course you can flash this kernel wit this rom, no issues here.

:)

Edited my post, misreading...