Limit Boot Permissions in OOS - OnePlus 5 Questions & Answers

A little bit of a shot in the dark here, but here goes...
In Lineage OS, there is an advanced permissions function in settings that allows one to set more detailed permissions for each app. It's organized in columns by Location, Media, and other categories, including Run In Background, and Run on Boot.
It's the Run on Boot I'm most interested in as a lot of times apps install and run on boot in the background and don't need to be.
I don't think this functionality is in OOS, or if it is, I can't find it. I also can't find an app, Xposed Module, or Magisk module for this.
I used to use XPrivacy but that's been abandoned?
Does anyone know of an app or module that would work for this level of permissions?

App Ops
Try App Ops, works great and is so much more userfriendly than Xprivacy. There is a Magisk Module for running process, but the app you'll find in play store.

I don't see any point. Boot time is already fast in oxygen os. & About the background apps after boot, they get killed if battery optimisation is on.

exis_tenz said:
Try App Ops, works great and is so much more userfriendly than Xprivacy. There is a Magisk Module for running process, but the app you'll find in play store.
Click to expand...
Click to collapse
Thanks - this app is helpful for a lot of reasons.
I don't see an at-boot setting though.

ASB41 said:
I don't see any point. Boot time is already fast in oxygen os. & About the background apps after boot, they get killed if battery optimisation is on.
Click to expand...
Click to collapse
Not boot-time related. Many apps load at boot and don't need to. They stay in memory, trigger wakelocks, and snooping areas in the background that shouldn't happen. They also re-start themselves after killing them because the OS thinks they should be running all the time. Youtube is one example. I have a photos app that does it. Several travel apps. Killing apps from loading at boot solves all of those problems, and when you kill them, they don't restart.

Related

RANDOM APPS OPEN ALL THE TIME *curses at phone*

Hello XDA, this is my first post. I've had the EVO since launch and I just installed the early rooted Froyo build when it was released but that's irrelevant because this problem was there from the start. I use Advanced Task Killer and see that random apps are opening without my prompting, things like Google Voice, Gmail, Voicemail...very annoying.
On another note I have much more available memory running this unofficial Froyo, even with these apps opening at their will, than I did originally. Thanks for that, XDA.
Since you're rooted, you have two options that I know of.
Download Titanium backup and when you click on the backup/restore tab, you can click on the apps that frequently pop-up in ATK (e.g., voice dialer) and chose to freeze them. This will render the app inoperable. If you have any functional problems you can simply defrost it.
If you find that you're frozen apps are not causing any problems and you don't use them, you can then uninstall them with root explorer (or another file explore with root access).
I have Titanium Backup and didn't know I could do this, thank you very much. is there any way I could stop the apps from opening without rendering them useless?
Sent from my PC36100 using XDA App
Get Autostarts. Configure it.
If I download Autostarts, will it stop my apps from opening by themselves even if I use them occasionally?
I know StartupAuditor does, but its a paid app...
Negrito said:
I know StartupAuditor does, but its a paid app...
Click to expand...
Click to collapse
I suppose I'll go for that then
Some of the apps need to be running in order to work as they should. Unless and app is chewing up a lot of CPU you won't notice a drain on the system. A lot of these apps have services that are running constantly so they can poll the system for updates in state, say like receiving a text, call or email. Likely many of the apps are set to auto-refresh so they have to start every so often to complete a task.
ITS FINEEE!!!!
Ok, I am pretty good with computers and electronics but not so much on Android.
But I have done research from people who do know android, and will tell you what to do.
1. Don't use a task killer!!
2. Android is based off of Linux OS.
3. When you turn your phone on and launch Advanced task killer, all of your apps will most likely be "opened" however they are not running.
4. The way the OS works is by technically having all of those apps opened, but they are most likely not wasting CPU or battery, so don't worry about them, thats the way everyone's android device works.
5. Using a task killer is bad, because when you shut down the apps, eventually you will get a lot of force closes, because apps that were supposed to be open were closed and their for not running the way they should.
6. Apparently the OS runs better with more apps open, however its not like windows mobile where if you have 3 apps running at once, it will make the phone slower. Android is designed to have all apps "opened" Again it does not mean they are running.
However,
If you notice that a certain app is hogging CPU or causing poor battery life, delete it, but if you really need the app, then you can use the task killer to kill that app.
And no if used a task killer, your phone will not be ruined or anything.
Hope this helps.
agreed, don't use a task killer, they are essentially useless and just end up causing problems on the evo
What your seeing is most likely the app 'process' so it will actually work correctly.

Running apps without launch

Hello guys, ive juz got my iconia a few days ago.. its my first time using android. Its relatively new to me compared to apple. Ive notice that a few apps is running without me opening e application. is tis normal? ive tried to force close.. but after awhile it comes back up n running again?
What apps?
Wysłano z Acer A500
burnout69 said:
Hello guys, ive juz got my iconia a few days ago.. its my first time using android. Its relatively new to me compared to apple. Ive notice that a few apps is running without me opening e application. is tis normal? ive tried to force close.. but after awhile it comes back up n running again?
Click to expand...
Click to collapse
Generally speaking, yes, this is normal.
Those apps are put into standby and some apps run automatically like Systemupdater, Acer Sync etc... Other apps, like Photo Browser 3D, nemoPlayer, even Maps etc - will start but not in the sense of 'start' like we would think. They are ready states (as I understand them) and in some cases will stay ready or swap out when resources are getting light and the OS needs more headroom.
"By default, every application runs in its own Linux process. Android starts the process when any of the application's components need to be executed, then shuts down the process when it's no longer needed or when the system must recover memory for other applications."
So even if you don't launch and application manually, it could easy start up on it own if a component of it was executed (on some level).
It is not recommended to force-close applications unless the application is causing problems - in which case, uninstalling it is the better option.
gammaRascal said:
Generally speaking, yes, this is normal.
Those apps are put into standby and some apps run automatically like Systemupdater, Acer Sync etc... Other apps, like Photo Browser 3D, nemoPlayer, even Maps etc - will start but not in the sense of 'start' like we would think. They are ready states (as I understand them) and in some cases will stay ready or swap out when resources are getting light and the OS needs more headroom.
"By default, every application runs in its own Linux process. Android starts the process when any of the application's components need to be executed, then shuts down the process when it's no longer needed or when the system must recover memory for other applications."
So even if you don't launch and application manually, it could easy start up on it own if a component of it was executed (on some level).
It is not recommended to force-close applications unless the application is causing problems - in which case, uninstalling it is the better option.
Click to expand...
Click to collapse
yes those r the apps that has been running.. tried closing them by using android task manager.. for a moment it will juz start again..by uninstalling them, wats the risks of running my other apps? will it caused any problems?
burnout69 said:
yes those r the apps that has been running.. tried closing them by using android task manager.. for a moment it will juz start again..by uninstalling them, wats the risks of running my other apps? will it caused any problems?
Click to expand...
Click to collapse
I (though others would say the opposite) do not recommend uninstalling anything that came preloaded with the tablet. Both for stability reasons and future updates - if however you're really REALLY obsessing over getting back a dozen megabytes of allocated memory from those minor apps then you're going to have to go the whole long road down root avenue and backing up those applications etc ad nauseam. You can get all the info you need throughout the forum.
My advice is, don't worry about those native apps running in the background - if the OS needs more resources it will manage them on it's own. It's not like Windows where you can kill running programs or processes willy-nilly from the task manager when you want to free up memory - in Android, the OS does this as it sees fit, on its own. If it wants more juice, it will make more juice available to itself.
I had the same issues.. a quick fix i ran was to root my tablet and install "bloat freezer" from the market.
it simply stops the processes from running, so your not un-installing them just stopping them from running, Im now seeing my free ram running at appx 65% free at any time which is much better than before.
If i do want to use skype or whatever i simply unfreeze them and freeze them again when finished..
hope this helps..
<edit>
just to let you know i have frozen all of the acer bundled apps
Freezing apps is an option. I don't do that so I have no experienced opinion as far as that goes.
i agree with gamma
These apps are not really running. They are connected to context menues.like when younare in camera app and you click the share image menus.you will see the apps that can share the image such at Facebook Picasso dropbox and so on.these are the apps setting in static mode.I know in nor totally correct but its the closes I can do to describe.if your statement needs the memory or CPU cycles these apps might be using it will shut them down..I have tested this theory by launching many apps and logging processes.
task killers running in the background work against the built in memory and resources management's.
Good luck.if im wrong anyone please correct the post.just do so nicely
Don't make the blonde geeky chic cry giggles
yyiinn said:
I had the same issues.. a quick fix i ran was to root my tablet and install "bloat freezer" from the market.
it simply stops the processes from running, so your not un-installing them just stopping them from running, Im now seeing my free ram running at appx 65% free at any time which is much better than before.
If i do want to use skype or whatever i simply unfreeze them and freeze them again when finished..
hope this helps..
<edit>
just to let you know i have frozen all of the acer bundled apps
Click to expand...
Click to collapse
That does freeze those apps.but if the system needed that ram it would do the same.it gives foreground ape priority.if that or those apps need the resources.the system will kill the lowest priority apps.
Of course thee are some rogue apps that do not play fair.if you find them then uninstall.I use advanced task killer.but never let it run in background.just can launch it lookat what's running. Then close it it will not restart itself
I understand the memory management. But i would rather applications especially skype to run when i want and not as the system see's fit. Social jogger was another culprit they were my biggest bug bears..
yyiinn said:
I understand the memory management. But i would rather applications especially skype to run when i want and not as the system see's fit. Social jogger was another culprit they were my biggest bug bears..
Click to expand...
Click to collapse
You can freeze those apps with titanium backup.just remember to unfreeze before you do OTA. update
yyiinn said:
I understand the memory management. But i would rather applications especially skype to run when i want and not as the system see's fit. Social jogger was another culprit they were my biggest bug bears..
Click to expand...
Click to collapse
Those apps are not running. The may be started at boot but only partially, then they are "paused" and cached for quicker loading if needed.
Android does an awesome job at memory management and will kill apps when it needs more ram.
I dont like it either since i dont use social jogger, nemo player, acer sync and many more so you have two options
If you are rooted flash a rom without all that crap in it.
Or
Use a file manager with root access and file manipulation like 'rootexplorer' and rename those files so they wont run.
I rename them to socialjogger.apk.bak
Just adding the .bak to the filename is enough.
But dont piss around you can smoke the tablet and have to do a factory reset via recovery if you mess with the wrong file.
Just post a list of thing you wish to remove and we will be happy to let you know whats ok or not.
Oh and btw... the ipad runs a crap ton of stuff in the bckground too, apple jst desnt show you like android does.
Sent from my unknown using Tapatalk

My nexus 7 takes almost 4 minutes to boot up!

When I frist got my n7, I believe it took about 30-40 seconds to boot up. As I have installed apps it has taken longer and longer.
I've cleared up a fair about of space (1.5 gig free) but it's still a slow bootup.
I've read all about google 'takes of everything' and will kill idle processes, but really I don't want to give these apps permission to start in the first place. here's an example: appsales, a neat app that will let you see what is on sale. But I want to run it when I want to run, not get notifications in my task bar '5 new apps on sale!'. I'm not saying this app is the culprit but you get my point.
From what I've read, there's no real way to stop this, task killers just continually check and re-kill the app. I just wanted to confirm, there's no way, (even with a custom rom) to have control and say no this app can never launch?
If that's true, what do others use to kill background apps.
I was going to wipe it and install a custom rom, but I bet as I install all my apps again, I'll be back in the same boat. And I've read others install their apps one at a time to find which ones are causing issues, well there must be a better way.
Remember when you first started using windows 95/98 and you discovered msconfig? It was like, 'Cool now I can stop all these freaking apps from loading at startup!'
here you go, only enable the apps you want, and problem solved. https://play.google.com/store/apps/...wsMSwxLDEsImltb2JsaWZlLnN0YXJ0dXBtYW5hZ2VyIl0.
You could go one step further and use openpdroid. You will need to be rooted on a non-stock ROM, though.
Once you have it installed, you can control a slew of permissions, including the one that allows booting at start.

How to make android run super fast!

The Ultimate Guide to Speeding Up Android​by BeastSpencer
Have any tips? Let me know!​
REQUIREMENTS:
- your phone
- a brain
- (optional) root access
THESE STEPS CAN BE IN A RANDOM ORDER, I AM ADDING THEM AS I GO!
As for some quick speeding up, you can download the attached apk and install it (android 4.3 and up). It makes use of TRIM support, which trims your device of old crap on a schedule to help your device run faster.
FIRST THINGS FIRST! If you have ART, use it! The AOT Compiler makes booting up apps way quicker! Keep in mind enabling it with cause some apps to crash (ie Xposed).
First up, I recommend downloading Clean Master and SD Maid to clean up your phone from all the crap. Run every task in both apps, then you can uninstall them. Next, go get Greenify and RAM Booster from the Play Store. In Greenify, go ahead and hibernate ALL the apps. (don't worry, nothing will become obsolete.) In RAM Booster, go ahead and grant it root access and enable it.
Next, go into the My Files app on your phone (or use a different file manager) and clean out ALL empty folders, as Android gets slowed down with having so many. You can also get rid of old files that you never use. It makes browsing through quicker, too.
Turn off ALL the unused features on your phone except for the necessities, such as mobile data, wifi, sync, from the notification bar. Now, go into your app manager and clean out all the apps that you don't use anymore or haven't used in a while.
OPTIONAL: Get a faster launcher such as Nova Prime or GNL and enable the "stay in memory feature" if it has one. Also on the launcher, try to limit the amount of widgets and apps you have on your home screen, and try to use a static wallpaper instead of a live one.
Next, if you have a custom recovery, go ahead and wipe the cache. On first boot, your device will take longer to boot up and apps will take longer to open, but on second boot it will be BUTTERY smooth.
Now, download ROM TOOLBOX and first go to DNS Changer. Click on Google DNS and apply it. Your data speeds should be a bit faster now. Also, try "Android Browser" or "Naked Browser" from the Play Store for faster browsing speeds.
Next, go to build.prop tweaks, click the capacitive menu key, click Edit, then edit or add these tweaks:
ro.config.hw_quickpoweron=true
persist.sys.shutdown.mode=hibernate
dev.bootcomplete=0
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsdpa.category=10
ro.ril.hsupa.category=5
ro.ril.enable.a53=1
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.rill.enable.a53=1
debug.sf.hw=1
persist.sys.purgeable_assets=1
Then, your device should boot faster, have quicker internet, and be smoother.
If you can, install a custom kernel optimized for speed.
Now, install Xposed Framework from dl.xposed.info then install Wanam Xposed from Google Play. Activate it and reboot. Then, go to System in Wanam and uncheck "Enable Touchwiz DVFS" and uncheck "Scrolling Cache." Next Install BootManager and activate it in Xposed. Then check ALL the apps. Press the capacitive menu key and click on settings. Then click on enable fastboot. Your phone should boot way faster now and be smoother at scrolling.
Next, get Safestrap if you don't have it already and flash Walter.White's Debloater. It will get rid of all the crap and free up RAM. If you think it gets rid of too much, then use my light version.
Go back into ROM Toolbox and go to CPU control and slide both meters all the way up. WARNING: this may cause your phone to warm up and drain battery quicker.
Now, go into Settings, go to the 4th tab and scroll down to About Device. Click on that and scroll down to Build Number. Then tap that 7 times.
Go back, and now click on developer options, then scroll down to the 3 boxes with "animation scale" and set them to .5x or off.
Then go into Account settings and go into each account and disable the sync options you don't need.
Go to the Google Play store and download App Cache Cleaner and run it, then uninstall it if you want.
That's about it folks! If you have any suggestions or other speed tweaks, let me know. - Beast
​ ​
Moderator Edit: Direct download links to paid apps are considered warez/piracy/not allowed on xda. Link removed
This is some good information/advice. Thank you!
:good: Let me know if you have anything to add or change.
BeastSpencer said:
Go to the Google Play store and download App Cache Cleaner and run it, then uninstall it if you want.
Click to expand...
Click to collapse
If you looking for an App Cahce Cleaner, take a look at AppWererabbit.
It is FREE, no ads and no analystics.
https://play.google.com/store/apps/details?id=com.aw.AppWererabbit
Thanks bro !!! GREAT POST !!
Your the man!
These are the best tips anyone could use so many people are missing out! Everyone should do this. Great Job!:highfive:
Does greenifying everything affect some of the apps live updates/ notifications?
Also when you say all empty folders do you mean literally every folder that has nothing in it?
derek.urben said:
Does greenifying everything affect some of the apps live updates/ notifications?
Also when you say all empty folders do you mean literally every folder that has nothing in it?
Click to expand...
Click to collapse
no, i think as long as u have sync enabled with them ur fine
sync settings will wake the apps when needed
i greenify gmail and i still get my XDA emails etc
greenify just kills them running in the background when not needed
i dont know if its the same for u tho
and yes for the folders, it also makes navigating through your phone way quicker without having to go through all those useless lol
Amazing guide. Thanks a lot...
Moderator Comment: Links to paid apps/warez not allowed. Thread closed.

force close apps at once

hello.
i have so many apps installed and i don't use lots of them much So i force close them.i used to use hold back button to force close on other roms.but on oos there isn't this option.
now i am searching for an app that can force close a list of apps at once when i tap.
is there any app like this or am wasting time searching ?
my phone is rooted ( with supersu ).on open beta 6 and franco kernel.
thank you.:fingers-crossed:
Use Greenify App
vip57 said:
Use Greenify App
Click to expand...
Click to collapse
it doesn't conflict with nougat doze mode or make any problems ? i have root.
i have to forbid access root to greenify ?
Rhodesgod said:
it doesn't conflict with nougat doze mode or make any problems ? i have root.
i have to forbid access root to greenify ?
Click to expand...
Click to collapse
No greenify doesn't conflict with it the opposite it is made to be comptabile with doze mode
You have to grant access to greenify to use it properly
And greenify the apps that you see that they must not work in background
Will greenify conflict with nap time?
sakumaxp said:
Will greenify conflict with nap time?
Click to expand...
Click to collapse
I think You can use both but the 2 apps have options for aggressive doze you can't enable it in the two apps
You can configure aggressive doze with naptime
And hibernate apps with greenify
Why would you want to do this in the first place? OOS handles it just fine by itself. No need to constantly force close apps...
You have 6GB of ram, force closing apps will only cause the OS to cache all the apps again eating CPU and I/o resources. If you really need more juice I know greenify has a "shallow hibernation" mode that keeps apps in memory but stops apps background activity. I have never needed these apps with this phone as android is getting better with background tasks.
i used greenify,
set on " No root " and it force close list of apps just with one click.
thank you.
Alternatively, you can go to Settings>Advanced>Recent App Management and select "Deep Clear". It may seem like a bit much at first due to its very aggressive behavior but once you get the hang of it, it just might become your native app killer and best friend !
And if you really look into it or if you use it complementarily with others apps (SDMaid, NapTime, ...) You can manage to work around its (sometimes) annoying effects (like forcing to relaunch an app after a Deep Clear) or even make it event more efficient by preventing the killed app to launch again (bootflags and broadcast receivers for instance)!
I believe that apps should complete or expand your OS, but (almost) never substitute for your OS

Categories

Resources