Failed to bind superuser service switching 3g/4g

375 views
Skip to first unread message

jeroe...@gmail.com

unread,
Jun 16, 2016, 3:07:21 PM6/16/16
to Automate
Hello I have created a flow to switch to 3g during a phone call since 4g blocks data transfers during calls.

This works perfectly and even after the call is finished it switches back to 4g.

But it ends in an error causing the flow to stop:

2016-06-16 20:44:05.566 INFO 8@1: Flow beginning
2016-06-16 20:44:05.568 INFO 8@2: Call state?
2016-06-16 20:44:16.678 INFO 8@3: Mobile network preferred set
2016-06-16 20:44:16.708 FAIL 8@3: java.lang.IllegalStateException: Failed to bind Superuser service: a rooted device is required
2016-06-16 20:44:16.709 INFO 8@3: Stopped by failure

I have an s7 unrooted.can i force the flow to continue after the error?

Henrik "The Developer" Lindqvist

unread,
Jun 16, 2016, 5:35:03 PM6/16/16
to Automate, jeroe...@gmail.com
The Mobile network preferred set block only works on a rooted device.
For issue  with super user, please read:
https://groups.google.com/d/msg/automate-user/xMNgMjH4x_U/KhxYtEIJ3FcJ

Use the Failure catch block to continue in the event of failure.

Jeroen ski

unread,
Jun 16, 2016, 6:08:17 PM6/16/16
to Henrik "The Developer" Lindqvist, Automate
Hello Hendrik,

Everything works except for the failure after changing the preferred network setting. I see the network changing in the statusbar.  I tried the catch failure and even in combination with fiberstopped still the same error and the fiber stopped.

See flow below

Jeroen


Op do 16 jun. 2016 23:35 schreef Henrik "The Developer" Lindqvist <henrik.l...@gmail.com>:


Reply all
Reply to author
Forward
0 new messages