Tuesday, December 7, 2010

Tethering on iOS4 through Commcenter Hacking (IE Free) (4.0-4.2.1 compatible)

Thanks to Wortel over on Xsellize there is a commecenter patch for the 3G/3GS/4G phones that works on all iOS versions (4.0-4.2.1)



CommCenter Patch by wortel (4ALL4)




Old Patches:

*NOTE* As this requires SSH and command line, it is not for the inexperienced hacker. Please use caution! I am not responsible for any damage you do to the phone (although most mistakes should be fixable by a restore).



I was able to enable native tethering on my iPhone 4 running 4.0.1 on the US AT&T network. Facetime works, tethering works, I have not tested MMS yet but I assume it works, too. It was somewhat tricky to figure out, since there are so many partial instructions on the webz and I kinda suck at stuff like this. I'll try to list the steps here so others can follow.



1. Jailbreak your iPhone 4 on the jailbreak website.

2. Open Cydia and install OpenSSH. (Follow the instructions to change your root password!)

3. Download wortel's Patch for Commcenter 4.1 3G/3GS/4G (4.1-4)by wortel (the file listed above

4. Use Cyberduck or another SFTP client to log into your iPhone.

5. In the Directory /System/Library/Frameworks/CoreTelephony.framework/Support, Back up your CommCenter to your PC/Mac in case things go sour.

6. Browse to /var/tmp and upload the file ccp4.1-4_wortel.deb

7. SSH into your iPhone and run the patch by typing:

dpkg -i /var/tmp/ccp4.1-4_wortel.deb

8. Reboot your phone



Now we need to either edit your carrier.plist or replace it with the one below (for AT&T only).

here's the link to the carrier.plist file: http://www.multiupload.com/2OXWAIQ594 (AGAIN AT&T only)



Two Options at this point (Editing or replacing with the above file):



Option 1 if replacing:

Quote:


9. Use cyberduck or another SFTP program to connect to your iPhone and browse to:

/var/mobile/Library/Carrier Bundle.bundle/

(the above should be a symlink to /System/Library/Carrier Bundes/ATT_US.bundle/)



10. Download your carrier.plist file from your iPhone and save a copy of this original file, just in case.



11. Upload the replacement carrier.plist file

12. On your iPhone, open Settings / General / Reset and reset your network settings.

or



Option 2 if editing:

Quote:


9. browse to /System/Library/Carrier Bundes/your_carrier.bundle/



10. Download your carrier.plist file from your iPhone and save a copy of this original file, just in case.



11. Open the downloaded carrier.plist in your favorite text editor



12. Under APNS->APN look for something with your carriers WAP settings. Change the type mask integer from 4 to 53 - which should change allowing MMS to MMS, data and tethering. A explanation of these numbers is here. If this does not work, play around with the numbers until something works for your specific carrier.



13. save the file to a different location and replace the file on your phone.



14. On your iPhone, open Settings / General / Reset and reset your network settings.

Finally remember to turn on tethering in Settings->General->Network->Internet Tethering. You'll need to either connect your phone to your computer via USB or have it already paired via bluetooth. The latest version of itunes is also needed.



To ensure you keep facetime, make sure the following lines are in your carrier.plist file you are using:



*NOTE* Due to the nature on how Facetime works (sending a special SMS to the number below) it appears t-mobile (and supposedly other carriers) are not handling the SMS properly. Please let me know if this works for your specific carrier.



For AT&T Only:



[HTML]<key>PhoneNumberRegistrationGatewayAddress</key>

<string>28818773</string>[/HTML]



For other carriers:



[HTML]<key>PhoneNumberRegistrationGatewayAddress</key>

<string>00447786205094</string>[/HTML]



*Due to the way Facetime communicates with Apple, text message charges may appear for unsupported carriers



If your using a older IPCC file or custom carrier bundles keep note that for iphone4, carrier png files need to be double the resolution. All you have to do is make new logo's with a higher resolution and add @2x on the end of the filename.

Like this:
  • Default_FSO_CARRIER_BASE.png
  • Default_FSO_CARRIER_BASE@2x.png
  • FSO_CARRIER_BASE.png
  • FSO_CARRIER_BASE@2x.png

Reference: http://forums.macrumors.com/showthread.php?t=984943

No comments: