Disable restricting Android API to get recent tasks in Lollipop and newer. This restriction causes that some apps (e.g. Greenify) don't work as they should, since Android now returns nothing or useless info when they want to get recent tasks. This module should fix it as it was before.
http://repo.xposed.info/module/com.pyler.unrestrictedgettasks
Thank you! Switchr now working on Lollipop with this!
Double thanks to @pyler to bring back recent task usable again....
Sent from my SM-N910G using Tapatalk
chaimc said:
Thank you! Switchr now working on Lollipop with this!
Click to expand...
Click to collapse
Oh yeah!! You're the man pyler
pyler said:
Disable restricting Android API to get recent tasks in Lollipop and newer. This restriction causes that some apps (e.g. Greenify) don't work as they should, since Android now returns nothing or useless info when they want to get recent tasks. This module should fix it as it was before.
http://repo.xposed.info/module/com.pyler.unrestrictedgettasks
Click to expand...
Click to collapse
Does it work with 5.1.1 superalpha xposed?
Thanks dev.. More wisdom. Work great on lollipop
Sure, it works on any Xposed build for 5.0,5.1.
Thanks a ton dev, working smoothly [emoji106]
Sent from my YU5010 using Tapatalk
Would I need this with a nexus 5 with greenify and amplify?
Xenonhd rom
Imho the app developers should update their apps. There are new permissions like PACKAGE_USAGE_STATS. I checked wiht an M emulator my apps (non-xposed & non-root apps) TaskManager and KeepRunning and they still work without this module
defim said:
Imho the app developers should update their apps. There are new permissions like PACKAGE_USAGE_STATS. I checked wiht an M emulator my apps (non-xposed & non-root apps) TaskManager and KeepRunning and they still work without this module
Click to expand...
Click to collapse
Is that a yes or no?
PackageUsageStats is not same as getRecentTasks. I doubt you can get same info from PUS as in getRecentTasks in pre-LP.
Hi,
May I ask what you mean by giving the example of Greenify? What exactly is the shortcoming with Greenify in L in contrast to pre-L?
I was following their change logs and it seems to me that there is nothing Greenify nowadays couldn't do in L. What am I missing?
I am just asking, because I am not sure why and whether I should install this module as a Greenify (beta) user.
Wouldn't it be easier to introduce your fix in their own code?
Modify module to work for only one app?
I'm wondering how I could modify this module to make it so that it only works for one particular app (Last App Switcher). I like the idea of Android preventing third party apps from getting my recent app details, but I also miss using LAS.
I'm thinking that in the call to XposedBridge.hookAllMethods() I could replace the third argument XC_MethodReplacement.returnConstant(true) with a instance of XC_MethodHook that checks the calling app's package name and if it matches the package I want to target (com.abhi.lastappswitcher) then it would return true, otherwise it would call the standard Android isGetTasksAllowed function normally. I've never done any Xposed development though so I'm not sure I'm going about it the right way.
Hi @pyler,
Is this module still needed in Android M for apps like Greenify?
Thanks
Phil
Droidphilev said:
Hi @pyler,
Is this module still needed in Android M for apps like Greenify?
Thanks
Phil
Click to expand...
Click to collapse
I want to know that too
Anymore info on this? Im on g900i lolipop.
Sent from my Samsung Galaxy S5 using XDA Labs
Needed for Marshmallow? Thx
Sent from my lightning fast SM-G930F (S7)
No, since many devs already use new APIs.. If you have old app, not updated for LP/MM, this maybe needed for full app functionality.
A fantastic module, some apps still require this to work, an app from myself for myself for example: RAMTool https://tiziocaio.store.aptoide.com/app/market/com.thepriest.andrea.ramtool/1422/22796519/RAM+Tool
Since my app analyzes recent and running apps and on a regular interval, I fear that using UsageStatsManager will degrade performance, I am afraid that the cpu will be more stressed.
Rewriting my code to get worse perfornce than before doesn't make me happy ...that's probably the reason i hadn't yet wrote it.
Are my fears unfounded?
Related
I came across this app while I was looking for something in play store.
it won't freeze your apps, or even kill their processes. But rather, put your background apps (that you select) into HIBERNATION.
"Greenified" apps are automatically hibernated when you're not using them, so you'll always have enough free RAM + Much longer battery life.
I strongly recommend you give it a try. At your own risk of course.
download: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
XDA Thread: http://forum.xda-developers.com/showthread.php?t=2155737
UPDATE : Donation version now allow hibernating System apps.
LOL, I guess like 90%+ members should know about this already. It's pretty much the only power saver app I haven't removed and would recommend - all of the rest, in my experience, have done much more harm than good.
does what it says perfectly - nothing more nothing less and most importantly no annoyances - one of my all time favourites
---------------------------------
Still confused between Samsung Galaxy S4 and 10 acres of land in London
tuxonhtc said:
LOL, I guess like 90%+ members should know about this already.
Click to expand...
Click to collapse
I love fast statistics. Do you have another one?!
Obviously I didn't literally mean 90%+, but yeah, most active users should know about Greenify
tuxonhtc said:
Obviously I didn't literally mean 90%+, but yeah, most active users should know about Greenify
Click to expand...
Click to collapse
I'm an active user and I didn't find out about Greenify until yesterday. Strange, but it happens.
kindly, give the remaining "10%" a chance.
I am a ROM developer and also this is tbe first time I hear about this app, thanks for sharing
Chaos ^_^ said:
I am a ROM developer and also this is tbe first time I hear about this app, thanks for sharing
Click to expand...
Click to collapse
Thank you.
Only problem being that it shows only apps with widgets or that anyone will probably use and won't block (or "greenify")... so totaly useless... to me at least.
dalanik said:
Only problem being that it shows only apps with widgets or that anyone will probably use and won't block (or "greenify")... so totaly useless... to me at least.
Click to expand...
Click to collapse
I'm not sure I understand this. You can greenify any app. Just press the '+' button on the top right corner and you get a list of all the apps.
sent from somewhere
Chaos ^_^ said:
I am a ROM developer and also this is tbe first time I hear about this app, thanks for sharing
Click to expand...
Click to collapse
Me too :good:
Do you think it's possible to port your rom for note 2 user ??
Big thanks
Im using this app since 1 months withe real battery saving :thumbup::thumbup:
sent from xda-app
device : note2
ROM : testing
kernel : testing
modem : XXDLK7
recovery : TWRP
micky387 said:
Me too :good:
Do you think it's possible to port your rom for note 2 user ??
Big thanks
Click to expand...
Click to collapse
yes it is possible, but i need testers, and if possible developer to port and i will help him in all the ways i can
It is nothing but a task killer.
Kills the process after idle time.
confirmed it from Setting-Applications-Running Applications.[ And Other task killers too]
Check out and let me know.
^^nope it isn't a task killer it just hibernates the service so that it doesn't consume any cpu cycles unnecessarily afaik
---------------------------------------------------------
" Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions and loyal servant to the TRUE emperor"
Don't go on the description.
I've observed with Facebook app.
The service restarts Every time.
You can feel the excessive leading time.
There is nothing like hibernation.
yes it does kill the app after ideal time, and the good thing that it works, other battery saver only kill app temporary and it will restart automatically again.
don't use it with apps like what's app or viber skype,,, etc
you will not receive calls ir chats untill you reopen the app, personally I am using it with secondary apps like kik and facebook twitter, ,, etc
apps that I dont want to get notified instantly
Chaos ^_^ said:
yes it is possible, but i need testers, and if possible developer to port and i will help him in all the ways i can
Click to expand...
Click to collapse
I can help you if i can
Envoyé depuis mon GT-N7100 avec Tapatalk
Greenify caused me problems. Swiftkey keyboard waked up my phone some times, so i Greenify it. But when i wanted to use it, all i got was a black screen. Only after i removed the battery the problem solved.
Generally this programme is useful for Facebook, eBay, Tapatalk. And only if you don't want notifications from these apps.
Can't use it (there is no point) in Viber, clock - temperature - diary widgets, battery monitoring programmes, setCPU programmes, WiFi Toggler programmes, call recording programmes, Cerberus or "where's my DROID" programmes.
For me is useless.
From Galaxy Note 2 with Swype "talk and type"
MeddlingMageGR said:
For me is useless.
From Galaxy Note 2 with Swype "talk and type"
Click to expand...
Click to collapse
No problem, stop using it.
Sent from my GT-N7100 using xda premium
so yea lollipop is here, but due to some circumstances rootcloak is no more not even usable via cydia, so has anyone found a stand alone app like rootcloak? as the bright house tv app is now rendered useless. ;P
I would also love to know when a solution comes along. I love Lollipop but I was using Rootcloak to be able to use MAAs360 on KK, so no work email right now.
I need root due to being on the N5 that unfortunately needs root to mod the sound system to be usable in situation...because I guess Google was unwilling to address a very widely know issue with their flagship phone. Ugh!
i have tried several root hiders and tried through supersu to hide root all with no luck i have a few apps that i wish i could use that root makes it impossible use them (all the sky apps and lloyds banking app to name a couple) i would love it if somebody could help out with this matter
oddeceed said:
i have tried several root hiders and tried through supersu to hide root all with no luck i have a few apps that i wish i could use that root makes it impossible use them (all the sky apps and lloyds banking app to name a couple) i would love it if somebody could help out with this matter
Click to expand...
Click to collapse
This is very depressing. And dissappointing
Scipizoa said:
so yea lollipop is here, but due to some circumstances rootcloak is no more not even usable via cydia, so has anyone found a stand alone app like rootcloak? as the bright house tv app is now rendered useless. ;P
Click to expand...
Click to collapse
Cydia?? On an android??
Exxoriscism said:
Cydia?? On an android??
Click to expand...
Click to collapse
Yea root clock plus runs only on cydia
Man, I know how you feel. I have a game that could only be blocked with Cydia Substrate and RootCloak Plus... but I'm not sure Cydia will ever be updated for ART/Lollipop. So... we may be screwed for a very long time.
Your right he has long left development when most used x posed. And with Google's new security it will be almost impossible to hide root.
Any news on this? I m still stuck on KK, Root Cloak doesn't work properly on Android L, at some point the app will just gives FC. Any other alternative?
I'd really like to know this as well. Overly paranoid corporations these days seem to be implementing root check security thus stonewalling anyone with a rooted device. This puts just about everyone running rooted Lollipop at a huge disadvantage when trying run anything from banking apps to games.
We need to put up the bat signal or something and call all devs here on XDA to arms bc this really sucks!
Rootcloak on Xperia Z Lollipop stopped working too. Hopefully someone will come up with a fix soon.
Helllllp developers
Still no luck till today?
This is what I'm mostly missing on my OnePlus One. Can't use my mobile payment app (UGO Wallet) without something like root cloak Wonder if there's a quick and easy way to unroot when I want to use it, an re-root when I'm done using the app.
Fastest way I have this moment is to unroot via SuperSU, then re-root via TWRP.
Still nothing? I need this too.
Bumpy bump xD
MrElectrifyer said:
This is what I'm mostly missing on my OnePlus One. Can't use my mobile payment app (UGO Wallet) without something like root cloak Wonder if there's a quick and easy way to unroot when I want to use it, an re-root when I'm done using the app.
Fastest way I have this moment is to unroot via SuperSU, then re-root via TWRP.
Click to expand...
Click to collapse
MrElectrifyer, I might have a solution for you. I was in the same boat as you. I am now able to use UGO Wallet with root. Result could vary because of hardware and OS.
My phone: Samsung Galaxy S6 Edge
OS: Android Lollipop 5.1.1
Custom ROM: [ROM][G920/5 ○ 5.1.1 ○ 29AUG] XtreStoLite Deo-Mod Edition 2.3
Install xposed Framework and RootCloak v1.3 (Do not use v1.4 it will crash the UGO Wallet app)
1. Open RootCloak, Add/Remove "com.ugo.mobilewallet"
2. Clear cache, clear data and force stop UGO Wallet
3.Restart phone
You should now be able to get pass the root detected when UGO Wallet app is launched.
I encountered one more in app error, which was device hardware incompatible because I was using a US ROM. I simply edited my build.prop file to a supported Model number "ro.product.model=SM-G925W8"
Best of luck
Apparently it supports lollipop 5.0+ now: http://forum.xda-developers.com/xposed/modules/mod-rootcloak-completely-hide-root-t2574647
Hey
Was wondering what's the chances of building Greenify to use GCM push without the need of Xposed? I've been running Greenify for a long time now, but since Samsung pushed Lollipop, Xposed module no longer works with samsung lollipop roms. At this moment, it looks like the new Art system is causing trouble and the dev of Xposed isn't promising it will ever work.
For me, I paid for Greenify, was hoping there will be a solution in the future. I do understand it might involve a whole recoding.. But looking to see what's the possibility.
twe90kid said:
Hey
Was wondering what's the chances of building Greenify to use GCM push without the need of Xposed? I've been running Greenify for a long time now, but since Samsung pushed Lollipop, Xposed module no longer works with samsung lollipop roms. At this moment, it looks like the new Art system is causing trouble and the dev of Xposed isn't promising it will ever work.
For me, I paid for Greenify, was hoping there will be a solution in the future. I do understand it might involve a whole recoding.. But looking to see what's the possibility.
Click to expand...
Click to collapse
First of all, you didn't exactly pay for the App per se, you DONATED to the Dev to get Extra "Experimental" features, quite different you know
Second, the Dev of Greenify can't further develop the App without Xposed being Stable for Lolipop, and Xposed is still at Alpha-Stage, not even Beta, so you either wait patiently for an update, or start to search for alternatives, or go back to KitKat and have everything working :good: :victory:
-m3ta- said:
First of all, you didn't exactly pay for the App per se, you DONATED to the Dev to get Extra "Experimental" features, quite different you know
Second, the Dev of Greenify can't further develop the App without Xposed being Stable for Lolipop, and Xposed is still at Alpha-Stage, not even Beta, so you either wait patiently for an update, or start to search for alternatives, or go back to KitKat and have everything working :good: :victory:
Click to expand...
Click to collapse
Yes that is true that donated vs paid is a different term. But you get the point.
As far as your second part, doesn't directly answer my question. Samsung TW Lollipop isn't supported by Xposed and the Dev doesn't know if it will ever work.
I try to use without exposed but there are many difference ?
Tk
MrPingle
misterpingle said:
I try to use without exposed but there are many difference ?
Tk
MrPingle
Click to expand...
Click to collapse
yes. if you install it without exposed you will see that a majority of functions do not work. go to the settings tab to see
hey i just installed the xposed framework and greenify with donation package on my oneplus one running the cm12.1 2015.11.17 snapshot.
i just want to make sure i am using it the right way.
is it good to use it on snapchat, facebook messenger and facebook. is it good to always greenify them when locking my device. and say i get messages on facebook messenger from time to time, it wont drain my battery if it keeps waking the app? i'm just not sure if i am doing it the right way hehe. is there something else i should do with it. (i have the g gcm push feature on) apps are auto hibernated by greenify anyways so maby it is just as it should? im using servicely also.
kewinhdorff said:
hey i just installed the xposed framework and greenify with donation package on my oneplus one running the cm12.1 2015.11.17 snapshot.
i just want to make sure i am using it the right way.
is it good to use it on snapchat, facebook messenger and facebook. is it good to always greenify them when locking my device. and say i get messages on facebook messenger from time to time, it wont drain my battery if it keeps waking the app? i'm just not sure if i am doing it the right way hehe. is there something else i should do with it. (i have the g gcm push feature on) apps are auto hibernated by greenify anyways so maby it is just as it should? im using servicely also.
Click to expand...
Click to collapse
Experiences vary; no right answer. You'll need to experiment to find the config that works best for you. That said, quieting Facebook will go a long ways toward improving battery life.
Davey126 said:
Experiences vary; no right answer. You'll need to experiment to find the config that works best for you. That said, quieting Facebook will go a long ways toward improving battery life.
Click to expand...
Click to collapse
okey ill try experimenting with it, thank you for now my battery is very good hehe.
Davey126 said:
Experiences vary; no right answer. You'll need to experiment to find the config that works best for you. That said, quieting Facebook will go a long ways toward improving battery life.
Click to expand...
Click to collapse
also i forgot what is the difference between root mod and boost mode? i don't quite under stand the difference. perhaps you could explain it to me ?
kewinhdorff said:
also i forgot what is the difference between root mod and boost mode? i don't quite under stand the difference. perhaps you could explain it to me ?
Click to expand...
Click to collapse
The short descriptions on the options speak for themselves. Boost is the 'best' choice but requires Xposed framework. Otherwise go with one of the other two options depending if your device is rooted.
Davey126 said:
The short descriptions on the options speak for themselves. Boost is the 'best' choice but requires Xposed framework. Otherwise go with one of the other two options depending if your device is rooted.
Click to expand...
Click to collapse
ill go with boost ;D
ARTDeoptimiser - An Android N & O Xposed Crash/Hang "fix"
Introduction:
First things first, I'd like to point out that this app is by no means the optimal solution to the problem I am about to discuss, however it is a temporary solution to those that wish to use it.
Xposed for Android N and above has known issues whereby hooked applications can hang or crash for seemingly no reason at all and there's virtually nothing that us developers can do to resolve
the issue (From a module developers perspective). This is (to the best of my knowledge) in part due to how android performs an optimisation on applications during the installation period
(Dex2Oat) [See Further Reading below].
As an Xposed developer myself these hangs became quite a frequent occurrence and my users would often complain about it, assuming the issue was something on my part or something I could resolve.
As a result I decided to create a module that would force android to install selected applications as "Interpret Only" whereby no optimisations are performed on the app meaning Xposed can hook
into applications and not face the dreaded hangs.
Again, I can't stress enough that this is not a permanent or primary solution to the issue however Rovo himself has said that the optimal fix is not something that is easy to do, so until then I thought
I'd at least offer a "hacky workaround". I'd love to hear from @rovo89 as to whether forcing apps to install as vmSafeMode=true is in fact a "solution".
Note: This app is very much in the EARLY STAGES as I made it in about 2 days and decided I'd at least allow people to provide feedback.
Download:
Check out the Github with an included Pre-Release APK and a brief howto guide in the ReadMe.
ARTDeoptimiser Github
Xposed Repo -> Repository Link
Brief Instructions:
Install Module
Activate in Xposed
Reboot
Open app
Mark which apps you want deoptimised
Backup their data
Uninstall the apps
Reinstall the apps
Restore their data
Always apply this to the App, not the Xposed Module for it.
Further Reading
If you'd like to read up on Rovo's official explanation on the issue, use the link below.
Rovo's explanation
I made the module to try and help out other developers and make the Xposed community a little bit more stable for Android N and above. It is, and always will be, a free application.
Thanks! Giving this a try.
---------- Post added at 07:14 PM ---------- Previous post was at 07:09 PM ----------
I can't seem to find your apk to download from Github. Can you help me out?
misterpyrrhuloxia said:
Thanks! Giving this a try.
---------- Post added at 07:14 PM ---------- Previous post was at 07:09 PM ----------
I can't seem to find your apk to download from Github. Can you help me out?
Click to expand...
Click to collapse
It's in the Releases section of the git
Direct link to the Releases
AndreRM124 said:
It's in the Releases section of the git
Direct link to the Releases
Click to expand...
Click to collapse
Do I need to redo this whole procedure everytime I updated my FB Messenger app?
misterpyrrhuloxia said:
Do I need to redo this whole procedure everytime I updated my FB Messenger app?
Click to expand...
Click to collapse
Although I'm not 100% certain, in theory so long as this module is active at the time of update it should allow you to just update your apps normally.
I'll have to test this to confirm it however I'm somewhat confident it will work.
AndreRM124 said:
Although I'm not 100% certain, in theory so long as this module is active at the time of update it should allow you to just update your apps normally.
I'll have to test this to confirm it however I'm somewhat confident it will work.
Click to expand...
Click to collapse
Ok thank you.
Sorry if this is stupid question, but which app am I supposed to de optimize? The Xposed module apk or the app that the module "tweaks" or both? I.e X Messenger Privacy or Facebook Messenger or both?
Finally Snaptools on Oreo w/o crashes :victory:
Dns94 said:
Sorry if this is stupid question, but which app am I supposed to de optimize? The Xposed module apk or the app that the module "tweaks" or both? I.e X Messenger Privacy or Facebook Messenger or both?
Click to expand...
Click to collapse
In your case the Facebook Messenger. Always the app. :highfive:
It's something similar like Greenify?
Robert342 said:
It's something similar like Greenify?
Click to expand...
Click to collapse
not at all, if anything it may make your battery life a bit worse
AndreRM124 said:
I'd love to hear from @rovo89 as to whether forcing apps to install as vmSafeMode=true is in fact a "solution".
Click to expand...
Click to collapse
I'm not sure about other impacts of vmSafeMode. You might be better of setting "pm.dexopt.bg-dexopt=quicken" (or whatever "pm.dexopt.install" is): https://source.android.com/devices/tech/dalvik/configure#runtime_configuration
Again, this is only a workaround. It means that no AOT compilation is taking place, which means that apps need to be JIT-compiled every time you start them. That surely increases CPU/RAM load, which in turn consumes more battery.
Nice job
I think it's solution create only for using if it's needed (if you got this crashes etc.). If now everything in your rom is OK, you don't need it I think (yet). Cheers.
Thanks for this module it fixes my Facebook Messenger crash when using X Messenger Privacy module ?
rinkashime_014 said:
Thanks for this module it fixes my Facebook Messenger crash when using X Messenger Privacy module ?
Click to expand...
Click to collapse
Exactly what I was looking for, glad to see if works. I just got mine setup, and about to log back in now. ?
Got a little lost at the part of backing the app up and uninstalling it, then restoring it but then I considered a case like Snapchat's login.
Thanks so much, my phone is miui9 android 8.0,Art flash back,cannot be used,im chinese, English is not good,I'm sorry.
Hmm maybe it's just me but it looks like Messenger still optimizes sometimes (maybe after restart but I'm not sure).
And yes I followed all the steps. Xposed module is active and .orca is 'deop'.
After removing the OAT folder it works again.
maumaus said:
Hmm maybe it's just me but it looks like Messenger still optimizes sometimes (maybe after restart but I'm not sure).
And yes I followed all the steps. Xposed module is active and .orca is 'deop'.
After removing the OAT folder it works again.
Click to expand...
Click to collapse
Make sure you're using the v1.0.2 version as previous versions would still allow android to optimise apps in the background ?
(Note: this MAY require you to reinstall messenger, I've not been able to confirm if it's necessary)
AndreRM124 said:
Make sure you're using the v1.0.2 version as previous versions would still allow android to optimise apps in the background
Click to expand...
Click to collapse
Thanks for the reply. Yes im using the latest version (v1.0.2)
Havent used any pevious version.