How to stay logged-in to Google Talk? - G1 General

Greetings Experts,
I can log in to Google Talk, hit Back to go back to the home screen, then go in to Google Talk again and I'm still logged-in.
However, if I check again later on (few mins, few hours), it logs in again. This means the app was not even running and I was not logged-in to Google Talk.
Question: How do I stay logged-in to Google Talk all the time?
I'm running Cyanogenmod v4.2.13 dated Jan 13, 2010.

Go to a terminal and type "netstat". If there is a line that says "5228 established", then you ARE LOGGED IN.
The application itself does NOT need to be running in order for you to be logged in.

didn't last overnight
lbcoder said:
Go to a terminal and type "netstat". If there is a line that says "5228 established", then you ARE LOGGED IN.
Click to expand...
Click to collapse
Thanks for the info, you know your stuff. I let it sit all night, then just checked it now:
Code:
netstat | grep 5228
Got nothing. Opened the app, it logged me in again. I go back to the terminal and check again and 5228 is in the list and ESTABLISHED. I wonder if there is a timeout in effect here?

Do you have all your google services set to auto-sync? I.e. are you receiving push gmail? Because this stuff all shares the connection over 5228.

still connected!
lbcoder said:
Do you have all your google services set to auto-sync? I.e. are you receiving push gmail? Because this stuff all shares the connection over 5228.
Click to expand...
Click to collapse
Yes, auto-sync is on (never changed it). I just checked the netstat report and 5228 is still there, and I haven't touched the Google Talk app since yesterday morning. Seems to still be working. <shrug>?

Maybe just a network glitch...

Use another program, that has Google talk in it, like Meebo, eBuddy, Palringo, they have options to reconnect automatically, and notifications on the taskbar.

Android kills processes when it runs low on memory, even if they're a Service like this.

paulspiteri said:
Android kills processes when it runs low on memory, even if they're a Service like this.
Click to expand...
Click to collapse
Is there a way to have Android make an exception so that it does not kill the GTalk process?

jedihawk said:
Greetings Experts,
I can log in to Google Talk, hit Back to go back to the home screen, then go in to Google Talk again and I'm still logged-in.
However, if I check again later on (few mins, few hours), it logs in again. This means the app was not even running and I was not logged-in to Google Talk.
Question: How do I stay logged-in to Google Talk all the time?
I'm running Cyanogenmod v4.2.13 dated Jan 13, 2010.
Click to expand...
Click to collapse
I'm having the same problem running cyanogen...i think it may be the rom but i really hope thats not the case...i've been looking all over for a solution and i havent really been able to find one. I think what ever the problem may be its also causing me to receive my emails from gmail much later...sometimes i wont receive an email untill the next day. If anyone knows of any fixes then please help out

Known Issue
OP,
This is a known issue with the Cyanogenmod build
You can read more about it here at the cyanogenmod bug tracker and star it! This will help get the priority of the problem raised and hopefully solved.
Please check this out:
http://code.google.com/p/cyanogenmod/issues/detail?id=913
DZ

Related

Facebook constantly logging out today?

I know we have an issue where Facebook randomly logs out, but is anyone having an issue today where it consistently refuses to stay logged in? If I log in it tells me I have done (little green light), then if I exit settings, go back in, go to Social Networks I'll already logged out.
Anyone else?
yes, i'm getting the same - thought it was just me!
Ah, I'm glad it's not just me!
it's the first time i lost my facebook connections just a few minutes ago...prior to today i never had any issue with staying logged in...but it seems like this bug has finally reached me too
blah it just happen to me now, every time i try to log in it logs me back out... what to do...
I do hope that facebook hasn't denied access from hero devices? that could be a big problem for htc
ultradv said:
I do hope that facebook hasn't denied access from hero devices? that could be a big problem for htc
Click to expand...
Click to collapse
They wouldn't do that would they? And I'm guessing the info just comes from the API whcih is widely available.
yeah this must be a general API issue, which will be fixed some time by facebook. i wouldnt worry to much, just wait...
Phu... I'm glad to hear that you guys are also affected
I spent some time last week to 'debug' this problem.
The thing is that we lose the session_token in /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db.
You can check it with the following command:
Code:
adb shell sqlite3 -column -header /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db "SELECT * FROM service WHERE service_name='facebook';"
So I generated a 'backup' of the SocialNetwork.db (working one) file (to /sdcard) to dump it back if needed:
Code:
adb shell cp /data/com.htc.socialnetwork.provider/databases/SocialNetwork.db /sdcard
Now every time I lose the associations I have to do the following (I wrote a little .apk file):
Code:
adb shell cp /sdcard/SocialNetwork.db /data/com.htc.socialnetwork.provider/databases/
adb shell pkill com.htc.socialnetwork.accountmanager
adb shell pkill com.htc.provider
This works for me. But unfortunately somtimes after dumping back the 'working' SocialNetwork.db file I had to run the pkill commands (especially for com.htc.provider) more than one time. Don't ask me why. Thats also the reason why I can't provide my .apk file. Its really not a 'good' or 100% working solution.
Do you guys know if HTC/Facebook is already aware off this problem?
Same here! It refuses to stay logged in!!!
facebook has been having many general problems recently, seems like we just have to weather the storm.
Happened to me from 3PM today (2PM GMT) time - thus about 3 hours now.
I've lost all my Facebook contact links and info eg. pictures and updates.
It seems to be connected with the legal dispute that Facebook have just settled/lost as of today: http://www.pcworld.idg.com.au/article/319250/facebook_will_shut_down_beacon_settle_lawsuit and http://answers.yahoo.com/question/index?qid=20090920194937AAF8sJD
Apparently facebook are making system changes to their advertising backend configuration and this may be the reason.
Really hope it's back soon ...
domi55 said:
Phu... I'm glad to hear that you guys are also affected
I spent some time last week to 'debug' this problem.
The thing is that we lose the session_token in /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db.
...
Code:
adb shell cp /sdcard/SocialNetwork.db /data/com.htc.socialnetwork.provider/databases/
adb shell pkill com.htc.socialnetwork.accountmanager
adb shell pkill com.htc.provider
This works for me. But unfortunately sometimes after dumping back the 'working' SocialNetwork.db file I had to run the pkill commands (especially for com.htc.provider) more than one time. Don't ask me why. That's also the reason why I can't provide my .apk file. Its really not a 'good' or 100% working solution.
Do you guys know if HTC/Facebook is already aware off this problem?
Click to expand...
Click to collapse
Same Facebook connection problem here!! So, I try your method.
Well, after reinstalling the SocialNetwork.db file from my backup and killing related process, Facebook connexion work again!!! I just need to resync my contacts with FB.
But, one or two minutes after, Album app lists my FB contact, but this app can't display one contact galery and request my FB account setting.
After that, going in Contact app clear my FB association and the database was reduced from ~300KB to ~30KB!!!
I am no at the same point! FB connectivity was lost today!
Hope FB will work soon!
regards,
David
I have the logging out issue too.
At 1st I thot is because I had installed the FaceBook Apps from the market place thus causing conflict with the HTC scene FaceBook.
But seems like most of the ppl also getting the same logging out issue. Did anyone of you having this issue without installing the additional FaceBook apps from market place?
In order to keep myself logged to Facebook, the only way for me now is to disable Auto-Update. This able me to keep my Faceboob contact Photos, album access but it will not do Auto-update. I wonder if Facebook or HTC know about this bugs or not.
Hello
Since 10pm yesterday, FB seems to work again. So it was a server side problem. The only thing lacking in our Hero is a good error message, I think.
Bye
David
hyde said:
I have the logging out issue too.
At 1st I thot is because I had installed the FaceBook Apps from the market place thus causing conflict with the HTC scene FaceBook.
But seems like most of the ppl also getting the same logging out issue. Did anyone of you having this issue without installing the additional FaceBook apps from market place?
In order to keep myself logged to Facebook, the only way for me now is to disable Auto-Update. This able me to keep my Faceboob contact Photos, album access but it will not do Auto-update. I wonder if Facebook or HTC know about this bugs or not.
Click to expand...
Click to collapse
i can't seem to attach a facebook photo to my contact, i've given up
I noticed that Facebook on my PC constantly logs me out as well, so it may be a general issue with Facebook, rather than anything to do with Hero or mobile access..
Unless there is some issue with being logged in on both Hero and PC? Would they clash, and force one to log out maybe?
Its a SpaceBook problem...
http://www.macworld.co.uk/digitallifestyle/news/index.cfm?RSS&NewsID=27229
seems to work again now.
the good thing is, i didn't have to assign the contacts to their FB accounts again. After logging in everything was as before! cool!

Help: Evo not syncing GMAIL

Hey,
I have had my Evo for a week or so now, and LOVE IT. For some reason it all the sudden has quit syncing my Gmail Emails. If I manually open my Gmail account, and click Refresh under Menu, it will download the new emails. Other than this, its not syncing them.
I have double checked under the Sync Settings in the Settings area, and they are all set to sync.
What have I done, or not done to make this happen?
Thanks,
Bryan
bry21317 said:
Hey,
I have had my Evo for a week or so now, and LOVE IT. For some reason it all the sudden has quit syncing my Gmail Emails. If I manually open my Gmail account, and click Refresh under Menu, it will download the new emails. Other than this, its not syncing them.
I have double checked under the Sync Settings in the Settings area, and they are all set to sync.
What have I done, or not done to make this happen?
Thanks,
Bryan
Click to expand...
Click to collapse
Mine started doing the same thing today. Have you rooted/flashed a new Rom? I am rooted and running Fresh .3.
Stock rom, but I have run Unrevoked Root program. Thats all I have other than the stock rom, and a ton of programs.
Bryan
I noticed this today as well. I thought it was just me! It seems to happen regardless of whether I'm on 3G or Wi-Fi. I'm running stock 2.1; no root. It worked perfectly from day one, and I only noticed it today. For some reason, I don't think the phone is syncing with the Google... or GMail isn't pushing it out to the Evo.
Yeah, same here. Tried playing with various settings - was syncing this morning, then quit around 10:30-ish. I'm assuming it's something on the backend and not a problem with the phones.
Yea, I am thinking the same thing, something with the Gmail Servers, if I am not the only one having the problem.
Figured it might have been something that I had installed, but I guess not.
Maybe a google techy will figure it out for us.
Bryan
ortizdupri said:
Yeah, same here. Tried playing with various settings - was syncing this morning, then quit around 10:30-ish. I'm assuming it's something on the backend and not a problem with the phones.
Click to expand...
Click to collapse
yep, same here. not worried about it, it'll be back
I'm glad we got this thread started. I was beginning to think I was going crazy, or my phone was at least. The last thing we need is another "problem" occurring with our phones.
Is it ok that knowing you all have the same problem makes me feel better? haha
I also noticed that my Google Account (Menu>Settings>Accounts & Sync>Google) hasn't updated in a few hours since giving it time to "work itself out." I know that if I update it manually, it'll push the Gmail through, but I don't understand why the Google sync would just stop updating on its own.
Just giving an update.
Didn't seem to get Gmail to sync today. I don't know whether this problem is isolated to a select few of us but I wanted to fix this and just resorted to resetting Gmail. I followed the instructions here, and it's been working as it should for the past few hours... I hope it lasts...
Directions: (Edit, I'm unable to post links so here are the instructions)...
Troubleshooting: Problems with sync
On Android devices, the Gmail application is automatically synced with the Gmail server, and vice versa. If you experience problems with syncing, try clearing your device's Gmail application data and doing a fresh sync with the server.
Just follow these steps:
1. Press your device's < Home > button, then press < Menu >.
2. Select Settings.
3. Select Applications, then Manage applications.
4. Select Gmail Storage.
Note: If you don't see 'Gmail Storage,' press < Menu > again, then select Filter > All.
5. Select Clear data. Answer OK when prompted.
6. Return to the list of applications by pressing the < Back > button on your device.
7. Select Gmail and then select Clear data. Answer OK when prompted.
To restart your device, press and hold the < Power > or < End call > button, then select Power off. Press the < Power > or < End call > button to power on.
Your device will re-sync with the server after restarting (this may take several minutes).
If the above steps don't resolve the issue, check to see if you have any account notifications on your device.
Press your device's < Home > button, then press < Menu >. Select Notifications. If you have any system notifications about a sign-in or password error, you should make sure your account information is correct in order for Gmail to sync.
Click to expand...
Click to collapse
I did the same thing and mine started working fine last night also.
Still working today.
Bryan
Had the same problem. I had two Gmail accounts syncing. I tried the fix above but it did not work. I removed the 2nd Gmail and did it again and then it worked. Not sure why. Wanted to post this if anyone had the problem that was not being fixed to try deleting multiple Gmail accounts.
Google Not Pushing to HTC EVO
Hey guys,
I wanted to state the fact that I am having the same problems and thought that I would get it out there.
I originally had 11 email accounts syncing with my device, and all were flawlessly pushing the mail to me as it came thought Google's servers. I have noticed that over the past few days that I have had to do this syncing manually by going into the app and pressing refresh.
I am deleting all my email accounts except the main two and forwarding all the others to the main email account.
Here is the kicker... I also have Google Voice and it has stopped syncing the text messages to me as well. I just now received a text from my sister that she sent yesterday. (Just arrived as I am typing this and it is timestamped for yesterday.)
I am testing this out to see if deleting 9 email accounts, deleting the Gmail storage through the application settings menu, and rebooting my device will help.
I do also want to add: I am utilizing the Task Killer application. I have enabled in the settings the option of viewing all of the background tasks. I have ignored everything that says Google on it, Gmail, or has the words sync in it. (Before it was killing all the apps and background tasks things.) I am on the Stock 2.1 rom and I am not rooted with my HTC EVO.
I am going to see if this works - and if it doesn't you will hear back from me.
Good luck to the rest of you guys out there experiencing the same problems with your Sprint EVO. (I still love the device and hope this is a minor bug...)
Update: Right now everything is working correctly... We will see tomorrow. Good luck guys and gals.
-------------------------------------
Sent via the XDA Tapatalk App
i started having gmail sync issues this morning. around the same time i turned off calendar sync to see how much it improved battery life.
although the box is still checked to sync, i've had to manually sync gmail all day.
i guess the next step is to re-enable calendar sync and see if that fixes it.
I've had problems with gmail auto syncing as well. This is what I've found gets things back in order..
clearing data for the gmail apps, I also clear data for the other google apps just to be safe.
Then I go into gmail and set settings>labels>inbox to "sync all"
I also learned that shutting down gtalk also breaks gmail auto sync, not signing out, stopping the app. I had sartup auditor set to prevent gtalk from starting on boot, when I let it start up on boot my gmail sync's just fine.
zhensley said:
Mine started doing the same thing today. Have you rooted/flashed a new Rom? I am rooted and running Fresh .3.
Click to expand...
Click to collapse
You are not alone. I have a friend with a BlackBerry storm from ATT which stopped syncing about the same time. It could be a problem at their end.
Still syncing today!
-------------------------------------
Sent via the XDA Tapatalk App
Mine stopped syncing yesterday around 2p mountain time, reset the phone, pulled the battery several times nothing helped. Set up a new gmail acct through the phone, that worked fine, but my original just would not sync. So I pull the battery, and pulled the sd card. Then I put it all back together and it started working. I dont know if it was coincidence or not. But yall might want to try pulling the SD card before going through a reset.

Delay in push of GMail?

Ive noticed in the past few days my GMail has been delayed for about 3-4 hours from the time it way received, till it is pushed over to my device, anyone else experiencing this?
Check your sync settings.
also check settings>wireless & networks>mobile networks>enable always-on mobile data.
if it's off push gmail can be substantially delayed.
Hax0rpunk said:
Ive noticed in the past few days my GMail has been delayed for about 3-4 hours from the time it way received, till it is pushed over to my device, anyone else experiencing this?
Click to expand...
Click to collapse
I've noticed this as well. I've double checked all my settings and mine are correct. I'm guessing maybe it could be something on gmail's side of things and hopefully they will get it worked out.
Also make sure you're not using an auto task killer and killing the google talk app. You don't need to be signed into it, but killing it does delay google voice and gmail. BTW I'm not having any issue with my gmail, or google apps account. All coming through just as fast or faster than the websites.

[Q] exchange email destroying my battery...and life

I know there are already numerous topics on this, and some temp Fixes, but I am about to just get rid of this phone, android, its so frustrating....and yes, i do need exchange email for my job,....this is whats going:
I'm seriously beyond annoyed at this point, exchange email is destroying my battery life on my nexus 4 running stock 4.2.2 (30% to 40% of battery consumption) ... I have done all the little "fixes" and troubleshooting that you can possible do to try to fix this and have spent hours searching online for any fixes, and all I have found is people having the same issue as me.....this is what I have done already:
I've removed the exchange email,
re-booted
re-added
cleared cache
clear data
re-booted
disabled
enable
set days to sync to 1 days, 3 days, automatic, etc....
check frequency to push, never, 1 hour etc....
I've disabled auto-sync data
enabled
i went to my outlook 365 web settings and under phones i deleted the nexus 4 profile..
in the exchange email settings on my phone i have used "m.outlook.com" for my server name
and the generic server name pulled from the outlook 365 web address recommended by the IT guy at my job
i have used and removed the Port "443"
the only thing i haven't done is throw the phone against the wall
oh and I have done factory reset TWICE! and that fixes the issue temporarily until this starts occurring again, oh and did i mention it gets super hot over 101°....the weird thing is I have the same exchange email setup on my nexus 7 and it barely hits 3% of battery usage, so why is my nexus 4 suffering from exchange email battery drain, and my nexus 7 doesn't? Unfortunately i work in a job where i need PUSH email on due to the industry i work in (merchants/e-commerce) my job offered to get me a company iPhone and I don't want to carry 2 phones, especially an iPhone.....anyone know any magical secret to fixing this? Or is this a 4.2+ bug that has no solution at this point....
Are you using a custom kernel? If not flash one. I recommend trinity, but test and choose which works best for you. Lower the CPU some to reduce the heating with any various app. I'm using trickster mod.
I have stock email set but I have it to manual updating. I get roughly 7-8 hours screen hours screen on time with WiFi around 5 with mobile data. Hope this helps some.
benman715 said:
Are you using a custom kernel? If not flash one. I recommend trinity, but test and choose which works best for you. Lower the CPU some to reduce the heating with any various app. I'm using trickster mod.
I have stock email set but I have it to manual updating. I get roughly 7-8 hours screen hours screen on time with WiFi around 5 with mobile data. Hope this helps some.
Click to expand...
Click to collapse
No i am running stock android 4.2.....Thanks for the advice, but I do not want to flash, root, etc... my stock nexus 4. I shouldn't have to in order to fix something that comes stock in android 4.2. I would prefer to just run the stock android and let Google deal with updates, I know android phones are awesome at customization, but I am one who likes stock android as is (nexus devices) I dont like tweaking with custom roms, no matter how stable they are, cause I always read threads on people always having issues with apps not being compatible, radio issues, manual updates on roms, etc...but I completely understand the benefits of custom roms and kernels, as you pointed out above. thanks again but this is not going to solve my issue.
I reckon I understand your feeling although the whole reason I got this device is for customization. With newer phones boot loaders being locked down and a drag to work with, this thing is great.
If you keep it stock thats fine but to save batter youd probably have to cut down a lot. Turn screen brightness all the way off, disable auto sync, disable apps you dont use so they dont run in the background. Turn off GPS and location settings unless they're in use. Stay on WiFi / 2G when not using data. Kinda a drag yano?
benman715 said:
I reckon I understand your feeling although the whole reason I got this device is for customization. With newer phones boot loaders being locked down and a drag to work with, this thing is great.
If you keep it stock thats fine but to save batter youd probably have to cut down a lot. Turn screen brightness all the way off, disable auto sync, disable apps you dont use so they dont run in the background. Turn off GPS and location settings unless they're in use. Stay on WiFi / 2G when not using data. Kinda a drag yano?
Click to expand...
Click to collapse
exactly, I mean i get the pros and cons for both stock and flashing, rooting etc....but I am no dev, and i know some of the stuff is easy to do, but I get OCD about having to worry if the kernel or ROM is up to date, will all my favorite apps work, what if I brick my phone etc....i just like the nexus devices where it is bone stock.....
as for all the other settings for saving the battery, I already do all the battery saving tips, but its funny cause they dont seem to affect the battery as much as the email exchange...i should have posted a pic...
Weird indeed. I'm using three e-mail accounts on my phone with hourly updates and it doesn't kill the battery. I still get 4 hours of screen on time (need to charge once in 24 hours usually). Did you set it so that it doesn't download attachments, pictures etc?
drbrainsol said:
Weird indeed. I'm using three e-mail accounts on my phone with hourly updates and it doesn't kill the battery. I still get 4 hours of screen on time (need to charge once in 24 hours usually). Did you set it so that it doesn't download attachments, pictures etc?
Click to expand...
Click to collapse
I am using the exchange email (yellow and white icon) that comes stock in android 4.2, and I have it set to Push notification which is suppose to help with battery, and i have turned off that setting that says "auto download attachments on WIFI only" but that setting is for WIFI only which doesnt make sense cause even with it off, when I am on regular 4G data, its still killing battery.....
I give up...maybe with all the current complaints on this issue, google may send out a new update.....
gmonterrosa82 said:
I am using the exchange email (yellow and white icon) that comes stock in android 4.2, and I have it set to Push notification which is suppose to help with battery, and i have turned off that setting that says "auto download attachments on WIFI only" but that setting is for WIFI only which doesnt make sense cause even with it off, when I am on regular 4G data, its still killing battery.....
I give up...maybe with all the current complaints on this issue, google may send out a new update.....
Click to expand...
Click to collapse
i wish i could help, but i'm using my Nexus 4 the exact same as yours (100% stock) and i've not had any of those problems (my Exchange Service is sitting at 3%), so it may not be as widespread as you think.
good luck with this though.
Question to the OP. Are you adding your exchange through the email app or in settings > accounts > corporate?
Sent from my Nexus 7 using xda premium
Lucke said:
i wish i could help, but i'm using my Nexus 4 the exact same as yours (100% stock) and i've not had any of those problems (my Exchange Service is sitting at 3%), so it may not be as widespread as you think.
good luck with this though.
Click to expand...
Click to collapse
its weird i know, but if you spend as many hours, days, searching the internet like I have, you will find how many many people are having this issue on android 4.1 and above.....My head hurts from reading so many threads with my exact issue, and people giving some temp fixes, and some fixes that didnt even work....its frustrating,
but i will say i just re-added my exchange email and chose 1 month of emails to download rather then "automatic" and so far its creeping up to 2% but getting hot.....its at 92 degrees
El Daddy said:
Question to the OP. Are you adding your exchange through the email app or in settings > accounts > corporate?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
ah, good question, so I have tested both methods, adding it through the "corporate" option, and adding it through "email" option, both gave me identical issues....do you know which method I should be using? I mean i already tried both, and both were draining my battery but if I can just focus on just one method then it wont drive me crazy.....The only difference I notice is, when you do it through "corporate" it goes straight into the exchange settings, when you go through the "email" method it will ask you after entering the email address and password, "POP3, IMAP, and exchange...i chose exchange, and then it goes into the default exchange settings area just like the email option....
gmonterrosa82 said:
ah, good question, so I have tested both methods, adding it through the "corporate" option, and adding it through "email" option, both gave me identical issues....do you know which method I should be using? I mean i already tried both, and both were draining my battery but if I can just focus on just one method then it wont drive me crazy.....The only difference I notice is, when you do it through "corporate" it goes straight into the exchange settings, when you go through the "email" method it will ask you after entering the email address and password, "POP3, IMAP, and exchange...i chose exchange, and then it goes into the default exchange settings area just like the email option....
Click to expand...
Click to collapse
I was just curious because I use the "corporate" method with my work account, but don't have any issues. I will see heavy battery drain if our server goes down, otherwise I don't have issues.
Another thing you could try is an app from the market. I know its probably not an ideal solution, but maybe something like touchdown will alleviate the issue.
Sent from my Nexus 7 using xda premium
El Daddy said:
I was just curious because I use the "corporate" method with my work account, but don't have any issues. I will see heavy battery drain if our server goes down, otherwise I don't have issues.
Another thing you could try is an app from the market. I know its probably not an ideal solution, but maybe something like touchdown will alleviate the issue.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yeah i am currently using the corporate method, and it still sucks battery.....but you know what I have notice, which may be a clue, the internet at my job is really really slow, our outlook emails take forever sometimes to send, receive, etc....so I am going to assume this is probably affecting my email on my phone as well....so I just set my exchange email to "never" check instead of "push" and i have told my job that their slow internet is killing my phones battery lol
Been using this phone and the stock email client for exchange since launch and have used multiple roms & kernels. Never had any battery drain issues and things were only getting better...until Monday of this week. That's when all hell broke loose. Full battery drained in record time. Overheating, barely responsive and overall just not being a good phone. Tried going back to stock and some other rom / kernel combos. Even tried a sim from a different carrier, the problem persists.
A couple days prior to phoneageddon I was prompted to setup the email app as a device administrator (See ScreenShot) a hand full of times. I usually only see this whenever I setup the account, after a wipe and whatnot. Since phoneageddon I have noticed that whenever the exchange services starts to act up, I know that sometime soon I will be prompted again. Whether or not this is related or not is unknown.
I just so happen to be an Exchange Admin at my company and know that no policy changes have been made in past couple weeks and that Windows patches were installed on the 1st.
We have ~2000 mobile devices of different flavors connecting to our mail system and so far no one else has reported a problem. Until this is resolved I have gone back to using TouchDown, no problems what so ever.
I will try to reproduce the problem fresh tomorrow or this weekend sometime and grab the logs from the server to post on here. I went through them once before and nothing stood out.
hideous said:
Been using this phone and the stock email client for exchange since launch and have used multiple roms & kernels. Never had any battery drain issues and things were only getting better...until Monday of this week. That's when all hell broke loose. Full battery drained in record time. Overheating, barely responsive and overall just not being a good phone. Tried going back to stock and some other rom / kernel combos. Even tried a sim from a different carrier, the problem persists.
A couple days prior to phoneageddon I was prompted to setup the email app as a device administrator (See ScreenShot) a hand full of times. I usually only see this whenever I setup the account, after a wipe and whatnot. Since phoneageddon I have noticed that whenever the exchange services starts to act up, I know that sometime soon I will be prompted again. Whether or not this is related or not is unknown.
I just so happen to be an Exchange Admin at my company and know that no policy changes have been made in past couple weeks and that Windows patches were installed on the 1st.
We have ~2000 mobile devices of different flavors connecting to our mail system and so far no one else has reported a problem. Until this is resolved I have gone back to using TouchDown, no problems what so ever.
I will try to reproduce the problem fresh tomorrow or this weekend sometime and grab the logs from the server to post on here. I went through them once before and nothing stood out.
Click to expand...
Click to collapse
wow sounds similar to me, its just unacceptable, and the IT guy here just informed me that he hasnt changed anything on his end, so it cant be the servers fault for the massive draining of battery on my phone, he told me all the other users with iphones, are set up the same, PUSH, and automatic email downloads, and none of them are reporting any massive battery draining.
Currently my phone is set to PUSH and 1 week of emails to download, and its already at 19% battery usage for exchange services and 18% email.....this blows...
I wonder why this is happening
Ran the stock email client with logging enabled over the weekend and was unable to reproduce the issue. So the fix is... Enable logging!
BTW, if your Exchange admin allows it, you should be able to access the Exchange Control Panel and start logging for your device yourself. Check with your Admins first!
**While you shouldn't be able to anything to destructive in the ECP, you take full responsibility for what may happen.**
How to access the Exchange Control Panel - See ScreenShot:
Log into your company's webmail (OWA)
Click Options (Top Right of screen)
Click 'See All Options'
-OR -
Directly by replacing /OWA with /ECP at the end of the URL. From this: https://email.YOURCOMPANY.com/OWA to this https://email.YOURCOMPANY.com/ECP
Once there, click Phone, find your current device in the list and click start logging.
-----
DO NOT FORGET TO STOP THE LOG!
-----
To stop logging follow the same instructions, but this time the 'Start Logging' button will say 'Retrieve Logs'. It will then email you the log file.
I was getting a 3-5mb log for 24 hours with everything working normally.
It's probably not a good idea to blindly post the log on the internet as it could have personal / company information within. Either sanitize it or if you would trust a random nerd on XDA, PM me and I can help.
hideous said:
Ran the stock email client with logging enabled over the weekend and was unable to reproduce the issue. So the fix is... Enable logging!
BTW, if your Exchange admin allows it, you should be able to access the Exchange Control Panel and start logging for your device yourself. Check with your Admins first!
**While you shouldn't be able to anything to destructive in the ECP, you take full responsibility for what may happen.**
How to access the Exchange Control Panel - See ScreenShot:
Log into your company's webmail (OWA)
Click Options (Top Right of screen)
Click 'See All Options'
-OR -
Directly by replacing /OWA with /ECP at the end of the URL. From this: https://email.YOURCOMPANY.com/OWA to this https://email.YOURCOMPANY.com/ECP
Once there, click Phone, find your current device in the list and click start logging.
-----
DO NOT FORGET TO STOP THE LOG!
-----
To stop logging follow the same instructions, but this time the 'Start Logging' button will say 'Retrieve Logs'. It will then email you the log file.
I was getting a 3-5mb log for 24 hours with everything working normally.
It's probably not a good idea to blindly post the log on the internet as it could have personal / company information within. Either sanitize it or if you would trust a random nerd on XDA, PM me and I can help.
Click to expand...
Click to collapse
Hey sorry I am a little confused about the part that says "DO NOT FORGET TO STOP THE LOG!"
So am I suppose to stop the logging at a certain point? And what is the logging suppose to do?
I went into the control panel in the web outlook, and now I am logging.....And sadly the exchange service and email are slowly creeping up to 10% battery usage, and its getting higher and higher as we speak....
I set it to default settings as i did before (Check frequency to Automatic Push) and days to sync always default to "one Month"
and its at 12% now.....this is so frustrating...and the IT guy was not helpful, he said its nothing on his end, which i can understand because this was never an issue on my phone before. now its just massive battery usage....I give up I am going to just create a bookmark shortcut and access the web outlook 365 and have to manually check every once and a while
gmonterrosa82 said:
Hey sorry I am a little confused about the part that says "DO NOT FORGET TO STOP THE LOG!"
So am I suppose to stop the logging at a certain point? And what is the logging suppose to do?
I went into the control panel in the web outlook, and now I am logging.....And sadly the exchange service and email are slowly creeping up to 10% battery usage, and its getting higher and higher as we speak....
I set it to default settings as i did before (Check frequency to Automatic Push) and days to sync always default to "one Month"
and its at 12% now.....this is so frustrating...and the IT guy was not helpful, he said its nothing on his end, which i can understand because this was never an issue on my phone before. now its just massive battery usage....I give up I am going to just create a bookmark shortcut and access the web outlook 365 and have to manually check every once and a while
Click to expand...
Click to collapse
AFAIK the logging will continue until you tell it to stop. Which means the file size will continue to grow.
You should stop logging after you have been having issues for a while and take a look.
hideous said:
AFAIK the logging will continue until you tell it to stop. Which means the file size will continue to grow.
You should stop logging after you have been having issues for a while and take a look.
Click to expand...
Click to collapse
Well I stopped it, I never got any report, or any attachments of any report...
I probably didnt do it correctly, however I am still getting high battery usage, Right now it shows Exchange service at 23% and the email usage at 21%.... phones temperature is at 92 degrees, very hot!
I just removed the account, and disabled the email service, cleared data, force stop, and it still shows that its draining the battery lol
wow I give up, My job will have to provide me with an iphone.....so i will have 2 phones YAY!

Delayed push notifications

Hi all,
Has anyone else noticed a significant delay with push notifications (namely with gmail)?
I've got my old iPhone and the Nexus 6P side by side, and at best the push notifications come in 10 seconds later than the iPhone (sometimes it can take up to 10 minutes). I've tried the push notification fix as suggested for other phones, but got no love there.
Any suggestions?
aplant92 said:
Hi all,
Has anyone else noticed a significant delay with push notifications (namely with gmail)?
I've got my old iPhone and the Nexus 6P side by side, and at best the push notifications come in 10 seconds later than the iPhone (sometimes it can take up to 10 minutes). I've tried the push notification fix as suggested for other phones, but got no love there.
Any suggestions?
Click to expand...
Click to collapse
Is Gmail app fetching your emails on a timer or is it push?
airwa1kin7 said:
Is Gmail app fetching your emails on a timer or is it push?
Click to expand...
Click to collapse
Set to push, otherwise I'd understand the large delay.
aplant92 said:
Set to push, otherwise I'd understand the large delay.
Click to expand...
Click to collapse
I just realized gmail only does push.
I just tested it on my Nexus 6p and it pushed a few seconds after the email was sent. At first however I had to manually refresh for the first test email, then the second test email pushed to the device.
I tested by sending a email from a icloud account on my macbook and sending to my gmail account on my phone.
airwa1kin7 said:
I just realized gmail only does push.
I just tested it on my Nexus 6p and it pushed a few seconds after the email was sent. At first however I had to manually refresh for the first test email, then the second test email pushed to the device.
I tested by sending a email from a icloud account on my macbook and sending to my gmail account on my phone.
Click to expand...
Click to collapse
It's almost as though there's some power saving feature going on once you lock the screen (this is where the delay happens, when locked).
aplant92 said:
It's almost as though there's some power saving feature going on once you lock the screen (this is where the delay happens, when locked).
Click to expand...
Click to collapse
Mine was locked as well. Battery saver disabled. Battery Optimization Off. Unplugged/No charger.
airwa1kin7 said:
Mine was locked as well. Battery saver disabled. Battery Optimization Off. Unplugged/No charger.
Click to expand...
Click to collapse
Same here, seems strange that it's taking so long then...
Also, when deleting an email from the notification, it just keeps popping back up (i.e. not deleting). There's obviously some strange sync issue going on with gmail and exchange
I've had the same problem and haven't found a solution either. Glad to see that I'm not the only one! I posted on Reddit, but it didn't get much play. https://www.reddit.com/r/Nexus6P/comments/3seyj6/delayed_gmail_syncnotifications/
To try and fix the issue, I've (in no particular order):
Removed my Google account and readded
Gone through Gmail settings to make sure that notifications are on, sync is active, managed labels
Gone through the Google account to make sure that Gmail sync is on
Restarted
Uninstalled updates to Gmail from the Play Store
Reinstalled updates to Gmail from the Play Store
Force Stopped Gmail
Cleared data from Gmail
Cleared cache from Gmail
Removed it from optimized apps
Changed my password on computer, then waited for phone to ask to reinput
I'm on a 64 GB Aluminum, unlocked, MDB08M. I do not have my SIM card yet (only Wi-Fi). Perhaps that's the issue?
I'm getting to the point where I'm going to factory reset, but I was really hoping I wouldn't have to, and I'm not optimistic it would help.
threshfire said:
I've had the same problem and haven't found a solution either. Glad to see that I'm not the only one! I posted on Reddit, but it didn't get much play. https://www.reddit.com/r/Nexus6P/comments/3seyj6/delayed_gmail_syncnotifications/
To try and fix the issue, I've (in no particular order):
Removed my Google account and readded
Gone through Gmail settings to make sure that notifications are on, sync is active, managed labels
Gone through the Google account to make sure that Gmail sync is on
Restarted
Uninstalled updates to Gmail from the Play Store
Reinstalled updates to Gmail from the Play Store
Force Stopped Gmail
Cleared data from Gmail
Cleared cache from Gmail
Removed it from optimized apps
Changed my password on computer, then waited for phone to ask to reinput
I'm on a 64 GB Aluminum, unlocked, MDB08M. I do not have my SIM card yet (only Wi-Fi). Perhaps that's the issue?
I'm getting to the point where I'm going to factory reset, but I was really hoping I wouldn't have to, and I'm not optimistic it would help.
Click to expand...
Click to collapse
Yeah I've done the factory reset already and can confirm it does nothing. I'm beginning to think its the Gmail app, as the rest of my push notifications are faster or the same speed as iOS. Really crap by the Gmail devs if that is the case.
Any decent replacement email apps out there? The Samsung email app was quicker, but not sure if we can get that without rooting and flashing an apk (and even then not sure if it requires touchwiz to function).
With my 6P Hotspoting to tablet and pc email arrives on 6P a minute or 2 after them.
I don't know if this is the same or not. I have this issue with both the Yahoo mail app and the Outlook app. My gmail notifications seem to be showing up reliably, but I never get any Outlook notifications, and Yahoo's are sporadic--one our of every three or four. When I open either app, it then seems to go fetch the incoming emails. On my previous phone, when I open the app, they're already there. I don't believe I have anything set differently in the apps. I would love to figure this out.
So, I did a factory reset and installed nothing but Outlook and Yahoo mail. Then I sent two notes to my Outlook, Yahoo, and Gmail addresses, and all three of each note arrived almost simultaneously. I guess, now, I'll start re-installing essential apps and testing.
Was looking around and saw someone posted on the official Nexus forums; if anyone here is still having the issue, please head over and +1/reply so Google can escalate the fix.
https://productforums.google.com/forum/#!topic/nexus/Ayd_1TOemSE
I'm having the same issue and I've also noticed that IMs on Hangouts are ridiculously slow. You would think that Google would make sure that at least their own apps worked smoothly on their flagship device.
I think I may have solved my sync issues. In the WiFi advanced settings, I switched the WiFi frequency band from Auto to 2.4Ghz. Ever since I did that I've received notifications on my Nexus 6P just as quickly as I do on other devices.
Wow, glad I saw this thread. I've been noticing gmail is slow lately. I thought it might have been my ROM/Kernel combo. I use Inbox and it was fine up until lately. Guess it's a bug for Google to fix. I even spent time last night reflashing stock and starting fresh out of box state.
This is happening to me too..happens on gmail and as well as Google opinion rewards. It's been happening for a little over a week now...hopefully will be fixed soon..
Is it happening to everybody or just a select lucky few?
Sent from my Nexus 6P using Tapatalk
Lots of users having this issue
http://www.androidpolice.com/2016/0...syncing-issues-in-gmail-inbox-and-other-apps/
I see that lot of people are only discussing about Gmail and other mailing or hangout apps.
I on the other hand am seeing overall notification push delay across all the apps including Whatsapp, Gmail, Facebook etc. I am unrooted and no changes made whatsoever to my android marshmallow. It is also on latest OTA build.
I receive all notifications as soon as I unlock the device, but if my device is lying on a table (even when not in doze mode which means lying for less than 30 minutes) I still don't receive any notification. As soon as I unlock and turn on screen it seems like data connectivity resumed and all notifications starts to flow within 5-10 seconds without even opening those apps to refresh.
I also have not modified any other notification setting and I even tried to keep whatsapp to priority mode + no battery optimization, still Whatsapp is having hard time receiving notification if screen is turned off for more than 5 minutes..
If you are experiencing this kind of an issue and have successfully resolved it, kindly help me.
I've lost email notifications but I have read that Google know about the problem,
Sent from my Nexus 6P using XDA Free mobile app

Categories

Resources