Installing Android on the iPhone 2G or 3G
Page 2 of 2
Step 8.
Use whatever FTP/SSH program you would like to talk to the iPhone with. Fugu and Transmit are good
programs, as is iPhone Explorer. I'll be using Yummy FTP. You can download a free 30 day trial
of this program
here. Decompress the zip file, then
mount the dmg and then drag the icon into your Applications folder.
Launch the program. Click the left most icon with the plus symbol on it.
Fill out the configuration details like this (using your iPhone's IP address). The default password
is alpine, you may have changed yours however. Click Save when you are done.
Double click the iPhone bookmark to connect.
You should see something similar to this. Your Mac's file system is on the left, the iPhone's
on the right. If you aren't already at the desktop on the left side, then navigate there.
Open the idroid 2G or 3G folder. Now go into the prebuilt folder. Copy all the files except for
openiboot.img3, to the /private/var folder on the iPhone. Make sure you are not putting these files
into a subfolder in /private/var. Highlight them, then double click one of them and they should
transfer to the iPhone.
Verify your firmware folder looks like this.
Drag the firmware folder on your desktop to the /private/var folder. Make sure you do not place it
into a subfolder in var. PlanetBeing recommends rebooting the iPhone and checking the file sizes of
the files placed in the /private/var folder. Apparently many have problems where the entire file
doesn't upload. I have never had this issue. Your call.
Step 9.
Go back to the idroid 2G or 3G folder on your desktop. Open the prebuilt folder and copy the
openiboot.img3 file to your other idroid folder on the desktop.
Download Android_tools
here. Decompress the file
and you will have a folder.
Copy the files from the Android_tools folder to the idroid folder on your desktop.
Step 10.
Put the iPhone into recovery mode by turning it off, then disconnect the USB cable to your Mac.
Now press and hold the Home button on the iPhone while plugging in the USB cable. Continue holding
the Home button until you see the connect to iTunes graphic on your iPhone. Dismiss any pop up
message from iTunes.
Go into your Applications folder, then into the Utilities folder and launch the Terminal.app
program. Enter:
Press return and enter:
|
sudo ./loadibec openiboot.img3
|
You will have to enter your system password.
The openiboot menu should display on the iPhone. Use the volume control buttons on the iPhone to
move the selector from the Apple logo to the second menu option: Console. Don't do anything else
yet.
Go back to the Terminal and enter:
Don't do anything else yet.
Timing is critical for this next step or it won't work and you'll have to reboot the iPhone and try
again starting with putting the iPhone back into recovery mode. As soon as you press the Home
button on the iPhone press the enter/return key on your Mac in the Terminal. You may be prompted to
enter your password in the Terminal again.
A text-mode console should start running on your iPhone. It will stop when you see the "WELCOME TO
OPENIBOOT" message.
If you receive this message instead: "Client connected: !< filename>[@<address>] to send a file, ~<filename>[@<address>]:<len> to receive a file-----" then
you know you didn't get it right.
Then enter:
|
nor_read 0x09000000 0x0 1048576
|
Press return. Wait for it to say Done. Then enter:
|
~norbackup.bin@0x09000000:1048576
|
Press return and a file will appear in the idroid folder on your dekstop called norbackup.bin. Keep
this file safe.
Should you need to restore the nor, these are the commands you would enter in the
Terminal:
!nordump.bin
nor_write 0x09000000 0x0 0x100000
|
In the Terminal enter:
Then press return.
Text will scroll in the Terminal and on the iPhone. This process may take a few minutes.
When it has finished you'll see: Done with installation!, Refreshed image list, Images installed.
Finally, enter into the Terminal:
Press return and you’ll see the OpeniBoot screen appear on your iPhone. Press the volume down button
on the iPhone to move the selector over the Android logo. Press the Home button. Code will scroll
down the iPhone's screen for a couple minutes.
Eventually the Android text logo will appear, and the operating system will finish loading. To
turn off the iPhone you must press and hold the Power button and the Home button until the screen
turns black.