Oh Google, why? Push Notifications C2DM - Galaxy S III General (US Carriers)

Discovered something while trying to trouble shoot my Facebook push notifications issue.
I had gone through slimming down my processes/wakelocks using AutoRun Manager by disabling certain listeners/services that I know I wasn't going to use.
After doing that, I noticed that my Facebook push notifications and any other push (C2DM) notifications stopped working completely.
It turns out that the issue lies in the Google Services Framework app, more specifically the GTalk portion of it. I had gone in and disabled all listeners relating to Gtalk...there were about 5 or 6 of them. The rest I left enabled. As soon as you disable any single event listener in the Google Services Framework, Push notifications STOP WORKING.
I don't know whether its directly related to GTalk, or just not being able to disable ANY of those listeners under GSF, but it definitely screws up push notifications. That being said, to fix it..I would restore the listeners and then Reboot (only after reboot it would work). Upon starting back up, Push Notifications working again.
I just can't believe Google would put something like that into the GTalk services.
I think this is the reason why we see WakeLocks for GSF/GTALK but we (I) don't actually use it and have it disabled.
Well that's how I spent my day

Wouldn't uninstalling gtalk make your life easier?
I would think tampering with listeners is a big no no, but I barely know java... So anyone else?
Sent from my PG86100 using Tapatalk 2

ktrotter11 said:
Wouldn't uninstalling gtalk make your life easier?
I would think tampering with listeners is a big no no, but I barely know java... So anyone else?
Sent from my PG86100 using Tapatalk 2
Click to expand...
Click to collapse
You can't really uninstall it. Maybe you can remove the apk from /System/app but there are still services related to it in Google Services Framework.
I was mostly trying to get rid of the wakeups/alarms from gtalk...but I guess those refer directly to push notifications.

Related

always running service: Media > DownloadService

hi guys, I always see Media > DownloadService in running apps.. why it is running all the time? and, being running all the time, is it supposed to drain my battery faster?
I have always lived with that, but if it drains my battery faster I would like to get rid of it..
EDIT: it seems to me it is related to GMAIL.. in fact, after a reinstall, download service process was not there until I started gmail for the first time.. now it is always there again..
can you guys using gmail confirm you have media download service always running?
and people who has not gmail installed can confirm they don't see that process always running? thanks!
moly82 said:
hi guys, just a question.. is that normal that I always see maps in running apps? I use maps once per month or even less, so why it should be running all the time? (maps > PrefetcherService)
and, being running all the time, is it supposed to drain my battery faster?
I have always lived with that, but if it drains my battery faster I would like to get rid of it..
the same happens also for "media" (media > DownlodService..... what is that? can I remove it?) and google play music (MusicPlaybackService)
it is really annoying for me to see them always running even when I am not using them....
any suggestion? thanks in advance!!
Click to expand...
Click to collapse
It happens with me too. I used Greenify and it stopped appearing until the 4.1.6 play store update. Now maps opens automatically almost every 2 minutes. You might not get a significant change in battery life. You can remove google play music though. I don't know about the media download service, might be related to browser or google play music (I recommend not removing it).
thanks for the answer. I tried greenify too and it seems to correctly remove maps here.. (I too have play store 4.1.6, will update to 4.1.10 in a short time btw )
about play music.. I use it, so I can't remove it! btw I greenified it too, so it shouldn't bother anymore
so the only pending problems are media service and also play store (pendingnotification service) that is appearing sometimes in running apps.. unfortunately they are system apps so I can not greenify them
The pendingnotification service might have appeared because of the option to notify you of an update. And yes, the pro version has that feature of hibernating system apps (but its experimental) and god knows what might happen if you do.
of course I disabled the notification and auto update via WiFi options and rebooted but the service kept appearing in running apps sometimes..
as x the media running service, it seems I fixed it removing mediauploader.apk it has not appeared again so far after removing that package!
so all seems good now thanks all!
Sent from my MB526 using Tapatalk 2
EDIT: media downloadservice is back again so it was not related to mediauploader... what the hell can be that??
it seems to me it appeared after running gmail for the first time.. but I will have to confirm that after some more investigations..
after some more attempts, i found out the process: media > DownlodService is related to both gapps and Downloadprovider.apk
if I remove Downloadprovider.apk, that process doesn't appear anymore, but I get gapps FC's (and very probably will not be possible to download anymore things from the browser and/or play store)
so in conclusion it seems to me we have to live with that process running, and that is not possible to really get rid of it safely..
Yup, made that mistake of deleting Downloadservice.apk... Drove me nuts with FCs
so nobody could get rid of that process? you too have it always running?
moly82 said:
so nobody could get rid of that process? you too have it always running?
Click to expand...
Click to collapse
:silly: Strangely, no, its not always running for me.
It seems to run when I download something in a browser and then disappears after 15 minutes or so
after a reinstall it seems to me it is related to gmail.. in fact download service process was not there until I started gmail for the first time.. now it is always there again..
can you guys using gmail confirm you have media download service always running?
and people who has not gmail installed can confirm they don't see that process always running? :fingers-crossed:
thanks
it seems to me after I installed latest maps 7.x the media > download process is not appearing anymore in running processes.. maybe it was related to sh*tty maps??? :fingers-crossed: :fingers-crossed:

Playstore not allowing me to sign in

This morning I woke up to a phone that wouldn't load playstore, youtube, hangouts, and others. I rebooted, factory reset, installed a new rom, and still I cannot sign in to playstore.
Try to clear data in play store app otherwise might just an issue with Google on their end.
Sent from my SM-N900V using Tapatalk
mjh68 said:
Try to clear data in play store app otherwise might just an issue with Google on their end.
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply. I dug deeper thinking something in the settings was wrong. In the security settings I found a list of "Account Permissions" kind of like the list in Play Music. Well there was a large amount of the same device. I started revoking access to some that were not active for several months. A few minutes later I started receiving email notifications and a notification to update some apps. I did not know this existed. Just like Play Music once you reach a certain amount of "Authorized Devices" it will not allow access to any more.
Xirix12 said:
Thanks for the reply. I dug deeper thinking something in the settings was wrong. In the security settings I found a list of "Account Permissions" kind of like the list in Play Music. Well there was a large amount of the same device. I started revoking access to some that were not active for several months. A few minutes later I started receiving email notifications and a notification to update some apps. I did not know this existed. Just like Play Music once you reach a certain amount of "Authorized Devices" it will not allow access to any more.
Click to expand...
Click to collapse
Did not know that about the play store either. ..thanks
Sent from my SM-N900V using Tapatalk
Many Google services were down today for about 4 hours. People were having problems with everything Google related, myself included.

Calendar notifications not working

So my calendar notifications have been weird since the day I got my S8, they only seem to work when it feels like working..
I've just missed an appointment because I didn't get a notifications (I set 3), is there a solution?
Two things I found online, first one worked for a day or two, second one apparently did the trick:
Disable battery saving per app - you have to do this for each app you don't get notifications from
https://android.gadgethacks.com/how-to/fix-delayed-notifications-your-galaxy-s8-s8-0177437/
Disable Google app - apparently Google app causes problems, so you have to disable it. Just the Google app, nothing else by Google.
Also you have to check enabled notifications: Settings - Notifications - Calendar
WM_Rizzo said:
Two things I found online, first one worked for a day or two, second one apparently did the trick:
Disable battery saving per app - you have to do this for each app you don't get notifications from
cannot quote this because of forum rules
Disable Google app - apparently Google app causes problems, so you have to disable it. Just the Google app, nothing else by Google.
Click to expand...
Click to collapse
I've started a new thread about this one.
Do you mean disable google in settings->applications->application manager->google app (it is now saying disabled on my device).
I'm curious if this is gonna do the trick. I'll try and come bazck if it does not.
I't is strange that there are not MORE people complaining about this, maybe no one uses calendar apps.
I have the same issue on my note 8, I try everything to make the calendar notifications working but nothing seems to work.
I've search for a solution all around the web but there's no way...
I'm having the same problem from day one! I hoped Oreo fw wouldn't have this problem anymore but unfortunately it's still there. It's driving me nuts!
How the hell did Samsung not fix this already? Calendar application should be one of the most important apps in a smartphone. Yet it's totally unreliable and there is no solution for this! It probably has something to do with aggressive power saving.
Anyone found a way to fix this?
Sent from my SM-G950F using Tapatalk
My solution to this and whole lot of other notifications is disabling Doze through adb:
Code:
adb shell dumpsys deviceidle disable
Mehmedalija said:
I'm having the same problem from day one! I hoped Oreo fw wouldn't have this problem anymore but unfortunately it's still there. It's driving me nuts!
How the hell did Samsung not fix this already? Calendar application should be one of the most important apps in a smartphone. Yet it's totally unreliable and there is no solution for this! It probably has something to do with aggressive power saving.
Anyone found a way to fix this?
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
macBart said:
I've started a new thread about this one.
Do you mean disable google in settings->applications->application manager->google app (it is now saying disabled on my device).
I'm curious if this is gonna do the trick. I'll try and come bazck if it does not.
I't is strange that there are not MORE people complaining about this, maybe no one uses calendar apps.
Click to expand...
Click to collapse
Well, I have the same problem, and I tried everything with samsung center, because I have J5 (2017) android 7.0 OS, but they did not help in any way. I found solution on forums, that works for me, and it is app on google play named "calendar notifier". It automaticly sinc with your calendar, and it plays any sound you choose for alarming, until you dissmiss it. It may happend that you hear 2 sounds, one from calendar it selfe, and one from calenad notifier, but you will not miss the appointment....
Any updates?
Has anyone heard of a forthcoming solution on this?
My only "fix" has been to disable the Google App except that app is how I launch commands for Google Home. Without it I cannot use my phone to take actions for my smart home devices. So it's a bit of an inconvenience for me. Plus surely there are people out there that like using the native google search capability on their phone while still getting notifications from apps.
I say from apps by the way as it's not just an issue exclusive to my calendar. When I have Google enabled it works for a while, but then will stop and many things stop. Text notification indicators, facebook notification indicators, calendar appointment notifications etc.
Do we need to be contacting Samsung support through their website or have people done this and it just doesn't help?
It's a bug in Android and it will be solved in next big update hopefully. Until then workaround is to use this app:
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Read more about this problem here:
https://support.google.com/calendar/forum/AAAAd3GaXpEFzD9Y6ojci4/?hl=en
https://android-review.googlesource...iders/CalendarProvider/+/528295/?polygerrit=1
https://android.googlesource.com/pl...er/+/1f4773948f99c9460f2b3b397d87dc4aeb87d73e
Mehmedalija said:
It's a bug in Android and it will be solved in next big update hopefully. Until then workaround is to use this app:
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Read more about this problem here:
https://support.google.com/calendar/forum/AAAAd3GaXpEFzD9Y6ojci4/?hl=en
https://android-review.googlesource...iders/CalendarProvider/+/528295/?polygerrit=1
https://android.googlesource.com/pl...er/+/1f4773948f99c9460f2b3b397d87dc4aeb87d73e
Click to expand...
Click to collapse
FANTASTIC INFO. Thank you. Glad to see it's in the works for correction. Seemed like quite a large issue to have even happened and not being repaired quickly. But I suppose I don't know the complexities of what caused this or the best solution to fix it. Just seems like a lot of people rely on calendars and appointment reminders not working would be a big **** storm for them.
Just chiming in to let you know I'm having the same problem on my Note 8! It was working for a few months and then stopped! Tried clearing cache, data, and many other "fixes" that I've since forgotten. Nothing works. Recently got the Oreo update and SAME problem!! Really annoying! Maybe it's Google sabotage?! They are trying to control everything! Btw, downloaded the Google calendar app but I don't like it!
I had used successfully the adb doze disable on command prompt but my phone just "upgraded" to Oreo 8.0.0 and now my calendar notifications have stopped working again!!! I had a functioning calendar finally but now it's gone again!!! I ran the adb command line again (adb shell dumpsys deviceidle disable) but still no notifications! I cleared data, checked the app wasn't optimized and reverted to stock calendar but nothing! Does anyone know another command line to stop this doze crap in 8.0.0??? This is why I dread EVERY "upgrade"! How could they take this away from me again???!!! I used to love Samsung but now I hate it!!!
I did the device doze disable using SDK tools and this worked for months then it stopped notifications again... sometimes! Besides making calls this is the number one thing I need from my phone and it still doesn 't work! Anyone ever find a solution to this because I still need one! Using Android 8.0! I was using Calendar Events app, worked for a while then quit. Same with Calendar Notifier and Calendar Snooze app. Plus a number of other apps designed to work with the calendar. I've been relying on my calendar since my Galaxy S2!
I stopped using calendar notifications because of this issue. I have very spotty wifi and mobile data, I found that calendar notifications would only work with a data connection. Typically, I'd set a notification, but remember the appointment anyway. About 10 minutes in the car, data finally connects, the 30 minute old notification finally goes off....
It's a dismal state of affairs when the consumer becomes the software tester with such an essential device.
Well,this is weird. My Whatsapp notifications weren't working. When I set the notification in the app ,you can select the app that chooses the file eg Chomp(SMS), Audio files,Themes,Music.
Intutively, I chose Audio files, and that appears to work, but Whatsapp produced no sound on incoming messages. When I chose Chomp to select the MP3 file, it seems to work OK. I'll play a bit more and report back.
Cheers
Steve

Disable Battery Optimization

So it looks like there are many people having issues with the battery optimization feature, which lets me guess oneplus is already aware of the problem. My question is if there is a way to disable the optimization completely for now until oneplus has sorted things out.
Since the last update it is so aggressive, it kills youtube's connection to my chromecast every few minutes, rendering all control features unuseable as I always have to reconnect before I can do anything. This also makes my wearOS watch unuseable as it also depends on the phone keeping the connections alive.
You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk
I also would like to know if this is possible in an easy way. I don't want to disable it for 256 apps independently.
Aircraft800 said:
You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.
boelze said:
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.
Click to expand...
Click to collapse
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
Aircraft800 said:
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
Click to expand...
Click to collapse
I would love to try this but I am unrooted. Youtube should be on the list but it is not, I am guessing that is because it comes preinstalled, the playstore app isn't there as well for example.
I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.
cannothas said:
I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.
Click to expand...
Click to collapse
Having exactly same problems with gmail and chrome (html5 push notifications). I am rooted. So I am considering to mark those apps as non system apps, but still not sure if this won't brake future updates or something.

Gmail notification issue - Mi 9T

Is anyone else having problems with Gmail (which comes pre-installed as a system app on the Mi 9T) not showing notifications until the phone is "awoken"?
I have accessed developer options, turned off miui optimization, I started Gmail and locked it to recents tab, I turn off battery optimization for Gmail & I manually turned on notifications. I can't autostart the Gmail app as it is a system app and apparently it automatically autostarts. But notifications still will not come through until I "wake" the phone by using it for something else.
I don't have issues with other "push" apps like WhatsApp - only Gmail.
Do others have the same issue? Can anyone recommend a fix?
Me too...
But it's not very often and sometimes affects other apps like WhatsApp etc as well.
Any fix to this?
Its a power saver issue. I think it's with all apps. If an app is awake you get notifications if you close it you get notifications for a while then its put to sleep. I noticed it with Instagram DMs and even though I set Instagram to be (no power restrictions) it still gets put to sleep! this is a really annoying issue! What's a "mobile" phone without instant notifications??
Same here. Gmail notifications are delayed for 2-20 minutes, but when I turn screen on (even without unlocking) notification shows immediately. Do you find any fix?
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
pfornaro said:
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
Click to expand...
Click to collapse
Already done, no effect.
My pixel didn't send a gmail notification until after turning the screen on too, it's probably not a device issue at least.
pfornaro said:
Just delete it as a system app through Xiaomi ADB/Fastboot tool and install the google play store version. In this way you can set off the power saving miui management
Click to expand...
Click to collapse
Off topic. For some other reason, I tried uninstalling Google photos via Fastboot tool and when I try to install from play store, it just gets enabled in a second; which means ultimately it didn't delete the system package; just hidden it.
Anybody came across the same issue?
mrumais said:
Anybody came across the same issue?
Click to expand...
Click to collapse
Yes, I uninstalled GMail and install it from Google Play - installation was finished in second.
Set Gmail to auto start and make sure it has no battery savings mode applied to it
Gmail is a system app and there are no options to set it to start automatically or change battery restriction.
Removing it via abd does not work.
Btw is this a MIUI issue due to battery "optimization" or android in general?

Categories

Resources