yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ac3Da3m0n:
If i purchase the donate version will i be able to run as root because there are two different pricing given.
[Android Apps and Games] liudongmiao:
Brevent is opensource, however, some guy don't like to donate.

So, the version I released requires some experimental feature should be donate:

. 2 USD for "optimize vpn", no restriction for non-play version

. 2 USD for "abnormal back", no restriction for non-play version

. 3 USD for "Run as ROOT", without this, you can still press 7 times to run as root temp.
[Android Apps and Games] Ac3Da3m0n:
But you mentioned 2 USD play store and 3 USD (via Alipay) so what does this mean?
[Android Apps and Games] chii888:
I've been using Brevent for a while now, and I noticed that I have a problem with pairing new Bluetooth devices. I can't see new Bluetooth devices when pairing. The only way to see them is by restarting the phone and pair the new Bluetooth device before Brevent starts or by uninstalling Brevent. Is there something I can do? Thank you! I love Brevent since I don't need root and it instantly turns off the screen.
[Android Apps and Games] scrubjay55:
the app is quite useful and since it is open source, way better than greenify. Appreacite the work, thanks.
[Android Apps and Games] Tillsats:
So, what apps or services do you brevent. Are there real positive effects?
[Android Apps and Games] jordanpa:
Can someone please clarify for me;

If via ADB I enable the server.. I then make some changes using Brevent. I get that Brevent server itself needs reconnect every reboot but are changes I have before actioned locked in? (ie- turning off RUN_IN_BACKGROUND for several apps?)
[Android Apps and Games] Licaon_Kter:
Yes, they'll be applied once you restart the server after reboot.
[Android Apps and Games] dimm0k:
I'm still confused as to how Brevent differs from Greenify in functionality... can someone explain?
[Android Apps and Games] Meloferz:
Simple answer... Brevent you can use without root (efficiently)... Greenify with root...

Enviado desde mi F5121 mediante Tapatalk
[Android Apps and Games] dimm0k:
that I already understand... I'm asking the difference in functionality... basically are they doing the same exact thing, similar, or totally different approach
[Android Apps and Games] raymondsanusi:
The one thing I know..

When u exit ur apps with back button :

1. Greenify : it will wait until u turn off your phone and then the apps will be greenified

2.brevent : it immediately force close ur app (u can setup it in brevent setting)...or when u clear all ur apps in recent apps, it will force close those apps..so no app still running in background..
[Android Apps and Games] dimm0k:
thank you for this, this was what I was looking for!
[Android Apps and Games] Atrate:
May I know where does Brevent store its preferences, like brevented apps and settings? They aren't in the shared_prefs folder, so it intrigues me.
[Android Apps and Games] liudongmiao:
Brevent stores brevent list into Brevent Server's home, which is run as SHELL.

It's hard to tell the directory path, it varys on your system.

Normally, it should be:

/data/user_de/0/com.android.shell/

You can use these command to find it:

dumpsys package com.android.shell | grep data

And in Brevent Server's log, it will be printed.

For settings, it's in shared_prefs directory, however, it's in device-protected directory (since 7.0).

And it's hard to tell too.. For android 7.0, it should be

/data/user_de/0/me.piebridge.brevent/shared_prefs/
[Android Apps and Games] mohit2387:
I installed this app yesterday, uninstalled greenify.

Used it for a day, felt overwhelmed, donated for the good work,

now I wanted to know

1. Do I have to again enter those adb commands everytime i reboot

2. if No, can this be introduced as a feature exclusively for those who donated?

PS : I am not rooted on Moto G5
[Android Apps and Games] Meloferz:
Every time you reboot, you have to enable with adb. it would be great If there is no need to use it, but I think it won't be possible without root

Enviado desde mi F5121 mediante Tapatalk
[Android Apps and Games] jordanpa:
My Moto Z has restarted several times now, and the server still works after each.. but if I manually restart, I need to adb again. Is this a glimpse of what's possible in an update...
[Android Apps and Games] CrazyCypher:
I will definitely try this tomorrow! I've been looking an efficient way to do this on my S8...

A question though... This ADB command was also needed in bxActoins to modify bixby and ADB was also needed after every reboot, but they now use different ADB commands that are executed only one and then app works without any problems.

Can developer maybe look at it, maybe this app can use the same tricks? I am not a developer so this is only guessing so please it's just a suggestion ?

Anyway, thank you for this app, I'll post my comments when I use it ?
[Android Apps and Games] liudongmiao:
Impossible for Brevent.

Brevent need permissions to force-stop or standby other apps, which cannot be granted.
[Android Apps and Games] MBurns2:
Hi all !

Three questions:

-which is the difference beetween standby time and force stop ?

-aggressive mode increase battery life ?

-brevent and standby are the same state ? force stop is the next one after standby/brevent ?

Thanks a lot
[Android Apps and Games] CrazyCypher:
Hello, for now I am loving your app! When I go into Settings->Apps and I open some app I selected in Brevent, all of them have Force Close button grayed out which means that apps are successfully closed! :)

I have problem with Facebook and Localcast though... If I close Facebook, it comes back in Brevent with the gray circle on the right... Can I prevent this somehow and force it closed?

Thank you very much
[Android Apps and Games] Atrate:
Can it not be granted through setting Brevent as a priviledged system app? Would make it simpler for root users.
[Android Apps and Games] pokipokipxorn:
Is there a whitelist function? Or something equivalent?

So I can exclude an app from being forced stopped?

Does Brevent honor apps which are 'Not Battery Optimized'?
[Android Apps and Games] liudongmiao:
In your words, I don't think you have try the root way in Brevent.

It's useless if you have rooted, as there is root mode in Brevent, in two methods:

- adb via root

- direct root

Please note, root permission is not the highest. There are many restrictiction in root mode, specially for samsung rom.

As I said before, even priv app cannot app-standby.. And brevent run as shell, it can app-standby.
[Android Apps and Games] liudongmiao:
Brevent only brevent apps in brevent list, so not-in-brevent list means white list.

There are several ways to avoid force stopped, mainly two suitations:

- if you choose standby only, no force-stop

- if you allow sync for a app, and the app is running in background, or has notification.

For not battery optimized, Brevent show "no standby" for it, and it has a special icon.
[Android Apps and Games] AGgup8:
deleted comment
[Android Apps and Games] CrazyCypher:
Hy, its working for every app, but I installed Samsung Flow and it doesn't show it in the apps.. why is that?

Otherwise, amazing app, it's great! ?

---------- Post added at 10:23 PM ---------- Previous post was at 10:18 PM ----------

Just now read that you are the same developer that made prevent running.. amazing app for closed, I used it since day one..but now with Samsung and Knox I've decided to not root so this Brevent is an amazing solution for my phone :)
[Android Apps and Games] Freezy202:
Why does brevent say: stopped state: unsupported?

What does it depend on?
[Android Apps and Games] liudongmiao:
It vary on rom. For most roms, it's supported.

For non-aosp rom, it's unsupported.

It means Brevent cannot adjust app's stopped state.
[Android Apps and Games] Freezy202:
Okay, I see. Brevent or Sense Rom. Can't have both haha.
[Android Apps and Games] poisonofchoice:
Is it necessary to uninstall forcedoze before installing and using this app?
[Android Apps and Games] liudongmiao:
Don't know. I don't use forcedoze.
[Android Apps and Games] Licaon_Kter:
They work fine together. (Same as with Greenify or Naptime)

Remember to whitelist it in Brevent ;)
[Android Apps and Games] scrubjay55:
[MENTION=3737774]liun[/MENTION]dongmiao i know you probably dont want to add any other feature before it gets fully stable but can you please add aggressive mode to the app? So it can be a better replace for greenify.
[Android Apps and Games] liudongmiao:
There is aggressive mode in Brevent. However, I never recommend.

Use it at risk.
[Android Apps and Games] poisonofchoice:
We can't see how much memory an app is using like in greenify. Also, I'm not able to Brevent chrome app.
[Android Apps and Games] Licaon_Kter:
[MENTION=3818339]liudongmiao[/MENTION] Why is Brevent 2.3.2 requiring an internet connection now? The device does not have any internet to begin with...

Pic: https://i.imgur.com/jQhCgq0.jpg

:(
[Android Apps and Games] liudongmiao:
Brevent won't show memory for apps.

Chrome is used by many other apps, when you force-stop it, other apps will be force-stopped too.

So Chrome is marked as WebView.
[Android Apps and Games] liudongmiao:
Brevent always requires local network.

Brevent has no permissions, and Brevent Server is run as Shell.

The only way to share permissions is Socket, i.e., local network, 127.0.0.1.
[Android Apps and Games] Licaon_Kter:
Umm ok, so, how do I fix this error now? Keep in mind that my setup has not changed, it worked before updating to 2.3.2.

/fixed it eventually
[Android Apps and Games] yomiguy:
Great app! I've installed it in my s8 and it's working perfectly! Thanks op for making this app. I was greenify user in my previous rooted devices, but I don't want to root this s8 yet, so this app is a wonderful solution!

Enviado desde mi Galaxy Tab 2 mediante Tapatalk
[Android Apps and Games] liudongmiao:
how?

Normally, it's restricted by system.
[Android Apps and Games] Licaon_Kter:
Restarted the device and it then worked.

What is restricted exactly?
[Android Apps and Games] CrazyCypher:
Hy, so far I am loving your app. I have a question though.. I saw under experimental settings there is option "Recognise abnormal Back".

What does this mean? Doesn't app recognise back press and home press by default? That way it can close apps if they are closed by back button and leave them running if the home button is pressed. So what is the difference with this experimental setting?

Thank you for your answers and kind regards
[Android Apps and Games] liudongmiao:
Brevent cannot recognize Back, however it can recognize Home.

Some apps, normally in China, if you press Back, they should be destroyed and return to previous apps.

But it doesn't, it move itself to background. (It seems Chrome do so too..)

You can force-stop chrome, then launch it in Brevent, when you press back and it returns to Brevent, there are time, which indicates it's running in background.

And some apps are even madware...When you press Back, it launch Launcher..

There are several major apps in China..

So, Brevent will do so: If Launcher is launched by non-Home (nor itself), then previous apps is malware.

Normally, Brevent would app-standby apps when it reaches background timeout.

If you turn on this option, it will app-standby the apps immediatly.

If you don't understand, just turn off.

And again, experimental features are unstable and cannot be unstable, don't turn on if you dont know.

- Connected VPN. Use very ugly way...

- Abnormal Back. May not work at all...

- Playing / Paused apps. Again, very ugly way, and may not work at all.

- Root..Very unstable, root has no higher permissions than normal Shell.

- App Ops. Very dangerous. As it apply even when you uninstall Brevent, when you use the apps.
[Android Apps and Games] liudongmiao:
As it saied, some app restirct Brevent to visit local network..

Don't know why. Most of time, it's force-doze, or ... don't know why.
[Android Apps and Games] CrazyCypher:
Thank you. So how can I know if app is malware, how can I know if back launch launcher?
[Android Apps and Games] liudongmiao:
If you press Back, it returns to Launcher, and in Brevent, the app shows dynamic time.

Brevent will app-standby it very soon if you turn on "recognize abnormal Back".
[Android Apps and Games] CrazyCypher:
Ok thank you. If I press back and all apps force close and they don't show in Brevent dynamic time that means the apps are ok and everything is working normally correct? ?
[Android Apps and Games] Liu.pf:
Really great helpful!

I could use my Xperia as a normal phone now. Without heating and get a Holly long battery life.
[Android Apps and Games] CrazyCypher:
Hello, I installed app Samsung Members today, but it is not on the list anywhere in Brevent app..

Could you look why is that?

Thank you for your work and kind regards
[Android Apps and Games] Licaon_Kter:
Enable Core, framework, system apps in Brevent-Settings, does it help ?
[Android Apps and Games] CrazyCypher:
I enabled core, system apps..there is no option for framework...

Still no Samsung Members app anywhere..

Anyone with solution please help

Thank you and kind regards
[Android Apps and Games] liudongmiao:
Framework apps is renamed to Core apps.

As three tab in 720p would be ugly if use framework apps..

So I renamed it to Core apps.
[Android Apps and Games] liudongmiao:
Normally, I cannot do anything. You can try to reboot, it may show. (find this issues on some Rom.)
[Android Apps and Games] CrazyCypher:
I have stock galaxy S8 not rooted ROM.. I will try reboot in the evening when I can execute Brevent command again :)
[Android Apps and Games] downloaderfan:
After every reboot it gives a notification saying 'Brevent server is not started', but since I have granted root access, tapping on that notification & launching brevent fixes it. I have to do this after every reboot, sort of annoying & unnecessary when I have granted root access to it. Can this please be fixed?
[Android Apps and Games] Arugakeerthi:
It has an in-app purchase option to auto-enable on each reboot.You must buy/donate for that:D
[Android Apps and Games] liudongmiao:
As you don't menthon the version.

Before v2.3.4, start since boot is very experimental, and payment is required.

Since v2.3.4, as the main Root mode in Brevent switch to root-adb, it's more stable than directy adb, you can start automatically.

Root is very very very experimental, I don't Root, and seldom reboot.

So, if you think it should be fixed, please upgrade to latest beta, then reproduce, and feedback with log.

Without log, I cannot do anything, as again, Brevent is very hack, and Root in Brevent is very experimental.
[Android Apps and Games] liudongmiao:
Since v2.3.4, payment is not required for Root-adb, which can activate Brevent Server when boot completed.

However, for some Rom, if Root-adb doesn't work, payment is required for direct-Root.

(If you build Brevent from source, AppOps and direct Root is unavailable.)
[Android Apps and Games] ustczzh:
Google Play service has been consuming battery, should I brevent it? or more, with or without allow sync?

Will there be a brevent guide line for some of most common apps?

Thanks a lot!
[Android Apps and Games] Licaon_Kter:
Most online apps (email, chat) depend on PUSH services, hence you won't get notified if you brevent that Google Play service. So no, don't do that.
[Android Apps and Games] ustczzh:
What if I don't use the notification of Google? I don't use any im from google. I just want to keep Google Play service, so that youtube, JuiceSSH and some other apps can work fine, and sometimes keep calendar and contacts synced.

For these 2 processes(Google Play service and Google service framework), What's the difference between "unbrevent" and "brevent and allow sync"? [MENTION=3818339]liudongmiao[/MENTION]

Thanks a lot!
[Android Apps and Games] Licaon_Kter:
Read again what I've said, and read your apps documentation. IF an app uses PUSH it NEEDS Google Play services.

Do read about "how push works on Android" first.
[Android Apps and Games] liudongmiao:
I have written down on the change log:

> Be careful to brevent system/core apps or turn on Aggressive mode.

GMS, is system apps. So...

There are many apps depends on GMS, so, GMS won't be force-stopped until all depends-on-gms-apps are force-stopped.

unbrevent: brevent won't do anything to it.

brevent: see guide.

allow sync: if it's brevented, it can receive notifications or so, by these techlogoy:

- (also see support state in version) set force-stopped state, so it can receive broadcast, otherwise, it cannot receive broadcast.

- (also see support state in version) unstandby, so it can receive jobs, and sync..otherwise, if it's awaken, it cannot access network.

- long live time. for normal brevent apps, if it's awaken by other apps, only 3 seconds; for allow sync apps, 30 seconds.

- (also see descriptions of details in play store). notification and background..I just find there is no english versions, only chinese version..

if "allow sync" apps have sticky notifications or foreground services, brevent won't app-standby nor force-stop them;

if "allow sync" apps have notifications or run in background, brevent won't force-stop them, may app-standby them.
[Android Apps and Games] exeon:
Hi, after upgrading to Android O, brevent requires usb debugging turned on in order to work, which previously in Android N brevent doesn't required. Is it supposed to be like that?

Edit: seems like Android O has higher security...sigh
[Android Apps and Games] liudongmiao:
I have written in Chinese to describe this.

And for you, you can read the commit directly: https://github.com/aosp-mirror/platform_system_core/commit/f7e79b9
[Android Apps and Games] exeon:
Not really understand, sorry haha. Just wanna know is it possible brevent will work without usb debugging mode enabled in future? Thanks.
[Android Apps and Games] ytgbg:
Hi mate,

From the provided link I can not find the non-play version.

Lates-apk is shown as play version and other apk shared there is play version also.

Am I doing something wrong or I just can't understand something?
[Android Apps and Games] liudongmiao:
Impossible. However, Brevent has optimized in Root-adb mode.
[Android Apps and Games] liudongmiao:
As play store show update for the same version for non-play, and cannot update.

Since 2.1.7, there is no public non-play version. However, you can get it from some site.

And I'm tired to provide other version, there are same for latest version.

There are same apk, and offer different features from install source:

// adb install -i <installer name> -r /path/to/apk

// related source code: https://github.com/brevent/Brevent/...ebridge/brevent/ui/VersionPreference.java#L43

- play version, only support play payment, install via play store.

- like play version, support play payment and alipay payment (mainly in china), install via non play store.

- meizu (china phone manufacturer) version, like "like play version", install via meizu store, can use some experiment features without payment.

- smartisan (china phone manufacturer) version, like "meizu version", install via smartisan store.
[Android Apps and Games] AlikRostov:
Hi tell all who tried on samsung galaxy S7 on not the rutovy device after installation and use what writes knox, tiknt or not?
[Android Apps and Games] EvilMegaDroid:
Is this app useful if im using something like force doze? What I'm saying is if there is any difference between the standby mode and deep doze mode. Because of force doze my phone goes to sleep right after screen is of so I don't really have any app running in background.
[Android Apps and Games] Yaboisnob:
Trying to use this on note 8, but I've been unsuccessful. CMD prompt does recognize my device with the ADB devices...I was also able to disable heads up. Has anyone had any success when entering the provided command through the brevent app.

Sidenote: just a thought...at the moment brevent requires you to ADB with a PC manually. Would it be possible to execute this through automated tasks?

Ex

1) schedule time- open app(WiFi ADB) via Tasker and turn toggle on

2)once network recognizes the wifiadb- trigger PC/raspberry pi to open CMD and type in said command
[Android Apps and Games] Licaon_Kter:
You need to fix this first, see ADB guides for your OS on the internet. (not a Brevent issue!)

ADB over Wi-Fi needs root access, do you have it? No? Then no, after every reboot, USB cable...
[Android Apps and Games] Yaboisnob:
To the second question. If I did have root access would I be able to that method. I already know USB cable is required every time...
[Android Apps and Games] liudongmiao:
Standby is for apps. When app in standby, it cannot access netowrk, and do jobs (like sync).

Doze is for device, and there are whitelist for apps.

You can read here: https://developer.android.com/training/monitoring-device-state/doze-standby.html?hl=en

In short, I don't recommend for doze or force doze.
[Android Apps and Games] liudongmiao:
If you device supports network adb, Brevent will just use it.

I even don't mention for this, as netowrk adb is only available for third-party Rom.

But for third-part Rom, normally there is Root, and Brevent will use Root to turn on network adb.

If you live in China, there are something like usb-dongle to turn on adb without pc.
[Android Apps and Games] riccetto80:
Check in windows if adb driver is installed correctly, if not, manually install the drivers, samsung-adb if i recall correctly, i had same issue first time i installed adb on my windows 8.1 64bit.

---------- Post added at 01:02 AM ---------- Previous post was at 12:39 AM ----------

Im trying this app, i granted permission with adb.

So for what i understand, i select the app in brevent, then when i open the app and i close it with "back" button, brevent will put the app in standby mode and will prevent the app from access to network.

If i close the app using home button, the app will continue to run in background and access to network.

app i dont select and mark in brevent, will keep work as usual, no matther how i close it (home/back).

im correct?

i wonder, this will help really? i mean in oreo app have more strick rules for using network while in background, and is possible to limit the app who dont comply to new oreo rules, so this app will help for real or is more a placebo with very little help for android oreo?
[Android Apps and Games] Licaon_Kter:
Use a firewall, see NetGuard: https://xdaforums.com/android/apps-games/app-netguard-root-firewall-t3233012
[Android Apps and Games] atisha:
I'm a dumb brunnette. Just downloaded brevent. How do I get it started without adb?
[Android Apps and Games] Licaon_Kter:
Without root? You can't.

With root? Just start it.
[Android Apps and Games] MrMarques01:
First of all, great app! Way more reliable for me than greenify. I've got a question/suggestion: Would it be possible to to implement a feature to set background and standby timeout on an app-to-app basis? E.g. Put app A to background after 15 minutes, but app B after one minute.
[Android Apps and Games] fire_of_mind:
Should I uninstall greenify if installed brevent? If no witch options should I set in greenify?

Regards

FoM

Wysłane z mojego Xiaomi Mi5 przy użyciu Tapatalka
[Android Apps and Games] mohit2387:
I am using both.

---------- Post added at 01:34 PM ---------- Previous post was at 01:31 PM ----------

I see the new update released with all the feature unlocked.

Can you please confirm you will continue to develop this app, because I always donated for your hard work and would wish to continue using this.
[Android Apps and Games] VeEuzUKY:
Being an alternative to Greenify (which I use), I would like to know how can this app do what it says if it doesn't request ROOT?

Would be great if the developer added a ROOT functionality option (for those who have it on their devices) which I think would make the app much more powerful and a true alternative to Greenify. Happy to buy the Pro version then, no questions about it.
[Android Apps and Games] wildfire_driod:
This app is amazing, basically saved my RAM and battery. Rooting is not an option for me (don't want to lose Samsung Knox and warranty) so I'm using it for a while now and will donate. ?