-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Service had an error: "Error: Not found; no service started #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which model is it? Can you just run Also, I've seen this once before. Turns out that there was some sort of an antivirus app running on the device, and for some reason it didn't like STFService, so it prevented the service from being started. Uninstalling the antivirus apps made it work again. It was one of |
this is the modle of this phone, made by Huawei:
I guess the reason is antivirus apps,I have installed many antivirus apps on my phone. Thank you for your reply! |
Here's how you can check. Do not have STF running while you do this. In one shell, run: adb logcat -s 'ActivityManager:*' Now, in another shell, attempt to start the service manually: adb shell am startservice --user 0 -a jp.co.cyberagent.stf.ACTION_START -n jp.co.cyberagent.stf/.Service Watch the log and perhaps you'll see something like this:
If you see that or something like that, it's one of the antivirus programs getting in the way. And this is how the offending applications were removed: adb uninstall com.trendmicro.dr.booster
adb uninstall com.cleanmaster.security For good measure, perhaps uninstall STFService once too: adb uninstall jp.co.cyberagent.stf Now if you unplug the device once and plug it back in, STF should be able to reinstall the service and launch it. |
I have checked my running apps through “Settings”,then stop some antivirus apps manually。 So, I still use "rethinkdb" and "stf local" commands. At last, I find I can manipulate my phone through web browser remotely. At the same time , I uploaded STFService.apk to some antivirus-checking site, the result is "Safe". |
Not sure, possibly because the app doesn't have a launcher activity it looks suspicious. Or perhaps because of the private APIs. |
I encountered the same issue, uninstalled a few antivirus apps(e.g. 360), but it is not working. Could you please help take a look? Thx! adb devices -l shows: |
Thanks for the useful log. Based on the somewhat poor english in the log output it seems like there's still some kind of an antivirus or blocker running. Would be very interesting to know which app it ends up being. You can try something like |
I want to see it myself and hopefully fix it. I've ordered that phone from Aliexpress. Will probably arrive by the end of the month. |
I am thinking, is it possible that some ROMs themselves have some kind of restrictions? |
Well it's possible it's a system package as well. Perhaps try to take out It'll be at least a month before I can do anything about this myself. On Wednesday, 31 August 2016, xiaweixing notifications@github.com wrote:
|
|
I've just updated STFService.apk for an unrelated reason - I'm curious if you're seeing any change with this issue? Can you update your STF and try again? Use master or the :latest docker tag. |
Hi Sorccu, I've pulled the latest stf:
But still 2 devices showing errors in provider log:
for LE67A06180224872, errors are same as before. for c806b880, errors as below:
|
@xiaweixing I have the same phone(le_x6) and the same problem. I sovled it by pushing STFService.apk to /system/priv-app/STFService/STFService.apk, the service will automatically start after a reboot, and everything works fine now. |
@test01wrk Thanks a lot for the info!! But how and where can I download the latest STFService.apk? I couldn't figure it out yet :( |
I have now received the Le_X620 and I can confirm that it has that issue. However I seem to have found the cause. At least for Le_X620, it does NOT have anything to do with an antivirus. It seems that trying to launch a service while the app is not running already counts as an "Auto Launch" and the system prevents that by default. I tried with a brand new application with an empty service and got the same result. What you have to do is:
Here's a gif of how to do it: |
Great!! It worked like a charm!! Thank you so much!! |
@sorccu I posted another device issue earlier together with le_x620, but it is still not resolved. Is it possible for you to test it? Or any ideas how to troubleshoot? Thx!
errors as below:
|
One issue per device please. Closing this one, created a new one for ZUK Z1. |
Issue:
just like mentioned above,when I connected to my Huawei Phone, the issue comes.
It says : FTL/device 6054 [582af7670d26] Setup had an error Error: Service had an error: "Error: Not found; no service started."
My doubt
Why? I have tested on 5 phones, just this phone has this problem。
At the same time, I find no STFService.apk installed on it.
The text was updated successfully, but these errors were encountered: