Thanks to Dev Team and the porting work of Jay Freeman as well as the authors of 3Proxy, it is now possible to “tether” your iPhone 3G and use its Internet connection on your laptop.
Warning – Tethering your iPhone is against the iPhone data plan terms. AT&T could slap you with huge fees if you overuse this. I recommend only using it during emergencies.
Here is a basic plan (by the way, this should work for old IPhone also):
Jailbreak your iPhone 3G
Install 3Proxy and Terminal
Create an ad-hoc Wi-fi network using your laptop
Join the network with your iPhone
Find the iPhone’s IP address
Open Terminal and run the proxy program
Open Safari on your iPhone and open a web page
Configure your browser to use the proxy
Later we’ll discuss it with more details.
Step 1: Jailbreak your iPhone
Just download PWNageTool 2.0. Run it and follow the instructions. Make sure to add Cydia, when asked.
Step 2: Install 3Proxy and Terminal
During the jailbreak, Cydia should have appeared on one of your app pages: use it and let Cydia load and self-update.
Then head to Install, All Packages, then find MobileTerminal and 3Proxy (3Proxy is at the bottom). Install both and hit your Home button. Your phone will restart and you’ll see Terminal installed on your home screen. 3Proxy isn’t a GUI app and as such won’t have an icon.
Step 3: Create an ad-hoc Wifi network using your laptop
Using whatever wireless software suite you have, create an ad-hoc network. On a Mac it’s in the Airport menu, under “Create network…”. Name it something inconspicuous. I called mine “baladoux”. On your iPhone, join the ad-hoc network.
Step 4: Find your iPhone’s IP address
Then, hit the blue arrow next to it, and wait for your IP address to show up:
Memorize (or write down) this IP address. You will need it later.
Step 5: Open Terminal and run the proxy program
Simple enough. Open Terminal, type “socks” and hit return.
Nothing will appear to happen, but the SOCKS server will be running. You can hit the home button to push Terminal to the background (remember to terminate it later, by switching back to Terminal and holding the Home button until it closes).
Step 6: Open Safari on the iPhone and open a web page
Any page will do. I recommend http://pwnagetool.ru
This step is important. The page will take a while to load. When Safari realizes it can’t get to the Internet using the ad-hoc Wifi, it will do some internal magic to switch back to 3G for Internet while still on your ad-hoc network. That lets the proxy do its thing.
Step 7: Configure your browser
In Firefox, head to Preferences, and under Advanced, Network, hit Settings:
Then, fill in the iPhone’s IP address (which you memorized earlier) into the SOCKS Host field, and put 1080 as the port number. Make sure all other proxy fields are blank and/or 0 as shown:
Then, since the proxy doesn’t forward DNS, you will also have to change an advanced option in Firefox. In the Firefox URL bar, enter “about:config” and hit Enter
In Filter, type “socks” and then double-click “network.proxy.socks_remote_dns” to make its value “true”.
That should be all you need! Firefox should be able to browse the Internet through your iPhone’s 3G connection.
Tethering costs a lot of battery life on the iPhone so make sure you have it plugged in. When you’re done, make sure to quit Terminal by opening it back up and pressing and holding the Home button until it quits.
The development sources for xpwn 0.3, the firmware 2.0 version of our cross-platform jailbreaking library/command-line utility have been pushed onto github. DevTeam tested it on Linux, Windows XP, and Windows Vista for both the iPhone 2G and iPhone 3G thus far, but since it uses the same FirmwareBundles files as PwnageTool, and we know those work for the iPod touch, there ought not be any problems.
Being a suite of command-line utilities, this release is meant primarily for developers. While you can certainly jailbreak (both 3G and first-gen) and unlock (first-gen) with it, it’s not really something you want to try without reading the lengthy, detailed README. If you don’t have the patience to do that, this release is not for you.
For users this news mean that quite soon there will be a new version of winpwn, supporting 2.0.
It auto-finds the bl39 and bl46 files better, if they’re on your computer
It creates the ~/Library/iTunes/Device Support/ folder if not present, which should help with some 1600 errors people have been having.
Many people have reported the PwnageTool not starting up at all (the icon never stops bouncing). This issue should be resolved now.
The Sparkle AppCast URL is fixed in this version, so automatic updates should work for future releases.
Because of the AppCast URL fix, we recommend that everyone who downloaded PwnageTool 2.0 get this version, if they want to stay up to date automatically.
If PwnageTool 2.0 pwned your phone correctly the first time, you do not need to pwn again with 2.0.1.
Now older IPhone users users can upgrade to firmware 2.0 and IPhone 3G users have a possibility to have jailbreaked IPhones. That is because PwnageTool 2.0 is released today. Download links are: mirror1, mirror2, mirror3.
Just a reminder: this tool jailbreaks and unlocks older iPhones, and jailbreaks iPhone 3Gs and iPod Touches. No unlock for Iphone 3G yet. The supported firmware is 2.0 only. Platform is Mac OS.
If you get Error 1600 from iTunes (or if you see in your log a failure to repare x12220000_4_Recovery.ipsw), try: mkdir “~/Library/iTunes/Device Support” ; if that directory already exists, remove any files in it. Then re-run PwnageTool.
Reminder: as of right now, there are no apps out for 2.0. Over the next few days some will come out. So do not update yet if you have some favorite 1.1.x apps you are using! 2.0 will not run 1.1.4 apps
DevTeam is working hard to release their PwnageTool 2.0. Today it became clear what it will be able to do:
iPhone (1st Gen) with 2.0 – Activated, Unlocked & Jailbroken, (with support for third party applications).
iPod Touch with 2.0 – Activated & Jailbroken, (with support for third party applications).
iPhone (3G) with 2.0 – Activated, Jailbroken (with support for third party applications).
So no unlock for IPhone 3G. But, they promise to create the next version with support of unlock, bootneuter and etc for IPhone 3G. It just will take some time.