Skip to content
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

realme device Model RMX3867 Android version 14 #775

Closed
KingRat0011 opened this issue Apr 30, 2024 · 17 comments
Closed

realme device Model RMX3867 Android version 14 #775

KingRat0011 opened this issue Apr 30, 2024 · 17 comments

Comments

@KingRat0011
Copy link

Using the docker build

stf@becd623f8b0c:/app$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
stf          1     0  0 Apr29 ?        00:00:45 node /app/bin/stf provider --name docker/floor8 --connect-sub tcp://10.70.11.63:7250 --connect-push tcp://10.70.11.63:7270 --storage-url https://10.70.11.63/ --public-ip 10.70.11.78 --mi
stf      19054     1 31 04:57 ?        00:00:03 /usr/local/bin/node /app/lib/cli device --serial INJV6XCMCYT8GAOF --provider docker/floor8 --screen-port 15004 --connect-port 15005 --vnc-port 15006 --public-ip 10.70.11.78 --group-timeo
stf      19074 19040  0 04:57 pts/0    00:00:00 ps -ef
stf@becd623f8b0c:/app$ 
docker:~ $ sudo docker exec -it becd623f8b0c bash
stf@becd623f8b0c:/app$ stf --version
3.6.8
docker:~ $ sudo docker exec -it 1652141ace54 bash
root@1652141ace54:/# adb devices -l
List of devices attached
INJV6XCMCYT8GAOF       device usb:1-1.1 product:RMX3867 model:RMX3867 device:RE5C86L1 transport_id:3

root@1652141ace54:/# exit

The device does not display, below is the log from the stf-provider docker

2024-04-30T04:55:44.456Z FTL/device 18936 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-04-30T04:55:44.460Z FTL/util:lifecycle 18936 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-04-30T04:55:44.492Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:55:44.493Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-04-30T04:55:44.493Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:55:45.902Z INF/device:support:push 18949 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-04-30T04:55:45.910Z INF/device 18949 [INJV6XCMCYT8GAOF] Preparing device
2024-04-30T04:55:46.945Z INF/device:support:sub 18949 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-04-30T04:55:46.950Z INF/device:support:sub 18949 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-04-30T04:55:47.041Z INF/device:support:properties 18949 [INJV6XCMCYT8GAOF] Loading properties
2024-04-30T04:55:47.103Z INF/device:support:sdk 18949 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-04-30T04:55:47.106Z INF/device:support:abi 18949 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-04-30T04:55:47.430Z INF/device:resources:minicap 18949 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-04-30T04:55:47.682Z INF/device:resources:service 18949 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-04-30T04:55:47.745Z INF/device:resources:service 18949 [INJV6XCMCYT8GAOF] Running version check
2024-04-30T04:55:49.113Z DBG/device:resources:service 18949 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-04-30T04:55:49.116Z INF/device:resources:service 18949 [INJV6XCMCYT8GAOF] STFService up to date
2024-04-30T04:55:49.119Z INF/device:plugins:service 18949 [INJV6XCMCYT8GAOF] Launching agent
2024-04-30T04:55:49.845Z INF/device:plugins:service 18949 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-04-30T04:55:59.466Z FTL/device 18949 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-04-30T04:55:59.470Z FTL/util:lifecycle 18949 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-04-30T04:55:59.497Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:55:59.497Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-04-30T04:55:59.497Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:56:00.872Z INF/device:support:push 18962 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-04-30T04:56:00.881Z INF/device 18962 [INJV6XCMCYT8GAOF] Preparing device
2024-04-30T04:56:01.915Z INF/device:support:sub 18962 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-04-30T04:56:01.920Z INF/device:support:sub 18962 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-04-30T04:56:02.014Z INF/device:support:properties 18962 [INJV6XCMCYT8GAOF] Loading properties
2024-04-30T04:56:02.078Z INF/device:support:sdk 18962 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-04-30T04:56:02.081Z INF/device:support:abi 18962 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-04-30T04:56:02.407Z INF/device:resources:minicap 18962 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-04-30T04:56:02.700Z INF/device:resources:service 18962 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-04-30T04:56:02.765Z INF/device:resources:service 18962 [INJV6XCMCYT8GAOF] Running version check
2024-04-30T04:56:04.127Z DBG/device:resources:service 18962 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-04-30T04:56:04.133Z INF/device:resources:service 18962 [INJV6XCMCYT8GAOF] STFService up to date
2024-04-30T04:56:04.140Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Launching agent
2024-04-30T04:56:04.881Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-04-30T04:56:04.893Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-04-30T04:56:04.896Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-04-30T04:56:04.898Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-04-30T04:56:04.902Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-04-30T04:56:04.905Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-04-30T04:56:04.908Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-04-30T04:56:04.910Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-04-30T04:56:04.913Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-04-30T04:56:04.916Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-04-30T04:56:04.919Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-04-30T04:56:04.922Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-04-30T04:56:04.923Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-04-30T04:56:04.927Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.rawGetService(ServiceManager.java:378)"
2024-04-30T04:56:04.929Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.getService(ServiceManager.java:147)"
2024-04-30T04:56:04.931Z INF/device:plugins:service 18962 [INJV6XCMCYT8GAOF] Agent says: "... 6 more"
2024-04-30T04:56:14.494Z FTL/device 18962 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-04-30T04:56:14.497Z FTL/util:lifecycle 18962 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-04-30T04:56:14.512Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:56:14.512Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-04-30T04:56:14.512Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:56:15.887Z INF/device:support:push 18975 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-04-30T04:56:15.897Z INF/device 18975 [INJV6XCMCYT8GAOF] Preparing device
2024-04-30T04:56:16.914Z INF/device:support:sub 18975 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-04-30T04:56:16.919Z INF/device:support:sub 18975 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-04-30T04:56:17.033Z INF/device:support:properties 18975 [INJV6XCMCYT8GAOF] Loading properties
2024-04-30T04:56:17.101Z INF/device:support:sdk 18975 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-04-30T04:56:17.104Z INF/device:support:abi 18975 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-04-30T04:56:17.425Z INF/device:resources:minicap 18975 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-04-30T04:56:17.696Z INF/device:resources:service 18975 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-04-30T04:56:17.761Z INF/device:resources:service 18975 [INJV6XCMCYT8GAOF] Running version check
2024-04-30T04:56:19.114Z DBG/device:resources:service 18975 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-04-30T04:56:19.116Z INF/device:resources:service 18975 [INJV6XCMCYT8GAOF] STFService up to date
2024-04-30T04:56:19.119Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Launching agent
2024-04-30T04:56:19.845Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-04-30T04:56:19.863Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-04-30T04:56:19.866Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-04-30T04:56:19.868Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-04-30T04:56:19.871Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-04-30T04:56:19.873Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-04-30T04:56:19.875Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-04-30T04:56:19.878Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-04-30T04:56:19.880Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-04-30T04:56:19.882Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-04-30T04:56:19.884Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-04-30T04:56:19.886Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-04-30T04:56:19.887Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-04-30T04:56:19.890Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.rawGetService(ServiceManager.java:378)"
2024-04-30T04:56:19.891Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.getService(ServiceManager.java:147)"
2024-04-30T04:56:19.893Z INF/device:plugins:service 18975 [INJV6XCMCYT8GAOF] Agent says: "... 6 more"
2024-04-30T04:56:29.471Z FTL/device 18975 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-04-30T04:56:29.476Z FTL/util:lifecycle 18975 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-04-30T04:56:29.504Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:56:29.504Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-04-30T04:56:29.505Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-04-30T04:56:30.869Z INF/device:support:push 18988 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-04-30T04:56:30.878Z INF/device 18988 [INJV6XCMCYT8GAOF] Preparing device
2024-04-30T04:56:31.904Z INF/device:support:sub 18988 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-04-30T04:56:31.909Z INF/device:support:sub 18988 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-04-30T04:56:32.010Z INF/device:support:properties 18988 [INJV6XCMCYT8GAOF] Loading properties
2024-04-30T04:56:32.071Z INF/device:support:sdk 18988 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-04-30T04:56:32.074Z INF/device:support:abi 18988 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-04-30T04:56:32.395Z INF/device:resources:minicap 18988 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-04-30T04:56:32.732Z INF/device:resources:service 18988 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-04-30T04:56:32.802Z INF/device:resources:service 18988 [INJV6XCMCYT8GAOF] Running version check

image

Any ideas on this please?

@jupe
Copy link

jupe commented May 1, 2024

could you attach also logcat logs that include probably reason why stfservice wont start.

@KingRat0011
Copy link
Author

realme.log
I've attached the logcat from the device

@KishanDasani
Copy link

@KingRat0011
update your APK with this commit.

you will be able to enroll your device.

@KingRat0011
Copy link
Author

Hi @KishanDasani
How would I do that please, at the moment I just pull the docker image, I'm not sure how to add the STFService.apk to the docker container?

@KishanDasani
Copy link

@KingRat0011
most possibly latest image has updated APK. Until I remember, apk version is 2.5.2.

@KingRat0011
Copy link
Author

From stf-reaper

2024-05-06T11:54:47.659Z INF/reaper 1 [dev] Device "INJV6XCMCYT8GAOF" is present
2024-05-06T12:04:06.354Z INF/reaper 1 [dev] Device "INJV6XCMCYT8GAOF" is present

2024-05-06T12:04:39.206Z INF/reaper 1 [dev] Device "INJV6XCMCYT8GAOF" is present

diginetiot@cerc-main-docker:~$ sudo docker exec -it 5c51939379c7 bash
stf@5c51939379c7:/app$ stf --version
3.6.8
stf@5c51939379c7:/app$ 

But the device still says preparing
image

xx@docker:~ $ sudo docker logs 0fc6f6cc3a68 -f
2024-05-06T12:07:06.382Z FTL/util:lifecycle 679 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:06.404Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:06.405Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:06.405Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:07.746Z INF/device:support:push 692 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:07.755Z INF/device 692 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:08.845Z INF/device:support:sub 692 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:08.850Z INF/device:support:sub 692 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:08.942Z INF/device:support:properties 692 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:08.996Z INF/device:support:sdk 692 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:08.999Z INF/device:support:abi 692 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:09.251Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:09.254Z INF/device:resources:minicap 692 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:09.496Z INF/device:resources:service 692 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:09.556Z INF/device:resources:service 692 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:10.840Z DBG/device:resources:service 692 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:10.842Z INF/device:resources:service 692 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:10.846Z INF/device:plugins:service 692 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:11.449Z INF/device:plugins:service 692 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:19.261Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:21.112Z FTL/device 692 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:21.117Z FTL/util:lifecycle 692 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:21.142Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:21.143Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:21.143Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:22.571Z INF/device:support:push 705 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:22.580Z INF/device 705 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:23.616Z INF/device:support:sub 705 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:23.621Z INF/device:support:sub 705 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:23.710Z INF/device:support:properties 705 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:23.766Z INF/device:support:sdk 705 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:23.769Z INF/device:support:abi 705 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:24.019Z INF/device:resources:minicap 705 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:24.261Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:24.323Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:25.626Z DBG/device:resources:service 705 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:25.628Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:25.632Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:26.244Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:26.261Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-05-06T12:07:26.263Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-05-06T12:07:26.266Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-05-06T12:07:26.268Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-05-06T12:07:26.270Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-05-06T12:07:26.273Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-05-06T12:07:26.275Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-05-06T12:07:26.276Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-05-06T12:07:26.279Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-05-06T12:07:26.281Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-05-06T12:07:26.282Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-05-06T12:07:26.284Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-05-06T12:07:26.286Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.rawGetService(ServiceManager.java:378)"
2024-05-06T12:07:26.288Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.getService(ServiceManager.java:147)"
2024-05-06T12:07:26.290Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "... 6 more"
2024-05-06T12:07:26.288Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.getService(ServiceManager.java:147)"
2024-05-06T12:07:26.290Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "... 6 more"
2024-05-06T12:07:29.269Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:35.903Z FTL/device 705 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:35.906Z FTL/util:lifecycle 705 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:35.927Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:35.927Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:35.927Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:37.319Z INF/device:support:push 718 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:37.329Z INF/device 718 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:38.365Z INF/device:support:sub 718 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:38.371Z INF/device:support:sub 718 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:38.458Z INF/device:support:properties 718 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:38.519Z INF/device:support:sdk 718 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:38.522Z INF/device:support:abi 718 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:38.774Z INF/device:resources:minicap 718 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:39.010Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:39.067Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:39.272Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:40.387Z DBG/device:resources:service 718 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:40.389Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:40.393Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:41.016Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:41.032Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-05-06T12:07:41.034Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-05-06T12:07:41.037Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-05-06T12:07:41.039Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-05-06T12:07:41.041Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-05-06T12:07:41.043Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-05-06T12:07:41.045Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-05-06T12:07:41.047Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-05-06T12:07:41.049Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-05-06T12:07:41.051Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-05-06T12:07:41.053Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-05-06T12:07:41.055Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-05-06T12:07:49.274Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:50.674Z FTL/device 718 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:50.679Z FTL/util:lifecycle 718 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:50.705Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:50.705Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:50.706Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:52.108Z INF/device:support:push 731 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:52.117Z INF/device 731 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:53.160Z INF/device:support:sub 731 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:53.165Z INF/device:support:sub 731 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:53.255Z INF/device:support:properties 731 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:53.314Z INF/device:support:sdk 731 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:53.318Z INF/device:support:abi 731 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:53.567Z INF/device:resources:minicap 731 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:53.810Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:53.874Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:55.147Z DBG/device:resources:service 731 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:55.149Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:55.152Z INF/device:plugins:service 731 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:55.768Z INF/device:plugins:service 731 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:59.281Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:08:05.431Z FTL/device 731 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:08:05.436Z FTL/util:lifecycle 731 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:08:05.464Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:08:05.465Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:08:05.465Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:08:06.866Z INF/device:support:push 744 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:08:06.876Z INF/device 744 [INJV6XCMCYT8GAOF] Preparing device

Is there any command to check the STFService.apk version?

@KishanDasani
Copy link

KishanDasani commented May 6, 2024

You can find required apk version in here > lib/units/device/resources/service.js.

APK version can directly find in mobile app is installed.

@KingRat0011
Copy link
Author

The realme device is on the left, the right one is a Samsung Galaxy S23 that works with my stf build
image
image
image
image
image

The 2 devices are plugged into the same STF provider device, the realme just stays on preparing and the Samsung works fine

@KishanDasani
Copy link

Any specific error / information via logs for the device which is stuck in "preparing" state?

@KingRat0011
Copy link
Author

Just this as posted before

2024-05-06T12:07:10.842Z INF/device:resources:service 692 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:10.846Z INF/device:plugins:service 692 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:11.449Z INF/device:plugins:service 692 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:19.261Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:21.112Z FTL/device 692 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:21.117Z FTL/util:lifecycle 692 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:21.142Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:21.143Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:21.143Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:22.571Z INF/device:support:push 705 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:22.580Z INF/device 705 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:23.616Z INF/device:support:sub 705 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:23.621Z INF/device:support:sub 705 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:23.710Z INF/device:support:properties 705 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:23.766Z INF/device:support:sdk 705 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:23.769Z INF/device:support:abi 705 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:24.019Z INF/device:resources:minicap 705 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:24.261Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:24.323Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:25.626Z DBG/device:resources:service 705 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:25.628Z INF/device:resources:service 705 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:25.632Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:26.244Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:26.261Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-05-06T12:07:26.263Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-05-06T12:07:26.266Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-05-06T12:07:26.268Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-05-06T12:07:26.270Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-05-06T12:07:26.273Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-05-06T12:07:26.275Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-05-06T12:07:26.276Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-05-06T12:07:26.279Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-05-06T12:07:26.281Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-05-06T12:07:26.282Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-05-06T12:07:26.284Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-05-06T12:07:26.286Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.rawGetService(ServiceManager.java:378)"
2024-05-06T12:07:26.288Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManager.getService(ServiceManager.java:147)"
2024-05-06T12:07:26.290Z INF/device:plugins:service 705 [INJV6XCMCYT8GAOF] Agent says: "... 6 more"
2024-05-06T12:07:29.269Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:35.903Z FTL/device 705 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:35.906Z FTL/util:lifecycle 705 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:35.927Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:35.927Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:35.927Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:37.319Z INF/device:support:push 718 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:37.329Z INF/device 718 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:38.365Z INF/device:support:sub 718 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:38.371Z INF/device:support:sub 718 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:38.458Z INF/device:support:properties 718 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:38.519Z INF/device:support:sdk 718 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:38.522Z INF/device:support:abi 718 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:38.774Z INF/device:resources:minicap 718 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:39.010Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:39.067Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:39.272Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:40.387Z DBG/device:resources:service 718 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:40.389Z INF/device:resources:service 718 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:40.393Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:41.016Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:41.032Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "java.lang.reflect.InvocationTargetException"
2024-05-06T12:07:41.034Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at java.lang.reflect.Method.invoke(Native Method)"
2024-05-06T12:07:41.037Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceBinder(InternalApi.java:35)"
2024-05-06T12:07:41.039Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.util.InternalApi.getServiceAsInterface(InternalApi.java:57)"
2024-05-06T12:07:41.041Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.getWindowManager(WindowManagerWrapper.java:120)"
2024-05-06T12:07:41.043Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.compat.WindowManagerWrapper.<init>(WindowManagerWrapper.java:28)"
2024-05-06T12:07:41.045Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at jp.co.cyberagent.stf.Agent.run(Agent.java:126)"
2024-05-06T12:07:41.047Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "Caused by: java.lang.RuntimeException: Bad file descriptor"
2024-05-06T12:07:41.049Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transactNative(Native Method)"
2024-05-06T12:07:41.051Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.BinderProxy.transact(BinderProxy.java:685)"
2024-05-06T12:07:41.053Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)"
2024-05-06T12:07:41.055Z INF/device:plugins:service 718 [INJV6XCMCYT8GAOF] Agent says: "at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)"
2024-05-06T12:07:49.274Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:07:50.674Z FTL/device 718 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:07:50.679Z FTL/util:lifecycle 718 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:07:50.705Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:50.705Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:07:50.706Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:07:52.108Z INF/device:support:push 731 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:07:52.117Z INF/device 731 [INJV6XCMCYT8GAOF] Preparing device
2024-05-06T12:07:53.160Z INF/device:support:sub 731 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-06T12:07:53.165Z INF/device:support:sub 731 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-06T12:07:53.255Z INF/device:support:properties 731 [INJV6XCMCYT8GAOF] Loading properties
2024-05-06T12:07:53.314Z INF/device:support:sdk 731 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-06T12:07:53.318Z INF/device:support:abi 731 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-06T12:07:53.567Z INF/device:resources:minicap 731 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-06T12:07:53.810Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-06T12:07:53.874Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] Running version check
2024-05-06T12:07:55.147Z DBG/device:resources:service 731 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-06T12:07:55.149Z INF/device:resources:service 731 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-06T12:07:55.152Z INF/device:plugins:service 731 [INJV6XCMCYT8GAOF] Launching agent
2024-05-06T12:07:55.768Z INF/device:plugins:service 731 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-06T12:07:59.281Z INF/provider 1 [*] Providing 0 of 1 device(s); waiting for "INJV6XCMCYT8GAOF"
2024-05-06T12:08:05.431Z FTL/device 731 [INJV6XCMCYT8GAOF] Setup had an error TimeoutError: operation timed out
    at afterTimeout (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:11:15)
    at Timeout.timeoutTimeout [as _onTimeout] (/app/node_modules/@devicefarmer/adbkit/node_modules/bluebird/js/main/timers.js:53:9)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
2024-05-06T12:08:05.436Z FTL/util:lifecycle 731 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-06T12:08:05.464Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:08:05.465Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-06T12:08:05.465Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-06T12:08:06.866Z INF/device:support:push 744 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-06T12:08:06.876Z INF/device 744 [INJV6XCMCYT8GAOF] Preparing device

@KishanDasani
Copy link

Has to be something specific to device. Not sure what is going wrong.

@KingRat0011
Copy link
Author

Seems like the error has changed

2024-05-07T08:02:50.250Z FTL/util:lifecycle 2330 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-07T08:02:50.267Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-07T08:02:50.268Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-07T08:02:50.269Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-07T08:02:51.760Z INF/device:support:push 2343 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-07T08:02:51.771Z INF/device 2343 [INJV6XCMCYT8GAOF] Preparing device
2024-05-07T08:02:52.990Z INF/device:support:sub 2343 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-07T08:02:52.996Z INF/device:support:sub 2343 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-07T08:02:53.094Z INF/device:support:properties 2343 [INJV6XCMCYT8GAOF] Loading properties
2024-05-07T08:02:53.148Z INF/device:support:sdk 2343 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-07T08:02:53.152Z INF/device:support:abi 2343 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-07T08:02:53.340Z INF/device:resources:minicap 2343 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-07T08:02:53.606Z INF/device:resources:service 2343 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-07T08:02:53.657Z INF/device:resources:service 2343 [INJV6XCMCYT8GAOF] Running version check
2024-05-07T08:02:54.781Z DBG/device:resources:service 2343 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-07T08:02:54.784Z INF/device:resources:service 2343 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-07T08:02:54.788Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Launching agent
2024-05-07T08:02:55.209Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
2024-05-07T08:02:55.228Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Launching service
2024-05-07T08:02:55.232Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] using 'start-foreground-service' command for API 34
2024-05-07T08:02:55.285Z IMP/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Agent connection ended, attempting to relaunch
2024-05-07T08:02:55.288Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Launching service
2024-05-07T08:02:55.290Z INF/device:plugins:service 2343 [INJV6XCMCYT8GAOF] using 'start-foreground-service' command for API 34
2024-05-07T08:02:55.320Z INF/device:plugins:display 2343 [INJV6XCMCYT8GAOF] Reading display info
2024-05-07T08:02:55.348Z IMP/device:plugins:service 2343 [INJV6XCMCYT8GAOF] Agent relaunched in 63ms
2024-05-07T08:02:55.362Z INF/device:plugins:phone 2343 [INJV6XCMCYT8GAOF] Fetching phone info
2024-05-07T08:02:55.372Z INF/device:plugins:display 2343 [INJV6XCMCYT8GAOF] Rotation changed to 0
2024-05-07T08:02:55.413Z INF/device:plugins:identity 2343 [INJV6XCMCYT8GAOF] Solving identity
2024-05-07T08:02:55.424Z INF/device:plugins:solo 2343 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "6YZTfMaBPtG+wcl39kcFiKVSglI="
2024-05-07T08:02:55.427Z INF/device:plugins:screen:stream 2343 [INJV6XCMCYT8GAOF] ScreenGrabber option set to minicap-bin
2024-05-07T08:02:55.430Z INF/device:plugins:screen:stream 2343 [INJV6XCMCYT8GAOF] ScreenFrameRate option set to -1
2024-05-07T08:02:55.432Z INF/device:plugins:screen:stream 2343 [INJV6XCMCYT8GAOF] Starting WebSocket server on port 15004
2024-05-07T08:02:55.444Z INF/device:plugins:screen:stream 2343 [INJV6XCMCYT8GAOF] creating FrameProducer: minicap-bin
2024-05-07T08:02:55.632Z INF/device:resources:minitouch 2343 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minitouch-prebuilt/prebuilt/arm64-v8a/bin/minitouch" as "/data/local/tmp/minitouch"
2024-05-07T08:02:55.698Z WRN/device:plugins:data 2343 [INJV6XCMCYT8GAOF] Unable to find device data {
  serial: 'INJV6XCMCYT8GAOF',
  platform: 'Android',
  manufacturer: 'REALME',
  operator: ',',
  model: 'RMX3867',
  version: '14',
  abi: 'arm64-v8a',
  sdk: '34',
  product: 'RMX3867',
  cpuPlatform: 'mt6877',
  openGLESVersion: '3.2',
  marketName: 'RE5C86L1',
  display: {
    id: 0,
    width: 1080,
    height: 2400,
    xdpi: 415.635986328125,
    ydpi: 390.7690124511719,
    fps: 120.00000762939453,
    density: 3,
    rotation: 0,
    secure: true,
    size: 6.66878874700719,
    url: 'wss://10.70.11.63/d/floor8/INJV6XCMCYT8GAOF/15004/'
  },
  phone: [Object: null prototype] {}
}
2024-05-07T08:02:55.708Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Touch origin is top left
2024-05-07T08:02:55.712Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Requesting touch consumer to start
2024-05-07T08:02:55.715Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Launching touch service
2024-05-07T08:02:55.737Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Connecting to minitouch service
2024-05-07T08:02:55.751Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "open: Permission denied"
2024-05-07T08:02:55.753Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
2024-05-07T08:02:55.756Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
2024-05-07T08:02:55.759Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
2024-05-07T08:02:55.761Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"
2024-05-07T08:02:55.764Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
2024-05-07T08:02:55.766Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"
2024-05-07T08:02:55.769Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "connecting socket: Connection refused"
2024-05-07T08:02:55.772Z WRN/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Shell keeping minitouch running ended unexpectedly
2024-05-07T08:02:55.778Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Disconnecting from minitouch service
2024-05-07T08:02:55.784Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Stopping minitouch service
2024-05-07T08:02:55.789Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Launching touch service
2024-05-07T08:02:55.806Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Connecting to minitouch service
2024-05-07T08:02:55.821Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "open: Permission denied"
2024-05-07T08:02:55.823Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
2024-05-07T08:02:55.825Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
2024-05-07T08:02:55.828Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
2024-05-07T08:02:55.831Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"
2024-05-07T08:02:55.835Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
2024-05-07T08:02:55.838Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"
2024-05-07T08:02:55.842Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "connecting socket: Connection refused"
2024-05-07T08:02:55.845Z WRN/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Shell keeping minitouch running ended unexpectedly
2024-05-07T08:02:55.851Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Disconnecting from minitouch service
2024-05-07T08:02:55.856Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Stopping minitouch service
2024-05-07T08:02:55.862Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Launching touch service
2024-05-07T08:02:55.882Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Connecting to minitouch service
2024-05-07T08:02:55.895Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "open: Permission denied"
2024-05-07T08:02:55.898Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
2024-05-07T08:02:55.900Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
2024-05-07T08:02:55.903Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
2024-05-07T08:02:55.905Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"
2024-05-07T08:02:55.908Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
2024-05-07T08:02:55.910Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"
2024-05-07T08:02:55.913Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "connecting socket: Connection refused"
2024-05-07T08:02:55.916Z WRN/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Shell keeping minitouch running ended unexpectedly
2024-05-07T08:02:55.921Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Disconnecting from minitouch service
2024-05-07T08:02:55.925Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Stopping minitouch service
2024-05-07T08:02:55.928Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Launching touch service
2024-05-07T08:02:55.947Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Connecting to minitouch service
2024-05-07T08:02:55.964Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "open: Permission denied"
2024-05-07T08:02:55.967Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event5 for inspectionopen: Permission denied"
2024-05-07T08:02:55.969Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event4 for inspectionopen: Permission denied"
2024-05-07T08:02:55.971Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event0 for inspectionopen: Permission denied"
2024-05-07T08:02:55.974Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event2 for inspectionopen: Permission denied"
2024-05-07T08:02:55.976Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event3 for inspectionopen: Permission denied"
2024-05-07T08:02:55.978Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "Unable to open device /dev/input/event1 for inspectionUnable to find a suitable touch device"
2024-05-07T08:02:55.981Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] minitouch says: "connecting socket: Connection refused"
2024-05-07T08:02:55.984Z WRN/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Shell keeping minitouch running ended unexpectedly
2024-05-07T08:02:55.987Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Disconnecting from minitouch service
2024-05-07T08:02:55.992Z WRN/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Will not apply desired state due to too many failures
2024-05-07T08:02:55.995Z INF/device:plugins:touch 2343 [INJV6XCMCYT8GAOF] Stopping minitouch service
2024-05-07T08:02:56.000Z FTL/device 2343 [INJV6XCMCYT8GAOF] Setup had an error Error: Failed more than 3 times in 10000ms
    at TouchConsumer._failLimitExceeded (/app/lib/units/device/plugins/touch/index.js:230:26)
    at FailCounter.emit (/app/node_modules/eventemitter3/index.js:117:35)
    at FailCounter.inc (/app/lib/util/failcounter.js:29:10)
    at TouchConsumer._outputEnded (/app/lib/units/device/plugins/touch/index.js:223:24)
    at RiskyStream.emit (/app/node_modules/eventemitter3/index.js:115:35)
    at RiskyStream.<anonymous> (/app/lib/util/riskystream.js:14:12)
    at Socket.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
From previous event:
    at startConsumer (/app/lib/units/device/plugins/touch/index.js:511:14)
    at /app/lib/units/device/plugins/touch/index.js:526:12
    at SerialSyrup.ParallelSyrup.invoke (/app/node_modules/@devicefarmer/stf-syrup/lib/parallel.js:54:24)
    at /app/node_modules/@devicefarmer/stf-syrup/lib/serial.js:43:33
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
2024-05-07T08:02:56.003Z FTL/util:lifecycle 2343 [INJV6XCMCYT8GAOF] Shutting down due to fatal error
2024-05-07T08:02:56.020Z INF/provider 1 [*] Cleaning up device worker "INJV6XCMCYT8GAOF"
2024-05-07T08:02:56.021Z ERR/provider 1 [*] Device worker "INJV6XCMCYT8GAOF" died with code 1
2024-05-07T08:02:56.021Z INF/provider 1 [*] Restarting device worker "INJV6XCMCYT8GAOF"
2024-05-07T08:02:57.513Z INF/device:support:push 2356 [INJV6XCMCYT8GAOF] Sending output to "tcp://10.70.11.63:7270"
2024-05-07T08:02:57.524Z INF/device 2356 [INJV6XCMCYT8GAOF] Preparing device
2024-05-07T08:02:58.748Z INF/device:support:sub 2356 [INJV6XCMCYT8GAOF] Receiving input from "tcp://10.70.11.63:7250"
2024-05-07T08:02:58.753Z INF/device:support:sub 2356 [INJV6XCMCYT8GAOF] Subscribing to permanent channel "*ALL"
2024-05-07T08:02:58.855Z INF/device:support:properties 2356 [INJV6XCMCYT8GAOF] Loading properties
2024-05-07T08:02:58.910Z INF/device:support:sdk 2356 [INJV6XCMCYT8GAOF] Supports SDK 34
2024-05-07T08:02:58.915Z INF/device:support:abi 2356 [INJV6XCMCYT8GAOF] Supports ABIs arm64-v8a, armeabi-v7a, armeabi
2024-05-07T08:02:59.115Z INF/device:resources:minicap 2356 [INJV6XCMCYT8GAOF] Installing "/app/node_modules/@devicefarmer/minicap-prebuilt/prebuilt/noarch/minicap.apk" as "/data/local/tmp/minicap.apk"
2024-05-07T08:02:59.386Z INF/device:resources:service 2356 [INJV6XCMCYT8GAOF] Checking whether we need to install STFService
2024-05-07T08:02:59.436Z INF/device:resources:service 2356 [INJV6XCMCYT8GAOF] Running version check
2024-05-07T08:03:00.573Z DBG/device:resources:service 2356 [INJV6XCMCYT8GAOF] output of granting permissions to STFService: 
2024-05-07T08:03:00.574Z INF/device:resources:service 2356 [INJV6XCMCYT8GAOF] STFService up to date
2024-05-07T08:03:00.578Z INF/device:plugins:service 2356 [INJV6XCMCYT8GAOF] Launching agent
2024-05-07T08:03:01.006Z INF/device:plugins:service 2356 [INJV6XCMCYT8GAOF] Agent says: "Starting minitouch agent"
^C

@KishanDasani
Copy link

are you examining adb logcat logs along with stf?

@KingRat0011
Copy link
Author

Logcat reports this below

05-08 10:08:44.081 21948 21948 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
05-08 10:08:44.081 21948 21948 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt72l.dat
05-08 10:08:44.093 21948 21948 W ziparchive: Unable to open '/data/app/~~vEPpiTdsc_-_Ne-g65Qq0w==/jp.co.cyberagent.stf-BtB3tNpgmK_tP3Z0TvFZ2Q==/base.dm': No such file or directory
05-08 10:08:44.093 21948 21948 W ziparchive: Unable to open '/data/app/~~vEPpiTdsc_-_Ne-g65Qq0w==/jp.co.cyberagent.stf-BtB3tNpgmK_tP3Z0TvFZ2Q==/base.dm': No such file or directory
05-08 10:08:44.151 21948 21948 D ExtLoader: DEFAULT_DEBUG_DUMMY=false, DEFAULT_DEBUG_CREATE=false
05-08 10:08:44.155 21948 21948 D OplusTrace: register_android_os_OplusTrace
05-08 10:08:44.176 21948 21948 W libc    : Access denied finding property "ro.product.name_for_attestation"
05-08 10:08:44.177 21948 21948 W libc    : Access denied finding property "ro.product.brand_for_attestation"
05-08 10:08:44.177 21948 21948 W libc    : Access denied finding property "ro.product.model_for_attestation"
05-08 10:08:44.177 21948 21948 W libc    : Access denied finding property "ro.vendor.mtk.hbt_binfmt_misc_support"
05-08 10:08:44.177 21948 21948 W libc    : Access denied finding property "ro.vendor.mtk.app32_boost_support"
05-08 10:08:44.178 21948 21948 W libc    : Access denied finding property "ro.vendor.oplus.tango_binfmt_misc_support"
05-08 10:08:44.192 21948 21948 D AndroidRuntime: Calling main entry jp.co.cyberagent.stf.Agent
05-08 10:08:44.194 21948 21948 W libc    : Access denied finding property "ro.vendor.mtk.hbt_dyn_type"
05-08 10:08:44.195 21948 21948 D AndroidRuntime: Shutting down VM
05-08 10:08:44.283  1036  1066 D vendor.oplus.hardware.charger-V1-service: read content:,190,344,4441,4425,0,500,2200,100,100,1,4,-1,5056,100,0,1048704,1,1,0,0,4465,0,0,0,0,0,1,0,195,0,4,2,0,0,61,61,61,0,0,0,0,0,0,0,0,0,0,4,0,1,0,100,0,0,0,0,0,0,0
05-08 10:08:44.283  1036  1066 D vendor.oplus.hardware.charger-V1-service: , ret_value:160
05-08 10:08:44.283  1036  1066 D vendor.oplus.hardware.charger-V1-service: gmtime: 2024-05-08-10-08-44
05-08 10:08:45.042  2596  2596 W adbd    : timeout expired while flushing socket, closing
05-08 10:08:45.048 21948 21948 W RefBase : RefBase: Explicit destruction, weak count = 0 (in 0x72d1b76760). Use sp<> to manage this object.
05-08 10:08:45.059 21948 21948 D RefBase :   #00 pc 000000000010fd30  /apex/com.android.runtime/lib64/bionic/libc.so (__cxa_finalize+144) (BuildId: a87e89fc2c0a5753053f536add4d7ae1)
05-08 10:08:45.059 21948 21948 D RefBase :   #01 pc 0000000000101818  /apex/com.android.runtime/lib64/bionic/libc.so (exit+24) (BuildId: a87e89fc2c0a5753053f536add4d7ae1)
05-08 10:08:45.059 21948 21948 D RefBase :   #02 pc 000000000009615c  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: a87e89fc2c0a5753053f536add4d7ae1)
05-08 10:08:45.438  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:45.468  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:45.580  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:45.589 21997 21997 D ExtensionsLoader: createInstance(64bit) : createExtendedFactory
05-08 10:08:45.589 21997 21997 D ExtensionsLoader: Opened libguiextimpl.so
05-08 10:08:45.614 21997 21997 D AVStageFactory: Opened liboplusavenhancements.so
05-08 10:08:45.614 21997 21997 D AVStageFactory: createInstance(64bit): createVendorAVFactory success!
05-08 10:08:45.614 21997 21997 D AVStageUtils: Opened liboplusavenhancements.so
05-08 10:08:45.614 21997 21997 D AVStageUtils: createInstance(64bit): createVendorAVUtils success!
05-08 10:08:45.614 21997 21997 D OplusUtils: OplusUtils [89]: 
05-08 10:08:45.614 21997 21997 D AVStageUtils: createInstance(64bit): createVendorAVUtils success!
05-08 10:08:45.614 21997 21997 D OplusUtils: OplusUtils [89]: 
05-08 10:08:45.616 21997 21997 D AVMediaServiceFactory: Opened liboplusavenhancements.so
05-08 10:08:45.616 21997 21997 D AVMediaServiceFactory: createInstance(64bit): createExtendedMediaServiceFactory success!
05-08 10:08:45.616 21997 21997 D AVNuFactory: Opened liboplusavenhancements.so
05-08 10:08:45.616 21997 21997 D AVNuFactory: createInstance(64bit): createExtendedNuFactory success!
05-08 10:08:45.616 21997 21997 D AVStageFactory: createInstance(64bit): createVendorAVFactory success!
05-08 10:08:45.616 21997 21997 D AVStageUtils: createInstance(64bit): createVendorAVUtils success!
05-08 10:08:45.616 21997 21997 D OplusUtils: OplusUtils [89]: 
05-08 10:08:45.616 21997 21997 D AVMediaServiceFactory: createInstance(64bit): createExtendedMediaServiceFactory success!
05-08 10:08:45.617 21997 21997 D AVNuFactory: createInstance(64bit): createExtendedNuFactory success!
05-08 10:08:45.617 21997 21997 D AVStageFactory: Opened liboplusavenhancements.so
05-08 10:08:45.617 21997 21997 D AVStageFactory: createInstance(64bit): createVendorAVFactory success!
05-08 10:08:45.617 21997 21997 D AVStageUtils: Opened liboplusavenhancements.so
05-08 10:08:45.617 21997 21997 D AVStageUtils: createInstance(64bit): createVendorAVUtils success!
05-08 10:08:45.617 21997 21997 D OplusUtils: OplusUtils [89]: 
05-08 10:08:45.619 21997 21997 E app_process: createInstance(64bit) : createExtendedFactory
05-08 10:08:45.619 21997 21997 E app_process: createInstance(64bit) : createExtendedFactory
05-08 10:08:45.619 21997 21997 E app_process: Opened libsensorextimpl.so
05-08 10:08:45.619 21997 21997 E app_process: Opened libsensorextimpl.so
05-08 10:08:45.620 21997 21997 E app_process: createInstance(64bit) : createExtendedFactory
05-08 10:08:45.621 21997 21997 E app_process: createInstance(64bit) : createExtendedFactory
05-08 10:08:45.622 21997 21997 E app_process: Opened libinputextensionsimpl.so
05-08 10:08:45.622 21997 21997 E app_process: Opened libinputextensionsimpl.so
05-08 10:08:45.623 21997 21997 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
05-08 10:08:45.630 21997 21997 I AndroidRuntime: Using default boot image
05-08 10:08:45.630 21997 21997 I AndroidRuntime: Leaving lock profiling enabled
05-08 10:08:45.634 21997 21997 I app_process: Using CollectorTypeCC GC.
05-08 10:08:45.691  1036  1056 D vendor.oplus.hardware.charger-V1-service: parallel fold conf file parse fail parallel_fold_state 2
05-08 10:08:45.692  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:45.763 21997 21997 D nativeloader: InitDefaultPublicLibraries for_preload=1: libandroid.so:libaaudio.so:libamidi.so:libbinder_ndk.so:libc.so:libcamera2ndk.so:libdl.so:libEGL.so:libGLESv1_CM.so:libGLESv2.so:libGLESv3.so:libicu.so:libicui18n.so:libicuuc.so:libjnigraphics.so:liblog.so:libmediandk.so:libm.so:libnativehelper.so:libnativewindow.so:libOpenMAXAL.so:libOpenSLES.so:libRS.so:libstdc++.so:libsync.so:libvulkan.so:libwebviewchromium_plat_support.so:libz.so
05-08 10:08:45.777 21997 21997 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
05-08 10:08:45.777 21997 21997 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt72l.dat
05-08 10:08:45.788 21997 21997 W ziparchive: Unable to open '/data/app/~~vEPpiTdsc_-_Ne-g65Qq0w==/jp.co.cyberagent.stf-BtB3tNpgmK_tP3Z0TvFZ2Q==/base.dm': No such file or directory
05-08 10:08:45.788 21997 21997 W ziparchive: Unable to open '/data/app/~~vEPpiTdsc_-_Ne-g65Qq0w==/jp.co.cyberagent.stf-BtB3tNpgmK_tP3Z0TvFZ2Q==/base.dm': No such file or directory
05-08 10:08:45.802  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:45.844 21997 21997 D ExtLoader: DEFAULT_DEBUG_DUMMY=false, DEFAULT_DEBUG_CREATE=false
05-08 10:08:45.848 21997 21997 D OplusTrace: register_android_os_OplusTrace
05-08 10:08:45.869 21997 21997 W libc    : Access denied finding property "ro.product.name_for_attestation"
05-08 10:08:45.869 21997 21997 W libc    : Access denied finding property "ro.product.brand_for_attestation"
05-08 10:08:45.869 21997 21997 W libc    : Access denied finding property "ro.product.model_for_attestation"
05-08 10:08:45.870 21997 21997 W libc    : Access denied finding property "ro.vendor.mtk.hbt_binfmt_misc_support"
05-08 10:08:45.870 21997 21997 W libc    : Access denied finding property "ro.vendor.mtk.app32_boost_support"
05-08 10:08:45.870 21997 21997 W libc    : Access denied finding property "ro.vendor.oplus.tango_binfmt_misc_support"
05-08 10:08:45.884 21997 21997 D AndroidRuntime: Calling main entry jp.co.cyberagent.stf.Agent
05-08 10:08:45.886 21997 21997 W libc    : Access denied finding property "ro.vendor.mtk.hbt_dyn_type"
05-08 10:08:45.899 21997 21997 W libc    : Access denied finding property "vendor.display.disable_rounded_corner"
05-08 10:08:45.905 21997 21997 D OplusActivityManager: get AMS extension: android.os.BinderProxy@20d66cd
05-08 10:08:45.908 21997 21997 D AndroidRuntime: Shutting down VM
05-08 10:08:45.909 21997 21997 E AndroidRuntime: FATAL EXCEPTION: main
05-08 10:08:45.909 21997 21997 E AndroidRuntime: PID: 21997
05-08 10:08:45.909 21997 21997 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.os.MessageQueue android.os.Looper.mQueue' on a null object reference in method 'void android.os.Handler.<init>(android.os.Looper, android.os.Handler$Callback, boolean, boolean)'
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.Handler.<init>(Handler.java:264)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.Handler.<init>(Handler.java:257)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.Handler.<init>(Handler.java:162)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.TheiaSigprotector.initSigprotector(TheiaSigprotector.java:52)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.LooperExtImpl.initLoop(LooperExtImpl.java:65)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:349)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at jp.co.cyberagent.stf.Agent.main(Agent.java:69)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
05-08 10:08:45.909 21997 21997 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:379)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: Error reporting crash
05-08 10:08:45.910 21997 21997 E AndroidRuntime: java.lang.RuntimeException: Bad file descriptor
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.BinderProxy.transactNative(Native Method)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.BinderProxy.transact(BinderProxy.java:685)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.IServiceManager$Stub$Proxy.checkService(IServiceManager.java:443)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.ServiceManagerProxy.getService(ServiceManagerNative.java:63)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.ServiceManager.rawGetService(ServiceManager.java:378)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.os.ServiceManager.getService(ServiceManager.java:147)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.app.ActivityManager$3.create(ActivityManager.java:5217)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.app.ActivityManager$3.create(ActivityManager.java:5214)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.util.Singleton.get(Singleton.java:43)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at android.app.ActivityManager.getService(ActivityManager.java:5205)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:175)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066)
05-08 10:08:45.910 21997 21997 E AndroidRuntime: 	at java.lang.Thread.dispatchUncaughtException(Thread.java:2306)
05-08 10:08:45.910 21997 21997 I Process : Sending signal. PID: 21997 SIG: 9
05-08 10:08:45.911  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.055  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.187  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.305  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.423  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.551  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.679  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.828  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:46.947  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.060  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.174  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.287  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.427  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.547  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.663  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.780  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:47.895  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.023  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.147  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.263  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.383  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.507  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.618  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.747  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.859  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'
05-08 10:08:48.977  2596  2596 E adbd    : failed to connect to socket 'localabstract:stfagent': could not connect to localabstract address 'localabstract:stfagent'

@KishanDasani
Copy link

@KingRat0011 did you manage to get through this? is your device getting enrolled and working as expected now?

@KingRat0011
Copy link
Author

Nope still the same

@KingRat0011
Copy link
Author

Setting --screen-grabber minicap-bin solved this issue

[Unit]
Description=STF provider
After=adbd.service
BindsTo=adbd.service

[Service]
EnvironmentFile=/etc/environment
TimeoutStartSec=0
Restart=always
RestartSec=3
ExecStartPre=/usr/bin/docker pull devicefarmer/stf:latest
ExecStartPre=-/usr/bin/docker kill %p-%i
ExecStartPre=-/usr/bin/docker rm %p-%i
ExecStart=/usr/bin/docker run --rm \
  --name %p-%i \
  --link adbd:adbd \
  -p 15000-16000:15000-16000 \
  devicefarmer/stf:latest \
  stf provider \
    --name "%H/%i" \
    --screen-grabber minicap-bin \
    --connect-sub tcp://xxx:7250 \
    --connect-push tcp://xxxx:7270 \
    --storage-url https://xxxx/ \
    --public-ip xxxx \
    --min-port=15000 \
    --max-port=16000 \
    --heartbeat-interval 10000 \
    --screen-ws-url-pattern "wss://xxxxx/d/%i/<%= serial %>/<%= publicPort %>/" \
    --adb-host adbd
ExecStop=-/usr/bin/docker stop -t 10 %p-%i
[Install]
WantedBy=multi-user.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants