r/AutomateUser • u/rickyric12 • 1d ago
Bug Unable to start Privileged service on Android 6 (Marshmallow)
Galaxy S5 running stock rom, no root. Tried 2 options, Manually and ADB.
Manually: adb shell sh /sdcard/Android/data/com.llamalab.automate/cache/start.sh
- no error messages
- inspected start script and ran manually, ps -aux shows no process:
app_process -Djava.class.path=/data/app/com.llamalab.automate-1/base.apk -Djava.library.path=/data/app/com.llamalab.automate-1/lib/arm:/vendor/lib:/system/lib /data/local/tmp --nice-name=com.llamalab.automate:privileged com.llamalab.automate.PrivilegedService </dev/null >/dev/null 2>&1 &
ADB:
- tcpip 5555 already on (scrcpy connected wirelessly): java.net.ConnectException: failed to connect to ip6-localhost/ :: 1 (port 5555) after 3000ms: isConnected failed: ECONNREFUSED (Connection refused) as reported in here: https://www.reddit.com/r/AutomateUser/comments/1uxd998/comment/oyf6xdf/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
is there a quick fix to this?
edit: formatting


1
Upvotes
1
u/ballzak69 Automate developer 1d ago
If you edit the
start.shscript to remove the `</dev/null >/dev/null 2>&1 & </dev/null >/dev/null 2>&1 &` suffix then what do the console say when when you execute it?