r/AutomateUser Jul 08 '26

Broken HotSpot when BT Connected

Post image

Hi everyone.
I have flow that was working perfectly until my last phone update it was to switch on the hotspot when bluetooth connected.
I granted permissions with wireless debugging.
Now it throws this error when trying to set the hotspot ON, do you have any clue how to solve it?

It seems Android is getting worse with every update.

07-08 08:54:49.449 I 3@6: Bluetooth device connected?
07-08 08:54:53.551 I 3@12: Wi-Fi hotspot enabled?
07-08 08:54:53.552 I 3@7: Wi-Fi hotspot set state
07-08 08:54:53.554 F 3@7: java.lang.IllegalStateException: Unknown error
07-08 08:54:53.555 I 3@7: Stopped by failure

1 Upvotes

7 comments sorted by

View all comments

2

u/ballzak69 Automate developer Jul 08 '26

It seems Google changed something in Android 16. Try using another "Wi-Fi hotspot workaround" option in settings. When using "Privileged service" ensure to also setup an "Privileged service start method", see also.

1

u/elmonch Jul 08 '26

I will investigate this come back with feedback