yashsingh1/xdaforums huggingface dataset:
[Greenify] oasisfeng:
GCM wake-up is considered to be one of the most unreliable feature among the experimental features, thus still stuck as donation-only.

There're many factors behind a working GCM push, and trouble with either may lead to the failure of the whole expectation.

Let's discuss the common misunderstandings first.

Now if you believe your app failed to wake up by a GCM push, follow these instructions to find the cause:

1. Open and monitor the logcat (Android log system), either on a USB-connected computer, or on your device with tool app like CatLog.

2. Set the filter to only include keyword (or tag) "GCM".

3. Let's trigger an expected GCM push (by sending an instant message from another device or so). You will soon read a line like this in logcat upon the arrival of GCM push:

I/GCM﹕ GCM message com.joaomgcd.autoremote 0:1426418730738334%0#02db4288f9fd7ecd

This means Google Play services received the GCM message from Google's server and ready to deliver it to the corresponding app (indicated by the package name in the line, com.joaomgcd.autoremote in the example). If you cannot find this line in a reasonable time span, then it may be that app which lose the registion to GCM. Try logout and login your account, or clear the data of the app, or even uninstall and re-install it to restore its registration to GCM.

In all good situation, you should now receive the notification. If not, read on.

4. If the target app is hibernated before the arrive of GCM push and you have activated "GCM Wake-up" feature, then open Greenify ASAP (since it may hibernate again in a few minutes).

You will probably find that app is awake and listed in the "WILL HIBERNATE..." section. In this case, Greenify had managed to wake up the hibernated app and deliver the GCM message to it, but that app may failed to process it correctly and show a notification. This does happen to some apps which can't deal with GCM message upon wake-up. Try trigger another GCM push manually, if the notification shows up this time, that app falls into this category. It's hard to blame the developers for that, since they may not prepare for the arrival of GCM push when their background service is not running. So I'm still trying to figure out a better solution to make "GCM Wake-up" compatible with these apps.

5. If the app still stays hibernated, then the wake-up attempt might fail.

Back to the logcat, you probably read another line like this:

W/GCM-DMM﹕ broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE pkg=com.joaomgcd.autoremote (has extras) }

It means the push is not delivered successfully. If you did activated "GCM Wake-up" but still read this line, then it may be Greenify's fault, except if you have disabled the notification of that app in system Settings - Apps - That App - Show notifications (unticked). Greenify checks this setting before trying to wake-up an app to deliver GCM push.

Note: As a reference, try "AutoRemoteLite" with its web interface to trigger GCM push.
[Greenify] oasisfeng:
Please report your finding in this thread with the detailed information:

Device model

ROM

Android version

Working mode of Greenify (Root or Boost)

Is "Deep Hibernation" also enabled.

and I'll try my best to help analyzing the issues.
[Greenify] v7:
Device:Xperia ZR C5502

ROM:CM12 UNOFFICIAL by [MENTION=3281397]xenius9[/MENTION] Link:https://yadi.sk/d/dTadZHj_fCZKN

Greenify Donation Version 2.6 beta 6

Boost Mode

Deep Hibernation enabled.

Logs attached

Tapped from my furious ZR ;)
[Greenify] xda_emanuel:
Just tried that app Catlog with facebook and facebook messenger which are the only 2 apps i've in hybernation except for google plus which i turned off notification. Sooo.... When those apps are not greenified the gcm stuff seems to be received property... I can see also the gcm received in the google play service stuff for the heartbeat. But when those apps are greenified i don't received nothing about facebook.. no gcm and no notification till i open again the app. Thats weird i think, its like the app is on a strong deep sleep also because when i tried to send a message in facebook from my another account with catlog open and the Word Gcm in the search option, seems that theres no gcm received from that app till obliviosly i open them. I don't know but i remember when i was on kitkat they work fine. Anyway my configuration is

Android 5.0.2

Nexus 4

Last beta 5

Rom : purity

Deep hibernation disabled

Boost mode with xposed alpha 2 and gcm notification enabled. and also keep notifications enabled.
[Greenify] davtse:
Facebook has changed something in the two apps recently. It used to be working fine. Now I just use facebook lite since it works well with greenify and gives me push notifications.
[Greenify] xda_emanuel:
Just installed facebook lite to try what u said.. Gcm still doesnt work if the app is greenifyed

EDIT

I found on a thread the messenger1.0.1 apk and with greenify now my push notifications are working fine.
[Greenify] oasisfeng:
GCM wake-up is expected to be improved in the latest beta 6 (being rolled out), with a new warm-up and re-delivery mechanism.

Test feedback is welcome~ :)
[Greenify] tryfos:
It's as simple as that for me: When fb and messenger are not greenified, push notifications come through perfectly. When they are, gcm for both these applications does not work. So I do not have to check something with the use of this guide, because it's obvious that Greenify stops the notifications. Whatsapp works flawlessly for me, even when greenified.

It's also obvious for me that both these apps changed something in the past 3-4 versions (for fb) that broke the gcm when greenified. It worked in the past for me. But Greenify did not keep up :(

Greenify devs please fix that bug!

I'm on Sony SP, stock 4.3, rooted, boost mode (also tried rooted mode), greenify 2.5.2, messenger 23.0.0.20.13, fb 29.0.0.23.13
[Greenify] K-a-M-u-Z-u:
where can i get this messenger version?
[Greenify] robert1337:
is it kernel or rom related?

my whatsapp push gcm worked perfectly on my galaxy s4 (stock kernel)

now it doesnt work on my note 2 with agni kernel (i changed phone because of overheating problems)

could it be because i am on 4.4.4 (i had 4.4.2 on s4) or rom or kernel?

if i degreenifiy whatsapp can receive gcm push normally though.

any expert can help me?

thanks in advance :)
[Greenify] v7:
Do you get notified for other apps?

If its a whatsapp only problem,clear data for whatsapp or reinstall it.That solved the issue for me.

Tapped from my furious ZR ;)
[Greenify] robert1337:
i think its all apps problem, tried reinstalling whatsapp still no gcm push
[Greenify] v7:
Have you disabled any play service receivers?

Tapped from my furious ZR ;)
[Greenify] robert1337:
no, the phone is exactly like it was on my s4. it should work, but it doesnt
[Greenify] cyphoro:
Threema

Threema GCM wake-up does work!
[Greenify] Ijt5:
Whatsapp & Facebook App

Hi, I just tested both Whatsapp and Facebook app works in Greenify beta version.
[Greenify] Javi22:
Do you think the Google now remainders are gcm push?

Im not sure, because it is not some information that arrives to the device, it is just some remainder set from the app itlself

However, it doesnt work when greenify....Actually, I have noticed, remainders wont arrive If phone is not connected to internet
[Greenify] sptrheru:
Hello, i have 'strange' gcm wake up problem. My device in GT i9100 running on 4.1.2.

The problem is greenify did not wake up my application (BBM and whatsapp) after i sent message using other device (in first boot).

but strangely, gcm wake up working after i installed any application (in this case after i installed CatLog / Clean Master).

P.S i dont greenified any system app, and GcmService running from booting.

please help me solve this problem.

thanks
[Greenify] Portgas D. Ace:
Try setting your working mode to Boost.
[Greenify] gggg:
2.7 final not working together with whatsapp

nothing helps... root, xposed boost, no deep hibernate

I enable data once every hour for 3 minutes with Llama (like Tasker). As soon as apps are in "ZZZ" I dont get GCM push messages. But gsync still works. So I thought I will wake up e.g. whatsapp with Llama and the locale plugin supplied from greenify.

But the locale plugin wakeup from greenify also does not wake up the app. If I press the "play button" in greenify its awake immediately.

Can I start any androide intent to wake up GSM,... ??? Any ideas very welcome ;)
[Greenify] Portgas D. Ace:
You did activate Greenify within the Xposed module section, right? Without this, the experimental features won't work at all.

The latest version of Greenify (v2.7) should have solved the issue with apps not waking up when done by its plugin for third-party apps like Llama and Tasker (according to the change log). Therefore: update Greenify and try again. Concerning the GCM feature: it seems that for some apps like Whatsapp or Telegram this does not work properly. So don't greenify those apps. It is more or less a trial and error to set up Greenify according to your personal preferences. I do not have Whatsapp whitelisted, for example. But other apps like my email app work flawlessly.
[Greenify] gggg:
2.7 final not working together with whatsapp

I am on 4.4.4., greenify 2.7. final, root, xposed boost, no deep hibernate ... and all i have written applies to whatsapp ...

1. Why do app "wake" and "sleep" just work from greenify itself, but not from the locale plugin ... if this could be fixed everything would be fine ;)

Does anybody know an alternative way to wake it ... e.g. using an androide-intent ...

2. I just tried an alternative way: As said I enable data once per hour for some minutes. So I started whatsapp when I enable data (all from Llama). Works fine ... so then I thought when I disable data I send "all greenified" to ZZZ using the locale plugin. But that also does not work. Greenify states that UI was woken xx:yyy.

It also doesnt go to sleep as usual after 3 minutes this way.

What works though is first killing whatsapp with Llama and then using locale plugin to explicitly send "Whatsapp" (not all) to sleep

---------- Post added at 16:42 ---------- Previous post was at 16:05 ----------

Would be nice to have some reaction ... I provided logs already on last page (of course they are oudated because of the new version in the meantime), but the prob stays ... and I am willing to help with additional logs ;)
[Greenify] gggg:
What do the following intents do .. how could I use them from Llama/Tasker ?

Broadcast:

com.oasisfeng.greenify.intent.action.Hibernate

com.twofourtyfouram.locale.intent.FIRE_SETTING

WakeupObserver:

com.oasisfeng.greenify.action.APP_WAKEUP

com.oasisfeng.greenify..ACTION.APP_WAKEUP
[Greenify] TNSMANI:
You may have a problem. But that doesn't give you a license to post it all over the place. I have already read three different sub threads where you have posted the same thing.

Stop it and observe some etiquette.
[Greenify] Packsman:
[MENTION=4376588]oasisfeng[/MENTION] first of all thank you for the great app. I want to report a bug when using cm account phone finder service. I installed greenify but didn't hibernate any app, I just checked the option ''GCM push for greenified apps'' and then I find out that cm account phone finder service is broken. Without this option checked, the service is working and locating my phone instantly.

Device model: LG Nexus 4

ROM: Cyanogenmod cm 12.1

Android version: 5.1.1

Working mode of Greenify (Root or Boost): Boost

Is "Deep Hibernation" also enabled: No
[Greenify] danzel:
Device model: LG G3

ROM: Stock Lollipop

Android version: 5.0.1

Working mode of Greenify (Root or Boost): Boost

Is "Deep Hibernation" also enabled: No

WeChat doesn't do GCM push when greenified.
[Greenify] danzel:
This is bad... really bad... this must go to sleep... hibernate... greenified... (tencent is wechat)
[Greenify] mazzy90:
Hi guys,

I have a problem with my Facebook app and Messenger.

When both apps are greenified and my phone screen is off, I can't receive push notifications. Then, if I turn on my screen the notification appears and if I go to Greenify I can see that my app was awaken by push since XX min.

So basically, the apps actually receives the push but it is not able to show the notification when the screen is off.

When apps are not greenified, no problem, push notifications work great even with screen off. This problem occurs only with Facebook app and messenger, others greenified apps with push notifications work great.

I am root with xposed on a S4 mini with CM 12.1. I use the latest version of Greenify with donation package. I tried the latest beta but the problem still occurs. I also tried to uninstall/install Facebook app and Messenger.

Just one more thing, everything was working great last week. Is it possible Facebook changes something in their apps in the last update ? If yes, is someone facing the same problem ?

Thanks for your help.
[Greenify] Portgas D. Ace:
Facebook and its Messenger don't use GCM but their own push service (MQTT, as far as I remember). Therefore, they can't benefit from Greenify's GCM Push feature when they are greenified.
[Greenify] spleenandcigars:
Altought i've purchased Donation Package, i'm running 4.4.4 and didn't checked the box "don't remove notifications", all the apps that i greenify is leaving its notification behind. Despite that, Facebook and Messenger keeps waking up. btw, donation package + xposed + root.

[IMG="Greenify Options"]http://i.imgur.com/TVn5BLV.png[/IMG]

[IMG="Notifications in taskbar."]http://i.imgur.com/JiD9NDA.jpg[/IMG]
[Greenify] :
So fb messenger using now MQTT push? any older apk using GCM ?

Using greenify 2.7.1 donation + boost mode.

All works but fb messenger dont show up when hibernated, when i turn sceen on it shows.
[Greenify] elia_11:
Device : S6-G920F

Rom : WetaRom 9.3.1

Android v : 5.1.1

Working mode : Boost

Hi , I have Greenify v2.8 beta3 but have this problem : if I receive a notification by a hibernated app , this reopens and don't hibernates more . The only way to do is unlock the phone and hibernate the app manually

Inviato da Mountain View tramite Samsung Galaxy S6
[Greenify] TNSMANI:
Is Greenify enabled in Settings>Security>Device Administrators?
[Greenify] elia_11:
Yes , the problem was the options "don't remove notifications"

Inviato da Mountain View tramite Samsung Galaxy S6
[Greenify] TNSMANI:
You mean unchecking it stopped the issue?
[Greenify] elia_11:
Yes , now auto hibernation works fine

Inviato da Mountain View tramite Samsung Galaxy S6
[Greenify] dalisoft:
Hi Greenify authors/devs.

I'm using Greenify + Xposed + Boost Mode + Greenify Donation Package. I haven't GCM push notification. What i need to do?

In my previus Norma ROM v15 it worked, but now not working.

current rom: http://xdaforums.com/galaxy-note-3/development/rom-phronesis-rom-v1-0-stable-feature-t3241910/
[Greenify] TNSMANI:
You mean you don't have the option to enable GCM push in the Settings/Experimental Features of Greenify?

Or you don't get GCM notifications even though you have enabled that option? If so for which apps?

Are you running Greenify stable 2.7.1 or one of the betas?
[Greenify] dalisoft:
GCM push notification enabled (checked). I have no idea about Greenify Beta tester. All apps can uses GCM push such as WhatsApp, Telegram, Viber, IMO and etc. I now know, it's not working on some ROMs. Greenify 2.7.1 (in about shows 2.7). Donation package buyed. Thanks!

Moderators: Please close thread. It's working on other ROM (My error, sorry).
[Greenify] TNSMANI:
The thread can not be closed on your request. It was not started by you.

For your information, atleast Facebook and WhatsApp do not use GCM.
[Greenify] dalisoft:
Whoops sorry, i have thrad for Greenify, i missed something!

I don't know Facebook, but WhatsApp now working via GCM. Test yourself mate:)
[Greenify] koko115:
Why greenify dont control MQTT notify, like in fb messenger app ?
[Greenify] slimcyril:
[MENTION=4376588]oasisfeng[/MENTION] Greenify works impeccably on my s3 but settings don't stick after an update or reboot, could you keep me advised on how to resolve this issue?
[Greenify] Mr.Jay:
Hi, I have donation package on my Z3 with Xposed and Boost mode activated. Apparently push notifiations are working fine in all my apps except on one of them, Facebook Messenger, anyone else is having issues with this one? Is there any way to fix push notifications on this app?
[Greenify] Portgas D. Ace:
Facebook and its Messenger do not use Google Cloud Messaging (GCM), they implemented their own protocol (MQTT, as far as I remember). This way, you will loose push notifications of Facebook Messenger when you greenify it.
[Greenify] Mr.Jay:
Is there any workaround or fix to still receiving notifications as using Greenify?

Sent from my Xperia Z3
[Greenify] Portgas D. Ace:
Well, it's some kind of curse with Facebook Messenger. It drains battery pretty much, but if you can't go without push, you have to leave it degreenified and thus live with the drain.

Two thoughts about it:

You can use Tasker to set up some kind of self-made push notification delivery by periodically (once per hour) waking FB Messenger to receive push notifications. But the constant wake-up/hibernation will cause quite some drain by itself.

As an alternative you could use Disa Messenger with its Facebook plugin instead of FB Messenger and check if this reduces your drain.

I have uninstalled FB and FB Messenger a long time ago and use alternative solutions such as Facebook Lite, which are more battery-friendly.
[Greenify] Mr.Jay:
Ok, I will try with disa and if I don't like the results I'll have to install lite

Thank you!! ???

Sent from my Xperia Z3
[Greenify] BBRecon:
Just let everybody know that I have the latest Messenger (as of this posting date), with push working more or less.

See my post here:

http://xdaforums.com/showpost.php?p=66898337&postcount=50
[Greenify] Reksos007:
I know this question is a bit out of this topic but cant find the right post for it so i have a question about greenify. I own samsung galaxy s5 neo andoird 6.0.1 and xposed freamowrk and donetion package. But even with all these things i cant cut off wake up path . Can anyone help me with this problem?
[Greenify] TNSMANI:
What do you mean "can't cut off"?

What did you do and what happens? Some more details will help instead of "can't cut off".
[Greenify] Reksos007:
Before i update to andorid 6.0.1 u could cut off wake up paths of apps. These little scissors

---------- Post added at 10:54 PM ---------- Previous post was at 10:53 PM ----------

Before i update to andorid 6.0.1 u could cut off wake up paths of apps. These little scissors

---------- Post added at 10:54 PM ---------- Previous post was at 10:54 PM ----------

for apps*
[Greenify] TNSMANI:
I understand what is a cut off and the scissors symbol. I am using it and it is working.

I asked you what you meant by "can't cut off"? What actions you took and what happened?

Do you mean that when you click an app the scissors icon doesn't show up? Did you click or long press? Give us details.
[Greenify] Reksos007:
I mean i cant cut it off. These sicssors dosent show up at all on my greenify app
[Greenify] TNSMANI:
The scissors will not show up for all apps, only when they are woken up by other apps etc.

Anyway, try the beta6 which has a specific setting for wake-up tracking.
[Greenify] Reksos007:
Oh okey good to know ^_^ but then why on my samsung i have bluetooth share open all the time thought i almost never use bluetooth ? sane gies fir google play services but that one i guess is connected to my apps
[Greenify] TheNewbi3:
Honor 6 H60-L04

EMUI 4.0

6.0

Root

Deep hibernation enabled

I can't receive notifications from Disa, Telegram and Wechat if i hibermate them.

Thanks in advance for your help!

通过我的 H60-L04 上的 Tapatalk发言

---------- Post added at 12:28 PM ---------- Previous post was at 12:28 PM ----------

Honor 6 H60-L04

EMUI 4.0

6.0

Root

Deep hibernation enabled

I can't receive notifications from Disa, Telegram and Wechat if i hibernate them.

Thanks in advance for your help!

通过我的 H60-L04 上的 Tapatalk发言
[Greenify] koko115:
Any idea, for hibernate messenger without hibernate MQTT service, for get messages ?
[Greenify] dakshsingh:
Please Help me for GCM

I'm newly Android Developer. I'm not able to set up Google Cloud Messaging with my App. Please help me for make my first push notification app..

Thank You..

:) :)
[Greenify] Portgas D. Ace:
Wrong forum thread. This is for GCM issues while using Greenify. You should either search for a more apropriate forum or ask for help here.
[Greenify] pleasetouchmenot:
Bought donation package. I'm on latest 2.95 beta 3. But i encountered this. Using CM13 6.0.1. Any help?
[Greenify] Portgas D. Ace:
Wrong thread. Ask for help in the Greenify thread here on XDA.
[Greenify] divineBliss:
Using Greenify version 3.0 build 1 (beta) on Android 6.0.1, GCM push for Google Voice v0.4.7.10 is not working when the phone is sent a SMS. Hangouts GCMs work fine when Hangouts is Greenified.

Greenify settings:

Working Mode: Root

Shallow Hibernation: Disabled

Aggressive Doze: Disabled

Automated hibernation: checked

Alternative screen .....: unchecked

Wake-up Tracker: checked

Quick action notify: checked

Long-press ....: checked

Xposed-based Features: all checkboxes checked

Xposed frameworks 85 is active.

Any ideas? Let me know if additional information is needed. Running Google Voice manually, the text messages are there. Works fine if I don't Greenify Google Voice :) .
[Greenify] zputnyq:
My device is acer z205

Kitkat 4.4.2

Mtk6572

Wake up tracker can't be activated when I use supersu 2.78 - 2.79
[Greenify] DB126:
Works fine here but different devices and ROMs. Example:

Unlocked Amazon HDX (Thor)

CM 12.1 (Lollipop 5.1)

Super SU 2.79 SR3
[Greenify] zputnyq:
I don't know why, when I use supersu 2.78 - 2.79 (stable/ps release) greenify & link2sd one of their features can't be function.

In supersu log it said "android.os.TransactionTooLargeException

Error: Could not access the package manager.

Is the system running?"

I'm using stock rom + rooted

For bootloader I don't know whether it is locked or unlocked
[Galaxy Note 4 Accessories] Mr.Menu:
I know its probably easy to say they aren't because we've heard someone else say they aren't but can anyone point to any proof?

I have both variants and I will test it out if no one can point to some sort of proof they are incompatible.

I need a new screen for my exynos and I can't find any digitizers for them, and I want one that comes with a camera.
[Galaxy Note 4 Accessories] randpost:
I am curious as well.

I've done 5 screen replacements for the Note 4 (buy broken and flip on craigslist). I have purchased 2 replacement screens that listed the n910c and other Exynos variants as compatible, but they worked on the Snapdragon variants that I was repairing. TGhere was no decernible difference. I still can't be sure of compatibility since I've never taken a screen off of an Exynos Note 4 and tried to put in to a Snapdragon Note 4.

Let me know how it goes if you try it. it's a fairly easy thing to test out if you have both variants.
[Galaxy Note 4 Accessories] Mr.Menu:
Well,

Your reply gave me the courage to open both phones up and have a tinker.

I found some interesting things, like the camera from the Exynos (as listed when it shows hardware for the camera) is different to the snapdragon camera. So the snapdragon camera didn't go along for the ride when I swapped the motherboards.

The S pen connection is a royal ***** to get connected and I still need to work on it. It is detecting the pen when it hovers but its not accurate and I don't think I plugged it in properly. or maybe the plugs are really slightly different but I couldn't tell.

So, YES.

An Exynos motherboard will work with a snapdragon digitizer.

Ive got a black frame, gold face and back on an N910U

and I will likely get visa-versa on the N910G (Mrs's phone)
[Galaxy Note 4 Accessories] rsadalarasu:
Hi, I have a broken display Note 4 ( SM N910H) Exynos version. I live in US. I want to buy a replacement display for my Exynos note 4. Can you please suggest where can i get authentic OEM replacement display?