Greenify Gcm push notification - Sony Xperia P, U, Sola, Go

Hello all.
I've got this greenify app which now enables me to hibernate system apps and apps like whatsapp too without losing their notifications with the help of gcm service. BUT it's not working for me. can anyone help me why this problem is persisting?

Vtrendzzy said:
Hello all.
I've got this greenify app which now enables me to hibernate system apps and apps like whatsapp too without losing their notifications with the help of gcm service. BUT it's not working for me. can anyone help me why this problem is persisting?
Click to expand...
Click to collapse
*push* and +1

AmunReify said:
*push* and +1
Click to expand...
Click to collapse
I've figured it out. Uninstall Facebook and whatsapp. Restart device. install both applications from play store only. After that login and greenify and then try whether notifications are working. mine is working now.
just not hibernating automatically.

Related

Google Cloud Messaging for push notification doesn't work

I have intalled both Greenify and the donate packet, i tried hibernate Facebook and Facebook Messenger. But there are no any notification pushed on my device. Can someone help me?
Sorry for my bad English
Is your device rooted? Did you also install xposed framework? Is the module activated in Xposed and the option checked in greenify?
enban said:
Is your device rooted? Did you also install xposed framework? Is the module activated in Xposed and the option checked in greenify?
Click to expand...
Click to collapse
Yes, of course. I rooted my phone, installed all apps required.
Greenifying Facebook will be a problem since the implementation of notifications by Facebook is different from the standard android way (as explained by the Dev. elsewhere).
But if you greenify Messenger, it will work with notifications unless Facebook changed something recently.
Search the main thread for other solutions.
Sorry for noob question
Grenify stuck at splash screen. On my galaxy nexus rom 4.4.4 why?
tnsmani said:
Greenifying Facebook will be a problem since the implementation of notifications by Facebook is different from the standard android way (as explained by the Dev. elsewhere).
But if you greenify Messenger, it will work with notifications unless Facebook changed something recently.
Search the main thread for other solutions.
Click to expand...
Click to collapse
So if i greenifyed Facebook, i can't get notifications anymore? It only works with Messenger app?
If i ungrenify Facebook, will notifications works normally again?
If you ungreemify any app, it should work as it was before.

Aquamail

Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
sandybeach said:
Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
Click to expand...
Click to collapse
First, please share your experience...... You need to try it for yourself and share any good things/weird things you face.....This way this thread will benefit other people too... :good:
My bad sorry, well i found Greenify is a great litttle app and does exactly what i wanted it to do. I have used aquamail with greenify and i dont have any issues of notifications getting though?
Also one thing i do with Greenify is i use Llama to run Greenify and hibernate all chosen apps when the screen turns off (Llama is an automation tool) this way i only have one service running for Llama and Greenify instead of two
sandybeach said:
Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
Click to expand...
Click to collapse
Yes I'm using it. It greenifies the app as expected but aquamail does not support Google cloud notifications so recently I started using Cloudmagic for my exchange based email. Cloudmagic does support GCN notifications so greenify can "greenify" it but when an email arrives it is woken up by greenify and I get the email instantly. So I have push email without having the app running and having an open connection to the server (as push mail requires).
With Aquamail I had to either manually wake up the app to check email or not use greenify on it.
If someone knows of an option to have push email with greenify and aquamail and would love to hear it as I personally like Aquamail more than Cloudmagic.
morphmk said:
Yes Im using it. It greenifies the app as expected but aquamail does not support Google cloud notifications so recently I started using Cloudmagic for my exchange based email. Cloudmagic does support GCN notifications so greenify can "greenify" it but when an email arrives it is woken up by greenify and I get the email instantly. So I have push email without having the app running and having an open connection to the server (as push mail requires).
With Aquamail I had to either manually wake up the app to check email or not use greenify on it.
If someone knows of an option to have push email with greenify and aquamail and would love to hear it as I personally like Aquamail more than Cloudmagic.
Click to expand...
Click to collapse
I think you can try Acompli. It's better and it support gcm.:fingers-crossed:
trivita said:
I think you can try Acompli. It's better and it support gcm.:fingers-crossed:
Click to expand...
Click to collapse
Is there a way to change the swipe action in Acompli? I couldn't find this option.

Messenger is not being kept under hibernation for some reason

Basically after one of the latest FB Messenger updates, it's being woke up for some reason. Unrooted, Moto X 2014 retail running 5.1 and running current 2.7.1 release - I can't pinpoint the reason of the wakeup since the device isn't rooted but apparently it said "Wifi was scanned" other then GCM probably.
For further info, FB Messenger version is 42.0.0.17.137. Had a couple updates since it started but still happening.
rogeriorp said:
Basically after one of the latest FB Messenger updates, it's being woke up for some reason. Unrooted, Moto X 2014 retail running 5.1 and running current 2.7.1 release - I can't pinpoint the reason of the wakeup since the device isn't rooted but apparently it said "Wifi was scanned" other then GCM probably.
For further info, FB Messenger version is 42.0.0.17.137. Had a couple updates since it started but still happening.
Click to expand...
Click to collapse
If you can manage to run this shell command with USB debugging enabled and connected, you will get wake-up monitor on non-root device:
Code:
pm grant com.oasisfeng.greenify android.permission.READ_LOGS
oasisfeng said:
If you can manage to run this shell command with USB debugging enabled and connected, you will get wake-up monitor on non-root device:
Code:
pm grant com.oasisfeng.greenify android.permission.READ_LOGS
Click to expand...
Click to collapse
Yeah thanks, I know the culprit - it is facebook messenger. I don't even have the main facebook app installed to wakelock it, one of the updates broke greenify on no-root mode.
rogeriorp said:
Yeah thanks, I know the culprit - it is facebook messenger. I don't even have the main facebook app installed to wakelock it, one of the updates broke greenify on no-root mode.
Click to expand...
Click to collapse
Do you mean auto-hibernation in non-root mode is not working on your device? I made some tweak and bugfixes for non-root auto-hibernation in 2.8 beta 1, could you give it a try?
oasisfeng said:
Do you mean auto-hibernation in non-root mode is not working on your device? I made some tweak and bugfixes for non-root auto-hibernation in 2.8 beta 1, could you give it a try?
Click to expand...
Click to collapse
Will do tomorrow and report back in this post.
What is happening is, I set a gesture shortcut on my launcher to manually hibernate apps with all due accessibility access greenify requires in non-root mode, whenever im turning off the display. I dont do auto-hibernation since everything used to be fine, until facebook messenger started misbehaving; no other apps other than that one will wake up the device.
rogeriorp said:
Will do tomorrow and report back in this post.
What is happening is, I set a gesture shortcut on my launcher to manually hibernate apps with all due accessibility access greenify requires in non-root mode, whenever im turning off the display. I dont do auto-hibernation since everything used to be fine, until facebook messenger started misbehaving; no other apps other than that one will wake up the device.
Click to expand...
Click to collapse
Looks like auto-hibernation is working, but Facebook Messenger got woken somehow. Please identify the waker of Facebook Messenger with wake-up tracker, mentioned above. Thus I could give useful suggestion on that.
oasisfeng said:
Looks like auto-hibernation is working, but Facebook Messenger got woken somehow. Please identify the waker of Facebook Messenger with wake-up tracker, mentioned above. Thus I could give useful suggestion on that.
Click to expand...
Click to collapse
I thought I was the only one who is suffering from
Facebook app and Facebook messenger refusing to
Stay in hibernation! Am rooted, xposed framework
Version 73 up and running, boost mode working but
These two annoying apps by facebook were working
Well some months back but after some updates to
These apps, they keep waking themselves up from
Greenify hibernation.....
I started observing there behaviour and I discovered:
1) if you open any other user app that connects to the
Internet, Facebook and messenger come out of hibernation
2) if you hibernate without data connection, once you
Connect to the Internet facebook comes out of hibernation
3) if you open what's app, twitter, Instagram or any other
Social networking app, Facebook comes out of hibernation.
It's really, really, annoying.....
Am using the non donation app and wonder if the
Paid version of Greenify can stop this.......
Bolumstar said:
I thought I was the only one who is suffering from
Facebook app and Facebook messenger refusing to
Stay in hibernation! Am rooted, xposed framework
Version 73 up and running, boost mode working but
These two annoying apps by facebook were working
Well some months back but after some updates to
These apps, they keep waking themselves up from
Greenify hibernation.....
I started observing there behaviour and I discovered:
1) if you open any other user app that connects to the
Internet, Facebook and messenger come out of hibernation
2) if you hibernate without data connection, once you
Connect to the Internet facebook comes out of hibernation
3) if you open what's app, twitter, Instagram or any other
Social networking app, Facebook comes out of hibernation.
It's really, really, annoying.....
Am using the non donation app and wonder if the
Paid version of Greenify can stop this.......
Click to expand...
Click to collapse
Can you see any small text below the awake apps, like "Facebook is woken by XXX ... ago". You may need to enable the "Wakeup Tracker" option in experimental features first (not required on some devices).
oasisfeng said:
Can you see any small text below the awake apps, like "Facebook is woken by XXX ... ago". You may need to enable the "Wakeup Tracker" option in experimental features first (not required on some devices).
Click to expand...
Click to collapse
I don't think I have that option in my two different phones
Galaxy Note 2 GT-N7100 and AndroidOne.
Again as I opened what's app which I had removed from
Hibernation earlier, hibernated every app, put on data
Connection, opened what's app in about 8 seconds
Facebook and messenger came out of hibernation by
Themselves.
Am using IvanMeler CM 12.1 latest version but the same
Has been happening in CMX, RR, Nameless rom etc
Mine pops like this, unrooted: it says wifi was scanned, sorry about the portuguese. Running the latest beta, like you said oasis.
http://i.imgur.com/ELiJrQ1.png.
@oasisfeng, see this sub thread also. http://forum.xda-developers.com/apps/greenify/gcm-push-notification-behaviour-t3225994
He is also complaining of the same issue. From his explanation and also from the first image in post no.9 above, it seems that connection to the internet triggers the wakeup.
Just to clarify the issue.
I don't use Facebook or Messenger.

Facebook notifications

I have latest FB app, turned on all notifications but I don't get any push notifications. Gmail and messenger notifications are working. I have nova Launcher Prime and missed it plugin installed. What could be a problem?
You rooted? If so, possible causes are Greenify or PowerNap.
Not rooted
eos1911 said:
Not rooted
Click to expand...
Click to collapse
may be the notifications are blocked, see in settings-> sound and notification-> application notification
Missed it plugin seemed to have problem with certain apps
Also, check if you're using STAMINA mode and if so, whitelist FB Messenger.

GCM Wakeup only works when phone is awake

I hibernated whatsapp and activated the option that apps wake up when they get gcm push messages.
My problem is that whatsapp only wakes up when my screen is open.
I send myself messages from another phone and waited some minutes but the messages don't arrive until I pressed the home button and woke up my phone.
shouldn't the messages also arrive while my phone is sleeping?
Emre67511 said:
I hibernated whatsapp and activated the option that apps wake up when they get gcm push messages.
My problem is that whatsapp only wakes up when my screen is open.
I send myself messages from another phone and waited some minutes but the messages don't arrive until I pressed the home button and woke up my phone.
shouldn't the messages also arrive while my phone is sleeping?
Click to expand...
Click to collapse
The issue may be with Doze, not Greenify. Uninstall Greenify and check.
tnsmani said:
The issue may be with Doze, not Greenify. Uninstall Greenify and check.
Click to expand...
Click to collapse
I removed whatsapp from greenify and it worked.
do I have to add greenify to the Whitelist of aggressive doze ???
maybe doze affects greenify so that it don't works in doze mode
I only have Whitelisted play services atm
Emre67511 said:
I removed whatsapp from greenify and it worked.
do I have to add greenify to the Whitelist of aggressive doze ???
maybe doze affects greenify so that it don't works in doze mode
I only have Whitelisted play services atm
Click to expand...
Click to collapse
As far as I know, Greenify is not affected by Doze since it has a persistent service running always. I have not added Greenify to the white list. WhatsApp also is not selected for hibernation but still, like you, I also get the notification only when I unlock the phone.
tnsmani said:
As far as I know, Greenify is not affected by Doze since it has a persistent service running always. I have not added Greenify to the white list. WhatsApp also is not selected for hibernation but still, like you, I also get the notification only when I unlock the phone.
Click to expand...
Click to collapse
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Emre67511 said:
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Click to expand...
Click to collapse
There are many things that have to 'go right' for hibernating apps to wake up and post a notification on queue (eg: when a message arrives). Whatever link in the chain is missing may be out of Greenify's control. Suggest excluding WhatsApp from Greenify if instant notification is a priority.
Emre67511 said:
when whatsapp is not hibernated everything works fine. only when I hibernate whatsapp I get the messages when the screen is on.
so the problem is that greenify somehow don't runs in the background when the phone is sleeping
Click to expand...
Click to collapse
The advice for Greenify is not to hibernate IM apps if you rely on them.
tnsmani said:
The advice for Greenify is not to hibernate IM apps if you rely on them.
Click to expand...
Click to collapse
it's not that important because I look often at my phone I just wondered why I only get the messages when the screen is turned on

Categories

Resources