apps autostarting despite lacking boot_completed - General Questions and Answers

I recently moved to rooted android 11 (pixel 4A) from jailbroken iOS so I'm very new to Android.
I've read through googling that disabling RECEIVE_BOOT_COMPLETED permissions will stop the apps from autostarting but whilst this stops a good proportion of apps, a number of apps such as Termux are still getting through. Some apps don't even have RECEIVE_BOOT_COMPLETED but they're still able to start. I have disabled app syncing on my device. I've tried multiple apps such as Task Manager and SD maid and this small proportion of apps are still autostarting.
Does anyone have any clues as to how to fix it?

If an app doesn't listen to BOOT_COMPLETED broadcast then it doesn't care about this event.

jwoegerbauer said:
If an app doesn't listen to BOOT_COMPLETED broadcast then it doesn't care about this event.
Click to expand...
Click to collapse
Hmm, so maybe there's some kind of service running after the boot that starts it? Or some kind of delayed boot? I thought it might have been due to sync reopening apps or something but when I disabled that it still kept showing up. And those apps aren't listed in the Services part of the Developer Services either...

ok I figured it out, my pixel remembers what apps I have open before a reboot and reloads them afterwards. so remove all apps from the memory before rebooting and nothing will be remembered

Related

reducing memory usage in Android

I'd like to share tips and get help on how to reduce memory usage in Android. Maybe we can start a wiki page somewhere for this.
I've found that getting more free memory on my Android phone (G1) makes the phone much faster, especially when switching between apps.
I'd tried CompCache, but found it made little difference. I tried a swap partition, but found it made my phone unstable.
So here's my process for identifying memory hogs under CyanogenMod: connect the phone via USB, run 'adb shell', and then 'top -m 15 -s rss -d 10'. I then use the phone for a while, switching between some large apps like the browser and Google Maps, and observe which processes are staying in memory. Note that the USB debugger itself uses some memory.
I was able to get rid of some apps that were staying in memory for no apparent reason: Callbook.
I was able to get rid of some apps that were staying in memory and I didn't really need: 3G Watchdog, NetCounter
I was able to change settings in some apps so that they wouldn't stay in memory all the time: disable notifications in CyanogenMod Updater; disable 'start service on power on' in Quick Calendar
I was able to find some alternative apps that don't stay in memory all the time: now using Mode Scheduler and Timeriffic instead of Sound Manager
I'm still experimenting with different calendar widgets to see which one uses the least memory.
I noticed that the Calendar app was staying in memory. I'm not sure, but I think that disabling gmail/contacts/calendar sync fixed that. Disabling sync makes the phone faster anyway, though I then want some alternative mechanism to make sure that the phone syncs at least once a day. I've been using WiSyncPlus, set to turn on WiFi on charging, and force sync on WiFi connection. That works, though WiSyncPlus uses 15 MB or so itself. If Timeriffic or some other timer-based program that doesn't stay in memory had the ability to do a force sync, I'd prefer that.
After all that, things were greatly improved: I could keep a couple of large apps like eBuddy and the Browser in memory at the same time.
Since then I've wiped my phone and upgraded from CyanogenMod 4.2.13 to 4.2.15.1, and replicated my apps and settings as best I could remember.
I still have some large apps that seem to stay in memory:
* system_server
* android.process.acore
* com.android.phone
* com.android.inputmethod.latin
* zygote
* com.google.process.gapps
I don't recall if all of these apps were staying in memory under 4.2.13. No doubt at least some of these are necessary. (acore)
Are there any settings I can change or apps I can uninstall to stop these processes from staying in memory all the time? I don't use my phone as a phone very much; I'd be happy to get the phone app out of memory. What does gapps do? I don't need my gmail, contacts, and calendar to sync constantly. I've tried disabled the wireless network location service, but that doesn't seem to have made any difference.
Under which process does the memory usage for a widget go? I'm not seeing a separate process for some of my widgets.
balazer said:
I'd like to share tips and get help on how to reduce memory usage in Android. Maybe we can start a wiki page somewhere for this.
I've found that getting more free memory on my Android phone (G1) makes the phone much faster, especially when switching between apps.
I'd tried CompCache, but found it made little difference. I tried a swap partition, but found it made my phone unstable.
So here's my process for identifying memory hogs under CyanogenMod: connect the phone via USB, run 'adb shell', and then 'top -m 15 -s rss -d 10'. I then use the phone for a while, switching between some large apps like the browser and Google Maps, and observe which processes are staying in memory. Note that the USB debugger itself uses some memory.
I was able to get rid of some apps that were staying in memory for no apparent reason: Callbook.
I was able to get rid of some apps that were staying in memory and I didn't really need: 3G Watchdog, NetCounter
I was able to change settings in some apps so that they wouldn't stay in memory all the time: disable notifications in CyanogenMod Updater; disable 'start service on power on' in Quick Calendar
I was able to find some alternative apps that don't stay in memory all the time: now using Mode Scheduler and Timeriffic instead of Sound Manager
I'm still experimenting with different calendar widgets to see which one uses the least memory.
I noticed that the Calendar app was staying in memory. I'm not sure, but I think that disabling gmail/contacts/calendar sync fixed that. Disabling sync makes the phone faster anyway, though I then want some alternative mechanism to make sure that the phone syncs at least once a day. I've been using WiSyncPlus, set to turn on WiFi on charging, and force sync on WiFi connection. That works, though WiSyncPlus uses 15 MB or so itself. If Timeriffic or some other timer-based program that doesn't stay in memory had the ability to do a force sync, I'd prefer that.
After all that, things were greatly improved: I could keep a couple of large apps like eBuddy and the Browser in memory at the same time.
Since then I've wiped my phone and upgraded from CyanogenMod 4.2.13 to 4.2.15.1, and replicated my apps and settings as best I could remember.
I still have some large apps that seem to stay in memory:
* system_server
* android.process.acore
* com.android.phone
* com.android.inputmethod.latin
* zygote
* com.google.process.gapps
I don't recall if all of these apps were staying in memory under 4.2.13. No doubt at least some of these are necessary. (acore)
Are there any settings I can change or apps I can uninstall to stop these processes from staying in memory all the time? I don't use my phone as a phone very much; I'd be happy to get the phone app out of memory. What does gapps do? I don't need my gmail, contacts, and calendar to sync constantly. I've tried disabled the wireless network location service, but that doesn't seem to have made any difference.
Under which process does the memory usage for a widget go? I'm not seeing a separate process for some of my widgets.
Click to expand...
Click to collapse
I realize this is a little late to the party, but thank you for using and suggesting Timeriffic. We work hard on it and it's nice to know that people use it and love it.

Disabling System apps, then they eventually enable on their own.

I'm on OG9, very unhappy about not being able to root. I disabled as many system apps as possible using application manager. Within a couple hours every single app started automatically downloading and updating from the play store. I have automatic updates turned off. This has happened at least 5 times.
Is it possible for Verizon to do this or what else could be remotely controlling my phone? And no, it's not my imagination.

Irremovable System App Virus

Recently, in my phone (LYF Water 4) started ads popping out of nowhere. They were whole screen ads with just a small cross button on top left to close them.Clicking them just redirected to google play store.
I thought this was an adware hence installed all the anti-adware available on play store. None worked hence I had reset my phone using backup and reset as I have read in many other posts. Didn't work .
The ads kept coming in and since it was bearable I ignored them for a while but then suddenly some other programs are automatically downloaded on my phone and prompting me to install I keep cancelling them but they keep coming.
Then I read a post about adware that roots your phone to make itself system app, so i rooted my phone using king root and uninstalled any program that was useless like all bloatware and other system apps, none worked so I thought of again resetting my phone.
This time since king root was a system app it blocked a unknown program named "ADB program" and set it to deny root access. Thankfully I do not have those ad popups anymore but the auto downloading of things didn't go. Apps download in background and then prompt comes to install them.
So I checked the the data usage and a app called Mobile Services nowhere to be found on my mobile apps even with kingroot used 150 Mb of data so i blocked it,installed ccleaner and it found 2 non installed apk's in my phone which i deleted, they were located in android/data/some random number like 15464/......apk.
I deleted them, and blocked Mobile Services by restrict background data, still the problem was not solved. I installed several antivirus like Malwarebytes Anti-malware and all detected my phone camera as malware. SnapdragonCamera.apk
So I checked the battery and data usage and yes camera was in third spot in both hence I uninstalled camera app using kingroot, blocked background services, forced stop, cleared data and cache still no solution, I apps are silently downloaded so is there any hope. Thanks for any kind of help in advance
Parthr115 said:
Recently, in my phone (LYF Water 4) started ads popping out of nowhere. They were whole screen ads with just a small cross button on top left to close them.Clicking them just redirected to google play store.
I thought this was an adware hence installed all the anti-adware available on play store. None worked hence I had reset my phone using backup and reset as I have read in many other posts. Didn't work .
The ads kept coming in and since it was bearable I ignored them for a while but then suddenly some other programs are automatically downloaded on my phone and prompting me to install I keep cancelling them but they keep coming.
Then I read a post about adware that roots your phone to make itself system app, so i rooted my phone using king root and uninstalled any program that was useless like all bloatware and other system apps, none worked so I thought of again resetting my phone.
This time since king root was a system app it blocked a unknown program named "ADB program" and set it to deny root access. Thankfully I do not have those ad popups anymore but the auto downloading of things didn't go. Apps download in background and then prompt comes to install them.
So I checked the the data usage and a app called Mobile Services nowhere to be found on my mobile apps even with kingroot used 150 Mb of data so i blocked it,installed ccleaner and it found 2 non installed apk's in my phone which i deleted, they were located in android/data/some random number like 15464/......apk.
I deleted them, and blocked Mobile Services by restrict background data, still the problem was not solved. I installed several antivirus like Malwarebytes Anti-malware and all detected my phone camera as malware. SnapdragonCamera.apk
So I checked the battery and data usage and yes camera was in third spot in both hence I uninstalled camera app using kingroot, blocked background services, forced stop, cleared data and cache still no solution, I apps are silently downloaded so is there any hope. Thanks for any kind of help in advance
Click to expand...
Click to collapse
Same thing is happening in my phone but its more updated with scam messages
What the hell am i supposed to do?:crying:

Google deleting my Apps from my device?

I sometimes write apps and install them to my devices.
Lately I've noticed that the apps seem to disappear.
I have turned off GOOGLE PLAY store scanning of external Apps - and it still seems to happen. It doesn't happen if I DISABLE GOOGLE PLAY and GOOGLE FRAMEWORK, but as I need them to have my apps connect to Google - I am forced to turn them on from time to time.... thus ending in apps being deleted.
Anyone come across this before?
Strange, my phone never uninstalls any apps. Although one of my cheap crappy phones kept deleting specific apps on reboot and deleting files, never figured out why.
Anyway, it shouldn't be happening, try resetting your phone and see if it still happens.

Apps don't show notifications until opened and can't get started by other applications

Dear XDA Forum!
first: yes i used the search function although i couldn't find a thread which addresses my issue in general, also i tried a few of the fixes regarding the notifications although it didn't solve my problem.
Phone: Doogee S88 Plus
OS: Android 10
I received this phone a while back and i'm pretty happy about it, although i noticed a very strange behaviour regarding nearly all apps.
Apperantly, every app that isn't a foreground app, will get killed or at least will not send notifications until they are opened which, you sure can think, is damn annoying.
Also, apps won't start with Android Auto, except Google Apps like News, calendar, maps and such. Spotify, Audible and every "external" apps will refuse to start on android auto until i open them manually on the phone, then they will show up on my car as well.
i checked the installed software and noticed a preinstalled energy saving app (which is funny with an 10Ah battery but well ) called com.cydroid.softmanager
Thinking this could be an issue i uninstalled/deactivated the app via ADB, although it didn't get better in any form.
And yes, of course i checked the battery optimization which is turned off for the usual apps which send notifications like Signal, Threema, Outlook, Authenticator and such
As i use Signal as my SMS/MMS app, i can say that i will not receive SMS/MMS notifications as well, i will receive them if i use the standard SMS app Messages though.
Also notifications in general are activated.
Maybe it has something to do with Doze? I'm currently at my wit's end.
I already thought about rooting the device, although it doesnt seems like that there is any rom out there for it, it has the option for OEM Bootloader unlock in the dev options though, but to be honest it's been a long while since i rooted android devices except from Samsung.
Hopefully you guys can help me!
Kind regards
**edit**
also i think it has to do with the background apps in general since foreground apps like my VPN (Cyberghost) will keep running without issues
also i noticed if i restart the phone all the apps will start correctly in the background, so it seems, since i'll get the notifications immediately

Categories

Resources