I'm using ADB and have full access to the filesystem.
I run ps and see a process running called com.Something.Service. I can kill the process but it restarts most of the time.
It's not a visible app, it's some kind of background service.
I want to stop it from running on startup.
I can't find the setting that causes it to run on startup. What file determines which processes like these run on startup or how can I find it?
I've tried grepping some common directories for the name of the service. I'd hope to find it in /etc/init.d but it's not there.
system_serverprocess) and native services (managed byinit), all three have different behaviors. Please narrow down the scope of your question mentioning what exactly you want to achieve. – Irfan Latif Feb 08 '20 at 13:18/etc/init/*.rcfiles control native services behavior, not the processes running as virtual machines under Zygote. – Irfan Latif Feb 08 '20 at 13:28