Cell Phones

How to fix data tethering on Android KitKat devices (For Tbaytel / ANY Wireless Co.)

  • Last Updated:
  • Oct 18th, 2016 9:08 pm
Tags:
None
[OP]
Jr. Member
Jan 2, 2012
194 posts
131 upvotes

How to fix data tethering on Android KitKat devices (For Tbaytel / ANY Wireless Co.)

redflag999 wrote:
Dec 12th, 2013 1:35 pm
Has anyone try tethering? I just try to tether my N7 to my phone and it seems connected but I don't get any data on the N7
There is a big conspiracy with Android phones which secretly blocks tethering functionality from your phone. If you create a wifi hotspot, your computer will be able to connect to it, but if you try to load any pages on the internet, you'll get the error message "Not connected to the network" or something like that. (No upsell page -- just innocuous error message).

If you can't get data tethering to work, the problem is most likely NOT your APN settings, and also not anything that you might have done or configured wrong! It likely also has nothing to do with your wireless provider, unless they offer tethering plans and explicitly block tethering, and so they probably can't help you. (Even if they do explicitly block tethering, for example if you have an unlimited data plan with only limited or no tethering data, the following should still work -- but I don't condone doing this in that case).

This had been driving me nuts because I no longer have internet at home. There IS a fix, and it doesn't require rooting your phone. Spent hours trying to get help at a Tbaytel location. Their response is always that they don't block tethering. Other carriers explicitly tell you when you try to tether (with an upsell page) that you have to pay extra to tether. Tbaytel does not, and their official policy is that tethering is allowed for no extra charge and not blocked.

Well like I said they don't have to block it because Google did the dirty work for them. All KitKat versions of Android block tethering natively. I have a Nexus 4. When I tried tethering with my SIM card in a iPhone, it worked perfectly. This is due to a hidden setting inside your phone's Android software, called "tether_dun_required", where it's set to 1 instead of 0. (0 makes tethering enabled). Normally you can't change this value without rooting your phone, but the following method will allow you to change it.

Anyway here are the steps to fix it: (NOTE: You do NOT have to root your phone for this method - so you do not void your warranty or risk bricking your phone)

1. Download Android SDK (Developer Toolkit) (~480mb) for your computer. You will need to have your phone connected to a computer via USB for this fix. You can download just the "Android Platform Tools" from unofficial sources, (which are only a few MB, if bandwidth is scarce), but I didn't try. You only need the Developer Toolkit for the Platform Tools it comes bundled with. Download here: http://developer.android.com/sdk/index.html
2. Download the USB drivers for your phone - even if your phone is already installed on your PC and working fine. For Google Nexus phones (and links for other phones): http://developer.android.com/sdk/win-usb.html. Extract the drivers to a temporary folder (eg. Desktop) with a program like WinRAR.
2a. Uninstall your phone's old USB drivers via Device Manager (right click My Computer -> Properties -> Device Manager). To do this, find and Right-Click your device in the list in Device Manager, and select Properties -> Driver -> Uninstall).
2b. Install the new USB drivers you downloaded by right-clicking your phone in device manager and clicking Properties -> Driver -> Update Driver. Choose "browse my computer..", NOT "search automatically..". Specify the extracted location of the drivers you downloaded (eg. Desktop).
NOTE: If you have to disconnect/reconnect your phone's USB, it will probably automatically reinstall the old drivers, so you may have to repeat steps 2a-2b. Once the hack is applied (step 9-10) the old drivers are fine.
3. Enable "Developer Options" on your phone. To do this, go into settings, and tap "About Phone" 7 times.
4. Go into Developer Options (in Settings) and enable USB debugging.
5. On your computer, extract the Android Developer Toolkit (from step 1), with a program like WinRAR, into a temporary folder. Locate the folder "Platform Tools" within the "sdk" folder. (It should contain adb.exe). Copy the "Platform Tools" folder to your C: drive. Rename the folder "Platform Tools" to "pt" so that it's easier to work with. (should be in C:\pt)
6. Start -> All Programs -> Accessories -> Command Prompt
7. Type "cd.." and press Enter. Repeat this step 2 more times.
8. Type "cd\pt" and press Enter
9. Copy the following into the Command Prompt: "adb shell content insert --uri content://settings/global --bind name:s:tether_dun_required --bind value:i:0" and press Enter.
If there's a prompt on your phone asking you to allow access, or something, click yes and copy the text again.
There won't be any confirmation dialog, but it shouldn't have any error messages. If it doesn't work, try Steps 2a-2b again - make sure the old usb drivers are deleted first.
10. To verify it worked, type: " adb shell content query --uri content://settings/global --where "name='tether_dun_required' AND value=0" "
Note: the spacing is just so you don't forget the last " (quotation mark). Don't include the spaces.
If it worked, then it will say that "tether_dun_required" has a value of 0.
11. In your phone, go to Settings -> Mobile Networks -> Access Point Names. Click on the entry that is selected (eg. Rogers LTE). Change "APN Protocol" and "APN roaming protocol" to "IPv4" --- change anything that says IPv6 to just IPv4.
12. Turn your phone off and then on again. You can now disable USB debugging and Developer Options if you want.
13. If you want to tether your phone's data internet connection for use on a computer, you must download a "User Agent Switcher" web browser extension plugin on your computer, to successfully use the tethered data. Otherwise your phone detects that it's a computer using the data and it blocks it (not permanently). The phone companies for whatever reason don't try to block tethered data between mobile devices (eg. from Nexus to iPad), and they also don't seem to bother with old browsers or Apple devices (conspiracy!). I'm using "Ultimate User Agent Switcher" for Google Chrome. In your user agent switcher, set the user agent to Safari 5.0.4, or Internet Explorer 9, or you may want to experiment to find one that displays webpages the best for you.

Step 13 may appear not to be necessary, but once you use 100mb of tethered data, tethering may stop working, unless you have done step 13.


DONE!!!!! Let me know if you need some clarification since I wrote this very quickly and from memory. The procedure is quicker/easier than it sounds, honest. But to think, that on the iphone, tethering works without having to do any of this... it could make a person angry! I personally think that having to do all of this is ridiculous, just to allow me to use what I paid for, which should have worked out of the box, and which I had no way of knowing wouldn't work. Considering that 95% of customers wouldn't/couldn't take these steps to fix it, these business practices are very dishonest.

Sources
https://docs.google.com/document/d/1Wso ... Iuqs/edit# (The bottom part where it says UPDATE)
http://forum.xda-developers.com/showthr ... 74&page=39
http://forum.xda-developers.com/showthr ... p=48740094
Any other sources I've neglected, I apologize. I got all this info from Googling, but the info I found was so scattered and incoherent at times I thought it would be nice to put it all into one place.

Edit: repost from http://forums.redflagdeals.com/how-fix- ... o-1436409/
38 replies
[OP]
Jr. Member
Jan 2, 2012
194 posts
131 upvotes
That's an excellent question Jimboski, and honestly, I don't know for sure. Until very recently I knew absolutely nothing about Android phones. So I definitely can't give you any kind of technical explanation..

What I can say is that I read through the entire 51 page xda-developers thread, linked at the bottom of my original post, and from what I could understand nobody had any problems with ipv4, and on the contrary people stressed how crucial that part of the hack is. Also I can say that it's working for me perfectly. But I can't say with 100% it will work for all wireless providers, all different phones running KitKat, etc.

It will probably work, is the best I can say. Post in one of those threads at xda-developers if you want to be more certain -- those people are way better at this stuff than me.

One other thing is that changing between ipv6 and ipv4 is one of the quickest and easiest parts of the whole process. You don't need any hacks to do that -- just go into Settings --> Wireless & Networks --> Mobile Networks --> Access Point Names. So if it doesn't work for what ever reason, you can very easily change it back.

Sorry if that's not a very satisfying answer!
Deal Expert
User avatar
May 8, 2009
44657 posts
3353 upvotes
Toronto
obn3g0n wrote:
Jan 14th, 2014 1:50 am
That's an excellent question Jimboski, and honestly, I don't know for sure. Until very recently I knew absolutely nothing about Android phones. So I definitely can't give you any kind of technical explanation..

What I can say is that I read through the entire 51 page xda-developers thread, linked at the bottom of my original post, and from what I could understand nobody had any problems with ipv4, and on the contrary people stressed how crucial that part of the hack is. Also I can say that it's working for me perfectly. But I can't say with 100% it will work for all wireless providers, all different phones running KitKat, etc.

It will probably work, is the best I can say. Post in one of those threads at xda-developers if you want to be more certain -- those people are way better at this stuff than me.

One other thing is that changing between ipv6 and ipv4 is one of the quickest and easiest parts of the whole process. You don't need any hacks to do that -- just go into Settings --> Wireless & Networks --> Mobile Networks --> Access Point Names. So if it doesn't work for what ever reason, you can very easily change it back.

Sorry if that's not a very satisfying answer!
Thanks for that, i have a Nexus 5.. Wondering if there's a video tutorial on how to do this modification, makes it much more easier to see what has to be done rather than read and what not!
[OP]
Jr. Member
Jan 2, 2012
194 posts
131 upvotes
Jimboski wrote:Thanks for that, i have a Nexus 5.. Wondering if there's a video tutorial on how to do this modification, makes it much more easier to see what has to be done rather than read and what not!
There isn't a video of the above method, as far as I know, but you could do it in a different way. First, watch one of the many Youtube vids for "How to root a Nexus 5" such as http://www.youtube.com/watch?v=w3beFx-3Ic4,

And then use this automated tethering fix for rooted Nexus 5's (not personally tested) from this thread http://forum.xda-developers.com/showthr ... 35&page=3:
Installer: https://github.com/marcandrews/hammerhe ... s/tag/v1.0
Uninstaller: https://github.com/marcandrews/hammerhe ... /tag/v1.0u

And then follow steps 11-13 from my guide. This should work, but I don't know.

Note that rooting your phone kills your warranty, and it risks bricking your phone. I've never rooted a phone so I don't know what's involved (if it's easier or not) and can't be much help.. but if you decide to tackle the written (non-rooting) method let me know if you get stuck!
[OP]
Jr. Member
Jan 2, 2012
194 posts
131 upvotes
Update:

At this point only USB tethering is working for me. Not sure if wifi-hotspot tethering ever worked on this phone TBH. I don't think it's a problem with my APN settings (shown below), rather they have succeeded at blocking it. These APN settings are straight from TbayTel service desk, except for the two changes (of APN Protocol and APN Roaming Protocol) I made from "IPV4&V6" to just "IPV4", and otherwise they have been rock solid.

To fix wifi-hotspot tethering??? A mystery to me. I read one post which suggested setting 'APN Roaming' to IPV6 -- post 20 liquidreign: http://forum.xda-developers.com/show...3&postcount=20. I have tried that and all types of tethering cease to work with 'APN Roaming' on IPV6. Maybe the IPV4&V6 setting would work, although I didn't test, since USB is ok for me. I worry too much fiddling with the settings might alert them somehow and they would try to block your tethering more. But I have not seen reports of them looking for people like that.

I also have not been using my User Agent switcher as it works without it, so far, for me. Maybe Roaming ipv6 would work with the User Agent Switcher..if you're hardcore troubleshooting, but as I said USB is ok for me for now and I don't want to break it.

http://i43.tinypic.com/10rs5fd.png
http://i42.tinypic.com/rhlb29.png

To summarize: these APN settings work for me with USB tethering, but not for wifi-hotspot. If USB works for you, it's faster and only a minor inconvenience. If both work, ignore this post! For at least some users like myself, I am disinclined to think that APN tweaks alone can fix wifi-tethering at this point. I suspect that a custom "fixed" ROM (necessitating root+wipe) might work, due to maybe another hidden setting that I don't know about (similar to tether_dun). But that is speculation, since I don't even know how to root or install custom ROMs. And I don't know if that would make wifi-tether work -- it depends if others have had this same problem (no wifi) and fixed it in those custom ROMs. This speculation goes beyond my research... when reading I basically ignored any posts that looked "root"y.
Banned
Jan 11, 2004
19816 posts
559 upvotes
my nexus 5 on kitkat tehtered fine for the last 3 weeks
Deal Guru
User avatar
Nov 19, 2010
14426 posts
2030 upvotes
Toronto
This issue doesn't exist on my Nexus 4 on wind. I'm running 4.4.2
Banned
Jan 11, 2004
19816 posts
559 upvotes
Jimboski wrote:
Jan 18th, 2014 10:36 am
Did you do the trick the OP listed? Is it USB tethering or Wifi hotspot?
I've never had any problems tethering... So I didn't do anything other than turn on WiFi hotspot to tether


I've used and tethered on my phone with 5 different providers last few weeks and I even downloaded a few movies on torrent whikee tethering
[OP]
Jr. Member
Jan 2, 2012
194 posts
131 upvotes
It's not a user error -- very widespread problem. Just google "android tethering" to see. If it doesn't affect you, you're lucky I guess.
Newbie
Apr 24, 2004
51 posts
5 upvotes
Thank you so much, obn3g0n. It worked like a charm!

Top