Greenify 2.5 beta 5 causes a big battery drain on my S5. Can you fix and update it, please? Tnx
The problem is not in the app or update. Check your settings. Install BBS and WLD and find out which app is eating your battery and act accordingly.
rogxd said:
Greenify 2.5 beta 5 causes a big battery drain on my S5. Can you fix and update it, please? Tnx
Click to expand...
Click to collapse
Post image or logs , no words , 10x !
tnsmani said:
The problem is not in the app or update. Check your settings. Install BBS and WLD and find out which app is eating your battery and act accordingly.
Click to expand...
Click to collapse
The problem is the app. After the update from beta 4 to beta 5 in battery details Greenify occupy at least 40% and the battery decrease very fast.
Today I deactivated Greenify and the battery usage now is normal.
No problem here must be something else to my opinion. Installed beta 5 the moment it was out
Sent from my SM-N9008V using XDA Premium 4 mobile app
One question: why I can't install an old version of Greenify, overwriting the existing app? If I try to install the beta 4 on the beta 5 the result is "app not installed".
I'd like to make a downgrade instead to uninstall and reinstall, to maintain all the options and the list of the greenified apps.
uninstall first~
rogxd said:
One question: why I can't install an old version of Greenify, overwriting the existing app? If I try to install the beta 4 on the beta 5 the result is "app not installed".
I'd like to make a downgrade instead to uninstall and reinstall, to maintain all the options and the list of the greenified apps.
Click to expand...
Click to collapse
U should erase the app u installed before and then install new version or minor one
You must have greenified something which you ought not have. No one else is having problems.
While downgrading, no app will install over an upgrade already installed. So you have to uninstall the beta5 before trying to install beta4 or any other version.
If you have a backup of beta4 with data, then your settings will not be lost.
You can also try to uninstall and reinstall beta5 with reboots in between and after reinstallion and see whether that solves the problem.
Thanks, but my phone is not rooted and I prefer to not lose my settings. For now I deactivated Greenify... :/
rogxd said:
Thanks, but my phone is not rooted and I prefer to not lose my settings. For now I deactivated Greenify... :/
Click to expand...
Click to collapse
That's where the magic really happen -- when you're rooted and have Xposed installer hand in hand with Greenify
Yesterday I left the beta test and I reinstalled the official 2.4.4 version.
The problem is disappeared
rogxd said:
Thanks, but my phone is not rooted and I prefer to not lose my settings. For now I deactivated Greenify... :/
Click to expand...
Click to collapse
rogxd said:
Yesterday I left the beta test and I reinstalled the official 2.4.4 version.
The problem is disappeared
Click to expand...
Click to collapse
Good for you then. If i may suggest, you wont regret rooting your device. It will give you so much more control and freedom. Good luck, mate!
Just want to say that after installing the latest beta I suffered pretty big battery drains. Today I reinstalled the 2.4.4 and the drain is gone.
You know what, I think that the two of you are right. I am also experiencing unusual battery drain though I am not sure that it is related to Greenify.
To be on the safer side, I have rolled back to 2.4.4. Let me see what happens. By the way, 2.5 seems to be available on Playstore but don't know whether this issue has been addressed.
rogxd said:
One question: why I can't install an old version of Greenify, overwriting the existing app? If I try to install the beta 4 on the beta 5 the result is "app not installed".
I'd like to make a downgrade instead to uninstall and reinstall, to maintain all the options and the list of the greenified apps.
Click to expand...
Click to collapse
You can use Android shell to downgrade an app via "pm install -r -d lower_version.apk".
---------- Post added at 07:30 PM ---------- Previous post was at 06:55 PM ----------
tnsmani said:
You know what, I think that the two of you are right. I am also experiencing unusual battery drain though I am not sure that it is related to Greenify.
To be on the safer side, I have rolled back to 2.4.4. Let me see what happens. By the way, 2.5 seems to be available on Playstore but don't know whether this issue has been addressed.
Click to expand...
Click to collapse
2.5 beta 1 fixed a potential battery consumption bug in root mode, beta 3 fixed a battery issue in non-root mode.
oasisfeng said:
You can use Android shell to downgrade an app via "pm install -r -d lower_version.apk".
---------- Post added at 07:30 PM ---------- Previous post was at 06:55 PM ----------
2.5 beta 1 fixed a potential battery consumption bug in root mode, beta 3 fixed a battery issue in non-root mode.
Click to expand...
Click to collapse
We had the problem in ver. 2.5 beta5. If 2.5 beta1 fixed a battery problem, the fix should have been carried over in 2.5 beta5 and there shouldn't have been any issues. Both my Nexus 4 and Nexus 7 were affected.
However, I have not confirmed Greenify as the cause. 2.4.4 is now installed (from Titanium Backup) in both the devices. Let me see overnight.
gudluck
So do you have guys any news or conclusion about this?
Javi22 said:
So do you have guys any news or conclusion about this?
Click to expand...
Click to collapse
No, this drain is on 2.5final too.
I'm on 2.4.4 but the beta5 draining more than beta4
the best results i have with the beta3 and beta4 and the beta5 and final gives me the battery drain
I believe we need to wait for the next builds
So if i dont a go to enable greenify in settings, accessibility was it ever working? Because ive been using it for a week now, and this whole time it was off in accessibility. It was operating as if it was working, but i never noticed a difference in babery life.
Related
Anyone having issues with this app? It used to work well with GB and after ICS it still would work but the "deepsleep" would never reset after plugging in. Didn't bug me much but just after the latest update few days ago it no longer works at all. Just says" No reference set yet" Is it just mine or anyone else having similar issues? did a reinstall and same problem also did a clear data and still broke.
https://play.google.com/store/apps/...ystats&feature=nav_result#?t=W251bGwsMSwyLDNd
jdfrye said:
Anyone having issues with this app? It used to work well with GB and after ICS it still would work but the "deepsleep" would never reset after plugging in. Didn't bug me much but just after the latest update few days ago it no longer works at all. Just says" No reference set yet" Is it just mine or anyone else having similar issues? did a reinstall and same problem also did a clear data and still broke.
https://play.google.com/store/apps/...ystats&feature=nav_result#?t=W251bGwsMSwyLDNd
Click to expand...
Click to collapse
Yeah its been messed up awhile. Emailed the dev and sent him a logcat about month ago. Nothing back. I restored a backup and refuse updates.
Sent from my ADR6425LVW using Tapatalk 2
topgun1953 said:
I restored a backup and refuse updates.
Sent from my ADR6425LVW using Tapatalk 2
Click to expand...
Click to collapse
On that note I backed up all my installed apps using airdroid.
>>>Do you have the last version handy? I didnt back it up
jdfrye said:
On that note I backed up all my installed apps using airdroid.
>>>Do you have the last version handy? I didnt back it up
Click to expand...
Click to collapse
What is the last version? Rc2 is giving me problems on cm9 stable on the Epic 4G
Rocking cm9
jdfrye said:
On that note I backed up all my installed apps using airdroid.
>>>Do you have the last version handy? I didnt back it up
Click to expand...
Click to collapse
I'll see if I can find it during the day today...
EDIT: I should have,but couldn't easily find it on my phone...so here is the original thread with some links to older versions! http://forum.xda-developers.com/showthread.php?t=1179809
topgun1953 said:
I'll see if I can find it during the day today...
EDIT: I should have,but couldn't easily find it on my phone...so here is the original thread with some links to older versions! http://forum.xda-developers.com/showthread.php?t=1179809
Click to expand...
Click to collapse
Oh yeah read some of that before I bought the app. forgot about it. thanks! In the second post is the latest update looks like. I downloaded it and it seems it fixed it as long as you go into the full app..the widget doesnt seem to update. have to test it all day. again another thanks!
Seems like the widget also works. This is version 1.10.1
So seems, app works again
Sent from my ADR6425LVW using Tapatalk 2
Help me to find out the Apps Causing Drain!!
Hi all,
I have some abnormal battery drain in my mobile, so i tried to find the root cause for this. I just ended up in BBS, where i could see some kernel wakelocks, Alarm wakelock causing drain.
Attached is the dumpfile (Generated from BBS) along with Another Dump Alarm file (dumpsys alarm > AlarmManager.txt)
I Have analysed (with Google, yes!!) upto my knowledge and Unistalled some apps and Disabled Location Services and Backup (under Settings-Privacy). Apart from that i am clueless! Just posting these results for you guys have a look at it.
Kindly Help me to figure it out Guys!!
Cyb0rgz said:
Hi all,
I have some abnormal battery drain in my mobile, so i tried to find the root cause for this. I just ended up in BBS, where i could see some kernel wakelocks, Alarm wakelock causing drain.
Attached is the dumpfile (Generated from BBS) along with Another Dump Alarm file (dumpsys alarm > AlarmManager.txt)
I Have analysed (with Google, yes!!) upto my knowledge and Unistalled some apps and Disabled Location Services and Backup (under Settings-Privacy). Apart from that i am clueless! Just posting these results for you guys have a look at it.
Kindly Help me to figure it out Guys!!
Click to expand...
Click to collapse
I don't think that is horrible. You were running 6 hrs with screen on of 1hr 8min. and you dropped to 48%...Your awake time was 1hr59...the backup service is still a main culprit...not sure if that is the thing backing up your data to your provider or not. TIP: You log shows you are running an incredible S ...so post there. Also, go to the BBS thread I posted above (if you haven't already)...the people looking at that on a regular basis can provide more assistance! :good:
topgun1953 said:
I don't think that is horrible. You were running 6 hrs with screen on of 1hr 8min. and you dropped to 48%...Your awake time was 1hr59...the backup service is still a main culprit...not sure if that is the thing backing up your data to your provider or not. TIP: You log shows you are running an incredible S ...so post there. Also, go to the BBS thread I posted above (if you haven't already)...the people looking at that on a regular basis can provide more assistance! :good:
Click to expand...
Click to collapse
Thank you so much. Actually I posted in wrong window, I have opened two window. One is this and another is Bbs thread. Mistakenly posted here.
Thanks for your time in writing to me. Thanks mate
I'm using greenify on CM11 (android 4.4.4). I have xposed modules installed. I want to know what is the difference between Root mode & Boost mode... And also is there any disadvantages of using experimental features?
If you are using the beta build, maybe, otherwise not.
Boost mode requires xposed to be active, where root mode only needs root permissions.
Boost mode is more powerful
Tapatalked from my D802 - CM12
Wycer said:
If you are using the beta build, maybe, otherwise not.
Boost mode requires xposed to be active, where root mode only needs root permissions.
Boost mode is more powerful
Tapatalked from my D802 - CM12
Click to expand...
Click to collapse
I'm using v2.5.2 downloaded from play store
Yeah that's the normal version, everything will work fine
Tapatalked from my D802 - CM12
Wycer said:
Yeah that's the normal version, everything will work fine
Tapatalked from my D802 - CM12
Click to expand...
Click to collapse
I switched to BOOST mode. Everything was working fine, then I noticed that greenify is unable to hibernate facebook automatically. I manually hibernated facebook. Then opened facebook again & after sometimes noticed that greenify has hibernated facebook. My question is why did it fail?
Sometimes apps uses some ways to stay in Android system memory, greenify can't freeze those
Tapatalked from my D802 - CM12
Wycer said:
Sometimes apps uses some ways to stay in Android system memory, greenify can't freeze those
Tapatalked from my D802 - CM12
Click to expand...
Click to collapse
Any solution?
Freezing them through a Tasker plug-in or a greenify shortcut will help I believe, at least does for my aps
Tapatalked from my D802 - CM12
Sometimes hibernated apps are waking up automatically! Is it a bug of Greenify?
No, some other apps might waking them app. Enable the cut off thing and go over the app that wakes up and a pair of scissors will appear.
Sent from my bacon!!!!!
NickosD said:
No, some other apps might waking them app. Enable the cut off thing and go over the app that wakes up and a pair of scissors will appear.
Sent from my bacon!!!!!
Click to expand...
Click to collapse
The problem is happening in BOOST mode but not happening in ROOT mode. Should I revert back to ROOT mode?
If you don't have xposed installed, yes.
Sent from my bacon!!!!!
NickosD said:
If you don't have xposed installed, yes.
Sent from my bacon!!!!!
Click to expand...
Click to collapse
I have Xposed
arpanbag1996 said:
The problem is happening in BOOST mode but not happening in ROOT mode. Should I revert back to ROOT mode?
Click to expand...
Click to collapse
It is not a problem. Boost mode detects it, Root mode does not.
Since you have Xposed, it is for you to decide whether to use Boost or Root mode.
NickosD said:
No, some other apps might waking them app. Enable the cut off thing and go over the app that wakes up and a pair of scissors will appear.
Sent from my bacon!!!!!
Click to expand...
Click to collapse
I don't see where this "cut off thing" is?
Can you clarify plz?
In using 2.6 beta 4
ek69 said:
I don't see where this "cut off thing" is?
Can you clarify plz?
In using 2.6 beta 4
Click to expand...
Click to collapse
Go to "Experimental Features" and enable "Wake-up Tracker and Cutoff".
Then when you click an app in Greenify which is pending hibernation (which was woken by another app), one of the options you will get is the "Scissors" icon.
tnsmani said:
Go to "Experimental Features" and enable "Wake-up Tracker and Cutoff".
Then when you click an app in Greenify which is pending hibernation (which was woken by another app), one of the options you will get is the "Scissors" icon.
Click to expand...
Click to collapse
I don't have that option ( "Wake-up Tracker and Cutoff") in my list. I am on the beta version though, maybe it's not in that one?
Attaching images of my experimental features list
ek69 said:
I don't have that option ( "Wake-up Tracker and Cutoff") in my list. I am on the beta version though, maybe it's not in that one?
Attaching images of my experimental features list
Click to expand...
Click to collapse
In Greenify beta, 'wake up tracker & cut off' is stated (by the Dev) to be built in, which means when an app is greenified, all its links are cut off automatically. That is why you don't get that option in beta.
However I have no idea whether that is working correctly since I have gone back to the stable version and not using beta since I found this feature not suitable for my needs.
tnsmani said:
In Greenify beta, 'wake up tracker & cut off' is stated (by the Dev) to be built in, which means when an app is greenified, all its links are cut off automatically. That is why you don't get that option in beta.
However I have no idea whether that is working correctly since I have gone back to the stable version and not using beta since I found this feature not suitable for my needs.
Click to expand...
Click to collapse
I found that when you click on some apps that are currently not in hibernation mode, sometimes a scissors icon appears in top left and you have to click that to enable that feature. Not all apps get that icon when clicked on though.
Tapatalk is one example, see attached screenshot
After two pagesin this thread i don't say what is the difference between root and boot mode....
I understand Boost mode with an experimental feature (with donation and xposed) it's capable to block any "push wake up" by other application....
There's other?
I noticed a few days ago that Facebook was no longer hibernating when I shut off my screen. It turns out that the option to ignore app state is no longer available, which I was using to hibernate apps like Facebook that always show up as working. Is there a reason for this? Because this option is not available, Greenify will no longer auto-hibernate Facebook. Currently running on a rooted Nexus 6P.
chalkitychalke said:
I noticed a few days ago that Facebook was no longer hibernating when I shut off my screen. It turns out that the option to ignore app state is no longer available, which I was using to hibernate apps like Facebook that always show up as working. Is there a reason for this? Because this option is not available, Greenify will no longer auto-hibernate Facebook. Currently running on a rooted Nexus 6P.
Click to expand...
Click to collapse
This feature is still available in Greenify and I used it yesterday.
Either Facebook or N6P should be the reason if it is not working for you. Most likely Facebook.
tnsmani said:
This feature is still available in Greenify and I used it yesterday.
Either Facebook or N6P should be the reason if it is not working for you. Most likely Facebook.
Click to expand...
Click to collapse
Are you running 2.8 beta 2? It was available on my phone as of a week ago, and the option isn't available for any apps, so it isn't my phone and it isn't Facebook. I recently switched to systemless root, could that be it?
For me is working fine (rooted+Xposed)
chalkitychalke said:
Are you running 2.8 beta 2? It was available on my phone as of a week ago, and the option isn't available for any apps, so it isn't my phone and it isn't Facebook. I recently switched to systemless root, could that be it?
Click to expand...
Click to collapse
Yes, I am on 2.8 beta 2.
Some Apps are not comfortable with the root built into the ROM.
Try SuperSU.
tnsmani said:
Yes, I am on 2.8 beta 2.
Some Apps are not comfortable with the root built into the ROM.
Try SuperSU.
Click to expand...
Click to collapse
I am using SuperSU, version 2.56 beta with systemless root. I'll try going back to regular root and I'll report on whether or not the ignore running state option comes back.
I'm an idiot. You have to manually hibernate a working app before it gives you the option to ignore running state permanently. Thanks for your help, everybody!
I am on 2.8.1 with root mode. I don't seem to find the manual hibernate option to ignore app state. I got this app that's abusing the state and shows "working" all the time.
chinesecooler said:
I am on 2.8.1 with root mode. I don't seem to find the manual hibernate option to ignore app state. I got this app that's abusing the state and shows "working" all the time.
Click to expand...
Click to collapse
Try the way described in the post above yours.
Any specific reason to stick with an older version? If not, update to the latest and then try.
tnsmani said:
Try the way described in the post above yours.
Any specific reason to stick with an older version? If not, update to the latest and then try.
Click to expand...
Click to collapse
I think that's the latest version. I have tried to select the app and click the hibernate button. It does stop the app immediately but doesn't mention anything about app state.
chinesecooler said:
I think that's the latest version. I have tried to select the app and click the hibernate button. It does stop the app immediately but doesn't mention anything about app state.
Click to expand...
Click to collapse
Are you running 2.9.beta4? It does have this option and I am running it without issues on both my devices.
tnsmani said:
Are you running 2.9.beta4? It does have this option and I am running it without issues on both my devices.
Click to expand...
Click to collapse
I just installed beta 4. Nothing changed other than getting a notification saying that the hibernation is postponed. I don't have xposed framework though. Could you please explain a little bit more about how you did it?
chinesecooler said:
I just installed beta 4. Nothing changed other than getting a notification saying that the hibernation is postponed. I don't have xposed framework though. Could you please explain a little bit more about how you did it?
Click to expand...
Click to collapse
Xposed doesn't have anything to do with this option. I hope you are running it in root or boost mode.
You may not get this option on the App Analyzer screen. When you are on the main screen of Greenify and this app is shown as running, touch it to highlight it. Then click the Zzzz button or the three dot menu, then 'hibernate now'. You should get a dialogue box containing some warnings and also a checkbox within it. Tick the checkbox, then click OK. That is all.
tnsmani said:
Xposed doesn't have anything to do with this option. I hope you are running it in root or boost mode.
You may not get this option on the App Analyzer screen. When you are on the main screen of Greenify and this app is shown as running, touch it to highlight it. Then click the Zzzz button or the three dot menu, then 'hibernate now'. You should get a dialogue box containing some warnings and also a checkbox within it. Tick the checkbox, then click OK. That is all.
Click to expand...
Click to collapse
Thanks, this is definitely something I have done in the past on a Samsung device. However, after I had migrated to Nexus 5x I lost this option. I just try to replicate the steps yet once again I don't get any prompt for app state. Sigh.
FYI, yes I am on root mode.
chinesecooler said:
Thanks, this is definitely something I have done in the past on a Samsung device. However, after I had migrated to Nexus 5x I lost this option. I just try to replicate the steps yet once again I don't get any prompt for app state. Sigh.
FYI, yes I am on root mode.
Click to expand...
Click to collapse
This option is not available for all apps. It is only available for certain apps, may be only those that are persistent.
Why don't you try this on another app and see whether you get the option? By the way, which app is giving you this issue?
tnsmani said:
This option is not available for all apps. It is only available for certain apps, may be only those that are persistent.
Why don't you try this on another app and see whether you get the option? By the way, which app is giving you this issue?
Click to expand...
Click to collapse
It's an app named Alipay which is something like PayPal. What is the app that works for you? I might download it and see if I can trigger the option?
chinesecooler said:
It's an app named Alipay which is something like PayPal. What is the app that works for you? I might download it and see if I can trigger the option?
Click to expand...
Click to collapse
With NFC Service and UC Browser, I am able to use that option. I have not used it on other apps that I use.
tnsmani said:
With NFC Service and UC Browser, I am able to use that option. I have not used it on other apps that I use.
Click to expand...
Click to collapse
Thanks mate, I will install uc browse and give that a go.
after i updated to marshmallow i never get notifications for whatsapp messages, instagram follows, skype calls etc etc.
i use wifi and no notifications come through.
nikaizad said:
after i updated to marshmallow i never get notifications for whatsapp messages, instagram follows, skype calls etc etc.
i use wifi and no notifications come through.
Click to expand...
Click to collapse
This is a common bug across EMUI. Will be fixed by upcoming update.
vsriram92 said:
This is a common bug across EMUI. Will be fixed by upcoming update.
Click to expand...
Click to collapse
thats it? no fix for now?
damn huawei this is kinda a big issue. its like having a phone thats not useful
nikaizad said:
thats it? no fix for now?
damn huawei this is kinda a big issue. its like having a phone thats not useful
Click to expand...
Click to collapse
Yes there is. Make sure you have updated to the latest ROM (EU is B380)
1 - Backup all your stuff with Huawei native app
2 - Factory reset and let it boot
3 - Setup your google account and nothing more. Also don´t restore any apps yet.
4 - Test incoming calls when screen is off.
5 - Setup Huawei account
7 - Install Skype and it will restore itself call and chat history
8 - Test Skype (I have problems with it but I have 2 additional devices with the same account at the same time that rings at the same time so it might be just me)
9- Install fresh remaining communications apps like Whatsapp. From my experience when you restore from backup they will bug the notifications, so it´s better a fresh install while just restoring the chat history from backup.
10 - Setup maximum priority for communication apps notification
11 - If you feel it´s necessary you can also set those apps not to be closed and be automatically launched at startup.
vsriram92 said:
This is a common bug across EMUI. Will be fixed by upcoming update.
Click to expand...
Click to collapse
No,
just open Telephon Manager
Enable Notification Manager and then check the config
you also have to allow the apps in autostart manager
and protect them
nikaizad said:
thats it? no fix for now?
damn huawei this is kinda a big issue. its like having a phone thats not useful
Click to expand...
Click to collapse
Hahah, Yeah you're absolutely right, but it has been here since launch I think, it has never worked 100% in the 6 months I've had this phone
---------- Post added at 02:57 PM ---------- Previous post was at 02:56 PM ----------
evilmumi said:
No,
just open Telephon Manager
Enable Notification Manager and then check the config
you also have to allow the apps in autostart manager
and protect them
Click to expand...
Click to collapse
Okay new info, gotta try it
I have updated to 6.0, and EMUI 4.0.1, also same problem with Messenger, Whatsapp, Viber, is there some supposition when they would fix it?
try b380
I am using B380, i tried everything, there is no solution, auto sync doesn't help.
lakistrike95 said:
I am using B380, i tried everything, there is no solution, auto sync doesn't help.
Click to expand...
Click to collapse
I think its a huawei-wide problem, No Fix as får as i know
So there is no solution, just to wait and hope they will fix it. And how about rooting and putting some other ROM? Is there any stable ROM for PLK-TL01H?
HonorCasper said:
Okay new info, gotta try it
Click to expand...
Click to collapse
Tried it ? Got any positive result ?
Hope so its EMUI problem in every Honor device.
vsriram92 said:
Tried it ? Got any positive result ?
Hope so its EMUI problem in every Honor device.
Click to expand...
Click to collapse
Ive Just updated My device so now i am on b380 stock Rom unrooted but with twrp.. i Will try it now
I don't have any notification problem with B380 and B190 and I use 2 whatsapp accounts along with Slack, FB and other social media apps.
You are using it wrongly.
In my B351 update, i dont have this notification problem.
lakistrike95 said:
I have updated to 6.0, and EMUI 4.0.1, also same problem with Messenger, Whatsapp, Viber, is there some supposition when they would fix it?
Click to expand...
Click to collapse
It's probably cuz these are third party apps
It's from Play Store.
I also tried with b170 and b360 update. I dont have the notification problem in my Honor 7 Indian Version..
Most notification problems comes from restoring those apps from backup.
If you just install a fresh app after factory reset and then ONLY restore app history (if needed as Skype doesnt need) you shouldnt get any notification problem.
Well phone is new, there is no any backup. I tried factory reset, same problem. I am waiting 14 days for huawei unlock code, i will root phone and then move apps from data/app to system/app, that should solve the problem. I am on EMUI 4.0.1 so that's all with marshmallow, everything else is working ok.
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.