yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] deeznutz206:
T-Mobile upsell page again

I'm now getting the T-Mobile upsell again. However, it is only when I try and tether using a laptop. I can tether it with my android tablets and it doesn't redirect me to the T-mobile upsell page. Anyone have this happen again after tethering has been working?
[Nexus 5 Q&A, Help & Troubleshooting] axtn95:
In the same boat as you.

First off, I'm assuming you have the completely unlimited internet deal, or no?

Using tethering on android tabs and such won't give you upsell, ever! They don't try to detect for mobile devices, like tabs and phones, only PC's.

Anyway, in my experience, this hack (tether dun 0) works a bit, then the upsell appears again.

You HAVE to use this in addition to the User Agent switcher on chrome. Set the user agent to Safari on OSX and you will be fine.

I'm actually using it right now :)
[Nexus 5 Q&A, Help & Troubleshooting] deeznutz206:
Thanks for the reply. I'm on the T-Mobile $30 100mins voice, unlimited text and unlimited data (5gb @ 4g speed).

I'm not sure what you mean by the User Agent switcher. Could you explai? I use Windows and not Apple OSX.
[Nexus 5 Q&A, Help & Troubleshooting] mattcoz:
Awesome, you guys rock!
[Nexus 5 Q&A, Help & Troubleshooting] axtn95:
Oh, no problem! I assumed you knew it for some reason.

User agent is basically what tells websites what device you are using. So when you switch your user agent, you could make websites (and in this case T-Mobile since they are scanning your internet as you tether) think you are using a different device. Since T-Mobile, for some reason, doesn't block Macs (just like they don't block android tablets) when tethering, we want to make them think we are using a Mac. To do that, we just use the aforementioned User Agent Switcher extension.

For chrome (there are also plenty for firefox also), it is found here https://chrome.google.com/webstore/...r-c/djflhoibgkdhkhhcedjiklpkjnoahfmg?hl=en-US

Add that to chrome, then click the newly added icon on top right, then on the pop up list click "Safari", then "OSX Safari 5". Now tether to your computer and watch it work :).

To switch back to normal Windows Chrome User agent, just click it again, Press "Chrome", then "Default".

Besides just teaching you how to do it, I just wanted to give you a bit of background on what's actually happening. Hope it works! Let me know if you have trouble.
[Nexus 5 Q&A, Help & Troubleshooting] deeznutz206:
OMG it worked on my laptop and now I can tether again. Thank you so much!! I use FF so I searched for the User Agent Switcher AddOn. Had to import an expanded list of User Agent and then selected Safari then OSX Safari 5 that you had suggested.

Thank you again!!!!! :good:
[Nexus 5 Q&A, Help & Troubleshooting] klone96:
How where u able to download/import the user agent to ur laptop without being able to tether from ur phone bcuz I can't download from my phone and add to the laptop
[Nexus 5 Q&A, Help & Troubleshooting] justthefacts:
For FireFox, You can also use the built in user agents that come with the add-on. I chose Internet explorer as user agent in FF and it works
[Nexus 5 Q&A, Help & Troubleshooting] axtn95:
If I'm not wrong, you don't need root to apply the tether_dun_required 0 hack. You just use this adb command

adb shell content insert --uri content://settings/system --bind name:s:tether_dun_required --bind value:i:0

Correct me if I'm wrong...
[Nexus 5 Q&A, Help & Troubleshooting] pcsfguy:
can anyone explain in more detail how to perform the steps for the tether without root on the bottom of the google doc? switching from ios and am a complete newb to android. do i plug in the phone to the computer with the USB cable and then edit some commands?
[Nexus 5 Q&A, Help & Troubleshooting] BinkXDA:
Thank you for this! You rock—no root, silly app or user agent changes needed! THIS NEEDS TO BE PUT IN THE OP ASAP!

With my previous non-LTE Galaxy Nexus I bypassed T-Mobile’s bullsh*t 100MB “Mobile Hotspot Usage” by proxying all my traffic through an SSH tunnel—I pay for 5GB (30USD a month pre-paid plan), I should be able to use it as I see fit—but this workaround is far better and, just like the SSH tunnel, the traffic doesn’t show up as Mobile Hotspot Usage. I am certain T-Mobile will eventually break this, but, for now, yay for Android!
[Nexus 5 Q&A, Help & Troubleshooting] justthefacts:
I'm a bit confused here. Doesn't that adb command do the same thing as adding the "tether_dun_required" value 0 with an SQlite app?

Or am I missing something here?
[Nexus 5 Q&A, Help & Troubleshooting] BinkXDA:
As I understand it, they’re the same. That said, I’ve only used the adb command.
[Nexus 5 Q&A, Help & Troubleshooting] justthefacts:
And it's working for you without having to change the user agent?
[Nexus 5 Q&A, Help & Troubleshooting] BamAlmighty:
Doing the ADB insert command won't screw up future OTAs? Won't any future OTA see that as a modification to the system and not want to update?
[Nexus 5 Q&A, Help & Troubleshooting] BinkXDA:
Yep. Changing the User-Agent (UA) is a poor solution as some sites use the UA to determine proper rendering—so, for example, if you are using Chrome and set your UA to Safari, the site might send you a page optimized for Safari, which might look incorrect in Chrome.

---------- Post added at 04:25 PM ---------- Previous post was at 04:23 PM ----------

No issue here—I made the change when I was running 4.4 and I had no issue updating to 4.4.2 OTA.
[Nexus 5 Q&A, Help & Troubleshooting] BamAlmighty:
Is there anyway to remove the ADB insert command using ADB by replacing insert with delete or remove?

I just don't feel like rooting.
[Nexus 5 Q&A, Help & Troubleshooting] tonyp:
Just change the 0 at the end of the command to 1, then execute it and it will be back to default.

It doesn't seem like the OP is still active, I'll ask a mod to include the following posts to the OP.

Or maybe it would even be possible for someone who is more active and more involved to take the OP (not me!).

http://xdaforums.com/showpost.php?p=47203432&postcount=70

http://xdaforums.com/showpost.php?p=48108234&postcount=274

http://xdaforums.com/showpost.php?p=48207630&postcount=284

http://xdaforums.com/showpost.php?p=48488784&postcount=321

Anything missing?
[Nexus 5 Q&A, Help & Troubleshooting] ApriliaM3:
New thread created HERE
[Nexus 5 Q&A, Help & Troubleshooting] notbrodie:
every time I tried the manual method (which I attempted three times), my phone bootlooped. your method worked perfect, and I just successfully tethered my xoom to my n5.

thanks a million!

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] BamAlmighty:
Why are there two different versions of editing the database?

One method makes the entry to Global while the other to System.

Is one better to do than the other?
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
Global is the proper one.
[Nexus 5 Q&A, Help & Troubleshooting] ALUOp:
Thanks to everyone who contributed in this thread, I've successfully unlocked tethering for my friend without root.

He is on grandfather $30 unlimited data and lost tethering after switching to N5.

I just did the adb command and changed APN Protocol from IPv6 to IPv4/IPv6.
[Nexus 5 Q&A, Help & Troubleshooting] resutoran:
No global category in settings.db

I'm on the LG F3 $30 prepaid plan and it looks like they took out the global in settings.db. When I tried to edited the db under secure, rebooting it will change tether_dun_required back to 1. Any ideas? Both phones made by LG so maybe its coming to the N5 as well...
[Nexus 5 Q&A, Help & Troubleshooting] Zandeer:
Has anyone tried calling T-mobile?

They usually have pretty solid phone customer support. I know regarding the current plans, they all have tethering.

Including the unlimited package, which allows up to 2.5 GB of tethering per month.

My phone just got delivered, and I will be running out to get my new sim tonight after work.
[Nexus 5 Q&A, Help & Troubleshooting] sarcoptic:
Its not just a t-mobile thing...I have sprint with a sero-p plan and tethering does not function either. Wifi hotspot connects but no pages load. USB tethering causes the computer to freak out. I ended up installing EasyTether for now which is functioning as expected. Hopefully custom roms can over come the issue...
[Nexus 5 Q&A, Help & Troubleshooting] trjcasper:
Had this hit me today. Yesterday the N4 worked fine tethering the N7. Today the new N5 redirect to upsell page.

I tried easy tether app...it pretty unstable... Keeps dropping signal...slow. I decided to actually read the up sell page so I tried normal WiFi tether again to bring up the page and to my surprise the up sell was gone.
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
So the normal tether setting is working? Or is it just Easy Tether that is working?

Also, everyone keeps referring to the upsell page, but all I get is a redirect to login to "My Tmobile". They dont seem to want to sell me anything.

This is the link I get redirected to: https://my.t-mobile.com/Login/Default.aspx
[Nexus 5 Q&A, Help & Troubleshooting] trjcasper:
Normal android based WiFi tether is working fine now for me. Weird.
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
On T-Mobile?
[Nexus 5 Q&A, Help & Troubleshooting] trjcasper:
Yes on T-Mobile
[Nexus 5 Q&A, Help & Troubleshooting] f1ip:
Im on the Total Internet data plan, and currently on my Gnex, it's been getting blocked. I think this was after I upgraded to 4.3

I was able to do so before that.

I do still have Unlimited unthrottled speeds though.

Hope LTE works on this plan.

Got my Nexus 5 today, but cant get to it until tonight.
[Nexus 5 Q&A, Help & Troubleshooting] neiander:
Totally annoyed.

24 hours on tmobile and found out that many agents don't know what they are talking about.

I'm on $30 5gb, unlimited text, 100 talk plan

first agent said "tether is included"

second agent said "tether is included"

third said "it's not included, add $15"

forth said "it's allowed, but need to add $15"

So for now, that's why I know it isn't working for me.
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
I can confirm that wifi tethering is blocked with the built in tethering app and redirects you to the T Mobile website
[Nexus 5 Q&A, Help & Troubleshooting] f1ip:
have you tried the VPN trick?
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
I'm sorry, I'm not familiar with it
[Nexus 5 Q&A, Help & Troubleshooting] f1ip:
connect the device (laptop or other wifi devices) to VPN. Then browse as normal.
[Nexus 5 Q&A, Help & Troubleshooting] vitsdroid:
on nexus 5 i am getting the Tmobile page on i pad or nexus 7, put my sim in my nexus 4 and no issues tethering. I really need this to work with out me having to change my plan.
[Nexus 5 Q&A, Help & Troubleshooting] OctoPI:
My WiFi tethering via the built in android feature works fine for me. I'm on T-Mo's $70/month unlimited everything plan (that plan included 2.5gb of tethering). Didn't have to do anything special to activate it.
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
Is this something the developers can overcome? I plan to flash a different ROM anyways
[Nexus 5 Q&A, Help & Troubleshooting] tracerit:
oh man, this is horrible news! might sell my incoming nexus 5 if so :/

can someone check to see if only the browser is blocked? what about other programs such as dropbox or utorrent. do those programs still connect?

with my nexus 4, when tmobile blocked my unauthorized hotspot, dropbox would still connect in the background so i figured it was just a browser block, ended up changing my user agent on chrome to mobile and was able to browse the web again. if this workaround doesn't work with the nexus 5 it'll be a major bummer!
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
Everything is blocked not just browser.
[Nexus 5 Q&A, Help & Troubleshooting] jarredduq:
I hope so, but it is core to KitKat, as I flashed the bare ASOP ROM and it is still blocked.
[Nexus 5 Q&A, Help & Troubleshooting] rdelfin:
For those thinking that the fault of this tether-blockage falls on the Nexus 5 and are considering of selling or returning the device, I think you might have it wrong.

If you are under a different plan from the $30 / Gb data-plan, despite having the same device (Nexus 5) then there is no blockage for tethering (like people with Nexus 5 and the $70 plan who are able to tether).

If you have a device with no LTE capabilities, despite having the same plan ($30 / 5Gb data) then the issue is no longer there (like people that are able to tether with non-LTE devices like the Nexus 4 with the $30 plan).

This issue is caused with the combination of LTE connectivity + T-Mo's $30-data plan (regardless of what LTE device you are using).

---> The blocking is NOT happening because of the N5. The blocking is caused on the carrier (T-Mobile) side when you have this plan ($30) with any phone under LTE connectivity.

So, replacing your super nice Nexus 5 with any other LTE capable phone in theory should yield the same sad results.

The only way to bunk this theory is:

Does someone have a different device (that is NOT the Nexus 5, like a Google Edition-HTC One or Google Edition-Galaxy S4) with LTE capability AND the $30-data plan that is able to tether on with no issue pulling data on LTE connectivity?
[Nexus 5 Q&A, Help & Troubleshooting] Caelrie:
How do I actually look in my tmobile site to see if my tethering limit is being used or not? I can't see a separate data count for that. I have the unlimited plan, so I know I have 2.5gb available, but I can't figure out where to look to see how much of that I've used.
[Nexus 5 Q&A, Help & Troubleshooting] justthefacts:
They don't have a way of separating the two yet. I have the same plan as you.

The way it works for now is once you hit the 2.5 gb, the tethering will shut off.
[Nexus 5 Q&A, Help & Troubleshooting] FletchF:
You can see the two using the tmobile app.

My understanding is that after 2.5GB, it will continue to work, but slow down to 2G speeds.
[Nexus 5 Q&A, Help & Troubleshooting] Caelrie:
Huh, I just looked at my app and it seems you guys are right that tethering data doesn't count if I'm using an android tablet. I wanted to get a good test so I tethered to my nexus 10 and watched a 1080p youtube video for 10 minutes. Today I can see that data in my counter, but my hotspot data count still reads 0.

That said, the second part is wrong. I have the $70 unlimited plan. I never get throttled, even if I use 30 gbs.
[Nexus 5 Q&A, Help & Troubleshooting] AcuraKidd:
Anybody know of a method to add this entry without root?
[Nexus 5 Q&A, Help & Troubleshooting] justthefacts:
That happens only on regular data usage. Once you hit the tethering limit (even if you don't use tethering during that time), tethering gets blocked and you run into the T-Mobile flag.

Please correct me if I'm wrong.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Yes, see the "update" towards the end of this document:

https://docs.google.com/document/d/1Wso8Cb3rU0DApFe2lg5RcMrelAEoYY-fZ4MAghnIuqs/edit?usp=sharing

The procedure requires that you issue commands from the ADB tool on your computer. You'll also need to change your APN as described earlier in the document.
[Nexus 5 Q&A, Help & Troubleshooting] AcuraKidd:
can you be kind enough to explain how to chown the file?

im stuck in a bootloop as the other guy, and im now in the process from starting from scratch...
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
You can delete settings.db file thru twrp and the system will auto-create a new one. Your system settings will be lost, however (sound,etc.)
[Nexus 5 Q&A, Help & Troubleshooting] DaveinSoCal:
is anyone else having an issue where you try to log on, and you get an error stating that "Cannot join the network" It wont even give an option to enter a password or anything like that?
[Nexus 5 Q&A, Help & Troubleshooting] jenenser83:
Do this:

https://www.youtube.com/watch?v=H_jYNWb1rEw&feature=youtube_gdata_player
[Nexus 5 Q&A, Help & Troubleshooting] droidNoob74:
For those who are having trouble tethering from nexus 5, I found a way although it's not working for desktop. I have no problem

---------- Post added at 07:42 PM ---------- Previous post was at 07:40 PM ----------

Tethering tablet with wifi tether router app from play store. It needs root though.
[Nexus 5 Q&A, Help & Troubleshooting] jenenser83:
In windows you still need to install user agent on your browser and configure it to internet explorer 8 and it should work.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Please don't overgeneralize. SOME people MAY need the user agent solution. Others, such as I, are having no trouble connecting to, and using, our Nexus 5 hotspots from any of our devices (including my Windows 7 laptop).

You should share information about your mobile plan, so we can determine what causes it to work for some and not others.

I'm on the $30 per month pre-paid T-Mobile plan with 5 GB full-speed data and 100 voice minutes. I added the tether_dun_required entry to my Nexus 5 and changed the APN to IPv4. I am currently running stock Android 4.4.2 without root.

You?
[Nexus 5 Q&A, Help & Troubleshooting] Nephilim-Giant:
I keep getting the T-Mobile log in page with phone number and password. I followed the instructions and still nothing. Any suggestions?I changed the APN too.

Also, I'm on the pre-paid $30 a month 5 gb plan from T-Mobile.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
What browser are you using? AFAIK all T-mo plans without tethering explicitly enabled needed the UA change.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
What version of Android do you have installed? Is it stock or modified? Are you rooted?

Execute this command from the ADB shell:

adb shell content query --uri content://settings/global --where "name='tether_dun_required' AND value=0"

It determines whether you successfully added the tether_dun_required entry.

(I typed and sent this message on my Chrome browser on my Windows 7 PC while connected to the hotspot on my Nexus 5. I do NOT have a user agent switcher installed.)

---------- Post added at 06:31 PM ---------- Previous post was at 06:23 PM ----------

I'm typing and sending this message in Firefox on my Windows 7 PC. I just successfully typed and sent a separate message in Chrome. I have no user agent switchers installed. I'm connected to the hotspot on my Nexus 5, with stock Android 4.4.2 and no root. T-Mobile $30 per month plan, 5 GB full-speed data, 100 voice minutes, no tethering included in the plan.

(BTW, I also am browsing the web just fine in Internet Explorer 11.)

So it is definitely NOT true that everyone without a tether plan on their Nexus 5 needs a user agent switcher.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
That's interesting. You're the first one I've heard of, and that's probably the other poster was making the assumption (which many of us here have made) that you needed to switch user agents. This has been going on for a long time though. If you have the T-mo MyAccount app (the new one with the magenta icon, don't know about the old one), there is a counter that counts up to 100MB in tethering. I've read conflicting reports on it. Is it going up for you, and/or have you used more than 100MB yet? For me, it seemed to go up a bit even though I never used tethering, so I'm not sure if it does anything.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
I did not have the T-Mobile MyAccount app, but I just downloaded and installed it. Under "Mobile Hotspot Usage", I see 17.2MB/100.0MB. I wonder if the "diagnostics" software it installs on the device makes a difference.

I've been successfully using my Nexus 5 as a hotspot, on a daily basis, since November 8th. It will be interesting to see what happens now that I've installed the MyAccount app.

Anyway, what is your configuration? What T-Mobile plan do you have? Do you have stock Android installed? Which version? Are you rooted? What happens if you issue the following ADB shell command: adb shell content query --uri content://settings/global --where "name='tether_dun_required' AND value=0"? Do you have the T-Mobile MyAccount app installed?

P.S. All you have to do is go back and review this discussion thread to see that a number of other people have successfully installed the fix and used their hotspot, without having to resort to user agent switchers. We need to stop generalizing and determine why some people are experiencing issues, and others aren't.
[Nexus 5 Q&A, Help & Troubleshooting] AcuraKidd:
My Nexus 5 is stock 4.4.2 rooted with cf auto root and that's it.

I did the ADB command and changed my apns as mentioned and tethering works only if I change the UA on my PC. If no UA is changed than I get the upsell message.

I have the $20 Unlimited 4G Data add on w/ 2.5GB tethering included.

If somebody could figure out how we could tether without using a UA then that would be great.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Thanks for providing your configuration details, AcuraKidd. It's interesting that you have tethering included in your plan. I don't.

Have you tried using the hotspot instead of tether to connect your PC? Do you have the T-Mobile MyAccount app installed?
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
I'm on unlimited everything with 2.5 gb hotspot, and they count my packets. vpn for the win!
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Thanks. Do you have stock Android installed? Which version? Rooted?

Do you have the T-Mobile MyAccount app installed on your Nexus 5?
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
On AOKP currently, same was happening on rooted stock. Also happened on N4.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Good to know. Do you have the T-Mobile MyAccount app installed on your Nexus 5?
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
first of all you have free tethering in your plan for last couple of months.even the $30.00 100 minutes 5GB 4GLTE plan has 100MB tethering included for free.that is what you are seeing in your Tmobile app. it looks like you do not tether that much. i think you can check this out easily by going over the allowed 100MB. a lot of times the block does not kick in right away. so stream/download some youtube videos in higher resolution (720p) to see what happens. if you are under 100MB limit for your plan, you do not even need the settings.db hack that we are discussing here.

i have been seeing your post for last couple of days and was tempted to reply. only reason i did not was that the process is involved, requires changing browser>changing user agent switcher>logging at xda forums etc. my workhorse firefox even with UA switcher do not work here at xda forums. the forum does not let me log in as a user. i can browse just fine though.

you are correct.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
We'll see what happens. now that I've installed the T-Mobile MyAccount app on my Nexus 5. Remember, I just installed the app an hour ago. BTW, I got all sorts of warnings about how it was going to monitor and do "diagnostics" on my device. It could be that having the app on your device makes the difference. Is it installed on yours?

While connected to my Nexus 5 hotstop, I've read Flipboard, watched YouTube videos, browsed Facebook, streamed CNBC and Bloomberg live TV, browsed my photo collection on Google+, maintained a remote desktop connection to a server, etc. I seriously doubt that I've stayed under 100MB for a month given that sort of usage.
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
off course your post makes sense that you probably are using more than 100MB a month. to answer your question about me, i am not directly a t-mobile customer. i am on metropcs. which is a MVNO of t-mobile and uses tmobiles GSM towers. before you go ahead and say it that this does not apply to me, let me elaborate on this. this tetherblock feature is with kitkat 4.4 and applies to all carriers (tmobile, sprint,att etc.) . i made a post on this thread on december 4th page #28 post #279. i was replying to another user who was on metropcs and has bought tethering for his plan and was having trouble. the title of my reply was "nexus 5 tethering works on Metropcs without rooting or settings.db hack"

let me quote my post