by Justin Case
Tᴜʀɴs ᴏɴ WɪFɪ ᴀɴᴅ ᴇɴᴀʙʟᴇs "Hᴏᴛsᴘᴏᴛ" ғᴜɴᴄᴛɪᴏɴ ᴡʜᴇɴ Bʟᴜᴇᴛᴏᴏᴛʜ ᴄᴏɴɴᴇᴄᴛs ᴡɪᴛʜ Cᴀʀ Rᴀᴅɪᴏ ᴏʀ ᴀɴʏ ᴏᴛʜᴇʀ ᴅᴇᴠɪᴄᴇ.
Add your Bluetooth connection as a Trusted Device. Go to Settings / Security & location / Smart Lock /Trusted devices.
Hotspot tile must be visible in your "Quick Settings Menu" located by swiping down the statusbar
In case the Hotspot tile isn't visible:
- Swipe down the statusbar to expand.
- Tap the "Edit" button (most of all located at the top right) to customize the Quick Settings menu
- Drag the Hotspot tile to add it
Updates by: 𝕵𝖚𝖘𝖙𝖎𝖓 𝕮𝖆𝖘𝖊
- Added Notification Toast when Hotspot function is enabled
Based on this original flow by Jason Rumney:
Updates by Fran T:
o Now supports Android Oreo without root access! Thanks to Kevin for identifying the necessary lock screen UI element: https://groups.google.com/forum/m/#!msg/automate-user/ymNjrewtODg/akJgitYtCAAJ
o Added support for devices (like LG) which require Wi-Fi to be disabled before starting the hotspot
o Don't try to start the hotspot if mobile data is disabled
o Added handling for when the device is already unlocked
o Added positive re-locking for Android 9+
o Added a Variable Set block at the start of the flow to accommodate UIs where the text of the Hotspot tile is something other than "Hotspot"; if this is the case on your device, change the second block
Rate and review within the app in the Community section.