The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [services]

Service is a background process in Android, not to be confused with *nix daemons or Windows services

Filter by
Sorted by
Tagged with
65
votes
1answer
301k 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 ...
16
votes
1answer
3k views

SSH (and SFTP) server on Android discoverable through avahi/bonjour

I would like for my Android device (a Samsung Galaxy) to be discoverable through avahi/bonjour when it is connected to a WiFi network, and then to be able to access its filesystem via SSH (SFTP). For ...
14
votes
1answer
27k views

What's the difference between a service and a broadcast receiver?

I keep hearing about services and broadcast receivers. What's the difference between them, and how do they affect the operation of my Android phone from my point of view?
11
votes
3answers
8k views

Where to find description of all “/system/bin/service” calls?

In one answer I was adviced to use service call phone 2 s16 "$number". It works, but in service list I see other useful things I don't know how to use and can't easily find the information on the ...
11
votes
1answer
35k views

How can I find out what app is using my GPS from the background? [duplicate]

Possible Duplicate: How to check which app uses GPS on Galaxy Nexus? I saw the location icon at the top while on the home screen of my Galaxy Nexus. There were only two running apps and I cleared ...
10
votes
2answers
3k views

How can I prevent services from running in the background? [duplicate]

Possible Duplicate: How can I stop applications and services from running? Is there a way to prevent the service apps (or any other apps) from automatically running in the background?
8
votes
1answer
16k views

Is there NTP like time syncing for non rooted phone?

I need from time to time sync clock on android phone from internet. Traditional way on non mobile devices is to use NTP servers and daemon. To run NTP daemon and automatically set time on android ...
8
votes
1answer
5k views

Difference between killing an app by clearing it from Recent Apps menu and “Force Stop”

What is the difference between these two methods when killing apps in Android? Clearing an app from the Recent Apps menu by swiping it to the right or left. Settings → App → Running → ...
8
votes
1answer
2k views

How can I prevent my Wi-Fi connection from glitching?

Occassionally my Wi-Fi goes into this weird state where the phone "thinks" I'm connected, but the connection simply doesn't work. Apps still seem to think I have connectivity, though they can't ...
6
votes
1answer
2k views

Why does “Google Services” take up increasing RAM and spawn new services over time?

I have a rooted OG Droid which I install custom ROMs to frequently. I've noticed in all builds of Froyo and Gingerbread that I've tried, over time of being on, certain services will take up more RAM ...
5
votes
4answers
13k views

How can I prevent apps from running in the background? [duplicate]

Possible Duplicate: How can I stop applications and services from running? There is already a similar question to this one, but mine is narrower in scope and not addressed in the other question: ...
5
votes
2answers
736 views

What does the “@” symbol in the Running Applications/Services mean?

What does the "@" symbol in front of the time given in the right column of Running Applications/Services mean? See screenshot below. Phone: Samsung Galaxy S4 (GT-I9505) OS: 4.2.2 Screenshot (click ...
5
votes
1answer
715 views

Start services at boot [duplicate]

How to make applications start at boot? I have at least 2 which I'd like to start automatically but they don't (I need to manually start them to have services run in background): Skype Lookout
5
votes
7answers
78k views

Disable permanently or uninstall the exchange services

I'm fighting with the exchange services on my Samsung Galaxy S4. They can render the phone unusable, draining even 40-50% of battery during the day. I've deactivated the Exchange account mail ...
5
votes
3answers
2k views

Can I reinitialize specific core services?

Sometimes my phone gets into a state where one of the core functions - audio, wifi, bluetooth - is in a somehow broken state. Example symptoms: wifi cannot see any available networks wifi attempts to ...
4
votes
6answers
91k views

How to stop Viber running without uninstalling it?

How do I stop Viber running, without uninstalling the app? When I go Menu→More options→Exit it just comes back. I want it to turn it off completely, so it's not waiting to come on in the background.
4
votes
2answers
7k views

Bypass memory manager; keep app alive

At my work we all have Android devices which are used to dispatch jobs to us. It uses a web-app accessible through any web browser. When a new job arrives we are notified with an audible alert. ...
3
votes
2answers
6k views

Disable service permanently

I would like to disable some services/apps on the Android. Some run that I do not want to. I do not want to have to stop the service every time I turn off the phone for obvious reasons.
3
votes
1answer
1k views

What running applications and services are safe to turn off? [duplicate]

Possible Duplicate: Knowing which applications to stop I just got a used Nexus One and I see a lot of running services and applications. I'm wondering what negative impact there would be if I ...
3
votes
1answer
577 views

My Google Voice services keeps getting stuck on “restarting”

The "UpdateService" for Google Voice constantly keeps getting stuck on "restarting" and therefore I miss out on receiving SMS messages from Google Voice. I've already been trimming down on some ...
3
votes
0answers
1k views

What does 'read/write instant messages' do?

Here are my steps on a Motorola using Android 6.0.1 Go to Settings > Apps > Show System > Google Services Framework > Permissions > Additional permissions What happens if I turn on these options? - ...
3
votes
0answers
5k views

“system_server” - BluetoothPhoneService Causes High CPU Usage

I am using Android 5.1 on Nexus 4 and noticed battery drain faster than usual a few months ago. Thinking I need to update Android to newer version I decided to check CPU usage first and found that ...
2
votes
1answer
537 views

How to run an executable on boot and keep it running?

I have an executable build from a ndk-build program. I want to run it on a rooted Android device. How much is the possibility that Android will kill my executable? Using adb shell, I am able to ...
2
votes
2answers
493 views

Why is “mdnsd” draining my battery and how to stop it?

This process (mdnsd) had been draining my battery for a few weeks. I have not been able to find a solution after a lot of search. I don't have any drone app, Facebook app or Firefox, although it's ...
2
votes
1answer
6k views

Calling service intent fails with “not found”

I want to start a service intent of an application (com.urbandroid.lux). According to the developer, there is a service intent "com.urbandroid.lux.TwilightService" which can be called with extra "...
2
votes
1answer
784 views

Some applications seem to always stay open, even after I exit them. How do I close these?

When I hold the Home icon down, several apps appear that I thought I exited - how do I actually close these?
2
votes
1answer
2k views

Using LineageOS native SSHD over ADB

Ive got most of the way to getting native sshd working over usb (mainly for shell and winscp), but very murky and not quite there yet. I want to use the built-in sshd, not download an app for it. ...
2
votes
1answer
110 views

How to make SELinux injected rules persistent without unpacking-packing boot.img?

I am working on an application that needs root access and I have a device which is rooted but not with Magisk. This device has only adb shell root available. So, I need an alternative to call the ...
2
votes
1answer
5k views

How to permanently disable mediaserver service?

I am trying to permanently disable the notorious power hogging mediascanserver or mediaserver (whatever it's better known) service on a rooted Jiayu S3. Here are my ADB commands: su pm disable com....
2
votes
1answer
2k views

Android applications automatically turning on when wifi is toggled on

First of all, I have permission management installed on my custom rom and this prevents apps from randomly starting up during boot. However, I have noticed that this is not enough to prevent some ...
2
votes
2answers
1k views

How to keep a service from closing?

I am using the latest stock ROM for my phone (SGS3, Vodafone variant, although rooted) and I have installed a GPS live tracking program that stays on the taskbar as a service all the time (and that's ...
2
votes
1answer
259 views

What is HuaweiOnlineUpdataService?

I have just seen this line in logcat: I/ActivityManager( 235): Start proc com.huawei.updata for service com.huawei.updata/.service.HuaweiOnlineUpdataService: pid=24608 uid=10048 gids={2001, 3003} ...
2
votes
1answer
657 views

What does the IcsService process do?

Under running services, I see the IcsService or long name com.android.samsung.IcsService . What does that process do? I'm debating about removing it. Note I have a AT&T Samsung Captivate (Galaxy ...
2
votes
1answer
552 views

How to disable “logd” logging?

The /data/misc/logd/ directory is filled with 256 MB log files. Currently I don't need debug log files, so I would like to turn off logging. Partial solution: It seems I can turn off with the ...
2
votes
1answer
910 views

Invoke /system/bin/sdcard manually via terminal

I am trying to mount an EXT4 formatted SD card under Cyanogenmod 13.1 (Android 6.0.1). So far, I have setup scripts to mount the card at /mnt/ext_sdcard during boot. My current understanding is that ...
2
votes
0answers
41 views

How do some android apps know from where they have been downloaded?

If you read privacy policy of some online apps, you will find that their services also store information about from where you download their app. I wonder if this is possible because apk is a ...
2
votes
0answers
36 views

Different coloured journeys on location services

On google location services, my journeys are shown in dark blue, light blue and grey. Is there some significance to this?
2
votes
0answers
206 views

Galaxy S3 running CM11 - SystemUpdateService keeps getting disabled

SystemUpdateService is currently destroying my battery (phone awake 98% of the time) because it's not running (The update services acquires a wakelock to check for updates, but since ...
2
votes
0answers
547 views

Share USB Printer from Android Device to Network

Is there any form of printer sharing FROM an Android device (In my case, a generic AMLogic Android Box, 4.2 or 4.4, full sized host USB ports) to a network? Specific method doesn't matter, CUPS, IPP, ...
2
votes
0answers
264 views

How do you prevent pre-installed (unremoveable) Android tasks/apps from ever starting without rooting your phone? [duplicate]

Possible Duplicate: How can I stop applications and services from running? Some apps are necessary for notifications. For example, without the facebook process, there'd be no facebook ...
2
votes
2answers
2k views

Can Android app run without being launched at least once?

As much as I know, most apps won't ever start, unless you launch them at least once (even if they have a background service). But what about those, that for example, have the Receive Intent Boot ...
1
vote
1answer
3k views

Samsung Galaxy S4: what application is responsible for “Time to home” notices?

On my Samsung Galaxy S4, I constantly get notifications "Time to home XXX minutes". They are not only useless for me, but also apparently some app is accessing my location, internet, and is draining ...
1
vote
1answer
209 views

How to run an Android init service with superuser SELinux context?

I want to run an Android init service. I have a device which has rooted shell (purchased from manufacture as rooted). This device doesn't have Magisk or other su manager but adb shell is rooted and it ...
1
vote
2answers
943 views

Will Android kill a Service if I uncheck “Show notification” option on Settings?

I was just wondering: will Android kill a Service (that uses persistent notification to keep itself alive) if I uncheck "Show notifications" on app settings? I am running Lollipop 5.1.
1
vote
1answer
69 views

Coming back Google Play Services

I have Samsung Galaxy A50 which is my professional smartphone, I use it for work and it is funded by my company. It has some professional software installed in Knox like encrypted e-mail etc. I am ...
1
vote
1answer
103 views

How can I add a system service to Android?

Me and another person are attempting to enable NFC on the Verizon Wear24. The watch itself has a PN548 NFC chip inside of it and was missing the kernel drivers as well as the NFC service. We have ...
1
vote
0answers
291 views

How to make network calls on Android with an app in the background [closed]

I am building a react-native app that launches a series of network requests (both UDP, HTTP) when it receives a special kind of notification, or based on a delayed execution. However it turns out ...
1
vote
1answer
989 views

How to create a service without any /system/etc/init.d directory

I would to get a boot daemon service. My android 6 device is rooted and I installed busybox pack on it. After remount my /system partition in read/write, I make /system/etc/init.d directory and I ...
1
vote
4answers
2k views

Unable to access Gmail, Play Store, YouTube. Basically all google apps

I'm having an issue where I can't access pretty much any of my google services on my Samsung Galaxy S7 edge (running Android 6.0.1 currently). I don't have general internet connectivity issues as my ...
1
vote
0answers
253 views

Android VPN service's policy based routing relative to iptables (specific behavior question, android 5.0, 5.1)

Background: Several phones, different firmwares Elephone p7000, Android 5.0 based rom Xiaomi redmi note 2, three different roms (5.1 based Cyaonogen, 5.0 based AOSP derivative) Rooted. Installed a ...