I want to setup my Verizon Samsung Galaxy S6 (stock/not rooted Android 5.1.1) so that the wifi-hotspot can be automatically enabled and disabled. I was able to set things up nicely with the Trigger app, except that the wifi-hotspot isn't actually enabled and disabled. I tried a few other apps that were unsuccessful as well.
Manually enabling works fine with the stock Mobile Hotspot button. Is there a way that an app can automatically enable/disable the wifi-hotspot with the default settings on this phone or does Android 5.1.1 or the Verizon modifications block this?
Update: This is the log of the WiFi Tether action of Tasker:
21.16.19/E current state: 1 21.16.19/E WiFi Tether: cur: false new: true 21.16.19/M lastWifiDisableAgoMS: 1452568579452 21.16.19/E check AP state 21.16.19/E AP state: 1 21.16.19/M lastWifiDisableAgoMS: 1452568579452 21.16.19/E current state: 1 21.16.19/E curval: 1 21.16.19/E WiFi: cur: false new: false 21.16.19/E wait for 200ms 21.16.19/E wait finished 21.16.19/E WiFi Tether: setWifiEnabled() 21.16.19/Mirror setWifiApEnabled: InvocationTarget: java.lang.reflect.InvocationTargetException, java.lang.SecurityException: ConnectivityService: Neither user 10278 nor current process has android.permission.CONNECTIVITY_INTERNAL. 21.16.19/E WiFi Tether: enable failed 21.16.19/E Action WiFi Tether failed.