yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Formhault:
[MENTION=2376110]dorimanx[/MENTION]

The battery charges up very slow while using the phone. And I'm talking of usage like browsing the Settings menu, playing Castle Clash (which is not a very demanding game), texting a bit etc. - charges up like +300~500mA, rarely spiking up to >1000mA (with the stock 1.8A charger and cable)... super slow :(

I checked Force Manual charge 1800mA in STweaks but I think it only applies for when the screen is off. I mean the phone can't possibly demand more than 800mA of current while mildly using it... so it should charge at ~1A, not ~500mA :eek:. There must be some sort of screen-on protection that prevents it from charging at full capability... :confused:

I tried both the stock LG 1.8A charger and the Samsung 2A charger I had on the Galaxy S4. Same issue on both.

Plus... the chargers don't get hot (they are barely warm!) when the phone is charging and in use. If I turn off the screen, it begins to charge faster and the wall chargers get hotter. If it was just that the phone required more power to run, the chargers would be hot, as they would be working hard to deliver the current needed to the phone...

ROM : Pardus (yes, I finally switched :D ).

After about AN HOUR of being connected to the wall charger (and using the phone), it has begun to charge (very!) fast. What the hell:(
[G2 Android Development] Croize:
wich one is that??
[G2 Android Development] Nigglenuts:
It's called "performance"
[G2 Android Development] Croize:
no cpu govenor called like that..
[G2 Android Development] masteril:
Its ON by default again in 6.1

Another strange "bug" eq in stock music player is broken?no effect.(optimusg3 1.2)

And the problem with usb debugging always on on g3 roms=mtp broken.

So its kinda annoying to remember each reboot to turn it off.
[G2 Android Development] Garfield3333:
No I´m not on G3 Rom, I´m on Stock and its not the Youtube lag only it´s web browser too.

Sometimes it works sometimes not, but wifi is stable and always on....

So THX for your help but i think its the Kernel.....because I´ve Stock and Dori Kernel.
[G2 Android Development] Croize:
Try optimizing chrome for your lg g2 , Then run youtube vids in the browser , No lag how so ever for me , But in the app indeed its lag :/
[G2 Android Development] Velogr1992:
Hey [MENTION=2376110]dorimanx[/MENTION] i flashed twice the 6.1 kernel and everytime i press the button to check the service (cortexbrain-background-process)

it says service offline (i am on pardus HD 7.5 with the 7.5.1 patch for multiwindows)

Is it only me?
[G2 Android Development] Croize:
whats cortex brain for ?? :)
[G2 Android Development] Wimmme:
No, mine does that too (d80220d)

tapatalked from my incredible G2
[G2 Android Development] Croize:
I do really have to admit... The sound is epic now in headphones.. Aslong you got good quality on the files your playing :) Keep the good work coming :D !
[G2 Android Development] thelgog:
hey dori the zvd update is being pushed for the ls980 giving knock code and the new sorce is relased does that mean you can get a working knock code with screen off for the ls980?
[G2 Android Development] 1Jonathan1:
[MENTION=2376110]dorimanx[/MENTION]

The kernel seems to support f2fs but in the wipe section in twrp there is no option to select file systems(as other devices have). Can I use scripts like this to convert the system and cache to f2fs? http://www.mediafire.com/download/sd7qkw83of4c52w/FormatPartitions.zip

[MENTION=5181661]Velogr1992[/MENTION] seems to be a problem in the kernel since the service is also offline in cloudy g3 1.2.
[G2 Android Development] dorimanx:
normal.

just leave it alone.
[G2 Android Development] dorimanx:
first time i read this, and i didnt write that.

no point to turn it ON if you dont use ADB. it's for devs only.

once it's was also fixing some strange bugs, but i dont think it's still do that.
[G2 Android Development] Croize:
it doesnt work as it should ?? Cause i used it twice aswell...
[G2 Android Development] dorimanx:
now it's ROM build.prop or something else. kernel no longer force this.
[G2 Android Development] dorimanx:
Hmm! checking!!!

Thanks

EDIT!

seems OK

root@g2:/ # ps | grep cortex

ps | grep cortex

7868 root 0:00 sh /sbin/ext/cortexbrain-tune.sh

16237 root 0:00 grep cortex

root@g2:/ #

but check fail...

FIXING..

https://github.com/dorimanx/LG-G2-D802-Ramdisk/commit/3018d761a95ba03341019290e2c15fc7eaa88835

Done :)
[G2 Android Development] je2854:
I'll be the pig and I'll let you know.

Although it doesn't format the data just /system and /cache.

Written so fly like a G2
[G2 Android Development] dorimanx:
Ye ye i hear you :)

i will merge that.

i am busy with other cool updates, i will get to this.
[G2 Android Development] dorimanx:
hmm, i am not expert in f2fs, but ROM will not boot!!! as partition will fail to mount.

we need to adapt ROM and Kernel before we can use f2fs.

so no rush, one day it's will be simple thing, for now no support.
[G2 Android Development] thelgog:
Thanks dori u da best :)
[G2 Android Development] je2854:
It correctly flashes but as soon as you restore a nandroid it repartitions to EXT4. (Try doing a fresh install maybe?)

You could change the META-INF to format to f2fs BUT copy that zip info according.

IF it isn't native (the file system) then it won't boot.

Written so fly like a G2
[G2 Android Development] hanntbk:
I use LG G2 F320S and I cant't find kernel for it. It is only for F320K.
[G2 Android Development] Saythis:
Deleted.
[G2 Android Development] EniGmA1987:
http://xdaforums.com/attachment.php?attachmentid=2864331&stc=1&d=1406000753
[G2 Android Development] Croize:
aah you use trickster :) my bad ^^ Thought in St :)
[G2 Android Development] Nigglenuts:
Lovin the kernel. Thanks for your work
[G2 Android Development] demilenos:
F320S and F320K have exactly same hardware, just ROM is different.

(even they can share ROM! just few things disabled.)

So u can use F320K kernel. I did that too.

I think this answered over hundred times. plz search before question. :crying:

and wrong place to post, QA thread is out there.
[G2 Android Development] Formhault:
Screw F2FS. When Google will replace EXT4 with it, then it will mean it is worth it. Speaking of worth... EXT4 vs. F2FS benchmarks haven't revealed any astonishing results in favor of the latter. At least not on the Galaxy S4, anyway.

Besides, use Androbench and see for yourself : the internal storage of this device is already lightning fast :eek:
[G2 Android Development] maxver0:
Dorimanx 6.0 AOSP ported by bart452 http://xdaforums.com/showpost.php?p=54173756&postcount=1335 on mahdi 2.7 :laugh:
[G2 Android Development] Formhault:
Nice results. But what's so laughable about it? :p
[G2 Android Development] Saythis:
Most NAND Benchmarks don't do random write tests which is where F2FS destroys EXT4 (See Moto X vs LG G2 random write tests). F2FS also will extend the life of NAND as it further lowers the amount of journaling that is done.

Sadly though to get entire support we'll need ROM support as well which likely won't come until Android L when Google utilizes F2FS as stock. It's dumb to say "screw this" on something that is intended to improve things.
[G2 Android Development] demilenos:
I saw that too. It's definitely improvement.

we never get bored about improvement, never satisfied with speed of things.

cuz we are immortal [emoji4]
[G2 Android Development] maxver0:
I have chosen it because it looked nice!
[G2 Android Development] je2854:
I think F2Fs is just a matter of drivers/support just like ExFAT support or NTFS. If that's the case we have the best kernel dev available for the job.

Written so fly like a G2
[G2 Android Development] nic85:
sorry guys,where can i find stock v20E or V20F kernel?
[G2 Android Development] suhiiii:
http://www.androidfilehost.com/?w=files&flid=14807 try this
[G2 Android Development] nic85:
can't find stock one
[G2 Android Development] 1Jonathan1:
http://www.androidfilehost.com/?w=files&flid=12894

You can find the stock kernel in this folder. You only have to choose your model
[G2 Android Development] nic85:
yep thanks,i already have D802 v20D stock kernel...i want the latest v20E o v20F ,maybe LG has improved something? :good:
[G2 Android Development] zincro3:
+1
[G2 Android Development] Mattecko99:
I'm having major issues with my phone locking up for like a minute or so. Happens so often now and I'm on default settings.
[G2 Android Development] rebar71:
I am having similar issues. I wouldn't say it locks up for a full minute, but a good 30 seconds at least. And it seems to be getting more frequent. I am still on 6.0.

EDIT: I would like to add that my kernel settings are default with the exception of speaker gain and fast charge on.
[G2 Android Development] Mattecko99:
It's just beginning to get somewhat frustrating..
[G2 Android Development] Lycidias:
+1
[G2 Android Development] Tinchoska:
6.1 has much more battery drain here... Same conditions than 6.0... Anyone?

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] wadamean:
Have you put the kernel in extreme battery profile?
[G2 Android Development] EniGmA1987:
Didnt try 6.0, so I cant compare battery drain, but 6.1 does seem a bit higher than I was used to on older kernel versions.

As for lock ups/hang ups during use, never had anything of the sort. Performance of this kernel is VERY good, audio quality is good, volume is good.
[G2 Android Development] Tinchoska:
Never leave default profile.... Why?

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] milogen:
i flashed to v6.1 and experiencing the freezing and hang issue.

when i flashed back to v5.8, the problem is still exist.. i never had this problem before until i flashed to v6.1, and the problem is like sticked to my phone now.
[G2 Android Development] wadamean:
What do you mean? Or are you trying to say that you never change the default profile?
[G2 Android Development] saspo59:
+1
[G2 Android Development] Nightbeat:
Agreed, however my phone doesn't freeze and lock up like others are reporting. Phone's really smooth but the battery drains ultra fast.
[G2 Android Development] ghostek:
Today my alarm not ring, after 12 hours of phone inactivity. I using 6.1 version on previous version this never happen.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] masteril:
D802 6.1 no issues that are reported here.only issue in quickwindow that the volume down only vibrates camera app opens but screen not..but its rom issue i think.(optimusg3 1.2)

After 3 days of usage phone is kinda laggy first minutes when awakening and sluggish but i can live with that 6.1 battery is ok.dont see something unusual.its great.and the phone is staying cool most of the time.
[G2 Android Development] SPBoss:
Battery seems good to me, its only slightly worse than 5.9. Getting drain of 13-14% an hour when usually it is 11-12% with overclock to 2.6ghz
[G2 Android Development] =dgim=:
I had the same situation yesterday. It was the first time since I bought D802 (stock/5.5-> and now 6.1).

I had also one or two restarts on 6.1.

Today alarm (sleep as android) is working properly.
[G2 Android Development] pafnucy7:
Quick question. I am on Cloudy G3 with kernel 6.1 default settings, outside temp +26 Temperature of CPU during using LTE internet by Chrome Beta is up to 72 celsius degrees. Is it this temp. normal? Thx for answers.

Wysłane z mojego LG-D802 przy użyciu Tapatalka
[G2 Android Development] Formhault:
My phone gets a bit hot even when using 3G (not a lot, though). LTE puts a lot more stress on the CPU, though, so... it's normal.
[G2 Android Development] Yoyo117:
Hey dori, an interesting ondemand patch is queued for merging into the 3.17 kernel. Hope you're gonna have a look at this one.

News post:

http://www.phoronix.com/scan.php?page=news_item&px=MTc0NzA

One of the mails in the lkml. Also talks about android 3.4 kernel tests with 1000+ userbase that are promising.

http://lkml.iu.edu/hypermail/linux/kernel/1407.1/03773.html

github changesets:

https://github.com/stratosk/kernel_msm/commit/76d9454b7fd275fc3ea161eb1c7db4cdfb71cb9e

https://github.com/stratosk/kernel_msm/commit/9df03b662b9c213c75ac082138f5ab8afadb9d94

probably the June 15 changes in his cpufreq_ondemand history are also worth a look:

https://github.com/stratosk/kernel_msm/commits/kk-4.4.3/drivers/cpufreq/cpufreq_ondemand.c

ahh I just saw you already have those merged :)

https://github.com/stratosk/kernel_msm/commits/kk-4.4.3/drivers/cpufreq/cpufreq_ondemand.c
[G2 Android Development] logimen:
I dont know what the hell is going on with this kernel. After some time of using it whole phone starts stuttering and was soo sluggish. Rotating and waiting for keyboard to showup takes about 2-3s. When I start camera and the I shutdown it with back icon I must wait about next 3secs to close app. Strange because now on stock kernel whole phone works much better just like new. I used ondemand gov with intelligent temp control and tried all hotplugs. Also I tried other govs but it only causes more battery drain. No matter which version, tried from 4.x to 5.6 cuz I have stock rooted v20b rom. Any suggestions what causing this issues?
[G2 Android Development] d_Schizzo:
My suggestion would be: Try the new one! [MENTION=2376110]dorimanx[/MENTION] made many fixes to temp control which was the reason for camera closing slow etc.

I am on 6.1 and my phone is fast like hell without any bugs.
[G2 Android Development] 60nine:
i just had a call from my gf and she said "omg, what did you do with the phone? i finally hear you loud and clear" :D

so - [MENTION=2376110]dorimanx[/MENTION] - your 6.1 kernel does the trick well :)
[G2 Android Development] milogen:
same here, 20c rom here, having the similar issue also.

when flashed back to stock kernel and everything became fine.
[G2 Android Development] citytrader:
Does it make any change if the phone consumes 13% or 11%?... what is the error in measuring the battery consumption? is not possible to measure correctly the battery consumption in the day to day use except if there is an abnormal consumption... personally I prefer the phone to consume a little more battery and be more responsive, I don't understand this race to show how the battery last longer, is a total non sense.

---------- Post added at 09:17 AM ---------- Previous post was at 09:15 AM ----------

I have stock rom 20C and I dont have that issues, I suggest you to reinstall the rom from the ground clearing system and data and to try again.
[G2 Android Development] reemar:
[MENTION=2376110]dorimanx[/MENTION] , quick question, is it possible that you will make the sweep2sleep feature work on the status bar instead of the navbar, because some of us use lmt/pie instead of nav bar and I think it will be nice to lock our phone like that..

Thanks in advance..

By the way, v6.1 performing great, I only came across some freezes during surfing chrome, that also happened in other version but beside that, great kernel, I only wish that you will consider my request, thanks you [MENTION=2376110]dorimanx[/MENTION] !
[G2 Android Development] Nightbeat:
Maybe to you? Think about other people who don't always have an access to charge their phones.

It's matter of preference.
[G2 Android Development] citytrader:
This phone last more than 1 day of hard use, if you don't access to charge a phone in 1 day don't expect magic.
[G2 Android Development] Diechel:
Seems that when temp > 60 locks frequency to max 1574 Mhz. No matter what temp settings are. Using ondemand + msm @2.8

Edit:

Reset to default doesn't solve it

Edit:

Can only see that behavior when using ondemand. Switching hotplug governor doesn't matter.

Using Alucard + Alucard hotplug right now.

Maybe this is the stuttering some people notice

Edit:

With scrolling with Alucard I can see that it's going over 60 degrees with how smooth scrolling goes. There is a stutter when hitting 60.

But frequency will go over 1547
[G2 Android Development] digkong:
Phones gets stuck for almost 30 seconds in an hour..other than that 6.1 is awesome: D

Thanks dori
[G2 Android Development] carlos67:
Totally agree. In my world you buy a flagship phone for pure performance and responsiveness. When my phone scrolls ultra smooth it makes me fall a little more in love with it :D

If you want a phone with outstanding battery life go buy a bloody nokia 3310 of Fleabay :p

Speaking personally I have my G2 tuned for blistering performance and it is simply excellent with zero lags anywhere. ZERO!!!!

And guess what, I get 1.5 - 2 days out of it with light to moderate daily use.

For instance yesterday I'd got 47 hours out of it & it was at 5% left.

All I'm saying guys is get over your addiction of trying to squeeze ever more minute amounts out of your battery because your killing the reason for buying a top end phone.
[G2 Android Development] Croize:
what setting you use on stweaks?? may share ?? :)and version??
[G2 Android Development] Robi959:
Dori, what do you recommend to set on POWER SAVE SWITCH: when i set it to " power save mode" it kindly lags, but on performance it works like stock ? Why did you put those two mods ?
[G2 Android Development] dorimanx:
to save battery, what else???

if you have heavy phone, you need more power, set performance mode and have STOCK drain and performance.
[G2 Android Development] Croize:
[MENTION=2376110]dorimanx[/MENTION] you said play music takes less power now.. Is that streaming music aswell?? Or like offline with spotify?? Thank you
[G2 Android Development] Tinchoska:
I think he meant offline... Cause playing on streaming will take more power because it need connection and having phone connect to Web it takes lot of juice... Depending on signal if it is on mobile data

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Android Development] flexdog:
Great overall performance

Firstly, thanks to Dori for another fantastic kernel update for the G2.

I thought I have been getting Wi-Fi speed drops lately but I am not so sure, it might just be my modem. The performance and efficiency of this kernel is awesome, the recent governor tuning was pretty helpful for battery life too. I am currently underclocked to 1.8ghz and am using Tasker to change my CPU freqs even lower as I lose battery.

i.e. below 75% my phone is a step lower than 1.8ghz

below 50% two steps lower than 1.8ghz

below 25% three steps lower than 1.8ghz

I've also done a few tweaks in STweaks and changed my screen settings to 255, 235, 230 using Trickster Mod.

My battery life is amazing with this kernel, I can get 8hrs + screen on time with 20 hrs of usage on Cflex G3 ROM.

OFF TOPIC:

Also even though not recommended I am currently undervolted -50mV on all frequencies. However before doing this I suggest to others to check their CPU PSV level and make sure it is at least above 2 before doing some undervolting. I can go below 50mV but I chose not to because stability is important. To check your CPU PSV download Android Terminal on Play store.

After this, open it and type su, and enter. Grant su permissions and reboot. Open it again and type su and enter. Then type dmseg | acpuclk and enter. I'm not quite sure but I haven't seen anyone with a speed_bin of over 1 but basically what the PSV levels mean the lower it is, the less leakage your CPU has but it switches you can't OC/UV as much. The higher it is, the more leakage your CPU has but you can OC and UV more aggressively.
[G2 Android Development] milogen:
not rom/system problem, full wipe and flashed to cloudystock 2.5 and its still the same.
[G2 Android Development] citytrader:
Why dont you try a unmodified stock?... stock works much better than custom roms.
[G2 Android Development] demilenos:
It's da best music kernel ever. Sound is too loud even min volume. Even though it is too clear no distortion and hiss. Even more cpu usage stabilized and low.

I am using etykids 300ohm earbud, but it's not enough to volume down :)

U love music? Why don't u flash this rather than read post? ;) haha

Thx doriman.
[G2 Android Development] milogen:
ok will try that later if the issue is still persists.

now reverted back to stock rom with 6.0 dorimanx kernel, monitoring..
[G2 Android Development] gozzaa:
Hey Dori,

were you able to locate the source of the 30 sec lags or do you need logcats or anything?

i love your kernel but this bug has to go :cyclops:
[G2 Android Development] masteril:
+1 on this.its my 4 day of usage with this kernel 6.1...every day its worse and worse...i was browsing couple of min ago and suddenly the phone was so sluggish unusable like 1 fps lol...reboot helped.but i changed kernel for now..until the next ver. Launcher redraws a lot when multitasking with optimusg3 1.2 too but i am not sure its a kernel issue.
[G2 Android Development] 24speed:
Hi.

Can i use this Kernel on my Cloudy G3 Rom? And work the Kernel with this Soundmod?

http://xdaforums.com/showthread.php?t=2769799
[G2 Android Development] fire3d:
I run my devicde for nearly one week witout reboot, kernel 6.1, Optimus G3 Rom 1.1, never had such problems

changed settings:

High Oc 2,5Ghz

Cpu Gov: Alucard

Giv Sample Rate 40000

Powerswitch: Performance Mode

Cpu tweaks on, 2572800/300000

Cpu hotplug : Alucard

One Core boosted

All cores used

Normal (1 core)

I undervolted 2 steps (-25000)
[G2 Android Development] masterchif92:
Hard use is subjective so you are wrong
[G2 Android Development] Croize:
Share the profile??
[G2 Android Development] fire3d:
here you go
[G2 Android Development] gozzaa:
why did you choose alucard gov and hotplug? i tried to search for the behaviour of these two but could not find anything.
[G2 Android Development] fire3d:
i tested several cobination, Alucard/Alucard gaves me best performance and battery for my needs

i think it's always depending on what you want to have :)

My device is now 35h on battery, 3h screen on time, i still have 46% left
[G2 Android Development] Croize:
Ty will see how it works next battery :) ever play games?? And why you use g3 1.1?? :)
[G2 Android Development] fire3d:
sometimes i play leo's fortune, mostly usage is listening Music / G+ / FB / Wa / Xing / Camera

I use 1.1 because it's runnin fine here :)
[G2 Android Development] Croize:
Ok then.. Hopefully fine on 1.2 aswell:) battery seems to drop fast.. But yet not did a power cycle yet:)
[G2 Android Development] Formhault:
Battery life on the G3 ports is rubbish.

Pardus (G2 ROM) : 5h screen-on time (out of which 2h = Castle Clash gameplay).

CloudyG3 : 4-5h screen-on time (out of which 1-1.5h = Castle Clash gameplay).
[G2 Android Development] Croize:
Cant hide touch buttons on pardus:( what settings do you use??? Default??
[G2 Android Development] Formhault:
I don't hide touch buttons...

What settings do I use? You mean in STweaks? Default, yes :)
[G2 Android Development] Croize:
Ye u cant hide em sadly:/ annoying while gaming :) guess i might try it.. Recommend charge to 100% first?? Or flash on 56 and discharge then fill it up?? :)
[G2 Android Development] demilenos:
only 5% juice for 100mins AAC-LC music listening.

i think easily hit 30hr if use music only [emoji106]

SoT measurement under going, now 80% with 80mins SoT. It's 25% better than stock.

In my case, CloudyPro ROM is good at battery.

F320S variant with 2600 juice.

Cloudy Pro2 2.3 with art.

stweak battery profile.
[G2 Android Development] Croize:
Can hide touch buttons??
[G2 Android Development] Nightbeat:
WOW! never experienced such smoothness... It feels like my desktop pc

Did you not change touch boost and max screen off frequency?
[G2 Android Development] 60nine:
ok, just had a long freeze here reading this thread in xda app...

uc 2.0ghz

interactive governor

touch boost 1.4 ghz

sample rate 45000

performance mode

msm hotplug

two cores boosted

max cores online: all cores used

min cpu online: normal (1 core)

gpu 450/200

everything else default

kernel 6.1, kk stock v20f (bruce)
[G2 Android Development] citytrader:
With V6.1 played Modern Combat 5 underclocked to 1.9 flawlessly with all default settings, so no need to go OC with this phone