yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] ocd_amp:
Edit : Latest version 0.18.1 crashing constantly on Gingerbread 2.3.7 - Reverted back to 0.15 - however Google Play keeps showing update is available. Please take it out of Google Play. 0.15 is working properly.

Thank you. Do you mind if I include your link in any guide I may do? It is so far the best way of letting the atrocious and bloated Google Play Services from slowing down the entire system. Before this, Dialer/Contact took a good 10-15 seconds to start a phone call on a LOW RAM device. I believe Google Play Services causes these problems with Dialer/Contacts because it is always trying to hijack the Dialer. With this, it stays quiet in the background and I can still sync Contacts/Gmail/Calendar without having to sync App Data, People's Details, etc. Also for some reason, even with ~50MB free RAM, after 5+ hours deep sleep, Phone/Contacts app would lag. But with more free RAM, they seem to work instantly. Going to continue testing and if it works out, would like your permission to let others know about this. I hope you don't stop and continue on with this great piece of code. Thank you very much.
[Xposed Framework Modules] folusmile:
This module work great, version 0.12 on lollipop.. But the rest update force close. Pls fix

Note 3

Pekaka Rom

Version 5.0
[Xposed Framework Modules] godlesplay:
@up rest of updates makes bootloop on my s3 lte 4.4.4 stock
[Xposed Framework Modules] folusmile:
Dev thanks this update fix everything (force stop) . Thanks so much
[Xposed Framework Modules] liudongmiao:
Sorry for everyone.

I don't know the subscribe status is off, and there is even no mention.

So I cannot receive any email, until I finally want to visit here for any post.

Now I have subscribed it.

for android L, I have tested on android 5.0 and 5.1, in emulator.

And some guy in china told me it works, since 0.19.6.

The latest version is 0.20.
[Xposed Framework Modules] XYZ-Moscow:
liudongmiao, thanks!

Most people only need stable core and communication (some core apps, GSF, IMs, Fitnes apps), but other apps only eating battery in background.

Can you add list of apps which not recomended for preventing?

Maybe it's some lists (white and black): user prevented, user unprevented, recommended unprevented apps (like system), recommended prevented apps, other apps.

Other apps status is configurd by user.
[Xposed Framework Modules] googchrome:
Let me try this. Thanks !
[Xposed Framework Modules] godlesplay:
[MENTION=3818339]liudongmiao[/MENTION] it is not working on my s3 lte 4.4.4 stock TW Rom, I enabled module and rebooted phone but still I can see message "enable and reboot your phone" (or something similar) when I open module
[Xposed Framework Modules] liudongmiao:
I have no such recommendation.

For myself, I prevent almost all third-party apps, and all google apps as I live in China.

// however, google apps will be awake when you open it, or the sync can wake it up.
[Xposed Framework Modules] liudongmiao:
Please send me the xposed log, and install the latest version.

the latest release version is v0.25.1, and the latest testing version can be found here: http://piebridge.me/pr/
[Xposed Framework Modules] godlesplay:
newest version is finally working, all earlier versions not, thanks
[Xposed Framework Modules] folusmile:
Thanks for your work..the latest version always get me on bootloop..lastest didnt work for me.

Note 3
[Xposed Framework Modules] djmax81:
Yo.! [MENTION=3139801]folusmile[/MENTION] sorry for off topic to thread but yes my thread is closed for some claim related issues on my request .And soon will be back sorry for inconvenience tho.

And sorry can not send pm to you seems you disabled it ;)
[Xposed Framework Modules] folusmile:
Oh i didn't Knw wil enable it.. Thanks for your explanation. Hope to see u soon.

Cheers!
[Xposed Framework Modules] Ketansa:
Hello :))

" the next time you open it, it will be opened very quickly" ... this is the billion $ line :D

They fool billions of users into it. Its a huge hidden hole that Google have provided to the app companies to channel peoples private things in the background. The apps running as cached process does it all. From there they track peoples data, and privacy. We don't need that quick load, in sacrifice of our privacy. Force stop it dead and Hibernate is the only thing people should follow. Loading from death is not that slow anyway. It does that quickly too.

Was just saying what I felt, nothing against you. :) :) :)

So you saying that the applications won't receive any broadcast, means they wont be able to track anything? is it as good as dead? Are you planning to add any Kill and Hibernate option?

Thank you, see you.
[Xposed Framework Modules] liudongmiao:
Yes it's as good as dead.

If it have services, it will be killed; otherwise, it will be kept as cached process.
[Xposed Framework Modules] godlesplay:
can I prevent running facebook messanger and snapchat and still get push messages?
[Xposed Framework Modules] liudongmiao:
no, you cannot get push message.

however, you can get message when:

- if it supports gcm, and you didn't block gms. // this only works in 0.26.6 testing, however, i didn't release it yet.

- when you open the app...
[Xposed Framework Modules] exodius48:
Indonesian Translation

[MENTION=3818339]liudongmiao[/MENTION]

Here's for Indonesian Translation (values-in)
[Xposed Framework Modules] liudongmiao:
Thanks, merged in version 1.0.5.
[Xposed Framework Modules] exodius48:
Great, your app & Indonesian translation working great on my device. :)

[IMG="Prevent Running on Xiaomi Redmi Note 3G"]http://s2.postimg.org/4a5bo2rex/Screenshot_2015_09_28_13_25_09.png[/IMG]
[Xposed Framework Modules] Harsh.gundecha:
[MENTION=3818339]liudongmiao[/MENTION]

could you please implement the one click on off button if possible, so that we can easily block unblock playstore while using it

thank you
[Xposed Framework Modules] liudongmiao:
You can just add google play store (or any other app) to prevent list, then press HOME to allow it temporarily.

// some app won't be supported if it finishs itself when HOME is pressed.
[Xposed Framework Modules] Harsh.gundecha:
[MENTION=3818339]liudongmiao[/MENTION]

but bro playstore requires multiple other google services to be enabled in order to run properly.

and also when we are highly multitasking it would be proven highly helpful.

one more

would you implement function for even clearing cache memory.(if possible and suitable)

note-

i am loving your module so i may keep providing useful and or may non sense ideas. xd

thank you
[Xposed Framework Modules] liudongmiao:
You can prevent google play store and other gms services.

For gms, if there is any running gapps, they can use gms automatically until you exit all gapps.

But, for non-gapps, they cannot use gms except gcm.

They are work well now, as I live in china, i cannot use gms unless i connect vpn.

And third party apps can use google play store billing services and other system-app's services.

So if you have such doubt, I don't think you are using prevent running.

Please just install and use prevent running, I should have fixed most problems.

And if you can visit google services, i don't suggest you add gms to prevent list.
[Xposed Framework Modules] Harsh.gundecha:
[MENTION=3818339]liudongmiao[/MENTION]

does it mean that the billing service will work even if all gapps including framework,gsm etc etc are blocked?

thank you.☺
[Xposed Framework Modules] liudongmiao:
yes.

however, only the app you are using (has running activity) can use the billing service if play store is prevented.
[Xposed Framework Modules] Ketansa:
Thank you, I think I should try it and see. After all this app was created out of love :D , and anything out of love is great?

I want to use this on my xperia M5, there is no root fascilities yet. I have to wait.
[Xposed Framework Modules] xuefer:
ANR after i swipe-remove multiple apps in "Recent" list quickly

check attach log, seems relative to prevent running
[Xposed Framework Modules] liudongmiao:
There are some guyes reported in China. It's probaly due to cleaning all the recent tasks or *rare* quickly.

I will try to fixed in next version.
[Xposed Framework Modules] xuefer:
Thanks for the quick reply. It happens again for me. It's not just slow but completely dead lock, blocking System UI and leading to WATCHDOG timeout so the whole system get soft restarted

Is this bug only in new recent version? can it be fixed by downgrading?
[Xposed Framework Modules] liudongmiao:
From the stack, it's some possible problem for long time.

Please help to test pre release version: http://piebridge.me/pr/
[Xposed Framework Modules] xuefer:
can't make sure of it. but looks like the problem is gone in pre-release version
[Xposed Framework Modules] liudongmiao:
There are some china guy reported there are still some problem in v1.2.7-beta2, so I give a new version v1.2.7-beta3.

You open 20+ apps, then clean up them all to see whether it's still anr or not.
[Xposed Framework Modules] xuefer:
There is a visual glitch when scrolling. looks like the list is caching/reusing the item(row?) leading the icon

what i see is, when i scroll the list very quick, the icons shown is always almost (if not exactly) the same before i scroll. the icon appears in different position but it's the same, e.g.: qq icon

suggestion: before the list item is reused, why not set a default icon before the new icon get lazy-loaded
[Xposed Framework Modules] liudongmiao:
It's not a critial issue, and it *may* be fixed in next release.

And, as you mentioned to qq, and if you're chinese, you can join the qq qun.

// For chinese locale, the action for feedback is to join qq qun, not send email.
[Xposed Framework Modules] xuefer:
i can confirm this issue fixed in pr-v1.2.7-rc4. thanks for your good work
[Xposed Framework Modules] kientrongtran:
Thanks for the app, it works as expected.

One issue though, every time Prevent running module is enabled, my device takes terribly longer time to boot up (sometimes even up to 2+ minutes).

(Xperia Z Ultra,stock sony 5.1.1)
[Xposed Framework Modules] phoberus:
i don't understand the changelog for the newest version (1.3_r3). Does it work with android 6.0 or not?
[Xposed Framework Modules] liudongmiao:
Of course, it works on android 6.0.

Actually, for 1.3_r3, it's the same with 1.3 (1.3_r1, 1.3_r2), but update for the ui.

And I have mentioned the update for document, I have now update chinese document for how to apply prevent running patch to rom, this won't require xposed module.
[Xposed Framework Modules] godlesplay:
[MENTION=3818339]liudongmiao[/MENTION] why do you need read from external memory and modify/remove files from usb memory permissions?
[Xposed Framework Modules] liudongmiao:
As you see, the prevent running now support 6.0's permission, so it can be ignored.

I need it for wechat donation. There is no good way to send a qrcode to wechat, so I save the qrcode to storage, and wechat can use it.

And furthermore, if any *xposed* module doesn't require any permission, it's very dangerous, cauze most xposed module run with system's context. So you seen some permission like this: me.piebridge.prevent.permission.MANAGER.
[Xposed Framework Modules] leonardoroza:
Thanks

Enviado de meu Moto G usando Tapatalk
[Xposed Framework Modules] liudongmiao:
Sorry, but I cannot read your language...Please use english.
[Xposed Framework Modules] Dead-neM:
Send from a Moto g using tapatalk ^^ it's just his signature
[Xposed Framework Modules] gordonpn:
In the changelog for v1.3.1, it states:

- (6.0) add option, try use app standby instead of force stopping

Where can I enable this option?
[Xposed Framework Modules] liudongmiao:
It's only for 6.0.

Prevent Running, menu "User guide", menu "Advanced Settings"
[Xposed Framework Modules] gordonpn:
Yes, I have read that it's only for Marshmallow, I just didn't realized there was a "hidden" advanced settings menu in the top right of the user guide..

But thanks!
[Xposed Framework Modules] xream:
I think it can be confirmed that if you dirty flash any CM based ROM without resetting the data of Prevent Running, the device will stuck at infinite bootanimation loop in most times.

Device: Nexus 6P

ROM: every CM 13 nightly/ Mokee nightly since CM 13 came out.
[Xposed Framework Modules] liudongmiao:
please attach any related log, if there is none, I can do nothing.
[Xposed Framework Modules] xream:
Should I run "logcat -d -f /sdcard/logcat.log *:V" and send you the log?
[Xposed Framework Modules] gordonpn:
Are you taking feature suggestions?

If so, what do you think of adding a special search to list "not enabled" apps?

Also, maybe an option automatically auto prevent new third party apps?
[Xposed Framework Modules] liudongmiao:
I don't think you have read the description...

for the "not enabled" apps, just search "-e". And you can find other "Special Search", like "-s", "-g", "-r", "-e", "-3"...

for the automatically auto prevent new third party apps, it's the default action. And, If you don't like "auto prevent" added packages, please prevent "Prevent Running".
[Xposed Framework Modules] gordonpn:
Oh my mistake, I was so sure that when I typed '-e', it gave me a list of apps that I had already set "auto prevent".

Ah, I see what you mean, I had set "Prevent Running" on "auto prevent" from the beginning.

Thanks!
[Xposed Framework Modules] ocd_amp:
Quick Question,

What does Preventing the App itself do? I know it can stop Third Party Apps from Auto Prevent, but is it better to Prevent it or not? What save more Ram and give better functionality?
[Xposed Framework Modules] liudongmiao:
In short, if you want to "auto update prevent list", add "Prevent Running" to prevent list, otherwise, remove it from "prevent list".

As there is no service in "Prevent Running", so it doesn't use your ram, or cpu after you exit "Prevent Runing".

And there is no side-effect except "auto update prevent list" if you add "Prevent Running" to "prevent list".
[Xposed Framework Modules] Benrap:
Pleaseeeee allow to enter the UI without enabling it in xposed??? Just makenit show you a message that says the module isn't enabled, but make another button that says "continue anyway". Is that a thing?
[Xposed Framework Modules] phantom146:
Pr is pretty good and the fact that it has a low memory footprint is a bonus.

One thing though, i thought choosing "app standby instead of force stop" for android 6.0 we will still be receiving notifications? Because i hate the fact that i need to open up messenger even when im on data or wifi just to check if there was a message on it, can you try to take a look at it?

Second, when "ap standby" is on instead of force stop? Does it stop background processlike greenify does? Can you enlighten us what it does?
[Xposed Framework Modules] liudongmiao:
As it said, it just use app standby to instead of "force stop". So the question is this: when pr force stop apps?

- when all activities of an app are destroyed, and it has running services

- when all activities of an app are destroyed, and the setting "don't keep processes" is on

- when the setting "force stop background apps" is on, and screen turns off, and the leaving time exceeds the limit.

When all activities of app are destroyed, it cannot be waken up by non-system app, so it's safe. For the "force stop background apps" is on, i don't think it will have a good effect, as it may fail to app standby, then fallback to "force stop".

But when it supports GCM, and GMS is not in the prevent list, it's ok. Pr allow GMS to wake up force stopped app.
[Xposed Framework Modules] phantom146:
I can see that facebook since its written poorly and the messaging service is always on, this one cant be force stopped when the only setting ticked was " app standby"

However what i dont want to actually force stop was messenger.. Pr destroys messenger services therefore we dont receive any notifications from it which is a bust.. I thought app standby is supposed to not "force stop" apps from functioning but rather putting it on idle mode to increase battery life for 6.0+
[Xposed Framework Modules] liudongmiao:
Pr try "app standby", then fallback to "force stop".
[Xposed Framework Modules] gregfrankenstein:
EDIT: Maybe I celebrated too soon. The apps I tried to prevent from running eventually did start running, which I really can't hold against the module because things like Skype and Soundcloud are pretty stubborn and get triggered by other services. But the weird part was I actually had more apps running than ever. There were apps I hadn't used in months sending me notifications, and I said "that's weird" and added them to the prevent list as well and force quit. A bit later, they were open again. Upon disabling the module and rebooting, this behaviour stopped.

So oddly, this module seemed to have the opposite effect. It actually caused even more apps to run. Your mileage may vary though; my phone might be haunted.
[Xposed Framework Modules] ming86:
How to know a App is in App Standby mode?
[Xposed Framework Modules] liudongmiao:
There are prevent log, it records which app start which app. And, it NEVER start any app, never send any system broadcast/start any service. If you find any question, please just report bug.
[Xposed Framework Modules] liudongmiao:
As I have no "android 6.0", so the easist way is: if you have quit a app, and it has services for long time, it's in app standby mode.

And you can find it in Android's developement settings, the name is like "Stopped" or so.
[Xposed Framework Modules] Dead-neM:
Hi there since 1.3.4 when reboot the phone prevent running do not start properly in fact if i launch PR the prevent list is empty... So i quit the app launch it again and the prevent list is there.

I thought i cause no problem but if i boot without doing that the PR app think the list is empty and auto-prevent nothing
[Xposed Framework Modules] intika:
Hello,

First thanks for your amazing application !!! :)

I am having a little trouble with the new version... to 2.0.r and 2.0.1 i did not debug to see when the problem appeared.

First when i updated after reboot all my prevent list was removed.

Then for some newly installed apps; PreventRunning did not include them automatically. on older version every time i install an application it was added to the list, now sometimes it works sometimes not.

Also i would suggest adding the possibility to tune some features from the app or with an ini file or so... like force kill, delay etc...

Thanks
[Xposed Framework Modules] liudongmiao:
2.X update the storage of prevent.list.

In 0.X and 1.X, the prevent list is stored in prevent running's user space.

However, many users compain about it cannot be loaded in some ROM.

So, in 2.X, the prevent list is stored in system, and prevent running can load it at very early, and it should be more effictive.

Although I have tested on my phone and the emulator, some users reported that the prevent list cannot be imported automatically.

Please configure it once more. Now you can select them very easy in 2.0.1.

For the configuration, as prevent running is not just a xposed module, it's hard to do so.

In it's running as xposed module, xposed offer way to load configuration.

But if it's running in native way (by patching rom, and can be systemless), it's hard to implementation.

And I think the default time and way should be enough for most users.
[Xposed Framework Modules] intika:
Thanks for your answer :)

i am interested a lot in your application being using it since a while...

i am also willing to contribute to future version on github ;)

note : for the moment i am having a little trouble to setup the environment of android studio with the hidden api to get it to compile
[Xposed Framework Modules] intika:
it's okay i figure it out :) thanks !

first time i used hidden api, that's interesting
[Xposed Framework Modules] intika:
digging deep into your code, you really made an amazing job !!!!! it's brilliant !!!! :) nice work !!!

i expected my initiative to maybe add a new feature, improve something or make timers available on settings activity, but at the end i concluded that your code is already great and does not need modification, this does not happen a lot when i tune an opensource application ^^
[Xposed Framework Modules] liudongmiao:
If you have done, please just create a pull request.

And please note, prevent running is not just a xposed module.

Actually, myself and some guys in china use the native way: patch the rom with prevent running.

Yyou can get a version for aosp in the aosp directory.
[Xposed Framework Modules] intika:
i added a feature to filter the listed application with a drop list

here is some captures :)

i will push a pull request ;)
[Xposed Framework Modules] Publiuss:
Hi

I would to use "automate" (an automation tool) to insert and remove packages in prevent list.

There's some "stuff" (intent, activity, receiver... :confused:) that i can call to achieve this?

Thanks.
[Xposed Framework Modules] liudongmiao:
In short, no. Prevent Running prevent other tools to manager prevent list (use permission me.piebridge.prevent.permission.MANAGER).

You can still change it directly to /data/system/me.piebridge.prevent.list, however, it need to reboot to make sense.
[Xposed Framework Modules] Publiuss:
Uhm... Ok.

Thanks for the answer!
[Xposed Framework Modules] @pulkit:
[MENTION=3818339]liudongmiao[/MENTION] - I want to ask a question, what's the difference between Greenify and Prevent Running?

Also, can I disable particular service in an app, instead of preventing the entire application to run and also that whether should I convert the prevent running app to a system app for better functioning?

Please solve my query.

Btw, the Application is Awesome.. :D
[Xposed Framework Modules] liudongmiao:
I don't use greenify, so I cannot give detail message.

In short, if greenify works, just use greenify. Prevent Running supports 2.3 (with xposed installer ported by myself), and supports non-xposed way using smali-patch. Greenify supports non-root way, root way, and xposed way. Prevent running use HOME/BACK to control apps.

If you are a developer, prevent running is free and opensource. And you don't need donate to use prevent running, however, if you like, please feel free to donate.

Prevent Running never disable particular, when you use some app, it's full version. And prevent running doesn't support to be a system app, it's not useful for prevent running.
[Xposed Framework Modules] HorstiG:
App Crash. LG G4 Marshmallow 6.x Stock
[Xposed Framework Modules] liudongmiao:
It should be fixed in v2.1.1, please update to verify.

If it's not fixed, please use "report bug" in "prevent running".
[Xposed Framework Modules] kornball:
I may be merely overlooking it, but I can't find the "advanced settings" in 2.1.1. I would like to change the auto-prevent settings that were recently added
[Xposed Framework Modules] liudongmiao:
Menu -> User Guide -> Menu -> Advanced Settings.

It's so deep as I don't want to it can be easily find.
[Xposed Framework Modules] intika:
Greenify make a lot of noise for nothing, basically greenify is a task killer with a reviver option (when a task is hard killed, often it does not respond to receiver alarm etc... so greenify added a reviver system to solve that) thus said, a task killer is not recommended at all, greenify seems to use this method with a lot of workaround to make somehow a "taskkiller" efficient.

Personally i get a way better battery/performance result by using the combo (Prevent Running + Amplify) making greenify useless. Plus, i don't really like how greenify is engineered even if it's a very nice application, sometime the cost of killing an application and reviving it is not worth it, i prefer getting strait to the application battery usage problem by solving it through Amplify + PR

this method is very efficient but the downside is that you have to know what you are doing and it take more time to get everything setup correctly.

also you may consider adding to this set of two tools

MyAndroidTools and

BetterBatteryStats

;)