Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TMO][MOD] TMobile Native Tether fix 4.4.2 (AOSP and stock based ROMs)

OP MikeyNick

11th February 2014, 09:32 PM   |  #1  
OP Senior Member
Thanks Meter: 65
 
166 posts
Join Date:Joined: Mar 2009
So, I recently decided to give T-Mobile a try since I think Big Red is becoming more and more evil by the day... To my dismay, I discovered that trying to use the native tether on T-Mobile just redirected me to a "My Account" page. This was thoroughly disheartening. Early attempts at looking into this pointed me to this thread: http://forum.xda-developers.com/show....php?t=2567579

However, that appears to only apply to 4.4. I installed Gummy rom which is on 4.4.2, and flashing that zip just caused a bootloop (because the framework-res.apk had changed).

Well after further digging, I ended up finding a fix over in the Nexus 5 forums (Specifically, this: http://forum.xda-developers.com/show...2&postcount=70)

EDIT: The following worked for me on gummy ROM. So I think this is the fix for AOSP based ROMs. Read further down for the stock based solution discovered by pelebkf

So, long story short, in order to get your native tethering to bypass the T-Mobile redirect page, you want to:

Download SQLite Editor: https://play.google.com/store/apps/d...qleditor&hl=en

(If you don't want to spend $3, you could transfer the file mentioned below to your computer and do it on an sqlite editor there. The free sqlite editors in the market didn't work for me. This one worked like a charm)
EDIT: This free sqlite editor has been claimed to work fine as well: https://play.google.com/store/apps/d...qleditor&hl=en

Open the following file in SQLite Editor (or transfer to computer and open there): /data/data/com.android.provider.settings/databases/settings.db

Open the "global" table and add the following entry:

label: tether_dun_required
value: 0

Back out of the app and reboot, and then tethering should be working fine!

Stock based ROM method (give a thanks to pelebkf for figuring this out!)

Go to Settings-> "More..." (under Data Usage) -> Mobile Networks -> Access Point Names

Click the APN "T-Mobile US LTE", scroll down to "APN Type", click that, and add ",dun" to the end of the list (so the list should say "default,mms,supl,hipri,fota,dun") then hit okay. You should be set now!
Last edited by MikeyNick; 13th February 2014 at 07:49 AM. Reason: Added method for stock rom and free sqlite editor and updated title
The Following 7 Users Say Thank You to MikeyNick For This Useful Post: [ View ]
12th February 2014, 06:26 PM   |  #2  
Senior Member
Thanks Meter: 24
 
150 posts
Join Date:Joined: Jul 2010
Just attempted this fix on stock and my hotspot usage is still increasing while using a user agent switcher in chrome.

My nexus 4 however works fine with this fix and the same setup.

Wondering what the difference between the 2 are.
12th February 2014, 06:47 PM   |  #3  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by pelebkf

Just attempted this fix on stock and my hotspot usage is still increasing while using a user agent switcher in chrome.

My nexus 4 however works fine with this fix and the same setup.

Wondering what the difference between the 2 are.

This didn't work for me. I still get redirected, running 4.4.2. TMO OTA. Tried to flash the old framework-res.apk and now phone won't boot, so I'm sitting in recovery. Does anyone have the stock framework-res handy? Any other suggestions on tethering?
12th February 2014, 08:19 PM   |  #4  
OP Senior Member
Thanks Meter: 65
 
166 posts
Join Date:Joined: Mar 2009
I did this on Gummy ROM. I will flash stock at some point and try to take a look for you. Girlfriend is in town visiting so it might not be till after the weekend though.
12th February 2014, 08:28 PM   |  #5  
Senior Member
Thanks Meter: 24
 
150 posts
Join Date:Joined: Jul 2010
FYI I am working on trying to get this to work on the stock. Think I may have it. Will post as soon as I find out step by step.
12th February 2014, 08:29 PM   |  #6  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by MikeyNick

I did this on Gummy ROM. I will flash stock at some point and try to take a look for you. Girlfriend is in town visiting so it might not be till after the weekend though.

Awesome, thanks! I made the stupid mistake of running the OTA today and needing tether today.... Guess I'll have to live with 56k wifi.
12th February 2014, 09:40 PM   |  #7  
Senior Member
Thanks Meter: 24
 
150 posts
Join Date:Joined: Jul 2010
Hey If someone with STOCK 4.4.2 could try this for me.

Edit the main APN "T-Mobile US LTE" and add ",dun" to the end of the "APN type" (so the it should say "default,mms,supl,hipri,fots,dun") then save it.

Then using a User Agent Switcher check and see if you Smartphone Mobile Hotspot Increases or stays the same in data usage.

This seems to have worked for me with NO other modifications.
Last edited by pelebkf; 12th February 2014 at 09:43 PM.
The Following 9 Users Say Thank You to pelebkf For This Useful Post: [ View ]
12th February 2014, 09:52 PM   |  #8  
Member
Thanks Meter: 0
 
35 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by pelebkf

Hey If someone with STOCK 4.4.2 could try this for me.

Edit the main APN "T-Mobile US LTE" and add ",dun" to the end of the "APN type" (so the it should say "default,mms,supl,hipri,fots,dun") then save it.

Then using a User Agent Switcher check and see if you Smartphone Mobile Hotspot Increases or stays the same in data usage.

This seems to have worked for me with NO other modifications.

Well I'll be damned, it worked! What a simple fix. Posting from usb-tethered VPN connection now!

All's good on the Moto X 4.4.2 TMO tethering front!

Thanks!!

(reposted to quote/give credit)
12th February 2014, 11:55 PM   |  #9  
OP Senior Member
Thanks Meter: 65
 
166 posts
Join Date:Joined: Mar 2009
Nice find! Thanks for saving me the trouble

Sent from my XT1053 using xda app-developers app
13th February 2014, 12:21 AM   |  #10  
Senior Member
Thanks Meter: 75
 
326 posts
Join Date:Joined: Feb 2011
More
Nice seems to work; I've got Moto X Dev. Edition, rooted stock 4.4.2 and on T-Mobile US.

BTW, SQlite Editor Pro (free) worked fine for me from Google Play for the 1st post, then I added "dun" to the APN as suggested above. Thx.

The Following User Says Thank You to LBN1 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes