Questions tagged [services]
Service is a background process in Android, not to be confused with *nix daemons or Windows services
96
questions
1
vote
0
answers
128
views
Run init rc script after package manager have loaded
I'm writing an init service which make sure a package is installed and if not, it will install the apk.
The problem is, that currently I'm using a boot trigger with on boot but when I run pm install ...
0
votes
1
answer
81
views
Shut down the Android OS partially into a "recovery mode"/recovery runlevel
Android fundamentally still is a Linux system which have runlevels/targets intended for recovery purposes.
Is it possible to stop the Android OS far enough so that Apps, the UI and most system ...
0
votes
1
answer
562
views
How do I turn on Carrier Location Services?
I have found a similar question about this, and it kind of makes me wonder what this service is. In the description it says you can turn it on and off in the apps if you look for Carrier Location ...
0
votes
0
answers
1k
views
How to repack Magisk boot image? (Magisk installed)
everyone.
I have a OnePlus 5t, updated to Android 9 and Project Treble.
I have my own Magisk module for my own tweaks, but I am not satisfied. I found that I need a patched init.rc in order to have ...
1
vote
1
answer
1k
views
How to start service 'package' with ADB
Using adb, I uninstalled some system apps on my device. Sadly, I uninstalled something important, and now the device is in a bootloop.
During boot there is a window of time which I'm able to login ...
3
votes
1
answer
697
views
Where does Android store disabled packages list?
So I was playing with adb pm uninstall and now my phone doesn't boot.
So I'm actually curious, how really pm uninstall works, where does it store the list of uninstalled packages (if it does) and if ...
0
votes
0
answers
97
views
How to monitor log app wise usage report RAM CPU Battery and stop RAM resident apps from starting at boot
How to monitor log app wise usage report RAM CPU Battery and stop RAM resident apps from starting at boot
Many time my Android 5.0 & 6.0 mobile become slow while working i checked it In process ...
1
vote
0
answers
486
views
How to disable Google news (clickbait) article notifications?
Every time I check my phone there is a list of 'news article' summaries in notifications. On the rare occasions I find any of it interesting it almost inevitably turns out to be a low quality fluff ...
0
votes
0
answers
121
views
on a termux app terminal access where should I put my own runnit service to start on phone reboot?
I wrote a simple service like this one: http://smarden.org/runit/runscripts.html#apache2
$ cat start_node_exporter
#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
. $PREFIX/etc/profile
/...
1
vote
0
answers
169
views
Find APNSourceService
I have a TicWatch Pro 4G. As some may know, the watch only supports Vodafone. But from what I have seen, that's mostly down to the fact of the correct APN for other networks not being available. After ...
1
vote
0
answers
376
views
Starting shell script at boot in SELinux enforcing mode [closed]
I am building Android Pie (tag android-9.0.0_r46, branch android-msm-marlin-3.18-pie-qpr2) from source. I am testing on a Pixel XL (marlin). I want to have a custom shell script run automatically when ...
4
votes
1
answer
5k
views
Grant permissions to a service launched with ADB?
I'm trying to get a simple accessibility service, like Google's Voice Access or Button Mapper to work on an LG Exalt LTE, running a stripped down version of Marshmellow.
The stock is missing many UI ...
0
votes
0
answers
25
views
Running an rsync server on an Android device over a non-WiFi, cell-based connection? [duplicate]
I asked a somewhat similar question to this recently (see Rsync-like downloads over adb?), but what I'm asking here is a little bit different.
Also, if this question belongs in a different forum, I ...
0
votes
0
answers
747
views
service is not running properly in android 10
I have created script and i.e running via service in ini.rc.
init: starting service 'usbmountd '...
[ 1350.212500] init: Service 'usbmountd ' (pid 6923) received signal 11
[ 1350.212626] init: ...
1
vote
0
answers
2k
views
List of Android OS services/system apps with dependencies?
Is there a list of Android OS services/system apps including dependencies, similar to what can be displayed and configured in Windows using msconfig.exe? Researching every single one individually is ...
1
vote
1
answer
271
views
Process "irq/288-wcd9xxx" draining battery, how to stop it?
I'm using a Fairphone 2 with Fairphone open OS, under Android 7, (build-number: fp2_sibon-userdebug 7.1.2 19.11.2 sibon-24df0be9), up to date. My battery loses systematically 50% to 90% overnight, and ...
0
votes
0
answers
3k
views
What are these carrier configuration settings and which Android service handles them?
I signed a new mobile contract and received a carrier configuration message, but it seems that the settings were not updated properly. Up- and download is way too slow (typical 3G speeds) despite "4G" ...
2
votes
1
answer
2k
views
Un-register service from hwservicemanager
I have disabled the fingerprint sensor on my phone by setting the device tree node status to disabled. When I boot up, the fingerprint menu options are gone, but dmesg shows that hwservicemanager is ...
0
votes
1
answer
4k
views
Restart adbd as shell user on a non-rooted device without rebooting after the "setprop" operation [duplicate]
The setprop service.adb.tcp.port 5555 worked on my non-rooted device, now I need to restart adbd as the shell user :
$ adb shell
shell@android:/ $ getprop ro.build.version.release ...
1
vote
1
answer
161
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 ...
6
votes
2
answers
3k
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 ...
5
votes
1
answer
8k
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 ...
7
votes
1
answer
19k
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 ...
5
votes
2
answers
9k
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 ...
1
vote
0
answers
560
views
Is it possible to make init stop restarting one of it's "services"?
My init is making the eris persistent, I don't know if the /system/bin/eris is important to keep android's good functionality but at this moment this "service" (the quotation marks are because i ...
0
votes
1
answer
70
views
Google Services
Good day to you,
I have an ALPS MT702t phone (MEDIATECH MT6572) Android phone. It has Android 4.4.2 on it.
This phone does not have on it Google Services, and Google Framework.
I can install ...
0
votes
1
answer
108
views
Is it safe to enable Clean Master service?
The above are capture of Clean Master that asks for service enable. Is it safe enough to turn the service ON?
1
vote
1
answer
878
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 ...
3
votes
1
answer
13k
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 ...
1
vote
0
answers
523
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 ...
0
votes
1
answer
788
views
What is 10263 process [duplicate]
Here is the screen shot
I've checked the battery usage apps so that to save my battery level , I've seen a strange process 10263. I want to know what's is use
0
votes
0
answers
139
views
Safe startup and accessibility services
I have a Blackberry DTEK 50 (android 6.0)
When I set the option to have a pin set at startup ( security option special to blackberry? ) then accessibility services will not run (as far as I ...
0
votes
0
answers
74
views
Dimming service still works after app uninstall
I have installed a sleep monitoring app (Sleep as Android) on my LG G3.
It has a feature that dims the screen when the monitoring starts.
It was very annoying, so I disabled it in the settings of ...
3
votes
1
answer
4k
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.
...
1
vote
1
answer
1k
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
4
answers
4k
views
Unable to access Gmail, Play Store, YouTube. Basically all google apps [closed]
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 ...
0
votes
3
answers
15k
views
"Notification ranker" - what does it do, and what happens if I disable it?
After staying for so long on Marshmallow, today I finally made the decision to upgrade one of my secondary devices with Nougat (LineageOS 14.1 to be precise). Everything went smooth and most things ...
4
votes
2
answers
2k
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 ...
1
vote
0
answers
504
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 ...
1
vote
2
answers
1k
views
Retrieving my google contacts
My smart phone kept turning off and wouldn't power back up or stay on long enough to use it much unless I had it plugged into an electrical outlet; so I cancelled my cell phone service but continued ...
3
votes
0
answers
54
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 ...
4
votes
0
answers
3k
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?
- ...
1
vote
1
answer
3k
views
WhatsApp MessageService is always killed shortly after exiting the app
A couple of days ago I noticed that I no longer receive WhatsApp messages until I manually start the app, which is when the pending messages get delivered all at once.
I started my investigation by ...
0
votes
1
answer
253
views
Android x86 UI Dead on Boot
I was able to install android x86 on my laptop with a 20GB partition and configure the system according to my tastes yesterday. Also yesterday, I tried using this app to uninstall some bloatware on ...
1
vote
1
answer
3k
views
How to disable "dreams" system service
Some Android users often complain about some system service constantly executing, so just want to get rid of it at any cost to avoid battery drain. In my scenario it's DreamManagerService which is ...
0
votes
1
answer
583
views
Android 6.0.1 'Message Service' crash on boot - S7 Edge
I recently purchased a Samsung S7 Edge. As I like to play around with my phones a lot, one of the first things I did was root it. Not thinking properly, after enabling 'OEM Unlock' and rooting my ...
0
votes
1
answer
1k
views
Show all running services on Samsung Galaxy S3
How can one show all running services on Samsung Galaxy S3?
In system-menu Tinder service for example wasn't shown.
3
votes
0
answers
6k
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 ...
0
votes
2
answers
4k
views
Does swiping from recent app screen kill the foreground service?
I have read certain posts and done by myself and i found that on my device android kitkat 4.4.4 when i swipe the app from recent screen the foreground service doesn't stop, So does this behavior ...
0
votes
1
answer
2k
views
Lollipop - Apps not autostarting
I have Alcatel 5054D with Lollipop (5.1.1) on board. I noticed that some apps are not starting on boot or on events that are fired by the OS. For example, when my phone was not rooted I tried to ...