IPhone hack

From Noah.org
Revision as of 01:30, 12 August 2007 by Root (talk | contribs)
Jump to navigationJump to search


I bought an 8GB iPhone today (20070811). I have 14 days to return it if I can't figure out how to unlock it. I have no intention of getting AT&T because #1, I don't do service contracts -- the AT&T iPhone contract is 2 years long! #2, I hate AT&T -- I got burned by them before. #3, I got to test a friends iPhone for quite a while over a period of weeks in many different locations in San Francisco and the 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.


My copy of iTunes.exe is 15330616 bytes.

Don't even think about this if you don't love Vim and are not a UNIX nerd! 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

If that works then copy iTunes2.exe over iTunes.exe.

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

--

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

  1. 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.
  2. Plug iPhone in USB cable then into Windows machine. I let it charge for about 20 minutes.
  3. Start iTune software.
  4. CTRL-ALT-DEL to bring up Windows Task Manager (run TaskMgr.exe).
  5. End Process -> iTunes.exe
  6. Run -> cmd
  7. mkdir c:\phonedmg
  8. 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
  9. rename iPhone1,1_1.0_1A543a_Restore.ipsw to iPhone1,1_1.0_1A543a_Restore.zip
  10. Move zip file to c:\phonedmg and then uncompress the zip file.
  11. Download jailbreak http://www.hacktheiphone.com/downloads/jailbreak2.zip into c:\phonedmg.
  12. Download iPhoneInterface http://www.hacktheiphone.com/downloads/ipi2.zip into c:\phonedmg.
  13. Download iTunesMobileDevice.dll http://www.hacktheiphone.com/downloads/iTunesMobileDevice.dll.zip into c:\phonedmg.