Hi,
My phone's screen has broken, so until my digitizer gets here, I need help starting the native hotspot app. I'm trying to run it via the adb shell with am start, but I don't know and can't find the app's package or main intent. Can someone please let me know (using log cat or any other means) what intent is started when pressing the native hotspot app icon. Thank you!
Related
First of all, if your watch doesn't have wifi then this guide is not for you. This guide while it tries to go more into details, it requires some previous knowledge of using console commands.
According to the official google website. [1]
Not all watches have a Wi-Fi feature. Try using the directions below to connect to Wi-Fi. If you don’t see Wi-Fi settings under “Settings” on your watch, Wi-Fi is not available on your watch.
When your watch uses Wi-Fi, the “Open on phone” feature is disabled.
Your watch can’t connect to Wi-Fi networks that use captive portals, which are web pages you have to visit before connecting.
Click to expand...
Click to collapse
There is a way to bypath that limitation by installing Android version of firefox on your watch. However, its not enough to just install firefox. You also need to change lcd density parameter to make UI fit on the tiny screen AND you'll need some sort of keyboard to be able to input characters into firefox.
You will need to download tools to be able to connect to your watch.
1. [TOOL] [WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.2
Your watch needs to have USB debugging enabled. Follow this youtube guide. Since UI is the same on all android wear, this method will work on all android wear watches. Note that the person in the video has a Mac. So the console will be different. On windows you just fire up the cmd. You can ignore the Android SDK and Eclipse stuff she is doing as we don't need it for this.
2.
This tool has a list of supported devices, but since we are going to be using only one function of it, you can probably get away with picking the wrong android wear watch from the list.
3. Download [TOOL] WinDroid Universal Android Toolkit v2.4 | Unlock | Root | Flash | 90+ Devices
From previous steps make sure your watch is connected and the WinDroid tool is able to detect it. If all is good download APKs and then in WinDroid go to "Commands" tab and click on "Install App". Find your firefox and minuum wear apk files. Install both of them by installing one at a time.
Once apks are installed you need to open cmd terminal and type some commands:
To make keyboard work you need to type
Code:
adb shell ime enable com.whirlscape.minuum/.MinuumKeyboardService
And then
Code:
adb shell ime set com.whirlscape.minuum/.MinuumKeyboardService
To make firefox UI more usable, we need to change the LCD density.
In the same terminal first type
Code:
adb shell
then
Code:
cat /system/build.prop | grep "lcd"
You will then see something like this on the screen
Code:
ro.sf.lcd_density=280
Write down this value and keep it save in case you want to restore to normal LCD density.
To change density type
Code:
wm density 200
It will immediately change LCD density on your watch. Everything will become smaller. I recommend that you enable "Large Font" in Accessibility menu on your watch to make the font size bigger.
Now try connecting to the public wifi on your smartphone. Wait a few seconds for information to sync with your watch. Disable bluetooth on your phone and your watch should automatically try to connect to wifi hotspot. Alternatively you can select wifi AP from a list of wifi on your watch without needing to use your phone. You will still need to disable bluetooth on your phone though.
Finally, fire up firefox on your watch, try to go to any website. The captivity webpage of your public wifi will show up and just press accept/I agree/etc as you normally would. After that you can close firefox by swiping to the right. I recommend you install task manager for android wear to be able kill firefox from memory. And try not to leave firefox or wifi open for too long as it will drain your battery really quick.
Now sit back and enjoy your wifi sync over the public wifi hotspot connection.
This lets your watch and phone to automatically stay synced at any distance over the Internet.
Click to expand...
Click to collapse
Here how it all looks on my watch.
Sadly video doesn't start, it just keeps on buffering.
That's a great effort. I'm happy to report that we now have a much easier option by using wear browser.
I posted my experience with it here.
sirrelevant said:
That's a great effort. I'm happy to report that we now have a much easier option by using wear browser.
I posted my experience with it here.
Click to expand...
Click to collapse
Yea, it does seems easier. However, I am thinking of writing a tiny program that would attempt to automatically click on "I accept/Connect" button. Not sure how to approach this problem quite yet, as there are so many different captive portals and some might have multiple checkboxes and buttons. Also, a program that would allow you to connect to wifi AP with a password without phone.(Its possible with es filemanager)
If you connect to an open wifi on your phone then your watch auto connects, but you use a VPN on your phone for security the watch is still using everything un encrypted right?
frigidazzi said:
If you connect to an open wifi on your phone then your watch auto connects, but you use a VPN on your phone for security the watch is still using everything un encrypted right?
Click to expand...
Click to collapse
It only connects to wifi when bluetooth is turned off or your phone is our of range. But, yes, you are correct. VPN will only encrypt phone's traffic since the watch will directly connect to wifi AP. So, you would need to run a separate VPN client on the watch.(which might be not possible atm)
Sorry to bring up an old thread but I am wondering if this still works with the very latest version of Android Wear 2?
I have a Huawei watch 2 and need to get onto a WiFi network (at work) that requires you to hit a confirm button on a webpage the first time you login. Can't seem to get it working on the watch.
mupet0000 said:
Sorry to bring up an old thread but I am wondering if this still works with the very latest version of Android Wear 2?
I have a Huawei watch 2 and need to get onto a WiFi network (at work) that requires you to hit a confirm button on a webpage the first time you login. Can't seem to get it working on the watch.
Click to expand...
Click to collapse
The last time I tried it on Huawei watch 2, when I still had it it also didn't work. They probably removed some system libraries in wear 2.0 and broke all of those apps.
Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
In Settings, got to WiFi, press the menu button in the top right and there should be an Advanced settings section or something similar (sometimes varies based on ROM/Language). Then untick the Avoid poor connection option. This should resolve your problem. If not, you may not have the correct firmware for 5.1.1
I already have Avoid poor connections unchecked. Any other way to fix this?
Does anyone have any ideas? Any help would be appreciated. Thanks
Try disable mobile data before connect to wifi, maybe this way should help
Sent from my A0001 using Tapatalk
viper134 said:
Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
Click to expand...
Click to collapse
I have the EXACT same problem - it really does happen because you're in China and the method of internet access testing is through Google servers blocked in here.
I'm still trying to figure out how to disable the test or maybe reroute the destination.
It would definitely be a temporary solution to make the VPN active 24/7 if you put it on the router instead of on the phone / computer etc.
Let us know if you find a solution!
Itai
this was a very popular and general problem for every Chinese user with google service device.
you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect.
the easiest way is to use an APK developed by Chinese to have all these things done in a click.
search NoExclamation Portal Server 1.5
+1
syzkk said:
this was a very popular and general problem for every Chinese user with google service device. you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect. the easiest way is to use an APK developed by Chinese to have all these things done in a click. search NoExclamation Portal Server 1.5
Click to expand...
Click to collapse
came here with a google search. this problem is generic to later android versions. i'm on cyanogenmod 12.1 which is i gather is android 5.1.
looking at DNS logs, it tries to access: http://connectivitycheck.android.com - which redirects to google and fails as it's blocked by the GFW.
just downloading the chinese apk to fix it... the link to it i found is: http://m.hiapphere.com/apk-org.foxteam.noisyfox.noexclamation
EDIT: so now got noexclamation the app running, but not sure it's doing anything. UI is in chinese, not sure what options to deal with and how. anyone have success with it?
EDIT2: it's like this: install the app. leave it at defaults where it's using the developers website for connectivity check. toggle it ON if it's not already (i believe needs root). reset network settings by toggling airline mode ON/OFFl. you're good.
however - conceptually better fix would is to take the "feature" OUT, not alter the server that it's checking the accessibility of. from the chinese thread, i gather this will get done by:
su
settings put global captive_portal_detection_enabled 0
this seems to survive reboot as well. problem solved, end of monologue!
Hey there,
I am trying to find a Location Tracking App for my android (Samsung Galaxy S6) to be able to find the location in case the phone gets lost.
Which App is best for localizing via GPS and/or mobile data connection?
Would it be able to let the app run in the background continuously? (and hide it in the app draw)
Could you move the app to the system app folder, so it won't get removed by a data wipe?
And is it possible to send SMS commands to the phone to turn on the mobile data connection and/or GPS?
Can you hide the turn off menu (that appears when you hold the power button while being on the lock screen) ?
Lots of questions, there might be an easier solution but i'm looking forward to getting help
Greets Jo
when I connect to a captive wifi, I want to use the connection as is (maybe I want to login without telling google - since the builtin authenticator uses their gstatic domain, or maybe I want to probe the network as it is being redirected, or maybe I just want firefox to manage my password to the portal, etc)
but after I select "use wifi as is" on the android webview builtin auth screen, android starts to route all and every traffic to my 3g/4g data connection instead, until I disable and re-enable wifi.
it will only ever redirect traffic to wifi after it successfully got the correct 204 from gstatic.com
is there anyway to work around this?
I am on android6, but I think I has always been like that.
gcbxda said:
when I connect to a captive wifi, I want to use the connection as is (maybe I want to login without telling google - since the builtin authenticator uses their gstatic domain, or maybe I want to probe the network as it is being redirected, or maybe I just want firefox to manage my password to the portal, etc)
but after I select "use wifi as is" on the android webview builtin auth screen, android starts to route all and every traffic to my 3g/4g data connection instead, until I disable and re-enable wifi.
it will only ever redirect traffic to wifi after it successfully got the correct 204 from gstatic.com
is there anyway to work around this?
I am on android6, but I think I has always been like that.
Click to expand...
Click to collapse
Do you have any kind of Linux ide? Have you tried making a tunnel?
Or is that what your looking for. I'm not 100% sure what your looking for. If your trying to skip Hotspot authentication? Or anything like that Then a tunnel would work fine.
Sorry I can't be of much else help
If your phone is rooted or has a custom ROM (Which would obviously indicate that the phone is rooted), there is a solution that you can try using a terminal (Or ADB shell).
Issue the command: "settings put global captive_portal_detection_enabled 0" That should prevent captive portal detection and gstatic confirmation. This should work, I haven't tried it personally though.
Additionally, you can setup a captive server.
Issue the command: "settings put global captive_portal_server g.cn"
Restart your phone, and you should have access to the pages.
Basically, connecting as is, requires you to reach a site that does not require 204 confirmation and afterward other sites should be accessible. Let me know if this helps.
Josh Ross said:
If your phone is rooted or has a custom ROM (Which would obviously indicate that the phone is rooted), there is a solution that you can try using a terminal (Or ADB shell).
Issue the command: "settings put global captive_portal_detection_enabled 0" That should prevent captive portal detection and gstatic confirmation. This should work, I haven't tried it personally though.
Additionally, you can setup a captive server.
Issue the command: "settings put global captive_portal_server g.cn"
Restart your phone, and you should have access to the pages.
Basically, connecting as is, requires you to reach a site that does not require 204 confirmation and afterward other sites should be accessible. Let me know if this helps.
Click to expand...
Click to collapse
no root on the phone (damn blackberry priv) and no control of the portal.
this is so infuriating. This is trivial, banal even, on any device i control. Feel like a kid on training wheels every time i touch my phone.
Hello,
I need little help to make my own, first command in tasker app.
I currently use tasker with command "Turn Off Bluetooth If No Device Connected" [LINK TASKER].
Recently, I have been using the NFC module a lot for the purpose of identity verification (electronic ID card). I always forget to turn them off after using NFC. I think that the command I use for bluetooth may be the same to create a similar one for NFC. It would be great if I could do functions in one command, that NFC turns on when I use the application and turns off when not in use (or when I don't use the application).
I wouldn't like to get into trouble by creating a wrong command, so I'm asking You for help / verification of the command code itself.
Assumptions:
1. If I turn on the XYZ application -> turn on the NFC module.
2. If the NFC module isn't used -> turn off after XYZ minutes of inactivity // or // turn off if I turn off the XYZ applications (we can make two conditions running in parallel in one command?)
Today or tomorrow I will post what I wrote so far so that you can assess / check if there are mistakes
I think that there is it no built in variable for NFC activity.
you can trigger the NFC by Application profile. You may use the "services" button, to make sure that the exit condition will not run while the process is still running.