yashsingh1/xdaforums huggingface dataset:
[Greenify] tavoc:
Awesome App.

Is it somehow possible to hibernate system apps? At the moment I am converting some of them to user space and hibernate them. Could greenify try to do this by its own?

Regards
[Greenify] STAticKY:
Read the op

TP.
[Greenify] kingvortex:
Yes. Purchase the donate version. Link in the OP.

This has an experimental feature that allows you to hibernate system apps. It requires using Xposed though. Details are available in the description of the donate version.
[Greenify] tavoc:
Mea culpa ;)

I will try this
[Greenify] xcly:
So would it be fine to translate as "Continue" even though it's not recommended? (as the post below yours suggests). I didn't really need to hibernate system apps so didn't bother installing it after purchase :S
[Greenify] Byteater:
Guys I can't hibernate Google chrome since it's not showed.. can you explain me why? I have the donation version

Inviato dal mio GT-I8190 con Tapatalk 2
[Greenify] rignfool:
It has to do with how oasis feng decided to filter necessary apps...

Package name is com.android.chrome...

All packages com.android.*** are filtered out
[Greenify] Byteater:
Yes, I've read this, but I can view anyway some apps which has com.android. in their name.. so why chrome is an exception?

Edit:Sorry, I noticed that they begin with com.sec.android string.. my fault.. Sorry for these useless posts, all works correctly :)

Inviato dal mio GT-I8190 con Tapatalk 2
[Greenify] dendi:
Please enable it for gingerbread :(:(
[Greenify] thracemerin:
It's not possible, the Dev already said this in the FAQ.
[Greenify] kingvortex:
It's not the case that oasisfeng won't make it available for Android 2.3, it's that he can't. Read the OP and the FAQ and it's explained there and some alternatives are suggested.
[Greenify] Namoi:
I would go for "Force" IMHO...
[Greenify] kyp101:
thank it help me to close somme application when i boot! :good:
[Greenify] themadproducer:
Oasisfeng,

Hey, I am not sure if I or this was mentioned before.

The odd time, I know we have all experience some apps not being Greenified at the point where your code kicks in after screen off etc.

I have noticed, occasionally, that I would MANUALLY greenify all apps, and maybe one or two would fail (I won't mention any names...ahem....cough.....Google based ;).....)

And obviously, I have no idea how your code functions....but is it possible for you to make the code greenify apps TWICE... back to back? If I was doing this with Tasker, I would say, "at screen off (or after 3min) greenify all apps....wait 5secs...Greenify all apps again".

The reason I am suggesting this, is because every single time an app has failed to Greenify for me when I manually pressed the Greenify shortcut, those same stubborn apps would consistently Greenify on a Second Pressing of the shortcut.

Perhaps, your code can detect if after the auto Greenify process, that if one or more apps remained ungreenified, within a few second time period...that it would give it a 2nd and final greenify attempt....and repeat this routine next time screen is shut off.

SIDE NOTE:

I have an app that periodically leaves a notification in the notification bar....regarding sync. I cannot disable this app's notification feature...and it seems random at times. Anyway, since it's in the Greenify list....the notification goes away upon Greenification. :good: That's cool. Just another great example of the many uses of Greenify.
[Greenify] xcly:
Ah well someone else translated it as Continue so I'll leave it at that. Thanks for the help :)
[Greenify] tonyp:
feature request

Hey there,

I got a little feature request - could you provide source patches for the framework to allow rom devs native Greenify support?

For some of the donate features (all those that don't touch proprietary software like the GSF) we wouldn't need Xposed anymore.

Additionally I think it should be possible to get rid of the always running Greenify system service if the framework routes some ActivityManager / PackageManager calls to Greenify (would be possible as an Xposed module as well).
[Greenify] hadi_rena:
OMG does this mean your ROM will able to support Greenify natively ? Can properly hibernate stubborn system app ? Just one word : AWESOME.. :good: Waiting for a good news
[Greenify] bilaliz:
i have the latest greenify and verified root, but greenify now continues to fail to put all apps into hibernation. even the manual hibernation fails as well. if i kill the apps from shortcuts then they remain hibernated until i bring them back up. I am on HTC Amaze 4G and have energy rom.

can any one please help.
[Greenify] rignfool:
Are they sync apps?

It won't hibernate apps currently running
[Greenify] oasisfeng:
There are be a few possible causes for your issue:

If the app is performing some actions considered important by system (like playing music), Greenify will skip that app for hibernation.

If the app (or its component) is actively used by other apps, Greenify will skip that app for hibernation.

If the memory is low, the Cleaner service of Greenify may be killed by system, then no apps hibernates until the service is restarted by system.

Once an app is skipped, it will not be retried until the next time the screen is off.

I've added a retry procedure in Cleaner service, you can test it in the next beta version.
[Greenify] oasisfeng:
Currently I'm still testing various framework patches that is likely to change often, so the modification is not yet stable for ROM developer to integrate now. I will open source those patches once it's considered to be stable enough.
[Greenify] oasisfeng:
It's weird since manual hibernation and the shortcut share the same code route… I need to further check that.
[Greenify] superkoal:
2 Questions:

1. It's definitely my fault:

I greenified gmail when i had installed it as a user app and now that i installed it as a system app with a new rom it still gets greenified but isn't shown in the list so i can't disable it. Would it be shown in the list if i made it a user app again?

2. i would like to use the shortcut intent in tasker, which action and extras do i need to supply?

Or is the intent not open for public use?

Thanks for the great app and your answers!
[Greenify] oasisfeng:
1.85 beta 2

NEW: Multiple selection when long clicking the apps list.

UPDATE: New app icon.

UPDATE: Improved compatibility of GCM patch. (Donation version)

UPDATE: Try once more for hibernation failure.
[Greenify] padlockedtight:
Hi all ;)

Can anyone confirm if greenify is compatible with Dmod V5 rom?

Thanks. XD

Sent From The Dark Side
[Greenify] iamnotkurtcobain:
Why don't you try it? If it's a 4.x+ rom and rooted then it should work

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Greenify] chhapil:
How don't know how much it's fair to ask question about specific application. But I find apps from Go dev are notorious to keep running in background.

Go weather Ex remains perceptible to automatic hibernation.

Any idea around that?
[Greenify] arjiegodz:
i love the update.. my req has been implemented. :thumbup:
[Greenify] turko9999:
How can we download the beta version, the link is dead

https://play.google.com/apps/testing/com.oasisfeng.greenify

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Greenify] thracemerin:
Join the Greenify Beta group on G+ first.
[Greenify] turko9999:
I joined but still link is dead, can anyone share this link?

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Greenify] STAticKY:
No link needed. Once you've opted into the beta program the new beta will be pushed to you through the play store...

TP.
[Greenify] turko9999:
I understand but i cant opted cause i give 404error message from the beta test plan link.

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Greenify] STAticKY:
That's because you need to either join the Google group or g+ channel first. Then opt in.

TP.
[Greenify] turko9999:
I add greenify to my circle and join the group but nothing changed still 404, im sorry.

Edit: i refresh it and works fine. Thx for help

HTC Desire HD with Beats Audio™ cihazımdan Tapatalk 2 ile gönderildi.
[Greenify] gamepois0n:
update changelog please
[Greenify] padlockedtight:
Great, thanks. :)

Sent From The Dark Side
[Greenify] Urticant2:
Great app

Thanks
[Greenify] themadproducer:
Oasisfeng,

This latest update has some great features. Good work.

For test sakes, if I manually hibernate apps,

1) how long before the RETRY kicks in?

2) does it always kick in or only when it needs to?

3) Does it retry on manually execution or only at screen off ?

I ask this because my first test, search failed to hibernate. Then I waited a minute and manually hibernated and it succeeded. So it seems to me a timing issue... not Greenify's fault per say. And usually, I don't wait a minute to retry and it always succeeds on 2nd retry. 9 times out of ten, there is no problem. Search failed this time, but most times it hibernates fine on first try.

I will let you know more results in a few days.
[Greenify] bilaliz:
if there is a way for me to send you logs please let me know. I should also say that I have MK808B & an acer A210 on both of which the hibernate now works perfectly fine. its just the HTC Amaze on which I have to go settings->apps->specific app->force stop for it to enter hibernation. and that includes all apps i.e. boat browser,linked in, speedtest, canada post. and all other non essential apps as well.
[Greenify] jh20:
it sucessfully greenified the apps but failed to hibernate them. what's the story? the apps i tried are facebook, aldiko, weather australia and youtube, which are the main 4 apps running in the background besides avast! when i looked into the running apps, they're still running. so is it doing anything?
[Greenify] twosix:
Man, you're rude.
[Greenify] miten_sheth:
It has worked for all of us here.. Maybe it's something that you have done is wrong..

Sent from my SGH-I777

ROM - ShoStock v3.0

Kernel - AJK v1.48-S
[Greenify] bilaliz:
I am reporting the exact same thing. i am one of the early users so its not like i dont know what i am doing, plus i have it working flawlessly on two other devices. i am not sure if this has to do something with a certain version of a kernel or something.
[Greenify] bsoplinger:
I just recently started using this app and have a question. It's the eBay app in particular but the issue is general.

If I click the plus icon to greenify additional app I will see eBay listed in multiple places. Recently run, will wake under certain circumstances and so on. I know I want it to run at startup and regularly so it can inform me of the status of my auctions. But I see no need for it to run whenever an app is installed. If I click on it in circumstance section but not the startup or recently run section do I keep it from running on app installs but still run at startup and regular intervals? I'm pretty sure the answer is no but I think that would be a handy functionality to have. I know that certain app managers do have the ability to freeze or stop only certain app functionality but only if the user is savvy enough to choose the correct options within the app manager. I'd assume the more encompassing generic approach that greenify uses wouldn't allow this sort of thing but figured I'd ask.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Greenify] kulguy:
Tried new beta2 on my Optimus G Pro, and still GCM tweak seems not to work..

I thought my device maybe could be malfunctioning, so I reset to factory default, and by using KDZ tool, I flashed the latest firmware on it.

I rooted my device and installed SuperSU 1.30.

Along with installing a bunch of apps I used, the first thing I did was install Xposed Installer 2.1.4.

After installing Xposed Framework, I rebooted my device.

Then I installed Greenify and donation, and rebooted my device after actitivating Greenify 1.85 beta 2 in Xposed Module list.

I could greenify system apps including Hangouts. but still I couldn't get any notifications.

I didn't do anything like freezing apps or configuring events by using Autostarts.

Android 4.1.2, SuperSU 1.30, Xposed 2.1.4, Greenify 1.85 beta2, Donation 1.3.
[Greenify] jh20:
sorry, didn't realized that came on as rude. my apology to the op.

had some time to search for answer now, and i believe it's because those apps i mentioned were installed as system apps. so, not to worry.....
[Greenify] avd:
Greenifying hangouts breaks all notifications of other greenified apps.
[Greenify] oasisfeng:
1. If it became system app after ROM update, then Greenify would ignore it. How did you find out it still got greenified?

If you convert it into user app, then it will be shown again.

BTW, I don't think Gmail app is deserved to be greenified.

2. There's already a Tasker plugin bundled with Greenify.
[Greenify] oasisfeng:
That's probably because the previous identity of Hangouts is Google Talk, which maintains the underlying connection for Google push.
[Greenify] oasisfeng:
1) Immediate retry.

2) Only if any app is failed in the first attempt.

3) Retry only on automatical hibernation (when screen goes off).

When you say "failed to hibernate", do you mean the state of the app shows that in the greenified apps list of Greenify?
[Greenify] oasisfeng:
Is the "shortcut" you mentioned the launcher shortcut called "Hibernate Now" or something?
[Greenify] oasisfeng:
Greenify treat app as a whole for hibernation, which is a technical limitation. The requirement as you mentioned can be achieved by using AutoStarts or similar tools.
[Greenify] oasisfeng:
The GCM patch is somehow not working for some users. I will add more diagnosis mechanism to further locate the cause.

At present, I have some questions about your issue:

1. Are apps not greenified receiving push?

2. Can you successfully reactivate the push after app is de-greenified (removed from Greenify)? (See FAQ for more information about push reactivation)
[Greenify] oasisfeng:
This might be caused by some root management tools. I already saw SuperUser working flawlessly on one phone, but not granting root privilege to Greenify correctly on another phone. In my experience, SuperSU is more stable on granting root privilege when the device is half-sleeping.
[Greenify] oasisfeng:
Greenified apps will hibernate automatically when screen goes off. That's the difference between the word "Greenify" and "Hibernate", although a little confusing for many users.

The hibernation is delayed in minutes after screen goes off, so you may find them still running if you are not leaving your phone alone for some time.
[Greenify] kulguy:
Yes, Gmail, Kakaotalk and Facebook successfully receive notification if they aren't greenified.

And, I can receive notification of Hangouts after de-greenifying it, once I launch it.

Maybe google hangouts doesn't need much to reactivate push...
[Greenify] paulie7880:
kentijer

Thanks so much for your reply. I thought that I had SuperSU installed, but found out that all I had was the "Pro" license installed. Also my Superuser app was the orig android v1.0. Deleted Superuser and installed SuperSU and all is working, and now upgraded to the paid version. We newbees owe a big debt of graditude to you pros, and I know our "dumb" and repeaated questions are boring to you, but that's how we learn. BTW I did look for an answer by brousing the websites before I asked the question, but unfortunately many times the answers are there but in criptic (to newbees) form. Thanks again and please A newbee thank youdon't give up on us,
[Greenify] kantjer:
That's how we all started, I was a complete noob when I got my fist Android phone a few years ago. One the first thing I did was becoming a n XDA member and read an learn a lot.

As long as people are polite and don't demand answers right away I don't have a problem. But I'm glad I was able to help you to fix the issue.:highfive:
[Greenify] superkoal:
Thanks for your answer!

I found out it was still greenified when i used the launcher shortcut (it was shown in the toast message).

And as i didn't want it to be greenified i started digging where it comes from.

I converted it back to a user app and it showed up on the list again.

And thanks for the hint with the tasker plugin!
[Greenify] davtse:
You're talking about the android.something.something.gsf right? It used to depend on Google talk for push notifications, but since several versions ago (I cant remember if it was gingerbread or ics), you no longer require the app for push notifications. It's the first app I delete whenever I flash a rom, and I still get C2DM or GCM notifications for all my apps(whatsapp, facebook messenger, etc etc) reliably.

Loving the 1.85b2, but am one of the unlucky ones that cant received GCM if I greenify the source app. Keep up the good work!
[Greenify] oasisfeng:
Thanks for your report. It's actually a bug in the shortcut implementation which does not check whether they are still user apps. I'll fix it.
[Greenify] oasisfeng:
Looks like you are right, the legacy Google Talk service is actually not resident in Google Talk app, but in GSF. Does Google replace the google talk service with the new Hangouts protocol for all the push service now?

I've no idea, just some guess. :(
[Greenify] themadproducer:
Well, a toast message says "failed.... Etc" and also I double check the greenify list and said app remains unhibernated...unless of course I manually rehibernate a 2nd time.

Thx for the answers. Could you add the "retry" feature to manual initiation as well? It would serve the same purpose. Thx.
[Greenify] dandroid95:
Wow! that's cool! Thanks! :)
[Greenify] MafiaManV:
Just one question ... If i get com.android.gsf wakeups , that's related to WhatsApp using google push service(aka gtalk ? )

Thanks ;)
[Greenify] padlockedtight:
Works perfectly:laugh:

Many thanks
[Greenify] CM17X:
I can't remember how in hell i ended up with the name of this app last night. I am a total noob talking about android, just bought my first one, an HTC One X. So far, great device, with a battery drain really heavy. I've installed a custom rom but i wanted more.

Long story short, i've installed this JUST lastnight, and the battery got a boost, WHAT A LOT OF SH*T over there which i don't use often but still trying to popup. This thing just gave a slap in the face to those app's and now they are under control LOL

It's a shame is just for rooted devices, a friend of mine want it but he doesn't want to become a root.

Anyway, than you so much.
[Greenify] kotaxor:
Well, can't be help. You need root to stop those sh*t from running... Lol

Sent from GT-I9100 LSD stock rom with speedmod
[Greenify] davtse:
I don't think they've been changed, I still get the same wake locks for push notifications as before hangouts was introduced.
[Greenify] kulguy:
How about collecting examples of working and not working circumstances?

I have had Xposed and greenify donation installed on two devices, on one of which GCM tweak didn't work, and on the other of which GCM started working as of 1.85 beta1.

Yesterday I flashed a different rom on the latter, greenify having worked one. But on that circumstance, GCM tweak doesn't work at all..

What is different from the past is:

<Xperia Ray>

Android Version: ICS 4.0.4 -> JB 4.1.2 (Super Jelly Bean 4.0)

Kernel: ICS 4.0.4 base -> Fusion 5.5

Xposed 2.1.3 -> 2.1.4

Greenify 1.85 beta1 -> 1.85 beta2

I regret making no nandroid backup of ICS 4.0.4..

I can't figure out what made the significant difference among the changes above...

Or maybe I repeatedly did something wrong during installation of Greenify...??

Maybe we can find what is in common on GCM-tweak not working circumstances while collecting examples.

All I found so far is both Optimus G Pro and Xperia Ray running Super Jelly Bean 4.0 are based on JB 4.1.2..
[Greenify] rogerhokp:
wonderful idea,

hibernate the app which already wakeup my phone.:good:

Also can use them if need
[Greenify] blenddeh:
is there anyway to instant auto hibernate the app?

Since my phone do not have a lot of ram and im using chrome browser, but the browser keep its activity even after i closes so is there a way to avoid the pending and just hibernate?
[Greenify] kingvortex:
I don't think there's any way to auto hibernate apps when you exit them. This would probably require another service to monitor activities on your phone and is probably beyond the scope of this app. You could add the 'Hibernate Now' shortcut to your homescreen and use it when you exit Chrome.
[Greenify] polobunny:
Tasker could probably help you achieve that.
[Greenify] avd:
Greenifying hangouts breaks all notifications.

Degreeinifying does not fix this.

You have to fix this by unchecking greenify in xposed, rebooting, rechecking greenify, then rebooting.

This works on cm9 and a two 4.1.1 custom ROM.

You cannot greenify hangouts.

Notifixations will still not be 100% but you will have functionality.
[Greenify] oasisfeng:
Thanks for your important clue, I reviewed the code and found that I've made a mistake in the GCM patch, which makes it not working on all Android 4.1.x. (4.0.x and 4.2.x are not affected)

Really sorry for that, a new beta version will be released soon.
[Greenify] oasisfeng:
I have the legacy Google Talk as system app in the ROM, and then installed Hangouts app as update, I can get all the push notifications even if Hangouts is greenified.

Do you install Hangouts without Google Talk?
[Greenify] oasisfeng:
Yes, GSF is responsible for GCM push for all the apps.
[Greenify] kulguy:
I'm glad to hear that.

First, I really want to enjoy the GCM patch. It's very hopeful news!

Second, I was a bit worried that I might be incessantly bothering you merely because of my foolish mistake, in spite of flawlessness of the GCM patch.

It's really nice to help you!

Thanks!
[Greenify] Titan9119:
Found this on the web and found out why the icon of Greenify is like this :)
[Greenify] Looki75:
oasisfeng,

BIG THANKs TO YOU!!!

A bit of background: I followed you from almost the begining, brought my best XDA buddy to know your app (I won't say who it is, but he is very active in this thread) and he is still remembering and thanking me to letting him know about Greenify!

Really, your app is a MUST and is one of the most needed app on Android!

BUT... hey, bad luck for me at the time, my company enforced on me the so-called "security policy"... which means (among other things): NO ROOT - that was 1 month ago... so with heavy tears, I had to say goodbye to Greenify...!!!.... :crying:

Last week I found by chance a description of the donate version... and read that mysterious line "Android framework is patched to allow Greenify to perform hibernation without the traditional root routine"... Long story (3 days!) made short: I cooked my own ROM based on a Samsung official firmware. My home-made ROM has the Xposed framework integrated up-front; and I did that especially to have Greenify donate working.

Bottom line: I now have a "NOT-ROOTED" ROM with Xposed FW cooked in it, and I have Greenify working JUST PERFECT even without root access!!!! Thanks to the Xposed workaround!!!! This is so pretty, so fantastic, I'm still not believing that is possible!!!! Greenify DOES hibernate the apps even without ROOT!!!

So I guess my whole post is really to THANK you for your knowledge, know-how, innovation and hard-working time! I bought the donate version with pleasure and I am considering additional donation.

Please keep supporting the Xposed workaround that enables freezing without ROOT access!

Thank YOU!
[Greenify] oasisfeng:
"Retry" for manual action or shortcut is more or less non-sense, since you can easily trigger that twice.

As you are experiencing "failed to hibernate", I should digg more on this situation.
[Greenify] oasisfeng:
I can well recognize the difference between bothering and useful feedbacks, and just ignore the former. So keep up feedback. :D