Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

2 votes
2 answers
1767 views
How do I ensure a few specific apps are always running? If not, launch each application
I am looking for an app or a way to ensure specific apps are always running in the background/foreground all the time. The apps in question do run as a foreground service. If they are stopped for any reason, they will be started again by the app or process. Does the app called "Tasker" have a capabi...
I am looking for an app or a way to ensure specific apps are always running in the background/foreground all the time. The apps in question do run as a foreground service. If they are stopped for any reason, they will be started again by the app or process. Does the app called "Tasker" have a capability like this?
Hossain Khan (266 rep)
Jan 28, 2024, 09:14 PM • Last activity: Jul 22, 2025, 10:58 AM
41 votes
2 answers
263076 views
Open an app on startup/after booting
I need to force a selected application to start up each time my Android-based device is (re)started. Is there anything I can use (configuration setting, external application etc.) to accomplish this task? Or is this kind of behavior limited to home screen managers only?
I need to force a selected application to start up each time my Android-based device is (re)started. Is there anything I can use (configuration setting, external application etc.) to accomplish this task? Or is this kind of behavior limited to home screen managers only?
trejder (2633 rep)
Feb 9, 2015, 07:20 AM • Last activity: Jun 12, 2025, 01:06 PM
1 votes
1 answers
705 views
How to enable auto-start permission for an app on a Samsung phone?
I've been using Every Proxy on my Samsung Galaxy S23 for a year with no problem, but today, it can't start the server and says that I must enable auto-start permission for Every Proxy Network Bridge. It says that it can be found in "Settings -> Manage Apps -> Permission -> Autostart", but there is n...
I've been using Every Proxy on my Samsung Galaxy S23 for a year with no problem, but today, it can't start the server and says that I must enable auto-start permission for Every Proxy Network Bridge. It says that it can be found in "Settings -> Manage Apps -> Permission -> Autostart", but there is no such submenu; I guess that the instructions are outdated. There is only "Settings -> Apps -> Network bridge -> Permissions" menu, and there is nothing about autostart or anything that I could change. Restarting the phone didn't help. I tried this , this , and this YouTube videos on enabling autostart, but again - it seems outdated. There are no menus like this and there is no "auto launch" settings. I found "Settings -> Apps -> Network bridge -> Battery" menu and set it to unrestricted - it didn't help. I found the never sleeping apps menu, but there is no Every Proxy app in the list, I guess it never sleeps anyway, and in any case I've been using it all the time, so there is no reason for it to sleep. How to enable auto-start permission on S23? P.S. I did try to clear cache and data and even to reinstall both Every Proxy and Every Proxy Bridge completely. enter image description here enter image description here enter image description here
klm123 (133 rep)
Mar 15, 2025, 10:27 AM • Last activity: Mar 23, 2025, 05:54 PM
2 votes
2 answers
3216 views
Apps will not auto start on Android 9.0 Pie
I bought a cheap Blackview BV5900 running on Android 9.0 (I assume a custom ROM) as I needed something rugged and with long battery life for testing purposes. I'm struggling to find any answers as to why apps won't auto start when they are supposed to. The app in question primarily is Grandstream Wa...
I bought a cheap Blackview BV5900 running on Android 9.0 (I assume a custom ROM) as I needed something rugged and with long battery life for testing purposes. I'm struggling to find any answers as to why apps won't auto start when they are supposed to. The app in question primarily is Grandstream Wave - Video which is effectively a SIP client. It auto starts just fine on an old Samsung Galaxy V6. I've tried various auto-start apps to see if I could get around it, but it would seem they fail to load as well on boot, so they don't do the task they are intended to perform. I've been in contact with the manufacturer and their answer is it just won't do it. As it's a test phone I'm quite happy to root it, although I'm completely new to Android, I'm sure I'll find enough info to get started with a bit of googling. What I'm after is a bit of help on what to look for and how to find it. From what I gather, the app is looking for a BOOT_COMPLETE message of some sort, so I'm guessing that is disabled somewhere? Any answers, please assume I know nothing, you will be correct. **EDIT 11May2020** Tried the shell command as requested [here](https://android.stackexchange.com/a/224547/322004) - no Joy. Result from shell below. Not sure whether this just means I don't have enough privilege to run it or it's disabled in some way?
Broadcasting: Intent { act=android.intent.action.BOOT_COMPLETED flg=0x400000 pkg=com.grandstream.wave }
Security exception: Permission Denial: not allowed to send broadcast android.intent.action.BOOT_COMPLETED from pid=5834, uid=2000

java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.BOOT_COMPLETED from pid=5834, uid=2000
    at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:21774)
    at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:22411)
    at com.android.server.am.ActivityManagerShellCommand.runSendBroadcast(ActivityManagerShellCommand.java:690)
    at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:174)
    at android.os.ShellCommand.exec(ShellCommand.java:103)
    at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:16434)
    at android.os.Binder.shellCommand(Binder.java:634) at android.os.Binder.onTransact(Binder.java:532)
    at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3551)
    at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3397)
    at android.os.Binder.execTransact(Binder.java:731)
user258282 (21 rep)
Apr 29, 2020, 05:50 PM • Last activity: Feb 9, 2025, 09:01 AM
0 votes
0 answers
307 views
Apps not auto starting on Nokia G42 5G
I've been using the Synology Drive app to sync folders between several PC's and Android phones. I recently got a new Nokia G42 5G (Android 14), which needs the same folders syncing. However, on the Nokia, the Synology Drive app would be flaky with syncing, having to manually open the app and run the...
I've been using the Synology Drive app to sync folders between several PC's and Android phones. I recently got a new Nokia G42 5G (Android 14), which needs the same folders syncing. However, on the Nokia, the Synology Drive app would be flaky with syncing, having to manually open the app and run the sync tasks, which should run automatically. I got fed up with this and moved to Syncthing instead, only to find it has the same problem. Syncthing has an option to 'start service automatically on boot', which the Nokia simply ignores. Opening the Syncthing app manually immediately causes the sync tasks to run. I can't see any power settings on the Nokia that might be preventing the app from running. I've also tried a third-party app 'Boot Apps' to run Syncthing on startup, which hasn't worked. This does not occur on my Samsung A22 5G. Both of these apps run happily in the background and I never have to touch anything. I've come to the conclusion that 'auto start' is broken on the Nokia, it would explain why both Synology Drive and Syncthing don't work without manual intervention. Any ideas as to why the Nokia is unable to start apps at startup?
Kyronn94 (1 rep)
Feb 20, 2024, 09:08 PM • Last activity: Feb 23, 2024, 03:05 PM
0 votes
0 answers
127 views
Launch SRT stream via Larix Player automatically on boot
Is it possible somehow to open an SRT stream in the Larix Player app automatically? I'd like to use the method to be triggered via the launch on boot-up. So far, I can only open the Larix player app automatically after booting, but have to select the saved stream and play it.
Is it possible somehow to open an SRT stream in the Larix Player app automatically? I'd like to use the method to be triggered via the launch on boot-up. So far, I can only open the Larix player app automatically after booting, but have to select the saved stream and play it.
Markus (101 rep)
Jul 14, 2023, 11:34 PM • Last activity: Jul 15, 2023, 04:54 AM
0 votes
0 answers
249 views
Prevent Spotify from starting when phone boots with AppOps
I have an LG G7 One (not rooted) and I've been having ongoing issues with Spotify moving my downloads from my SD card to internal storage every time my phone reboots. I've done lots of research into it and it seems like the source of the problem is that Spotify starts up when the phone reboots but b...
I have an LG G7 One (not rooted) and I've been having ongoing issues with Spotify moving my downloads from my SD card to internal storage every time my phone reboots. I've done lots of research into it and it seems like the source of the problem is that Spotify starts up when the phone reboots but before the SD card has been detected by my phone, so Spotify thinks to move all downloads to internal storage. Some workarounds I've read about: - Moving Spotify to SD card through developer options - I can enable this option on developer options, but there's no option to actually move any of my apps to my sd card - Force phone to ask for PIN before phone boots up (to give time to detect SD card) - no option to do this on my phone - Prevent Spotify from starting at boot - the only way I've seen online that I can do this is the non-root solution mentioned here https://android.stackexchange.com/questions/209327/disable-autostart-on-boot-and-restrict-background-execution . I got to the step where AppOps is downloaded but I can't understand the steps from the link to deny the BOOT_COMPLETED permission. I have a Mac and followed the steps here https://www.xda-developers.com/install-adb-windows-macos-linux/ to set up ADB. I tried typing in the command ~$ appops set com.spotify.music BOOT_COMPLETED deny but it says the command isn't recognized. Sorry for the beginner question, I'm probably making a very simple mistake (it's my first time using ADB)! Thank you for reading and for your help! My internal storage is full even though all I have on it are essential apps and system files, while my SD card has tons of space - very frustrating :(
chelsea888 (1 rep)
May 12, 2023, 07:54 PM • Last activity: May 13, 2023, 05:00 AM
4 votes
2 answers
11564 views
Find a list of all apps that launch at boot time
I am using Android 5.1.1 (EDIT: 6.0.1 now) in a Samsung J7. I want to get a list of apps that launch at boot time 1 . **What are the alternative clear ways of identifying such list? (preferably native from Android)** I could not find anything native. I did find other options/posts, but I am not sure...
I am using Android 5.1.1 (EDIT: 6.0.1 now) in a Samsung J7. I want to get a list of apps that launch at boot time1. **What are the alternative clear ways of identifying such list? (preferably native from Android)** I could not find anything native. I did find other options/posts, but I am not sure how certain were the posters about the methods, with contradicting info, so I explicitly ask: 1. This answer gives Android Assistant as an option. I installed it, and checked *Monitoring* -> *Startup Manager* It shows two tabs (*User*, *System*) with lists of apps2. The two lists total 41+83=124 apps. AirDroid , AlarmReceiver (I could not identify this app) and Maps.Me are in the first list, e.g. There is no mention to any permission. This *would* do the job. 2. This answer suggests checking the list of apps that have RECEIVE_BOOT_COMPLETED permission, among the list of 138 permissions . This would list apps that *are able to* launch at startup (although not necessarily doing so?). Permission Explorer shows 151 apps with this permission. aSpotCat shows 68 apps with this permission. App Permission Watcher shows 48 apps that can “run at startup” without specifically quoting the name of the permission; for instance, this does not list Skype, which shows up in the other two. This might be checking User apps, but then 4841, and AirDroid or Maps.Me are not in here. Permission Friendly Apps also shows 48 apps that can run at startup3; it does not list Skype. So at this point, I do not know which is a sure way, and what is each app checking... 1 At this point, I do not mean to modify the startup list, but only check it. 2 Moreover, there is a checkbox for each app to *Select ítems to kill on startup*. 3 I did not check if these are all the same as App Permission Watcher.
sancho.s ReinstateMonicaCellio (887 rep)
Feb 28, 2017, 11:02 AM • Last activity: Feb 21, 2023, 01:46 PM
0 votes
0 answers
66 views
How to know apps which boots with system using commands in Android terminal?
I need commands for Android 4-6. How to know via Android terminal and command which apps loading on the system's start? While I tried 2nd command from [here][1]. [1]: https://android.stackexchange.com/a/217212/386406
I need commands for Android 4-6. How to know via Android terminal and command which apps loading on the system's start? While I tried 2nd command from here .
Paul K. (11 rep)
Feb 19, 2023, 01:52 PM • Last activity: Feb 20, 2023, 04:17 PM
69 votes
2 answers
305916 views
How can I stop applications and services from running?
When my phone starts up there are several application/services running in the background that I would rather not. And when I press the Home button while using an app, that app usually goes into the background without exiting. How can I stop these apps from running?
When my phone starts up there are several application/services running in the background that I would rather not. And when I press the Home button while using an app, that app usually goes into the background without exiting. How can I stop these apps from running?
Matthew Read (50797 rep)
Oct 3, 2012, 11:09 PM • Last activity: Aug 31, 2022, 11:39 AM
0 votes
0 answers
60 views
How do I disable auto-start in Android 11?
How can the program auto-start be controlled in Android 11? I am using a Celero5G phone running the latest version of Android 11. I have been unable to find any help on this matter.
How can the program auto-start be controlled in Android 11? I am using a Celero5G phone running the latest version of Android 11. I have been unable to find any help on this matter.
RaSullivan (101 rep)
Dec 14, 2021, 10:59 PM • Last activity: Dec 15, 2021, 03:00 AM
2 votes
1 answers
20174 views
How to run an app on startup in background
How to run an app on startup in background? For example glasswire, kaspersky run in startup, as well as show in top In notification bar tray. I want to run Gom audio in background when start up & show up in tray automatically.
How to run an app on startup in background? For example glasswire, kaspersky run in startup, as well as show in top In notification bar tray. I want to run Gom audio in background when start up & show up in tray automatically.
user165850 (121 rep)
May 29, 2018, 03:26 PM • Last activity: Sep 5, 2021, 05:14 PM
1 votes
0 answers
69 views
where is configured how an app will auto restart?
For ex, i know several apps that i have stopped will auto restart exactly at 00:00h everyday, making it lag horribly or even crash any game i am playing, what severily degrades my android realm user experience. Others will instantly restart like the nosy weather app. Others start when wifi connects,...
For ex, i know several apps that i have stopped will auto restart exactly at 00:00h everyday, making it lag horribly or even crash any game i am playing, what severily degrades my android realm user experience. Others will instantly restart like the nosy weather app. Others start when wifi connects, when the screen still locked wakes up, like watzap and gmail. but Others i cant guess, like the useless email server (as i use gmail app), or chrome, and a few others. I could still try to uninstall a few of these, but others are really useful and i dont want to. If there could have a way to tweak this auto-android-messing feature, so that it could be suspended while i play games, my android realm user experience could greately improve and i would be happier again. Any tips? Android 6.0.1 sm-j700m
VeganEye (173 rep)
Jun 16, 2021, 07:33 PM • Last activity: Jun 21, 2021, 03:06 AM
2 votes
0 answers
1468 views
Lineage boot on power script
I've installed Lineage on a Samsung tab s2 which I use in the car. I've added the following to get it to auto start when it goes on charge # /system/etc/init/off_mode_charge.rc on charger setprop sys.powerctl reboot,leaving-off-mode-charging But does anyone know a way to add a script to the startup...
I've installed Lineage on a Samsung tab s2 which I use in the car. I've added the following to get it to auto start when it goes on charge # /system/etc/init/off_mode_charge.rc on charger setprop sys.powerctl reboot,leaving-off-mode-charging But does anyone know a way to add a script to the startup routine so if the battery is below say 10% it won't continue starting? I use tasker to power off the tablet when the usb power drops but there have been a couple of times for some reason it doesn't, meaning the battery can drop to 0% and then it goes into a restart loop as the low power supply in the car isn't enough during startup. I can read the power using the capacity file in /sys/class/power_supply/battery/ just not sure how, or if, I can add a script to the startup sequence to use this. Thanks
smokinimages (21 rep)
Jun 5, 2021, 08:07 AM
0 votes
1 answers
2256 views
Start bash script on boot not rooted Android 7.0 and Android 9.0 device
I currently do it manually each time after my phone is restarted. I connect using adb and running this ``` adb shell sh /sdcard/AFolder/ascript.sh "a-dummy-argument" & ``` Then I just disconnect the cable and script continue working. How I can achieve the same thing on non rooted Android 7.0 and And...
I currently do it manually each time after my phone is restarted. I connect using adb and running this
adb shell sh /sdcard/AFolder/ascript.sh "a-dummy-argument" &
Then I just disconnect the cable and script continue working. How I can achieve the same thing on non rooted Android 7.0 and Android 9.0 devices(I have 2 and I would like to do this on both)? I would like to avoid rooting. From what I was reading it can not be done without rooting. My question is, would it be possible to install TWRP, backup stock ROM, modify stock ROM so that it would have an additional file ascript.sh (or run it from sd card) which will be started at startup. Then flash this modified ROM, to avoid doing this manually. Is this possible? Note: adb via tcp I believe is not an option as to make adb work via tcp on non rooted device after each reboot we need to connect the device to PC first to switch to tcpip, so we back to the task how to avoid after reboot connecting phone to PC.
user1325696 (101 rep)
Feb 7, 2020, 04:34 AM • Last activity: Jan 19, 2021, 09:44 AM
0 votes
0 answers
192 views
Is there any options to Boot Android device on connecting to power supply without root?
I wish to know if there is any options to boot android device automatically on connecting to power supply. i am not considering **rooting options** as i was planning for production application. I have tried to enter into fastbood mode without much success .. trying on samsung galaxy tab A. [![enter...
I wish to know if there is any options to boot android device automatically on connecting to power supply. i am not considering **rooting options** as i was planning for production application. I have tried to enter into fastbood mode without much success .. trying on samsung galaxy tab A. enter image description here
tomtom (101 rep)
Dec 10, 2020, 10:11 AM • Last activity: Dec 10, 2020, 01:02 PM
0 votes
1 answers
817 views
How to autostart WiFi and an app on (re)boot
I would like to have WiFi, and an app (CSipSimple SIP client), start automatically when the phone is (re)booted. It is running Android 2.3.4, not rooted, and in airplane mode. Is this possible?
I would like to have WiFi, and an app (CSipSimple SIP client), start automatically when the phone is (re)booted. It is running Android 2.3.4, not rooted, and in airplane mode. Is this possible?
adatum (123 rep)
Nov 17, 2020, 07:51 PM • Last activity: Nov 19, 2020, 09:09 PM
0 votes
2 answers
3658 views
Suppress "autoplay" when external USB drive connected
On some phones, when an external USB drive is connected to the phone, there is sort of an autoplay function where it automatically brings up the "My Files" screen. Is there a way to suppress this? This occurs on my Note 2 with Android version 4.1.2, but not on my Note 1 with version 4.0.4. Just to b...
On some phones, when an external USB drive is connected to the phone, there is sort of an autoplay function where it automatically brings up the "My Files" screen. Is there a way to suppress this? This occurs on my Note 2 with Android version 4.1.2, but not on my Note 1 with version 4.0.4. Just to be clear, I want the drive to automatically mount in the background as usual, but just not bring up the "My Files" screen. I have an app that expects a USB drive to be plugged in and searches for specific file types and this behavior is annoying because it takes the screen away from my app.
andreiscv (11 rep)
Oct 15, 2013, 11:49 PM • Last activity: Oct 16, 2020, 04:08 PM
6 votes
2 answers
26793 views
Disable autostart on boot and restrict background execution
Is there any way to disable autostart apps at boot time? I need to disable some of them (not all) like Facebook, etc to get quicker boot time. I'm asking how to do this on Android 9.0.
Is there any way to disable autostart apps at boot time? I need to disable some of them (not all) like Facebook, etc to get quicker boot time. I'm asking how to do this on Android 9.0.
QkiZ (281 rep)
Mar 22, 2019, 04:15 PM • Last activity: Feb 29, 2020, 06:15 PM
2 votes
0 answers
159 views
Why are apps given the right to run whenever they want even when they keep the phone awake?
This question is quite related to (and could end up being closed as a duplicate of): https://android.stackexchange.com/questions/30332/how-can-i-stop-applications-and-services-from-running I would probably just comment there to get clarification on the answer given but I don't have enough reputation...
This question is quite related to (and could end up being closed as a duplicate of): https://android.stackexchange.com/questions/30332/how-can-i-stop-applications-and-services-from-running I would probably just comment there to get clarification on the answer given but I don't have enough reputation to add comments and I have additional questions, not another answer, so adding an answer to the above seems inappropriate, so the only option I have it so ask a new question. Hopefully I am not committing too serious of a sin expanding on the above here in a new question. So I understand that task killers are bad and completely buy into the concept that Android itself is in the best position to allocate resources, killing apps to make room in memory for newly opened apps, etc. I (think I) also understand the concept of Intents and how they can activate an app so simply preventing them from starting at boot isn't enough to prevent apps from magically appearing in the "running" list (and potentially causing battery consumption). But my phone (Huawei Honor 8, still running Nougat, not Oreo) has a feature where it will tell me about "Power-intensive apps" and lists apps that it deems are causing (excessive) battery consumption. Along with the apps in the list, it provides a short explanation of why it thinks it's "power intensive" such as "High location frequency" or "Frequently wake up system" or "Keep awake", etc. Surely apps running in the background, that I didn't even start (and have even previously closed but have restarted themselves) and are guilty of one of the above ("High location frequency" or "Frequently wake up system" or "Keep awake") are causing excessive battery use, no? Wouldn't "Frequently wake up system" or "Keep awake" at least prevent Doze from kicking in, unnecessarily consuming battery? And to be clear, these are apps that I have not used (i.e. opened in the foreground) since I booted the phone and are not likely apps that I feel need to be notified of any Intents. They are apps that I couldn't care less about until and unless I specifically open them to use them. They shouldn't be trying to "collect" information in the background since whatever collection they are doing is not useful to me. These are not social media or messaging apps that I am interested in having information presented to me unsolicited. To call one of them out specifically, Spotify is currently running with the "Keep awake" permission. I am not listening to any music. There is no need for Spotify to be trying to keep my phone awake. I can "close" (kill) it but it will most definitely be running again at some point without me having opened it to listen to music, presumably woken up by an Intent. Why can't we users be in charge of when apps are allowed to be awoken to run, particularly when they do things like "Keep awake", without having root our phone and install something like LineageOS that let's actually control permissions such as Keep Awake, etc. with it's PrivacyGuard (i.e. AppOps)? Yes, it's well understood that Huawei have a history of being overly aggressive with killing apps to try to preserve battery but that seems to be relaxed in their Nougat ROM (as the above linked article even confirms) as they now seem to have a whitelist of apps you want to be closed when the screen lock is activated and nothing is in the whitelist by default. But that aside, my observations here aren't about apps being closed or killed, etc. but simply that Huawei's OS is flagging apps that are exhibiting behaviours that would appear to be affecting battery life and even moreso even just making me aware of apps that are waking up and being run in the background, exhibiting bad battery life behaviours when I didn't even start using them or won't have any interest in using any time soon and so whatever they are doing in the background (data mining no doubt), I am uninterested. So ultimately, I want to be in control of what gets to start in the background. App Ops - Permission manager seems to be an app to manage AppOps, but unfortunately it looks cumbersome to use. It requires one execute adb commands to start yet some other app every time you reboot your phone, etc. Users having more control over what apps can start based on which Intents and when should be a lot easier than this.
Brian (41 rep)
Oct 29, 2018, 04:53 PM • Last activity: Feb 10, 2020, 12:45 PM
Showing page 1 of 20 total questions