yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] mansa_noob:
This is good. You don't have to shut it off... either lower the frequency or voltage I guess. I would be very interested in this. Too bad I don't know how to myself :(
[T-Mobile LG G2x] G2xer:
I used the latest one. You're right the linked one works way better.

I feel that the phone lost stability after haptic feedback and the miui lag bug were fixed. Shucks.
[T-Mobile LG G2x] capncybo:
DEEP SLEEP Working properly

Despite all the recent noDS versions posted lately.

I would like to show my G2X sleeping like a baby, & behaving properly (Thanks Mazout360).

Over 3 days of Uptime, and check it out... Over 2 days in DEEP SLEEP :D

Note: I am currently using the newest kernel (standard volatge), just slightly underclocked.
[T-Mobile LG G2x] justjackyl:
Its only the wifi driver that is affected in the no deep sleep versions. ;)
[T-Mobile LG G2x] capncybo:
Wifi

So are you saying your G2X still goes into deep sleep as far as the phone & CPU state monitoring is concerned.

But the WIFI just stays connected hence battery life is somewhat reduced?
[T-Mobile LG G2x] justjackyl:
Yes sir.

I had issues with wifi disconnecting when screen off for 15+ minutes, I live way out in the country and only can use wifi calling so I needed wifi to not sleep.

No matter what setting I choose for wifi sleep policy, it would still disconnect and using a wake lock application drained more battery than the no deep sleep version.

Honestly, the battery drain is not that noticeable, if anything, the battery loss is less than remaining on a poor cellular signal as the RIL is constantly fluctuating to maintain that signal, whereas using wifi and being within ten feet of my Cisco N router, the phone has dang near 100% signal and consumes less power maintaining the signal connection.
[T-Mobile LG G2x] capncybo:
G2X LAG

Thank you for your answer & I understand how a poor cell signal can drain more battery than a strong & stable wifi connection.

(My main office is in the basement of a large hospital... no cell signal either. But the phone sure does try hard to connect.)

Your statement makes perfect sense.

My G2X had been running very well & sleeping properly (when not in use) for over three days.

When suddenly... Oh NO LAG, CR@P!!! No SOD but yes LAG.

I tried a couple of things to see if I could figure out what was causing it.

One of the things I noticed was that CPU1 seemed to be stuck in the OFF state.

From My understanding... CPU0 always stays ON, but in deep sleep CPU1 turns OFF.

(So when should CPU1 wake back up?)

I tried restarting my Lightning Laucher to see if that was causing the LAG.

But I noticed that other applications were also taking longer to load.

I was seriously considering rebooting & remembered.

Some people experience problems occuring when LED buttons turn off & Screen autobrightness etc etc.

So... I toggled autobrightness OFF & cycled through the settings back to a low & acceptable non automatic level.

It could just be a coincidence, but the phone seems responsive again & it sure beats having to reboot.

Any Ideas as to what could be causing my occasional LAG.

Perhaps someone has a good idea of how to best check/report/stop LAG while experienceing it?
[T-Mobile LG G2x] EEngineer:
I've noticed the exact same thing - SetCPU tells me that my G2X never goes above 1GHz despite the fact that there are settings available to overclock and I have set them.
[T-Mobile LG G2x] TwitchyEye:
Yeah it v0130 does this too
[T-Mobile LG G2x] justjackyl:
This should not happen in OC versions of any mazkrnl.

EE-An OC version is now up, several posts back, if 323noDS if your enjoying to non-OC, try that one.
[T-Mobile LG G2x] pmorrsn:
I've not been able to control the OC, I still see it jumping to 1500 (cpu spy, and suspect it may be causing my sporadic crashes), despite a 1200 cap/set on boot. I've tried setcpu and cpu tweaker, no solution yet. Also used built in Cyogenmod on hellfire 2.4.0 to control CPU, with no luck on OC. I was running faux 54(default) @ 1200, with occasional shut downs(since december), but the 0323 SVnoDS seems alright, just 2 shutdowns. This new kernel gets much clearer voice calls, but the phone after several days seems laggier, particularly Gmail. Still testing..
[T-Mobile LG G2x] Pecata:
I didn't see anything about what I am going to ask guys-If I missed it somewhere and this has been answered before I am sorry.

I installed the kernel on my gf phone running [ROM][R3B0RN] HellFire Phoenix V2.4.1 and it booted fine, however every time I reboot the phone I am getting an error message saying I am low on memory. It says: The action cannot be completed because I am low on memory and after clicking Ok it works fine. I checked the internal and external memory as well as SD card and there is plenty of memory there....

Any idea what may be causing this and how to fix it?

P.S. One more thing I've noticed is that heptic feedback doesn't work on the hardware buttons at all.

Thanks.
[T-Mobile LG G2x] pmorrsn:
I don't know about your memory issue, maybe reformatting your sdcard?

Yes the haptic on the hard buttons is an issue. I could get it to work on the long press for home and search buttons. I don't fully understand the Cymod haptic tweak controls, but maybe that is the way I got those 2 long press functioning.
[T-Mobile LG G2x] EEngineer:
Haptic doesn't work on the hardware keys.

For your SDCard, if you formatted the SDCard using a regular PC format you may have memory problems. Also, your ringtones and notification sounds may get messed up.

Make sure you either 1) formatted it in your phone (Best!), or 2) formatted it on your PC using SDCard formatting software like SDFormatter.

If you format in your phone, make sure your battery is at 100%.

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

Thanks, I'm going to flash Mazkrnl_0323GBOCnoDS.zip later today and see what happens.

I've also noticed that with Mazkrnl_0323GBnoDS.zip if I wake up the phone, WiFi has to connect.

It would be nice to have an app, or an option, to enable/disable WiFi disconnect during screen-off.
[T-Mobile LG G2x] n30wav3:
Wasn't the original purpose of NoDS to keep wifi connected? That's confusing? R u sure u r flashing it correctly and have u checked if ur wifi policy is not set to disconnect when screen off ?
[T-Mobile LG G2x] justjackyl:
I need a day off XDA guys, lol. I feel like I've been super helper last couple days. :D

And yes EE, thats not supposed to happen.

You can use Wake Lock https://play.google.com/store/apps/details?id=eu.thedarken.wl to keep wifi on.
[T-Mobile LG G2x] EEngineer:
Just flashed Mazkrnl_0323GBOCnoDS and I am overclocking - phone is noticeably snappier!

Thanks for all your help, justjackyl, see you later my friend.
[T-Mobile LG G2x] justjackyl:
Keep us posted about wifi sleep.

Also check that your wifi sleep policy is set to never.

View attachment 1865189

Ive not had any wifi sleep issues with the noDS series.
[T-Mobile LG G2x] EEngineer:
Mazkrnl_0323GBOCnoDS is great but it was killing my battery!

So with SetCPU, I've got max normal frequency set at 1.1GHz. I set profiles for multimedia (video players, and cameras) that boost CPU to 1.5GHz.
[T-Mobile LG G2x] justjackyl:
Anything over 1015 is gonna start eating the battery, profiles or not.

I leave mine at 216/1015 unless going into 3D games. The second or two difference between 1015 and 1100 to me is not worth the battery drain for regular use. I even have 2x 1500mah and a 3500mah, but I try not to cook the battery. :D
[T-Mobile LG G2x] capncybo:
WTF

Running the newest (standard volatage) MazKernel I've noticed something strange.

Despite having my Maximum speed @ 816MHz my phone still seems to spen time in the 1.01GHz state.

Any Idea Why???
[T-Mobile LG G2x] EEngineer:
Understood, makes sense.

Right now I'm very happy with this kernel, thanks Mazout! :D
[T-Mobile LG G2x] Mazout360:
Try the overclockable version. It should be able to underclock as well.
[T-Mobile LG G2x] pmorrsn:
The OC 0323 version does spend some time over the set CPU threshold (@1500, I've varied this from 1200 to 1000(current)). I am guessing it may do so on bootup, prior to the threshold being enforced, because over time, the proportion of time above the threshold at 1500, in particular, gets smaller and is not significant. I still get sporadic crashes, reboot issues. The lagginess seems to be less a problem, particularly in GMail where it was most evident. (hellfire 2.4.0).
[T-Mobile LG G2x] justjackyl:
Hellfire is the first problem I see with your setup.

Use vanilla CM7.

Hellfire is always having people gripe about bugs and instability.
[T-Mobile LG G2x] pmorrsn:
Thanks, I may just give that a shot. Can you recommend a vanilla CM7 to start?
[T-Mobile LG G2x] justjackyl:
This is the latest updated source build. Like 90% of us on CM7 run this, including myself.

http://get.cm/get/jenkins/21355/cm-7-20130301-NIGHTLY-p999.zip
[T-Mobile LG G2x] pmorrsn:
Thanks, and for the latest gapps, is that gapps-gb-20110828, and the separate talk file?

http://goo.im/gapps/gapps-gb-20110828-signed.zip

http://goo.im/gapps/gapps-gb-20110828-newtalk-signed.zip
[T-Mobile LG G2x] justjackyl:
They are the same, the new talk one just has vid chat enabled in GTalk which is buggy on CM7 on some devices. My phone works fine with it. Only flash one Gapps, not both.
[T-Mobile LG G2x] capncybo:
It's not just on BOOT UP... I can see the 1.01GHz numbers increasing for both CPU0 & CPU1 while looking at it...

Thanks Mazout, I will also re-try the OC version. However back when I was using setCPU... I posted that my phone would spend some time at 1.5GHz. Despite me setting a 816Mhz Max. I thought maybe this was causing the occasional SOD or FREEZE.

Hence I tried the standard voltage kernel instead.
[T-Mobile LG G2x] capncybo:
interesting observation

Hey Maz & J.J. I went back to testing the latest undervoltage kernel & by not using undervoltage & keeping a Maximum frequency of 816MHz I've had great results. In fact what I originally thought was LAG eventually showing up on my G2X may very well just be CPU1 staying OFFLINE sometimes. But TBH running only CPU0 (especially when in deep sleep) is a good thing. My battery life has been quite good with moderate use. Check it out below...

Ah crappie, just noticed the screen shot did not capture the battery bar at the top of my screen but it was still blue in color & therefore >40% it has since turned yellow & is now <40% as I type. Anyways I can usually wake CPU1 back up by toggling my power button but running on only CPU0 has a very positive effect on battery life.
[T-Mobile LG G2x] EEngineer:
What do you mean by LAG? I've noticed that there is a long initial delay that wasn't there before when opening many apps.
[T-Mobile LG G2x] justjackyl:
Turn off JIT Compiler.
[T-Mobile LG G2x] capncybo:
Lag

Occasional hesitation, delay, or stutter when attempting to launch an app or do something is what I meant by LAG. I thought it might be happening when CPU1 was sleeping or off. But maybe as J. J. Seems to suggest, it's actual caused by the JIT compiler being enabled.
[T-Mobile LG G2x] EEngineer:
That made a difference, thanks!
[T-Mobile LG G2x] Mazout360:
Is there an issue with the JIT compiler ?
[T-Mobile LG G2x] justjackyl:
From my understanding it improves app performance in app, but increases inital app startup significantly. The larger the app, the longer the load times. 80% of my apps are HD games, so I noticed a drastic increase in app loading time.

Snippet from Wiki:

In computing, just-in-time compilation (JIT), also known as dynamic translation, is a method to improve the runtime performance of computer programs based on byte code (virtual machine code). Since byte code is interpreted it executes more slowly than compiled machine code, unless it is actually compiled to machine code, which could be performed before the execution – making the program loading slow – or during the execution. In this latter case – which is the basis for JIT compilation – the program is stored in memory as byte code, but the code segment currently running is preparatively compiled to physical machine code in order to run faster.
[T-Mobile LG G2x] Mazout360:
So...there's still one serious kernel problem not being addressed on this device : SODs.

I am currently trying a new kernel beta which looks promising. I'll work it up a little further so expect a new update in the next days! I am not satisfied enough of battery life yet.

NoDS users, did you notice an excessive decrease in battery life or should wifi DS be removed ?

I still have 3 new projects in mind for this device, so even though it is EOLd by CM I will not let this device to die...not yet.

EDIT: Giving out a bonus test build for my 420th post ;). Give me some feedback.

This is for gingerbread-based ROMs, non-OC. Worked flawlessly for me for the past two days.

EXPERIMENTAL - Mazkrnl0417GB
[T-Mobile LG G2x] Pain-N-Panic:
What does jit compiler do? I have mine enabled...
[T-Mobile LG G2x] grantusmantus:
Downloaded and running now. Thanks Mazout.

Will you be posting a change log for this kernel?
[T-Mobile LG G2x] Mazout360:
Yeah but I might change some things, hence the "experimental" flag.

Mostly ARMv7 processor-related updates, backports and tweaks. Not really anything new, but it does feel snappier IMO. I still got to update ROW (the more recent versions are not compatible with linux 2.6.32, so theres work to do) and I'd like to rework the sleep/suspend functions, but that would also take some time. I'll also work on the wifi driver suspend mode and fix the lag that builds up over time (but I think the experimental kernel has that fixed already).

For a more complete changelog, you can always take a look into my github. I just want to make sure everything works properly before making an "official" one.
[T-Mobile LG G2x] Pain-N-Panic:
Flashing when i get home
[T-Mobile LG G2x] grantusmantus:
Deffinately feels snappier man. Waaaaaaay snappier.

sent from my p999

Nilla cm7 monthly

Mazouts NeoKrnl
[T-Mobile LG G2x] tvisforme:
Looking forward to the OC version, and I'd be happy to keep the wifi power saving. No issues with it that I've been aware of. The lag fix will be welcomed, that's for sure. Thanks again for the excellent work.

Sent from my Nexus 7
[T-Mobile LG G2x] Pain-N-Panic:
Yup, running great. Will you be making a new thread for the "final" release maz or will you post it in here?
[T-Mobile LG G2x] adamiscool:
He'll update this one. Running great so far! Thanks :thumbup:

Edit: [not] attached screenshot of battery usage. Seems just as good, maybe better than 323. Doesn't start to lag as quickly, and great sleeper. Especially turning down max CPU frequency to 500mhz with screen off.
[T-Mobile LG G2x] adamiscool:
This was supposed to be attached to my edited post. I guess I need the premium xda app because it wouldn't let me use tapatalk to host image.

Still got plenty of juice!

Sent from my LG-P999
[T-Mobile LG G2x] adame09:
What are your settings for max battery life? if you don't mind
[T-Mobile LG G2x] redmonke255:
Don't use the phone, it looks like.

When my phone hits 20% battery it slows to a complete crawl. Is it some sort of throttling or just from my ****ty battery?
[T-Mobile LG G2x] mansa_noob:
Since everyone is posting battery stats... :D

View attachment 1893352

View attachment 1893354

It's awesome, but I have mine set to stop all data when screen off.
[T-Mobile LG G2x] n30wav3:
Do u guys even use ur phones? This is the 12 hour graph u r showing. On the first one it feels like 1 hour or so usage and on the other one its like 4 hour max usage. If u use it as a smartphone then ill be very interested to see the results.... also was the data on all the time?
[T-Mobile LG G2x] Darkknight512:
I use my phone heavily, I'll get you accurate graphs the next time I'm out.

3500 mAh battery, constant wifi and data usage but I turn off wifi and data when I'm not actually using it. I play ingress with data and wifi on for positioning about half an hour a day. Screen brightness is on about halfway all the time. I lose signal in campus buildings and I don't usually switch it to airplane mode to save power in that situation.

2.5 hours screen on time, total on time is usually about 12 hours before the phone dies. I am running PA JB build 9 with the latest kernel on this thread. Overclock at 1.2 Ghz, with minor undervolting.
[T-Mobile LG G2x] adamiscool:
Hahahahaha ok ok. You guys caught me. I was sleeping for about 8 of those 12 hrs. Hence, the screen on being so little. I still get to 12hrs with moderate to heavy usage!
[T-Mobile LG G2x] mansa_noob:
:D

Just because I have a smart phone does not mean it should do the thinking for me.

Also actual use was around 45 minutes... email, xda, text, phone calls. I do have a life you know.

Flame on!
[T-Mobile LG G2x] TheCoutures:
I got a BSOD while charging on the latest beta release, sucks because everything else was flawless.
[T-Mobile LG G2x] adamiscool:
Set the phone to never sleep while charging. Problem solved.
[T-Mobile LG G2x] TheCoutures:
Yeah I know that trick, rather not, just stick to Morphics for now.
[T-Mobile LG G2x] EEngineer:
That causes other problems on CM7.

BTW, this reminds me - with the Mazkrnl_0323GBOCnoDS kernel if I turn off my phone, plug in the charger, then turn on my phone, it will not show as charging. I need to disconnect then reconnect the charger to get it to recognize the charger.
[T-Mobile LG G2x] redmonke255:
Mmmm 9 hours before I had to charge. Stock kernel settings, latest stable. Listen to a lot of music, though.

I'm thinking all the overheating has caused my battery to finally die.
[T-Mobile LG G2x] bluenote73:
From the picture it looks like you have significant wakelocks. You need betterbatterystats app.
[T-Mobile LG G2x] Mazout360:
Indeed.

Please, when reporting issues/battery stats/logcats/whatever, specify the kernel version you are currently using (for those who didn't notice, I released a new experimental version a few posts back) and the ROM name/version. If your device keeps dying, having force closes, SODs, and you're using a two-years-old, deprecated custom ROM, don't put all the blame on every kernels out there.

From my test run, with 0417 experimental and latest CM7 nightly, I had no overheating (which was a frequent issue) nor SODs for the past 4 days. Battery would last about 2 days with normal use, no gaming.
[T-Mobile LG G2x] TheCoutures:
Sorry, running latest vanilla CM7 monthly dated 03-01-12, and had SOD while charging, my phone has never cooperated with Faux's kernel so who knows, thanks for the continued work
[T-Mobile LG G2x] iLovPieNCake:
In regards to DS, it's becoming a but of a problem for me because it breaks wificalling, wificalling saves ny battery life but the ds version goes to sleep when screen off and I don't get my messages until wificalling is off or i use the Internet. Same with me streaming through play music.
[T-Mobile LG G2x] mansa_noob:
Maz, I guess you want us to paste this one too :).

My biggest battery killer is signal, long live wind mobile! See the second screenshot below.
[T-Mobile LG G2x] Dharris76:
Check this out. I'm running the latest cm7 vanilla with the bonus test build (420th post).
[T-Mobile LG G2x] Dharris76:
Forgot this one.View attachment 1894081
[T-Mobile LG G2x] redmonke255:
You think so? Is that where it stays awake even while the screen is off?

I do listen to a lot of music. Like at least three hours a day (walking between classes, studying in the library). Maybe that's just what keeping it awake?

I'd be glad to do some more research into it if you think it's worth while.
[T-Mobile LG G2x] mansa_noob:
Hi Maz,

Don't know if this has been explored or not, but being the super noob I will ask :D. Have you tried to code the parameters of super bad a$$ v2 (not sure if I got the name right or not) in the performance governor? Since we can't select anything else other than the default two that may work, no?
[T-Mobile LG G2x] saijaiantonio:
I get stuck on the boot screen when I try to use Mazout's kernel for the hackfest on paranoid hackfest v8. Anyone have any ideas?

I tried a clean install many times but the problem is reoccurring. It pauses at a screen with two LG logos side by side.
[T-Mobile LG G2x] adamiscool:
Must post before it dies! Tonight will be my last charge cycle for this phone, I believe! HTC One is supposed to be delivered tomorrow! I'll still be around though, to troll all you n00bs. Here's my battery usage...
[T-Mobile LG G2x] Darkknight512:
Did you flash the wrong kernel? There is a GB one and and HF one.
[T-Mobile LG G2x] mansa_noob:
Assuming you have been trying the ics one... can you confirm?
[T-Mobile LG G2x] saijaiantonio:
I flashed -> *Hackfest (CM9/10)-Based ROMs, Stock voltage*

Can you elaborate?
[T-Mobile LG G2x] mansa_noob:
What dark knight said. Nevermind.
[T-Mobile LG G2x] n30wav3:
Nahhh I dun think its wakelock... the graph shows the phone was awake which it should be when u rr listening to music. I get a similar battery life when m in my office.... but I have one major contributing factor in office. The bad signal... the lower the signal the more radio will work hence the low battery life... also not to mention I am always online... I.e data turned on but sync off... although yes its not bad at all to take a look at betterbatterystats.... but i would recommend you uninstall it once u r done with it as it has its own wakelock (minor but still) running in the background. Right now m getting the best bettery in last OC version .. even better than non-OC ... only downside is the SODs... which m trying to find out why...

One more thing guys. Those of you in HSPA+ (not HSPA) areas expect lower battery life.... and I dun think there is anything we can do about that except turning data off when not in use

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

Good question though... i would love if mazo can shed light on this one...

Still I would say its more like 9 to 10 hours moderate use :p started with the slope of the mountain ... not sure if u had data on
[T-Mobile LG G2x] Darkknight512:
Hey just took a look at my phone with Wakelock Detector. Is RILJ supposed to be on wakelock 24/7?
[T-Mobile LG G2x] bluenote73:
Listening to music with screen off would probably produce the graph you showed, but BBS is worth trying for general battery life education.
[T-Mobile LG G2x] saijaiantonio:
So In the fear of my question being lost in the posts

I am using Paranoid Hackfest V8 (I believe this is a 4.1.2 JB version) w/ wolfscript currently active. When I try to install Mazout's Stock Voltage Hackfest Kernel I would stuck on a boot screen with two LG logos side by side. I have tried to flash this kernel from a clean install after using AIO a couple of times with the same results.

Can anyone shed some light on what is going on? I would love to try the kernel but it just simply does not want to work :(.

Figured it out nvm
[T-Mobile LG G2x] n30wav3:
Nope that's the original cause of battery drain or PA hackfest roms
[T-Mobile LG G2x] Mazout360:
I did it, but noticed later that it doesn't even work. CPU governors are not compatible with this tegra2 kernel version...It is very old and the devs who worked on it (mostly arcee and faux123) did a wonderful job keeping it somewhat functional and updated.

EDIT : Sorry, misread the question. That's an idea, but this governor doesn't work because the CPU frequency drivers lacks the adequate functions for it to work properly. I can try tweaking Performance or Powersave, but integrating the smartassv2 algorithm in them is probably impossible. I'll see what I can do.

You used the kernel from the CM10 thread, which has this behaviour. This kernel will not go in RGBX8888 mode (AKA shows two LG logos side by side).

Redownload it from the first post and try again. It should work.
[T-Mobile LG G2x] Pain-N-Panic:
I was still receiving SODs with newest build. However, as with the last oc kernel it only occurred when i was connected to a weak wifi signal which when I'm in class.