ModMyMotoModMyiModMyGphone





Unlocked iPhones


  Apple Forums | ModMyi.com | iPhone, iPod, Mac, OS X, Mods, More > iPhone Modding > T-mobile
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008, 05:44 PM
Green Apple
 
Join Date: Oct 2007
Posts: 67
Thanks: 0
Thanked 22 Times in 15 Posts
How to: t-zones without using proxy.pac file

Hello all,

Just doing a little bit of research I found a way to get the t-zones ($5.99) internet working without using the proxy.pac file. You will still need to modify the preferences.plist file though.

I am posting this to inform everyone of my findings, as this method seems to be just a tiny bit cleaner in overall configuration.

Procedure:

1) Uninstall or manually remove any previous t-zones proxy hacks.
2) Delete the proxy.pac file (not required).
3) Add the lines highlighted in red to the preferences.plist file. Mine was located at /private/var/preferences/SystemConfiguration/preferences.plist.

(Only modify the section with DeviceName "ip1")
Code:
/private/var/preferences/SystemConfiguration/preferences.plist

	<key>Interface</key>
	<dict>
		<key>DeviceName</key>
		<string>ip1</string>
		<key>Hardware</key>
		<string>com.apple.CommCenter</string>
		<key>Type</key>
		<string>com.apple.CommCenter</string>
	</dict>
	<key>Proxies</key>
	<dict>
		<key>HTTPEnable</key>
		<integer>1</integer>
		<key>HTTPPort</key>
		<integer>8080</integer>
		<key>HTTPProxy</key>
		<string>216.155.165.50</string>
		<key>HTTPSEnable</key>
		<integer>1</integer>
		<key>HTTPSPort</key>
		<integer>8080</integer>
		<key>HTTPSProxy</key>
		<string>216.155.165.50</string>
	</dict>
	<key>com.apple.CommCenter</key>
	<dict>
		<key>AllowNetworkAccess</key>
		<integer>1</integer>
		<key>Available</key>
		<integer>1</integer>
		<key>Setup</key>
		<dict>
			<key>apn</key>
                        <string>wap.voicestream.com</string>
			<key>password</key>
			<string></string>
			<key>username</key>
			<string></string>
		</dict>
		<key>Version</key>
		<integer>1</integer>
	</dict>
It does not speed anything up as far as I can tell, and there still seems to be the initial delay when first connecting to any of the internet services (i.e. safari, weather, mail, etc.). The only differences is like I said before; it is just a bit cleaner setup.

Please let me know how it works for you.
I have tested this on 1.1.3 and 1.1.4.

EDIT:
Thanks to MrEBean...
I have confirmed that this configuration will also work with firmware 2.0.
For firmware 2.0 the preferences.plist file will look like the following:

Code:
			<key>Interface</key>
			<dict>
				<key>DeviceName</key>
				<string>ip1</string>
				<key>Hardware</key>
				<string>com.apple.CommCenter</string>
				<key>Type</key>
				<string>com.apple.CommCenter</string>
				<key>UserDefinedName</key>
				<string>com.apple.CommCenter (ip1)</string>
			</dict>
			<key>Proxies</key>
			<dict>
				<key>HTTPEnable</key>
				<integer>1</integer>
				<key>HTTPPort</key>
				<integer>8080</integer>
				<key>HTTPProxy</key>
				<string>216.155.165.50</string>
				<key>HTTPSEnable</key>
				<integer>1</integer>
				<key>HTTPSPort</key>
				<integer>8080</integer>
				<key>HTTPSProxy</key>
				<string>216.155.165.50</string>
			</dict>
			<key>UserDefinedName</key>
			<string>com.apple.CommCenter (ip1)</string>
			<key>com.apple.CommCenter</key>
			<dict>
				<key>AllowNetworkAccess</key>
				<integer>1</integer>
				<key>Available</key>
				<integer>1</integer>
				<key>Setup</key>
				<dict>
					<key>apn</key>
					<string>wap.voicestream.com</string>
					<key>password</key>
					<string></string>
					<key>username</key>
					<string></string>
				</dict>
				<key>Version</key>
				<integer>1</integer>
Thanks.

Last edited by freshster; 07-21-2008 at 05:56 PM. Reason: Added HTTPS proxy code to fix Google Maps Locate
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 8 Users Say Thank You to freshster For This Useful Post:
96hondaex (03-06-2008), alnath (06-24-2008), beaner4sho (09-02-2008), coolusername (08-29-2008), minsong79 (03-01-2008), oh-dawg (03-07-2008), rush (02-29-2008), ~Antonio (04-11-2008)
  #2 (permalink)  
Old 02-29-2008, 12:57 PM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts

It worked!!!!!!!!!! THANKS!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 01:08 PM
Green Apple
 
Join Date: Oct 2007
Device + Firmware: 8GB iPhone 2.0.1 T-Mobile
Operating System: OS X 10.5.4
Posts: 49
Thanks: 6
Thanked 6 Times in 5 Posts

Do I delete the proxy.pac file via Fugu or what? Do I need any program(s) to add the extra code?
__________________
 15" Macbook Pro T8300 | 3GB RAM | 200GB
 24" iMac T7700 | 2GB RAM | 320GB
 iPhone 8GB | 1.1.4 | T-Mobile
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 03:15 PM
Green Apple
 
Join Date: Oct 2007
Posts: 67
Thanks: 0
Thanked 22 Times in 15 Posts

Quote:
Originally Posted by phungy View Post
Do I delete the proxy.pac file via Fugu or what? Do I need any program(s) to add the extra code?
You can delete the proxy.pac file using any SSH/SFTP program. I used WinSCP on Windows. Again, deleting the proxy.pac file is not necessary.

The ultimate goal of this proxy configuration is to bypass the use of the proxy.pac script altogether. Bypassing the proxy.pac script is done by making the modifications to the preferences.plist file that I highlighted in red.
I also used WinSCP to connect to the iphone and modify the preferences.plist file. If you are on a Mac, then there are other SSH/SFTP programs that you can use, but I am unfamiliar with them.

I hope this clears it up for you.

Quote:
Originally Posted by rush View Post
It worked!!!!!!!!!! THANKS!
You are welcome!
I am glad to see it worked for you.

Last edited by freshster; 02-29-2008 at 03:15 PM. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to freshster For This Useful Post:
phungy (02-29-2008)
  #5 (permalink)  
Old 02-29-2008, 03:18 PM
Green Apple
 
Join Date: Oct 2007
Device + Firmware: iPhone+2.1+Unlocked
Operating System: Windows Vista Ultimate
Location: Miami, FL
Posts: 57
Thanks: 4
Thanked 2 Times in 2 Posts

To add the extra code, just open the file with Notepad and then locate the area where you need to add the code.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to ima80baby For This Useful Post:
phungy (02-29-2008)
  #6 (permalink)  
Old 03-01-2008, 08:43 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

looks like the locator in maps doesn't work with this... but everything else works great... thank you for posting.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 03-01-2008, 01:03 PM
Green Apple
 
Join Date: Oct 2007
Posts: 67
Thanks: 0
Thanked 22 Times in 15 Posts
Fixed Google Maps Locate

Quote:
Originally Posted by hipzip2002 View Post
looks like the locator in maps doesn't work with this... but everything else works great... thank you for posting.
You are absolutely correct, so I investigated it further.
It seems that Google Maps Locate feature is sending HTTPS requests also.
Therefore, I have modified my code to include the proxy directions for HTTPS requests.

Please try my updated preferences.plist settings in the first post.
Let me know if it works correctly now.

Thanks for your findings!

Last edited by freshster; 03-01-2008 at 01:19 PM. Reason: typo
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 03-01-2008, 03:00 PM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: 1.1.4 iPhone
Operating System: Hackintoshi
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts

I just have a quick questions..

Is there any procedure that needs to be done after editing the preference.plist file?

I used the Fugu to find the preference.plist file, and copied it to my desktop. Then, edited the file according to your instruction. After saving the file, I replaced the preference.plist file on my iPhone with the edited one.

But, my I always get this 502 error in my safari browser.

Am I missing something here?


Thanks~

Do I have to restart the phone or reset the network setting or anything like that?

Nevermind. Thanks~~~

After few minutes later, it just started to work without restarting or anything like that.

This method worked for me!! (1.1.4)

Safari works.
Stock works
Weather works
YouTube DOESN'T Work
Google Map (my location) seems to be working.... May be not... the circle showing my location is just huge!! It kinda tells me what city I am in. Oh well... it's ok.

Anyway.. Thank you very much~

Last edited by minsong79; 03-01-2008 at 03:08 PM. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 03-01-2008, 07:22 PM
Green Apple
 
Join Date: Oct 2007
Posts: 67
Thanks: 0
Thanked 22 Times in 15 Posts

Quote:
Originally Posted by minsong79 View Post
After few minutes later, it just started to work without restarting or anything like that.

This method worked for me!! (1.1.4)

Safari works.
Stock works
Weather works
YouTube DOESN'T Work
Google Map (my location) seems to be working.... May be not... the circle showing my location is just huge!! It kinda tells me what city I am in. Oh well... it's ok.

Anyway.. Thank you very much~
You are welcome.
Thank you for the update and information on your experience.

I think the initial delay is normal when using any of the t-zones hacks. I am not sure why, but maybe the proxy takes a couple minutes to realize the connection? :-)
Google Maps seems to show my location in the same place when I use Edge AND when I use Wi-Fi. So I would assume that it is working correctly based on the towers around me. Mine ends up showing approx. 2 mile diameter.

Thanks again.

Last edited by freshster; 03-01-2008 at 07:24 PM. Reason: typo
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 03-02-2008, 12:31 PM
What's Jailbreak?
 
Join Date: Feb 2008
Device + Firmware: Iphone 1.1.4
Operating System: Mac os X
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I followed these steps but it still is not working for me, any suggestions? And how long is the 'few minutes'? It has been probably ten minutes now. Thank you.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 03-02-2008, 01:10 PM
Green Apple
 
Join Date: Oct 2007
Posts: 67
Thanks: 0
Thanked 22 Times in 15 Posts

Quote:
Originally Posted by jdl4kd View Post
I followed these steps but it still is not working for me, any suggestions? And how long is the 'few minutes'? It has been probably ten minutes now. Thank you.
It should work pretty quickly.
If not, try turning the phone off and then back on again.
There is a 1-2 min delay when first trying to connect.
I think this is normal for everyone when using the t-zones proxy.
Good Luck.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 03-04-2008, 12:01 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.3 Unlocked.
Operating System: XP PRO
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts

Were do i enter all of this stuff??? im new to this...thanks...on the computer or my iPhone??
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo