yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] villagorilla:
This one works too as browser agent:

"F*** tmo" or something like that.

I never used my limit (5GB plan) in the past but will use in future on the last day of the month.

TMO are Nazi crooks, who are trying to charge twice for the same service. I never had a problem with it, but was it Wednesday the first time when trying to fix a router for a friend. Too me extra 2 hours to get the fix installed.

In my opinion this is a huge privacy issue, by both T-Mobile AND Google. I am deeply concerned.

BTW: I assume when forging the user agent on the smartphone (to a windows desktop) you are getting blocked as well. Well, then they violate their own terms, since this is definitely included service. Time for a class action...
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
:what::confused::confused::what:

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Someone pissed in his Wheaties.
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
LOL! I'll say! :D

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] cpufreak3:
So I followed the ADB method and it works on other android devices and my Windows 7 computer. However, in Win8, it will connect and show "internet access" but webpages won't load in any browsers. Tried changing the UA. Any suggestions?
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
I've not tested anything under Windows 8, as I don't have that OS installed on any of my computers. Could it be a configuration problem on your Windows 8 computer? Either way, it would be helpful to see replies from people who have applied the fixes and successfully or unsuccessfully connected via tether or hotspot from their Windows 8 computers.
[Nexus 5 Q&A, Help & Troubleshooting] cpufreak3:
I tried experimenting more, and I think it's something with windows 8 (or my computer) and wifi tethering.

With my friend's GS3: I can get bluetooth tethering working, but wifi tethering doesn't work (connects and says I have internet access but nothing loads)

With my own Nexus 5: Same results as GS3

On a windows 7 computer, both bluetooth and wifi tethering work, with both phones.

So basically, nothing wrong with the Nexus 5. I need to find another Win8 computer to test it out on.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
When I said I tested it on my PC earlier, I was using Windows 8 (not 8.1) FWIW.
[Nexus 5 Q&A, Help & Troubleshooting] cpufreak3:
Interesting. I'm on Win 8.1. Pretty sure it's my computer. Thanks for the help
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
I used the ADB steps in rcauvin's excellent document, and WiFi tethering works with Win7, Win8 and OSX without change of user agent. A Nook HD+ with CM10.2 as well. I'm on the $30/100 min plan. My tethering counter in the T-Mo app is still under 100MB (it counts strangely). I don't keep that app installed, though.
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Are you using the epc.tmobile.com APN (mentioned in the PhoneBuff article) or the fast.t-mobile.com APN?
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
an excellent point wideasleep1:good:

---------- Post added at 02:00 AM ---------- Previous post was at 01:59 AM ----------

try this user agent string

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
[Nexus 5 Q&A, Help & Troubleshooting] ItzCrooK2UxD:
OK so I tried the fix on page 8 https://docs.google.com/document/d/1Wso8Cb3rU0DApFe2lg5RcMrelAEoYY-fZ4MAghnIuqs/edit (sqlite method), and rebooted my device.

Wi-Fi tethering still works, but the T-Mobile My Accounts app still is showing data usage through tethering.

I am currently on the $70 Unlimited Talk, Text and Data through TMO (since this seems relevant)

Additional info: I tested connection first with the APN protocol set to IPv6v4 and then just IPv4 with IPv4 performing about 10% faster. My tests were done in Chrome without a UA switcher.

So the questions I have are 1) Do the people who have confirmed this working also show data being used via tethering in the My Accounts app? 2) Is a UA switcher necessary with this fix? I've seen mixed responses, thus the questions. Thanks in advance.
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
Yes, either a good vpn or switcher is necessary in most cases.
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Safari doesn't need a switcher..indeed I use Safari as my user agent in chrome on my chromebooks and win7.
[Nexus 5 Q&A, Help & Troubleshooting] colorado_al:
Use this program to edit the SQLite database (for free) and you can do it in place and not have to worry about permissions changes:

https://play.google.com/store/apps/details?id=com.htsoft.sqleditor

Make sure you use a root capable file explorer to copy the original to your storage or off of your phone before you make any changes, in case you want to go back or your screw it up.

Also suggested to make a nandroid backup before this mod.
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
I installed this app on my Nexus 5 (not rooted) and could not find the settings.db database. Are you sure root isn't required to open that database from this app?
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
I think you missed the being rooted reference. :rolleyes:

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
No, I didn't. The mention of root was solely in reference to using a file explorer to back up the database file. :rolleyes:
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
That was the reference. You can't access no system files without being rooted, thus if you need to edit a .db file for any reason, you have to be rooted.

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
It's possible to add the tether_dun_required entry without root by issuing ADB commands from a computer connected to the device via USB. It would certainly be simpler if an app on the phone itself could achieve the same result (again, without root, though I realize it may not be possible).
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
I'm not Mr CLI guy, but it sounds like you can do this via adb. You pull the file, edit it, then push that file back.

Here's a link that might help,

http://wiki.cyanogenmod.org/w/Doc:_adb_intro

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
That guide is for using ADB from a computer connected to the device via USB. This doc already describes (near the bottom of the document) how to apply the fix by issuing ADB commands: https://docs.google.com/document/d/1Wso8Cb3rU0DApFe2lg5RcMrelAEoYY-fZ4MAghnIuqs/edit?usp=sharing. It's simpler than pulling, editing, and pushing the file back.

The question is whether it's possible to avoid installing the Android SDK and connecting your computer to the device, by applying the fix from the device itself, without root.
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
Just going to make me do all the legwork huh? :confused::eek::cool:

http://xdaforums.com/showthread.php?p=48915118

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Thanks, that helps, but still requires connecting your computer to the device. When I was first trying to install this fix, I wasn't even near a computer.

Believe me, I've done tons of "legwork" on this issue. I haven't been able to find a way to apply the fix on the device itself without root.
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
I was pulling your leg.(no pun intended) Don't know what else to tell you. Either you just forget about it or find a computer. Although there's supposedly a way to root the phone without a computer, but I don't have that info handy.

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Terminal app.
[Nexus 5 Q&A, Help & Troubleshooting] Berrydroidcafe:
If my memory serves me correctly I think that's how I rooted my G2 back in the day.

Sent from my Nexus 7 (2013)
[Nexus 5 Q&A, Help & Troubleshooting] colorado_al:
You still need root to do it on phone. If you are not rooted, you need to use ADB
[Nexus 5 Q&A, Help & Troubleshooting] yuugotserved:
does the settings.db fix work if i currently reached the 100MB limit? i was previously using the wifi tether router app (without the settings.db fix) and now the pages are redirecting to the t-mobile page.

do i need to wait next month for this to reset the 100MB counter before applying the settings.db fix?

TIA
[Nexus 5 Q&A, Help & Troubleshooting] jkatt:
Adb is how I did mine, clean and easy. Not sure why people make posts without knowing what can and cannot be done.
[Nexus 5 Q&A, Help & Troubleshooting] yuugotserved:
i will try the terminal method since it seems like the easiest method but i was just wondering does reaching the 100MB/100MB limit have any affect on this...

terminal method with stock root on 4.4.2

Su

Settings put global tether_dun_required 0

Change: APN protocol ipv4

APN roaming protocol ipv6

Reboot.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
How do you root via terminal if terminal can't access root?
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Chicken versus egg?

In the past one unlocked the bootloader then flashed a stock ROM with root injected.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
I've done that, but where does the terminal app come in? Also, don't you still need a computer for this?
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Terminal app unlocks the door(boot loader), custom recovery opens the door, rooted ROM moves you in.

I swear up and down I've unlocked several Nexi over the years just using terminal..but according to efrant, not the N5:

http://xdaforums.com/showthread.php?t=2545560
[Nexus 5 Q&A, Help & Troubleshooting] a2f:
I still can't figure out if following the steps in the fix posted on the bottom of page 7 will allow unlimited tethering or if it simply turns tethering on for accounts that don't have tethering enabled. It would seem to me that if it allows tethering on an account without tethering then it would probably allow unlimited tethering on a plan with unlimited data but please correct me if I'm wrong.
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
if you use this settings.db hack properly, you should have unlimited tethering. there are possibly three steps to do it properly.

1. apply the hack

2. change the APN settings to ipv4 or ipv4/ipv6

3. you may need to use a user agent switcher or vpn.

otherwise you see the upsale page from your carrier.

also to note: i could connect my bluray player but can not update. :(
[Nexus 5 Q&A, Help & Troubleshooting] roustabout:
works for net10 tmobile also

The DUN fix on page 7 just worked for me. I have a gnex 5 that I lit up on the net10 plan (50/mo, unlimited talk, 2.5 gig data at high speed, unlimited data overall) and spent some time last night not getting wifi tethering to work.

I was being redirected, somewhat, to a T-mo page - only ever saw the title of it, and didn't take notes on the title - I wasn't sure if tethering would work at all.

Adding the tethered_dun_required 0 field and value worked for me. I also went through the APNs listed on my phone (there are values for t-mobile and metropcs as well as the one I set up for net10) and pushed them all to run on ipv4.

Now to use Anycut to put the toggle for hotspot down as a widget...
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
I use GravityBox to customize my Quick Settings menu to include Hotspot (and to make other system tweaks).
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
I did similar with an app called Power Toggles.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
I remember that one, long time ago actually. Once I got used to CM, which lets me expand and customize the Quick Settings menu, there was no going back. Just swipe down anytime to have all those settings available at a touch - and long press takes me to the underlying settings menus for each.

Xposed (and GravityBox) have really impressed me. I have few reasons to miss CM.
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Same for Power Toggles... you can have an entirely different set of controls on the swipe down list. No gravity box needed.

---------- Post added at 09:42 AM ---------- Previous post was at 09:38 AM ----------

---------- Post added at 09:45 AM ---------- Previous post was at 09:42 AM ----------

Gawd I hate tapatalk! Lol
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
I think we can all agree on that (hating Tapatalk): Can't live with it, can't live without it.
[Nexus 5 Q&A, Help & Troubleshooting] obneg:
I wrote a (hopefully) more noob-friendly guide to fix tethering on KitKat devices, based on info in this thread and elsewhere. Thanks to everyone's posts who helped me get my Nexus working.

forums.redflagdeals.com/how-fix-data-tethering-android-kitkat-devices-tbaytel-any-wireless-co-1436409/#post18178141
[Nexus 5 Q&A, Help & Troubleshooting] usarmy89delta:
Nexus 5

Are you running 4.4.2 on your Nexus 5? I am and T-mobile is still counting MB on my tethered connection. I have tried the DUN fix and the Wifi Tether Reuter app, both without any success.
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
if your problem is t-mobile is counting data, use a user agent switcher.
[Nexus 5 Q&A, Help & Troubleshooting] lchiu7:
I just discovered this thread after looking for an answer to a different N5 problem.

To put this in context I don't live in the US and have an international version N5. When I visit the US (and on my last trip to CES) I use a TMO SIM card on the $30/100min/"unlimited" data plan. I last used this SIM in August on my GN and had no problems with tethering or SIP calls.

Using the exact SIM card (I just cut it to fit) this time I could make no SIP calls at all over the 3G network. I didn't notice the tethering issue since when I would be accessing the Internet from another device (like my tablet) the area would have wifi which I would use,

But when I tried to tether for some reason on one occasion (wifi poor) I got the TMO logon screen, put it down to as being too hard and just parked it. I now know how to get around it which means a tedious exercise to save the phone, root, unblock the bootloader and at the same time I guess install some custom recovery.

Just glad some folks have worked out the issue. It's not something I face at home, perhaps because the data plan here is not unlimited?
[Nexus 5 Q&A, Help & Troubleshooting] whytechapel_x:
The database thing didn't work. I still get the T-Mobile page
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
1. apply the hack

2. change the APN settings to ipv4 or ipv4/ipv6

3. you may need to use a user agent switcher or vpn.

otherwise you see the upsale page from your carrier.
[Nexus 5 Q&A, Help & Troubleshooting] weekscorp:
Thanks

Worked like a charm. I did just like you said and then restarted. Thanks for the great info.
[Nexus 5 Q&A, Help & Troubleshooting] whytechapel_x:
The user agent worked but from what I've seen is that some people do not need to change the user agent right?
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
You don't need to root. Just follow the steps at the end of rcauvin's excellent summary document - and forget everything everything else in this thread, because there is a lot of conflicting information.

Edit: The document is in rcauvin's post linked below:

http://xdaforums.com/showthread.php?p=48822724
[Nexus 5 Q&A, Help & Troubleshooting] colorado_al:
You might need to change your APN settings to IPV4 for SIP/VOIP to work as well.
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
correct. so far i think 3 confirmed users do not need to use UA switcher or VPN. but i suspect the number is higher. out of hundreds of people. i guess it has something to do with an MVNO id in APN settings or those users being rooted.
[Nexus 5 Q&A, Help & Troubleshooting] colorado_al:
My N5 is rooted and I did the SQLite mod. No need for a user agent or vpn. Also, no apparent trigger of the mobile hotspot counter either.

I used this program to edit the file in place with no need to change permissions either:

https://play.google.com/store/apps/details?id=com.htsoft.sqleditor
[Nexus 5 Q&A, Help & Troubleshooting] colorado_al:
Curious why my phone's reported data is less than what T-Mobile reports. Possible that phone is showing some additional data that I used on my old SIM early on the day that I switched to T-Mobile (in the afternoon).

Anyhow, Tethering working and no data use for my hotspot allotment.
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
I've cleared the data from the apps (there are two) and still didn't get things added up properly. There is also often a delay for the app to register heavy usage...once it was the next day. In the end, I dumped the spyware TMO apps and just USSD code in to get my minutes and data counts, and they're as close as the apps in accuracy. FWIW, the Hotspot number will allow you to go over the 100MB limit, but not by much. I reached 140MB once before I got the slam, on the next time I fired up Hotspot. At least it let me complete the video I was watching when I passed the limit. :)
[Nexus 5 Q&A, Help & Troubleshooting] lchiu7:
Alas I can't test that out since I was only visiting the US for CES and I am now back home. I guess I should have posted as soon as I realised the problem but figured 100 minutes would do me for the 2 weeks I was in the US.

I wonder if anybody else can check they can do SIP over TMO 3G on the N5?

---------- Post added at 08:57 AM ---------- Previous post was at 08:30 AM ----------

Well I could try it but as I noted in another post in the thread, I am no longer in the US so really could not try it out. My local carrier allows SIP calls over 3G (well me for 4G) but then I only have 1G data/month
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
anyone able to tether gaming consoles (xbox, ps3.wii) or bluray players? i can not. it seems to tie with my necessity to use user agent switcher.
[Nexus 5 Q&A, Help & Troubleshooting] CellPhish:
I use Pdanet+/Foxfi to tether/play online on my ps3. The issue is when you launch the game while connected to your phones internet it either freezes the game (Call of Duty games) or says server timed out. Solution: sign off PSN and when you launch multiplayer let the game sign you on. Works. I'm not sure if its on T-Mobiles end or 4.4.
[Nexus 5 Q&A, Help & Troubleshooting] ltracte:
I tried your fix, and it didnt work. any thoughts?
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
Did you restart and change your apn to use Ipv4?
[Nexus 5 Q&A, Help & Troubleshooting] ltracte:
Yes. didnt work. question... i am on the uncarrier plan, with 2.5 gb of tethering, but i hit my limit. does it matter if im on that plan, for this fix?
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
no it does not matter.

are you rooted?

are you using an user agent switcher for your browser?
[Nexus 5 Q&A, Help & Troubleshooting] kmx:
I don't understand how you guys are being blocked from tethtering.

I have a 16gb Black T-Mobile Nexus 5 that I got last week and is on the unlimited everything plan with the 2.5gb hotspot option yet I am still able to tether my phone's internet to my laptop well beyond 2.5gb.

If it helps I am rooted on the Beanstalk Rom and have the following APN selected in the screenshot below.

Other than that I haven't done anything extra to get tethering and it still works fine.
[Nexus 5 Q&A, Help & Troubleshooting] andrewNY:
The stock rom contains code to put tethering on a 'special' APN for T-Mobile, unless settings.db is modified. Alternative ROMs like Beanstalk likely do not contain such code.
[Nexus 5 Q&A, Help & Troubleshooting] kmx:
Thanks for clarifying that for me.:good:
[Nexus 5 Q&A, Help & Troubleshooting] :
Can anyone using pdanet/foxfi with sprint verify that since using WiFi tether also turns on native tethering, that you aren't found out and aren't being charged for it? Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] nibrwr:
I'm on Sprint and use built-in WiFi AP, never had any problems across 3 devices + 18 months
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Sorry for the dumb question but I'm new to both the Nexus 5 and T-Mobile. I'm using a rooted Nexus 5 I bought from Google store and have the T-Mobile $30 plan with the 100 minutes.

I also have a Nexus 7, wifi only. So, If tethering is possible I would like to tether the Nexus 7 to the Nexus 5 so I can use the Nexus 7 where wifi is not Available.

Can I do what I describe above?

How do I turn on tethering?

Thanks for any help.
[Nexus 5 Q&A, Help & Troubleshooting] GB15Packers:
This works 100%! Thank you! Am I correct in assuming this needs to be done again after an OTA?
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
according to couple of posts in the last 40 pages of this threads, you do not need to do anything after an OTA. the fix stays. unless you do anything that requires factory reset or wipes systems.db
[Nexus 5 Q&A, Help & Troubleshooting] will0899:
Wow that was it . I found my last step. Wifi hot spot finally running great!
[Nexus 5 Q&A, Help & Troubleshooting] cheaplikeafox:
I thought with the 4.4.2 kitkat update tethering started working again with stock android? It worked on a nexus 4 I tested. Does it not apply to the nexus 5?

http://forums.androidcentral.com/go...ng-kitkat-working-again-4-4-2-t-mobile-5.html
[Nexus 5 Q&A, Help & Troubleshooting] Preston995:
Running hotspot shield on my PC and easytether on my phone = no T-Mobile page (don't need user-agent switcher for browser either) and I can play BF4 with like 70-100 ping.
[Nexus 5 Q&A, Help & Troubleshooting] snowball34:
/data/data/com.android.providers.settings/databases/settings.db

tether_dun_required 0

I'm not sure why this didn't work. I used the ES file explorer and SQLite to modify these settings. This bootlooped my Nexus 5 and I needed to factory restore it. Any fix to this?
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Permissions?
[Nexus 5 Q&A, Help & Troubleshooting] snowball34:
I'm kind of a newbie :(, what do you mean by permissions? As in SuperSU permissions?
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
http://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions

Whatever sqlite editor you used *should* have prompted whether you had permissions to alter the system file. Did you see any prompt?
[Nexus 5 Q&A, Help & Troubleshooting] snowball34:
I used the PC version of SQLite, I didn't see any prompt. I only changed the required name and value. Once, finished I used ESFile explorer to place back the modified settings to the folder. I also changed the APN of Tmobile to IPV4 before restarting it. I'm stuck at the nexus 5 logo boot now.

---------- Post added at 05:30 PM ---------- Previous post was at 05:29 PM ----------

https://www.youtube.com/watch?v=choraOtaWDg

This is the tutorial that I followed.
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
I have a rooted nexus 5 and use the T-Mobile 100 minutes plan. I'm new at this and wanted to ask if T-Mobile has some way of detecting changes made to permit hot-spot ? Do they?
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
There is now an easier method to accomplish this safely, but unless you have prepared a backup or other failsafe..you'll need to restore stock.

---------- Post added at 08:52 AM ---------- Previous post was at 08:50 AM ----------

Yes. When/if they crack down is anyone's guess.

---------- Post added at 09:02 AM ---------- Previous post was at 08:52 AM ----------

Simpler safer solution:

http://xdaforums.com/showthread.php?t=2581035
[Nexus 5 Q&A, Help & Troubleshooting] snowball34:
Thanks for the link, I used the SQLite app to edit the files, now it's working for games! Although I do know that you need a spoofer in order to use the web. I only plan to use it for gaming (league of legends) because my home internet is REALLY slow... and it's cable earthlink. You have received my thanks.
[Nexus 5 Q&A, Help & Troubleshooting] wideasleep1:
Good deal...glad you weren't totally hosed, and recovered! :)
[Nexus 5 Q&A, Help & Troubleshooting] cheaplikeafox:
Has anyone with a stock nexus 5 tried to tether without any mods with tmobile the latest KitKat 4.4.2 update?