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.

84 comments:

  1. 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

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

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

    Thanks for this bug. :)

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. 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"

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

    ReplyDelete
  8. 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."

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

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

    ReplyDelete
  11. @Vadim

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

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

    ReplyDelete
  13. 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

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

    ReplyDelete
  15. 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 ?

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

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

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

    ReplyDelete
  19. 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"

    ReplyDelete
  20. @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.

    ReplyDelete
  21. 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?

    ReplyDelete
  22. This comment has been removed by the author.

    ReplyDelete
  23. Also, Snow Leopard does ship with bspatch.

    ReplyDelete
  24. 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.

    ReplyDelete
  25. @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 ?

    ReplyDelete
  26. @ 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...:(

    ReplyDelete
  27. Thanks for this solution! Greetings www.iphone4ever.eu

    ReplyDelete
  28. 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.

    ReplyDelete
  29. @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).

    ReplyDelete
  30. @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.

    ReplyDelete
  31. 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.

    ReplyDelete
  32. Worked like a charm. thanks mate.

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

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

    ReplyDelete
  35. 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

    ReplyDelete
  36. Worked brilliantly on a 3g running 3.1.2.

    ReplyDelete
  37. 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?

    ReplyDelete
  38. 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

    ReplyDelete
  39. 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.

    ReplyDelete
  40. 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.

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

    ReplyDelete
  42. 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.

    ReplyDelete
  43. 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.

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

    ReplyDelete
  45. 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.

    ReplyDelete
  46. 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!

    ReplyDelete
  47. 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?

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

    ReplyDelete
  49. 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.

    ReplyDelete
  50. 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.

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

    ReplyDelete
  52. 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.

    ReplyDelete
  53. 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

    ReplyDelete
  54. 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...

    ReplyDelete
  55. 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.

    ReplyDelete
  56. This comment has been removed by the author.

    ReplyDelete
  57. This comment has been removed by the author.

    ReplyDelete
  58. 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

    ReplyDelete
  59. This comment has been removed by the author.

    ReplyDelete
  60. This comment has been removed by the author.

    ReplyDelete
  61. 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

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

    ReplyDelete
  63. 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

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

    ReplyDelete
  65. 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 ?

    ReplyDelete
  66. excellent tutorial, thanks a bunch!

    ReplyDelete
  67. 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.

    ReplyDelete
  68. Can you do this without jailbreaking?

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

    ReplyDelete
  70. 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

    ReplyDelete
  71. @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.

    ReplyDelete
  72. somebody can help me, i don´t know what i did it but my file CommCenter is corrup, can someone upload original file to megaupload or rapidshare. The other link don´t work, please

    ReplyDelete
  73. Since I found this guide to be awesome, I thought I'd post what I got working. I did the CommCenter hack and it worked great using the help.benm.at carrier file... but it killed my visual voicemail!

    I found this site http://www.redmondpie.com/enable-tethering-on-iphone-3.1.2-firmware-with-blacksn0w-9140087/

    and used their carrier profile file. Works GREAT. Tethering, VVM, everything!!!

    ReplyDelete
  74. ok guys Here is the links for an easier method
    http://www.redmondpie.com/enable-tethering-on-iphone-3g-3gs-3.1.2-firmware-eqw846/

    and for those with ATT that cant use tethering and VVM at the same time here is the link.

    http://www.redmondpie.com/fix-iphone-3.1.2-tethering-and-visual-voicemail-vvm-ows754/

    you guys will need that software also
    http://www.apple.com/downloads/macosx/internet_utilities/cyberduck.html

    Hope it Helps

    LSDabus

    ReplyDelete
  75. very good information. looking forward to see more on iphone development and the future for iphone developers.

    ReplyDelete
  76. This guide explains the process very clearly, worked perfectly for me: http://blog.alltechrelated.com/2009/10/20/commcenter-hacks-enable-tethering-on-iphone-3g-3gs-on-os-3-1-2/

    ReplyDelete
  77. How can we get this working for version 3.1.3?

    ReplyDelete
  78. Your article was quite intriguing and the information quite useful. Will check your site often to see other great posts you make! Regards iphone

    ReplyDelete
  79. What do you mean "chmod +755 the new CommCenter so that it's executable"?
    Cheap Mobile Phone

    ReplyDelete
  80. I have tried it on my iphone 5, but it doesn't work. I am getting errors. en ucuz iphone

    ReplyDelete