Top Posts

Jailbreak iPod Touch - Learn how to jailbreak an iPod Touch & iPhone

Jailbreak iPad - Learn how to jailbreak an iPad Touch

Important Jailbreak Solutions - Getting an error or need to restore your iPod Touch check this post.

How to Use SSH - Learn how you can use SSH with your iPod Touch

Favorites



May
12

Android on the iPhone 2g tutorial

Author : rooster


The Android community is growing and the OS is improving greatly. Naturally, somebody thought it would be a great idea to run Android on their iPhone. Its still a bit unstable but if you want to test it you, here is very simple and therefore justifiably long tutorial provided by android-a-lot.

DISCLAIMER: Do this at your own risk

Downloads

Here’s a bunch of stuff that you’ll need before you start:

  1. IMPORTANT! Jailbroken iPhone 2G only!!!!
  2. VirtualBox Get the right version Windows/Mac
  3. VirtualBox Ubuntu Image.  Download number 10, Ubuntu Linux 9.10 codename Karmic Koalax86
  4. iPhone Explorer.
  5. Android images and sources
  6. Patched images.

Preparation

Let’s get some of the basics out of the way:

  1. Open Task Manager
  2. Kill the iTunes Helper process
  3. Install iPhone Explorer
  4. Connect your iPhone to your Mac/PC
  5. Run iPhone Explorer
  6. Click the Change Root button
  7. Select “/” Real iPhone Root Directory
  8. Browse to private/var
  9. Copy ramdisk.img, userdata.img, cache.img and zImage from Downloads#5 (Android images and sources) to that var directory
  10. Copy system.img and android.img.gz from Downloads#6 (patched images) to the that var directory
  11. That’s all the Android files on your iPhone, now to make them run!

Setting Up Virtual Box

  1. Install VirtualBox
  2. Open VirtualBox
  3. Go on File > Virtual Media Manager
  4. Make sure Hard Disks is selected
  5. Click Add
  6. Locate the ubuntu-9.10.vdi file (download#3) and select it
  7. Close Virtual Media Manager
  8. Go on Machine > New
  9. Click Next
  10. Under Name enter “Ubuntu”
  11. Select Linux Operating System
  12. Select Ubuntu Version
  13. Click Next
  14. Set an amount of RAM, the default should be fine
  15. Click Next
  16. Select “Use existing hard disk”
  17. Select the ubuntu-9.10.vdi
  18. Click Next
  19. Click Finish
  20. Select that new machine to start up Ubuntu
  21. The password to login is: reverse

Setting Up Ubuntu

Almost there – if this feels a bit long, just consider how short and simple each step is!

  1. Click System (top bar) > Administration > Synaptic Package Manager
  2. Enter the password: reverse
  3. In the quicksearch box, type libusb-1.0, click the Check Box next to libusb-1.0-0 and select Mark for installation
  4. In the quicksearch box, type libreadline, click the Check Box next to libreadline5 and select Mark for installtion
  5. Click Apply
  6. When it’s all installed close the Package Manager
  7. Open Firefox (in Ubuntu)
  8. Download openiboot installer from here
  9. Click Places (top bar) > Downloads
  10. Right-click openiboot.zip and click Extract Here
  11. Click Applications (top bar) > Accessories > Terminal
  12. Without the quotes, type ‘cd Downloads/openiboot’
  13. Restart your iPhone in Recovery Mode (power off, hold down Home button, connect to USB cable)

Getting Android Working!

Well done on getting this far! This is where the fun beings (credits to WinX Blog for these instructions –link)

  1. In VirtualBox, the Ubuntu Window, go on Devices > USB Devices and select iPhone (Recovery Mode)
  2. In the terminal type (without quotes): ’sudo su’
  3. Enter the password: reverse
  4. In the terminal type ./loadibec openiboot.img3
  5. You’ll see the OpeniBoot screen appear on your iPhone
  6. Hold down the power button a couple of seconds (iPhone)
  7. The bottom option, openiboot console, will become selected
  8. Press Home (iPhone).  You’ll see a bunch of text appear and stop at “Welcome to openiboot”
  9. In VirtualBox, the Ubuntu Window, go on Devices > USB Devices and select iPhone (OpeniBoot Mode)
  10. In terminal type su ./oibc
  11. Enter the password: reverse
  12. If this doesn’t work just type: ./oibc
  13. You’ll see the same text from the iPhone in the Terminal
  14. Type (without quotes) ‘nor_read 0×09000000 0×0 1048576? and press Enter
  15. Wait for it to say Done
  16. Type (without quotes) ‘~norbackup.dump:1048576?
  17. This creates a backup of your NOR memory – save a copy on USB stick, or email it to yourself or something
  18. Type install, press Enter.  When this is done you’ve got openiboot installed on your iPhone.  You’re done!

Finishing Off

What you’ve achieved up til now is Android files on your iPhone, and then installing openiboot so that you have an option to start iPhone OS or Android when you turn on your phone.  Openiboot was necessary because that’s the only way right now that you can boot into Android.  Here’s how to finish off and get into Android:

  1. If you still have Terminal open with the oibc still running, just type ‘reboot’, press Enter and skip to step 3
  2. If you don’t have Terminal open, disconnect your phone, turn it off and back on
  3. When openiboot appears press Power button to switch to openiboot console (bottom option)
  4. Hold down the Home button
  5. Android will start to boot, but it might take a while

Thanks to:
planetbeing – the man who did all the hard work!
WinXBlog – guide for getting openiboot running
Geekoid
– for the system images
and a huge thanks to Superhero

rooster

Share This

Get a Trackback link

9 Comments

  1. sandifop, May 16, 2010:

    I’ll wait for the movie.

  2. Tyler, May 18, 2010:

    This is so cool! My friend has a Droid and I have an iPhone and he brags that his phone has a more stable OS and that it has cooler apps and he doesn’t have to jailbreak to run 3rd party apps so now that i can do this, I will be able to run even better apps than him!!!

  3. Karan, May 22, 2010:

    hey wil this work on ipod 2g 3.1.2
    done evrythin til
    In the terminal type ./loadibec openiboot.img3
    nthin cums up in ipod
    plz help

  4. Richard, May 23, 2010:

    @Karan
    http://winxblog.com/iphonelinux-mac.zip copy and paste that into your browser on linux. Download the file, copy all of them img3 files over to the openiboot directory. instead of “./loadibec openiboot.img3″ type “./loadibec openiboot-ipod.img3″. I had to have my ipod touch jailbroken with blackra1n in order for this to work. It would not work with a 3.1.2 redsn0w jailbreak. Thats the point that I am at now, I can get ./oibc to work correctly. if you can please please please let me know how.

  5. Fei, May 27, 2010:

    does this work for Itouch 2g?

  6. Mark, June 19, 2010:

    Can i run this on my ipod touch 2g on 3.1.3 jailbroken? If i can then will i b able to turn it back how it was before i hav android on my ipod touch. And will all my music, games, apps, and file/infos still be in my ipod once i did all this?

  7. kalvindale, July 3, 2010:

    The initiative taken for the concern is very serious and need an attention of every one. This is the concern which exists in the society and needs to be eliminated from the society as soon as
    possible.
    =====================================
    Travel Help

  8. mateo, October 23, 2010:

    The last link is broken !
    Can you upload another please.

  9. Alex, November 14, 2010:

    please reupload the 2 last links:Android images and sources, Patched images.
    PLEASE

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Close
E-mail It