I have a forked update, Brevent, which doesn't require Xposed, nor root, nor unlock bootloader.
You can find it here: https://forum.xda-developers.com/android/apps-games/introduce-brevent-black-prevent-root-t3559151
Prevent Running was transfered to "Shanghai Falcon Network Co., Ltd." since 2.3.3.
This module was written for my GF, and accept donations.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- configuration changed, otherwise cannot change lanugage
- account, otherwise sync and account won;t work
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Latest testing version: http://piebridge.me/pr/
Change Logs
for english version: please visit: http://piebridge.me/pr/CHANGELOG.en.txt
for chinese version: please visit: http://piebridge.me/pr/CHANGELOG.txt
First.
GB users will happy.
Good Work sir !
Will test it ASAP .
so by activing this module, after i click Force stop, in GB, will be the same like Hibernating with greenify ? :laugh:
lovely thanks, i hope this can make my old ace duos come back to life thanks liudongmiao bro
liudongmiao said:
This module is written for my GF, and accept donations.
// Normally, I don't accept any donation for most little project.
Address: http://repo.xposed.info/module/me.piebridge.forcestopgb
For GB user, there is no greenify, and there is no change to back-port.
1). greenify depends system's launch control (http://developer.android.com/about/versions/android-3.1.html#launchcontrols), which introduces in 3.1
2). greenify is not opensource, also the author and i live in the same country, even in the same city, however, he doesn't open source it.
How prevent running works?
After go deep in the android source, i find it uses flag when sending broadcast, so I hijack the IntentFilter's match.
And for other action, like force stop, launch activity, exit activity, I hijack them too.
So if any package is force stopped, it won't accept any intent filter...
However, i let input method, app widget, and laucher go.
- input method, otherwise reboot is needed to show a input method in the input method chooser.
- app widget, otherwise reboot is needed to show a widget in the widget chooser.
- launcher, otherwise there is no chance to start the activiy.
- view for system's package, otherwise it will cause FC. For example, if you force stop browser, and user want to visit a link, it should receive the broadcast.
When the activity is launched, it can receive broadcast again..
When the activity exits by back key, it won't receive intent again, this function is added to android's feature.
So if you want to keep it running, please use home key instead.
And all the feature works for system package too, but the system package must have launcher.
Otherwise, if you still force stop it, it will cause FC (I suggest you use pm disable to do so).
Click to expand...
Click to collapse
Please give screenshot and your battery life before and after installing this module
Sent from my GT-N7100 using Tapatalk
Was looking for Greenify for GB from long...
Can somebody review this app? Is there any shortfall of this app in comparison with Greenify (as user, don't understand technicality )
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
swat4samp said:
I tried this yesterday on google play services app and it worked fine. I can't see it in running services, so i can say (but not sure for other apps) its working :good: Hatsoff @liudongmiao your GF must be very proud of u if she's a geek :silly: One question: If we stop for example hangouts app, will we receive messages as usual??
Click to expand...
Click to collapse
It shouldn't receive any broadcast, and never running, so you coun't recive messages.
Can you add a UI when you can choose apps to hibernate (like Greenify) and force stop them one by one?
BTW, this mod is superb...
Sent from my Xperia E1 dual using Tapatalk
1. Love doesn't need any reason.
2. Wanna speed up 3G (not 4G LTE)?
Here it is:
http://forum.xda-developers.com/showthread.php?t=2586876
3. My blog
4. Press the thanks button if I really helped/assisted you.
???? amazing , thanks so kmmuch
Enviado desde mi HTC One mediante Tapatalk
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
nikola1970 said:
Hi all,
i installed this fantastic module. It work partially. Problem is when i exit aplication on back key application is still running. Where i am wrong? @liudongmiao
Click to expand...
Click to collapse
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
liudongmiao said:
No, nothing is wrong.
When you use back key to exit the application, the application won't receive any broadcast, however, the application will be cached, so the next time you open it, it will be opened very quickly. But before you open it again, it won't receive any broadcast.
However, if you want to the process be stopped, you can force stop it.
Click to expand...
Click to collapse
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
swat4samp said:
I observed this behaviour only with play services. For other apps, its working fine. So basically there's no much diffrnce between freezing and this except for application caching right? If we stop mms, do we still receive sms? A UI would be useful to look which apps are stopped and which are not. Great work man :good: BTW xposed for gb isn't updated yet. Any reason?
Click to expand...
Click to collapse
I don't know what's freeze, it doesn't seem to be a android's function.
As i said in the description, it doesn't force stop any application, but prevent sending broadcast to force stopped application.
For caching, it's a feature added to android's design.
For android's native design, when you start the application, it will be removed from the stop list until you force stop again.
But for me, i think its too complex to stop it, so i catch the finish, and if it's exited by finish, it will be added to the stop list.
// but it's in the cache processing list. so if you want to force stop it. this little design is useful for me to open a application temporary.
So if you stop the mms, i don't know whether you will receive or not.
The mms should be the core services of the android, i don't think you can force stop the services...
And i didn't forbidden the open the activity from the service, otherwise, it will cause FC of the application.
As i'm very busy, and an UI will take me some time. So there is no ui currently.
However, for the list, you can open the /data/data/me.piebridge.forcestopgb/conf/forcestop.list
For the xposed and other back-ported's module, it's not updated just because i'm too busy, and sometime too lazy .
You can read the description here: http://repo.xposed.info/module/me.piebridge.forcestopgb
And if you want to know more about the tech, you can read google's documetation: http://developer.android.com/about/versions/android-3.1.html#launchcontrols
thanky you for answers @liudongmiao
when i prevent Viber from running, when i start Viber, it starts but when you tao on some conversation it gives me force close. is this know bug?
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
swat4samp said:
Can we remove this setting simply by editing in config list (changing to false)?
Edit: I changed gms app to false and then opened the app to check which worked fine (i can see many running process in ram) and then i checked the list and it showed only that app in list. Is it alright?
Sent from my GT-S5670 using Tapatalk 2
Click to expand...
Click to collapse
true or false has special meaning.
true indicates this app is in the stopped list, and no broadcast would be send to the application.
false indicates this app has been marked in the stopped list, and when use back-key to exit, it would be in the stopped list.
I will write a simple ui, after the back-porting of xposed installer (completed), xprivacy (completed), and app settings (in to do).
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
kalel29 said:
im following this thread closely,and i want to test somethings,but before i do so,i have some questions.
the most important one its regarding about using this module along with greenify,what settings do i have to set in order to achieve the best of both apps,and then have a better experience.
Thanks.
Click to expand...
Click to collapse
As I have no ics+ devices, so i cannot say much things.
And if you want to try, you can wait for some days, I would write a simple configuation ui this weekend.
In short, if greenify works on your device, then just use greenify. But if you find greenify doesn't work at all, then try this one.
From design, greenify depends on http://developer.android.com/about/versions/android-3.1.html#launchcontrols introduces in android 3.1, this app hacks some api to emulate the launch controls. This works on gingerbread devices, and the devices that launch controls don't work at all.
Related
Per the subject, the application AutoStarts (https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts&hl=en), which can be used to disable apps that starts automatically (boot time, auto) no longer updated since 2011.
Moreover, it does not seem to work in JellyBean, as some apps I know starts in the background is not shown in the AutoStarts app.
I tried Gemini, but it doesn't tell me WHICH service is starting, so it can actually break the app.
Anyone have recommendation for AutoStarts replacement?
Try Disable Service https://play.google.com/store/apps/details?id=cn.wq.disableservice it receives timely updates and finds services a lot faster than AutoStarts.
youngbrod said:
Try Disable Service https://play.google.com/store/apps/details?id=cn.wq.disableservice it receives timely updates and finds services a lot faster than AutoStarts.
Click to expand...
Click to collapse
I tried that, but like Gemini, it doesn't tell me which services are started during boot or auto start.
I actually had an issue with the app that it won't stay since I turned off all services. I then have to manually try it one by one to see which one is required for the app to function.
ROM Toolbox Pro does what you are looking for, plus lots more. I'm not sure if the lite version does it also.
A newer version of autostarts is at https://f-droid.org/repository/browse/?fdfilter=autostarts&fdid=com.elsdoerfer.android.autostarts
This thread should be in the Q&A section. http://forum.xda-developers.com/forumdisplay.php?f=1236
famewolf said:
A newer version of autostarts is at https://f-droid.org/repository/browse/?fdfilter=autostarts&fdid=com.elsdoerfer.android.autostarts
This thread should be in the Q&A section. http://forum.xda-developers.com/forumdisplay.php?f=1236
Click to expand...
Click to collapse
That's interesting, why would the Dev stop updating it in Play Store?
Anyone genius ??
Why I see the same apps appearing muliple times in Autostarts ?
Does anyone know if you can Freeze the AutoStarts app after making changes to the system and it will still work, or does the AutoStarts app need to actively be running all the time to function?
I'm just basically asking if it's a process that always runs and monitors for these processes starting and stops them, or if it is just something that modifies some Android files and runtime parameters and triggers so that the blacklisted processes don't automatically start on their own in the various specified situations.
Hi
First of all thank you Oasis for creating a tool to fix things that shouldn't be broken to begin with! You are an example for a lot of developers :good:
I've read the first couple of posts on the original thread but I still have a few things that are not clear..
The advice of Oasis himself is too hibernate only those apps that misbehave. He states that hibernating apps will also remove them from the memory, which will come with a performance/cpu usage penalty when you want to use them again.
In the video tutorial however Josh greenifies almost every application that doesn't need push notifications.
So this would mean that when I use an application that doesn't have notifications but I open frequently, for example Nu.nl, a dutch newsapp, it will always have to reload the app from scratch instead of loading it from memory?
So baically the best way to use Greenify would be to NOT just greenify most apps, but to use the analyzer frequently and see what's running in the background and greenify those that don't depend on notifications?
Then newsapps that don't push news, image viewers, file managers, system tools like SD Maid and simple games that don't use internet should be ok not being greenified?
Is there no big list available of apps that misbehave or are safe to keep de-greenified?
Thanks in advance for any help on this.
Basically you got it right. Use the built-in analyzer as well as disable service and autostarts to check apps' behaviour. For my experience, sometimes is better to disable a background service than greenify an app, if the app "misbehave" for this service only (of course you'll have to check if the app still works). An example: guaranteedhttpservice and tracksyncservice in shazam...
marchrius said:
Basically you got it right. Use the built-in analyzer as well as disable service and autostarts to check apps' behaviour. For my experience, sometimes is better to disable a background service than greenify an app, if the app "misbehave" for this service only (of course you'll have to check if the app still works). An example: guaranteedhttpservice and tracksyncservice in shazam...
Click to expand...
Click to collapse
Where can I find and disable things like tracksyncservice? I also use Shazam but I can't find both services you mentioned in Greenify nor TiB?
latino147 said:
Where can I find and disable things like tracksyncservice? I also use Shazam but I can't find both services you mentioned in Greenify nor TiB?
Click to expand...
Click to collapse
"Disable Service" (and "Autostarts") from play store.
marchrius said:
"Disable Service" (and "Autostarts") from play store.
Click to expand...
Click to collapse
Ah, I believed those were two functions withing Greenify I couldn't find
wtf, FB has 62! services! None of them where active though, until you open the app, then it was 3.
So you can choose between greenifying an app which will basically kill all services from an app, even background services on one hand, and choosing specifically which services too disable, like you did with Shazam.
The only issue with this second method being that you don't always really know what these services do.
latino147 said:
So you can choose between greenifying an app which will basically kill all services from an app, even background services on one hand, and choosing specifically which services too disable, like you did with Shazam.
Click to expand...
Click to collapse
Exactly. Take google play services for example. If you greenify it, you'll lose gcm and other functions and that's not advisable at all (in fact greenify hides it). But with disable service (and autostarts/system tuner)you can choose what to disable while still mantaining gcm, location services (when needed), sync etc. I can' remember what I did in system tuner regarding gplay services (I followed some tutorial), but with disable service I disabled analyticsservice (this one will reactivate itself unless you do some tweak with system tuner), refreshenabledstateservice, playlogreportingservice, googlehttpservice, playlogbrokerservice, adrequestbrokerservice, gcmschedulerwakeupservice, advertisingidservice, adsmeasurementservice, locationwearablelistenerservice, nlplocationreceiverservice, geocodeservice, dispatchingservice and playlogservice. A reboot is needed. Haven't lost a single function since weeks (gcm, location, autosync and every google app in general are working 100% fine).
Same story with play store. Apps wake it very often, so greenify it does more harm than good. Instead, you can disable pendingnotificationsservice, contentsyncservice and dailyhygiene (and will still be fully functional).
Of course these are little tips to increase performance and battery life even more. I use greenify for 90% and more of apps that "misbehave" and disable service/autostarts/system tuner for the remaining 10% "misbehaving" apps. However, an app "fixed" with such methods will stay cached while with greenify is completely closed (resulting in more cpu/time/battery consumption when loaded again).
The only issue with this second method being that you don't always really know what these services do.
Click to expand...
Click to collapse
Like I already said, for general purposes you'd better simply greenify the "misbehaving" apps. If you use it/it is woken very often, you can consider these methods.
Yes, it's a "trial and error" thing. Unless you're disabling services with self-explainatory names such as "pushservice".
Never installed Facebook official app but I heard many times that is a notorious hogger and takes many personal datas too, for which you can look for xprivacy xposed module as well.
I'll start experimenting with it today :good:
I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
dapgo said:
I would like to have the maximum of control on running processes, but I feel I have not enough control, so I hope you can help me
I know that being root, managing processes and disable "autoruns" is a quite easy task but unfortunately my device is not an easy to root phone
Furthermore, I saw that Android (4.1.2 Jelly Bean) performance is very bad when you have many apps installed or you used many apps recently. Yes I listen about the internal management and I am aware that it is not a suggested practice but since I want to have control on what is happening and i have serious concerns about the algorithms to free RAM (maybe bull****), so I prefer to do it on my own risk
What I am doing is go to
-Settings, Application manager, Running, "Show cached processes"
- Settings, Application manager, Running, "Show services in use"
Identify what apps are in use and i don't like, then go to
-Settings, Application manager, All,
select app and Click "Force Stop"
Doing it my device has a better performance however, some apps still going alive after some time, for instance: Email ( I saw other in the past)
Using "Autoruns" app and checking "email" app I can see with changes of state can start "Email" however, sometime "email" is reenabled after be manually stopped but none of previous conditions happened.
How can I kill "email" or other app and force to stay off? (disable it and install other email app is not a valid answer)
I would like to use email/others as an standalone app, I mean use when I want and have out of memory when I am not using.
Besides, the autoruns, is there any scheduled task or something like that to open apps?
Of course I want to root my phone and I am waiting until someone will find a proper way to root, in fact I think that an android without rooted is like a car with square shape wheels
Click to expand...
Click to collapse
more info about processes, mem and autostart
I am still fighting with Android and how it manages processes, now I am sure that my main problem became each time I went into flight mode or it is restarted.
But it is not only Email being executed and being using in memory but other processes that I am not using doing that, such as:
(Mem. on OS monitor- Mem. in "service in memory"(android settings))
Event: Connectivity changed
-youtube 22.2MB-6.2MB
-Google play services(com.android.gms) 26.8MB-12MB
-Maps 20MB-4.9MB
-Factory Test (18.6MB -3.4MB)
Event: after Startup
-youtube 22.2MB-6.2MB
-Software update (18.0MB-4.3MB)
-Internet (com.android.browser) 18.9MB-3.3MB
There many apps which are executed after events like previous but they are closed after a very short time, but I am frustrated about those which are not unloaded.
Regarding "Email" app I decided to use a free email app and as Email cannot be disabled, so, I removed the accounts associated to email app, however even without accounts configured, it still being launched and wasting resources. can I avoid it?
What do you think?
dapgo said:
I think I found the cause for "mail" app being executed automatically, today it went alive after select "flight mode"
Now I would like to control Google play services, I am seeing some of these being executed continuosly, can they be killed? how?
Click to expand...
Click to collapse
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
What about editing the startups rights?
Has anyone used APK permission remover?
GermainZ said:
It's not possible to do what you want without root, unfortunately (unless you're talking about normal apps, in which case you can uninstall them to keep them from running). An alternative would be to use Greenify, though it won't be fully automatic without root either.
Click to expand...
Click to collapse
Apk permission remover never stops an app from automatically starting. It only helps in removing the permissions we see during installation.
dapgo said:
What about editing the startups rights?
Has anyone used APK permission remover?
Click to expand...
Click to collapse
You still want to do this 2 years and 7 months later? That's one late reply there
GermainZ said:
You still want to do this 2 years and 7 months later? That's one late reply there
Click to expand...
Click to collapse
Yes but after SO long I found the app 'autorun manager pro', and it allowed to disable triggers /autoStartups/autoruns
This module prevents components from trying to enable themselves.
---------------------------------
We can use MyAndroidTools or MyAndroidTools Pro (you can find them in the Google Play) to disable components(service,broadcast receiver,activity,content provider).
But any app can enable their own component through an open api (setComponentEnabledSetting).
This module just prevent it.
The icon comes from Uchiha Shisui's Mangekyō Sharingan.
1. Log:record all the components that use "setComponentEnabledSetting" to enable themselves,not matter whether it is checked in the blacklist.
2. BlackList settings:select the app you want to block,then save.
--------------------------------------------
//the main source code:
Code:
XposedHelpers.findAndHookMethod("android.app.ApplicationPackageManager",
loadPackageParam.classLoader,
"setComponentEnabledSetting",
ComponentName.class, int.class, int.class,
new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
if (((int) param.args[1]) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) {
param.args[1]=PackageManager.COMPONENT_ENABLED_STATE_DISABLED;
}
}
});
I love your app !!! What version do I need to be on for this to work ?
Would be nice if you explained more info in your thread ? What exactly does this do that the app already doesn't ?
does MyAndroidTools 1.2.8.7 apk need to be installed first and then this Xposed Module 0.1?
how exactly does this work? please explain in detail and also the installation procedure.
I agree with m0han. The module doesn't provide us with a user interface. So when activated through Xposed, what exactly is it doing? Do we need to download the apk from the app store? More clarification is needed before I activate this module. Thanks.
wangqi060934 said:
This module prevent components from trying to enable themselves.
Click to expand...
Click to collapse
Awesome, thank you!
Finally something to stop K9-Mail and Google Play store from starting at boot
Would you consider making the Xposed module or even MyAndroidTools open source? Xposed modules and root apps are scary and releasing the source would increase trust immensely.
I bought the pro version and I would actually buy it again or donate for an open source version. Your app and XPrivacy (open source ) make a very nice couple on any phone :laugh:
@wangqi060934, it is very cool and higly anticipated feature. Thank you!
But how does it work? How does it distinct components disabled by me with MyAndroidTools and components disabled by host app itself? And, by the way, can such components be visually distinguished in MyAndroidTools's GUI?
I don't know the nature of this facts but some apps (e.g. Gmail) indeed have services which are disabled without any manual intrusion.
Kind regards!
There is a beta2 now. I already have MyAndroidTools 0.9.8.6 installed from Play Store. I downloaded the beta through Xposed and installed it as we usually do for Xposed modules, enabled it in Xposed and rebooted.
If we go to XPOSED>modules and click on My AndroidTools, we are asked to activate the module. When we click OK, it goes back to the modules screen and if once again clicked, the UI appears. We have Log, Blacklist and Settings options at top left.
The blacklist menu gives options of third party apps and system apps and when you choose one, the apps are listed with a checkbox against their names. Till now I have experimented. After this comes the conjecture.
If we choose one or more of the apps and click the save button at top right, then that app is prevented from enabling itself unless we invoke that app ourselves. This is my understanding. I have not attempted it. I am afraid as 1. I am not an expert 2. there is no info about what this module actually does 3. it is an Xposed module 4. I won't have my laptop for some more time (in case something happens).
The settings option has only one option to show a toast when a blocking happens. The log is a log.
So if somebody else is brave enough to experiment further or if the OP explains things, I would be happy.
EDIT:
The app also appears in the app drawer and clicking it has the same effect as from Xposed.
if you do a search on xda theres more info on this app when you find it try the tenshi_xp settings.
v0.2 is not working for me, it always show me that the Module is not active even though I can see in Xposed Log it's loaded.
xk0niR said:
v0.2 is not working for me, it always show me that the Module is not active.
Click to expand...
Click to collapse
Same here.
(CM12.1 at SGS4mini I9192)
xk0niR said:
v0.2 is not working for me, it always show me that the Module is not active even though I can see in Xposed Log it's loaded.
Click to expand...
Click to collapse
There seems to be an issue with the UI. I also get the popup that the app is not active and asking me to activate it. If I activate it, the UI closes. The workaround I found is to open it from recents. Then the UI stays and you can play with it.
---------- Post added at 02:14 PM ---------- Previous post was at 02:13 PM ----------
Kirrrr said:
Same here.
(CM12.1 at SGS4mini I9192)
Click to expand...
Click to collapse
...
wangqi060934 said:
This module prevent components from trying to enable themselves.
Click to expand...
Click to collapse
The module block massenger to connect to the network
Envoyé de mon SM-N910F en utilisant Tapatalk
Version 0.3 seems to work again.
I was wondering about the purpose of a blacklist. When I disable a service for an app with MyAndroidTools, I do not want that app to re-enable said service. Essentially this means that all apps should be activated in the blacklist in the Xposed module?
There is a version 0.6 now. Further the Dev has also furnished more info on the app in the first post.
When we reboot after enabling the app in Xposed and open the app, the log populates and shows the components which have been enabled through 'setComponentEnabledSetting'. We can then long press the component which we want to disable and choose 'blacklist'. It is then shown as blacklisted. The 'blacklist settings' shows the third party apps installed on the phone which can be selected and saved for blocking.
So find any component or third party apps which you want to block and do so. When something is chosen for blocking and it tries to enable itself, it is blocked and an entry appears in the log with its name and the time of its blocking.
If anyone finds any further info, please post the same so that we can learn.
---------- Post added at 01:52 PM ---------- Previous post was at 01:48 PM ----------
daniel_m said:
Version 0.3 seems to work again.
I was wondering about the purpose of a blacklist. When I disable a service for an app with MyAndroidTools, I do not want that app to re-enable said service. Essentially this means that all apps should be activated in the blacklist in the Xposed module?
Click to expand...
Click to collapse
No. You check the log and if you find the blocked app/component shown as started, then you add it to the blacklist.
As the Dev explains in the first post, not all disabled apps/components enable themselves. Only a few do so. You find them from the log and block them. Not all.
tnsmani said:
No. You check the log and if you find the blocked app/component shown as started, then you add it to the blacklist.
As the Dev explains in the first post, not all disabled apps/components enable themselves. Only a few do so. You find them from the log and block them. Not all.
Click to expand...
Click to collapse
Yes, I noticed. Of the 200 apps installed on my phone, only K9-Mail and Google Play Store try to re-enable some services.
The question is, does blacklisting impact performance? If not, one could simply blacklist all apps and not care about checking the log. On my ancient Sony Xperia Mini Pro, blacklisting all apps did not seem to slow down the phone noticeably.
Installed it and it worked perfectly; however I had to uninstall the module since it caused, sometimes, a bootloop. It didn't happened all the time and if I accessed to the recovery and rebooted the phone after a forced shutdown, phone booted correctly. I'm almost sure it's the module fault because since I uninstalled it the phone is working smoothly, anyway I don't know how to provide a log in order to help.
I have a Oneplus One running custom CM12.1 by Sultanxda.
Bino92 said:
Installed it and it worked perfectly; however I had to uninstall the module since it caused, sometimes, a bootloop. It didn't happened all the time and if I accessed to the recovery and rebooted the phone after a forced shutdown, phone booted correctly. I'm almost sure it's the module fault because since I uninstalled it the phone is working smoothly, anyway I don't know how to provide a log in order to help.
I have a Oneplus One running custom CM12.1 by Sultanxda.
Click to expand...
Click to collapse
Try the next version 0.7
Module fc since last version
Sent from my SM-G920F using XDA-Developers mobile app
FC on blacklist menu and still bootloop, with and without system app selection...
Bino92 said:
FC on blacklist menu and still bootloop, with and without system app selection...
Click to expand...
Click to collapse
Was also suffering with alot of bootloop, couldn't work out what app it was. Glad I found your comment
[GUIDE] Getting notifications back after GMS install hack on Huawei phone
This is the method that I used to get notifications back on my P40Pro+ after a GMS hack install. I am not saying it will work for everyone and indeed if you need Google location tools on all the time, dont follow this but if your not too worried, then have a read. It has been taken from other guides out there and a little bit of my own for testing. It can be reversed and backed out of it you dont like it but as I keep getting questions on Facebook about how I done it, I thought I would share it with you too.
In this method you will need :
Huawei multitool V8 from here
Push Notification Tester from Playstore here or wherever you get your apps from
Disabling GSF
Disable Google Services Framework (GSF) using Huawei Multitool v8.
Using this tool on a Windows PC, you will find a section in the Modifications section for disabling apps on a adb connected phone to the app. Connect your phone and select show system apps and look for 'com.google.android.gsf' and select 'disable'.
See image below attached 'Multitool V8 Disabled app'
I disable (GSF) using this as it is easier for me than to use icebox or other freezer apps.
To test notifications are now working
Once disabled check that you can now receive notifications by opening Push Notification Tester installed from Playstore before starting this, will allow you to test notifications. With GSF disabled, they should now work as they should. See attached screen shots below 1-4.
Another way to test them is to just send your self an email. Just make sure you have notifications set in the setting menu first. You can try the notification tester in Outlook but does time out a lot but perseverance can prove it works but an email to your self is just as good. See screen shots 6 and 7 for where this is in the outlook help pages. Screenshot 8 shows Outlook notifications working.
The reason this works I believe is that most apps relying on GMS, their notifications work through GSF and with the GMS hack, they can't, so by disabling GSF, they can use their own default route again, through themselves.
The downside is that with GSF disabled, Google Playstore no longer works and also Google location history, there may be more but it has no real affect unless you rely on them (I dont). Maps still work with directions, Waze too but not your history or phone location via Google. Find you phone via Huawei still works obviously, so you still have other options. Of course, you can use Aurora Playstore instead or any other playstore option and if you have paid apps through Googles Playstore, then you can go to GSF in settings/apps on your phone and enable GSF (see screen shot 5 below) or via the Multi tool V8 again, download your paid app update etc and then disable it via multitool v8 after to get notifications back.
Thanks for the guide, wierd issue for me. Once my phone is conencted, and i disable the service via the Multi Tool, i still have access to the Playstore.
Going to apps -> system prcoesses, it doesnt have the disabled text next to the process. if i click on it, it says "Enable" and "Force Stop". Which initially leads me to think this has been disabled. Then once i go to Push Notification Tester, it fails on step 3 - Register for Push Notifications.
You should not have Playstore access. You dont have any work accounts installed? They have 2 gsf's etc. I would use the muti tool to check for disabled apps. It should show gsf.
May be re do?
I am able to enable and use Playstore, then disable it again to get notifications back at will, so you should too.
Sathelp said:
You should not have Playstore access. You dont have any work accounts installed? They have 2 gsf's etc. I would use the muti tool to check for disabled apps. It should show gsf.
May be re do?
I am able to enable and use Playstore, then disable it again to get notifications back at will, so you should too.
Click to expand...
Click to collapse
I think I know the issue. I have installed GSM the old way (which used to work). If you look at the start of this video he shows two devices ( both with GSM) one which fails the notification tester app, and one which passes. He then uses the icebox method to grt notifications on the phone which passes the tests
https://youtu.be/A4889MUA9EQ
I think I may have to factory reset and use this new method ??
Good luck and if you do, please let us know what method is currently working.
Can you please check for me, if it's possible to install the game jw alive with this method? Offer 5€ via Paypal for this. Just write your Email via PM
Sathelp said:
[GUIDE] Getting notifications back after GMS install hack on Huawei phone
This is the method that I used to get notifications back on my P40Pro+ after a GMS hack install. I am not saying it will work for everyone and indeed if you need Google location tools on all the time, dont follow this but if your not too worried, then have a read. It has been taken from other guides out there and a little bit of my own for testing. It can be reversed and backed out of it you dont like it but as I keep getting questions on Facebook about how I done it, I thought I would share it with you too.
In this method you will need :
Huawei multitool V8 from here
Push Notification Tester from Playstore here or wherever you get your apps from
Disabling GSF
Disable Google Services Framework (GSF) using Huawei Multitool v8.
Using this tool on a Windows PC, you will find a section in the Modifications section for disabling apps on a adb connected phone to the app. Connect your phone and select show system apps and look for 'com.google.android.gsf' and select 'disable'.
See image below attached 'Multitool V8 Disabled app'
I disable (GSF) using this as it is easier for me than to use icebox or other freezer apps.
To test notifications are now working
Once disabled check that you can now receive notifications by opening Push Notification Tester installed from Playstore before starting this, will allow you to test notifications. With GSF disabled, they should now work as they should. See attached screen shots below 1-4.
Another way to test them is to just send your self an email. Just make sure you have notifications set in the setting menu first. You can try the notification tester in Outlook but does time out a lot but perseverance can prove it works but an email to your self is just as good. See screen shots 6 and 7 for where this is in the outlook help pages. Screenshot 8 shows Outlook notifications working.
The reason this works I believe is that most apps relying on GMS, their notifications work through GSF and with the GMS hack, they can't, so by disabling GSF, they can use their own default route again, through themselves.
The downside is that with GSF disabled, Google Playstore no longer works and also Google location history, there may be more but it has no real affect unless you rely on them (I dont). Maps still work with directions, Waze too but not your history or phone location via Google. Find you phone via Huawei still works obviously, so you still have other options. Of course, you can use Aurora Playstore instead or any other playstore option and if you have paid apps through Googles Playstore, then you can go to GSF in settings/apps on your phone and enable GSF (see screen shot 5 below) or via the Multi tool V8 again, download your paid app update etc and then disable it via multitool v8 after to get notifications back.
Click to expand...
Click to collapse
As of today, i can confirm that this method works for notifications, just make sure to restart your device after disabling / enabling.
As for the push notifications, gmail not working for me, outlook works. other apps works too, but from time to time it doesnt push properly, maybe battery optimisation or something i dont know. any idea for this issue?
anyone have any updates on this? I too have the problem - random notifications come in (usually a bunch coupled together)....Trying to figure out a real solution. Any one have any luck?
Sathelp said:
[GUIDE] Getting notifications back after GMS install hack on Huawei phone
[ ... ] Of course, you can use Aurora Playstore instead or any other playstore option and if you have paid apps through Googles Playstore, then you can go to GSF in settings/apps on your phone and enable GSF (see screen shot 5 below) or via the Multi tool V8 again, download your paid app update etc and then disable it via multitool v8 after to get notifications back.
Click to expand...
Click to collapse
@Sathelp -> When you say this at the previous quote message, you really can tell that I can disabled and then enable GSF to receive notifications and then use Play Store ?? Right ??
Will have message issues that "Google requires an action ... etc" and I must reinstall all GMS if I enable GSF again ??
My guide was based on A10 at launch. I used the G app with a back date to get my GMS before it was blocked. Using that at the time worked fine. Disable GMS using adb command enabled notifications as they worked through HMS. I just enabled GMS to run playstore, get and update apps and then disable it for normal use.
As I have not downgraded or used googlefyer etc, I can't say how it will work with these newer methods.
The idea of the workaround to deactivate GSF for receiving push notifications emerged in April or Mai 2020. Over half a year has passed now... Maybe there is a better solution now to have GSF activated and get all push notifications? It would still be great to have a working play store and the notifications!
Any progress in that matter? Any new ideas?
jediknight23 said:
The idea of the workaround to deactivate GSF for receiving push notifications emerged in April or Mai 2020. Over half a year has passed now... Maybe there is a better solution now to have GSF activated and get all push notifications? It would still be great to have a working play store and the notifications!
Any progress in that matter? Any new ideas?
Click to expand...
Click to collapse
We're looking for something at this thread, we can keep GSF unfrozen and get push notificacions ... but after 12 hours Play Protect errors started to appear.
There are at least two users that they haven't this issue and all it works fine ...
How to get notification without freezing GSF
Below is a third version of the guide (ok, it's 3.5). As of January, 15th I've added great finding by @Seresseran1. Thanks man! The below guide will provide you with fully working Google services, play store will work, push notifications will...
forum.xda-developers.com
This sounds great, thx
And because this doesn't work on all devices yet:
Maybe another possible solution could be to let the desired apps only *think* that GSF is not available. So that they try using their own default route again...
But hot could that be accomplished. Maybe via App Cloner?
[QUOTE = "jediknight23, publicación: 84352697, miembro: 5844526"]
[/CITAR]
Maybe ... You can add this reply there ... Any suggestions are welcome !!!
the notification tester failed by register for push notifications and Connection to server.
whats my problem?
chrishess said:
the notification tester failed by register for push notifications and Connection to server.
whats my problem?
Click to expand...
Click to collapse
same here !