yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] amin318:
WoW this is great!

Can you please add the meaning of these symbols [emoji935]️[emoji778][emoji837][emoji813]️[emoji781][emoji664] here and in app's guide page
[Android Apps and Games] wokawoka:
Hello guys, I installed brevent as a replacement of the prevent running xposed module from the same author (as some people recently started to write that it contains malicious code!, link here: xdaforums.com/xposed/modules/mod-prevent-running-greenify-supporting-t2757969).

I'm running brevent with root on my phone and it looks like I can't achieve the same result of the prevent running module. Honestly I don't know what I am doing wrong, if I may still need to issue some adb commands, or it's a question to find the right settings of the app (at the moment is set to brevent method: stand-by then force stop, background apps timeout 30 min, standby timeout 1 hour), or that maybe brevent can't just achieve the same result of the prevent running xposed module.

What I would like to achieve is just to let the process that I select completely frozen or dormant, but it looms like I can't do that with brevent.

Any suggestion? Thanks in advance!
[Android Apps and Games] 24imelqui:
Try removing Brevent from Battery Optimization, you can enabled it in Brevent settings.
[Android Apps and Games] wokawoka:
thank you for your reply.

I really couldn't find the option to disable battery optimization directly from brevent's settings but I did it from android's battery settings.

I'll check if this will help with the issue and I'll report back.

Thanks again
[Android Apps and Games] Shawn_007:
Whenever I use the adb command and get it running. Just after few hours my mobiles gets rebooted randomly and I have to enter the command adb.

This is so annoying, any fix or solution?

Using S8(Oreo)
[Android Apps and Games] Licaon_Kter:
Why? Fix this then.
[Android Apps and Games] arddy1:
How to force brevent ignored/safe apps? Google Chrome sucks my battery really fast and the process remains for hours, but it listed as "safe"
[Android Apps and Games] diimaan:
If you are running S8 Oreo, the option Optimize music player causes the reboot! Disable that and it should work fine.

I am running on Oreo S8+

Thanks
[Android Apps and Games] Meloferz:
I think that happens to my Xperia too... Not very often... But after a period of time reboots itself. Using Xperia XA2 stock ROM

Enviado desde mi H3123 mediante Tapatalk
[Android Apps and Games] diimaan:
Try disabling the optimize music player option and see how it runs! Also it is better to get the log from your device. Which should help the developer in identifying the issues!
[Android Apps and Games] MrMarques01:
Since a few version, it's possible to set an app to "aggressive" (last option after clicking on an app name). Can anyone explain what this is doing?
[Android Apps and Games] bayarx:
Hey guys.. Does brevent affect Ota updates?
[Android Apps and Games] Hemphiz:
I can't seem to get this to work on my lenovo Tab 4 Plus. It has dm verity off. The server doesn't start on boot and so doesn't work, it'll restart if I open brevent manually but after a while it gets killed by the system even with battery optimisation off and check brevent server every 15mins. Tried both Supersu and Magisk
[Android Apps and Games] hcur:
It is not open source, see here: https://github.com/brevent/Brevent/issues/356:crying::(
[Android Apps and Games] #Henkate:
Then what's this?
[Android Apps and Games] hcur:
Didn't see this sorry. Still, according to the F-Droid devs, it does not match the criteria of an open source app: https://gitlab.com/fdroid/rfp/issues/367
[Android Apps and Games] #Henkate:
I see. Also, someone responded at the issue you've shared in your previous reply, saying that it's no longer Open Source starting with the version 2.8.6.

I was looking for an Open Source alternative of Greenify and found out about Brevent yesterday :P.
[Android Apps and Games] hcur:
BTW I am trying to implement an open source alternative to Greenify myself, I didn't get that far yet however... Anyway, any help is appreciated. See https://github.com/SuperFreezeApp/SuperFreeze.
[Android Apps and Games] crittarr:
What are the safe to brevent system apps (force or not?) that are worth it actually?

---------- Post added at 09:14 PM ---------- Previous post was at 09:10 PM ----------

What are the system apps that are both safe to brevent and worth it?

Should they be set to aggressive?
[Android Apps and Games] yochananmarqos:
Probably none. Different devices have different system apps, so you'll have to research that on your own. Maybe ask in your device forum.
[Android Apps and Games] crittarr:
I infer Google play services or Google app are not universally brevented ones.

Thanks
[Android Apps and Games] crittarr:
Hi

Has anyone developed on a non-rooted device an approach that lowers battery use in standby to around 1% or less?

I have activated the paid auto GMS, brevent method stand by then force stop, both after 5 minutes, I leave the cached/safe apps to stay, recognise abnormal back, auto aggressive, do not touch system apps, use nova for launcher on my android 7.0, and the use of battery in standby remains around 2.5% per hour.

I have checked with bbs the partial wakelocks and here are the findings after 12 hours

rilj 6380 wakelocks

bluetooth timer 55

audiomix 29

Nothing really appears to be happening, and the battery use in my new doogee s60 is upsettingly high.
[Android Apps and Games] Fahrilubis:
Hei bro, what difference if i systemized brevent?
[Android Apps and Games] HyperCriSiS:
What are the advantages from Brevent over IceBox?
[Android Apps and Games] vhick:
What happened to brevent. I cannot enable root anymore

[IMG="breventnoroot"]https://preview.ibb.co/cixoFU/Screenshot_2018_09_09_22_00_38.jpg[/IMG]
[Android Apps and Games] MrMarques01:
I think the developer disabled root features for non-paid users. I'm currently looking for alternatives for Brevent
[Android Apps and Games] rickpub:
I paid, root option gone now?? Back to 3.4.2 for now I guess
[Android Apps and Games] Meloferz:
If you find one please let us know ?
[Android Apps and Games] vhick:
Wow! Before, the autostart function, now the root function. Thank you dev for doing that ;)

[MENTION=4128540]MrMarques01[/MENTION]

Let us know you find alternative. Thank you.
[Android Apps and Games] dairfaron:
Well you won't miss out on a lot of functionality if you roll back to v3.42 or even 3.4.1.1.

Just got to his homepage and download.
[Android Apps and Games] folusmile:
Why must he disable root function doesn't make sense to me. He should hv say it doesn't doesn't support root anymore simple. Not becos people won't paid.
[Android Apps and Games] Fahrilubis:
This brevent support android p?
[Android Apps and Games] pokipokipxorn:
Yes, I'm using ver 3.2.7 on android pie

Note, alarm apps must not be battery optimised in order to work
[Android Apps and Games] Fahrilubis:
U mean clock maybe? Why?
[Android Apps and Games] PokemonTotalWar:
Anybody who misses the Root and/or AutoStart features, just download Privileged API Booter from the Magisk Repo. Most people who are rooted today are rooted with Magisk, and it auto starts using the same method as the adb command, so I'm not sure the dev can disable it easily, if they wanted to.
[Android Apps and Games] folusmile:
The question is.. Why does he disable root not everybody using Adb, is root causing the app to be unstable or it is becos he want root users to buy the app before the root option show up in the app. I can't still figured it out. Secondly I don't see the usefulness of this thread cos the dev won't reply or say a word so what's the purpose of this thread
[Android Apps and Games] PokemonTotalWar:
That I can't answer. I just know the module is there and works. Wasn't Root always experimental? It might have been removed because it was causing some sort of issue, whether that be during compile or runtime.
[Android Apps and Games] rickpub:
I paid, root was still gone for me. Went back to using an older version.
[Android Apps and Games] folusmile:
Why does he want root users to pay when there is no root option in the app anymore. Doesn't make sense to me
[Android Apps and Games] MrMarques01:
The root option is still there in the latest version, but you have to pay for it now. Which, in my opinion, is a questionable move.

But there's no point in complaining here, OP doesn't seem to read the thread
[Android Apps and Games] folusmile:
Cool.. But why is he forcing root users to pay. So sad.
[Android Apps and Games] Pupet_Master:
Same, what version are you using now?
[Android Apps and Games] rickpub:
Sorry, never updated my earlier post. Latest version working fine now with magisk Priviledged API Booter (for autostart)
[Android Apps and Games] yochananmarqos:
If root is working, it will start at boot on it's own. No need for the Magisk Module.
[Android Apps and Games] seobel:
Works perfectly. Quickly, clearly, without glitches, intuitively clear, does not load the phone. To run requires command input using adb every time the phone is rebooted, but the phone itself has become so stable that it does not need to be rebooted. If adb you already have, download boldly. If not, expect that you will first have to tinker with its installation.
[Android Apps and Games] HyperCriSiS:
Hi,

Can you please add backup/restore?

Regards,

Hyper
[Android Apps and Games] kalawy:
so in theory.. if i have root and put it in priv-app and white listed the permession.. it will detect that and stop asking for root or adb?
[Android Apps and Games] crittarr:
If you could add a shotcut to disable Google play services and one to disable a selection of apps that would greatly increase functionality for those users for whom something is blocking automatic disable of Google play services.
[Android Apps and Games] folusmile:
I don't hv computer for now and there is no way I can start brevent without ADB if the root options is there it will be possible for me to start brevent and buy via playstore.
[Android Apps and Games] Licaon_Kter:
You have root?

Great... Get Wirebug and enable wireless ADB... open Brevent.... done
[Android Apps and Games] folusmile:
Thanks mate. Very convenient they should let's people knw about Wirebug for those that are rooted
[Android Apps and Games] emoli824:
My Brevent automaticly disabled and keep requesting for root after a period of time, I have granted SU forever. How to solve this
[Android Apps and Games] zputnyq:
I have the same issue but it usually happens after I reboot my device.
[Android Apps and Games] kpjs4s:
Latest source code ?

[MENTION=3818339]liudongmiao[/MENTION] I'm trying to find the latest source in the github, But it looks like the master branch (https://github.com/brevent/Brevent/commits/master) doesn't have it, and in the translation branch(https://github.com/brevent/Brevent/commits/translation) I can see latest commit Id, but no source code other than Translation information? Do u know where I can find the latest source code?
[Android Apps and Games] RoyanArt:
You need to pay to solve it. I have tested it
[Android Apps and Games] Dream Lin:
My phone restart many times after using brevent....
[Android Apps and Games] copeppe:
So let me understand.

Every time that I turn off the phone, when then I turn on it I must connect the phone to my pc and give an adb command to have a working brevent?
[Android Apps and Games] Meloferz:
Yes
[Android Apps and Games] skivnit:
im not rooted but after using the adb cmd i only find forcestoping method available no standby option?is this pay only feature or am i missing something?
[Android Apps and Games] mixxlegend:
I'm so sad this app is not working on 4.4 kitkat :(

i hate all later android versions, i tryed 5.0 lolipop but its draining battery like crazy...

nah i must now install xposed with old prevent running app :(
[Android Apps and Games] sacall:
I have a 3 brefoil paid version of Brevent.

My phone is rooted and the app works as expected but there are several apps that after exiting with back key keep running past the inactive time out even if brevented with aggressive mode.

However if those apps are swipe off from the recents screen they are force stopped immediately.

My brevent method is only force stop no standby but with standby then force stop the behavior of those apps is the same.

System status has all the items supported but suspend apps that is unsupported.

Am i doing something wrong? Isn't it possible to immediately force stop any brevented app if exiting with back key?

Any help will be appreciated.

Thank you very much.
[Android Apps and Games] hostelhostel:
Maybe you should try a new Android version? The old ones are **** and unsecure today.
[Android Apps and Games] boojay:
I found this on one of the Play Store reviews, has anyone tried this successfully or recommend against it?

"Non rooted ADB WiFi trick for Brevent. Instead of connecting your device to PC to run Brevent command every time phone restarts, after install run normal Brevent ADB command. Then install Tasker ADB plugin. Start ADB server again, and run "adb tcpip 5555". Then run "adb connect YOUR PHONE'S IP ADDRESS. Example: adb connect 192.168.1.6 Unplug phone from PC. From now on, whenever you restart your phone, just open Brevent and click on the "adb" button, it will run ADB command from phone and start."

Something similar was implemented with Tasker in order to execute commands that required root without actually having root, but the Tasker dev said the workaround would be gone once the phone was rebooted, so I'm not sure why it would stick around this time with Brevent.
[Android Apps and Games] conditae:
It can be done from su shell:

setprop service.adb.tcp.port 5555
stop adbd
start adbd

And back:

setprop service.adb.tcp.port -1
stop adbd
start adbd
[Android Apps and Games] 4Freedom:
Does Brevent works only if the phone is connected through ADB?

Do I need to to run ADB everytime?

I tried to open Brevent after I run ADB command, and it asks me to connect to ADB everytime
[Android Apps and Games] Meloferz:
currently if you phone support wifi adb, just enable it and then follow the instructions. you won't need to run the commands and connect to the computer anymore
[Android Apps and Games] kluongo:
Is this app still up to date and actively working on Android 13?... I've tried messing around with it a bit without root using wireless adb but it's finicky and gives errors about permissions not being granted.
[Android Apps and Games] biggiesmalls657:
Well I'm using it on Oxygen OS 13.1 not rooted but I also enabled write secure settings
[Android Apps and Games] kluongo:
Ok, I haven't been using it as of recently but maybe I'll give it a try
[Android Apps and Games] 1stSEA:
Is there a shell comand to enable/disable app?

And brevent/unbrevent particular app?

(I intend to use is from llamalab automation)
[Android Apps and Games] lopez5467890:
adb shell pm otorgar com.farmerbb.segundopantalla.free android.permission.WRITE_SECURE_SETTINGS
[Android Apps and Games] DragonFire1024:
I use this to kill Amazon Apps on my Amazon Fire HD 8. There aren't many actual android functions to be Brevented on this. Firewall (NetGuard) + Brevent = :D
[Android Apps and Games] Arugakeerthi:
Any help on the different symbols on selection of breventing? Like sync, cloud, cloud with sync inside, alarm clock, alarm clock with zzz, plain circle

Also the ! symbol for certain apps.. Making them invulnerable
[Android Apps and Games] JoshDaWhite:
This app is interesting, I willy check it out.
[Android Apps and Games] kevinodabila:
Will you add support for jellybean? Its cool if this app compatible with later version of Android.
[Android Apps and Games] DragonFire1024:
Most older versions are able to be rooted. This would be useful to kill the apps you want to keep if you use an older device for testing like I do, but I use Greenify and IceBox Apps Freezer on my XT907. However the issue I have with Greenify is it's hard to turn an app back on once you take it out of hibernation.

I think I like IceBox better than Greenify. It's better to use it for apps you want to freeze so you can test other apps without them interfering and what not. I guess these three, Brevent, Greenify and IceBox have a good competition going. BTW Ice Box requires root if you can't make it DeviceOwnerApp
[Android Apps and Games] Cpt.mactavish:
I'm kind of noob at these type of stuff....activated root mode..in short all I need to do is activate root mode...

and others will be done automatically,

I don't need to select apps manually...??

all can be controlled from swiping recents

right?? :eek:

[MENTION=3818339]liudongmiao[/MENTION]
[Android Apps and Games] Evolutionzz:
Just wonder..

Does i need to open Brevent every i reboot my phone and grant it on ROOT mode.. ? :confused::o
[Android Apps and Games] liudongmiao:
Welcome~

Please fork on GitHub: https://github.com/brevent/Brevent, then pull request.

https://github.com/brevent/Brevent/blob/master/brevent/src/main/res/values/strings.xml

https://github.com/brevent/Brevent/blob/master/donation/src/main/res/values/strings.xml
[Android Apps and Games] liudongmiao:
Just enabled "allow run as root" and "boot receiver" in settings, you need to click version 7 times to show it.

And, it requires donation for play version. (No requirement for non-play version.)

You can get non-play version here: https://piebridge.me/br/
[Android Apps and Games] liudongmiao:
Default brevent method is standby, then force-stop. So, there is no force quit apps.

However, if apps are awaken by other apps without activity (most likely in china), it will be force-stop immediately.
[Android Apps and Games] liudongmiao:
It's just a symbol.. And most of time, it has no direct meaning. I choose it just for different meanings.

sync: allow sync

cloud (in icon): this apps support fcm (gcm)

cloud: this apps support fcm (gcm) and allow sync

alarm clock: wait for brevent

alarm clock with zz: standby

plain circle: has no services, it's safe

And certain apps...normally, it's important, favorute (consider unbrevent), or cloud (fcm/gcm).
[Android Apps and Games] liudongmiao:
it's so old.. And you can use Prevent Running 2.3.2 or latest version.
[Android Apps and Games] liudongmiao:
IceBox normally hide / disable the app. you need to enable it before using it.

Greenify has limit effects on non-rooted devices.

Brevent is for non-rooted devices, and may not work well on rooted devices due to selinux or other curious problem.
[Android Apps and Games] liudongmiao:
Of course, you need select apps to brevent.

However, Brevent default auto-brevent for new installed apps, you can turn it off in Settings.

IMO, when you swiping from recents, normally it means you wont use it again in short time. You can read guide carefully to know brevent more.
[Android Apps and Games] hydrakhan:
The root mode still doesn't work with latest MagiskSU, and I have to set the Selinux to permissive via terminal.

Please fix it.
[Android Apps and Games] Evolutionzz:
Woah,thanks,it's help me a lot.. :D
[Android Apps and Games] chenghuayang:
This is just awesome. I saw some bloatware apps stopped worked at all. Nice job, man!
[Android Apps and Games] liudongmiao:
It's a problem of MagiskSU, not Brevent.

Brevent use `dumpsys` for some information, for example, notification, and dependency.

Notificaion is important in Brevent, Brevent won't brevent apps if it has sticky notification (you know it), and won't force-stop apps if you need notificaitons (Allow Sync).

And dependency is very important, otherwise, apps would be force-stopped by depenency.

You can use su to check:

dumpsys activity activities
[Android Apps and Games] mele80:
So....How to use this? Im on a non-rooted phone, thus i cannot use adb, because it gives me a permission denied. DId i undestand correctly that this app can be used also with non-rooted devices?
[Android Apps and Games] imska:
Inclusion into F-Droid Repository

Thanks for the great work on this app! It's really useful!

If you think your app fulfills the inclusion policy for F-Droid, I am sure a lot of people would greatly appreciate to find your app there! Basically, you need everything to be FLOSS and to agree to the inclusion into the repository as the dev of the app. You can quickly file a packaging request here.

(This is a copy of the github-issue created here to notify the xda-community watching this thread and to open the inclusion suggestion to discussion)
[Android Apps and Games] dimm0k:
I'm currently rooted using Magisk... would I still be able to use this app as if I was not rooted to its fullest potential?
[Android Apps and Games] liudongmiao:
Yes, Brevent is mainly for non-rooted devices.

adb should be executed on pc. it doesn't require root. please follow the instructions. And there are many guide for how to adb.
[Android Apps and Games] liudongmiao:
Yes, Brevent is mainly for non-rooted devices.

And actually, Brevent is not compatible with MagiskSu, see here: https://github.com/topjohnwu/magiskpolicy/pull/3
[Android Apps and Games] mele80:
Have to check again, I'm using minimal add and fastboot maybe that was the reason.

Switched to different ADB did the trick, now brevent is running.
[Android Apps and Games] tommygunawan:
Thanks for this app. Its great. One question: is there white list for app that i don't want to brevent? Looks like it brevent all app. Thanks
[Android Apps and Games] DragonFire1024:
When an app you download is immediately Brevented you can unbrevent it once and it will be whitelisted.
[Android Apps and Games] kevinodabila:
well, I don't like prevent. I prefer Brevent :D
[Android Apps and Games] dillalade:
Does this work properly on rooted with magiskSU V12?

I ran abd command which did work.

But in the app, most of the apps I selected do not show the alarm clock icon just the circle, which do not seems to be getting closed... Any advice?

Seems like the 'cached process' is not being brevented or force closed and not showing the alarm clock countdown timer as it does for 'Service process'

Any ideas on what I'm not understanding

EDIT: Resolved I think (if you could confirm my understanding perhaps OP)

Agressive Mode 'non service processes' needed ticking. Hence seems to work on magiskv12
[Android Apps and Games] exeon:
I get suspend_backoff wakelock when using brevent. Please help :'(
[Android Apps and Games] jerryn70:
Plz add a method that doesn't require adb command like greenify .
[Android Apps and Games] liudongmiao:
I even don't know what's suspend_backoff wakelock.

I can do nothing.
[Android Apps and Games] lucfig:
Hi,

Seems to be a nice app. Have not tried yet as I don't have a computer with adb access with me.

Will try this weekend.

Are there any known issues such as:

Breventing messaging apps prevent incoming notifications;

Music apps don't play in background;

GPS navigation issues;

Other type of notification or background services issues

Best regards,
[Android Apps and Games] liudongmiao:
0. Brevent do nothing if you don't brevent apps.

However, default, brevent auto-brevent new installed apps, you can turn it off.

In next version, brevent won't auto-brevent new installed apps if it has no service nor receiver (not happen for most case).

1. Breventing messaging apps prevent incoming notifications

You need to "allow sync" if it supports fcm, for im, don't brevent it.

It will cost you more battery when force-stop then launch app very frequently.

2. Music apps don't play in background.

Brevent don't check for music app. However, "allow sync" can solve this problem.

And if apps has foreground service and sticky notification, if you are using it, brevent wont do anything.

(Most music apps show stick apps and foreground service)

3. gps navigation.

refer to issue 2, sticky notification + foreground service.

4. background service + notification..

if you allow sync, and apps has foreground service, brevent don't do anything.

for allow sync, if there is notification, brevent won't force-stop it (may standby it).

for other, for background app (press home or so) + sticky notifcation, always work.

Don't brevent all apps if you don't know what are you doing!
[Android Apps and Games] lucfig:
Thanks for the complete answer.

I will test it and have some feedback.

Enviado de meu LG-H990 usando Tapatalk