yashsingh1/xdaforums huggingface dataset:
[G2 Android Development (D802)] htcm7:
I don't use game with my phone, so don't have problems with GPU performance, but thanks anyway for the kernel.

Been using 2.20 for several days on single charge, kind of lost how many days it is, cause I rebooted phone for several times to install/ setup app.

Last time I checked on battery's log, it has been 77 hours with around 3,5 hour screen on and battery level is about 35%.

GSAM shows inaccurate reading, so don't know which app that sucks battery most.

I felt that this kernel give a couple hours more than stock kernel :good:
[G2 Android Development (D802)] ChrisM75:
2.50 beta is definitely smoother. I noticed jerkiness most of all in Newsstands news sources list, but its almost gone now.
[G2 Android Development (D802)] g.lewarne:
ok, v2.60 is now up

should fix the 3d gaming, firewall logging and weird performance issues you guys have talked about.

Details, link, yadda yadda all in OP :good:
[G2 Android Development (D802)] ChrisM75:
2.60 seems way jerkier than 2.50 beta.
[G2 Android Development (D802)] g.lewarne:
Not here...
[G2 Android Development (D802)] ChrisM75:
Might be a setting im using in Fauxclock, ill experiment.

---------- Post added at 04:31 PM ---------- Previous post was at 04:15 PM ----------

Switching to Interactive from Ondemand seems to have fixed that.
[G2 Android Development (D802)] UnskilledOne:
Hi, am a relatively new user of the G2 here. Just so I don't panic if I ever encounter a bootloop, I just want to ask, i should do a full backup then flash the kernel, followed by a reboot without a wipe of any kind? And If I do go into a bootloop for whatever reason, I'll just flash the stock kernel posted right?
[G2 Android Development (D802)] :
Hi,

Yes, make a Nandroid backup just in case...

You don't need to wipe anything (not even cache partition/dalvik cache as they have nothing to do with the kernel), just flash, reboot and profit :D

And yes the stock kernel can help in case of a bootloop.

:)
[G2 Android Development (D802)] nic85:
downloading now thanks!
[G2 Android Development (D802)] sahidmiah:
Can some one give me a stock kernel. For g2 802 model,

Software. 10a

Thanks
[G2 Android Development (D802)] :
Hi,

The one in the second post (10b) works perfectly with 10a rom (I tested) ;)
[G2 Android Development (D802)] nic85:
dat smoothness :D
[G2 Android Development (D802)] :
EDIT: sahidmiah, but if you prefer, here's in attachment the stock 10a kernel.

Thanks to g.lewarne for the original zip file ;)

:)
[G2 Android Development (D802)] noppoer2:
[MENTION=1768899]g.lewarne[/MENTION]

Send a really small donation (dont have more money on my paypal). If i have more money to donate i will donate it so soon as possible :D

Confirmation number: 70081127131154126
[G2 Android Development (D802)] g.lewarne:
bless you :) appreciate it, but never necessary.

Ill put it toward my leather case fund :D
[G2 Android Development (D802)] g.lewarne:
did you remember to swap the modules?

Also, to clear this in my head, this kernel also works on "10a" phones without issues?
[G2 Android Development (D802)] :
****, the modules :laugh:, I do and I reupload, thanks ;)

Yes it works:

But in case some people want the stock10a..

:)

EDIT: ok done, stock kernel 10a with the correct modules reuploaded :laugh:: http://xdaforums.com/showpost.php?p=48000071&postcount=508.
[G2 Android Development (D802)] sahidmiah:
Thanks mate
[G2 Android Development (D802)] :
g.lewarne, same issue with VM, all is reset after boot (even with init.d and sysctl.conf)...

Other than that... It's smooth :eek::laugh:, it runs flawlessly :good:.

:)
[G2 Android Development (D802)] kpyhere:
The CPU seems to be overheating again with this build
[G2 Android Development (D802)] :
Hi,

Not here... let the kernel settle a little... And what you mean by "overheating", can you provide your CPU temperature when in idle and when in use (depending of what you are doing)?

:)
[G2 Android Development (D802)] kpyhere:
The temp stays at about 50 degrees in idle, with tapatalk open.

After boot, the CPU temp is 79-80 degrees
[G2 Android Development (D802)] :
:eek::confused:, yeah something is wrong/weird with your CPU temperatures...

Mine is at 26/28 °C in idle...

After boot it's normal that it is "hot" but not at these temperatures, mine is at about 60 °C...

You have not changed any settings? Check your min CPU freq... Or there is something that keeps your CPU at a maximum load...
[G2 Android Development (D802)] g.lewarne:
Yup mine too, all bormal. Also the code that cause the cpu issue from before is not in this
[G2 Android Development (D802)] UnskilledOne:
Hi, I've flashed this kernel and used trickstermod to set the governor and everything. Just curious is ondemand better or interactive? And also the read ahead buffer how much did you guys apply to those?
[G2 Android Development (D802)] nic85:
idle 43 degrees :(
[G2 Android Development (D802)] tysklai:
I got overheat too via web-browsing only
[G2 Android Development (D802)] g.lewarne:
Wipe caches and reboot. Because, all fine here !
[G2 Android Development (D802)] onim21:
I have 39 dg C after in indle, but battery sword very fast for me... 2% for 1hr in indle with google sync on.
[G2 Android Development (D802)] kpyhere:
Did that and the issue is still present
[G2 Android Development (D802)] suhiiii:
No overheating here, but asphalt 8 still got thath problem ,cant start it ,and battery seems like draining more,not much but noticable.

EDIT: I will report battery tomorrow
[G2 Android Development (D802)] bigup7:
Using latest kernel and stock mod rom

Idle 24c, just ran antutu and max it reached is 29.4c

After quadrant max 31c
[G2 Android Development (D802)] assdeadmtal:
I installed the original kernel for rom 10a, and game asphalt 8 is still freeze. It's seem not kernel cause it. Does anyone has the same problem? anyone have idea how to fix it?
[G2 Android Development (D802)] bigup7:
Just noticed in bbs bam_dmux_wakelock is up to 22min, (6hours on battery since charging)

First time I've seen this wakelock and haven't used Bluetooth today at all.

Any ideas ?
[G2 Android Development (D802)] g.lewarne:
Nope i dowbloaded the game and been playing it fine.
[G2 Android Development (D802)] assdeadmtal:
It running a few times then freeze. However I don't think it cause by your kernel (I reflash original kernel and it's the same problem)
[G2 Android Development (D802)] onim21:
http://youtu.be/9AmYNSx9ItM , no freeze, rayglobe 3.2
[G2 Android Development (D802)] assdeadmtal:
Same problem here.
[G2 Android Development (D802)] dukat0s:
Everything.fine in new update i still get decent 7+screen time but again this wakelock bam_dmux wakelock :$
[G2 Android Development (D802)] g.lewarne:
Which rom you using ? Mine is normal
[G2 Android Development (D802)] nic85:
same here
[G2 Android Development (D802)] quachhanthanh:
Are u using your kernel with your rom?
[G2 Android Development (D802)] dukat0s:
Hmmm i m on rayglobe 3.2 .

Edit: i put it in airplane mode and its gone now,now.wakelock anymore strange
[G2 Android Development (D802)] robogo1982:
Isn't that a wakelock connected with wifi power saving? Try unchecking that option in wifi settings and see if it will happen again.
[G2 Android Development (D802)] bigup7:
That wake lock is to do with background data.

So something is still using data whilst phone is sleeping.

One 20+ min for me. Will monitor it

With latest kernel I went to bed at 65% and woke up at 57% battery

I've had 0% battery drain over night before. Can't remember which one of your kernels it was Lol.

Thanks
[G2 Android Development (D802)] LenAsh:
To be clear (rather than vague): In Airplane mode? What does "over night" mean in time?

I usually get 1% drop in Airplane mode in 7 hours. I usually get approx 1% per hour drop with full sync in silent + Alarm over a similar period. Perfectly acceptable and expected.
[G2 Android Development (D802)] bigup7:
Overnight is approx 7 hours and not in airplane mode, with gmail sync

I've reverted back to stock kernel now to compare today.
[G2 Android Development (D802)] :
Hi,

For the benchmark lovers (if there are some :confused::D) and it changes the discussion about the battery life :D :laugh:

This 2.60 runs great (smooth and fast, etc...) and performs well in bench, no decrease in score:

I started the bench at a 28 °C idle temperature.

I had a 36 200 score this night but I haven't tooke a screenshot thinking that I could do better :laugh:

Always the same settings as before:

g.lewarne's rom.

Ondemand governor (tweaked a little).

SIO i/o scheduler.

:)
[G2 Android Development (D802)] LenAsh:
Sounds right then. In airplane mode I get 98% deep sleep in 7 hours, syncing without Wifi (and syncing email/exchange/GMail/Location/Weather/News/Twitter) I get about 92% - varies with network signal.
[G2 Android Development (D802)] -Jesco-:
share your settings ?
[G2 Android Development (D802)] :
Hi,

With pleasure...:

My Ondemand settings (not for battery saving, more oriented for "performance"):

For SIO i/o scheduler I set iostats to 0, nomerges to 1, fifo_batch to 16 and writes_starved to 0. Deadline is good too in benchs.

And I'm curently testing some VM tweaks...

My main goal is smoothess, after benchs and battery life in last... :D

:)
[G2 Android Development (D802)] suhiiii:
[MENTION=2920816]viking37[/MENTION] Thath ondemand values are great :D tnx FPS in asphalt 8 increase :D Benchmark too :D

EDIT: Some benchmark SS ,lattest g.lewarne kernel, rayglobe 3.2, -50UV, viking ondemand tweaks .
[G2 Android Development (D802)] :
Hi,

You're welcome ;)

Glad to see I'm not completely wrong... :laugh:. In any case for me and for my use it seems good...

You can try also to set all the high_grid/middle_grid values to 0... :D

Don't forgot that my main goal is not the battery life so don't take these settings as the best settings for you...

:)
[G2 Android Development (D802)] htcm7:
How could you reach such low temp? Which ROM is it?

Mine, reading with Trickster mod, stock mod rom 1.06, bin 4, CPU temp on idle never lower than 36 C.
[G2 Android Development (D802)] nic85:
same here.. 36 idle
[G2 Android Development (D802)] :
Hi,

The rom I use is this one...: http://xdaforums.com/showthread.php?t=2505682.

g.lewarne reported a 24 °C idle CPU temp also...

Indoor (in my house and it is not 10°C :D) I have an idle CPU temp at 26/28°C, yes, and how? I don't know guys, sorry... Maybe some of you have an app/process running in background that uses some CPU ressources :confused:

You reported 36°C but after how long time in idle?
[G2 Android Development (D802)] nic85:
26/28 degrees in your room and 24 CPU idle? no way :) there's something with the thermal sensor of your phone LOL

btw stock ROM here.
[G2 Android Development (D802)] tysklai:
hum, this is weird, I also got high temp with the stock mod rom and 2.60, I did wipe caches
[G2 Android Development (D802)] :
Re,

Read my post again because it's not exactly what I said... Thanks.

:)
[G2 Android Development (D802)] micr0g:
Τhanks for sharing your settings,it's really smooth now:)
[G2 Android Development (D802)] pan466:
[MENTION=2920816]viking37[/MENTION]

hey viking aren't u the one from HTC one forum that we talked about up threshold on a kernel thread?
[G2 Android Development (D802)] suhiiii:
What its best app to use for monitor temp and cpu with good widget :D
[G2 Android Development (D802)] :
Hi,

Maybe :D, I think there is only one Viking37 and yes I had the HTC One :D

But I don't remember in particular something about this, why?

:)

I use System tuner Pro...

Until Trickster Mod have a widget...

There is also this app: Temp+CPU PRO.
[G2 Android Development (D802)] DaveHTC200:
There is cputemp in status bar if you used xposed :)
[G2 Android Development (D802)] thaimeobeo1410:
i'm sure v2.60 is "eating" battery than v2.20

I have two G2 ( black & white - d802) , problem in 2 devices
[G2 Android Development (D802)] RegMaster:
+1

2.06 & 2.20 was the best for battery
[G2 Android Development (D802)] emprize:
not sure for 2.06 but 2.6 is really drain much more than previous version
[G2 Android Development (D802)] suhiiii:
Ok,for everyone who got problems with ASPHALT 8 here is the solution . :D

Adaway kills the host that Asphalt tries to open, and waiting for it. You have to manually add *gameloft* to the Adaway whitelist, and everything will work.

Stupid problems xD
[G2 Android Development (D802)] metalboy94:
I'm actually seeing an improvement in battery life with 2.60 - about 30 minutes of extra screen time but it's there. Thanx! (Xda wont upload my screenshot)
[G2 Android Development (D802)] nic85:
I had better battery life with previous version... draining here..
[G2 Android Development (D802)] sahidmiah:
I m on a stock kernel, when i m playing real racing 3,it seems that it only uses 2 cores all the time.

is it normal? I think that's why the frame rate is low
[G2 Android Development (D802)] waleedshiekh:
I'm having great battery time with v2.60
[G2 Android Development (D802)] thaimeobeo1410:
yeah, v2.60 is draining my battery like you said. So i'm back to v2.20 - still good at this time with UV -50000; everythings else un-touch :angel:
[G2 Android Development (D802)] bigup7:
Is there a guide anywhere that explains how to under volt?

Like what app to use etc ? Is it simple as just setting the uv or do you need to set other options ?

Thanks.
[G2 Android Development (D802)] nic85:
just download trickster mod
[G2 Android Development (D802)] bigup7:
Thanks. Il check it out
[G2 Android Development (D802)] screenager:
first you should check wich cpu revision you have. type 3845#*802# and then settings-> version info under PVS bin. the higher your revision, the less voltage your cpu needs. this can be a first help. after that you simply test how low you can go without crashing the device. for stability test you can use antutu. for me it is pvs bin 3 and -62,50mv overall, -75mv on the lowest speeds.once you found stable settings you can check apply settings on reboot.
[G2 Android Development (D802)] bigup7:
Thanks.

Just checked and it says PVS Bin 0

Which part of trickster mod should I be changing these settings. ?
[G2 Android Development (D802)] screenager:
i think it is under kernel specifics
[G2 Android Development (D802)] quachhanthanh:
Can u upload v2.20 firmware? Thanks.
[G2 Android Development (D802)] robogo1982:
It's on the link in the OP.
[G2 Android Development (D802)] nic85:
i switch back to 2.20, had great battery life. with latest i have a bit of drain
[G2 Android Development (D802)] Pelide:
I see only 1 file into ftp folder

"kernel* (Back)

1 objects in this folder, 7.3*MB total."

Btw, battery drain also for me with 2.60

LG G2 D802

Ringraziate solo col tasto thanks ;)
[G2 Android Development (D802)] pageniao:
nice to see you bro:D

im come from note2core kernel:)
[G2 Android Development (D802)] waleedshiekh:
Extreme increment in battery life. Thanks a lot. Can you pease add Westwood in TCP congestion control?
[G2 Android Development (D802)] g.lewarne:
Sure, Westwood + congenstion control has been added to the defconfigs for v1.02 onwards which you may see tomorrow :good:
[G2 Android Development (D802)] thaimeobeo1410:
can you share your tweak for Ondemand governor ( about battery-life and performance )? i think it is the good for newbie like me.
[G2 Android Development (D802)] citytrader:
Can be possible to have the script with the original kernel in the case someone wants to restore the old one?
[G2 Android Development (D802)] Jishnu Sur™:
OP, why You no RC?? :eek: You deserve that for sure..
[G2 Android Development (D802)] :
Hi,

Yes, but my main goal is not battery life but "performance" so keep in mind that my settings are not for the average people who wants a better battery life. I have not a single lag (like in XDA App or G+ or in settings) and for my use my battery life is perfect. These settings are mine and those who suits my needs so maybe not for your use.

That being said maybe the stock settings for Ondemand governor are better for you, in any case you can take a look here to have an idea (first approach) on how to tweak the governors: http://xdaforums.com/showthread.php?t=1369817.

For my settings:

With these settings my CPU use almost three freqs: 300 Mhz, 1.26 Ghz and 2.26 Ghz. It almost don't scale to the other freqs spending the same time on each of these three frequency (even a little more at 2.26 Ghz).

I also tried middle_grid_step, middle_grid_load, high_grid_step and high_grid_load to 0 (since these settings are not in the "classic" or "old" Ondemand governor) but here there is no scaling at all.

Compare with the stock values and adjust them. Play mainly with down_differential, samplig_down_factor and up_threshold. In short increase the two first values and decrease the third.

For a first test for you you can try up_treshold set to 70 (60), sampling_down_factor to 5 and maybe sampling_rate to 40 000 (even if it will not make a big difference, try 20 000).

Use SIO or Deadline for the i/o scheduler.

But like I said don't take my settings as the perfect settings, you need to test by yourself to see...

:)
[G2 Android Development (D802)] thaimeobeo1410:
WOW, it very helpfull for me.. thank you ^^

and one Q more, it's about MP-Decision. Are you enable or disable it ?
[G2 Android Development (D802)] robogo1982:
Just got the phone yesterday, I'm off to flash CWM and then this! :D
[G2 Android Development (D802)] :
Re,

Leaves it enabled, without MpDecison you have not any other hotplug routine (with this kernel) so the 4 cores are always on...

:)
[G2 Android Development (D802)] g.lewarne:
Actually i was RC. But I left the forums for a while and when I came back title was removed. To be honest, I'm not particularly bothered about it.
[G2 Android Development (D802)] Astrix Ashburn:
Edit: Deleted
[G2 Android Development (D802)] g.lewarne:
a flashable zip for the original kernel has been added to post #2 as per requests.
[G2 Android Development (D802)] thaimeobeo1410:
thank for your support !
[G2 Android Development (D802)] screenager:
hi,

thx for developing! trying your kernel since last night. testing uv captabilities of the g2 :)!

though we have knock on/off by default, could you look into implementing slide2wake by fluxi. had this on my sgs2 an it feels more natural to me than knocking.
[G2 Android Development (D802)] g.lewarne:
v1.02 released!

- Added Westwood+ TCP congestion control

- More internal fixes

- Disabled adreno and krait cpu logging + debugging (faster!)

Download from OP :good:
[G2 Android Development (D802)] nic85:
Can you ad stock LG kernel zip?

Can i flash in a stock LG rom?
[G2 Android Development (D802)] g.lewarne:
Now come on, did you even read a few posts up or even go past the OP on page 1 ?
[G2 Android Development (D802)] nic85:
lol its on second post :) it's The 10b stock kernel But i'm on 10a stock ROM. is It ok?
[G2 Android Development (D802)] g.lewarne:
I think it should work, if it does not you would need to obtain the 10a kernel boot.IMG and modules and replace them in the zip
[G2 Android Development (D802)] :
Hi,

Yes it seems the latest versions have been removed... Here in attachment the 2.20 version for those who want.

:)
[G2 Android Development (D802)] bigup7:
im back on 2.20 aswell :)
[G2 Android Development (D802)] robogo1982:
Whoops, did not see that.
[G2 Android Development (D802)] g.lewarne:
hey sorry for the lack of responses from me,

on Sunday my phone was crushed so until i got my insurance replacement today I was hesitant to continue working on anything that would potentially be untested.

Anway, got my new handset today (PVS Bin 4! woot)

and here we go

v3.00 now available!

- Carefully rebased, some previously used commits removed

- Back to O2 compression

- (most of) Viking's Ondemand governor settings preapplied

- Added init.d script support

- Fixed battery drain and temperature issue some had

- Reverted to a more stock-like config for less issues

And yes, I had to clear out the older versions from my FTP, I only have 2gb of space and the rom takes up a huge chunk of that. If anyone wants to start maintaining a mirror archive of the kernels please do go ahead, and ill pop the link in the OP
[G2 Android Development (D802)] :
Hi,

:eek: bad day :(

Glad you had a replacement ;)

Thanks mate, honored to see my settings in your kernel ;). About battery life... some users will, maybe, comment on this... :confused:

Awesome idea for init.d support :good:

And again thanks for the update, looks promising :good:

:)
[G2 Android Development (D802)] dukat0s:
d802

hey G.lewarne and thanks god u got a replacement :) your new update looks good ! :) i allready flash it and i m gonna test it hard in the next hours ! :) If its possible i m gonna ask your an overclocked kernel i m gonna be in top 3-5 at antutu(currently 9th with your kernel and rayglobes rom 0 perfomance scripts 0 tweaks in trickster ) i m just too curious to see LG G2 scores at 2419mhz anyone with note 3 or nexus 5 achieve 39 with overclocked phones.anyway thanks in advanced i dont wanna really bother with this benchmark crap. just wanna make our device more perfect ;)
[G2 Android Development (D802)] nic85:
thanks man!

but his settings are for performance, not for battery life.. anyway i will test and report :)

p. s. can you add fiops scheudeler?
[G2 Android Development (D802)] :
Hi,

In any case you can revert back to stock Ondemand settings...

:)
[G2 Android Development (D802)] suhiiii:
Tnx for update,going to test it now :D

Hate to see bricked phones :( First acer , now lewarne ,easy guys ,I use rom and kernel from you :D :D
[G2 Android Development (D802)] Kroutnuk:
I am uploading the kernels via my box.

Here is the link:

https://app.box.com/s/k8prx3pyxgd866aidd9x

You can put it in the OP.
[G2 Android Development (D802)] :
Re,

For those who don't like some of my Ondemand settings included in this kernel version, here the stock values just in case:

50000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
90 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential
70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core
960000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
960000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
960000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_max_freq
7 > /sys/devices/system/cpu/cpufreq/ondemand/middle_grid_step
40 > /sys/devices/system/cpu/cpufreq/ondemand/middle_grid_load
14 > /sys/devices/system/cpu/cpufreq/ondemand/high_grid_step
50 > /sys/devices/system/cpu/cpufreq/ondemand/high_grid_load

But before to return to stock values, give a try to the values that come with this version for a few days ;)

:)
[G2 Android Development (D802)] metalboy94:
g.lewarne claims he fixed some other battery related issues so those and your settings may balance each other out. I will be testing the battery life tomorrow.
[G2 Android Development (D802)] dukat0s:
30minutes screen on here with wifi (phone is on 47min)still 100%
[G2 Android Development (D802)] nic85:
v3 fast as Hell, will see battery life :)
[G2 Android Development (D802)] sicto:
Is it safe to undervolt my g2 using this kernel ? And how low can I go ?
[G2 Android Development (D802)] :
Hi,

Test by yourself, it depends mainly of your pvs_bin (take a look here: http://xdaforums.com/showthread.php?t=2489998).

Try step by step, use your phone for a few days in normal use (your use) and if you have not hard reboots or some weird behaviors try to lower again your undervolt (by -12,5 mV).

Don't apply your new settings "at boot" until you consider they are safe.

:)
[G2 Android Development (D802)] suhiiii:
Until your phone reboots xD -25 first,run antutu if dont minimise ,you can go with -50 and again run it.

But for better testing, run it 1-2 days with UV ,and see if you got random reboots,freezes..etc :D

EDIT; [MENTION=2920816]viking37[/MENTION] you was fast :P