yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Paschalis:
had the same issue, when i was messing with framework-res.apk ..

i did restore, via Tenfars recovery..

if you made a working backup before, you can advaced restore, and restore only your system..

i dont know if there is a better method.

eg to restore your backup of libaudio.so via adb.. i would be great ;)
[Atrix 4G Android Development] eval-:
Hum? You just did the same exact steps via root explorer instead of adb and the result is a hang on boot? Were you on 1.5.7? If you have clockworkmod I can whip up something quick to try and help you, but you need to have a micro sd card. This is assuming that libaudio.so is why you cannot boot, but I didn't realize it was loaded quite so early, I've done very early mods and my hangs come during the "rethinking possible" and I have no LED activity. PM me if you have CWM.
[Atrix 4G Android Development] eval-:
So you think another mod made you hang, not this libaudio, right?

I don't think there is a better method but I could make a restore-audio.zip for you to run from Tenfar's CWM. (Perhaps I should've done this before posting!)
[Atrix 4G Android Development] fincan:
I don't have CWM on the phone. Guess I am hosed haha. Oh well.
[Atrix 4G Android Development] ytwytw:
Can I apply this to Bell Atrix?
[Atrix 4G Android Development] eval-:
Is Bell Atrix unable to use skype? You can try but why don't you first install Tenfar's CWM and PM me if you have any issues... are you rooted? CWM is very useful to have. I can build a recovery zip for you in case it fails and you can put it on /sdcard before you try the libaudio hack.
[Atrix 4G Android Development] fincan:
Can I load CWM via NVflash as explained in this link:

http://xdaforums.com/showthread.php?t=1047792

And recover with a script? Or do I need a fully booting phone to install CWM via NVflash?
[T-Mobile LG G2x] flak0:
Hey everyone I know some of us have been getting some battery drain issues. I decided to watch the logcat and noticed something very interesting. If you look at the logcat below you will notice that GsmDataConnection Tracker is set to poll every 1000 milliseconds. The battery is probably taking a toll as the CPU is being polled. Can anyone chime in. In previous android devices mainly HTC I never saw GsmDataConnection Tracker. I would normally see a GC action and then logcat would stop when idle.
[T-Mobile LG G2x] baldwinguy77:
This seems like a good place to investigate...since I have started using my G2X, the main source of battery usage (according to Android) is 'Cell standby'. This is the case even if I'm connected to WiFi all day AND using the WiFi calling feature. With both of those enabled, the phone should barely be using the cell radio at all. In all of my past Android devices, 'Cell standby' has never been the main source of battery drain.
[T-Mobile LG G2x] crazythunder:
i run logcat and see gsm data connection tracker just keeps on going and going forever it seems.
[T-Mobile LG G2x] flak0:
Guys we may be on to something here. Now to figure out what apk handles this.
[T-Mobile LG G2x] dj75728:
Ditto. Yesterday my "Cell Standby" had used 56% of my battery (Was at about 20%). My theory thus far was that perhaps if we could get 4G to turn off while asleep it would fix a lot of battery drain, but I'm glad you found this OP, may be the start of fixing this issue.
[T-Mobile LG G2x] doniqcc:
It has nothing to do with what are you talking above I bought 2 g2x's one for myself and one for my brother, mine never had problem still doesn't it's better than my nexus s. On the other end my brother's phone drained battery 10% every 15 min , so he went back to T-Mobile exchange his phone got a new g2x problem solved great battery life.

I think some devices have battery problems and some don't.

Anyway I hope this helped and this post should have been under general not development.
[T-Mobile LG G2x] flak0:
I agree. While looking around in the hidden menu I noticed engineering mode is on. Also our data rates are fast because we are at hsdpa category 10 .. I'm trying to pin point what apk is responsible for the gsmdata connection tracker.
[T-Mobile LG G2x] jluna1:
My cell standby has never been lower than 47% since I got my G2X.
[T-Mobile LG G2x] baldwinguy77:
I would imagine that this would be handled somewhere in the framework rather than a system app, but I could be wrong. Once someone does find it, I would imagine that it would be pretty simple to make this event occur less often.
[T-Mobile LG G2x] Hooride707:
What a comment after they showed proof.
[T-Mobile LG G2x] DebauchedSloth:
Wifi Calling does this. When I switch it on, I get the tracker messages. Switch it off, they go away.

Color me completely not shocked. I am certain it's a battery suck.
[T-Mobile LG G2x] flak0:
Actually I believe it should be under development as it is impacting the system and a potential fix needs to be developed. I am sorry if ur one of the lucky ones who isn't being impacted however logcat does not lie and neither does cell standby at 55%
[T-Mobile LG G2x] flak0:
Interesting. I used titanium backup to remove wifi calling though right when I rooted the phone. Now I'm confused. Can u post a logcat?

Edit: the minute u turn wifi off the messages come back.
[T-Mobile LG G2x] xspeed9190:
just checked all the android phones in my store. G2 was at 19% battery used by cell standby, Galaxy s 4g 21%, mytouch 4g 23% and the g2x 53%.....

we are definitely on to something
[T-Mobile LG G2x] dj75728:
This Seconded.
[T-Mobile LG G2x] flak0:
Yes we are. We need to get a Dev in here to check it out. I saw maxisma post in the forum. I'm wondering if the O2x user's are also impacted.
[T-Mobile LG G2x] DebauchedSloth:
Not much to see there. w/Wifi calling on, I get those GSM signal strength messages (coming from com.android.phone, interestingly enough). With it off, they disappear.

I have wifi calling off, obviously. My cell standby shows 30%.
[T-Mobile LG G2x] k0shi:
Wow battery life is gonna be great once we can find a fix cell stand by its definitely the culprit

Sent from my rooted G2x
[T-Mobile LG G2x] xspeed9190:
Yesterday i noticed somethign strange. I looked at my phone and over the course of 30 minutes it droped 10% just when i was checking the batter not using it. Then i put wifi on and used pandora for an hour and it only killed 1%.

Now im in a tmobile store and i have a 4g tower next to me. I randomly get no service and my cell stand by is 50-55%
[T-Mobile LG G2x] flak0:
Please provide screenshots and logcat
[T-Mobile LG G2x] flak0:
This GSM tracker seems to be an engineering mode of some sort connected to com.android.telephony
[T-Mobile LG G2x] electric33l:
Sent a tweet off to cyanogen. Might be something he encountered during his port. Anyways he should know about it.

By the way, I want to thank everyone on this forum, it has been an excellent source of information for dealing with my first android phone! g2x all the way.
[T-Mobile LG G2x] flak0:
Welcome to the world of Android buddy. Thanks for tweeting the Android God btw. Hail Cyanogen lol
[T-Mobile LG G2x] Mr. Clown:
Thread moved to proper forum.
[T-Mobile LG G2x] nate420:
thanks clown!

gotta keep that development section CLEAN!
[T-Mobile LG G2x] schmit:
you guys rock.. nice job OP
[T-Mobile LG G2x] flak0:
Dude this is development. Its about developing a fix for the battery drain issue.
[T-Mobile LG G2x] flak0:
Thanks pal.
[T-Mobile LG G2x] pinbak:
I just downloaded aLogCat app and it shows nothing but that GsmDataConnectionTracker over and over and over and over and over and over and over.....................

I did do the factory reset on mine thursday night, let my battery run down, charge to full, let my battery run down again charge to full and still get battery life that drops rapidly with the phone in standby sitting on my desk.
[T-Mobile LG G2x] flak0:
It is safe to say that GSMDataTrackrer is the culprit. I'm wondering if we push a phone.apk and com.android. telephony.apk from aosp froyo will it help or I'd this directly in the framework?
[T-Mobile LG G2x] DebauchedSloth:
I just grepped the entire CM tree looking for GSMDataTracker, and there is none to be found.

Now, it could have been lost on the way to gingerbread, but I am guessing this is an LG addition.

That's a bit worrisome as it's also not to be found in the LG Android GPL dump.

It would appear that their dump is potentially not complete.
[T-Mobile LG G2x] DebauchedSloth:
By the way, the software on this phone just screams "INCOMPLETE".

Kineto is such a messy logger that CM did work to hide it. I'm surprised this hasn't been cleaned up yet.

But start a logcat and open a browser window then start playing with it. Just touching the browser spews all kinds of log crap.

That isn't helping performance or battery drain even one tiny bit.

I am so looking forward to CM7.
[T-Mobile LG G2x] k0shi:
I think it has something to do with 4g. All I did was change the setting's so its "gsm only" and now my battery life is amazing!. I know 2g saves battery but i did not think it would be this big of a difference

Sent from my rooted G2x
[T-Mobile LG G2x] electric33l:
just from observations while using the phone and the lolcat-

I believe there is a definite issue in how the phone accesses HSPA+. This has almost everything to do with the crapware Tmo has installed on the device. The problem is, even freezing these apps doesn't solve the problem. Apparently they start running themselves again. This is, i believe, the root of the reboots and freezes people are experiencing. It seems that the T-mobile apps also try and use HSPA+ no matter what, even if Wi-Fi is enabled, another source of conflict.

This all stems from the fact that the g2x isn't running stock android at all. Curious to see how this is all going to get worked out, but suffice to say I'm awaiting CM7 with bated breath.
[T-Mobile LG G2x] graffixnyc:
I think it might be an android software issue. I have a dell streak 7 that also runs froyo. I do not have a data plan(I just use wifi only) If I have the radio enabled(not in airplane mode) and have wifi on and NO sim card in the slot I get Cell Standby in my battery usage which you would think would be odd since there isnt even a sim card in the slot. If I put the tablet in airplane mode then manually switch on wifi then cell standby doesnt show up in my battery usage. So it seems like the G2X has a similar issue maybe, which leads me to believe it's more of a froyo thing maybe? possibly? shrugs..
[T-Mobile LG G2x] Chance Ill:
Battery drain 20% in less than an hour! Love the phone, but this is a major problem. Not to mention my backlight issue......

G2Xhttp://www.youtube.com/watch?v=S8RCWQINUvs&feature=youtube_gdata_player
[T-Mobile LG G2x] crock2569:
I uninstalled WIFI calling and the t mobile app pack with root explorer and this has helped my battery big time even with 4g on all the time.
[T-Mobile LG G2x] flak0:
Can you post a logcat?
[T-Mobile LG G2x] electric33l:
It would be advantageous if we could get logs from some of the people in this thread.

http://xdaforums.com/showthread.php?t=1045616
[T-Mobile LG G2x] schmit:
soooon.. http://www.youtube.com/watch?v=i1Jd8csB5go
[T-Mobile LG G2x] wmm:
Various comments in this thread have implicated wifi calling. I'm not sure that's really the case.

The first couple of days I spent a lot of time playing around with the new phone, and I definitely was underwhelmed with the battery life, although it wasn't a critical issue to me; I knew that I was using the phone a lot more than I normally will.

Today was a much more usual day: a little web browsing, sent a text, checked a few other things online, but most of the time the phone was off and in my pocket. I have lousy signal strength inside my house, so I have wifi calling on all the time. The battery drain today was actually quite good: I went for 7 hours off-charger and the battery level was still at 83%. That's certainly more than acceptable to me.

One other observation: when I have wifi calling enabled, the phone puts itself into GSM-only mode (Network mode is set to "Preferred network mode GSM only", "Use only 2G networks" is checked, and Phne info shows Network type as GPRS, with GPRS service shown as "disconnected"). This all reverts to my usual 4G setup when I leave the house and no longer have a wifi connection.

I don't have a logcat at the moment, sorry.
[T-Mobile LG G2x] flak0:
I concur also that by simply connecting to a wifi.network disables the gsmdataconnection tracker bug.
[T-Mobile LG G2x] DebauchedSloth:
I don't.

I didn't have it anywhere in my logs, enabled Wifi calling, got it, turned it off and it went away.

Then just now, I just had wifi calling enabled for a few hours and didn't see it once.

Very weird.
[T-Mobile LG G2x] flak0:
Hmm did u factory reset ur device at any point?
[T-Mobile LG G2x] DebauchedSloth:
Nope, I did not.
[T-Mobile LG G2x] flak0:
Post a logcat please
[T-Mobile LG G2x] dagaetch:
I've just confirmed on mine that on wifi, with sleep disabled, the battery life is great, but the second I switch off wifi battery life drops drastically. I used titanium to freeze wifi calling, so...

How do I do a logcat? be happy to help out with finding a solution to this, the battery is the only problem I have with this phone, it's otherwise abso-frickin awesome.
[T-Mobile LG G2x] flak0:
I concur. Dude goto the market and download alogcat then save the logcat open the file it creates on the sdcard/alogcat and copy and paste
[T-Mobile LG G2x] DebauchedSloth:
Uh. Okay. Here's the logcat that shows nothing. Enjoy.
[T-Mobile LG G2x] dagaetch:
Ah, gotcha. I'm too new to use links - what part of the file should I quote here?

nm I'm an idiot - files attached. First is with wifi on, second is with 4g
[T-Mobile LG G2x] GavinMazey:
My friend is actually having the same problem with his unmodified htc droid incredible. I was thinking maybe it could be a similar problem but im too lazy/busy to do the research. Just thought they might have a fix of some sort that could help us.
[T-Mobile LG G2x] DebauchedSloth:
BTW, just to be clear, I have no issues with battery life, and I have cleared all kinds of crapware off of the phone (MyAccount, the LogMeIn stuff, Zinio, etc.)
[T-Mobile LG G2x] jrwingate6:
I think I have a fix and it will be coming shortly in a separate thread. My cell standby was showing 50-70% for the first day I had the G2x. I now have it under "Display" which should be at the top with normal use. My cell standby now uses between 15% and 27% depending how much I use WiFi. I also got my device to turn data service off while on WiFi which it wasn't doing when I first got it. Upon turning Wifi off or going out of range of WiFi my data now kicks back in automatically. Before I had to reboot.
[T-Mobile LG G2x] runderekrun:
Awesome dude, lets us know.
[T-Mobile LG G2x] myplague:
Has anyone figured out what the lge.omadmclient app that is always running in the background?
[T-Mobile LG G2x] schmit:
Funny, I was going to post the exact same thing. After watching this thread, I decided to keep an eye on the phone after my charge this morning. I also have zero signal in the house, so I had wifi calling on all day today. The same results. I just looked, after 7hr38min of being unplugged, I'm at 83%.

I had minimal usage, a few txts, a couple of calls. The wifi and cell standby were running neck and neck in alignment all day long.. 30%.. 35%.. then up to 41%. I just got off of a very long call, and the standby and wifi are both still neck and neck now, but down to 21% with voice calling up in the 40s.

This is my 3rd full charge. I try to use the application killer, but the stupid apps keep coming back.. so I have pretty much had all that crap running. I just looked, stupid maps, car something, and something else was running.

So idk.. I have all the crap running, wifi calling on all day, etc. No probs either.
[T-Mobile LG G2x] short/y:
And what about that logmein client that's running too?

Edit: sorry. Just checked again. It's not running but it's present. Used ADW Ex custom shortcut and saw it's there. What's com.logmein.rescue doing there? Is it part of another app? Doesn't show up in apps.
[T-Mobile LG G2x] jlevy73:
There's a great app you can download from the market called Watchdog. It monitor every process/app against cpu usage. This comes in handy when you have 100+ apps installed and are trying to find that one which is killing your battery.

Anyway, I just took a look at it and Wifi calling is taking up about 3% of the cpu usage. That's the highest abuser of cpu usage by far. Typically you won't see anything above 1%. The interesting part is that I have wifi calling off. So the fact that it's getting pinged every 5 seconds can't be good on battery life.
[T-Mobile LG G2x] mikea3000:
The first day i had this phone after a full charge i barely got 5 hours out of it with very minimal usage. After a few charge cycles i can get through a day with moderate usage. The big issue is the cell standby and phone idle. If we figure out what is totally abusing some process on the phone, i think we can get pretty decent usage ouf of the battery. My other battery killer is the bluetooth radio, it also get into the high 30-40% usage. I like to leave it on all day because i am in and out of the car many times a day, on my old mytouch 4g, both bluetooth and cell standby never went over 5%. This is totally abnormal.
[T-Mobile LG G2x] hardbrew:
Thanks for the tip. I installed Watchdog and noticed the same thing about Wifi Calling and I have it set to off as well. I just froze it with Bloat Freezer, so I am hoping that it will help. I think Wifi Calling is a great app, but I would only use it when I am traveling and have no service.

I am happy with the battery life now that I have froze a good majority of the crap that T-Mobile preinstalled. I think with some software tweaking this will be a very nice phone.
[T-Mobile LG G2x] worker1:
Could it be one of the T-Mobile apps like "My Account" polling for data usage?

Cell standby: 25%

I just changed my wifi sleep policy to never. Bluetooth: 23% That's not normal.

edit: telenav gps navigator service stays in the state: restarting

I'm losing about 10% an hour doing nothing.
[T-Mobile LG G2x] hanged_man:
alogcat is still showing gsmdataconnectiontracker even after doing factory reset. I'm thinking od rooting my phone and removing all the bloatware, however incase I unrooted and did a factory reset, will these apps (T-Mobile bloatware) return? Just asking incase I had to return the phone to tmobile and avoiding getting into any trouble with them
[T-Mobile LG G2x] player911:
First day I got my G2x I rooted it and installed Root Explorer to delete all the Tmobile crap and stuff.

The only thing I left was the Nvidia store and WiFi Calling. I think battery life is great on the G2x compared to my N1.
[T-Mobile LG G2x] sm0k3duxx:
So after doing a hard reset still seeing the gsm tracker continuously poll. Battery drains about 10% every hour with no use. Tried everything deleted all the crap tmo bloatware, did a hard reset, drained the battery and charged it over night, disabled gps, set screen brightness to a low setting. I did notice battery was decent when on wifi.
[T-Mobile LG G2x] baldwinguy77:
Out of everyone who has posted here about battery problems (especially with 'Cell Standby'), who skipped the initial setup and Google sign in?
[T-Mobile LG G2x] Profondo_Rosso:
Update after reset: 19 hours off charger, 20% remaining with normal use,WIFI on, live wallpaper running, gps and syncing two accounts.

Now that's what I like to see!
[T-Mobile LG G2x] baldwinguy77:
Awesome! What exactly did you do to get the battery life up so much??
[T-Mobile LG G2x] jlevy73:
I'm at 15hrs with 28% left. Moderate usage, some gaming, wifi, gps, BT enabled with k-9 checking 3 accounts.

Yes, I went through the initial setup
[T-Mobile LG G2x] flak0:
I also did not skip the setup.
[T-Mobile LG G2x] hanged_man:
Were you connected to 4g/hspa+ all the time? Did you do anything special that might help us? Has anyone rooted and removed all the bloatware noticed any improved battery life?
[T-Mobile LG G2x] flak0:
Removed all bloatware and the only culprit left is GSMDataConnection Tracker polling every second
[T-Mobile LG G2x] superevo89:
Can you list the names of the what you deleted in system/app
[T-Mobile LG G2x] aray213:
BAttery

I have noticed with wifi off I lose about 7% an hour and with wifi calling on I am only going down about 2% an hour with the same usage.
[T-Mobile LG G2x] dalepa:
Installed "process monitor widget" to watch the logs and "battery monitor widget" to watch the battery (great tools btw)

Discovered by (process of elimation) that my tweetcaster app was causing my battery drain, however I don't believe it's the root cause...

I live in a 4g poor area where there is a 4g signal, however depending on where I am in the house determines if 4g stays connected...

So, this is what I found....

1. I always have wifi connected...

2. After my phone was idle for 30 minutes I opened the market, and within a few seconds 4g icon appeared and tried to connect to 4g... Failed and dropped to 2g

Took a look at the logs and it's saying "connectivityservice (xxxx) getActiveNetworkingInfo() returned 1" several times in a row when the market started

So it appears that wifi is going to sleep after some time and not waking up quick enought, or "my account" is triggering some problem when it forces 4g and doesn't turn off wifi.

Anyway, I'm pretty sure that this 4g/wifi on at the same time causing a chain reaction, and for those is bad 4g areas our batteries are being sucked dry.

I do have wifi sleep policy turned to never, so the question is why is it sleeping in the first place?
[T-Mobile LG G2x] aray213:
Battery

Dont know if this helps at all or not. After waking up and having done a factory reset last night and allowing the phone to charge this is what I got today. At first I did not have wifi on and noticed substantial drop in battery (about 7% an hour) After I turned the wifi on battery use dropped down to about 1.5-2% an hour.

I left my house for about a half hour at which point the battery use went down dramatically. After returning home I noticed the wifi did not come back on and the battery temp started to become warm. After about 10 more minutes the phone reset itself.

When it started back up the wifi was now on and the battery usage had dropped back down to an acceptable amount.

I am attaching an image showing the battery usage.
[T-Mobile LG G2x] schmit:
I'm just over 20hrs, 30% remaining.. I skipped the initial setup because I was at the tmo store getting my new sim in. I did run the initial setup after the fact tho.

Removed no apps so far but I'm using ATK often. Not a lot of usage on the phone... Handful of txts, around an hr browsing, reading a few emails, checked FB a few times, and around 8 calls. Majority of the time I've been on wifi and wifi calling. When not, I was in 4g.
[T-Mobile LG G2x] Profondo_Rosso:
Factory reset. I also went through the initial setup. (though I did when I first got the phone as well)

The factory reset most definitely works.
[T-Mobile LG G2x] flak0:
one of the members that posted (forgot his name) mentioned he was formulating a fix for the GSMDataConnection Tracker issue. any updates?