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.
Related
Hello,
I have bought a HTC Medialink HD to show my Familie my Holiday Pictures.
The Firmware is: 5.19.100....
I read a lot if articles before evertime I read that it will be possible to present your stuf via dlna from all your devices.
Today I connected everthing and went on 192.168.3.1 and try to setup my WIFI but no way to do so, i get everytime an internal error,
I have used 2 different AP but no way.
Im also not able to use the internal AP from the MediaLink if i try to show some videos with the Wi-Fi Media App there is no device listed.
I'm not sure but it feels that my device is Broken....
I have no HTC device to test the 3 finger wipe but I'm more or less sure that this will also not work.
Is there a way to upgrade the firmware via USB?
Or did I make something wrong?
BR
Lars G. :cyclops:
Same here...
Anyone with a solution?
luisant said:
Same here...
Anyone with a solution?
Click to expand...
Click to collapse
Same situation here also. I am able to connect my HTC phone using 3-finger guesture; however, whenever I try to connect my Nexus7, I get stuck at the point where I need to choose the Wi-Fi on 192.168.3.1. My Wi-Fi connection is not on the list. Even if I try to enter manually and click on "Save", it always says "Update Failed/Internal Error".
Is there any setting that must be done to the router?
grimble
jomos said:
Same situation here also. I am able to connect my HTC phone using 3-finger guesture; however, whenever I try to connect my Nexus7, I get stuck at the point where I need to choose the Wi-Fi on 192.168.3.1. My Wi-Fi connection is not on the list. Even if I try to enter manually and click on "Save", it always says "Update Failed/Internal Error".
Is there any setting that must be done to the router?
Click to expand...
Click to collapse
Hom, seems like an Firmware Error. Any Idea were/how to get the old firmware or hack this crap...
Honestly, I guess the best would be to quickly sell this thing and get a Chromecast as soon as it is in stock again.
Will do mostly the same and is cross-compatible with your future android phone and your Chrome browser.
Plus, it's very cheap ^^
luisant said:
Honestly, I guess the best would be to quickly sell this thing and get a Chromecast as soon as it is in stock again.
Will do mostly the same and is cross-compatible with your future android phone and your Chrome browser.
Plus, it's very cheap ^^
Click to expand...
Click to collapse
Problem is... it is not available in germany... and importing is expensive... narf
ingrim said:
Problem is... it is not available in germany... and importing is expensive... narf
Click to expand...
Click to collapse
Not yet, but I guess the chances that google will sell it in Germany or at least in AT/CH are not bad.
There is even a landing page on google play DE for it:
https://play.google.com/store/devices/details?id=chromecast
luisant said:
Not yet, but I guess the chances that google will sell it in Germany or at least in AT/CH are not bad.
There is even a landing page on google play DE for it:...
Click to expand...
Click to collapse
Hope so
I picked one up from AT&T store at a very affordable price but encountered the same "internal error" issue when I tried to connect this little box with my home Wi-Fi network. After a few days of researching, a forum in Taiwan provided some workaround and here is the steps to connect your HTC Media Link HD (HMLH) to your Wi-Fi network and enjoy DLNA support as well.
1. Reset (HMLH) by pressing the reset button for more than 5 seconds
2. You must grab a phone with Sense 4.0+ (will not work with Sense 5+ or above)
3. Connect your phone with Sense 4.0+ to your local network first
4. Perform the 3 finger swipe up action from your sense page
5. Complete the set up process
6. Wait for 5 minutes then connect to the Wi-Fi network that you named during the set up process from another laptop with network password 1234567890HTC
7. Open browser and type 192.168.3.1
8. HMLH automatically picks up your home network without entering the security key
9. Exit the mirroring mode from your Sense 4+ phone by swiping 3 fingers down
10. The TV screen should show that HMLH is connected to your Wi-Fi network
ok, so here is another easy solution for the internal error with the HTC Media Link HD (DG H300)
1. Firmware version on device after update: 5.52.103.1
2. Connect device to TV
3. Press reset button on device for 5 seconds to reset
4. After reset device will show Default Name on TV screen
5. Turn on WPS config on your router, either through Router admin UI or by manually pressing WPS button (WPS = Wi-Fi Protected Setup)
6. Press once the reset button on device (you need to do this within 2minutes of pressing the WPS button on router)
7. Device will automatically go to configure screen, progress bar will indicate configuration
8. The medialink HD device will now be connected to your WiFi network through your router
I don't have internet at my location, so I have to use my phone as a tether. When I run Pdanet, I have to run it with level 1 hidden usage or T-Mobile will pop up saying I've run out of hotspot data. However, if I try to view Netflix with hidden usage, I get message 51 saying my computer isn't compatible. Is there a workaround for this that I'm not aware of?
Edit: I'm using a crappy MyTouch 4G for the phone and my computer is Windows 7, browser is Chrome.
I'm having the same/similar issue. It takes me directly to the page that lists the system requirements to watch Neftlix instantly. Obviously this is caused by whatever method PdaNet+ uses to hide the tether usage (it works fine if I use WiFi).
It's my guess that the problem lies with Microsoft Silverlight, because when I go to the webpage to install/update Silverlight, it just hangs and the url string in the browser ends with "?reason=unsupportedbrowser&_helpmsg=NoKnownBrowser.mozilla#sysreq"
I've tried a couple different user agent switchers to no avail. I can use the WiFi Share option on PdaNet or a similar separate program (or connect directly with PdaNet and BT) and watch Netflix on my tablet just fine, but the Android app for Netflix doesn't use Silverlight.
Planterz said:
I'm having the same/similar issue. It takes me directly to the page that lists the system requirements to watch Neftlix instantly. Obviously this is caused by whatever method PdaNet+ uses to hide the tether usage (it works fine if I use WiFi).
It's my guess that the problem lies with Microsoft Silverlight, because when I go to the webpage to install/update Silverlight, it just hangs and the url string in the browser ends with "?reason=unsupportedbrowser&_helpmsg=NoKnownBrowser.mozilla#sysreq"
I've tried a couple different user agent switchers to no avail. I can use the WiFi Share option on PdaNet or a similar separate program (or connect directly with PdaNet and BT) and watch Netflix on my tablet just fine, but the Android app for Netflix doesn't use Silverlight.
Click to expand...
Click to collapse
What I've been doing to circumvent this is disable hiding tether usage when I click on a show/movie to watch, but then I turn the hiding back on as soon as the page loads, so it doesn't use USB tether info for the loading of the video.
ThunderOrb said:
What I've been doing to circumvent this is disable hiding tether usage when I click on a show/movie to watch, but then I turn the hiding back on as soon as the page loads, so it doesn't use USB tether info for the loading of the video.
Click to expand...
Click to collapse
And that doesn't use up the Mobile Hotspot allotment?
Planterz said:
And that doesn't use up the Mobile Hotspot allotment?
Click to expand...
Click to collapse
If it does, it's no more than loading a normal page. I switch back over to hidden as soon as the "loading circle" shows up on the screen. Before it gets to the red page with the long loading bar. (If that makes sense.)
In other words, I have never used up my mobile hotspot allowance by doing this and I've been averaging about 50gigs of data a month. It WILL use up your hotspot allowance if you leave it unhidden. I learned that the hard way my first month.
Very cool. Depending on the time of day I get 25-40+ Mb/sec download speeds at my apartment (there's T-Mobile antennae on the roof), and with PdaNet, I don't need home internet. But trying to get Netflix to work was frustrating the crap out of me. Even spent an hour talking with a higher-level tech support guy and he couldn't figure out the problem either. Tried Chrome/Iron, Firefox, and IE. Uninstalled/reinstalled them all, Silverlight, etc.
I really wonder how PdaNet hides the tether usage. It's not a user agent switcher, because you can go to websites that detect your system, and they identify my set-up exactly.
Now that I know how to get it to work and not drain my Hotspot, the only question is do I start with "24" or "Buffy the Vampire Slayer"?
I know this thread is very old but i had to share what i experimented yesterday. I have Windows 8 in my PC and downloaded the Netflix app from the Marketplace. PDANet seems to work flawlessly with the Netflix app.
The Non-Root Nougat Guide for the Sprint S7
You need stock Nougat on your device. There are several ways to achieve this:
1. OTA Update2. Install the firmware via ODIN from Sammobile; Updato
Why Most People Root
1. Ad Blocker
2. Hotspot Hack
3. Youtube Ad Free
4. Remove Bloatware
5. Xposed (not right now)
6. Other tips/tricks
7. Credits
Here my tips and tricks for getting this Root feel, but keeping the stability of stock.
1. Ad Blocker
This are local hosts, meaning that your info doesn't go to a random server and then come back to you. It stays on your device for your eyes only!
1. DNS66 This one uses a hosts file, just like adaway for those of you who used it while rooting. Since everything is done via a local DNS, you the battery life it is the same as adaway, non-existent! Given that it only blocks entire host names, it cannot block as detailed as some other ad blockers. However, I haven't seen any ads in apps or browsers and no battery hit either! Just make sure the hosts files have a red dot next to them and you have to refresh before activating. Will still block ads on device even when tethering! Great support too!
2. Ad Guard. Good ad blocker. Runs everything through a VPN though, which comes at a battery hit. This one also comes with a price tag! Offers Youtube Ad Blocking, but you must enable their DNS, which puts your information to their servers and then back to you...this blocks ads about 50% of the time. Good support too!
3. Adhell Uses Samsung Knox to block ads and trackers. Blocks most things on webpages and apps (no youtube), but saves a ton a battery since it doesn't require VPN. Not as good as blocking as the first two, but does work a little. Just my opinion though. Also, it is FREE!
4. Disconnect Pro Similar to Adhell, but a paid app,but can be found for free during sales. Search the Galaxy App Store to buy it. Uses Samsung Knox too.
5. AdClear. Some have had success with this, I've had mixed results.
6. BlockThis! Works well, but caused issues on some webpages.
As with all of the above, you will need to whitelist some apps for them to work properly. Like, AdHell and Disconnect have the Google Play Music bug. If you find an app is using a ton of battery, it may need to be whitelisted...usually, google apps have this problem.
2. Hotspot Hack
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/showthread.php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
3. Youtube Ad Free
1. Youtube in the background, downloading, and so far ad free Youtube can be achieved with OG Youtube. Read the OP and also install this apk found in post 5592 It doesn't say, but in combination with DNS66, I haven't seen any ads after installing this and disabling the old Youtube. It will occasionally ask you to update and just hit Later.
2. If you want to use the original Youtube app, this doesn't block ads, but it does silent and auto skip them. Cygery
3. Use an VPN to route your data somewhere and back. It isn't 100%, but AdGuard offers this type of service. I believe Block This and AdClear may too.
4. Remove Bloatware
This is probably the biggest difference between root and non-root. They are all installed with the same apps. With root, you can delete the system apk or, with root and non-root, you can use a package disabler, you can disable unwanted apps. The problem is that occasionally you will disable or delete something that will cause a chain reaction leading to boot loops or excessive battery drain.
I find it best to go to the application manager and manually disable or uninstall through it. This way, the system will know what's there and what isn't...no surprises. You can uninstall the Sprint crap like TV, Tech Support, Fun and Games, Family Locator...basically every Sprint app except for voicemail. Not disable, but uninstall them completely!
You can disable the following (probably more, but I must be using them): Amazon; Kindle; Facebook; Instagram; Lookout; Messenger; Prime Stuff; S Health; S Voice; Samsung Gear; Youtube (remember the tip above); some of the Google Play apps like Movies and TV; probably more too, but I must actually use those apps.
I'm sure there are some that I'm missing too....I remember uninstalling some weather app too.
The point is that Nougat seems friendlier in terms of uninstalling or disabling software compared to Marshmallow.
5. Xposed (not right now)
Not available for Nougat at the moment. But this update is really customizable!
6. Other tips/tricks
1. Skip Tracks With Volume Keys
1. Frinky Music Controller Allows you to skip tracks with screen off.
2. Noyze Not sure if still being developed, but works. Let's you skip tracks by long pressing with screen off.
Doze Related
Remember to whitelist apps you want running in the background...like Pandora, Google Music, etc. I would leave them off at first and if it cuts off when the screen is off, you need to white list it.
I haven't used these apps in Nougat as the new doze seems fine, but to each his own:
1. ForceDoze puts your phone into doze mode without the motion detectors and 30 minute wait. Great app! Does require you to install adb (adb installer) since you have to run a command to get it to run properly. Check Disable motion sensing and turn off while charging
2. Greenify The auto hibernation works great if we had root, but we don't. It works, but can be extremely annoying at times and can drain battery because it may continuously try to force stop/close an app you greenify. Plus, it will take a few seconds to re-unlock your phone immediately after you turn off the screen. However, I use it with force doze for the aggressive doze. I saw a difference in battery life by using them both. Still need to adb a command
Other Tips
Besides the obvious of gmail/facebook/whatspp/twitter/snapchat syncing
1. Turn off wi-fi scanning
2. Back up my data for Samsung and Google under back up and reset
3. Turn off some features under advanced features in settings...for example, palm swipe to capture if you never use it
4. Location History under Location
5. Change locating method...I leave mine on GPS, wi-fi, mobile, but some people want more battery life and turn it off.
6. Turn on developer options and change animations to 0.5
7. Turn off Always on Display under settings > display. I like it, so I leave it on...but takes about 2% an hour
7. Credits
These people did all of the hard work:
@YMNDLZ -- Download link
@julian_klode -- DNS66
@ paul2112 -- Hotspot Fix
@ cygery -- AdSkip
@ OGMods -- OG Youtube
@resident77 -- OG Youtube Fix
@ ssrij -- ForceDoze
@ SEVEN_AdClear -- AdClear
@daria -- AdGuard
@ Snoop05 -- ADB Fast Installer
And anyone I missed, let me if you want to be added and thanks for your work!
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything works no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Robalboa said:
thanks Hotspot works great i just turn it on toggle data off then on and wallaa
also i can just shut off hot spot and everything work no toggling for shut off.
I was on the OG PB5 firmware because of the apns being editable but now ive made the leap
Gotta have that hotspot
Thanks
Click to expand...
Click to collapse
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
lvpre said:
Awesome. And you should be able to use phone data with this method while tethering too. @paul2112 did most of the legwork for this fix.
Click to expand...
Click to collapse
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
daddymikey1975 said:
Please credit @paul2112 for the Hotspot fix in the OP. He pioneered this effort.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Robalboa said:
yes you can use phone while hotspot is activated no problem. plus when u shut it off no toggling.
thanks @paul2112
Click to expand...
Click to collapse
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Read the credits... he's been there since the post. I slightly modified his code because this was the only way I could get tether data and phone data to work simultaneously. I couldn't get both on his last suggestion.
Sent from my SM-G930P using XDA-Developers Legacy app
Click to expand...
Click to collapse
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
daddymikey1975 said:
My apologies if I missed it.
Sent from my SM-G935P using Tapatalk
Click to expand...
Click to collapse
No problem. But this fix was the only way I was able to get phone and tether data working together. Not sure if you had success with what he posted, but I always would get one or the other.
how can I hide the carrier text?
John.C01 said:
how can I hide the carrier text?
Click to expand...
Click to collapse
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Sent from my SM-G930P using XDA-Developers Legacy app
lvpre said:
Have to root for that one. Mine only shows on the lockscreen though. Is yours showing constantly?
Click to expand...
Click to collapse
I don't know if it's because my country... But my CHN-UNICOM is always showing.
John.C01 said:
I don't know if it's because my country... But my CHN-UNICOM is always showing.
Click to expand...
Click to collapse
Even with icons in the notification bar?
Sent from my SM-G930P using XDA-Developers Legacy app
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
ryan2202 said:
Im confused on what the "hotspot" hack is. When I turn on Hotspot on my stock S7e, it turns off WIFI and only uses LTE. Are you saying this hack will allow us to use hotspot with WIFI?
Click to expand...
Click to collapse
No. It will allow you to make your phone a router and use your phone data for internet.
Sent from my SM-G930P using XDA-Developers Legacy app
Ok, I'm lazy. Is there a single button method for the toggling for hotspot? I'm using my phone as a hotspot for a tablet thats installed in my car and so being quick is important. I'm trying to build something using "Automate" app but does anyone have something already configured?
fyi, actually just turning on hotspot or off now does the trick. No need to toggle mobile network on/off. I'm on Sprint.
I can confirm Hotspot last through new android update/dated 3/29 heres a screen shot
new update 5/31/17 hotspot non root method sticks and works fine. id like to offer a new method and give thanks to the guy that found it maybe you can incorporate this into your guide so easy a caveman can do it lol
this https://forum.xda-developers.com/sprint-s7-edge/how-to/finally-free-hotspot-galaxy-s7-edge-t3612592
Success! (Stock SM-G930P & SM-G935P)
Thank you so much for this guide! It's been the only successful method to get unlimited hotspot working on my S7 & a friend's S7 Edge! (both stock & most recent firmware) :good:
When using this method, I achieve hotspot as mentioned....but loose ipv6 by doing so!? Any ideas on why or how to fix so when I toggle data/hotspot I can keep ipv6 connectivity, thanks
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.
Ive used developer mode to install my own custom app, however, the session time runs for 50 hours then removes my app, I can if I remember try to go back to dev mode and click extend but is there any way to leave this on permanently so that I can us my app without having to constantly extend the session? TV Software version is 03.01.06, thanks in advance.
Badger
Hey,
old question, but someone may still need this.
This is for LG TVs with WebOS. Luckily, extending Dev Mode it's fairly easy and won't require root (which I preferred).
I spent some hours now trying to identify such a way and thanks to Neur0toxine I found an URL you can call periodically to reset the timer.
First of all, you need your session token. When you have enabled the developer mode, you have the passphrase, generated the ssh keys, etc.
Connect to your TV via ssh using
Code:
ssh -p 9922 -i ~/.ssh/{your_webos_key_file} [email protected]{ip_of_tv} -T
You need to set the port to 9922. -i references the ssh key. -T skips a "PTY allocation request failed on channel 0" error which might be confusing.
Enter the passphrase, when asked.
Now it probably seems that nothing has happened, as you're just in a new line and no location of execution is displayed like we're used to (maybe due to the PTY? dunno), but you can type commands. Try the ls command to check connection if you're not sure.
When connected, get the session token using:
cat /var/luna/preferences/devmode_enabled
From Neur0toxines repo I extracted two URLs.
This will check the time left in dev mode:
https://developer.lge.com/secure/CheckDevModeSession.dev?sessionToken={your_token}
This will reset the dev mode timer:
https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken={your_token}
So to keep your dev mode active, call the second URL within the 50 hours. I do so periodically using crontab on my raspberry. If you do not have a raspberry or another server, you may find a free online cronjob service for this purpose.
To call the URL every day at 3 AM I got into my raspberry, opened cronjobs using "crontab -e" and added the following line
0 3 * * * /usr/bin/curl --silent https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken={your_token} &>/dev/null
The first five symbols are minutes, hours, day of month, month, day of week. * = any.
I verified this workflow using my browser, but I just now finished setting everything up. So tomorrow I will see if it all worked automatically using crontab, but in general this should work. Any way to periodically call the URL should (unless there's something else to think of like a change in the token at some point but currently I won't assume that).
Then install the best app: YouTube Extend for WebOS and never see ads, in video sponsors and so on.
YouTube ads you made me do this. Spending all this evening to get this running. It has become unbearable
Another option, if they should ever close the possibility to extend dev mode via this URL, would be installing their CLI to a raspberry and periodically execute the ares-extend command.
Till now I have not found any option to just permanently activate dev mode when connected via SSH for example by disabling the counter or whatever. This would be best for everyone not having a raspberry or else.
But as I'm quite happy with my current solution I have no motivation looking any deeper
Thank you very much! I
can confirm that your solution works. I have set up a cron job on my PiHole and can now enjoy YouTube ad-free without manually resetting the devmode time every day.
Glad to hear that!
works great, thank you. let me know when u find a fix for the screensaver issue on ltt vids
Awesome. It worked for me today very well. Because of an error in domain name resolution i used ip adress instead:
0 3 * * * /usr/bin/curl --insecure https://52.78.120.149/secure/ResetDevModeSession.dev?sessionToken=<your Token> &>/dev/null
Thx.
I configured Github actions with a private repo for this purpose.
When I call Check URL I see 38 hours remaining like in DevApp, so I call Reset URL and after that Check URL again and I get back 59 hours remaining, but I still see 38 hours remaining in DevApp even after killing the app and restarting TV. Does it work then?
So apparently, the timeout in the DevApp won't get updated, but as long as it's updated on LG's backend its ok and dev session won't timeout even if the app shows 00:00:00 time remaining...
ns6000 said:
So apparently, the timeout in the DevApp won't get updated, but as long as it's updated on LG's backend its ok and dev session won't timeout even if the app shows 00:00:00 time remaining...
Click to expand...
Click to collapse
Ok good to hear. Was a bit confused when I realized it's not updated in the DevApp though backend is updated and wanted to dig deeper. So maybe it's a bug in the DevApp after an update because some time ago it reflected the time correctly.
Hello,
I have an old LG TV with WebOS 3.5.5. Is there a way to extend the Developer Mode while the TV is off ?
For example, the Developer Mode is on for 50h, and from time to time I will leave my TV off for more than 2 days. When I' turn it on, the Developer Mode is disabled.
It works by calling "ares-extend-dev" command while the TV is on, it brings up the DeveloperMode app and extends the time, which is fine..
inugoliath91 said:
Hello,
I have an old LG TV with WebOS 3.5.5. Is there a way to extend the Developer Mode while the TV is off ?
For example, the Developer Mode is on for 50h, and from time to time I will leave my TV off for more than 2 days. When I' turn it on, the Developer Mode is disabled.
It works by calling "ares-extend-dev" command while the TV is on, it brings up the DeveloperMode app and extends the time, which is fine..
Click to expand...
Click to collapse
Well, yes. The way described above should work just fine. It calls the web-api on the lge server to extend the the time which seems to be checked by the developer app.
So I was away for like several weeks last year and had my rasperberry cronjob resetting session time each day and it was still active when I came back.
I think when I got my LG tv it also had some WebOS 3.xx Version at the beginning.
schnills said:
Well, yes. The way described above should work just fine. It calls the web-api on the lge server to extend the the time which seems to be checked by the developer app.
So I was away for like several weeks last year and had my rasperberry cronjob resetting session time each day and it was still active when I came back.
I think when I got my LG tv it also had some WebOS 3.xx Version at the beginning.
Click to expand...
Click to collapse
It works perfect! Thank you for your quick response!
schnills said:
Hey,
old question, but someone may still need this.
This is for LG TVs with WebOS. Luckily, extending Dev Mode it's fairly easy and won't require root (which I preferred).
I spent some hours now trying to identify such a way and thanks to Neur0toxine I found an URL you can call periodically to reset the timer.
First of all, you need your session token. When you have enabled the developer mode, you have the passphrase, generated the ssh keys, etc.
Connect to your TV via ssh using
Code:
ssh -p 9922 -i ~/.ssh/{your_webos_key_file} [email protected]{ip_of_tv} -T
You need to set the port to 9922. -i references the ssh key. -T skips a "PTY allocation request failed on channel 0" error which might be confusing.
Enter the passphrase, when asked.
Now it probably seems that nothing has happened, as you're just in a new line and no location of execution is displayed like we're used to (maybe due to the PTY? dunno), but you can type commands. Try the ls command to check connection if you're not sure.
When connected, get the session token using:
cat /var/luna/preferences/devmode_enabled
From Neur0toxines repo I extracted two URLs.
This will check the time left in dev mode:
https://developer.lge.com/secure/CheckDevModeSession.dev?sessionToken={your_token}
This will reset the dev mode timer:
https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken={your_token}
So to keep your dev mode active, call the second URL within the 50 hours. I do so periodically using crontab on my raspberry. If you do not have a raspberry or another server, you may find a free online cronjob service for this purpose.
To call the URL every day at 3 AM I got into my raspberry, opened cronjobs using "crontab -e" and added the following line
0 3 * * * /usr/bin/curl --silent https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken={your_token} &>/dev/null
The first five symbols are minutes, hours, day of month, month, day of week. * = any.
I verified this workflow using my browser, but I just now finished setting everything up. So tomorrow I will see if it all worked automatically using crontab, but in general this should work. Any way to periodically call the URL should (unless there's something else to think of like a change in the token at some point but currently I won't assume that).
Then install the best app: YouTube Extend for WebOS and never see ads, in video sponsors and so on.
YouTube ads you made me do this. Spending all this evening to get this running. It has become unbearable
Click to expand...
Click to collapse
Thanks so much for this, crontab works like a charm!
However, after almost i month, the developer mode loses login and asks again for it, thus losing all the app installed. Is there a way to keep the login?
gunther82 said:
Thanks so much for this, crontab works like a charm!
However, after almost i month, the developer mode loses login and asks again for it, thus losing all the app installed. Is there a way to keep the login?
Click to expand...
Click to collapse
Hello,
I would like to bring to your attention that recent changes have been made to the system, and as a result, the developer mode has been extended to 999 hours. I kindly suggest that you attempt to resolve any issues by performing a new login and updating the key. Please note that this recommendation is not a guarantee of resolving the issue, but merely an attempt to determine the cause.
inugoliath91 said:
Hello,
I would like to bring to your attention that recent changes have been made to the system, and as a result, the developer mode has been extended to 999 hours. I kindly suggest that you attempt to resolve any issues by performing a new login and updating the key. Please note that this recommendation is not a guarantee of resolving the issue, but merely an attempt to determine the cause.
Click to expand...
Click to collapse
Yes, I've seen that now the developer mode has been extended to 999, and with the crontab script I reset it every day, but my issue is that after almost a month the developer mode loses the login, and thus all the apps I installed via webos-dev-manager. I have to login again in the developer mode of the TV and then install again the apps, and update the script with the new key.
Is there a way to avoid losing the login?