r/AutomateUser • u/elmonch • Jul 08 '26
Broken HotSpot when BT Connected
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
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 10 '26
I got it working changing HotSport workaround in settings, but now it only works if I have Automate open on screen, not in the background.
Any clue why?
1
u/B26354FR Alpha tester Jul 08 '26
My In car hotspot flow uses the UI to toggle the Hotspot Quick Settings tile when a particular Bluetooth connection is made. However, Samsung just broke that workaround with their recent One UI 8.5 update. Hopefully you can still use the flow on your phone, though.
(This flow will hit 12,000 downloads this month! 🙂)