Ultimate Blog for Android Phone Owners
HOW TO: Install Android On An iPhone 2G
I’ve written up a tutorial for anyone to install Android on their iPhone 2G. It’s quite long, but only because it’s so simple and each step has been broken down to almost every click just so it’s easy for a total beginner to try this out!
Disclaimer
I take no responsibility for any damage you might cause to your phone by following this guide. Whether it gets bricked, blocked or eventually thrown out of the window, I can’t be held responsible. Use this guide at your own risk. Thanks!
Introduction
Today’s hype has all been about Android on an iPhone. As soon as I heard I knew what I’d be doing after work. Anyway, I’ve finally managed to get Android working and thought I’d write up a clear tutorial for anyone who wants to do it. Remember, I did this all on a Mac, but it should be possible on Windows or Linux too. Windows users just get the Windows version of VirtualBox.
The end result is far from a fully working Android system. It’s Android 1.6 with basic features – calls, texts, WiFi but no camera and probably a few Force Closes. It’s easy to upgrade Android versions once you’ve managed to get to the end of this tutorial so there’s no harm in getting the hard part out of the way now!
Downloads
Here’s a bunch of stuff that you’ll need before you start:
- IMPORTANT! Jailbroken iPhone 2G
- VirtualBox (link). Get the right version Windows/Mac
- VirtualBox Ubuntu Image (link). Download number 10, Ubuntu Linux 9.10 codename Karmic Koala x86
- iPhone Explorer (link). If you’re on Linux you can use FTP such as FileZilla instead.
- Android images and sources (link)
- Patched images (link). Courtesy of Geekoid.
Preparation
Let’s get some of the basics out of the way:
- Open Task Manager
- Kill the iTunes Helper process
- Install iPhone Explorer
- Connect your iPhone to your Mac/PC
- Run iPhone Explorer
- Click the Change Root button
- Select “/” Real iPhone Root Directory
- Browse to private/var
- Copy ramdisk.img, userdata.img, cache.img and zImage from Downloads#5 (Android images and sources) to that var directory
- Copy system.img and android.img.gz from Downloads#6 (patched images) to the that var directory
- That’s all the Android files on your iPhone, now to make them run!
Setting Up Virtual Box
- Install VirtualBox
- Open VirtualBox
- Go on File > Virtual Media Manager
- Make sure Hard Disks is selected
- Click Add
- Locate the ubuntu-9.10.vdi file (download#3) and select it
- Close Virtual Media Manager
- Go on Machine > New
- Click Next
- Under Name enter “Ubuntu”
- Select Linux Operating System
- Select Ubuntu Version
- Click Next
- Set an amount of RAM, the default should be fine
- Click Next
- Select “Use existing hard disk”
- Select the ubuntu-9.10.vdi
- Click Next
- Click Finish
- Select that new machine to start up Ubuntu
- 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!
- Click System (top bar) > Administration > Synaptic Package Manager
- Enter the password: reverse
- In the quicksearch box, type libusb-1.0, click the Check Box next to libusb-1.0-0 and select Mark for installation
- In the quicksearch box, type libreadline, click the Check Box next to libreadline5 and select Mark for installtion
- Click Apply
- When it’s all installed close the Package Manager
- Open Firefox (in Ubuntu)
- Download openiboot installer from here
- Click Places (top bar) > Downloads
- Right-click openiboot.zip and click Extract Here
- Click Applications (top bar) > Accessories > Terminal
- Without the quotes, type ‘cd Downloads/openiboot’
- 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)
- In VirtualBox, the Ubuntu Window, go on Devices > USB Devices and select iPhone (Recovery Mode)
- In the terminal type (without quotes): ’sudo su’
- Enter the password: reverse
- In the terminal type ./loadibec openiboot.img3
- You’ll see the OpeniBoot screen appear on your iPhone
- Hold down the power button a couple of seconds (iPhone)
- The bottom option, openiboot console, will become selected
- Press Home (iPhone). You’ll see a bunch of text appear and stop at “Welcome to openiboot”
- In VirtualBox, the Ubuntu Window, go on Devices > USB Devices and select iPhone (OpeniBoot Mode)
- In terminal type su ./oibc
- Enter the password: reverse
- If this doesn’t work just type: ./oibc
- You’ll see the same text from the iPhone in the Terminal
- Type (without quotes) ‘nor_read 0×09000000 0×0 1048576′ and press Enter
- Wait for it to say Done
- Type (without quotes) ‘~norbackup.dump:1048576′
- This creates a backup of your NOR memory – save a copy on USB stick, or email it to yourself or something
- 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:
- If you still have Terminal open with the oibc still running, just type ‘reboot’, press Enter and skip to step 3
- If you don’t have Terminal open, disconnect your phone, turn it off and back on
- When openiboot appears press Power button to switch to openiboot console (bottom option)
- Hold down the Home button
- Android will start to boot, but it might take a while
Good Night
I think this guide is plenty enough to help you get Android on your iPhone. As mentioned, it’s not the full OS yet, but hopefully we’ll see a lot more devs contributing and a lot of advancement of this project. It’s gotten quite late and I woke up really early so I’m heading off to bed. Feel free to mention any issues in the comments and I’ll try to help out tomorrow. I’ll also get some screenshots and videos up tomorrow too!
Credits
planetbeing – the man who did all the hard work!
WinXBlog – guide for getting openiboot running
Geekoid – for the full system images
marco79 for FAQs 3-6
The entire Android and iPhone dev communities, making all this stuff a reality!
Anyone I missed? Sorry if I have but feel free to tell me. I don’t want any credit for other peoples work.
FAQ
- My iPhone is bricked now, how do I fix it? Use the steps in the Bricked Phones section below to make your brick work
- It gets stuck at the baseband message? You’re probably using WinSCP for the file transfer. Use FileZilla instead and everything should work. Thanks Siddharth
- Problem: I cannot boot a second time into Android after succesful installation. It stops with “Welcome to iboot” console.
Solution: When selecting the os in the openiboot screen (Apple or Android), DON’T just single click the home button but keep it pushed for about 3 seconds! - Problem: I can’t add the downloaded ubuntu image to virtual media manager in VirtualBox
Solution: You have to unzip the archive. The extension “7z” means that it is a compressed (kind of) Zip file. Use any “7zip” capable unarchiver, i.e. Winrar, 7zip, BetterZip etc. - Problem: When i type ‘nor_read 0×09000000 0×0 1048576′ and press Enter the iphone reboots
Solution: Don’t copy and paste the string, type it by yourself! - Problem: In terminal, when running command ’su ./oibc’, I cannot type the password
Solution: Yes you can, you just won’t see it (no cursor). Just type it blind (and welcome to Linux shell btw).
Thanks to marco79 for FAQs 3-6!
Bricked Phones!
- If your iPhone appears bricked do a DFU restore, using these instructions:
1. Connect your iPhone to your computer.
2. Turn iPhone off.
3. Hold power and home together for 10 seconds (exactly).
4. Release power but keep holding home until the computers beeps (observed on a PC) as a USB device is recognized.
5. A few seconds later iTunes should detect your iPhone.
6. If the Restore Logo is present on the screen, you are in Recovery Mode, not DFU. - My iPhone is still bricked! Don’t worry it’s still not fully bricked. Just retry the above DFU steps every 5 minutes or so. People have reported that it can take up to an hour or two before the iPhone enters DFU mode
- Still bricked, are you taking the mick? Nope, no mick taking. Connect your iPhone to the mains wall charger. Hold down the power key for at least 10 seconds. Nothing will happen. Take it off the charger and connect to PC using the steps in #1. You should now be in DFU mode.
- OMG. Still no luck! Try these steps:
This trick worked under the windows XP.You need install LibUsb-Win32 drives on your PC.
1) Connect your iphone to the PC.
2) Hold Sleep(Power) button and Home button for 10 sec(exactly).
3)Holding the home button and leave power.
4)After few seconds you PC will recognize the usb drivers and itunes will detect the you iphone in restore mode.
Thanks to Macin for that!
Updates
Update 1 (23/04/10 11:05GMT): Added extra step to download fixed openiboot.img3 file in Setting Up Ubuntu section. Thanks to planetbeing
Update 2 (23/04/10 15:26GMT): Merged updated openiboot.img3 with the openiboot.zip download. Should work on all 2G’s now, regardless of jailbreak method.
Update 3 (23/04/10 21:17GMT): Updated Getting Android Working, step to get correct superuser permissions before attempting to write openiboot. Thanks blazter2k
Update 4 (26/04/10 12:13GMT): Reuploaded files for step 5 to multiupload (link)
| Print article | This entry was posted by Superhero on April 23, 2010 at 12:18 am, and is filed under Modding, News, Tutorials. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
- Cara Instal android ke sebuah iPhone 2G | Tarikkabel.Com
- Guides to setting up USB host mode on android phones – Android Phones Review
- Boloms Blog » Google vient concurrencer FaceTime
- occupy seattle
- iphone text alert sounds
- android|application android|android firmware|android game|android os|android upgrade
- droid 4
- android update
- debit card processing news
- VIDEO: How to install Android on iPhone | DroidZeus
- Linux Video Tutorials
- how to download video from facebook
- fb credits generator
- Free Facebook App And Viral App
- Scooter Website
- sparkles ugg
- Temple Run cheats
- Great article. Thanks for sharing!
about 4 months ago
Wow, what a nice and informative article. Keep up the good function.
about 4 months ago
I’ve got examine some really good information right here. Worth bookmarking for revisiting. I wonder the amount of effort you’d put to produce such a impressive beneficial site.
about 4 months ago
its awesome..will be testing this after my project work…gotta go finish it up for now..
thnx to everyone who did work this out…
about 4 months ago
Heya i am for the primary time here. I came across this board and I to find It truly useful & it helped me out much. I hope to give something back and help others such as you helped me.
about 4 months ago
Hey this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience. Any help would be greatly appreciated!
about 4 months ago
Howdy our family simply love your gorgeous blog thanks and please keep on it
about 4 months ago
One thing is that one of the most prevalent incentives for making use of your card is a cash-back or maybe rebate offer. Generally, you get 1-5% back upon various expenditures. Depending on the cards, you may get 1% in return on most expenditures, and 5% in return on purchases made going to convenience stores, filling stations, grocery stores and ‘member merchants’.
about 4 months ago
An impressive share, I just given this onto a colleague who was doing just a little evaluation on this. And he the truth is bought me breakfast because I found it for him.. smile. So let me reword that: Thnx for the deal with! But yeah Thnkx for spending the time to discuss this, I really feel strongly about it and love studying extra on this topic. If doable, as you become experience, would you mind updating your blog with more details? It is highly helpful for me. Big thumb up for this blog submit!
about 3 months ago
Absolutely composed content, Really enjoyed studying.
about 3 months ago
I need help.
I move some files to the sd folder using ifile after i move those file my iphone 2g wont start up it will just stay on the apple logo but nothing will happen. I try putting it in dfu mode but it wont let me it will just come back to openiboot. also my computer or itunes wont detec my iphone root. what can i do??
about 3 months ago
The links for the patch files is dead any other way to get these or a reup of files?
about 3 months ago
Delighted for you to discovered this internet site write-up, My group is shopping far more often than not regarding this. This can be at this moment definitely what I are already seeking and I own book-marked this specific website online far too, I’ll often be keep returning soon enough to appear at on your exclusive blog post.
about 2 months ago
I discovered your blog site on google and check several of your early posts. Continue to keep the very good operate. I just additional up your Feed to my MSN Reports Reader. Seeking forward to looking at more from you afterwards! ….
about 2 months ago
I really like your post hope to read more from you.
Regard,
Epoyjun
about 1 month ago
I’ve been looking for this post a weeks ago because of the facts information are in here and also it really helps me when it comes to my research it makes my work fast and easy. It also added to my vocabulary some of the words and opinions by other viewers which I really treasured and keep in mind what they have commented.
about 1 month ago
qOayJfgIa cheap uggs jGbaTutVj http://www.wesellenid.com
about 3 weeks ago
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how can we communicate?