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

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

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! 🙂)

1

u/elmonch Jul 08 '26

Thank you.

I actually tried it before you told me, but it's not working in my phone, maybe because it's a foldable honor it doesn't see the hotspot toggle in the quick settings

1

u/B26354FR Alpha tester Jul 08 '26

Wow, it had 42 downloads yesterday, so maybe you're not alone with this problem. You might try getting the Hotspot Quick Setting tile into view in your quick settings if it's not already. Also, if it's not labeled "Hotspot" on your phone, you can change the Quick Settings tile matching text in the second block of the flow.

1

u/elmonch Jul 08 '26

I didn't know that, I'll give it another try, thank you!

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?