Difference between revisions of "IPhone hack"

From Noah.org
Jump to navigationJump to search
Line 14: Line 14:
  
 
I then patched the iTunes.exe and edited my hosts file according to the instructions at [http://nanocr.eu/2007/07/03/iphone-without-att Jon Lech Johansen’s blog]. He did all the hard work.
 
I then patched the iTunes.exe and edited my hosts file according to the instructions at [http://nanocr.eu/2007/07/03/iphone-without-att Jon Lech Johansen’s blog]. He did all the hard work.
This if just for script kiddies.
+
This is just for script kiddies.
  
 
Don't even think about this if you don't are not a UNIX nerd! It also helps to love Vim. These are the notes of exactly what I did in Vim, so it was trivial to turn this into an ex script. I only did it this way because I was on a Windows machine that had Cygwin and Vim installed. I was too lazy to learn how to use some Windows hex editor. Yes, it's funny even to me that this seemed easier than using some GUI tool.
 
Don't even think about this if you don't are not a UNIX nerd! It also helps to love Vim. These are the notes of exactly what I did in Vim, so it was trivial to turn this into an ex script. I only did it this way because I was on a Windows machine that had Cygwin and Vim installed. I was too lazy to learn how to use some Windows hex editor. Yes, it's funny even to me that this seemed easier than using some GUI tool.

Revision as of 02:51, 12 August 2007


I bought an 8GB iPhone today (20070811). I had 14 days to return it if I couldn't figure out how to use it. I had no intention of getting AT&T because #1, I don't sign service contracts and the AT&T iPhone contract is 2 years long! #2, I had a previous ugly dispute with AT&T. #3, I got to test a friend's iPhone for quite a while over a period of weeks in many different locations in San Francisco and our conclusion is that Edge is completely worthless. The iPhone is fine on WiFi, but Edge turns out to be an annoyance. I would rather it not even try to connect to Edge and do nothing when it can't find WiFi.

So I have mixed feelings about the iPhone. For $600 is a very expensive music player and WiFi surfer. Having to go through this ordeal is a bit annoying considering the high price.

Be that as it may, I still went out and bought one!

It Works!

I got version 7.3.0.54 of iTunes. My copy of iTunes.exe is 15330616 bytes.

I then patched the iTunes.exe and edited my hosts file according to the instructions at Jon Lech Johansen’s blog. He did all the hard work. This is just for script kiddies.

Don't even think about this if you don't are not a UNIX nerd! It also helps to love Vim. These are the notes of exactly what I did in Vim, so it was trivial to turn this into an ex script. I only did it this way because I was on a Windows machine that had Cygwin and Vim installed. I was too lazy to learn how to use some Windows hex editor. Yes, it's funny even to me that this seemed easier than using some GUI tool.

#!/bin/sh
# iJack.sh
xxd iTunes.exe > iTunes.hex
ex iTunes.hex <<HERE_EX
/003ebf0/
s/208b 4c24/2033 c9b1/
/003ec30/
s/a804/2804/
/01f4390/
s/81ec 14/33c0 c3/
w
HERE_EX
xxd -r iTunes.hex > iTunes2.exe
sha1sum iTunes2.exe
md5sum iTunes2.exe

Running the script should give the following output.

$ ./iJack.sh
eedc79544087bcde088032e817afaf0c07820d3c *iTunes2.exe
533308bc84056c207982ade2ef88de0e *iTunes2.exe
  1. If those numbers match then copy iTunes2.exe over iTunes.exe.
  2. Start Phone Activation Server.
  3. Start iTunes.
  4. Plug in iPhone.
  5. You will see the message "Incorrect SIM. Please connect to iTunes to reactivate iPhone.". This appears to be harmless. The phone now works as an iPod and web browser. I was able to get right on my WiFi and start browsing.

http://nanocr.eu/2007/07/03/iphone-without-att

--

failed attempt

I got half-way through with the instructions here, but then felt that the instructions were unclear or unfinished, so I went back to http://nanocr.eu/2007/07/03/iphone-without-att and gave it another shot.

These notes are based on the detailed instructions from http://www.hacktheiphone.com/iphone_first_ten_steps_to_modding_windows.html .

# Install iTunes (I installed 7.3.2) on Windows XP. Don't let iTunes turn on AutoRun -- those dirty bastards! Leave me alone! I turned it off for a reason.
# Plug iPhone in USB cable then into Windows machine. I let it charge for about 20 minutes.
# Start iTune software.
# CTRL-ALT-DEL to bring up Windows Task Manager (run TaskMgr.exe).
# End Process -> iTunes.exe
# Run -> cmd
# mkdir c:\phonedmg
# Download software restore from Apple. Save As file:  http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-3538.20070629.B7vXa/iPhone1,1_1.0_1A543a_Restore.ipsw
# rename iPhone1,1_1.0_1A543a_Restore.ipsw to iPhone1,1_1.0_1A543a_Restore.zip
# Move zip file to c:\phonedmg and then uncompress the zip file.
# Download jailbreak http://www.hacktheiphone.com/downloads/jailbreak2.zip into c:\phonedmg.
# Download iPhoneInterface http://www.hacktheiphone.com/downloads/ipi2.zip into c:\phonedmg.
# Download iTunesMobileDevice.dll http://www.hacktheiphone.com/downloads/iTunesMobileDevice.dll.zip into c:\phonedmg.