yashsingh1/xdaforums huggingface dataset:
[Greenify] wirtzpeitz:
I've read many of the posts on the Tasker plugin but I still don't really get it. Apparently the plugin tells Greenify to hibernate apps if Greenify is not configured to auto-hibernate. But how can I get Tasker to tell Greenify to wake apps? I don't see the point of integrating an action with Tasker if it's not reversible. If the Tasker plugin doesn't allow this is there any alternative method, e.g. by firing an intent?

Someone mentioned that Tasker can freeze/defrost apps independently of Greenify. But as far as I can tell this is only possible using Secure Settings, which temporarily removes the app in question, so the user can't even manually launch it anymore.

Thanks for any info.
[Greenify] GuyAdams:
To un-hibernate an app just execute it, Tasker can do this without a plug in.
[Greenify] kantjer:
They way the app works is that an app is hibernated by Greenify until you wake that app by manually by using it again.

It will then stay awake until either Greenify hibernates it again after you close your screen or you let Tasker hibernate all apps.

Hibernating is not the same as freezing an app, than it needs to be unfrozen before you can use it again.
[Greenify] themadproducer:
Scenario...

A Tasker profile can be set to be triggered when you launch your FAVORITE game...and it will tell Greenify to hibernate all apps in your Greenify list so that those stubborn re-spawning problem apps will go into hibernation and free up valuable ram especially for low ram devices....and thus theoretically provide a better gaming experience with more ram available for the game, and potentially less CPU being used by anything other than the game. Without this convenience, you would need to turn off the screen and wait several minutes for Auto-Hibernation. (you can also initiate HIBERNATION of all listed apps manually via a Homescreen shortcut....not found in your app drawer)

In an older version that I am still using, there was also an option to DISABLE Greenify auto-hibernatin via Tasker which was convenient for keeping apps like MAPS in memory for quickly resuming...where normally you want maps to shut the hell up. Oasisfeng says he will be adding that feature (improved) back in sometime.

Finally, there are several older posts which give brief descriptions of the unreliability of waking up Hibernated apps with Greenify. It's not something I can explain, but the bottom line is that it has caveats.
[Greenify] gsw5700:
I removed juice defender and have installed 3.9.6 plus after a few months running without it. I can honestly say it's saving me loads of battery, switches between home wifi and 3g automatically, runs a night schedule (I lose 1-3%), it's working really well

Sent via TCP/IP
[Greenify] JagSem:
This along with Venom makes this by far the best phone I could ever image. Thank you. Donated.
[Greenify] GamaX320:
very nice app, nice job!
[Greenify] Rhonin86:
Problem with Beautiful Widget updating Location

Hi guys,

i used greenify for a while and it works pretty good. Sometimes an app could not be greenified - Temple Run 2 for example - I've got the message that grennifying this app failed :( But i could do it manually.

But there is something that bothers me more - Beautiful Widget works but it sptoppes updating the actual location. I assume that in some way the network_locator or another service which interact with it is affected. An as far as i remember it works in the first run and than i greenified some other app in the extended mode. But maybe someone has an idea :confused:

I would like to use greenify further but this behaviour is not good at all .... I'll test later this day and report if it happens also with the new version and make a list of the greenified apps - maybe i'll find the responsible app by myself... :cyclops:

Cheers and keep up your good work

Rhonin
[Greenify] justmpm:
Sorry for the interruption. I did a little thread cleaning. Please try to keep it on topic.

Thanks!
[Greenify] Mad Marty:
Did you Greenify Beautiful Widgets? If so, then it is ofcourse not strange that it stops updating...
[Greenify] Rhonin86:
No i didn't grennify it especially because of the cyclically updating of the weather information. :o

There must be another reason / or another greenified app that stopped the service for location-information too.

Thx anyway

Rhonin
[Greenify] w1040:
Re: [APP][3.1+] Greenify *ROOT*

I think you need to hibernate your apps manually by pressing the pause button at the top.

Or else it will never hibernate even after screen off for a long time
[Greenify] oae08:
Re: [APP][3.1+] Greenify *ROOT*

Yes thats what i said man. But i want the app greenify to hibernate them without my interference, or whats its use then i can go to app manager and clear them off ram and cache. I thinj there is a bug here somewhere. Im ready to help if you have some w Questions
[Greenify] hadi_rena:
Re: [APP][3.1+] Greenify *ROOT*

May i know which app you try to greenified? Some app cannot be greenified
[Greenify] skingg:
But it does hibernate my apps automatically for me when my screen is off after a few minutes (Facebook, Yahoo Messenger, etc).
[Greenify] Sirence:
Re: [APP][3.1+] Greenify *ROOT*

I think it fixed it for me. Haven't seen it since I updated.
[Greenify] Injek:
This app is amazing! It made my xperia u much less laggy!

However, if you could implement the ability to hibernate system apps, it will be just PERFECT!

For ex: i have FB which is installed as a system app ( because of the rom I guess) which I cannot hibernate... ( if someone knows how to move it to a user app, please let me know ! )

Thank you very much for this app!
[Greenify] leolawliet:
Re: [APP][3.1+] Greenify *ROOT*

I'm very impressed with how much my device sped up after using this, it really works :)
[Greenify] Sirence:
Re: [APP][3.1+] Greenify *ROOT*

Edit: it does still happen, just not as often.
[Greenify] scream4cheese:
Re: [APP][3.1+] Greenify *ROOT*

Download "ES File Explorer" and gain root access in it's settings. Change the location of the files to "/System/" in settings, scroll down and go to home directory. Click it and it to "system". Exit app and return back app. Now go to the "app" folder and find that Facebook app and delete it. Now download the fb again from the play store and now the app is a removable user app.

* Root settings can be found when you scroll all the way down in the settings section. Make sure mount system file is checked.
[Greenify] TenBelowZero:
AW: [APP][3.1+] Greenify *ROOT*

Thank you so much for this. I was able to tame maps by switching off location service and blocking all its receivers, but this is a much easier and elegant approach.

Love the idea and concept behind it.

Great work!
[Greenify] skingg:
Or you could use Titanium Backup and convert FB from system to user app.
[Greenify] thebrainkafka:
AW: [APP][3.1+] Greenify *ROOT*

Maps is THe only app that Wakes up again.

Amy idea how to solve this?
[Greenify] athdaraxen:
Re: [APP][3.1+] Greenify *ROOT*

Have you gone into the setting in Maps and turned off location sharing (pretty sure that's what it's called)? That helped me.
[Greenify] kye04:
It is not available for Defy+, Atrix 4g or Wildfire S . Any ideea why ??
[Greenify] thebrainkafka:
AW: [APP][3.1+] Greenify *ROOT*

Sorry, didnt find it... What is it called?
[Greenify] MadManMark:
Re: [APP][3.1+] Greenify *ROOT*

Its location services for Sony phones
[Greenify] howdid:
AW: [APP][3.1+] Greenify *ROOT*

This is awesome thank you very much

Gesendet von meinem HTC One X mit Tapatalk 2
[Greenify] pikachu01:
Any plans to make this app Gingerbread friendly? :)
[Greenify] rollingdices:
AW: [APP][3.1+] Greenify *ROOT*

Any plans to read the OP and the FAQs? ;)
[Greenify] pikachu01:
Must've been added after I first read the post. Thanks for that.
[Greenify] twinsen.net:
Did you greenified Maps? I think it greenifies it's network locator service too. So this could be the reason.
[Greenify] Testraindrop:
I greenified maps, but Beautiful Widgets still running perfectly fine.

Btw. beta 10runs great for me,first time ever I had 90+% Deepsleep.
[Greenify] Rhonin86:
Maps could have been a candidate but i limited it's running with autostart using a howto from Karpfenhai. But after applying beautiful widgets was still working. BTW for me it's a system app so it doesn't appear in the analysed apps. But maybe there is another app - GPS-Test or Sports-Tracker could be one of the suspect in my opinion...

Thx

Rhonin
[Greenify] ebreo:
Hi i have a question why i can't hibernate google maps or browser?I have an error while i trying do it "System app can't be hibernated" or something like it...someone can explain me?
[Greenify] athdaraxen:
It's just as it says, system apps cannot be hibernated with Greenify. You have to convert it to a user app before you can Greenify it. You can use the pro version of Titanium Backup or /system app mover. Both are on the Play Store. :3
[Greenify] chris_j11:
just a note:

s3 1747M - stock rom rooted

all working fine-till i decided to convert my google play store to "user app"

the next day after i tried to manually update yahoo mail from play store - started experiencing freezing/reboot (soft bricked)

luckily i have cwm and already did a nandroid backup from a month ago - so my advice before changing system app to user app > nandroid backup
[Greenify] themadproducer:
I have the same device. I also had issues when by converting Google Play and hibernating it. It was not anything like a soft brick....but I am using an older version of Greenify. Anyway, I use App Quarantine widget just for Google Play and it resides in System.
[Greenify] post-mortem:
That was me :D

You just need to execute a command line telling Package Manager to freeze/unfreeze the app, using the package's name. The syntax to "freeze" is:

[FONT="Courier New"]pm disable PACKAGE_OR_COMPONENT[/FONT]

and you "defrost" by typing:

[FONT="Courier New"]pm enable PACKAGE_OR_COMPONENT[/FONT]

So, for example, to freeze something, you would type:

[FONT="Courier New"]pm disable com.google.android.youtube
pm disable com.sec.android.widgetapp.ap.hero.accuweather
pm disable flipboard.app[/FONT]

and to defrost, just replace disable with enable. This is what TitaniumBackup (and others) does behind the scenes when you tell it to freeze/defrost an app.

To get a list of all packages, type pm list packages in a terminal.

To do it in Tasker, in your new Task, add an Action -> Script -> Run Shell, then type the relevant command line (pm disable/enable XOX) in the 1st box labelled "Command," and check the "Use Root" box.

:good:
[Greenify] Testraindrop:
Same here, no luck converting Play Store to User App, its either directly force closing or force closing while updating another app :(

Left it as System app, at least Maps can be greenified :)
[Greenify] polobunny:
Word of wisdom: Play Store needs to be system. Always. You'll just encounter problems down the road if it's converted to user app.

Besides, don't stress if you see "PendingNotifications" from the Play Store in your running apps. Just force close it, or leave it be. It's harmless.
[Greenify] Jolest:
I know that others have suggested this, but I wouldn't recommend converting Maps to a user app. When I tried it, I ran into various problems with the map-search function.
[Greenify] athdaraxen:
I'd just uninstall it with Titanium Backup and just install it back from the Play Store, that way you won't have any weird issues. Worked like a charm for me. Though I'd didn't bother keeping it, switched to Waze. A bit more user friendly and when you turn it off it stays off unlike Maps.
[Greenify] chris_j11:
how about Google+ and Gmail

can't get this showing in apps I can hibernate

other problem i have is after i click on the + sign and return me the home screen, i don't have the option to click on any icon to select it to be greenify - no problem with my table though, only on my rooted stock s3
[Greenify] polobunny:
Gmail no problem converting to user app and hibernating, not sure for Google+ (I personally don't use it). You won't receive email notifications if you greenify Gmail though.
[Greenify] The Broken:
You will receive notifications, just like any other greenified app, but only when the screen is on. (And therefore the phone is not in deep sleep)
[Greenify] post-mortem:
All the apps for Google products can be installed from the Play store.
[Greenify] rignfool:
Except the play store itself and Google talk
[Greenify] miten_sheth:
It's a wonderful app.. Really love it.. Thanks Feng! :good:

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[Greenify] asdot:
[MENTION=4376588]oasisfeng[/MENTION], I've just update from play store, everything looks works fine except language :D

have you added Indonesian? Indonesian language doesn't works. :)

Sent from MARVEL JellyScream
[Greenify] rheicide:
Just wanna say thanks. Great concept, great realization!
[Greenify] Yahia700:
Hey still cant hignifed playstore ?
[Greenify] MaLiXs:
Reading few pages back and you will find the answers

Send from my Pure Ak GNex
[Greenify] DrUnKenSTeiN:
Been using Greenify for over 10 days now. Works great and just bought the donate. Thanks and keep up the good work man.
[Greenify] Yahia700:
You can just say no as a quick answer
[Greenify] kingvortex:
Or people can read/search the thread before asking questions that have been answered multiple times before. Like it says everyone is required to do in the forum rules that it seems nobody bothers to read :rolleyes:
[Greenify] stormy_ugur:
hi

this is really perfect app but i can't hibernate system apps. can u solve this problem?

for example i want to hibernate samsung keybord. is this possible?

thank you
[Greenify] kingvortex:
Why do people flat out refuse to read the q&a post that oasisfeng took the time to write? It would save a lot of wasted time both asking and answering totally redundant questions.

http://xdaforums.com/showthread.php?p=38192596
[Greenify] pwoita:
ARGHHH

I did literally nothing else than install the new verison from the market, reboot to make a backup of my ROM, and restart

every time I open gmail => message "gmail stopped working" (resolved by deleting the app updates and reinstalling it)

everytime I open music => nothing found (dont know how to fix this - tried wiping the data but nothing)

random message "internet stopped working" (ie the browser)

reverted to last ROM backup, and everything is fine

installed updates for every app other than greenify, rebooted and made new backup, and everything is still fine.

I'll stick with the old version of greenify...
[Greenify] vagsvag:
Nice app, using 1.6 waiting for 1.7 stable. Thx
[Greenify] PharmCAT:
Stable 1.7 was pushed to the Play Store
[Greenify] GuyAdams:
Thanks for your time and hard work oasisfeng, its great to see 1.7 hit the play store and I've happily purchased the donate version in support of your work.

I've had no problems with it so far, even through all of the betas, the only side effect I have seen is vastly improved battery life on both my phone and Nexus 7.
[Greenify] Wacco001:
Totally agreed ..

Some users are so ehh "impolite" .. , just pop in, ask questions (often answered many times before in previous posts) and expect (almost direct) answers ...

Reading, Searching and .....

thanking

(after getting an answer) is to much for them ... :(

Seen this more and more in all sort of various forums/threads, .. it's almost frustrating to stay polite and try to help with an answer or suggestion ...

-
[Greenify] oasisfeng:
I'm sorry to hear that. Which version caused this horrible trouble to you?

I'm unaware of such issue before, and may need more information to digg this out.
[Greenify] oasisfeng:
It's really an excellent explanation about the technical impact of Greenify, should clear out most confusions, despite a little technically. Far more better than I have tried to. :o

Just some small complement: App won't launch at boot any more if hibernated.
[Greenify] pwoita:
Really?

Don't some apps kinda need to be started on boot such as setcpu to initially set values, then can be hibernated until the next boot? Same for ram manager and a bunch of other apps.

Could this be a setting rather than always off at startup?

It was the latest one from the market update today - 1.7

Until this, it's been am excellent app..
[Greenify] oasisfeng:
What do you mean by "doesn't work"? Indonesian was there for some beta versions, have you experienced any problem with those beta versions?
[Greenify] lioux:
Thanks. You did all the heavy lifting by writing Greenify. It's only fair we try to help as we can. :o

Really?!! I thought it didn't touch the device_boot, pre_boot intents. Good to know. It might cause some problems but it's all good as long as people know that this is how it works. :victory:

I've updated my post to reflect this. May I suggest that you link that post on the OP?
[Greenify] oasisfeng:
That's the expected behavior of hibernation, "never start by itself until explicitly launched by user". I don't think you need to greenify apps like "SetCPU".

Have you got any "logcat" for those problem?
[Greenify] asdot:
Heh :D I thought you will add it only for play store version because id lang didn't work on all beta version.

Sent from MARVEL JellyScream
[Greenify] wirtzpeitz:
Thanks to everyone who replied to my Tasker post!

What I want to do is the following. I want a number of apps that sync in regular intervals (e.g., gReader, Pocket Casts, etc.) to auto-hibernate while on battery so they don't sync and don't drain battery. While on AC, by contrast, I want these apps to not be hibernated and to do their regular syncing.

From how I interpret your posts the way to do this using Tasker is the following:

(1) Disable auto-hibernation in Greenify

(2) Set up a Tasker profile that triggers Hibernate All when the screen is turned off while the phone is unplugged (mimicking Greenify's auto-hibernate function)

(3) Set up a Tasker profile that sequentially launches each app I want to sync while on AC when the phone is plugged in

The last point in particular is not very elegant since it doesn't seem possible to launch an app without bringing it to the foreground. I've also noticed that an app launch will be aborted if it is immediately followed by a Tasker action that brings a different app to the foreground. This means I would have to implement delays between each app launch, which would make the whole procedure even less elegant.

I haven't yet tried whether any of this even works without waking and unlocking the phone.

Any thoughts?
[Greenify] oae08:
Sry im not following this thread daily and cant search from my device properly. But doesnt greenify allow the syncing of greenified apps? I remember that was the case in older version im not sure if this changed. Thanks
[Greenify] kantjer:
I think your reasoning is correct

What you could do (I do this with an app for a totally different reason) is ad a condition to step 3 and only do that if the screen is turned off so you wont see all the application starting, and end the task with an app => Go home command so when you turn on your screen your screen all app are running in background and your launcher is visible again.
[Greenify] lioux:
Have you tried starting the applications using a shell command as root (from Tasker)

am start package.name

I'm not sure what Tasker Launch action actually does but "am start" should be safe for a serial startup of several applications.

I would even suggest that you tried launching them all from a single script instead of heaving several separate shell invocations on a task.

Let us know how it goes cause this is am interesting scenario. You could also add Syncker to use its Tasker plugin.

Also, you should need at least a partial wake lock to avoid WiFi/Data disconnects.
[Greenify] oasisfeng:
Actually, I updated the translations on each beta release, to let translators verify their work.

Did you mean you still see the English language in Greenify, instead of Indonesian?
[Greenify] oasisfeng:
Still nothing related to boot is touched, hibernated apps just won't receive the broadcast at all.
[Greenify] iamelton:
i have problem in changing translation too.. i suppose the translation is changed at the "About" screen, as i couldnt find it elsewhere..

when i click the translation line, the screen flashed once and then nothing happened.. the translation stayed as "Official"..
[Greenify] asdot:
Yes, it still in English. but the other languages are working.

Sent from MARVEL JellyScream
[Greenify] wirtzpeitz:
Sorry for double post
[Greenify] oasisfeng:
I figured out the problem, Android actually uses a language id set incompatible with standards. Indonesian is actually "in", not "id".

I'll correct it soon. Sorry for the mistake.
[Greenify] pwoita:
I don't know what that is (sorry I'm a noob)

but I did put back my old rom, so I assume any data or logs associated with it was lost.
[Greenify] habylab:
Should 1.7.1 not 1.71, a lot of revisions ;)

Sent from my Galaxy S3. Long live the original Galaxy S :)
[Greenify] themadproducer:
My thoughts,

What if you set up a Tasker profile to disable Android Auto Sync when your on battery, and enable back on when on AC? Perhaps these apps should not be Greenfield if they don't cause any drain aside from auto syncing.
[Greenify] JohnnyEpic:
Greenify from the future. Woah.

Sent from the Mars Rover.
[Greenify] mw86:
Cool 1.71 updated from Play Store, thanks! Running great as usual.
[Greenify] asdot:
it works now ;)

Sent from MARVEL JellyScream
[Greenify] Phantom_11:
[MENTION=4376588]oasisfeng[/MENTION], thanks for this amazing app.:good: After recent update (I download from play store), there seems to be problem with hibernating Google Maps. I used to be able to hibernate it, even though it's tougher (took longer time after screen off, and may reactivate itself after screen on). However now, it seems never to be hibernated. Then I try to also greenify Google Now, they both cannot be hibernated. Pending reason: Google Now, GmmLocationProviderlmp|$GmmPackageWatcher; Google Maps, GoogleLocationService. I'm on HTC One X, sense based rom, and using ClockworkMod's Superuser. Could you check and fix it. Thanks

update: seems that if greenify Goolge Maps alone, sometimes still be able to hibernate it, sometimes not. But if trying to hibernate both, both failed. and according to pending reasons, they seem to be waken at nearly the same time. Could it be because when Google Now reactivate, it wakes up Maps?
[Greenify] wirtzpeitz:
This does not seem to work for me. When I run this command using Tasker's Run Shell action

am start com.noinnion.android.greader.readerpro

gReader neither opens nor appears in Greenify as a pending app or shows up as an app or service in my task manager. I did have the "Use Root" option checked.

I Googled the am command syntax and it looks like this only works with intents not package names (?).

---------- Post added at 02:26 AM ---------- Previous post was at 02:20 AM ----------

The syncing activity I want to suspend while on battery is that of certain non-Google apps. As far as I understand those apps are not affected by Android's built-in auto-sync.
[Greenify] themadproducer:
Yeah, I wondered that myself. Another thing you might try, is running AfWall+ firewall and having multiple profiles, one of which blocks those said 3rd party apps from syncing. Trigger the firewall profiles with Tasker.
[Greenify] knhoj18:
aside from facebook, google maps, ie explorer, what other system apps can we converted to user app without compromising system failure? so that we can also greenify them..thank you in advance
[Greenify] oasisfeng:
I considered 1.71 as a decimal, so 1.71 = 1.7 + 0.01... ;)
[Greenify] oasisfeng:
All system applications with package name start with "com.android.", "android." should NEVER be converted into user apps. You can try and verify others, they are safe to revert back into system apps.
[Greenify] knhoj18:
alright i will try this one..thank you.. will fb once i made it..
[Greenify] cnjax:
Just updated greenify on the app store anyone know why greenify is now causing multiple wakelocks?

GT-I9100 powered by

NeatRom Lite 4.6.1LSN

Siyah 6.0b4

JB Reloaded + MYLR blue theme

Many40's battery tweaks