yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] t0mmy:
Good point! That would be another way to do it, I wouldn't say one method is 'cleaner' then the other though.

Rom developers will probably start having this fix preloaded in their roms but this should work for the ones that don't have it yet!

Not sure what changes you applied in sqlite but I would suggest just reflashing a new rom to fix your dialer then running this tool to get the tether fix.

in adb you would type something like:

adb shell sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db "update carriers set apn = 'pta' where _id = 12;"

I updated the OP with a new download that includes adb!

I didn't test with that rom but it should work. Yes, it just modifies the telephony db.
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
sqlite3 isn't present on the One X, at least not on mine running RUU 1.82.

I agree, that solution would be cleaner if it was.

Billy
[AT&T, Rogers HTC One X, Telstra One XL] Zabalba:
Does this mod also enable usb tethering?
[AT&T, Rogers HTC One X, Telstra One XL] Zabalba:
I just tested this and both USB and wifi tethering work like a charm!!

Thanks OP!
[AT&T, Rogers HTC One X, Telstra One XL] Zabalba:
sorry wrong thread :P
[AT&T, Rogers HTC One X, Telstra One XL] PeterGuru:
Tried to install a few times, but no go ...

I never even knew that tethering wasn't possible with the AT&T ROM. When my unit had the original Rogers ROM, tethering was incredibly simple.

I tried installing your work-around a few times, but I can't get either Wifi tethering to work, nor USB tethering.

This is a very important feature for me, so I hope it's solved soon.

Any ideas?

Peter
[AT&T, Rogers HTC One X, Telstra One XL] t0mmy:
Here's what you can try:

1. flash the the stock rogers rom

2. copy this file to your sdcard using a root capable file explorer: /data/data/com.android.providers.telephony/databases/telephony.db

3. flash at&t rom of choice

4. copy that file from your sdcard back to the original location

5. profit

Edit: even easier would be to get that file from someone already on the rogers rom to save you the hassle of reflashing
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
Hey Buddy, we need to know how it's not working? Are you getting an error w/ the script? An error when enabling it? What's goin' on?

Also, are you on 4G up there?

Billy
[AT&T, Rogers HTC One X, Telstra One XL] waleed90:
Ok I'm on 1.85 cleanrom de 2.0. I did the telephony.db fix. When I try to use the Wifi Hotspot app it just says processing, it never actually starts. When I use the wifi tether app it starts but the download speed is pretty much 0.0 kbps. Its like there is no data at all.

EDIT: Nevermind, I did a restore of the WiFi hotspot app from Tibu. fixed the problem.
[AT&T, Rogers HTC One X, Telstra One XL] PeterGuru:
If someone can send me their telephony.db file ...

I prefer your Edit. If someone can send me their Rogers telephony.db file, I would appreciate it greatly.

Peter

---------- Post added at 06:59 AM ---------- Previous post was at 06:54 AM ----------

When I select USB tethering, a small window opens saying "processing ...", and then I get a new, small window with the following message:

USB tethering

Unable to turn on USB tethering. Please try again or contact customer service.

At the bottom of this window are two selections: Cancel and Settings

If I then go into Settings>Portable hotspot & tethering, I am unable to make any changes that will resolve the issue.

If I try to enable Portable Wi-Fi hotspot, I get the "processing" window again, and then a new, small window with the following message:

Mobile Hotspot

There is a temporary network problem that prevents the enablement of the Mobile Hotspot function. Please try later.

Again, at the bottom are two selections: Cancel and Settings

These messages have been consistent since yesterday, when I first tried to enable both methods.

Peter
[AT&T, Rogers HTC One X, Telstra One XL] JeepFreak:
Are you on 3G or 4G?

Billy
[AT&T, Rogers HTC One X, Telstra One XL] JoeM01:
ok, dumb question....but how does this address AT&T picking up on the different IP connecting through the phone, without the tethering plan?
[AT&T, Rogers HTC One X, Telstra One XL] PeterGuru:
If you mean LTE ...

If 4G = LTE, then I'm on 4G. Actually, now that I'm using CleanROM, I don't think I really have a choice. When my unit had its original Rogers ROM, there was the option to choose connection methods, but I don't think I have that option now.

Peter
[AT&T, Rogers HTC One X, Telstra One XL] PurpleFries:
If you dial #*#*4636*#*# into the dialer (if that doesn't work, flip the * and #) you will be brought to some hidden settings, hit phone information and in the drop box near the bottom, put wcdma preferred to turn off lte radio. You can do this way on any android phone.
[AT&T, Rogers HTC One X, Telstra One XL] PeterGuru:
Didn't know that ...

Hey, I didn't know that. Thanks!

Peter
[AT&T, Rogers HTC One X, Telstra One XL] Tracym:
Help

I keep getting the adb server out of date error when trying this?

Any ideas?

THanks,
[AT&T, Rogers HTC One X, Telstra One XL] fluxgfx:
If you guys could enlighten me.

I've run the tool but it still doesn't allow me to tether.

The message I get "Temporary network problem that prevents the enablement of the mobile hotspot function".
[AT&T, Rogers HTC One X, Telstra One XL] elementaldragon:
Uuh... it probably doesn't. I believe this just makes it a bit simpler to actually enable tethering. They can still probably just as easily figure out whether you're tethering or not.
[AT&T, Rogers HTC One X, Telstra One XL] JoeM01:
exactly. :D

i got a "cut it the f*ck out" notice from AT&T once. haven't done it since. i have it, it's available in a pinch, but I'm not paying those assholes another $20 to use the data that I'm already paying for.

I pay for 2gb and never hit 2gb. i pay for another 2gb for my wife, and she uses 1/10th of that. so every month, those douchecanoes are getting $50/month for 4gb data, and I'm using less than half of that. god forbid I want to tether my ipad to my phone and use the data that I have already paid for.

/rant/threadhighjack
[AT&T, Rogers HTC One X, Telstra One XL] elementaldragon:
Yea... it doesn't really make sense to me. But i can tell you one thing. If there comes a time where they force me out of my grandfathered unlimited data plan, I'm going to demand that whatever they offer to bump me to will also allow tethering, and not some crappy 300MB/mo. plan, either. It IS ridiculous that you're paying for data that you can't use. I can KINDA understand with those who still have the unlimited plan, but for those paying for a limited monthly bandwidth, it makes zero sense. If anything, allowing tethering will increase the chances of that customer coming up to and breaching their bandwidth limit, resulting in more money for them anyway.
[AT&T, Rogers HTC One X, Telstra One XL] DeathmonkeyGTX:
I tether when my local isp decided to break or run scheduled maintenance without telling anyone about it. I have been doing it this way since a good while before android was bought by Google. I guess I'm just lucky but I have never gotten a message about it. I'm pretty careful with it the last few years.
[AT&T, Rogers HTC One X, Telstra One XL] eallan:
Even the "unlimited" plan is "limited" now, so their tethering bull**** makes less sense than ever.
[AT&T, Rogers HTC One X, Telstra One XL] Crappyvate:
For mac/linux users

You can run a slightly modified version of this script manually in terminal:

$ ./adb kill-server

$ ./adb wait-for-device

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

$ ./adb shell "su -c dd if=/data/data/com.android.providers.telephony/databases/telephony.db of=/sdcard/telephony.db.bak"

24+0 records in

24+0 records out

12288 bytes transferred in 0.004 secs (3072000 bytes/sec)

$ ./adb push telephony.db /sdcard/telephony.db

1120 KB/s (13312 bytes in 0.011s)

$ ./adb shell "su -c dd if=/sdcard/telephony.db of=/data/data/com.android.providers.telephony/databases/telephony.db"

26+0 records in

26+0 records out

13312 bytes transferred in 0.003 secs (4437333 bytes/sec)

$ ./adb shell "rm -r /sdcard/telephony.db"

$ ./adb reboot

or you may also edit the telephony.db with sql (in the android sdk) as DG and JeepFreak indicated.

thanks
[AT&T, Rogers HTC One X, Telstra One XL] joshbgosh10592:
I am a complete noob to Andriod.. I was an iPhone before today *go ahead and boo me* but now, I'm trying to get the tethering to work. I believe it's rooted (I had some errors..) but the tool by t0mmy ran and didn't yell at me. How can I actually activate this? is there a way to test that I am rooted?
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en
[AT&T, Rogers HTC One X, Telstra One XL] joshbgosh10592:
Unfortunatly, I'm not rooted.. I tried the files in OneXRootOneClick.zip, and onxr.zip. onxr was first and I had errors. Did HTC fix with the new release?
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
If you are on 1.85 and not rooted, there is nothing you can do but wait until a new exploit is posted.
[AT&T, Rogers HTC One X, Telstra One XL] joshbgosh10592:
I'm guessing you mean in the Software number? yea i'm 1.85.502.3.. How often do exploits get discovered on average?
[AT&T, Rogers HTC One X, Telstra One XL] Scott:
Flashable zip attached. Move to op if you want...

-Scott
[AT&T, Rogers HTC One X, Telstra One XL] kp1321:
I get the following issue when running the one-click?

* starting adb *

* server not running *

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

* creating backup to sdcard *

* enabling wifi tether *

cannot stat 'telephony.db': No such file or directory

* cleaning up temp files *

.

.

....................................................

. .

. process complete! press any key to reboot phone .

. .

....................................................

Any ideas on why I get the cannot stat error? I can see the file in Root Explorer.
[AT&T, Rogers HTC One X, Telstra One XL] chatfan:
I test the file on first post and didn't work at all in my One X with 1.85 and rooted, same problem, not connect to HOTSPOT, any new ideas?

thanks

---------- Post added at 12:43 AM ---------- Previous post was at 12:39 AM ----------

this does not works opn 1.85, any fix? any idea?

I'm ROOTED!
[AT&T, Rogers HTC One X, Telstra One XL] mcmb03:
I can't get this to work on 1.73 stock rooted..?
[AT&T, Rogers HTC One X, Telstra One XL] theNazerith:
i installed as directed

when it reboot it bootloops and doesnt come back

i cant get into bootloader and i cant load rom

any ideas why this would occur

i have an unlocked, rooted version and proxoid installed

any ideas on how to get my phone back?
[AT&T, Rogers HTC One X, Telstra One XL] t0mmy:
OP updated with Mac/Linux version

@chatfan: i tested and confirmed working on 1.85, did you get any errors?

@mcmb03: should work on 1.73

@theNazerith: did you end up resolving your issue? Let me know any more details and I will try to help
[AT&T, Rogers HTC One X, Telstra One XL] chatfan:
@t0mmy this tether1.1 file doed not works at all with 1.85 and rooted phone, any error displayed, just not works...

thanks
[AT&T, Rogers HTC One X, Telstra One XL] gKNOWS:
it's pretty much the same for us except the minimum plan is $50 for 5 gigs and you only have 3 options $20 for 300mb $30 for 3 gigs or $50 for 5 gigs.
[AT&T, Rogers HTC One X, Telstra One XL] chatfan:
fix

no solution yet for 1.85?

This does not works on my rooted HOX

Thanks
[AT&T, Rogers HTC One X, Telstra One XL] erwaso:
+1
[AT&T, Rogers HTC One X, Telstra One XL] collin128:
Hey Scott,

I'm on Cleanrom4.1 and have flashed the Hotspot patch 3 times now and still am getting the, "there is a temporary network problem that prevents the enablement of the mobile hotspot function" error. I've tried looking around the forum but can't find a solution that works. Thoughts?

Collin

PS - I came from Rogers, followed your instructions for 4.1, and am loving your ROM. Thank you.
[AT&T, Rogers HTC One X, Telstra One XL] edup:
Quick question guys,

I pay $50 for 5gb hotspot on AT&T, with this tool I can use the hotspot and drop the 5gb data plan? Will I be billed for the data used or how does this work?

thanks in advance
[AT&T, Rogers HTC One X, Telstra One XL] lordgregus:
Anyone able to get this to work successfully? When I enable wifi tethering it just says "preparing" and never works. Boo.
[AT&T, Rogers HTC One X, Telstra One XL] Crizthakidd:
why has nothing come up for a way to tether on 1.85 ?!
[AT&T, Rogers HTC One X, Telstra One XL] nymikey:
i have been using the WIFI TETHER 3.1-beta 14 APK for like 3 weeks now without the use of this method . works just fine.....
[AT&T, Rogers HTC One X, Telstra One XL] bmolloy:
Where did you get the .apk for this?
[AT&T, Rogers HTC One X, Telstra One XL] nymikey:
hope it works out for you, http://xdaforums.com/showthread.php?t=1226225

---------- Post added at 01:30 AM ---------- Previous post was at 01:25 AM ----------

once installed go to WIFI TETHER settings, click on "change device profile" change to "GENERIC ICS". then scroll down and click on "routing fix". I PICKED THIS UP SOMEWHERE ON THIS SITE, NOT SURE WHERE...
[AT&T, Rogers HTC One X, Telstra One XL] chatfan:
Finally, this works on 1.85 or not?

Any update? any fix?

Cause on any HOX from AT&T USA using 1.85 it's working at all.

thanks
[AT&T, Rogers HTC One X, Telstra One XL] DvineLord:
this shouldn't need an update or fix. you can do this manually yourself by editing the telephony.db with SQLite Manager.
[AT&T, Rogers HTC One X, Telstra One XL] kylegibson:
Does this work with 2.20+ bases?
[AT&T, Rogers HTC One X, Telstra One XL] DvineLord:
Yes
[AT&T, Rogers HTC One X, Telstra One XL] ksnax:
Slick as snot.

I'm not sure why anybody would want to do this manually with SQLite.
[AT&T, Rogers HTC One X, Telstra One XL] kylegibson:
Doesn't seem to work for me...... I'm rooted on stock 2.20 base. Also have the android sdk installed on pc. But keeps giving me the "to enable hotspot on this device blahblahblah" message even after 'successfully' running the tether.bat..... Not sure what I'm doing wrong.
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
tether with working telephony.db for 2.20

Thanks to t0mmy for installer

here is what I used for 2.20, using SQLite Database Browser 2.0 b1 and edited the original stock telephony.db with the change in " carriers/Entitlement/ line 12 /310410/310/410/changed broadband to pta
[AT&T, Rogers HTC One X, Telstra One XL] TheEmpyre:
Has anyone run into trouble with ATT harassing them about "detecting" tethering and that they will add it to their plan if they are caught again? They already harassed me once so I have given up tethering but wanted to know how this app bypasses them "detecting" it --- even if you stay below your data plan limit (I have unlimited anyways)
[AT&T, Rogers HTC One X, Telstra One XL] Jonathanpeyton:
After spending <5 minutes reading post 1 through this one I can say I dont think it keeps ATT from seeing anything.
[AT&T, Rogers HTC One X, Telstra One XL] ki11bert:
Thank you much for this.

---------- Post added at 01:48 PM ---------- Previous post was at 01:46 PM ----------

I just tried your modified install and it is now causing the phone to fc process "android.phone". It then soft resets. waah
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
That's for a att phone
[AT&T, Rogers HTC One X, Telstra One XL] DvineLord:
resetting apns to default should revert telephony.db
[AT&T, Rogers HTC One X, Telstra One XL] ki11bert:
I'm on att.
[AT&T, Rogers HTC One X, Telstra One XL] grafik2:
I'm having the same gdam error message on att with hox+.

Changed my line 12 to pta from broadband. Says temporary network problems prevent from enable yada yada.

No fix yet????
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
wifi_tether_v3

read some where that wifi_tether_v3 works

just installed and connected my xp notebook to my phone

click on Device-Profile and pick Generic ICS/JB (wlan0)
[AT&T, Rogers HTC One X, Telstra One XL] grafik2:
Awesome! Thanks for the fix
[AT&T, Rogers HTC One X, Telstra One XL] psicobelico:
Hi..help please..

How about HOX+ (AT&T) ??

I tried the automatic method using tether.bat -> successfully, but still i can not tether..

Also tried using SQLite Database Browser and edited the original stock telephony.db with the change in " carriers/Entitlement/ line 12 /310410/310/410/changed broadband to pta -> successfully but still i can not tether..

Both method bring me the same answer:

"There is a temporary network problem that prevents the enablement of the mobile hotspot function, please retry later"

I don't care about data rate because I'm not in AT&T network and I have full data plan.

HOX+ = ROOTED

ROM = Stock AT&T
[AT&T, Rogers HTC One X, Telstra One XL] grafik2:
Did you read two posts up??

http://xdaforums.com/showthread.php?p=34593192
[AT&T, Rogers HTC One X, Telstra One XL] One-Note Pony:
I know this is an old thread, but people are still googling it...

...so I thought I should mention that the "experimental" builds (3.3) don't seem to work with HOX+. The latest version I got to work is wifi_tether_v3_2-beta2.
[AT&T, Rogers HTC One X, Telstra One XL] ludatrick:
ok guys finally I figured out how to make it work

cause the t0mmy fix they have here works only for AT&T

and wont work on different sim card

install SQLite Editor on the phone

open /data/data/com.android.providers.telephony/databases/telephony.db

and modify the record 2 and 12 with the parameters of the simcard network you wanna use

and finally, save!

reboot

after reboot now go to the apn settings and select the 2nd apn right below the 1st one which showing its locked

I'm in Haiti tethering NATCOM 4G with the hTC ONE X rooted with Cleanrom 6 R2:D

:good:

NB: make sure to put "pta" in the apn of the 12th record named entitlement

Thank you!
[AT&T, Rogers HTC One X, Telstra One XL] xtrg:
Could u please explain where to find the details from the simcard we want to use?

And what exactly to replace-change-or leave the same in the specific records u mention?

Thank u!
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
any fix won't last, AT&T will sent your a letter in the mail telling you:

Our Records show you tether your device but aren't subscribed to the coresponding plan. To bring your account up to date, we have automatically enrolled you into the following plan, and you'll soon see this change reflect on the upcoming billing statement:

DataPro 5GB for Smartphone:

. $50 per month

. $10 per each aditional BG thereafter, added automatically as needed

Mobile Hotspot capabilities are included for compatible smartphones

AT&T will automatically add 5GB to your account if they see you tethering on 3G plane
[AT&T, Rogers HTC One X, Telstra One XL] xtrg:
I have no At&t contract,in fact I have never had one.In my country there is no att.I bought my phone used from eBay,carrier unlocked,and I rooted it.I am using it in my locale provider without any other problem,except this!So,is there a solution??
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
have you tryed the android-wifi-tether, that is what I use even though I'm on AT&T

from in app you change profiles to Generis ICS/JB (wlan0) press the three dots, then Settings, then Change Device-Profile, then pick Generis ICS/JB (wlan0)
[AT&T, Rogers HTC One X, Telstra One XL] xtrg:
Hey thnks veruy much for the trick! I had the app but didn't know about the settings it needed. All fine now!Thnks again!
[AT&T, Rogers HTC One X, Telstra One XL] redpoint73:
Just flash any custom ROM that is not AT&T base, and the native WiFi hotspot app should work just fine.
[AT&T, Rogers HTC One X, Telstra One XL] evanrich:
Can't tell if serious....or not.
[AT&T, Rogers HTC One X, Telstra One XL] ludatrick:
have u at least read the post from the beginning ?
[AT&T, Rogers HTC One X, Telstra One XL] x000111:
Having trouble writting... any ideas?

Take a look at this post... I didn't want to clutter this thread up with attachments so I created a separate post. I would appreciate any help. :good:

http://xdaforums.com/showthread.php?t=2239443
[AT&T, Rogers HTC One X, Telstra One XL] ludatrick:
bro change the record lines 2 and 12 with the setting from the provider u using, all should be ok

record 2 and 12 are the defaults AT&T ones, just edit them, the phone will recognize it as AT&T parameters but not true
[AT&T, Rogers HTC One X, Telstra One XL] fjej78:
How can i get the parameters from my provider?? i need to ask him?

any ideas?

btw i tried to use this toll but always stuck on "Daemon started sucessfully" and never go on :(
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
This work for me

Reading the [MENTION=487623]ludatrick[/MENTION] answer I did this, using SQLite editor:

Make a backup of telephony.db

Your internet APN should be configured (Settings - Mobile data - Access Point names)

1)Open Telephony.db (flange files: data/data/com.android.providers.telephony/databases)

2)Select 'carriers'

3)Search second row, then select Edit field

4)Change ID field with a number non used in this db (ex: in my case the last row is "42" so I used "43") - Save

5)Repeat the 3 and 4 steps, but using row 12.

6)Search the last line (or line with your carrier internet APN)

7)Select the row and Edit Field.

8)Change the ID field to "2". - Save

9)Chose the second row, then Clone Record and change ID field to '12' - Save

Just need to change a lot of things

Row number 2 -> Edit field

1)Change name to ATT Phone

2)Type to "default"

2)Insert_by field to "internal".

3)State to "readonly"

Row number 12 -> Edit field

1)Change name to Entiltlement

2)Type to "entitle"

2)Insert_by field to "internal".

3)State to "hidden"

Restart your phone

My phone: HTC One X AT&T 3.18 unlocked and root. Stock rom
[AT&T, Rogers HTC One X, Telstra One XL] henry_acevedo:
Is this only for the HTC ONE X

I have and HTC FIRST FROM ATT can't tether
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You're in the wrong forum. This is the HTC One XL forum.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] henry_acevedo:
My Htc First is Only Rooteed but Non S-off ... I Trying to follow you on this tutorial but It look Different What explorer you use to edi files? Could you please assist me on this..

I ask because they said this method works with any att phone..
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Dude, I've already told you you're in the wrong forum. This tool is for the HTC One XL. The HTC First forum is here:

http://xdaforums.com/htc-first

You need to go there.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
Good morning

SQLite Editor... I saw a lot of people using this method with the HTC First and seems work. However [MENTION=4153349]timmaaa[/MENTION] is right, there is another forum for it... Excuse me: Moonshine-Off = S-OFF?
[AT&T, Rogers HTC One X, Telstra One XL] henry_acevedo:
Yes s-off yes that I don't know how actually how to use sql to fix it
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Go to the correct forum and ask there...

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] redpoint73:
Who the heck are you guys talking about when you say (above) "they" or "a lot of people"? Its hard to have an intelligent discussion with you're being vague and don't provide specifics.

If you have seen folks in the HTF First forum using this hack, then you need to ask your questions to them. We can't help you. Completely different device. Any advice we give may not work for your device, or may even harm it. You may as well be asking an electrician to fix your toilet.
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
This problem (but with different method) is solved here: http://xdaforums.com/showthread.php?t=2277652 . There in the post #9 said that the method works with HTC First, that is the reason that I supose it can works. Really I strayed the OP, my apologyes for that.
[AT&T, Rogers HTC One X, Telstra One XL] hijodedios51206:
any way to enable tethering for new 5.18 update? method on OP does not seem to work on new update. keep up the good work, this is awesome!