Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Vivid5500

macrumors newbie
Original poster
Jul 29, 2010
25
0
Hi guys,

A few people over in the CommCenter thread in this forum, JailbreakQA and Xsellize are trying to figure out the updated Type-Mask values for the iPhone 5 AT&T APN settings. As a refresher, the previous values for a working APN in the ATT_US bundle carrier.plist with tethering, vmm, mms and data was:

Root
-> apns
-> 0: apn=phone type-mask=49
-> 1: apn=acds.voicemail type-mask=2
-> 2: apn=wap.cingular type-mask=4

That totals 55 which should grant all access. With the new iPhone5 the setup looks like this:

Root
-> apns
-> 0: apn=phone type-mask=32,791
-> 1: apn="" type-mask=0
-> 2: apn="" type-mask=0
-> 3: apn=phone type-mask=32,790

Some theories in the other threads think that the addition of LTE has modified the type-mask values.

I was wondering if anybody with a legit ATT iPhone5 jailbroken phone with tethering enabled natively through their plan can post what their APN settings are? Nobody seems to have figured out the type-mask combinations are to enable this.

On the device the file is located at:

/System/Library/Carrier Bundes/iPhone/ATT_US.bundle/carrier.plist
 
As far as I can tell, the first six values of the type-mask are the same. The way it's figured is 32791 is 1000000000010111 in binary and that gives data, VVM, MMS, and tethering auth permissions based upon the old, pre-iOS 6 table:

typemask.png


I haven't heard or been able to determine what the 16th value does on the iPhone 5, or the other nine values, but I figure it's best to leave those alone.

So, in order to add tethering (and FaceTime over cellular) to the two type-masks, add 32 (the value for tethering traffic). You'll want to change the first APN's type-mask from 32791 to 32823 and the fourth from 32790 to 32822. You'll want to do this to the carrier.plist inside the ATT_US.bundle.

However, it's more difficult than just that. CommCenter seems to go through "entitlement checks" using your phone number and other identifying information to make sure you're entitled to whatever services you're requesting. Thankfully this is only done on participating carriers so you can get around it pretty easily. You'll have to remove the "CarrierEntitlements" key and dict from carrier.plist and it won't perform the checks.

Once you've modified carrier.plist with the new type-masks and removed the CarrierEntitlements array, remove the /var/mobile/Library/Carrier Bundles directory and reboot twice in order for the new overlay file to be fully re-made.

If you don't see the Personal Hotspot option in Settings>General>Cellular, reset your network settings and it should show up.

Good luck!
 
Maybe some people don't want to install an additional app or want to save some money because they are intelligent enough to make some extra modifications ;).

Perhaps the same people who spend 3 hours pirating a $1.99 app. (sigh)

Before I get flamed, yes I know TetherMe is $5 (when I bought it and MiWi was $20 when I bought it also)
 
Maybe some people don't want to install an additional app or want to save some money because they are intelligent enough to make some extra modifications ;).

Intelligent? Hardly since they don't have a clue how to value their own time.
 
Intelligent? Hardly since they don't have a clue how to value their own time.

People like you who expect everything handed to them on a silver platter don't realize that its tinkering like the op's that gives us jailbreaks and tweaks in the first place.
 
People like you who expect everything handed to them on a silver platter don't realize that its tinkering like the op's that gives us jailbreaks and tweaks in the first place.

In your world, buying an app means being handed it on a silver platter.

Clearly, this means you wrote your own jailbreak or were you handed it on a silver platter?
 
As far as I can tell, the first six values of the type-mask are the same. The way it's figured is 32791 is 1000000000010111 in binary and that gives data, VVM, MMS, and tethering auth permissions based upon the old, pre-iOS 6 table:

Image

I haven't heard or been able to determine what the 16th value does on the iPhone 5, or the other nine values, but I figure it's best to leave those alone.

So, in order to add tethering (and FaceTime over cellular) to the two type-masks, add 32 (the value for tethering traffic). You'll want to change the first APN's type-mask from 32791 to 32823 and the fourth from 32790 to 32822. You'll want to do this to the carrier.plist inside the ATT_US.bundle.

However, it's more difficult than just that. CommCenter seems to go through "entitlement checks" using your phone number and other identifying information to make sure you're entitled to whatever services you're requesting. Thankfully this is only done on participating carriers so you can get around it pretty easily. You'll have to remove the "CarrierEntitlements" key and dict from carrier.plist and it won't perform the checks.

Once you've modified carrier.plist with the new type-masks and removed the CarrierEntitlements array, remove the /var/mobile/Library/Carrier Bundles directory and reboot twice in order for the new overlay file to be fully re-made.

If you don't see the Personal Hotspot option in Settings>General>Cellular, reset your network settings and it should show up.

Good luck!

Bingo... Great answer.. Works perfectly now.. As for those who wonder why you'd do this type of tweaking instead of just purchasing Tetherme or MyWi?

If you can do it yourself, know whats required then why not learn something instead of just relying on others? This way we know exactly whats going on in the phone and you don't need to worry about some rogue package screwing with other parts of the phone. Its just cleaner.

As an aside, I've been doing this tweak since iOS4 and I haven't ever received a tethering message from the carrier. Whether its luck (knock on wood) or a more discrete way of tethering I'm not sure but why change something that works?
 
If you can do it yourself, know whats required then why not learn something instead of just relying on others?
For the same reasons I don't grow my own food, hunt for food, milk my own cows, gather honey from bee hives, etc.

This way we know exactly whats going on in the phone and you don't need to worry about some rogue package screwing with other parts of the phone. Its just cleaner.
Relying on advice from strangers on the Internet is much safer.
 
Intelligent? Hardly since they don't have a clue how to value their own time.

How would you value the time MuscleNerd, planetbeing et. all spent on this jailbreak?

They don't receive any money from this and any donations were being sent to Saurik for the maintenance of Cydia. This was the hardest jailbreak they've ever done. Did you even bother to read the blog post documenting all the steps that it took to accomplish this? All the exploits and how they patched them all together? Or did you just rely on their hard work?

You sound like one of the people who jailbreak your phone to tell people you do but have no understanding of whats actually going on under the hood. People who are interested in technology spend time learning and tweaking do it because they are INTERESTED in what's going on. Not because they make money from it.
 
How would you value the time MuscleNerd, planetbeing et. all spent on this jailbreak?

How is this relevant to whether I buy an app or spend hours trying to figure out what files and what parms need modified? Answer: It's not. A lot of people have determined they'd rather spend $5.00 for Tetherme than a few hours of their time figuring it out on their own. Clearly, it never occurred to you that some people may have better ways to spend their time. Quite an assumption on your part.

They don't receive any money from this and any donations were being sent to Saurik for the maintenance of Cydia. This was the hardest jailbreak they've ever done. Did you even bother to read the blog post documenting all the steps that it took to accomplish this? All the exploits and how they patched them all together? Or did you just rely on their hard work?

Yes I did. Again, what you've written is irrelevant and you've made another, poor assumption, namely, that I didn't donate to evasi0n.

You sound like one of the people who jailbreak your phone to tell people you do but have no understanding of whats actually going on under the hood. People who are interested in technology spend time learning and tweaking do it because they are INTERESTED in what's going on. Not because they make money from it.
And your unfounded and incorrect assumptions continue. I don't tell anyone I've jailbroken my phone. Why? Why would anyone else care? I'm interested in technology, but not this technology. You are. Big whoop. With your insults, you obviously think that makes you better than people who are not.

EDIT: Clearly you think doing this manually is something to be commended. For me, I have better ways to spend my time, particularly when there's a $5.00 alternative.

/end
 
Last edited:
The jailbreak is free. Your argument is invalid.

/discussion
/point

The point, pay attention now, is you didn't write the jb, i.e., (sorry, i.e., stands for 'in other words'), you received it 'on a silver platter'. The fact it is free is irrelevant.

/end point
/end discussion
 
/discussion
/point

The point, pay attention now, is you didn't write the jb, i.e., (sorry, i.e., stands for 'in other words'), you received it 'on a silver platter'. The fact it is free is irrelevant.

/end point
/end discussion

i.e. stands for "in example" :rolleyes:

----------

Please find someone to help you both find the point and understand it.

Image

You have absolutely no idea what you're talking about.

I couldn't agree with you more macsrcool1234!!!

----------

Image



Maybe some people don't want to install an additional app or want to save some money because they are intelligent enough to make some extra modifications ;).

macsrcool1234, I'm sure you have already noticed but if your looking for unhelpful sarcasm, you came to the right place! :confused:
 
Should this work on an iPhone 4 with iOS 6.1 (10B144)
I followed the instructions given by MichaelJohnston and now the personal hotspot option doesn't show up any more even after resetting the network settings.
 
Screwd up carrier settings

Hello! I think , no , i know that i screwed up my carrier settings by trying to install the tmobile lte carrier settings to enable lte , i know thats stupid whitout saving the carier settings file first , and now i have to beg somebody here if you can post alink somewhere to get your carrier settings folder for a iphone 5 lte at&t .
Can anybody please help me with that .? I dont want to restore and lose my jailbreak , but if nobody can help me with that i will be forced to do that .

Thank you ! In advance to anybody that finds some kindness in their hearts to help me with that .i know it was stupid of me to do that whitout saving that file first , but whts done is done now.
 
Last edited:
I used the instructions found in posts 1 & 2 and all was well until AT&T released a new carrier bundle 14.1 for emergency alerts and forced it onto my phone. I have tried to edit this file in the same manner I did before but after the 2 reboots the phone first says a 14.0 bundle is installed, then it updates itself to 14.1. It will not give me the option to turn on hotspot after the new file loads.

Can I somehow disable the automatic carrier bundle update?

What can I do differently to get tethering working again with the 14.1 carrier bundle?
 
Does this method bypass AT&T's detection of unauthorized tethering?:confused:

I have a grandfathered unlimited data plan, and when i used tetherMe to connect my WiFi iPad to my iPhone 4, i got a nasty letter in the mail from AT&T threatening to kill my unlimited data and force me to a limited plan.
 
Does this method bypass AT&T's detection of unauthorized tethering?:confused:

I have a grandfathered unlimited data plan, and when i used tetherMe to connect my WiFi iPad to my iPhone 4, i got a nasty letter in the mail from AT&T threatening to kill my unlimited data and force me to a limited plan.

For me it has, but please understand I tether very little. I mean like once or twice a month for a few minutes at a time. I also don't use much cellular data at all, usually less than 1GB a month. I have never heard anything from AT&T about my tethering or data use. I've been using this method since it came out with my iPhone 3G and 4. I forget now exactly how I was tethering on iOS 3 on my 3G, but it was never using any apps from Cydia.
 
I used the instructions found in posts 1 & 2 and all was well until AT&T released a new carrier bundle 14.1 for emergency alerts and forced it onto my phone. I have tried to edit this file in the same manner I did before but after the 2 reboots the phone first says a 14.0 bundle is installed, then it updates itself to 14.1. It will not give me the option to turn on hotspot after the new file loads.

Can I somehow disable the automatic carrier bundle update?

What can I do differently to get tethering working again with the 14.1 carrier bundle?

The new bundle is stored in /User/Library/Carrier Bundles/iPhone. Edit the carrier.plist in the bundle there and Reset Network Settings. You can also edit the CellBroadcast item to change the new broadcast notification settings.

EDIT: Remove the files under /User/Library/Carrier Bundles/Overlay before resetting.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.