yashsingh1/xdaforums huggingface dataset:
[G2 Android Development (D802)] nic85:
[MENTION=1768899]g.lewarne[/MENTION]

great kernel :)

why don't you make two different versions? one for battery life and one for performance? and why not one between the two? so people can choose what they need :good:
[G2 Android Development (D802)] waleedshiekh:
+1
[G2 Android Development (D802)] g.lewarne:
Who says you cant have performance with battery life?. Is it really so dramatic perhaps losing 15 minutes of screen time if you lose some performance?

Anyway i dont want to maintain more than one, and the stock governor settings have been posted.if you want to find your own middleground
[G2 Android Development (D802)] bigup7:
what your temps like on 3.0 guys?

using trickstermod built in temperature gauge

idle im at around 36c

after antutu 59c then goes back down to 40C

seem ok?
[G2 Android Development (D802)] g.lewarne:
yes that is normal

the SoC thermal limit is over 110 degrees centigrade. Overheating happens at the point the plastic starts melting, which is before the cpu has reached its thermal limit. If phone isn't melting it isn't overheating :p
[G2 Android Development (D802)] bigup7:
phew!!!!

thanks mate :)
[G2 Android Development (D802)] noppoer2:
2.60 is smoother, i miss the 2.60 performance ;(
[G2 Android Development (D802)] nic85:
3.0 the smoothest for me
[G2 Android Development (D802)] ChrisM75:
Anyone else think that touch response is now slower? Scrolling is smooth, but the actual response to finger movement seems quite slow.
[G2 Android Development (D802)] g.lewarne:
Scrolling xda is way better for me than before
[G2 Android Development (D802)] nic85:
xda and Facebook are smooth now
[G2 Android Development (D802)] ChrisM75:
I mean the screen response, not scrolling smoothness. Its how far behind your finger the screen is. On 2.60 it was almost zero, with 3.0 I can easily leave the screen behind.
[G2 Android Development (D802)] suhiiii:
Everything ok here too,battery seems very good,will post SS tomorrow.
[G2 Android Development (D802)] g.lewarne:
In a word, nope. Finger response seems normal. What rom are you using ?
[G2 Android Development (D802)] Kroutnuk:
You can put the link in first post, I will keep it alive.

I have no problems with touchscreen.

Envoyé de mon LG-D802 en utilisant Tapatalk
[G2 Android Development (D802)] g.lewarne:
done! thanks :), much appreciated:good:
[G2 Android Development (D802)] Kroutnuk:
You're welcome, people will have the choice to choose which kernel suits best their G2

Envoyé de mon LG-D802 en utilisant Tapatalk
[G2 Android Development (D802)] DaveHTC200:
As usual another great update!! Thanks :thumbup:
[G2 Android Development (D802)] RegMaster:
Camera 4.3.1 or any mods crash with kernel v3.00 :crying::crying:
[G2 Android Development (D802)] g.lewarne:
? Not sure what you are referring to
[G2 Android Development (D802)] metalboy94:
He's probably talking about the alternate camera apps floating around here. Can't talk about that as I use the stock camera app, which works fine.
[G2 Android Development (D802)] g.lewarne:
Ah. Personally i have no real interest to even look into that as its not really stock, which as you say works fine. Unless many people want it, but there are an awful lot of camera changes on the caf and cm repos for that which will likely be a real ball ache. k
[G2 Android Development (D802)] thanhpost:
sorry, i'm new on G2. Is that kernel flash on rooted mobile or not ?
[G2 Android Development (D802)] javahuan:
Thank you for your ROM and Kernel! ( I use both of them :D )

Im happy to using your ROM, Kernel v2.20 with LG Camera 4.3.1, but when i flashed v3 , Camera broken (said "Cannot connect to camera"), the strange thing is even i flash back v2.20 (wipe cache and D. cache) the Camera still not get back....

I know you are talking about you are not going to support any not really stock things, but i just thinking why even i go back to v2.20 , that still not working:confused: (I have tried reflash all the thing in step by step, Camera mod > Kernel v2.20 > wipe cache > reboot > wipe app cache)

Java
[G2 Android Development (D802)] g.lewarne:
I beleive for that issue you have to wipe the camera apps cache and data
[G2 Android Development (D802)] javahuan:
Already wipe camera cache and data, no luck....anyway i restored with boot, cache and system partition to get back my Camera. Thank you!
[G2 Android Development (D802)] spiderio:
i want to learn more about kernel

what is toolchain??

why people (dev) prefer linaro toolchain over google?

sorry if this question is at the wrong thread...
[G2 Android Development (D802)] htcm7:
Here is the link to original stock kernel, in case someone needed :

https://www.dropbox.com/s/m08nzkhlfqz6m07/Restore_D802_10b_original_kernel.zip
[G2 Android Development (D802)] :
Hi,

Thanks, anyway it is in the second post from the OP... :D

The issue with the camera is caused by this: http://xdaforums.com/showthread.php?t=2548974 (and mostly to the \system\vendor\lib files) .

I tested and the camera is broken, the dev is aware of it, then I tested the stock camera (I mean with the original files from \system\vendor\lib) and it works just fine. So nothing related to the kernel.

:)
[G2 Android Development (D802)] RegMaster:
I was wrong, the kernel is perfect, all problems come from camera mod.
[G2 Android Development (D802)] :
g.lewarne, as always I follow your GitHub with interest, it made ​​me laugh:

:laugh:

If you want a tester for v3.01 with Linaro stuff... I'm here! ;)
[G2 Android Development (D802)] spiderio:
what apps is ideal for undervolt with this kernel?
[G2 Android Development (D802)] doctor78SI:
Trickster app on google play store will do the trick. You need to have rooted phone.
[G2 Android Development (D802)] g.lewarne:
Lol. I only have a dual core laptop, compiling takes a long time so anything that cuts it down.....

Anyways, 3.01 on git is basically 3.00 with a more refined way of setting your ondemand tweaks.
[G2 Android Development (D802)] suhiiii:
[MENTION=1768899]g.lewarne[/MENTION] Here is mine review for first charge :D

Temp in normal usage are between 30-40 C. Didn't play games yet. Will report FPS latter,but probably is better.

Everything is smooth and battery is amazing,think this is best battery so far,SS in attachments. I will get 4h probably but benchmarks :D

I only noticed lower score in 3dmark ,on last verstion I was reaching 18000,now only 16000.. ( not big deal,just repord) and geekbench 3 got highest score so far.

Keep up good work :D

P.S. Stock (viking) ondemand and -50 UV on benchmarks and everything else :D

P.S.2. I only use wifi,3g off... And I don't know is it normaln,but over night I am loosing like 1h = 1% battery,wifi on

EDIT 3: seems I got speedy for quadrant ,It scored 18000.. so dropdown of 2000 points on quadrant and 3dmark,probably some changes cuz thath, Dunno for other,maybe they got same :D
[G2 Android Development (D802)] g.lewarne:
Thankyou ! Always good to hear. 3dmark is weird, i got an 18600 just now then back to 16000 straight after it doesnt seem as consistent as say, antutu.

That sort of battery drain overnight with wifi on is normal as you say, but always wort remembering that im aiming for performance over battery
[G2 Android Development (D802)] g.lewarne:
Quadrant is not a consistent benchmark and scores are squewed by literally anything running in background. As long as the average over say 5 runs is approx 20500 your all good
[G2 Android Development (D802)] suhiiii:
No problemo :D I am rly happy with this battery ,without benchmarks probably 8h on screen time without gaming and 30h stand by time,who needs more :D
[G2 Android Development (D802)] metalboy94:
I can actually feel lower battery life, especially when gaming a lot (today I played a lot of Candy Crush Saga, which for some reason keeps the CPU around its maximum frequency and produces quite a bit of heat on every single kernel version, even the stock one...). I will revert the CPU parameters to their stock values and/or tweak them further.

By the way, I regularly get around 0.5%/h overnight battery drain, with wifi on. Takes some sync settings tweaking but the result is pleasing.
[G2 Android Development (D802)] suhiiii:
I tested asphalt 8 now,played it for 22min Fps on high details is around 23-25 ,on medium around 30 ( average ) ..seems ok,with full viking ondemand tweaks probably more 3-4 fps. I lose about 10% battery for 22min of play and temp was arround 56C when I closed game .
[G2 Android Development (D802)] g.lewarne:
Those temps abd power consumption seem about right for that when compared to my phone
[G2 Android Development (D802)] g.lewarne:
I meant to ask you o'Tweak master,

Settled on any good vm settings yet ?
[G2 Android Development (D802)] suhiiii:
Yep,on last version temp was reaching 67-70C.
[G2 Android Development (D802)] :
:laugh::p, ironic/sarcastic? :D

Right now I can't tell you exactly because I'm always in testing phase (and yes when you play with kernel/CPU/memory tweaks it takes many days before arriving at a conclusion+all the possible combinations as some values don't play nice with others... :p) ...:D

An idea of what I use currently:

-vm.dirty_background_ratio=40 (or 60 like your previous setting).

-vm.dirty_ratio=90 (or 95, even 99 but it seems counter productive at 99).

-vm.dirty_expire_centisecs=1000

-vm.dirty_writeback_centisecs=800

-vm.min_free_kbytes=4096

-vm.vfs_cache_pressure=25 (like your previous setting).

-vm.swappiness= untouched for now. Hum... If I remember right I tested a value of 10 without real issues, not sure... Yep, right now I set to 10... Let's see.

-vm.drop_caches= untouched for now because it seems to give... bad multitasking witha value of 3.

But it needs some adjustments... because in different situations you could encounter some lags...

Nothing revolutionary and I honestly hesitate to post these settings because it's not perfect yet... :(

And for the bench lovers, take care that some settings could cause about 500/800 points less in Antutu for example..., but you could have a gain in smoothess...

And for those who want to test, it's not in 1 hour that you'll see any improvment/side effect/inconvenience/weird behavior, it needs some days and adjustments to see or not any changes... So if you test them, don't report lags after 20 minutes...

Also don't report lags caused by the kernel if you have changed some settings, this kernel is smooth out of the box...

You can play also with the oom settings (these settings are from LG, right?, Because they seems high for me and if I'm not wrong they are not the stock Android values :confused:) :D

For those who want to know what is it for... Google -> Linux documentation -> VM management/settings :D

That being said, test, report or share your own settings, only for the users who like tweaking :good:

But I agree that sometimes nothing is better than the stock Android settings...

:)
[G2 Android Development (D802)] g.lewarne:
I see you are about to get your nexus 5.

Traitor :p
[G2 Android Development (D802)] :
:D

But I keep my G2 ;), I'll stay with you :laugh:

I had the Samsung Galaxy nexus, Nexus 4... so the Nexus 5 is in the continuation :p

In any case the G2 is an awesome device!
[G2 Android Development (D802)] thaimeobeo1410:
yeah, G2 is GOD of balance, with performance - battery life - design - display is Perfect ( compare with Galaxy S4- Note 3, Z1 and Nexus 5)

i'm falling in love with design of Z1, but unhappy with Z1 because very poor viewing angle ( look like Display of Cheap-devices) & battery life is not good ( same battery with G2 - but poor real time usage )

...and Nexus 5 - every ok except Battery !
[G2 Android Development (D802)] g.lewarne:
back on topic,

been fiddling with VM settings again and have settled on some very similar numbers to yours. Havent had a home screen redraw in quite a while with them, keeps things smooth and silky.

Dont care if benchmarks are a tad lower, in real life its much better!
[G2 Android Development (D802)] suhiiii:
[MENTION=1768899]g.lewarne[/MENTION] I am kernel noob ,so I don't know is there any in common with g2 and n5 kernels,but you can check lattest franco kernel,I saw on n5 forums thath they get like 1% battery = 8h stand by time over night ,maybe you can find something usefull.
[G2 Android Development (D802)] :
Yep, end of OT... :p

Same here, no redraws or anything and it's smooth too in general UI (yep benchs blabla blabla :laugh:) but I try too find a good balance between smooth(er) UI-multitasking/benchs.

Obviously the first goal is the overall experience in UI, after that since I like benchs (and no, I am not ashamed :D) I try to tweak the stuff in this way: performance in bench..., but without sacrificing the general UI because I don't want to change my VM settings 10 time a day, once for daily use and another for benchs and so on :p

It's about the oom settings that I want to try something, like 90/60, etc... because 160/128, etc... It seems too high for me, but who knows? If LG set the oom values as it is, maybe there's a reason :confused:
[G2 Android Development (D802)] tysklai:
I woke up today with 100% battery , wifi on about 8 hrs, with kernel v2.20:)
[G2 Android Development (D802)] sahidmiah:
Did you have wifi sleep option on
[G2 Android Development (D802)] praveen6585:
what kind of sorcery is this?? 9 hours over night and lost 1 percent.. and everything was syncing as usual on 3G.. whatsapp, gmail and my office email.. unbelievable
[G2 Android Development (D802)] onim21:
Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development (D802)] spiderio:
what is your settings??

may I know your settings?
[G2 Android Development (D802)] metalboy94:
Imho that's actually because of the longer transition of the meter from 100% to 99. As a perspective, i went from 89 to 87 with wifi on last night.
[G2 Android Development (D802)] LittleH79:
That's what you get when you're hitting the sweet spot with your setup in combination with a good rom and excellent kernel :D
[G2 Android Development (D802)] DaveHTC200:
I agree, battery usage should be show after 100%, not to take anything away from the kernel!
[G2 Android Development (D802)] praveen6585:
all stock settings.. battery results at 50% after normal day of usage (lots of whatsapp and net over 3G which is usually battery draining).. at this rate I'll get 5+ hours screen on time with the super smoothness settings by Viking.. couldn't be happier with the kernel :)
[G2 Android Development (D802)] Kaboosey:
StockMOD ROM + StockMOD KERNEL! Amazing performance and battery life!!
[G2 Android Development (D802)] libertine99:
damn, cant you send your kernelsources to lg for enabling them to sell a proper phone next time?

hilarious work, 1000 thanks, sir
[G2 Android Development (D802)] Pouic:
V3.00 installed, battery drain is near perfect, about 0.2%/h overnight

UV -50mV on all frequencies : Idle temp very good ~25°c (ambient 20°) but load temp is reaching 80-85° in Antutu test 3 (cpu float performance) and 70° in Antutu 3d tests, a little bit too hot don't you think ? (35k points with ondemand governor + sio(1024))

Will future kernel versions add the intelidemand governor ?
[G2 Android Development (D802)] g.lewarne:
nope, not too hot, well within limits.
[G2 Android Development (D802)] g.lewarne:
BETA KERNEL v3.01

OK this is an experimental build i would like some feedback on

Changes:

- Increased maximum GPU frequency to 550mhz

- Duplicate GPU frequency steps removed

- GPU now scales at 200, 320, 389, 450, 550 MHz steps

- Reduced a cpu DMA latency

- Reduced OnDemand CPU governor minimum configurable sample rate to 5000

- Modified OnDemand CPU governor tweaks: 7000 sample, 30 upthreshold, 30 down differential

- VM Memory Tweaks - 800 dirty expire centisecs, 85 dirty ratio, 70 dirty background ratio, 25 vfs cache pressure

- More refined method of setting the system tweaks, is now a script contained on the ramdisk

- Slightly reduced panel voltage to save a bit of battery when screen on, to offset slightly higher GPU consumption at 550mhz

Im interested mostly in performance / battery comparisons with v3.00 which we know is good.
[G2 Android Development (D802)] dukat0s:
Ty G.lewarne i just pm you to ask this and u allready did it.any cpu oc ?:p
[G2 Android Development (D802)] g.lewarne:
Maybe in update or two but it wont be a big oc, just extra couple steps perhaps
[G2 Android Development (D802)] dukat0s:
Ty for giving us that choice.2419 is.enough =) thanks again i allready test it
[G2 Android Development (D802)] micr0g:
Hello there,i'm trying to download the beta kernel but it download a file that is 164kb only.
[G2 Android Development (D802)] g.lewarne:
It is fixed now, same link in the earlier post
[G2 Android Development (D802)] micr0g:
Thank you g.lewarne.

i have noob question if someone can help me

What about MP-Decision,everytime i install new version of the kernel i see it enabled.

I switch-off this option everytime,it's ok or i have to keep it enabled?
[G2 Android Development (D802)] g.lewarne:
You should keep it enabled
[G2 Android Development (D802)] :
Hi guys,

It seems a great update maybe more oriented on performance side? I like :), downloaded and I will flash during the night... , too busy with my Nexus 5 for now :p :D

Feedback tomorrow... ;)

As always thank you :thumbup:
[G2 Android Development (D802)] dukat0s:
Any app recomended so i can check the gpu ?;)
[G2 Android Development (D802)] zekurosu:
currently running ROM StockMOD 1.06 with kernel StockMOD 3.0

everything is super smooth but battery suffers a bit in comparison to PA 4.0 by houstonn...

downloading 3.01 kernel to test it out :good:

and thanks [MENTION=1768899]g.lewarne[/MENTION] for the development
[G2 Android Development (D802)] :
Hi,

Since Trickster Mod is not compatible yet (no support for Adreno 330 for now), so try Faux kernel control app: https://play.google.com/store/apps/details?id=com.teamkang.fauxclock

:)
[G2 Android Development (D802)] dukat0s:
Ty i almost forgot this :p
[G2 Android Development (D802)] htcm7:
Hi guys,

Just installed Xposed Framework on Stock Mod 1.06 + Stock Kernel 2.20, but it is not working.

May be you can advise me, is this ROM or Kernel compatible with Xposed Framework?

Thanks in advance.

EDIT :

Reinstall again Xposed and now seem working, maybe, I skip installation steps.
[G2 Android Development (D802)] cruzargel:
No conflicts for me.
[G2 Android Development (D802)] bigup7:
Went to bed at 11pm at 70%, woke up at 7.15am battery at 68%

Using v3 kernel, location using cellular is on, gmail sync on, google now off , alarm om

Pretty impressive
[G2 Android Development (D802)] libertine99:
for me, down differentials is 3 in expbuild
[G2 Android Development (D802)] zekurosu:
seems like the beta 3.01 is a lil bit smoother & faster.. maybe a placebo maybe not
[G2 Android Development (D802)] suhiiii:
same here

First impressions: Games are better atleast asphalt 8,better fps,but phone heats more,benchmarks are noticably lower,but will check everyhting i a 2-3h when it sattle down,just flashed it :D
[G2 Android Development (D802)] :
Hi,

Flashed the Beta version without issues.

For the down_differential setting, set the value on 10 then apply, exit Trickster Mod, close the app then power off the screen. Go back in Trickster mod and set 30 to down_differential... it works :victory::)

If you set it directly to 30 it won't work for any reason :eek:

But I don't think the GPU overclock works :confused:

Because in /sys/class/kgsl/kgsl-3d0/max_gpuclk it's always 450 Mhz...

And same thing in /sys/devices/fdb00000.qcom,kgsl-3d0/kgsl/kgsl-3d0/max_gpuclk.

I tried to set the 550 Mhz freq via terminal or directly via the paths above, the freq is reset to 450 Mhz...

Other than that it runs flawlessly ;)

:)
[G2 Android Development (D802)] suhiiii:
When I try to set to 30 ,it reset to 10 :D xD
[G2 Android Development (D802)] dukat0s:
D802 beast

yeah i can confirm [MENTION=2920816]viking37[/MENTION] :) Gpu revert to 450 and also the down_differential ! :)

no other bugs .everything run great =)
[G2 Android Development (D802)] :
Even by trying this:

Try with another value for the first step, try 5 or 15 and follow the trick...

It works for me and dukat0s, weird...
[G2 Android Development (D802)] suhiiii:
Failed :/ always reset to first vaule 3 ,5 or 15.. and I did UV ,set on boot,reboot ,but settings reseted to default :rolleyes:
[G2 Android Development (D802)] :
Hum :confused:

So I'm sorry I don't know why it works for me and not for you :(
[G2 Android Development (D802)] suhiiii:
After phone sattle little bit :D Benchmarks scores are ok now,antutu 36000+, quadrant 20000+,3d mark almost 18000 ..( UV -50, temp 29 30C on running tests)

Aphalt 8 have better fps now ,maybe like 4-6 more average fps,but seems phone is little bit hot, ( 65-70C) ,will test this one more time

Overall speed is better ,think some apps launhcing faster now ,maybe placebo,but probably not :D

RAM = on last version when I use a few apps and clear all apps from memory,ammount of free ram was between 700-900,now I always get 900+ free :D

For batter dunno,will report latter today,needs more testing :D

Only problem so far is trickster wont stick values after reboot ,and can't change down differential to 30
[G2 Android Development (D802)] screenager:
the power led around the power button is not working for me anymore since i updated to 3.0 - anyone have the same issue?
[G2 Android Development (D802)] g.lewarne:
Can you try clearing trickster apps cache and data ? Im settibg the down differential directly withan echo 30 >blahblah

Also according to my install of faux kernel app my gpu is scaling to 550 ? Weird
[G2 Android Development (D802)] robogo1982:
The battery drained somewhat faster than on 2.06 with identical apps and everything and there was at least one soft reboot during the night that I know about :/ back to 2.06 for the time being.
[G2 Android Development (D802)] g.lewarne:
Nope, mine is workibg normally. Lights up on phone call, notification and when i lock the screen
[G2 Android Development (D802)] eddytheman:
For me V 3.0 battery drain fast don't know why and android system use up to 40% so I decided to flash back to V 2.20 battery seem a lot better,and now I'm on V 3.01 beta everything is good less battery drain and fast as hell...Will test some more...Thank you for awesome kernel sir :D
[G2 Android Development (D802)] suhiiii:
Cleared cache and data and again nothing, I can set it to any value bellow 30 ,and it stick,when set to 30,after appling it revert to previeus value,like 29 and bellow

---------- Post added at 11:51 AM ---------- Previous post was at 11:48 AM ----------

Probably rom related ,try to wipe cache after flashing kernel,3.0 have awesome batter for all I think :D
[G2 Android Development (D802)] dukat0s:
d802

mine working good as well . [MENTION=1768899]g.lewarne[/MENTION] troo i use faux now and seems 550 sticks :) !
[G2 Android Development (D802)] suhiiii:
Probably because trickster is not optimised for adreno 330 gpu
[G2 Android Development (D802)] g.lewarne:
ok, lets take this one step at a time.

Please try v3.01 Beta 2, attached.

Exactly the same as the last one, but *might* fix the gpu scaling up to 550mhz

(noticed in the sources LG configured the gpu to jump 2 steps instead of 1 per ramp-up)

If that does not sort that, ill drop the GPU overclock untill i can investigate more
[G2 Android Development (D802)] eddytheman:
Maybe but I use stock rom and no mod or tweak here also every time I flashed kernel I do wipe cache/davik not sure what is the problem because V 2.20 work flawlessly for me except tha speed can't compare with V 3.0 that's all...Anyway all good here with beta version :D
[G2 Android Development (D802)] g.lewarne:
there are no references to a mximum value of ondemand down_differential, so it is possible that it changing to different values might also be a trickster mod bug.

Try this to confirm (i dont use trickster)

uninstall trickster, delete any profiles etc, get rid of it.

Reboot phone

Load terminal emulator, and type in this

cat /sys/devices/system/cpu/cpufreq/ondemand/down_differential

if it returns "30" then it is working proerly and trickster has a bug :good: