Android 2.2 OS has been ported to iPhone 3G successfully. We earlier posted full instructions on how to run android 2.2 froyo on your iPhone 3G.
The start is very slow and lasts longer than 2 minutes, and the whole hack in general is very unstable and might take some more time to be stable.
The hacker did posted steps in general to install Android 2.2 Froyo. Follow the steps below:
How to install Android 2.2 Froyo on iPhone 3G OS 3.1.3
Step 1: Jailbreak iPhone 3G running 3.1.3
1) You may use blackra1n or Spirit tool to jailbreak iPhone 3G OS 3.1.3
2) Install OpenSSH through Cydia.
Step 2: Setup LINUX Environment
1) Download the Ubuntu 9.1 image for Virtual Box, codenamed Karmic Koala from here
2) Download VirtualBox from here.
3) Install Virtual Box. Set up a new Virtual Machine using the Wizard, with OS Type Ubuntu and select the image you just downloaded. Let’s start Ubuntu up! The default password is reverse
4) Navigate to System -> Administration -> Synaptic Package Manager and install (or make sure you have installed) libsub-1.0-0, libssl-dev and libreadline6.
Step 3: Load Android Files
1) The images I had most success with were the ones found here.
2) Untar the folder using something like 7-Zip or Winrar.
3) Download and install FileZilla. This apparently is more reliable than WinSCP.
4) Set your iPhone’s auto-lock to “Never” for now.
5) SSH to your iPhone from FileZilla and navigate to your root folder
6) Copy all the files from the images archive folder to /private/var
7) Copy all of the files in this archive to a new folder called “firmware”
Step 4: Load OpeniBoot
1) Download this file (16.7MB) onto your Ubuntu machine and unzip to your Desktop.
2) On your Windows machine, go to Task Manager and disable iTunesHelper.
3) Put your iPhone into Recovery mode by powering the iPhone down, unplugging your iPhone, holding the iPhone Home button while you plug in.
4) Go to your VirtualBox window and select “Devices” from the menu area, then “USB Devices” – you should see “Apple iPhone (Recovery Mode)” available. Select it.
5) Navigate to wherever you unzipped the files like so:
1 cd Desktop
2 cd 3g
3 cd openiBoot
4 sudo ./client/loadibec openiboot.img3
When it asks for
1 [sudo] password for ubuntu:
type in “reverse”
6) At this point your iPhone should flicker and show the OpeniBoot screen.
7) Use the Power button to navigate to the Console logo (the second one) and press the Home button. At the end of some script lines you should see “Welcome to Open iBoot”.
9) Go back to your openiBoot folder using the same steps as #5. Then run:
1 sudo ./client/oibc
Your Terminal should now show what your iPhone displays (something along the lines of “USB change 2-> 3″).
10) Type “install”. Once it says “Images installed”, you’re done. Type “reboot”.
11) Using the Power button, navigate to your Android icon!
You have successfully installed Android 2.2 Froyo on iPhone 3G.