The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

2.2 Unlock / Jailbreak OS X | Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > T-mobile
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008, 04:44 PM
Green Apple
 
Join Date: Oct 2007
Posts: 68
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 04: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, 11:57 AM
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, 12:08 PM
Green Apple
 
Join Date: Oct 2007
Device + Firmware: 8GB iPhone 2.2 T-Mobile
Operating System: OS X 10.5.6
Posts: 58
Thanks: 7
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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 02:15 PM
Green Apple
 
Join Date: Oct 2007
Posts: 68
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 02: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, 02:18 PM
Green Apple
 
Join Date: Oct 2007
Device + Firmware: iPod Touch 2G
Operating System: Mac OSX 10.5.6
Location: Miami, FL
Posts: 81
Thanks: 6
Thanked 3 Times in 3 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, 07: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, 12:03 PM
Green Apple
 
Join Date: Oct 2007
Posts: 68
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 12:19 PM.. Reason: typo
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 03-01-2008, 02: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 02:08 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 03-01-2008, 06:22 PM
Green Apple
 
Join Date: Oct 2007
Posts: 68
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 06:24 PM.. Reason: typo
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10 (permalink)  
Old 03-02-2008, 11:31 AM
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, 12:10 PM
Green Apple
 
Join Date: Oct 2007
Posts: 68
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-03-2008, 11:01 PM
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 Thanks Reply With Quote
  #13 (permalink)  
Old 03-04-2008, 07:44 AM
Green Apple
 
Join Date: Oct 2007
Posts: 68
Thanks: 0
Thanked 22 Times in 15 Posts

Quote:
Originally Posted by bmp1064 View Post
Were do i enter all of this stuff??? im new to this...thanks...on the computer or my iPhone??
The preferences.plist file is located on the iphone, but you will need to use an SSH client to connect to the iphone and edit the file.

Make sure you have OpenSSH installed on your iphone. Then, use a SSH client from your Windows or Mac computer to connect to your iphone. (there are many guides on the forums on how to do this).
After you connect to the iphone, open the /private/var/preferences/SystemConfiguration/preferences.plist file for editing and make the changes I listed.

If you feel uncomfortable in performing any of these steps, I would suggest for you to simply use installer to install the "BigBoss 1.1.3 T-Zones T-Mobile Hack" instead. That is the easiest way for anyone to get their T-Zones working. While my way is cleaner, it does take some experience and knowledge of OSX and SSH.

Thanks.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14 (permalink)  
Old 03-04-2008, 08:33 PM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone 1.1.4
Operating System: OSX 10.5
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
cant get this to work

I got a 1.1.3 8gb OTB, upgraded to 1.1.4, unlocked with Ziphone 2.5. confirmed tzones is activated. Tried the "big boss" tzones hack, wasnt working so I uninstalled the big boss tzones hack and big boss experimental/beta stuff, left community sources, BSD sub, and open SSH installed.

was having trouble accessing the root using Transmit, kept saying permission denied, upgraded version of Transmit, then used pw: alpine, it worked, got the plist, changed exactly as described, loaded it on the phone, verified it stuck, restarted iphone....

still no edge network access, any ideas or anyone else having this happen?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15 (permalink)  
Old 03-05-2008, 03:52 AM
Green Apple
 
Join Date: Oct 2007
Posts: 68
Thanks: 0
Thanked 22 Times in 15 Posts

Quote:
Originally Posted by Nparker View Post
I got a 1.1.3 8gb OTB, upgraded to 1.1.4, unlocked with Ziphone 2.5. confirmed tzones is activated. Tried the "big boss" tzones hack, wasnt working so I uninstalled the big boss tzones hack and big boss experimental/beta stuff, left community sources, BSD sub, and open SSH installed.

was having trouble accessing the root using Transmit, kept saying permission denied, upgraded version of Transmit, then used pw: alpine, it worked, got the plist, changed exactly as described, loaded it on the phone, verified it stuck, restarted iphone....

still no edge network access, any ideas or anyone else having this happen?
Hmmm... Sounds like you did everything correctly.
Did you try each online application, like Safari, Weather, Google Maps, and Mail? After each reset, it does take a couple minutes to initially start working.
Do you get any errors when trying to browse?
Did you add the <string>wap.voicestream.com</string> listed in my code? It is further down in my code and sometimes gets hidden from view.
Can you post the contents of your preferences.plist file for verification?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > T-mobile

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Go to Top
ModMyI

All times are GMT -6. The time now is 02:09 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 | Dedicated Server Hosting by SingleHop | Copyright © 2007-09 by ModMy, LLC. All rights reserved.

RSS / Contact Us / / ModMyi Home / Archive / Privacy Statement / Top


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408