yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Paulcook:
Unfortunately...

Yes. I'd been bypassing the tether block for the purpose of running my PS4 while we've been forced to stay in a hotel for the past couple of months, and just recently it stopped working completely and I'm sent to the upsell page, as well.

It really sucks, as I rely on it completely for any sort of a fast connection, as hotels like to cap the data in order to sell you a faster connection.

If anyone figures out a fix please let us know!

Likewise, if I figure anything out, I'll definitely let this forum know what I might find.

Thanks in advance!

-PC
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
Try using a vpn on your ps4. You'll have to manually enter the vpn settings, if it has that option (I don't own one).
[Nexus 5 Q&A, Help & Troubleshooting] CellPhish:
For anyone having a hard time tethering, find a SQ editor app and hover over to /data/data/com.android.providers.settings/databases/settings.db and add "tether_dun_required" with a value of 0. If you did that before, download build prop editor from play store. Press the pencil icon and add this on the bottom "net.tethering.noprovisioning=true" and save and restart phone. Lemme know if that works guys. I never used VPN, just WiFi tether to play multiplayer on PS3(since my home internet ping is horrible). I don't want to sound like a hypocrite, but if you're using the hotspot as your main internet for your house and splurging on data with movie streaming and downloading, you're the reason why T-Mobile is taking extra pre-cautions. At least for playing online, you don't consume a lot of data (I used to play BO2 when the tether limit was 500mb, and I never went over that). If you're gonna use tethering for internet access, at least don't abuse it. You wanna download movies? Download it on your phone and save it and play on your tv. Don't rely on tether connection to download, smartphones are like computers nowadays. Anyways, see if that works.
[Nexus 5 Q&A, Help & Troubleshooting] morick02:
Settings is jacked

Hi All,

I modified the /data/data/com.android.providers.settings/databases/settings.db and added "tether_dun_required" with a value of 0 using SQliteBrowser but now my side volume buttons don't work (up or down), I lost my lock pattern and can't renable a new pattern and the phone won't mount on my PC.

Any ideas what I did wrong when modifying settings.db?
[Nexus 5 Q&A, Help & Troubleshooting] AcuraKidd:
Anyone know if this workaround still works on the latest version of android?

I'm on stock 5.1.1 build LMY48I
[Nexus 5 Q&A, Help & Troubleshooting] Letitride:
On latest Chroma LMY48I build (8/14/2015) with T-Mo prepaid's 100 minute/5GB plan, still working fine. Only tether or use hotspot feature when necessary or at places without WiFi or Fios (home/offices) coverage ... used about 1.1 GB data this month, streaming Youtube to play over bluebooth audio in the car while driving and/or to "enable" WiFi calling on secondary device (iPhone 5s) on a different T-Mo account/line with voice/SMS only.
[Nexus 5 Q&A, Help & Troubleshooting] jarredduq:
I'm on M preview 3 and can't find the database entry to apply the fix. Looks like they have changed where it is located.
[Nexus 5 Q&A, Help & Troubleshooting] fish411:
T-Mobile must have change something to limit Hotspot usage and speed

Up until yesterday, I was getting no speed restrictions using phone's hotspot. I've unlimited data. The phone's data speed is good. I can watch YouTube and browse Chrome with no problems. It appears T-Mobile has figured away to slow down the hotspot speed. Mostly video and pictures take awhile to load on PC. I use "tether_dun_required". What's odd is that speedtest on PC shows normal download and upload speed, but sometimes it takes a very long time to open and load web page.

Using build LMY48I.

Update: "package_verifier_enable" and set that to zero and using Hotspot $hield helped, especially for YouTube on PC, but not consistent on other sites.

Hopefully, the experts here can figure out what's going on.
[Nexus 5 Q&A, Help & Troubleshooting] rodeohat:
Same situation here, Preview 3 Marshmallow, it has tethering blocked, the db is not on the location where it was on lollipop, changed build.prop, edited the apn to have v4 and it worked for a few weeks but stopped working a few days ago, hopefully someone finds a solution...
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
Your solution is to use a vpn, in addition to all the hacks.
[Nexus 5 Q&A, Help & Troubleshooting] rodeohat:
Thank you, I have never used a vpn before, does it go on the devices receiving the internet or the one im using to tether? any recommendation from the playstore?

thanks for your time
[Nexus 5 Q&A, Help & Troubleshooting] jarredduq:
I got it working using this app. https://play.google.com/store/apps/details?id=com.formichelli.tetheringfix
[Nexus 5 Q&A, Help & Troubleshooting] RussianBear:
I use private internet access. You enable it on your pc/laptop, etc.
[Nexus 5 Q&A, Help & Troubleshooting] rodeohat:
Made work for a week or so, its back to being blocked, is there any additional workaround?
[Nexus 5 Q&A, Help & Troubleshooting] AcuraKidd:
a while back there was some discussion about this workaround not working on android 6 or greater. Can anyone please confirm?
[Nexus 5 Q&A, Help & Troubleshooting] Galice-sama:
This seems to no longer work as of yesterday. I was able to tether just fine last night. Woke up this morning and speeds are reduced severely. Speeds are 100% on my phone, but tethering is to a crawl. Anyone else experiencing this?
[Nexus 5 Q&A, Help & Troubleshooting] yakman66:
IPv6 worked on my macbook, but it did not seem to work on my Nexus 7. I'll have to give it another try when I have time.

In theory we should be able to get IPv6 to work because they added 464xlat support into Android 4.3

Maybe it's a configuration issue? I guess we'll need a fix before they run out of ipv4 addresses.
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
When changing APN protocol if you pick IPV4/IPV6 will it try to use both? I had it on IPV6 and a lot of sites weren't loading. Changed to IPV4 everything seems to work, switched to IPV4/IPV6 everything seems to be working too. I don't know if it's better to just use IPV4 exclusively or the IPV4/IPV6 option.
[Nexus 5 Q&A, Help & Troubleshooting] jarredduq:
Works for me too. I'm one happy camper! Thank God for people that are smarter than me.
[Nexus 5 Q&A, Help & Troubleshooting] yakman66:
Thanks! I didn't even think of trying that setting before.

I just tried the ipv4/ipv6 setting and it appears that my tethered devices work just as well as it does when set to ipv4. At the same time it looks like the phone itself is connecting on ipv6.

I'll probably leave it on ipv4/ipv6 until I find something that doesn't work.
[Nexus 5 Q&A, Help & Troubleshooting] dn00:
Kind of off topic but is there a similar tweak to this for grandfathered data plans? I'm on a $10 unlimited grandfather data plan and it forces me to the tmobile login page every time I visit a website. I'm guessing the problem is similar to this.
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
Login page when you're tethering? Or login page on your phone?
[Nexus 5 Q&A, Help & Troubleshooting] dn00:
Login page on my phone. There's an H or LTE on the signal bars but there's no data besides being redirected to the tmobile login page. There's also a "sign into network" notification. Funny thing is the tmobile webpage doesn't even load after I sign in. Everything works fine when I tried a sim with a different data plan so the phone is definitely not defective. Maybe some new settings that came with kit kat.
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
T-Mobile is blocking your phone from using that data plan. No real fixes for that. Just have to up your data plan to the one that is supported. I'm guessing you have the Phone First Web addon?
[Nexus 5 Q&A, Help & Troubleshooting] dn00:
Yes that's the one. Although it's called Unlimited web for phones on the myaccount app. I find it weird that it works perfectly fine on the GNex and N4 but not the N5. All of which are unlocked. The rep I talked to earlier temporarily changed my data plan to the 200mb plan which I believe should work for all phones. I was still getting the same problems. Switching sim cards that has a different data plan was the only way I could get data.
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
Phone First Web addon was meant for feature phones back in the day. T-Mobile didn't block a lot of the unlock phones that they didn't sell directly. You got lucky with the N4 I heard they started blocking all N4 manufactured after Feb 2013. I would suggest you try to get the $20 Prefer Android Web if you need more than 200mb. It comes with 5gb until throttle. Customer Retention should be able to add it for you.
[Nexus 5 Q&A, Help & Troubleshooting] zoomass07:
I have the $30 dollar 100 min 5gb plan.

Tried the SQL fix - then tried connecting both via PC and via my Nexus 7. No luck. :crying: Bah, I was so excited too.

The Nexus 7 forces a "sign-in to Wireless Network" notification. When I click on that it loads a T-Mobile page prompting me to log-in. I'm assuming that if I get there it's already a no-go.

I wonder what's stopping my phone from allowing me to tether this way (when a bunch of you had no trouble). Perhaps I'll have to continue considering the $70 unlimited everything plan.
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
Did you change the APN to IPv4?
[Nexus 5 Q&A, Help & Troubleshooting] zoomass07:
Sure did! No luck though. :(

Any chance a restart would help?
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
I have the same plan as you and this fix worked perfectly for me. Works on my Nexus 7 as well.
[Nexus 5 Q&A, Help & Troubleshooting] bobafuzz:
You should restart after SQL edit.
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
Was just about to suggest that.
[Nexus 5 Q&A, Help & Troubleshooting] zoomass07:
Bingo! I should have known to try that. But apparently I'm a little slow. Derp.

O well - working like a charm now! Thanks! :good::good::good::victory:
[Nexus 5 Q&A, Help & Troubleshooting] vitsdroid:
Awesome. Worked like a charm. This is why I love xda and the people that frequent it. And why I love Android.
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
Is this hack something that we might see rolled into a rom? Or is it a something one may need to apply even after flashing a different ROM.
[Nexus 5 Q&A, Help & Troubleshooting] DOHCtor:
It's a Google thing. AOSP roms shouldn't have this restriction.
[Nexus 5 Q&A, Help & Troubleshooting] Engineer4life:
Has anyone had success with this on a Srint N5?
[Nexus 5 Q&A, Help & Troubleshooting] greeneyez15o:
Will this work on att I use tether setting app to tether on my s4active
[Nexus 5 Q&A, Help & Troubleshooting] thor79:
So I take it this was a known fix for this sort of redirection to check for tethering data plans?

The fix kind of came out of no where...so I figured it might be something like that.

and yeah, working for me too. Though it was working without a restart...I restarted anyway just to make sure. It was working perfectly on my train ride into work this morning.
[Nexus 5 Q&A, Help & Troubleshooting] PuvMan:
Thanks for the info on getting tether working! That is HUGE!!!!

Can anyone confirm with these changes that they have tethering working on the "Total Internet" plan? My N5 comes in today, and tethering is very important to me (commute to work on the bus daily). If I am unable to get it working as needed, I'll probably gift the phone to my mom and won't even open the box.

But if there is confirmation "Total Internet" plans work properly even with tethering after this change, I'll head down to the TMO store and pick up a micro sim card! And goodbye to the GNex then!

Thanks!

----edit----

Just found this over at HF:

http://www.howardforums.com/showthr...xus-5-from-Play-Store?p=15275733#post15275733

So looks like the Total Internet plan is blocked from working on the N5 plan all together..... now the question is do I wait for a migration offer (that may never come) or do I call in and change my plan??? I'd really like to keep truly unlimited data with unlimited tethering!
[Nexus 5 Q&A, Help & Troubleshooting] dzotx:
Thank you! It works as stated. Now, I just need to fix the routing for VPN so that any devices can connect to my hotspot like I had on the N4 :D
[Nexus 5 Q&A, Help & Troubleshooting] jarredduq:
I tried the AOSP ROM initially and it had had the same blocking issue.
[Nexus 5 Q&A, Help & Troubleshooting] Robius:
Help, I added the row to the settings.db, rebooted and now I am stuck on the converging boot logo. Never boots beyond that point. The top left of the device heats up noticeably.

---------- Post added at 10:56 AM ---------- Previous post was at 10:46 AM ----------

I used SQLite Manager to edit a copy of the file and copy it back.. The app couldn't even browse past /data/ as it was blank.

For now I used twrp to rename the .db file and it seems to be booting now.
[Nexus 5 Q&A, Help & Troubleshooting] dzotx:
You need to make sure settings.db is owned by "system": "chown system.system settings.db". Maybe one of the recovery will allow you to fix this permission... otherwise, you'll have to restore the previous settings.db file to get phone to boot up again.

Oops.. didn't see that you've already was able to boot up again... just fix permission and you should be fine. I had same problem.
[Nexus 5 Q&A, Help & Troubleshooting] theremix:
I am not rooted, but I also can't even browse past data. Data folder is empty. Tried with ES Explorer, SQLite manager and editor. Do I need to be rooted in order to access the settings.db?

Edit: did some googling around, found that I have to be rooted to access anything in the Data folder.
[Nexus 5 Q&A, Help & Troubleshooting] Dungeon47:
Might be handy for someone to make a flashable zip of this. I would, but I don't know how.
[Nexus 5 Q&A, Help & Troubleshooting] eroica03:
Hi, how you make sure that "settings.db is owned by "system"" Many THANKS!!!
[Nexus 5 Q&A, Help & Troubleshooting] tomatosauce:
Non-root solution?

Thanks so much for the fix! Is there a solution for non-root users?
[Nexus 5 Q&A, Help & Troubleshooting] GSLEON3:
For changing the protocol, just go into settings, more, mobile networks, access point names & then go into your apn & change the protocol. You do not need to be rooted to do that.

For any other fix attempt, you do need root, because you either have to edit an apk, or modify the telephony db apn settings.
[Nexus 5 Q&A, Help & Troubleshooting] wideopn11:
This is great!

sent from my company iPad using my tethered nexus 5 on tmobile.
[Nexus 5 Q&A, Help & Troubleshooting] Robius:
Thank you. Ownership is not seen in recovery. (Only chmod) I am not sure if the fix permissions button does the same, but I'll wipe out the file, mod it and set ownership explicitly with root browser.
[Nexus 5 Q&A, Help & Troubleshooting] ss4rob:
Yes, this works on Sprint as well - connected with my Mac as we speak - nice find!
[Nexus 5 Q&A, Help & Troubleshooting] eroica03:
Thanks so much! You are genius! it really works for me!!!: :laugh:
[Nexus 5 Q&A, Help & Troubleshooting] devo3d:
Hi, I want to get this device but I am with At&t (Straight Talk) and was wondering if anyone has used this device on either and can tether without issues? PM me if you would like...
[Nexus 5 Q&A, Help & Troubleshooting] rcauvin:
Step-by-Step Guide to Enabling Nexus 5 Tethering and Hotspot

Based on what I read in this thread and other sources, and after a lot of trial and error getting everything to work yesterday, I've compiled the following guide to working around the problems some T-Mobile users are having with Nexus 5 tethering and hotspots:

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

Feedback and corrections are welcome.
[Nexus 5 Q&A, Help & Troubleshooting] Qbancelli:
Thank you.

Working for me now, I was going nuts without bieng able to tether to my Nexus 7.
[Nexus 5 Q&A, Help & Troubleshooting] newbie101:
I am a newb...can you please post the actual guide to what you did..... I am rooted, but lost.

Thank you.
[Nexus 5 Q&A, Help & Troubleshooting] quick_:
Install esfile explorer (free from play store)

Install sqlite editor (not free) or another similar app

Turn on root mode in ESFile Explorer (right side pick tools, then on button beside root)

Go to the folder he mentions, copy the file to your sdcard/downloads, open the sqlite editor app, pick files tab, go to the downloads folder and pick settings.db.

Pick global, then pick at the top the pencil edit icon, pick the + to add a new item, call it tether_dun_required, put the value 0.

exit out of the app, go to esfile explorer copy settings.db from downloads folder, paste in the folder he mentioned, overwrite the original (back up the original first).

Pick on the file and pick properties in esfile explorer, permissions make sure its owner read, write, and group read write.

Then pick ok, then pick change beside owner pick system, do the same for group.

Exit out of the app.

Go to settings, more..., mobile networks, access point names, pick on T-Mobile GPRS (fast.t-mobile.com), go down to APN protocol pick IPv4, save, exit.

Reboot your phone, and tether away...
[Nexus 5 Q&A, Help & Troubleshooting] crspang:
I have straight talk and tethering works right out of the box, no mods needed.
[Nexus 5 Q&A, Help & Troubleshooting] newbie101:
Thank you so much..it worked.

---------- Post added at 05:27 AM ---------- Previous post was at 04:44 AM ----------

This method is the easiest...Thank you.

IT SHOULD BE STICKIED!!
[Nexus 5 Q&A, Help & Troubleshooting] deeznutz206:
I am a total newb to Android. Can someone direct me to the easiest way to root this phone?

I read through this whole thread and am a bit confused with all the android terms. Could someone PLEASE make a STEP by STEP video on how to do this tether fix? PLEASE. I am just afraid to F up my new phone. Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
Ty so much. Up and running in 5 minutes
[Nexus 5 Q&A, Help & Troubleshooting] maolin95:
Try out some 3rd party tethering apps that were there before the android system got tethering function built in. Hopefully you have rooted your device.
[Nexus 5 Q&A, Help & Troubleshooting] Zandeer:
Out of curiousity, did anyone, that was able to tether before, able to just switch to IPv4 and get tethering working?
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
Just out of curiosity, In the top left corner when I activate wireless tethering I get a "? Icon" which is tells me to sign into T Mobile network. Tethering is working. Does anybody know that notification is all about?
[Nexus 5 Q&A, Help & Troubleshooting] s_special:
Exhibit B
[Nexus 5 Q&A, Help & Troubleshooting] lost27:
Unroot after enabling tethering?

So after following the instructions in this thread regarding rooting the nexus 5 and adding the entry in the database table, will these changes stick if I unroot the phone or will I need to leave the phone rooted in order to keep the tethering? Has anyone tried unrooting the phone after updating the database table?
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
I wouldn't worry too much about it. I get those from time to time, especially on the days when my $30 a month plan for Tmobile renews. I tap it and then it just disappears and I am connected.
[Nexus 5 Q&A, Help & Troubleshooting] deeznutz206:
I found two rooting methods for the Nexus 5. Which is preferred for the tether hack?

Chainfires cf autoroot method http://xdaforums.com/showthread.php?t=2507211

or

Wug's toolkit method http://xdaforums.com/showthread.php?t=2517778
[Nexus 5 Q&A, Help & Troubleshooting] wildpig1234:
I used this root method. Very easy.

http://xdaforums.com/showthread.php?t=2507211

also

http://xdaforums.com/showthread.php?t=2511507 to have TWRP custom recovery installed. Highly recommended. If you follow directions well, y won't f up yr phone. No work or risk, no gain. Thousands has done this without problem. Note that this rooting is just to start the process because y still need to edit .db file afterward.

Either is fine. All you need is root access. Try this also to have custom recovery TWRP installed which everyone should HV for backing up.
[Nexus 5 Q&A, Help & Troubleshooting] bc14nj:
Awesome. This worked perfectly.
[Nexus 5 Q&A, Help & Troubleshooting] 1N23456:
Hmm..Just tried this and when I went to click on Mobile Networks, the phone crashed and now won't boot past the nexus orbs. Wonder how to fix.:confused:
[Nexus 5 Q&A, Help & Troubleshooting] wildpig1234:
I am on Sprint. I got the tethering to work after editing the settings.db. I did not however see anything about APN setting or access point name under mobile network to change to IPv4. I was able to tether after that anyway and my pc laptop shows IPv4 under the wireless network property. Is this "APN protocol setting" something limit to T-Mobile? If not where would it be for a nexus 5 set up for sprint?

Also I was able to edit .db by installing aShell and aSQLiteManager. Not the most elegant but a free solution to SQLite editor.

I am surprised at how cool the nexus 5 stays being an hotspot:)
[Nexus 5 Q&A, Help & Troubleshooting] notbrodie:
don't use either. root it yourself with fastboot and adb
[Nexus 5 Q&A, Help & Troubleshooting] tracerit:
are there any advantages to doing it manually rather than the auto root methods?
[Nexus 5 Q&A, Help & Troubleshooting] notbrodie:
you actually learn the process, so when things so sideways (and they will) you'll have a better idea about how to fix it. toolkits should only be used as a shortcut for people who already know what they are doing.
[Nexus 5 Q&A, Help & Troubleshooting] Bohemus:
On my N5, I can no longer connect to my PPTP vpn server. Does t-mobile LTE block that as well?
[Nexus 5 Q&A, Help & Troubleshooting] muyoso:
I thought this was stupid when it was recommended to me, but it seriously does help to generally know at least the basics of what you are doing and what you are trying to do.
[Nexus 5 Q&A, Help & Troubleshooting] pathtologos:
I tried the method and no luck. I'm wondering if it's because I JUST opened an account with T-Mobile in October. I'm a brand spanking new customer (coming from sprint--glad that nightmare is over) and as such I'm on a newer plan. Basically, my plan is unlimited everything family plan, except I got 3 lines unlimited data and 1 line with 2.5 GB. I believe each line has 2.5 GB of tethering. Should this mod still work, or do you think I can try a tethering app from the market?

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] marc.ientilucci:
Will this work for AT&T? - does at&t check to see if tethering is active? Coming from a galaxy nexus where roms would have Wi-Fi tethering fix preconfigured so carriers wouldn't know you were tethering, is this the same type of fix?
[Nexus 5 Q&A, Help & Troubleshooting] Lancez:
just come across your post, really appreciated :good:
[Nexus 5 Q&A, Help & Troubleshooting] Zandeer:
I have the same plan and was able to tether using the native tethering
[Nexus 5 Q&A, Help & Troubleshooting] pathtologos:
For those of you on t-mo, after you flash this can you please download the "T-Mobile my account" app? Not the one that uses the icon with the little guy, the one who's icon is a "T." In that app, you can see how much data you've used for your device, and you can see how much data you've used for tethering. After using this mod, when I tether, the count of tethering data still goes up on this app. I was hoping that only the regular data count would go up. Can anyone confirm? What im saying is, yes my tethering works but it is still being counted as tethering use (and still coming off my 2.5 GB of tethering per month).

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] rockingondrums:
There's nothing to flash. Wrong thread perhaps? I've been there.
[Nexus 5 Q&A, Help & Troubleshooting] DOHCtor:
You need to use the chrome browser and change your user agent.
[Nexus 5 Q&A, Help & Troubleshooting] n1gh7m4r3:
I couldn't connect to mine on the first day, Check your apn, possibly ipv6 is messing with you.