yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Hard to think its a baseband issue. As it doesnt occur when the phone is awake. If we consider baseband it

will imply that radio gets disabled when the phone SOD... I dun think that's the issue as it worked on other kernels

Confused. Explain ur profile coutures
[T-Mobile LG G2x] TheCoutures:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I have the profile set where if the display is on and the phone is charging then it will time out the display at a set interval, on mine after a hour.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

And that wont SOD? Even if ur phone is not set to awake while charging?
[T-Mobile LG G2x] Mazout360:
For those with overnight BSOD...

Open the terminal and type "su", enter, then "cat /proc/kmsg > sdcard/kmsg.txt", enter. Open a second terminal window and type "su", enter, "logcat > sdcard/logcat.txt", enter.

Let it run in background. This should log everything I need to know to debug this stupid issue (in kmsg.txt and logcat.txt on your SDCard). Hopefully, if it does record something right before it SODs, it might point out to the cause of this issue.
[T-Mobile LG G2x] TheCoutures:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

No I set it to stay awake while charging but if I get a notification after manually powering the screen of it will time itself out on it's own.
[T-Mobile LG G2x] EEngineer:
Stay awake while charging causes SOD.

I'm using Mazout's 205OC. After battery calibration and five battery cycles I'm happy with the battery life and performance of this kernel. Powersave governor, Max CPU frequency 1.1GHz (I don't see a difference when faster). I have Pimp My CPU installed but I'm not using it.

I'm using Battery Monitor Widget Pro to monitor battery performance, current draw, and battery temperature. Multimedia performance is terrific.
[T-Mobile LG G2x] grantusmantus:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Using the latest version with rg2x MIUI. Running great. No SOD's overnight while charging. Battery life is excellent, even with WIFI::good::My reboot options even work as well as power down. No problems so far. Great work Mazout! Excited for the possibility of Ubuntu...?::fingerscrossed::
[T-Mobile LG G2x] BondForever007:
Thank you Mazout. 50 hours of battery life running CM7 with normal usage.
[T-Mobile LG G2x] hairycheapo:
50 hours!!! That's ludicrous.

I am seeing 6+ hours of mostly wifi screen time. Non-OC 0323 kernel, Temasek 135.4. So smooth. I tried the OC version too and determined I don't need to futz with it anymore.

Awesome work. Thanks!
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

U forgot one thing... that's in his NORMAL usage.... not sure what that means but I think if u use it as a feature phone not smartphone u can get 50 hours straight
[T-Mobile LG G2x] hairycheapo:
Thanks - I get what you're saying. "Normal usage" really doesn't tell me too much I guess. I've gone 4-5 days w/o charging too, but my phone wasn't being used much. I suppose I am not too impressed by "standby" or "deep sleep" longevity. As long as I am getting a strong cellular signal- and no rouge apps running in the background- I don't expect much battery drain... I also keep radios off (Bluetooth, 3G/4G data, WiFi) when not using 'em...

I shouldn't take that for granted though - So nice job minimizing stand-by battery drain on this kernel too!!!
[T-Mobile LG G2x] EEngineer:
I'm seeing some strange battery behavior.

Charged the phone to 100% last night then disconnected from charger.

According to Battery Monitor Widget Pro (BMWP) the phone shut down an hour later at 89%.

What's even stranger is that the voltage goes up and down during that time.

When I tried to power on the phone next morning, I discovered the battery was dead.

So I charged the phone, then turned it off when it reached 100%, 4189mV.

Turned it back on 1.5 hours later and the battery was:3919mV

According to BMWP.these voltages and battery levels were then recorded in five minute intervals:

3919mV 99% 2:02PM

4041mV 98%

4073mV 97%

4073mV 97%

4073mV 97%

4074mV,96%

4071mV 95%

4071mV 95% 2:37PM

Never seen this behavior before.

Battery voltage goes up, while percent goes down?
[T-Mobile LG G2x] Mazout360:
That is possible. Converting the voltage directly to a percentage would result in an erratic behaviour, like in the CM10 kernel. I don't know how it works exactly in the GB kernel but I think the percentage cannot go back up, so that's why even though it goes from 3919mV to 4041mV, the percentage drops by 1%. The driver probably calculates an average over time or something like that.

Still, I am surprised that your battery dies overnight. In my last tests I had 30, 24 and ~20 hours of battery time with normal-to-moderate use (chatting, internet browsing, tapatalk, facebook....) with my latest kernel, non-OC.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I believe he is on 205 as well. But I can say I didn't have that issue.

I had an issue where say battery 1 is 14%, so I swap to a known 100% battery 2, upon reboot battery 2 will show 14%. If I reboot again, sometimes it will jump to some odd % and another reboot will finally yield 100% for battery 2. To combat this I have to wait about a minute before inserting battery 2 into phone, or after pulling battery 1 pressing power butting 3x before inserting battery 2.

I have 3 batteries I cycle between and it does it no matter which battery is being swapped.

Odd.

I have not had a chance to check this on 323noDS yet.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] capncybo:
Battery length

Holy CR@P... Really? I guess I need a new battery as mine has never lasted that long... the most I ever got was over 17hrs & still had about 40% left but to be honest that was on kernel v205. I haven't even seen that long of a run-time with the newer kernel.

And yes I'm talking normal-moderate use also with long durations in deep sleep where the phone's screen is off & in deep sleep. (AKA: not awake)
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Just out of curiousity, do u guys sign out from fb messenger , yahoo messenger and gtalk when u r done? Also what about data or wifi? Do u guys turn those off once done?
[T-Mobile LG G2x] EEngineer:
I'm on 205OC. This is after I had posted I had terrific battery life :p

Before this, from a full charge I had 24 hours on the phone with battery at 45% with moderate use, which is fantastic. I charged to 100% and then saw this strange behavior.
[T-Mobile LG G2x] iLovPieNCake:
50 hours is possible, over the summer my G2x lasted 3 days. I rarely gamed, occasional calling and texting, no facebook and other "live" apps. Speed was set to 200-1100 except for the end of the last day, then I set it to 8xx. That was with faux's 054 uv/oc, I bet I could do better than that with this kernel but I'm back in college so I now use facebook, souncloud, play games, stream via google play, wonderlist and etc. I'll be lucky if my phone lasts till the night.

Update

Tried out the 0324 OC kernel, I wanted to see if there was a difference with the ram overclock, peripheral boost and etc. It seemed the same, had to double flash to fix lag. 2nd or 3rd day, I rebooted the phone to clear cache and it double rebooted itself, then bootlooped for a little bit. I rebooted, reflashed OC kernel, booted fine, was set to 1552 and was blazing hot. Quickly set it to 1100, tossed it in the fridge for a minute to cool down. Certain apps ended up getting corrupted, hence I am reflashing today with 03/01/2013 nightly, gapps and non-OC.

Also just wanted to note, bluetooth seems to work no problem, I had no problem streaming bluetooth music to my friends car using 218OC. I always update to the correct RIL for 21y. I am stating this because people said there are problems with the bluetooth on this phone.
[T-Mobile LG G2x] C-art-toon:
The bluetooth problem is for the calling issue, the music is not a problem at all, it's all about the call
[T-Mobile LG G2x] deathmaker06:
I've been getting frequent SOD on the newest kernel. It happens mostly when its charging. What I've noticed after discharging and charging it to see if i could pinpoint the problem is that it doesn't always get the % of the battery correctly. Only after a reboot occasionally will it get the correct %. For example, I had the phone charging once at around 19% off of computer usb and when I had checked it about 5 hours later, it was still at 19%. I rebooted it then and it immediately showed 73% right after.
[T-Mobile LG G2x] n30wav3:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Mazo n jackyl. This is for u guys incase u missed the post
[T-Mobile LG G2x] EEngineer:
I think my bad battery experience was due to a bad app. I had (don't laugh) The Pope App installed because I wanted to see webcams and streaming vids from the Vatican about the new Pope. None of that worked. I went to sleep with the app still open and WiFi connected and that's when my phone shut down an hour later. Uninstalled the app and battery life is fine.
[T-Mobile LG G2x] EEngineer:
Using 205OC, will I see any advantage if I use Pimp My CPU?
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Wifi is always on, sometimes GTalk. I don't use any other social media apps but FB and I have it's messenger disabled even when in the FB app.

The 323noDS that mazout gave me resolved my wifi woes and my battery readings issue has ceased. Battery life is somewhat decreased but that's to be expected with deep sleep disabled. Battery life is comparable to pre-mazout kernel era. lol But I am completely ok with that, I'd rather have the stability over battery life.

Sent from my glorified LG pet rock™

---------- Post added at 04:05 PM ---------- Previous post was at 04:04 PM ----------

I'm not quite sure what your asking. Too overclock and change I/O scheduler?

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] EEngineer:
Holy Hell

O.K., this is bad. G2X was at 45% battery. I turn on WiFi, look at the Weather Channel app. I put the phone down on my lap to read a paper. I pick up the phone ten minutes later and the screen is black as night. I never felt the phone vibrate and power off.

I press the power button, nothing. Plug it in the charger for a minute,press the power button - nothing.

Unplug the adapter, pull the battery, put it back in, power on. (Now, in the past on this battery 100%=4197mV.)

But now BMWPro says 3524mV (near empty) but battery meter says 100%. I cycle airplane mode, no change.

BMWPro logs for the past few minutes before shutdown say:

6:25PM 46% 3749mV 30°C

6:30PM 46% 3749mV 30°C

6:35PM 45% 3741mV 19.3°C

(at this point the phone had shut down and/or crashed)

I boot at 6:57PM and I now see

6:57PM 100% 3534mV 33.3°C

7:02PM 1% 3643mV 31.6°C

Based on the last time, the battery meter is messed up. I'm hoping the latest version is better.
[T-Mobile LG G2x] Darkknight512:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I have had my phone show 80% before a reboot and 50% after, probably the same issue.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I had issues with any mazkrnl after v0130 when deep sleep was added in. He gave me a link for a corrected v0323noDS kernel, the one in this thread will bootloop. This is a corrected one.

My sleep woes and battery issues were resolved with it. Check your PM for link, as it's not my place to post it publicly.

Give it a shot.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] grantusmantus:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I'm just "thinking out loud" here, but from reading your posts, it seems like maybe your phone doesn't play well with BMWpro?

Also why are you using an app like that? Specifically, why be THAT worried abt battery statistics? I'm not trying to bash, just have a curious mind.

If this is too far off topic I apologize.

Sent from miui
[T-Mobile LG G2x] EEngineer:
Thanks, I flashed it. Took a long seven minutes for first boot. Next boot was lightening fast. Seems snappier than 205OC

What exactly is "no deep sleep" and how is this kernel different from 205OC?

I use it for diagnostic reasons. For example, in this situation it helped me/us pinpoint the problem that the battery meter was inaccurate because the voltage readings and percent remaining didn't track. Otherwise, I could be tracking a rouge application.

It also allows me to switch states and the batterystats.bin file when changing batteries.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

deep sleep is the lowest power mode short of being powered off. sleep is screen off but active otherwise, like something is running.

Mazout360 keeps a changelog in the 2nd post of this thread for you to compare the differences. x.x.noDS is not listed, but no deep sleep is the only difference from the original 0323 variants.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] EEngineer:
So when does an Android phone use deep sleep?

Been through two power cycles with v0323noDS kernel. Touch screen is slightly less responsive and not as snappy as 205OC.

Also, occasionally I'll pull down the notification bar and it won't work (I get a strange scrolling of the notification bar instead), I'll have to pull it down a 2nd time.

Slight hesitation at times when playing my test video.
[T-Mobile LG G2x] Mazout360:
I never close anything. Gtalk/Facebook stays open and wifi/GPS too. No battery problems or BSODs at all yet.

This is not normal, but do not use BMWPro to report battery issues, please use "cat /proc/kmsg" in a terminal shell instead which should return the full battery stats from the driver directly.

The drop from 30°C to 19.3°C is somewhat weird, but the 100% after reboot is normal...When the device boots, it uses up more battery juice which messes up the capacity reading, so the returned value gets parsed with a 100% to prevent this.

I don't understand why you are having so much trouble..What ROM are you using ? did you wipe cache/dalvik and fix permissions ?

The new wifi driver has a deepsleep function that shuts it down after some time before the phone goes to sleep. Justjackyl needed a wifi driver that would not do this so I disabled this feature in the NoDS version.

Please get me a logcat/kmsg if you can. V.0323 should be snappier and more responsive once the boot is completed since the IO has been greatly improved. Personally I had no issues at all with this version yet, but the P999 seems to have a very erratic hardware quality so I'd be interested in taking a look into this lack of responsiveness, just to make sure it is not caused by the ROM or an app.
[T-Mobile LG G2x] EEngineer:
I'm very new to Linux and anxious to learn, so you are going to have to explain to me step by step what you want me to do with the terminal shell.

My ROM is in my signature, CM7 01-Mar-2013 daily.
[T-Mobile LG G2x] bluenote73:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Or you could google and learn something.
[T-Mobile LG G2x] capncybo:
Interesting Observation via setCPU

Hey Mazout360, I think I finally might have found what would ocassionally reboot or lock-up my G2X.

I've been playing with different custom kernels for some time now.

Your latest and greatest are surely the best kernels yet (Thank you).

However even with your newest kernel my phone would ocassionally reboot or lock-up & freeze.

I've been attempting to improve my battery life & achive maximum stability.

SO: I've tried to set SCREEN OFF profiles and such to the lowest settings like 216MHz & I actually underclock too.

The phone is still very snappy even when underclocked. (Thanks again).

Despite me telling setCPU or my CM7 ROM not to use the Highest Overclocked speeds from your OC'd Kernel.

Going into the INFO tab inside the CPU States section surprised me...

There were still moments where the phone attempted to run at the Highest Overclocked speed of 1.5GHz...

:silly: WTF???

Really, trying to run at the Maximum or Near Maximum frequency even though I said NO... Hmmmmm

So I re-flashed the less fancy more stock Mazou Kernel & went back into setCPU to check the Pie chart

Good News... All the Upper frequencies had a value of ZERO time spent in that state.

My phone has been running very well & I'm guessing the occasional attempt to run at maximum overclocked speed,

Could very well have been the culprit.

Hope this helps you & others in acheiving a more stable & pleasant G2X
[T-Mobile LG G2x] capncybo:
setCPU and this Kernel

Good question... I assumed the (remember on boot setting) was common or shared between setCPU & CM7 performance tweaks.

Just tested & it is not... Strange because when I change Minimum or Maximum frequencies in setCPU the CM7 CPU settings seem to change.

But if I change them in CM7 performance setCPU seems somewhat unaware???

Is this why you state that setCPU is Junky? Or because it sometimes gets stuck at a single speed & doesn't seem to change?

Anyways I will retry the fancy OC Kernel and make sure that inside the CM7 performance tweaks it is not set to (remember on boot).

But I must state that my Maximum frequency inside the CM7 CPU settings was DEFINITELY NOT 1.5GHz.

It was 816MHz.

So even if it was set to (remember on boot)... why should it have even tried to run at anything Higher?

Sorry for all the questions, but perhaps maybe you could share with us why you prefer Antutu CPU Master.

I'll likely give it a try anyways, but as they say J.J. Knowledge is King.

Thanks for the advice.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

I'm pretty sure by default the kernel installs @ max frequency, so after an install remember to bring the clock down.

As for SETCpu, it's going to come down to a matter of personal preference. I had poor experience using SCpu, and I found it's profile service consumed more resources than CPU Master Pro. Inaccurate readings, to inability to even read things such as governors.

I use Scpu on my tablet just fine, but my phone suxs using it.

Plus the widget on CPU Master is my favorite OC widget of any OC app out there.

View attachment 1853745

In the upper left is the widget, one tap opens a mini-oc panel without opening the entire app.

View attachment 1853748

The Cyanogenmod Performance Settings OC panel should basically be considered an app, and I do know that when you change a setting in CPU Master that Cyanogenmod reflects those settings as well, and vice versa. Let me know how the OC kernel runs, if you have issues, uninstall OC apps and adjust with Cyanogen settings, reboot and see if issue still exist.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] EEngineer:
I had read that the CM7 performance settings set the min and max frequency for the system, guess that is wrong.

So if I'm using Pimp My CPU, I shouldn't set the CM7 performance settings?

BTW, Pimp My CPU says Mazout v0323noDS doesn't support undervolting.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Both are seperate apps that do the same thing. They both set min/max frequency for the system. The standalone apps such as Pimp My CPU usually add extra features such as profiles, UV, and/or other kernel supported and related functions.

Use one or other, but not both. If there was better access to Cyanogen's OC portion I would just use it, but best I can do with it is make a custom shortcut to Performance settings, but than I still have to OK the dragon's ahead warning and still select the OC portion.

Hence why I love the One Touch OC aceess widget for Antutu.

Tap the widget, slide the slider up or down for desired min/max frequency, tab ok, done.

No other app has provided me that kind of quick OC/UC capability with the low overhead.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] EEngineer:
I just defrosted my SetCPU app and updated it. I had to go to CM7 Performance settings and reset my settings to get SetCPU to recognize the overclock frequencies.
[T-Mobile LG G2x] mansa_noob:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Try CPU tweaker.
[T-Mobile LG G2x] Mazout360:
To end this governor dilemma once and for all...

I checked the cpu frequency driver from Nvidia and it uses the older... ehm..."syntax" which only supports powersave and performance in this kernel. I don't know if I can do something about this.
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Ya, I was pretty sure it was a dead end on CM7.

Btw, 323noDS works great and took care of the wifi woes, so thank you again!

Loving this kernel!!

Sent from my glorified LG pet rock™

---------- Post added at 11:55 AM ---------- Previous post was at 11:46 AM ----------

Never tried that one. I'm just not a fan of setcpu on this device.

Heck, half the time setcpu loads it'd say driver, but could hop right over the.CPU Master and it worked fine.

The G2x is a fickle, fickle machine. lol

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] G2xer:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Well, I was on stock cm7 Kernel with occasional but not hindering BSOD. I installed your kernel and its not playing nice with my phone. I hate my g2x :/
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Which kernel did you try of mazout's? If 205 or greater, try 130 instead.

It is before maz started adding some good tweaks.

http://goo.im/devs/Mazout360/KernelP999/Mazouts_cm7kernelp999_0130.zip

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] justjackyl:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Hey guys that I gave out the no deep sleep version to.

I just noticed that even though OC apps will let you adjust and apply different frequencies , under closer examination the kernel actually DOES NOT OC and spends 0% time in any frequency over 1GHz, my bad and misunderstanding. I'm going to talk/ask maz for a no deep sleep OC version and see if he would be kind enough to oblige.

Sent from my glorified LG pet rock™
[T-Mobile LG G2x] mansa_noob:
Re: [KERNEL][CM7/9] Custom Gingerbread kernel [2.6.32-60][V.0323]

Hi Maz, a dumb question here. I see that one CPU goes offline when not needed to save power. Does the GPU go offline too? I would imagine we don't need it when the screen shuts off, at least not in the highest power/frequency state.

Is there any GPU power management and would it be controlled by the kernel?
[T-Mobile LG G2x] Mazout360:
Don't worry there's no "dumb question". XDA is also for learning after all.

This function is called CPU hotplug. Since we have a dual core in our device, the second CPU (named CPU1) shuts down when not required but CPU0 stays on (else the phone would BSOD...hmm I wonder if that's the reason why it keeps crashing on some kernels...)

The GPU management from the GB kernel is quite archaic. I can take a look into this and see if there's something to do to save power there, but I don't think you could just shut off the GPU every time you close the screen without having some issues. Maybe someone else could give you a more complete answer concerning this.

Sure!

So here's the "noDS" version of this kernel. The only difference with the base kernel is that the new deepsleep function (from the newer JB wifi driver) is not enabled. This function would normally shut down wifi when the screen is off, so if you need to keep wifi on use this. Of course, this will affect battery life.

CM7 - Stock voltage - NoDS : http://goo.im/devs/Mazout360/KernelP999/Mazkrnl_0323GBnoDS.zip

CM7 - Full overclock (RAM/GPU/CPU) - NoDS : http://goo.im/devs/Mazout360/KernelP999/Mazkrnl_0323GBOCnoDS.zip
[T-Mobile LG G2x] justjackyl:
awesome!!! super thanks!

"Anyway thanks again, whoever that interesting person is under the pseudonym justjackyl"--adamiscool