yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] csmoore88:
I use the flashable zip. THABKS!! Verizon revoked my unlimited data on my other phone that WAS my mobile hotspot. They retroactively charged me hundreds in overage data for what was already used. I fought hard and lost. This fixes my T-MOBILE.

In my case it reports MHS usage unless I use CM11 privacy guard. Just FYI. Thanks again
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
one word prepaid. thumb your nose at those contracts. i average 50 GB a month for 60$ unlimited everything.
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
Does anyone know how to fix the error when I try to tether? It was working fine a few days ago and it just stopped working. I have all the settings set up correctly. I've done everything to enable tethering prior to the error.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Try and change your APN Protocol to IPv4/IPv6 and set your APN Roaming Protocol to IPv4. That has worked for me, with and without UA change and with a number of different devices (PCs, Macs, Androids).

Of course you need to have tether_dun_required=0 as well, but I assume you already had that. Otherwise see rcauvin's document in post #119.
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
Did you see my screenshots? Everything you wrote is already there in the pictures. I have all the settings set up correctly. It was working a few days ago and no settings changed and it stopped working. Everything is setup already and I've read everything pertaining to the tether unblock for the Nexus 5. Like I stated in my previous posts everything is setup for tethering.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Yes, I saw your screenshots, and your APN Protocol and APN Roaming Protocol settings are NOT set as I suggested. That is why I posted it. Take a closer look.

Of course I don't know that that is the cause of your problems, it could be something else. I just know that I, too, was unable to tether. And after adding tether_dun_required=0 and making those APN settings (following rcauvin's document in post #119) I have had zero problems for 3+ months, using several different devices (Win8, Win7, MacOS, Android tablet). I have used various browsers both with and without UA changes, as well as a number of other data heavy applications. I am on the $30 prepaid 100min 5GB plan.
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
The apn settings I tried all combination of the ipv 4 and ipv4/ipv6. I just tried with ipv4/6 and then ipv4 like you suggested and nothing. All the settings are changed for tethering but it keeps giving me errors. It's so strange that you can go over 3 months and tether but mine after a few days stops working. I have no idea what could be causing it to come back as error. Thanks for the suggestion though.
[Nexus 5 Q&A, Help & Troubleshooting] CoronaDelux:
This may be a stupid question, but I assume this fix will work on any KitKat device (i.e. Nexus 4)? I just did the non-root fix via adb and it's working perfectly on my N5. My brother is also looking for a fix for his N4.
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
Not a stupid question actually. This is what we did for the Nexus 5. If it works on the Nexus 4 thats actually really good then. Keep us posted on what happens. Maybe we could pass the knowledge to other boards if it's able to be done.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Cool, it was worth a shot. But yes, that difference really is puzzling. Are you on the $30 prepaid 100 min 5GB plan as well? BTW, I am on stock 4.4.2 KOT49H, root, Xposed/GB, PA Gapps 2013-03-24, no other system mods.

I could swear I saw mention somewhere in this thread of using the tether_dun_required fix successfully on N4 with KitKat. But I could be wrong, my memory isn't what it used to be :o
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
I'm on an unlimited plan. I didn't touch any settings, it just stopped working. I made a clean flash of the same ROM in multirom and it works perfectly as a fresh install. I have no idea what could be causing the issue. I'm on beanstalk 275 with a good amount of xposed modules. I tried to copy the wifi folder from data/misc/WiFi to my current rom to see if it would transfer over the settings and nothing.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
What are you tethering to?
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
It's not tethering at all. It shows error so it doesn't tether to anything. It even disables my wifi and I have to restart to use my wifi. All my settings for tethering are setup correctly already. My problem isn't with the settings it with the native tethering giving me an error.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
Do other people using your custom rom have any trouble? The fixes here were for the stock rom, the custom roms should have fixed this themselves so no fix to the settings.db file would have been needed, only maybe the UA fix in the browsers.
[Nexus 5 Q&A, Help & Troubleshooting] FuMMoD:
Hopefully this helps others whom had the error pop up for their wifi tethering. It did not fix my issues at all but it seems to resolve the problem for others.

Deleting or renaming /data/misc/wifi solves the problem.

https://code.google.com/p/android/issues/detail?id=62516
[Nexus 5 Q&A, Help & Troubleshooting] CoronaDelux:
Well it definitely works on a Nexus 4 as well, in case anyone was wondering:good:
[Nexus 5 Q&A, Help & Troubleshooting] loonycgb2:
If your on windows and dont feel like bothering with manually changing user-agents and only the browser working and not the rest of the windows os try fiddler2.

Last month i did atleast 160gb of torrenting and netflix on my chromecast and still havent been kicked these past 4-5 months.

Full LTE with no throttle on 60$ plan
[Nexus 5 Q&A, Help & Troubleshooting] deltawye:
What do you mean by "changing user agent"?
[Nexus 5 Q&A, Help & Troubleshooting] Kippui:
First day with T-MO and I have tethered 7gb already via USB tether. So if you install a custom rom + root then thats good enough right? The only things I saw to do is that settings db change which is built into custom roms.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
You probably need to change the user agent if you don't have a tethering plan or if you want to go over the allotment. This usually requires an extension on your browser in your PC. T-mobile basically detects if you're tethering by detecting which browser you're using and this changes that flag.

You might need the user agent tweak for browsing, but everything else should be fine.
[Nexus 5 Q&A, Help & Troubleshooting] deltawye:
Can you tell me how to do this?
[Nexus 5 Q&A, Help & Troubleshooting] Kippui:
Any way to get past the amazon prime block? I have my UA set to nexus 5 to not get that tmo upsell page. Better yet any way to just make it where you don't need UA change at all? I tried changing my APN to something else but that didn't work.

Edit: ^ Download User agent switcher for your browser. Find some android preset and change it to nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
First time I hear anything about Amazon Prime being blocked. If you don't want to change UA you ned to encrypt your traffic, through a VPN for example. You can also try fiddler2 as per the poster above, but I don't know what he meant by "only the browser working and not the rest of the windows os". I haven't tried it myself.
[Nexus 5 Q&A, Help & Troubleshooting] motoridersd:
The only way I was able to fix this (after trying all the suggestions) was to do a factory reset. I had noticed that a wipe fixed the issue, so I backed up all my data, wiped, and restored with Titanium Backup. Now tethering works again. I have no idea why it broke in the first place.

There's definitely a file or files that need to be cleaned up to make this work again. The logs were pretty useless when I looked.
[Nexus 5 Q&A, Help & Troubleshooting] AnthonyAldrete:
awesome =) , worked for me thanks man
[Nexus 5 Q&A, Help & Troubleshooting] Kippui:
When I first got T-MO this thread is way way over whelming when a custom rom does all the work for you. All you need to do is use a UA switcher.
[Nexus 5 Q&A, Help & Troubleshooting] topcat0:
Last night I finally got my ADB working. For some reason it didn't want to work with my Nexus. Basically, I removed the Nexus from the device manager and let it re-install everything. Happy. So, this morning I was reading through the last few pages here and saw reference to rcauvin's post (#119). I followed the ADB method and now I can tether from my Nexus 5 and didn't have to root it. Happy, happy.

New question, on my old phone, I used to tether my chormebook all the time. No UA change required. Old chormebook long dead. I'm thinking of getting a new chromebook and was wondering if anyone has tried tethering one lately. The bonus of the chromebook UA was that you don't get the mobile pages on websites like I experienced with android UAs on Windows.

Thanks to everyone here but especially thanks to rcauvin (and all that contributed to his getting the tutorial ready). I realize we all stand on the shoulders of someone else around here.
[Nexus 5 Q&A, Help & Troubleshooting] Dougshell:
Maybe a new guide should be written with novice users on custom Rom in mind
[Nexus 5 Q&A, Help & Troubleshooting] akmsr:
novice users should not have a custom rom installed in the first place. if they read through the multiple links/threads necessary to install a custom rom, they are not a novice anymore. :highfive: but joking aside you are very correct. its the novices with a custom rom that panics.:laugh:
[Nexus 5 Q&A, Help & Troubleshooting] Dougshell:
I'm saying a simple process should have a simple explanation. If all it takes is custom Rom plus ua edit, then say that in the first line of the op
[Nexus 5 Q&A, Help & Troubleshooting] m0bstr:
can someone post some simple instructions?
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Several simple guides have been posted and are continually referred to when people ask. But newcomers need to scan the last few pages to find the links to those guides.

I keep pointing to rcauvin's guide in post #119. It was mentioned already on this very page.
[Nexus 5 Q&A, Help & Troubleshooting] Dougshell:
If reading the op of a guide or process related thread does not solve the users problems there is a bit of fail. The "last few pages" see constantly changing, but the OP does not
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
It's because it's not a "guide" thread per se. The OP was themself asking about it, and only they can change the OP.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
^Exactly!

This is a forum where members exchange information to the best of their knowledge. It is not a customer service site with paid staff answering questions and solving problems on customer request -- although some members actually do that with their phenomenal contributions here, albeit on their own dime and time.

It requires some effort on the part of members to find and read information relevant to their situation. The reward is increased knowledge and understanding, beyond just solving their immediate problem.

I realize "high horse" posts like this will annoy some people. But every knowledgeable member here have done the work. (I am just a user myself, not a dev or expert).
[Nexus 5 Q&A, Help & Troubleshooting] knudsen83:
rom updates

Will this need to be done/flashed after rom updates?
[Nexus 5 Q&A, Help & Troubleshooting] joannn:
Are you using free hotspot plan? Check your APN settings once.
[Nexus 5 Q&A, Help & Troubleshooting] GBP85:
Why would you need this on a custom ROM anyway?
[Nexus 5 Q&A, Help & Troubleshooting] *child:
Usually no.

The ZIP makes modifications to the data partition so unless you wipe data/factory reset or your ROM modifies the data partition (usually ROMs only modify the system partition), you should not need to reflash.
[Nexus 5 Q&A, Help & Troubleshooting] afgeeek:
Thanks

Thanks this worked.
[Nexus 5 Q&A, Help & Troubleshooting] knudsen83:
Thank you

Thank you
[Nexus 5 Q&A, Help & Troubleshooting] Cor-master:
Anyone got AT&T? Can't ever seem to get tethering to work here either. My nexus 7 will connect but no apps will load. I have a mobile share plan which includes tethering so it should be allowed
[Nexus 5 Q&A, Help & Troubleshooting] GBP85:
As far as I know, your plan should include tethering, at least Verizon's includes tethering. I've had this problem before, for me I had to switch to IP4 only.
[Nexus 5 Q&A, Help & Troubleshooting] topcat0:
That may be a great idea (IPv4). As far as I know, T-Mobile is the only one that has blocked tethering on the N5 and needs the workaround.
[Nexus 5 Q&A, Help & Troubleshooting] pdrift:
How do you modify this file on the phone itself?
[Nexus 5 Q&A, Help & Troubleshooting] afgeeek:
using SQLite Editor. your phone has to be rooted in order to do it.
[Nexus 5 Q&A, Help & Troubleshooting] Akoolive:
http://forums.androidcentral.com/mo...831-unrestricted-tether-t-mobile-no-root.html
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
Doesn't work here, on stock 4.4.2 rooted. Immediately get an upsell page, it just pops up in Windows.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
I found the same, didn't work for me either.

I did a clean install of 4.4.3 on my Nexus 5 yesterday (with factory reset) and the ADB command I originally used on 4.4.2 to add tether_dun_required=0 just didn't work. Kept getting ADB syntax help. Dunno why.

I saw that link to the alternative fix (adding ",dun" to the APN Type) and tried that, but I still got the T-Mo upsell page.

I ended up having to take the long route of copying settings.db to my pc, adding tether_dun_required=0 there, then copying settings.db back to the phone. That fixed it, and now I can tether again. Required root, of course, which the ADB command didn't.
[Nexus 5 Q&A, Help & Troubleshooting] charesa39:
Anybody else having issues with tethering after updating from 4.4.2 to 4.4.3? I manually flashed the bootloader, radio, system and boot from the factory image to update (wiped cache and dalvik cache as well). Everything went smoothly, and is running good except for one issue. I applied the tether fix using the SQLite Editor when I was on 4.4.2, and it worked perfectly. Now (after updating to 4.4.3), when I try to activate it, it just says "ERROR" under the "Portable Wi-Fi Hotspot" when I check the box to activate it. I checked the database table that I edited in 4.4.2, and the "tether_dun_required" entry is still in there. I even tried removing it and adding it back in, to no avail.

Anybody know what's going on and can offer some help? Thanks in advance.
[Nexus 5 Q&A, Help & Troubleshooting] Letitride:
I just re-checked it & everything is fine on our T-Mo tethering, was still using the "older" radio/kernel but upgraded/flashed to newest one this morning. It's working for me.

Are you simply copying the settings.db file back to the N5, or copy it & doing the manual add/edit, save & copy/move back to /data/data ... folder? That works for me & no T-Mo Upsell page/screen (newer one, too - I saw that earlier, so I know it's changed) anymore and I have as much as 2 or 3 GB to tether if I HAVE to for emergencies (don't use more than 1 or 1.5 GB each month on the P/P plan unless doing lots of streaming on the road.)
[Nexus 5 Q&A, Help & Troubleshooting] charesa39:
Hmm. That's odd. Well, I hadn't done anything before trying it the first time. After it failed, that's when I went into the database file and saw the entry was still there. As far as editing it, I'm using the SQLite Editor app I originally used from the Play Store. I never move the file off the device. I actually did make a backup of the modded file before I updated. Then, I had tried copying it back, but that caused a bootloop, so I had to restore my backup. Maybe I just need to bite the bullet and do a factory wipe. I was trying to avoid that...
[Nexus 5 Q&A, Help & Troubleshooting] another_pdx_geek:
Tethering away on the $30 Tmobile plan

Just wanted to pop in and say that the method of changing "tether_dun_required" to 0 worked for me without rooting my phone. Using a Nexus 5 on Tmobile's $30/mo 5GB data / 100 min voice plan. I have not needed to mask my user agent and I have not had to alter my APN settings. I followed the full instructions that obneg posted on page 51 of this thread.

Side question - some of the threads discussing this have suggested that I should change my APN settings to use IPv4 only. Does anyone know if/why this is necessary? I haven't done it and I seem to be tethering okay (USB or wifi hotspot). In fact, whenever I make any change to my APN settings, even if I revert the change, my phone's browser becomes unable to access the network until I revert to default. Can anyone shed light on that IPv4 requirement?
[Nexus 5 Q&A, Help & Troubleshooting] Letitride:
From PlayStore, I used SQLiteManager (free App) to open the file (after copying it to the /sdcard's subdirectory - using ES File Manager w. root enabled) and added the new/extra line for DUN with 0 value, save) Exit and move the file back, and when prompted, overwrite the file in the /data/data's subfolder. These steps did NOT result in any bootloop for me - power down/restart the N5, and then turn on WiFi Hotspot from Settings, and it should work.

Launch WiFi from your other device & you should see the unique SSID you've assigned/changed for your N5 broadcasting - and connect to it. Even when T-Mo is blocking & offering the "Up-Sell" page, it still connect between devices - and, confirmation of working settings.

If not, the next step is a clean install following a full factory wipe/cache/dalvik cache. Post your results & any errors - meanwhile, since I got a 2nd. N5 - I'm going to play with Mrs. L's device while she's busy on her tablet after dinner.
[Nexus 5 Q&A, Help & Troubleshooting] doo567:
I updated to 4.4.3. I also applied the non root tether_dun_required" to 0 just like I did on 4.4.2. I confirmed the value was there. I also changed APN to ipv4. This didn't work because I checked my T-Mobile account and it was accumulating tether data. Maybe people don't realize but the prepaid $30 plan includes 100mb of tether data. So have people been checking their account to make sure it isn't recording data usage? On 4.4.2 that figure would never change. I have never seen the up sell page before but I assume I will when I hit 100mb.
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
Was it a bootloop, or did it just get stuck in the boot animation? Mine did the latter after changing the file, but in TWRP I fixed permissions and it fixed it. For some reason the permissions of the file can get changed, that's why the original instructions said to double check them after putting back the file in the original location.
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
Easier Method To Fix tethering on NX5

With all due respect nice post...way to hard!

When I got my NX5 After a lil googling I found this link :

http://pocketnow.com/2014/01/20/kitkat-broke-t-mobile-tethering

Works like a charm, only trick is to find the free editer [sqlite green icon] in the play store.

But my concern/question is...it seems everyone is posting that the new v4.4.3 ota from tmobile kills this? that will blow bad! I do over 170g a month with my NX5!

But seriously give the link above a try its a lot easier than using adb, I already owned es-folders so thats $ well spent regardless.

Waiting for confirmation..

Enjoy :)
[Nexus 5 Q&A, Help & Troubleshooting] andy o:
I'm on 4.4.3 and did the change by copying the settings.db file to Windows and then back. Only problem I ran into is the one in my last post, but that was easily fixed. And I just tested it and it's working, no upsell page like before the change.
[Nexus 5 Q&A, Help & Troubleshooting] another_pdx_geek:
I am on 4.4.3 and having no problems.
[Nexus 5 Q&A, Help & Troubleshooting] charesa39:
Just wanted to give an update for anybody who was still questioning whether 4.4.3 breaks the "tethering hack". After my issues I had quoted above, I went ahead and just flashed the entire factory image for 4.4.3 to start fresh, and after all my apps and data, I applied the database fix like I did back on 4.4.2. I can report that it is working again as it was in 4.4.2. Next time, I'll be sure to wipe data when I update to be sure I don't run into any issues again.
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
I installed Bigxies v4.4.3 rooted rom , flashed dirty and worked like a champ! only thing lost was my home screen icons!
[Nexus 5 Q&A, Help & Troubleshooting] ws6kid:
Can you post the link to the bigxie ROM?
[Nexus 5 Q&A, Help & Troubleshooting] belair56:
http://xdaforums.com/showthread.php?t=2557523
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
sqlite editor not working now

I was having some serious random reboots, so I flashed the new v4.4.4, so far no reboots except now the sqlite editor I used before says no root!

I bought and tried all of the other editors [and refunded/returned them] because now you cant get into the /data/data/ folder it wont show any files at all!

anybody have a fix?

Thanks in advance
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Use method 2 in this document:

https://docs.google.com/document/d/...cMrelAEoYY-fZ4MAghnIuqs/edit?usp=docslist_api

No root required.
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Great to see you're still following this thread and keeping that doc updated. Thank you for that!

I seriously, genuinely believe that the world would be a better place if you were to post that document as a new XDA guide thread. Of course with proper credit and links to relevant source posts inside this thread. Your document sums it up so that people don't have to read several pages in this thread (which, unfortunately, very few do).
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
Solved kit kat v4.4.4 tether problem

I used the sms/tether fix in/with xposed modules! works like a charm! [I'm posting with it now] :)
[Nexus 5 Q&A, Help & Troubleshooting] :
Wifi AP Tethering with L

So far on L I am unable to get tethering to work, it will enable but devices just sit at "obtaining IP address" until they time out. There is nothing in the /data/data/....blahblah folder to edit the dun_required value, it's completely empty

anyone have any ideas?

FWIW I am on Sprint
[Nexus 5 Q&A, Help & Troubleshooting] TheDannemand:
Sounds like you need to enable root access in your file explorer to get to settings.db. Or use the adb command in rcauvin's document to add the setting.

If devices (PCs, tablets) have difficulty connecting to the AP or accessing internet, try opening a web page on the phone after enabling AP, then connect the device again.
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
try using the xposed module called "kitkat sms+tether enabler"

Works on v4.4.4....

:good:
[Nexus 5 Q&A, Help & Troubleshooting] AndroidMilos:
Just to add. I have a Kindle HDX 7, rooted. I used SQLite to make those changes (add "tether_dun_required 0). Rebooted and setup my Kindle for hot spot. At first I could not connect (and get data) with a non provisioned Android (razrM), but then I changed in the APN settings to ipv4 only (as ipv6 or ipv4/ipv6 did NOT work). With this apn change I can connect to the hotspot (kindle's that is) and get data no problem.

Thank you all for an interesting thread although I did not read it all-mybe the Kindle was covered but if not then we know that this mod appears to work.

Of course I have not done any long term testing.

My Kindle is on my simple choice plan (along with my other TMO phones) and I get 1200 MB monthly.

But of course I will have to do some long testing (later not now lol) to see if anything odd (such as being kicked back to TMO to sign up for a tether plan) develops.
[Nexus 5 Q&A, Help & Troubleshooting] yuugotserved:
I'm new to Xposed so I just installed it on 4.4.4 and downloaded the SMS+Tether module. So all you had to do was activate the module, reboot and use the native tether from Settings > Tethering & Portable Hotspot?
[Nexus 5 Q&A, Help & Troubleshooting] RoxAbout:
Xposed tether add-on

Yes. Works like a champ!

PS. Im not a developer, but I donate to them!