I've been using Tasker to turn on mobile hotspot automatically when I connect to my car's Bluetooth, so my headunit in the car can use the internet. Mobile Hotspot gets turned on fine, but nothing can connect to the hotspot until I unlock my S8. I will get "authentication errors" on anything I try to connect to the hotspot until the phone has been unlocked.
I can relock the phone afterwards and it still works, but it's obviously a pain having to take my phone out and unlock it every time (and kinda defeats the purpose of having Tasker turn the hotspot on). Is there some way around this?
I should add, this only seems to be a problem recently, since Oreo. Previously it worked without issue.
Go to settings - lock screen and security - secure lock settings - and uncheck the lock network and security. Should work, but I cannot test it since my phone is rooted. Good Luck
Related
Hi,
I am currently developing an application that would require to have hotspot activated, and, at the same time, perform wifi scans and connect to another wifi network.
The problem I am facing now is that when I call WifiManager.setWifiEnabled, it disables the hotspot, and when I call WifiManager.setWifiApEnabled (via reflection), it disables the wifi.
Are there hardware limitations that prevent from doing this? What do I have to do to succeed? Is this even possible? Has someone already done something like this?
Thank you,
>>>Aylatan
I found a workaround for the scanning problem, which is to disable the hotspot just the time for the scan to complete, and re-enable it after.
Unfortunately, this cannot be done for the wifi connection, as it will require much more time to proceed.
None has ever tried something like this ?
yea so recently my nexus wont keep the option to keep wifi on during sleep checked, everytime i pickup the nexus its gone back to "never" keep connected.
also, in the wifi advanced settings theres an options called "direct-wifi" it bring up peer devices,,,, is this a file sharing feature?
edit: ok "facepalm" a reboot seems to have solved the wifi-on prob., but still wondering what wifi-direct is
edit 2: found it Wi-Fi Direct
Android now supports Wi-Fi Direct for peer-to-peer (P2P) connections between Android-powered devices and other device types without a hotspot or Internet connection. The Android framework provides a set of Wi-Fi P2P APIs that allow you to discover and connect to other devices when each device supports Wi-Fi Direct, then communicate over a speedy connection across distances much longer than a Bluetooth connection.
NEW REPLY,
ok now its gone back to resetting to switch wifi off with screen off,
with this option constantly re-enabling itself will i be able to receive notifications while screen off?
FOUND ANSWER.
problem was a app called wifi-unlocker that i had given admin right to, it was for some reason shutting off my wifi with the screen off.....dont know why but uninstalled checked the box rebooted and now no issue
I update to the the latest firmware ( G935VVRS4APH1) and now my mobile hotspot does not work. I am not rooted or anything. I turn it on, it says checking subscription status, then says turning off mobile hotspot right away. Any ideas?
Have you subscribed to mobile hotspot?
I use FoxFi to use the hotspot app for free.
I'm pretty sure it's included - it only stopped working after the firmware update. I'll call Verizon if they have any ideas. I could reformat but I'd really rather not.
miketunes said:
I'm pretty sure it's included - it only stopped working after the firmware update. I'll call Verizon if they have any ideas. I could reformat but I'd really rather not.
Click to expand...
Click to collapse
They will probably ask you to reset. I'm guessing you don't have unlimited data, they make me pay to use the hot spot.
miketunes said:
I update to the the latest firmware ( G935VVRS4APH1) and now my mobile hotspot does not work. I am not rooted or anything. I turn it on, it says checking subscription status, then says turning off mobile hotspot right away. Any ideas?
Click to expand...
Click to collapse
I'm having this issue as well after upgrading to the latest firmware. When I enable the hotspot, I get the same "checking subscription status" message, it turns off my wi-fi, then turns off the hotspot and gives me the "turning off hotspot" message. It also does NOT turn my wi-fi back on; I have to do that manually and sometimes multiple times to get it active.
I spent a while on the phone with Verizon yesterday trying to get it fixed, and in the end was told to do a full factory reset. I did that and had the hotspot working briefly, but then it stopped again. I sure hope there's another option for fixing this besides a full factory reset. It's painful reconfiguring my phone back to the way I like it.
---------- Post added at 01:38 AM ---------- Previous post was at 12:55 AM ----------
Well, believe it or not I think I've found the culprit. By default, both Wi-Fi and Bluetooth are enabled for scanning for nearby devices. On my phone, with Wi-Fi turned off, I could see the Wi-Fi icon flicker briefly each time a scan was performed, and I had a suspicion that it was triggering the hotspot to shut down. In the System Settings menu, when you select the "Wi-Fi" option, there's a link below the on/off switch that takes you to a menu where you can selectively enable Wi-Fi and Bluetooth for nearby scanning. When I disabled Wi-Fi, my hotspot feature started working properly and even automatically re-enabled Wi-Fi when I turned off the hotspot.
I can no longer get to the menu to re-enable Wi-Fi scanning, unfortunately, so I can't truly verify that it's the cause of the issue. But my phone is working normally now, so I'm happy.
EDIT: I've now spent a couple of hours with both Samsung and Verizon attempting to get them to reproduce the issue I'm having with the inability to get back to the menu where you can discretely control wi-fi and bluetooth scanning and they are apparently unequipped to do so. How these folks can support this phone without having one available to test with is beyond me. Well, actually, they're not doing a very good job supporting it, so I guess that just proves my point.
Your the man! It fix my phone. This is after I spent a useless hour on the phone with Verizon and they had me do a factory restore, which of course, did not fix it. Disabling WiFi scanning did it.
I know this is not exactly Android head unit topic but it's closely related to using the device.
So here's what's going on. When I manually turn on wifi tethering (Hotspot) on my phone (NOA H10, 7.1.1 nougat), device (head unit) connects to it as it should, and everything works.
On the otherhand when I use tasker, or any other app to trigger wifi tethering on Bluetooth connection, the hotspot turns on but device can't connect to it. I get obtaining IP address issue, and when I set to static IP it connects for a few seconds and then drops the connection. It's really frustrating because I know it can work.
I know l can always turn the hotspot on manually when I get into the car but I want it to be automatically turned on when Bluetooth connects to my unit.
Anyone else has/had this kind of issues? Any ideas/solutions?
AFAIK most of these units don't support bluetooth tethering at all. Not really sure if any do at all.
Sent from my iPhone using Tapatalk
I'm not talking about bluetooth tethering.
Ok I get it, trigger wifi on bluetooth connection with the triggering attempted on the phone side.
I have 0 experience with android phones but I know my iphone will never allow a connection (to anything) unless you open the hotspot setting manually. When I do that my units all automatically connect.
Sent from my iPhone using Tapatalk
I use Macrodroid app to activate the hotspot when muy phone is conected by bluetooth, and all runs ok
I tried macrodroid. Same thing as the other apps. It turns on hotspot but can't connect to it.
So here's the SITREP, when I use connected to a bluetooth device trigger without specifying a device, the hotspot works. Only if variable, device name and/or mac address is specified the device will not connect to hotspot.
Install and use this plugin
Doesn't work. But I managed to get it work with secure settings and touch task plugins.
Tux2609 said:
Doesn't work. But I managed to get it work with secure settings and touch task plugins.
Click to expand...
Click to collapse
Can you elaborate please? I'm also having this EXACT same issue.
Thanks.
jks8496956 said:
Can you elaborate please? I'm also having this EXACT same issue.
Thanks.
Click to expand...
Click to collapse
I'm using secure settings and touch task Tasker plugins to simulate manual hotspot toggle. When my phone connects to my headunit it triggers screen on then screen unlock to unlock the phone, then quick settings (drop down) menu and finally touch on hotspot tethering icon. Same command is executed on Bluetooth disconnected status.
Trying to get internet access on my head unit without paying for a hotspot. I'm aware of PDANet and have used it, but it's sometimes unreliable to get a connection at first and requires restarting it several times. I'm looking for a more automatic solution that will connect as soon as I start the car. Any advice?
I bought a Huawei E8372 LTE stick. It provides both a WiFi access point and a USB ethernet interface that works with my Eonon GA9498B, so I basically disabled the WiFi entirely for the time being. Setting up the stick can easily be done by inserting the SIM card, plugging it into your computer, navigating with your browser to the IP address mentioned in the manual; it's advisable to deactivate the SIM PIN so the stick can just boot and establish the mobile connection without having to enter the PIN every time you turn off and on your car. Boot time for the stick is 20-30s max, so the connection is basically already available as soon as the radio's main screen appears.
Just watch out: I haven't yet found a possibility to mark the ethernet connection as metered in Android, so apps which have different data transfer behavior depending on whether you're on a WiFi or a mobile connection will go on full data blast mode if you don't tell them not to. Take Spotify, for example: If you have marked songs for download, the app will synchronize all changes right away via the LTE connection, even if you've configured Spotify to only do that on WiFi connections. So what I do is putting Spotify in offline mode by default, and only change that when I'm at home and the radio is connected to my WiFi (which luckily takes precedence over the USB-ethernet connection). Same goes for my HERE WeGo offline maps: I configured it to download them manually, so it only checks for map updates and notifies me, and I can download them when I'm home. Google Maps is pretty spare about its data usage anyway, so no need to change anything here. I also disabled automatic updates in Play Store, so it just notifies me of available updates which I can then install when I'm back home.
This COULD be avoided by activating the stick's WiFi hotspot, connecting the radio via WiFi and then, in Android's data usage settings, mark the WiFi network as metered. I tried that once, and it wasn't all too reliable - Android keeps forgetting these settings irregularly (the WiFi is shown as metered in Android's settings after I changed that setting; will stay like that for a while whenever I take a look again; and at some indeterminate point will show "Automatic" again, which means it's being treated like your cable router in your living room again) and doesn't tell you so at all, so apps might first behave correctly (i.e. like they're using mobile network), and later recognize their environment as being in an unlimited WiFi network and download everything they do in the background, eating up your mobile data. Thus I rather control each app's settings in this regard manually.