Sunday, October 18, 2009

Enable Tethering on iPhone 3.1.2 - ONLY 3G & 3GS Supported

These instructions are of OS X. I used Snow Leopard, I don't know if Leopard ships with bspatch or not, but if it does then you should be good. Also, make sure you have MobileTerminal installed on your phone.

  • Copy /System/Library/PrivateFrameworks/CoreTelephony.framework/Support/CommCenter to your Desktop also.
  • Open the Terminal and:
    cd Desktop
    bspatch CommCenter CommCenter-hacked CommCenter.patch

  • Now go ahead and delete CommCenter now from your Desktop and rename CommCenter-hacked to just CommCenter.
  • Rename CommCenter on your iPhone to CommCenter.backup in case something bad happens, so you have a backup.
  • Copy the new CommCenter to your iPhone.
  • SSH into your iPhone or use MobileTerminal as root and chmod +755 the new CommCenter so that it's executable.
  • Restart your phone.
  • Check your Setting > General > Network, and you should have the Tethering option. If you dont Go to http://help.benm.at on your phone and install the mobileconfig just like you did in 3.0.

73 comments:

SubliminalEntity said...

What do you mean "chmod +755 the new CommCenter so that it's executable"?

I can SSH into my iPhone but dont know what that means, what folder do we put the CommCenter in.

I SSH into my phone often, and im not a beginner. But maybe just a little simplification may help.

Thanks you so much for this, you’re a lifesaver

edrojo said...

Did as described, however my laptop or desktop didn`t get IP address. Please help

Jens said...

In MobileTerminal type:
chmod +x /System/Library/PrivateFrameworks/CoreTelephony.frameworks/Support/CommCenter

Thanks for this bug. :)

Philipp said...
This post has been removed by the author.
SubliminalEntity said...
This post has been removed by the author.
SubliminalEntity said...

What folder to I copy this patch to on the iPhone?

I get to this one here but cannot find the folder, snow leopard.
"Copy /System/Library/PrivateFrameworks/CoreTelephony.framework/Support/CommCenter to your Desktop also"

Beau said...

@SubliminalEntity - that's CommCenter on your iPhone ;) Retrieve that using SFTP/DiskAid (or similar)

primetimereturns said...

i have ssh into my iphone but i am stuck at this step if anyone can help me. the hacked commcenter replaced the old commcenter but i dont get the chmod +755

"SSH into your iPhone or use MobileTerminal as root and chmod +755 the new CommCenter so that it's executable."

SubliminalEntity said...

what does +755 mean?!

Vadim said...

Is it possible to patch the file using windows some how ?

Oliver said...

Got the same problem as edrojo booth USB or blutooth dont get a IP adress :(

tammo said...

@Vadim

use a hexeditor and read this page:
http://wikee.iphwn.org/howto:random

Vadim said...

tammo, thanx man, i`ll try

Vadim said...

i`m on half way to enable it - even enabled it does not provide an IP address on both BT and USB. Any ideas ?

Andrew said...

Works a treat on my iphone 3G in UK on O2.

Think some folks confused about where to find CommCenter, its on the iphone at /System/Library/PrivateFrameworks/CoreTelephony.frameworks/Support/CommCenter

I used cyberduck to ssh to the phone, copy CommCenter to desktop, downloaded the patch,RENAMED the patch to remove letters 3G then put it on desktop, then in terminal ran

cd Desktop

bspatch CommCenter CommCenter-hacked CommCenter.patch

renamed it and uploaded it back to iphone with cyberduck, and also in cyberduck, right click the new CommCentre, info, and click permissions, set all on except other write.

hope this helps! cheers

edrojo said...

Hi anybody with no ip address in USB and BT connection? please help

Vadim said...

I`ve patched the file without any problems used HEX editor (i`m on windows), and after reboot on an iPhone tethering appears to be working, the problem is - my PC does not get an IP address with BT neither cable connection. Some posters here got the same results. Some one have a solution ?

ragcaoili said...

worked for me. followed instructions, now time to monitor my bill. is the tethering usage counter supposed to be missing?

thomritterfeld said...

My iPhone is fcked now xD
Booyah: reinstal, an a new try!

Tobias said...

Hmmm after changing file on 3.1 the iphone doesn't boot anymore... Thems to work only on 3.1.2

Changren said...

Does not appear to be working. May be because i installed the latest carrier settings file (AT&T 5.6). I rebooted my iPhone after installing the hacked CommCenter and also installed the AT&T profile from help.benm.at. Internet Tethering shows up but when i selected it, it gave the following message:

"Set Up Internet Tethering
To enable tethering on this account, contact AT&T"

Changren said...

@SubliminalEntity chmod +755 is a typo. It should either be "chmod +x filename" or "chmod 755 filename", in order to make the file executable to all.

Ateo said...

Successfully working on a 3GS with AT&T carrier file 5.6. However, I am unable to get this working on a 3G. After chmod and reboot, it hangs on pineapple logo. Any ideas?

Ateo said...
This post has been removed by the author.
Ateo said...

Also, Snow Leopard does ship with bspatch.

Rick said...

Did everything, tried to change permission with Mobile Terminal, and it said it wasn't allowed (even with entering the correct information as you have a typo in the chmod command). Oh well.

Changren said...

@Rick What was not allowed? If you are not able to change the permission of CommCenter in your iPhone, why don't you change it on your Mac first (chmod 755 CommCenter) before transferring it to your iPhone ?

blubber said...

@ Ateo

If you are stuck on the Apple Logo ssh into your device, delete the patched file, rename your backupfile back to its original name and restart your phone. that worked for me...but I stil don't have tethering now...:(

tobiCOM said...

Thanks for this solution! Greetings www.iphone4ever.eu

Rick said...

Update. Although I couldn't change permissions with MobileTerminal, I was able to do it through CyberDuck. It worked, although I did have to re-install the custom IPCC file. From there I got a self-assigned IP address, but after a reboot it worked.

For those who have gotten stuck on the boot logo, you probably didn't assign the 755 permission. Be sure to check and double check that permission before rebooting. Good luck and thanks for the tutorial.

Rick said...

@Changren Changing permission on your computer and then transferring over does not work. For those trying this, please know that. Once copied over permissions will reset to 644 (or at least it did in my situation since I had already tried that method).

Changren said...

@Rick I guess i should have been more specific. I made a backup on CommCenter on my iphone "cp -p CommCenter CommCenter.orig". Then i used "scp" in Terminal to transfer the patched CommCenter (which had already been chmod to 755) to my iPhone, replacing the one on the iPHone. This kept its permission at 755.

Changren said...

Anyway, i still could not get Tethering to work with the patched CommCenter. I found another method that requires installing MyWi. http://www.blogsdna.com/5249/how-to-enable-tethering-on-iphone-3g3gs-3-1-2-os.htm

I am using the trial version of MyWi (9 days of free trial) so i am not sure what will happen to the Tethering after the free trial is over.

Ali Shafai said...

Worked like a charm. thanks mate.

braineats said...

amazing, my tethering is working again :D thanks so much

hackthatphone said...

Works like a charm! Thank you. I'll make a pretty picture based guide.

edrojo said...

People with no IP issue, I found a solution. It seems that the Iphone didn't assign IP address to the computer on DHCP mode so I used manual assigment:
IP: 192.168.20.2
Mask: 255.255.255.0
Gateway: 192.168.20.1

DNS: 172.27.10.74
secondary DNS 201.193.78.6

Let me know, it is working fine :D

jess said...

Worked brilliantly on a 3g running 3.1.2.

toNYc311 said...

Help. My tethering works but I have lost voicemail. Here we go again lol. This happened to me when I was on 3.0.1. I'm on 3.1.2 custom ipsw created with PWNage Tool. I used the ifonetech cydia repo's version of the commcenter patch. Then I went to the benm.at website on my iphone because after reboot I did not see the tethering settings. Once I installed the mobileconfig file and rebooted viola the tethering option appeared and worked! SUCCESS! But something told me to check to make sure I was getting voicemails and I am not, lol. So, is there a fix for it? I hope?

Alexander said...

please help! i tried to do that all but i cant reboot the device. it get always stucked at the pineapple logo. how can i restore the backup without wifi and ssh? thx

Stephen said...

For anyone with an IP address problem make sure you DO NOT have PDAnet installed. After I removed PDAnet tethering began to work. Uninstall PDAnet and reboot.

Vadim said...

For those who stuck with NO IP on connection, the problem may be installed PDAnet.app, it prevents internal DHCP server from running. Removing this app helped to me. Hope this helps to somebody.

Markus said...

THANK you...works perfekt (after deinstalling pdanet)

seven said...

for all users not as savvy as most there is an easy way every thing you need for 2g/3g/3gs tethering on 3.1.2 is in sinful repo repo.sinfuliphone.com after install just visit help.benm.at and install mobile me config.

MichaelS said...

I confirm on two different phones 3G and 3GS, no Visual Voicemail.
Had to install the carrier settings to get tether option. That disables voicemail. Uninstalling the carrier update from http://help.benm.at/help.php will reenable voicemail but of course the tether is gone.
You can have one or the other, not both.

actiontill said...

nice try, seems to workfor some, but hwere is the commandcenter hacked???? file!?!?!?!?!?!?

Changren said...

Found out what my Tethering problem was. When i was doing this, my iPhone was in Airplane mode. Once it was out of Airplane mode and it was getting cellular reception, Tethering was enabled.

Stephen said...

I too am having the voicemail issue. It seems like it's one or the other. Anyone know of a fix? I'd love to keep tethering enabled but I need my Visual Voicemail. Thanks!

David said...

Ok, I love the fact that tethering is back! But I have noticed that now I loose my data connection. Every so often I will try and go to a browser and my phone pops up with the "you are not connected to the internet on my phone. I reinstalled the "stealth" 6.0 ipcc and for now it is working. Is anyone else experiencing the same?

George said...

I change a patched commcented on 3.1 and after reboot get stucked on apple logo (got damn). SSH is not workin`. Any ideas?

Eelco said...

Initial patch did ok. Tethering option appeared but the tethering did not work. I could connect but could not access the internet from my connected laptop.

I tried to install the benm.at profile but this made the tethering option disappear. Tried removing and reinstalling the profile but now ultrasn0w stopped working for me. No more carrier unlock.

Went back to the old CommCenter backup and ultrasn0w is working again.

This patch is not working for me.

Eelco said...

I tried to reinstall the patch CommCenter but still no tethering. Tried to install the profile from benm.at. No service / ultrasn0w unlock gone. I'm going back to the original version for now.

bins said...

Works like a charm!
Thanks a lot!
Don't forget to rename the patch file CommCenter3G(S).patch into CommCenter.patch

DeJaWu said...

Thanks, Dude!!!
You saved me!!!

I'm from Russian Federation and my cell operator MegaFon doesn't allow this feature without payments or tariff options.
For me it's a better way to use Internet on the road.

DeJaWu said...

Here's already patched file for iPhone 3G.
Don't forget a make backup of your original CommCenter.

http://rapidshare.com/files/296419574/CommCenter.7z.html

Bretterson said...

After doing this my phone just hangs at the boot screen. I tried putting it in DFU mode to do a restore and it gave me an error. I'm really unsure what to do now...

carto said...

it works for me. but first i didn't come at all. i install help.benm to appear tethering, then suddenly it disappear. my utrasnow still alive and working.

i reset my network, then it appears again, but couldn't access to carrier. it says "please contact smart center to enable". until it disappear again. i try to uninstall the help.benm. suddenly tethering appear with a on/off option.

i tested it and it works. ultrasn0w still works too 100% perfectly.

iamx said...
This post has been removed by the author.
iamx said...
This post has been removed by the author.
joshua love weaver said...

WINDOWS USERS:

you can get bspatch here (scroll down) and the process is pretty much exactly the same (I used putty and an ftp program also).

http://sites.inka.de/tesla/others.html#bsdiff

DarkFader said...
This post has been removed by the author.
DarkFader said...
This post has been removed by the author.
Maher said...

didnt work on iPhone 3G with windows, after patching, replacing and giving 755 rights, restarted... it didnt bootup at all, just apple logo.. iphone worked again after putting back the original commfile

Tiago Mendo said...

How do you put back the original commfile if the phone does not boot? Restore from itunes?

Cookiesowns said...

Thank you this works!
Also if your phone does not boot you probabbly didn't set the file attributes.
Try to see if you can SSH into your phone when it is in the apple stage, and try connected to itunes to see if it detects your phone. The same problem happened to me, and to get thethering to show up be sure to install the profile for your network, hope this helps
I did this in windows with the following programs Filezilla for SSH/FTP, Windows versions of BSPATCH, and the knowledge of a 14 yearold :) also don't forget your trusty COMMAND PROMPT

Cookiesowns said...

Allthough i don't know if this matters, my phone has been pre jailbroken

Richard said...

This method worked flawless on both 3G phones running 3.12 and ATT carrier 5.6.HOWEVER I need help getting two 3GS devices working. The above method does not work, the tether option disappears after being activated. I am using the correct 3GS file and changing the command line above to reflect the difference in the file names.

The above suggest visiting http://help.benm.at for a mobile config. I have used this site before with 3G phones but NEVER had luck at this site with 3GS phones. Everything I access this site from a 3GS phone and attempt to install a mobile config file from ATT it prompts me for a PW. No password is ever required from my 3G devices.

Any ideas ?

Ardy said...

excellent tutorial, thanks a bunch!

Kirk said...

I got this working on an ATT 5.6, 3.1.2 (7D11), however, my carrier logo disappeared. This may not be a big deal, but it does kind of stress me out.

raddracing2220 said...

Can you do this without jailbreaking?

Cookiesowns said...

Depends if you can SSH into your phone without jailbreak, which i do not know if you can, or cannot.

Phillip said...

I've tried this twice now, with no luck. I had this working on 3.0.1 of course. I used pwngage tool to create the updated firmware and upgraded. Followed these instructions, but nothing appears to have changed at all. I've got the tethering toggle under network, but it does nothing.

iPhone 3g purchased lat January 2009

DJ Eric said...

@Jason Saham
I used OS-X 10.4.8 (Tiger) to try these steps the first time, and although it comes with bspatch, I ended up with a CommCenter that did not match the SHA1 posted by DevTeam. I'm not sure if this is the fault of the version of bspatch I'm using (I find that unlikely); it probably just got flubbed somewhere along the way. That being said, I tried manually hexing the file, got my SHA1 to match up with the one posted (use the command sha1sum even on the iPhone's terminal directly), and now I have the tethering option! I haven't done extensive tests yet but even getting this far was a challenge, and I'm sure I've gotten past the hard part now. For everyone out there saying "I don't get the tethering option"--verify verify verify your SHA1 and get the MobileConfig file.
Copied from wikee.iphwn.org/howto:random
The correct SHA1 of the hacked file will be:
1b19712035f33654cf72838ebe1a2033931b56b2 # 3GS
063165c3fa3e21d30eb4b486fab924ba3ef0ea5e # 3G

@raddracing2220
No, you need root and SSH access to the phone, which Apple does not give you out of the box.

Post a Comment