Snsservice restarting? - Epic 4G Q&A, Help & Troubleshooting

I noticed this with dk28 where my snsservice would keep saying restarting after about an hour when my phone is booted and doesn't have a running time. I don't know if this is causing some issues because the phone then say that I can't edit my contacts.
Sent from my SPH-D700 using XDA App

drrayl said:
I noticed this with dk28 where my snsservice would keep saying restarting after about an hour when my phone is booted and doesn't have a running time. I don't know if this is causing some issues because the phone then say that I can't edit my contacts.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I gather you are referring to Facebook SNS? This started after Facebook made changes to their application and introduced their own sync process. Those changes did something that conflicts with Google's integration with Facebook.
Google and Facebook are going at it over the sync process within Android.
Source
There is another thread a few pages back in this sub forum that discusses possible work arounds. Nothing confirmed to resolve the constant prompts as of yet.

I'm having this issue too, I don't use Facebook and I can't find anything on any of the forums about this issue. No problems other than SNSSERVICE RESTARTING... continuously in running services. I push to stop it and it goes away, but I haven't noticed any other problems, even after I close it. I do notice that my battery lasts longer when I kill it. What EXACTLY does SNSService do? I've heard several different comments that it is for Facebook, its for Security (? if so, what security?), etc... and what would be causing it to go into restart. I do toggle off 3G from Power Control Plus (and GPS and Auto Sync) when I'm at work or other times when I have 1 or 2 signal bars (to save battery), but when I've had this happen, I try reconnecting all those, and it does not save the snsservice from going into a restart loop.

rando991 said:
I'm having this issue too, I don't use Facebook and I can't find anything on any of the forums about this issue. No problems other than SNSSERVICE RESTARTING... continuously in running services. I push to stop it and it goes away, but I haven't noticed any other problems, even after I close it. I do notice that my battery lasts longer when I kill it. What EXACTLY does SNSService do? I've heard several different comments that it is for Facebook, its for Security (? if so, what security?), etc... and what would be causing it to go into restart. I do toggle off 3G from Power Control Plus (and GPS and Auto Sync) when I'm at work or other times when I have 1 or 2 signal bars (to save battery), but when I've had this happen, I try reconnecting all those, and it does not save the snsservice from going into a restart loop.
Click to expand...
Click to collapse
I have the EXACT same problem, on EB13 Syndicate ROM.
One thing I know for sure is snsservice fetches email syncs at the selected intervals for the stock email app, because I haven't been getting any emails since the problem started. My girlfriend has the Samsung Fascinate (sister phone) and she has the EXACT same problem. Anyone else know?

I found a fix for this...I'll bet if you have this problem you don't have a Facebook nor Twitter account and thus, have removed the "Feeds & Updates" widget from your screens. If you DON'T force close the SNSService, but just put the Feeds & Updates Widget back on an unused screen somewhere it will immediately stop the snsservice from restarting. I've then deleted the widget from my screen and was good for about 2 weeks, then it started doing it again (after the facebook app got an update) so I just left the widget up now.

rando991 said:
I found a fix for this...I'll bet if you have this problem you don't have a Facebook nor Twitter account and thus, have removed the "Feeds & Updates" widget from your screens. If you DON'T force close the SNSService, but just put the Feeds & Updates Widget back on an unused screen somewhere it will immediately stop the snsservice from restarting. I've then deleted the widget from my screen and was good for about 2 weeks, then it started doing it again (after the facebook app got an update) so I just left the widget up now.
Click to expand...
Click to collapse
That's more of a workaround, rather than a fix.

so does this drain the battery? I had it happen last night on bonsai

robl45 said:
so does this drain the battery? I had it happen last night on bonsai
Click to expand...
Click to collapse
I don't know, for sure it doesn't help it. It would be nice if somebody shed some light on this bug.

My fix is to just delete the two SNS apk's, and use the respective apps built in sync feature.

xxmastermindxx said:
My fix is to just delete the two SNS apk's, and use the respective apps built in sync feature.
Click to expand...
Click to collapse
what are the 2 apks? are they safe to delete even if I'm using fb (Facebook)? I've notice that when snsservice is restarting and if I kill it, it will stop notifications on fb.

burgerpimp07 said:
That's more of a workaround, rather than a fix.
Click to expand...
Click to collapse
Excuse me...you are right, it's a workaround, like the airplane toggle and the upside down compass calibrate, but hey I hope folks can use it until it does get fixed, which, I think people with the issue would appreciate knowing.

kycz777 said:
what are the 2 apks? are they safe to delete even if I'm using fb (Facebook)? I've notice that when snsservice is restarting and if I kill it, it will stop notifications on fb.
Click to expand...
Click to collapse
To remove the stock, built in SNS features, you can remove the following files:
Snsaccount.apk
Snsproviders.apk
About affecting the fb app, I'm not sure. I just started using the fb app so I can't say with certainty. I am going to test and see if deleting either or both apk files stop notifications in the fb app. Based on what you said, sounds like it might.
Sent from my SPH-D700 using XDA Premium App

xxmastermindxx said:
To remove the stock, built in SNS features, you can remove the following files:
Snsaccount.apk
Snsproviders.apk
About affecting the fb app, I'm not sure. I just started using the fb app so I can't say with certainty. I am going to test and see if deleting either or both apk files stop notifications in the fb app. Based on what you said, sounds like it might.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
I'm pretty sure you NEED those apks if you ARE using Facebook. You just need to put the Feeds and Updates Widget back on one of your unused screens.

No, if you're using the Facebook app that you download from the market, you don't need either of those apks.
Just tested notification functionality like I mentioned in my last post, and I am getting them all. Those apks are deleted on my phone.
You'd need to keep those apks if you want the Twitter and Facebook functionality that comes built in on a stock phone.
Sent from my SPH-D700 using XDA Premium App

Does deleting those two apks not affect Latitude updates? I know their separate services but it seems as if Latitude doesn't automatically update correctly when I remove either snsservice or drmprovider.

Blankrubber said:
Does deleting those two apks not affect Latitude updates? I know their separate services but it seems as if Latitude doesn't automatically update correctly when I remove either snsservice or drmprovider.
Click to expand...
Click to collapse
Just freeze them, thats what i did and no issues

davidrules7778 said:
Just freeze them, thats what i did and no issues
Click to expand...
Click to collapse
I froze the sns and drm processes and haven't had problems. Seconded =).
Sent from my SPH-D700 using XDA App

Related

[FIXED] Facebook for Sense auto sync issues

Facebook for Sense is keeping my auto sync [icon] on, even though I have it disabled. When I remove the Facebook account, auto sync [icon] goes away. No matter how many times I toggle auto sync, background data, data connection, pull battery/reboot, NOTHING is working.
A little background:
Fresh 3.3.0.1, ran the omegasun script to remove all Sense stuff, then I put the HTCFacebook .apk back on my phone with adb.
My questions are:
a.) anyone else have this problem?
b.) anyone know of a solution?
c.) is there perhaps some other .apk that I need to put back into /system/app in order to make this work?
I have just spent the last 3 hours trying to figure this out, and I am tired of wiping and reflashing over and over only to have the issue still arise. Any insight would be GREATLY appreciated.
If I remember correctly, Friendstream and Talk were the two known for causing that situation.
Well I don't have Friendstream installed and I know it's not Talk because as soon as I delete HtcFacebook.apk the problem disappears.
Have you tried deleting the sense facebook and then downloading fb for android from the market?
That is what I have done. I removed the sense fb and installed the market fb app and dont have issues with sync. They are and appear as two different apps. Try that.
Are you saying permanently delete HtcFacebook? Or reinstall it after I install the market app? I don't want to delete HtcFacebook because of it's integration with the people app, the pictures and such.
_MetalHead_ said:
Are you saying permanently delete HtcFacebook? Or reinstall it after I install the market app? I don't want to delete HtcFacebook because of it's integration with the people app, the pictures and such.
Click to expand...
Click to collapse
I personally deleted it completely but that might not be an option for you. What integration are you talking about though because I have no problems uploading pics through the market fb app.
In the Facebook for Sense sync options, turn off Sync live feed. I think that tries to sync to friendstream. I am running this way and the contacts and pictures still work correctly.
lovethyEVO said:
I personally deleted it completely but that might not be an option for you. What integration are you talking about though because I have no problems uploading pics through the market fb app.
Click to expand...
Click to collapse
My contact list is synced with facebook, giving me everyones profile picture for their contact card. Also, birthdays, events. I don't think you can do that with just the market app.
In the Facebook for Sense sync options, turn off Sync live feed. I think that tries to sync to friendstream. I am running this way and the contacts and pictures still work correctly.
Click to expand...
Click to collapse
I don't have that option. I only have the option to sync contacts which I have turned off. I manually sync them when I get the urge to.
_MetalHead_ said:
My contact list is synced with facebook, giving me everyones profile picture for their contact card. Also, birthdays, events. I don't think you can do that with just the market app.
Click to expand...
Click to collapse
Yeah you can't do that with the market app. Sorry I couldn't be of any more help.
That's cool man, I appreciate the fact that you took the time to post regardless if it helped or not.
This is driving me nuts. I can't tell if it's actually syncing or if it's just a bug where the icon won't go away. My battery life seems fine so I dunno.
edit: It's definitely trying to do something because my wake time is 100%.
_MetalHead_ said:
That's cool man, I appreciate the fact that you took the time to post regardless if it helped or not.
This is driving me nuts. I can't tell if it's actually syncing or if it's just a bug where the icon won't go away. My battery life seems fine so I dunno.
edit: It's definitely trying to do something because my wake time is 100%.
Click to expand...
Click to collapse
I just noticed in your sig you are using launcher pro.
You can create a shortcut to the battery usage info (the partial wake usage found on spare parts).
Long press the homescreen, shortcut, activities, settings, battery history.
You literally dont need spare parts for this and others. Maybe under partial wake it might lead you somewhere.
Yeah I already checked partial wake, Android System is maxed, dialer is barely there and thats pretty much it.
I'm gonna run the stock PC36IMG and then try to work my way back to where I'm at. Hopefully that will help.
I had a lot of issues with that Facebook app at first also. Now I realized that the Facebook for HTC Sense Live feed works with Friendstream like others have said. It also put the info in contacts showing their last status. Its is rather annoying and took me a minute before I figured it out as well.
Hope you the info in here as helped you
FIXED!!!
Ok, It seems I have fixed the problem. The autosync icon is gone and phone is sleeping again. Flashing the PC36IMG is the crucial step. Before flashing it I had wiped and reflashed my ROM multiple times with no success. These are the steps that I took, in case anyone else is having the same issue.
1. wipe
2. flash the rooted stock PC36IMG.zip
3. boot it
4. wipe again
5. flash Fresh 3.3.0.1
6. boot it
7. run omegasun's sense removal script
8. boot it
9. push HtcFacebook.apk to /system/app
10. reboot it
11. restore with Titanium
12. reboot it
13. $$$$
14. PROFIT!!!
_MetalHead_ said:
Ok, It seems I have fixed the problem. The autosync icon is gone and phone is sleeping again. Flashing the PC36IMG is the crucial step. Before flashing it I had wiped and reflashed my ROM multiple times with no success. These are the steps that I took, in case anyone else is having the same issue.
1. wipe
2. flash the rooted stock PC36IMG.zip
3. boot it
4. wipe again
5. flash Fresh 3.3.0.1
6. boot it
7. run omegasun's sense removal script
8. boot it
9. push HtcFacebook.apk to /system/app
10. reboot it
11. restore with Titanium
12. reboot it
13. $$$$
14. PROFIT!!!
Click to expand...
Click to collapse
Good stuff. It sounds like the problem was that you were initializing facebook before deleting stuff and breaking the communications between apps that exist and dont.
lovethyEVO said:
Good stuff. It sounds like the problem was that you were initializing facebook before deleting stuff and breaking the communications between apps that exist and dont.
Click to expand...
Click to collapse
No, that wasn't the problem because I tried it both ways- flashed, booted, deleted apps and flashed, deleted apps and then booted.
I'm sure it was just some stupid bug that got cleared up when I went back to stock.

Facebook doesnt stay logged in?

Forgive me in advance, I am asking this question on behalf of my gf that has an Epic.
Every couple hours she gets a prompt to login to facebook which is becomming very annoying. I have an Evo and have never had this issue but I also use the official facebook app, it appears that the epic has its own facebook app which appears to be the one causing us troubles. Does anyone else have this issue with facebook or am I doing something wrong? It would seem there is a way to stay logged in because if you are constantly signing in it kinda defeats the purpose of widgets.
brandenk said:
Forgive me in advance, I am asking this question on behalf of my gf that has an Epic.
Every couple hours she gets a prompt to login to facebook which is becomming very annoying. I have an Evo and have never had this issue but I also use the official facebook app, it appears that the epic has its own facebook app which appears to be the one causing us troubles. Does anyone else have this issue with facebook or am I doing something wrong? It would seem there is a way to stay logged in because if you are constantly signing in it kinda defeats the purpose of widgets.
Click to expand...
Click to collapse
This isn't going to answer your question but I'm just letting you know I get the same issue. I just either leave it or clear the notification up. Wouldn't mind finding a solution to this as well. Good luck!
I was afraid of that, so its either deal with the constant logins to get everything synced properly in your contacts, messages, etc., or go with something like Pure Messanger Widget and stock facebook app?
yep same issue here, ive learned though it does it only when i check my facebook on the epic
if I leave it alone it doesnt log out
There is a similar post in the General forum, but I had the same issues.
When I experienced the same issues, I was still on the stock version of Facebook.apk. The SNS account kept prompting for me to log in again, with each sync interval.
I tried removing and adding the account again and rebooting in between, yet still the same problem. I finally had upgrade Facebook to the latest update that was the cause of all these login issues for older versions.
The upgrade fixed the problem, but I did find an issue when you use the built-in Facebook contact sync alone it may not carry profile pictures over to SMS. I had to manually add the account, this ended up putting two Facebook sync processes on my phone. The first is for Facebook to actually let you login to the app (just has sync contacts), and the second is the process that will sync both contacts and calendar events again. (the original sync we're used to)
Reference thread
EDIT: I just got the same SNS login prompt again.
I've never had any login problems on the facebook app, but I also don't use the feeds and updates widget.
Sent from The Chaotic Void
This only seems to be happening to me more often recently. I swear it's asking me to log in to Facebook & Twitter every hour or so now. When I go to Accounts & Sync I see that there are two accounts (even though I only have one account for each). One Twitter & one Facebook account say there was an error with the syncing process.
I unchecked the sync processes that were having errors. I'll let you know if I keep being asked to log in.
I have this problem too. It says my sync is experiencing errors and its cause it logged me out of Facebook. Once I log back in its fine.
Sent from my Evo Killer!!!
Also i don't have auto sync enabled. I manually refresh them.
Sent from The Chaotic Void
zanderman112 said:
Also i don't have auto sync enabled. I manually refresh them.
Sent from The Chaotic Void
Click to expand...
Click to collapse
whats the setup on that phone atm? I had these same issues(as stated above) and now I'm Flashed to nebula 1.0.7 with froyo and its beast without any problems. Facebook hasn't bugged me once lol
brandenk said:
Forgive me in advance, I am asking this question on behalf of my gf that has an Epic.
Every couple hours she gets a prompt to login to facebook which is becomming very annoying. I have an Evo and have never had this issue but I also use the official facebook app, it appears that the epic has its own facebook app which appears to be the one causing us troubles. Does anyone else have this issue with facebook or am I doing something wrong? It would seem there is a way to stay logged in because if you are constantly signing in it kinda defeats the purpose of widgets.
Click to expand...
Click to collapse
I used to have this issue, but I figured out a simple workaround.
I use the FACEBOOK APP to sync and not the adding a Facebook account under the account section in settings. After I deleted the Facebook account there and made a sync with the Facebook App, the annoying prompt went away and hasn't come back since.
Hasseo said:
I used to have this issue, but I figured out a simple workaround.
I use the FACEBOOK APP to sync and not the adding a Facebook account under the account section in settings. After I deleted the Facebook account there and made a sync with the Facebook App, the annoying prompt went away and hasn't come back since.
Click to expand...
Click to collapse
After doing this, I bet you don't have your friends profile pictures in the stock SMS application anymore. You also wouldn't have Facebook events in your stock Calendar application.
I have the same problem. Funny thing is my widget works fine gets updates and I can upload a picture from within the widget. If I take a picture, or select one from the gallery, then click Share facebook, it will not upload. started one day last week.
On stock rooted and don't get it hourly or even 2x/day that I can remember, just every morning...sometimes it doesn't make it the first time, usually it re-connects, good til the next morning....
I had the same problem. I had to delete the stock sync and use the FB app's sync option but like mentioned above you lose the profile pics on the stock sms so I downloaded "go sms" and the pictures are back...it beats having to log in every hour for sure.
Sent from my SPH-D700 using XDA App
Same issue here. Facebook app from market works fine but the integrated samsung facebook sync and widget have problems. Ridiculous, samsung needs to fix their software.
treeserton said:
Ridiculous, samsung needs to fix their software.
Click to expand...
Click to collapse
I would say it's a Facebook issue. It stopped working properly after the recent Facebook update. It affected all versions of the application, including the Epic's stock version of Facebook.
I do actually. But, no calendar sync.
Sent from the Epic that bites.
I can say that my gf and my brother both have the same issue, only reason i can think Samsung isn't attempting a quick fix is the rumored 2.2 update for the 21st of this month, which will probably have an updated app that fixes the problem. Although as important as facebook is to people I am surprised there is no maintenance release that fixes this,
Same issues here. I was thinking it might have had something to do with networking issues - I usually leave wifi and 4g on all the time. I noticed that I usually get the prompts when I leave home in the morning (go out of range of my house's wifi) and when 4g disconnects and reconnects in spotty 4g areas. I was wondering if maybe the session expires when you switch networks. Same thing would happen on my laptop when I would bring it from home to work or a coffee shop. FB might recognize that the connection is different. Meh, just a theory I thought I'd throw out there.

cannot log in to FB for SNS

yesterday i got the little F icon in my task bar telling me i lost connection to facebook. since then i have not been able to log in to the sync account. i can use the FB app no problem. anyone else?
edit: wtf after trying 10 times i post this and was able to log in right away. the power of whining on the internet
edit 2: still havign sync issues with fb. pain in the ass
I had the same issues. Must be on Facebook's end.
Some months ago FB's app would absolutely not give me notifications when I opened the app, no matter what I did. The error was all on their end of things. Push notifications have never worked anyway, and since auto-updating is a battery drain I just decided to turn it all off. I still marvel at how they can have such a poor official Android app, and how any improvements to it are so small and infrequent. Yet their mobile website is not nearly as bad, and now it's of course much more possible to use the full site on a decent mobile browser.
I've had the same problem for a long time too.
On another note, does anyone know why the Nexus S gets fb comment notifications and the Epic doesn't?
Yeah me too. I was reading that fb sync is gone in gb. Is that true?
"The greatest respect you can earn is self respect" Louie Simmons
Just noticed this today, but same thing... sync problem since 6/3. Contacts are still sync'ing (through SNS, not the app... I don't have the app installed), it's the calendar sync that is not working.
Using a themed version and it is not having problems. Steal one from a rom/theme if you're rooted.
The Root said:
Using a themed version and it is not having problems. Steal one from a rom/theme if you're rooted.
Click to expand...
Click to collapse
Themed version of what? Huh?
necro bump cause im having the same issue. Ideas?

No background sync or notifications for push apps

Not sure if anyone else is experiencing this, but in the hopes that they are, I'm posting this. For some reason, I'm not getting any notifications for push apps. Specifically for me, its Gmail, Google Voice, and FB Messenger. The apps aren't even syncing. I have to manually go into each app and tell it to sync.
I've had Gmail and GV sync for a little while after a ROM flash, but it never lasts more than a half hour or so.
Any ideas?
Not sure what rom u are using, or if you are using titanium to restore apps... but try settings>apps>gmail (or other apps) and choose to clear data, NOTE: you will have to re-sync accounts by going to settings>accounts and sync and enter ur info. your contacts will disappear for a short time while it re-syncs. its worked for me on previous devices after flashing a new rom, not sure if it will work here....
Check what kind of Internet connection you have: settings>wireless&networks>more>mobile networks>acces point names. The one working is net.
Any luck with this? I'm having the same issue.
I tried moving the gv app to /system/app but it didn't fix it.
Make sure you aren't disabling sync via the power widget.. it sounds obvious but it happened to someone
Sent from my Galaxy Nexus using xda premium
having the same issue, sometimes sync even work really bad when screen on, but mostly occurred when screen off. Stock kernel
joshdu1125 said:
having the same issue, sometimes sync even work really bad when screen on, but mostly occurred when screen off. Stock kernel
Click to expand...
Click to collapse
Similar problem here as well. Google Talk only seems to give me a notification when I turn the screen on. Just got my gnex last week and running stock jb now (only rooted).

[Q] Social Hub Wakelock - Keeps phone awake the whole time. Please help!

Hi all,
I have being searching for hours but I have not yet found my particular problem. Currently I am using the Juggernaut 5.0 Rom / Bullet v2-9b Kernnel.
I use the stock email app for all my emails and lately I have being experiencing an issue that never happened before with the social hub preventing the phone from going to sleep. It is in fact keeping the phone awake the entire time the phone is idle.
I have done some testing of my own, and realized that the problem is mostly triggered after rebooting the phone. On Better Battery Stats Partial Wakelocks - Since unplugged, I have com.seven.Z7.WakeLock.Alarms and underneath is says com.seven.Z7.Social Hub. This wakelock was awake 100%.
I went to sleep with the phone fully charged, rebooted it, and left it idled. When I woke up 7 hours later, I found the battery at 42%.
Could anyone please explain why the social hub is staying awake after a reboot?
What can I do to prevent this from happening?
Does it have anything to do with the Rom or Kernnel?
Thanks!
If you don't want it you can always remove it with tb
Sent from my SAMSUNG-SGH-T989 using Tapatalk
shankar10 said:
If you don't want it you can always remove it with tb
Click to expand...
Click to collapse
I tried freezing it with TB but then the stock email app didn't work. I use the stock email app as my main email client for my personal and business emails.
On the attached image I have the list of Samsung apps I have frozen.
However, freezing Social Hub 7.52.10101 (icon-envelope/blue S), it does not let the stock mail app function.
MikeYuse0406 said:
I tried freezing it with TB but then the stock email app didn't work. I use the stock email app as my main email client for my personal and business emails.
On the attached image I have the list of Samsung apps I have frozen.
However, freezing Social Hub 7.52.10101 (icon-envelope/blue S), it does not let the stock mail app function.
Click to expand...
Click to collapse
Unfortunatly social hub is connected with stock email. when you freeze that email will get freeze too. Do you really want the social hub? just curious
shankar10 said:
Unfortunatly social hub is connected with stock email. when you freeze that email will get freeze too. Do you really want the social hub? just curious
Click to expand...
Click to collapse
Well, I really like using the stock email app. However, I hate the fact that com.seven.Z7.WakeLock.Alarms | com.seven.Z7.Social Hub stay awake after every reboot. I have to manually stop it everytime. If I forget, it will keep the phone awake the entire time.
Is there anything else I can possibly do to prevent the wakelock com.seven.Z7.WakeLock.Alarms | com.seven.Z7.Social Hub from auto starting and/or staying awake after each reboot?
Uninstall it, I did and my corp email and pop3 still work.
AP Mobile is another one I uninstalled... and buddy now... and a bunch more.
Questions go in the Q&A section
Step666 said:
Questions go in the Q&A section
Click to expand...
Click to collapse
Sorry, I wasn't aware of where to post the question. Thanks for clarifying this to me and moving the thread to the appropriate location.
Sent from my SGH-T989 using XDA App

Categories

Resources