Showing posts with label tether. Show all posts
Showing posts with label tether. Show all posts

2010-04-04

Jailbreaking the iPhone 3G with a modern firmware and no Apple PC

This is another of my "I'm getting old and I really don't want to forget what worked" posts. You likely won't find much of use here.

I'm trying to update my iPhone to firmware 3.1.2 (yeah, 3.1.3 is out but doesn't do much other that rip the ability to tether off the phone again). The key here is that I DON'T want to update my modem baseband as I have the cherished 4.26.08 version that is easily unlockable. I also want to have a version that I can use for tethering.

This would be (probably) much easier if I had an Apple PC for using Pwnage, but I don't. And I decided to spend 2 days figuring this out on my PC rather than going to my sister's house for 2 hours. Duh. I'm not going to bother saying how many times I downgraded to older firmwares / put the phone in a recovery loop / etc.

The key components were:

* Prebuilt IPSW file from someone else built in Pwnage. My file was "iPhone1,2_3.1.2_7D11_Custom_Restore_UNTOUCHED_500MB.ipsw". The key information is:

  1. no baseband included
  2. "UNTOUCHED" means "unactivated" means "works on AT&T". For now I'm not moving my iPhone off of AT&T. For now. I know, I threatened awhile back, I just didn't get around to it.
  3. 500MB ... since Cydia installs to the media partition now there isn't much reason for a 1GB partition
* iReb from iH8sn0w ... this utility allows you to put your phone in DFU mode (hint: put the phone in DFU WHILE the iReb app is running) and cause a whitescreen.

* Once in whitescreen mode you can use iTunes to restore the custom firmware. This allows you to skip the errors that prevent iTunes from otherwise working.

* FAILED DON'T DO THIS: Once THAT is done I used redsn0w 0.9.3 (which includes the IPCC tethering patch) to re-break my phone. To do this, make sure you use the "Already pwned" option in redsn0w. This also gives you the option of adding a custom boot logo.

* NEXT: Install MyWi from Cydia. Launch the "Rock" application and create a Rock ID. Go to settings and enable USB tethering. I don't know if this will break once the app's trial period ends. Quite possibly ... though probably not IF you never open it again. Since I want the ability to connect over WiFi I'm going to spend the $10 on it.

The biggest problem was I wanted tethering. If I would have been happy without it I could have used sn0wbreeze and 3.1.3. I even had that working at one point. I didn't want to us other methods because I didn't want to risk upgrading my baseband.

Apple is unfortunately getting good at preventing or making much harder all the jailbreaking methods used so far. I expect it will get harder and harder to do this on my phone in the future.

If you do this ... I highly recommend keeping copies of all the files you use to do it in case newer versions change the process in the future. Please don't ask me for copies of firmwares, I'm not going there.


2009-11-26

iPhone 3G Tethering and Windows 7

I decided to play with using my iPhone to give a data connection to a fresh Windows7 install (on my HP Mini 2133, though that shouldn't matter). The following are some notes about how to get it to work and what exactly it does.

First off, be aware that if you use AT&T (as I do) that tethering isn't available to you by default. With Firmware 3.0 they made it very easy to install by using a mobileconfig profile. However I think in 3.1.x (I'm still on 3.0) they locked it out. From what I have read you can re-enable it with a mobileconfig after jailbreaking your iPhone. The jailbreak I know is reported to work with is blackra1n, but who knows what other jailbreak methods may work. Either way, I'm not supporting your jailbreaking issues. But if you've gone there ... (or are using a non-US iPhone that gives you tethering) ... this may be of use.

NOTES:

1) You can tether with USB or with Bluetooth.

2) If you have a fast 3G network, tether with USB, Bluetooth seems to max out around 768Kbs to 1Mbs ... whereas USB is giving me over 3Mbs right now. Uploads on both were the same.

3) If you tether your PC will be getting data from the cellular network EVEN if the iPhone has a working WiFi connection. This is kinda sucky but no way around it using the built-in tethering method, at least so far.

Ok, those notes out of the way ... this is what I needed to make it work:

* Windows 7 fresh install

* iTunes 9.0.2.25 (earlier iTunes will work ... in fact iTunes itself isn't necessary if you can find the Apple mobile device drivers package separately ... but iTunes will bundle it). This is because Win7 doesn't have the USB drivers for the iPhone built-in. You can do USB mass storage without it but not the data tethering. Just grab it from itunes.com.

NOTE: That SHOULD be all you need if you want to USB tether. I'm not 100% sure on that though since I also did the next step before testing.

* Windows Mobile Device Center ... this is a fairly new mobile device driver suite from Microsoft that replaces the old ActiveSync stuff. I used it to get updated Bluetooth connectivity on my Win7 laptop. You can get if from http://www.microsoft.com/windowsmobile/en-us/downloads/microsoft/device-center-download.mspx

I'm not really sure it was necessary since things still didn't work at that point. I found a post about the problem I was having at this page: http://www.conetrix.com/Blog/post/iPhone-Tethering-Cannot-Install-Driver-for-Bluetooth-Peripheral-Device.aspx

The summary of that post is:

* Pair with your iPhone using "Add a Bluetooth Device" in Win7

* Right-click the connected iPhone in "Control Panel -> Hardware & Sound -> Devices and Printers" and select "Properties"

* Go to the "Services" tab

* Uncheck "Wireless IAP"

* "Apply" or "OK"

Then from that point, to connect to the iPhone for tethering, right-click the iPhone in "Devices and Printers" again and use "Connect Using" and click on "Access Point".

So ... the results of all of this? Yeah this may not be worth it for the average user BUT for someone reliant on data while travelling it may just save your butt:

* USB tethering now works. This is the preferred method since it is both easier to hook up (just plug the cable in) AND supports better download speeds as well as charging your phone.

* Bluetooth tethering now works. Forgot your cable? Just need a quick connection and don't need a lot of speed? Just don't want to rifle through your bags? Great. You're covered.

* Remember: all your data is coming from the cell network. I would like it if it would tether the wifi on the phone, just so you could keep a single connection while roaming the airport (letting your phone switch networks at will while the laptop just plays dumb) but ... it doesn't. So if you're not on an unlimited plan you will want to be careful. And if you can't get a 3G signal be prepared for a slow time. But SOME data is better than none.

NOTE: the previous paragraph is a very sad note when you're near one of those free AT&T wifi spots like a Starbucks. It sure would be nice to use tethering in those spots where you get free iPhone WiFi but not free WiFi on your laptop.