No auto-hibernation for Facebook Messenger - Greenify

I recently switched to Lollipop and I noticed that Greenify doesn't auto-hibernate FB Messenger. I enabled auto-hibernation, and it works with all apps except Messenger. I'm rooted and Greenify is set as Device Administrator.
I noticed that if I were to manually hibernate the app, and then open it back, the auto-hibernation would work correctly. However, if I had a chat-head displayed on screen, then the auto-hibernation would be disabled.
I attached some screens. Basically: no chat-head -> works perfectly; chat-head displayed -> no auto-hibernation
The phone is Nexus 4 running CM12 nightly.
I didn't really pay attention while I was on KitKat, so I can't say if it worked before or not, but now I see this as an issue that I'd like to fix somehow. If donation version would make a difference, I'm open for that.

Related

Hidden sync

I decided to turn on the experimental features in Greenify in my nexus 5 with 4.4.4 and xposed. It shows one of my apps (sol Calendar) is guilty of hidden sync.
My question is, now that I know, what can I do about it other than uninstall the app? I do have a firewall which prevents this app from reaching the Internet and I have xprivacy installed. Are these enough to stop a hidden sync?
Thanks.

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.

Help please: why is the Facebook always working after hibernated?

1. Rooted Nexus 6p with Xposed framework. I hibernated both facebook and Google apps. But whenever I turn on the Greenify to check the status, I always see Facebook and Google apps are shown to be not hibernating automatically. The reason is shown to be working. But I didn't open anything. Any ideas on how to deal with this?
2. I also see many apps are under woken temporarily group (most of them are google apps) even though I hibernated all of them. Is it because I used the shallow hibernation?
carrygo said:
1. Rooted Nexus 6p with Xposed framework. I hibernated both facebook and Google apps. But whenever I turn on the Greenify to check the status, I always see Facebook and Google apps are shown to be not hibernating automatically. The reason is shown to be working. But I didn't open anything. Any ideas on how to deal with this?
2. I also see many apps are under woken temporarily group (most of them are google apps) even though I hibernated all of them. Is it because I used the shallow hibernation?
Click to expand...
Click to collapse
1. When an app is shown as working, tap and highlight it, then open the three dot menu at the top and tap 'put app into hibernation'. You will get a dialogue box with a warning and also an option to ignore its state. Check that and it will hibernate.
2. That is the expected behaviour when you opt for shallow hibernation.

Grennify Facebook (system app) not working as expected

I have an HTC 10 and some apps came pre-installed as system apps, like Facebook, Instagram and others... I have Greenify donation package and I also use the Xposed module.
I have enabled the option to greenify system apps and I'd tried to hibernate Facebook. It somewhat works, the app is hibernated successfully. But when I open it, it doesn't seem to wake up completely. I mean, sometimes the feed is not updated, I swipe to the notifications pane and pull-to-refresh but I get an error "Can't connect at the moment", I try to open an external link that someone posted but I also get the "Can't connect at the moment" error message.
At first I wasn't aware of what was causing this but I then remembered checking Greenify and I stopped auto-hibernating Facebook. Now, every time I open the app, everything is working. Which makes me think that the problem is within Greenify.
I don't know if the real cause is because Facebook is a system app on my phone or for some reason Greenify can0t properly handle hibernation on the Facebook app.
Can anyone advise?

Some apps get duplicate notifications when Greenify xposed features enabled.

Hello,
Some apps like twitter, reed.co, and even push notification tester get duplicate notifications even if they are not in the hibernation list.
Disabling greenify in the exposed modules list fixed that.
I have the same problem with every push notification, every notification is twice. Even with apps which are not greenified.
Is there any fix or workaround?
I have the same problem but only with Twitter. For other apps is fine.
I tested again and I only get double notifications when I activate "GCM Push for greenified Apps" in xposed settings of Greenify. If I turn that off I get the notifications as it should be...
Now I have to test if notifications are being shown without activating this although apps are in greenified state...
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
patrickdrd said:
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
Click to expand...
Click to collapse
Some notifications may be delayed with this option disabled. However, recent Greenify enhancements support per app hibernation modes so you can likely find a satisfactory balance. GCM push for hibernated apps was a nice option at one time but is now depreciated IMO as doze and Greenify have evolved.
1) I don't see any delayed notifications, the apps I want to have notifications for are excluded from hibernation of course
2) I'm using latest greenify 3.8.9 from apkmirror
3) I don't have doze I guess because I've got KitKat and LolliPop,
all in all, it was a nice feature to have, but it has a lot of issues/doesn't work,
besides duplicate notifications, somebody has to test and find himself (by trial and error) which apps are
supported to... "pass through" and which don't work
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
FuTChY said:
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
Click to expand...
Click to collapse
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Hadi99 said:
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Click to expand...
Click to collapse
Yes, that's why.
I disabled it and the issue is fixed. But unfortunately I had to enable it again as I'm greenifying some apps that receive push notifications.

Categories

Resources