Thursday 22 April 2010

Step by step tutorial on how to install Google's Android on the Apple iPhone 2G (aka iDroid) using Windows and Linux.

Tutorial up to date as of 09/05/2010.



IF YOUR IPHONE COMPLETELY STOPS RESPONDING AND WON'T TURN ON AT ANY POINT, DON'T WORRY.PLUG IT INTO THE USB PORT, HOLD POWER AND HOME FOR EXACTLY 10 SECONDS, THEN RELEASE THE POWER BUTTON AND CONTINUE HOLDING THE HOME BUTTON. THEN RESTORE!!

Thanks to http://linuxoniphone.blogspot.com for discovering this! Please donate to them if it works for you! I am currently writing this to make it as user friendly as possible.

THIS IS HIGHLY EXPERIMENTAL AND FOR THE 2G ONLY, PROCEED AT OWN RISK BLAH BLAH BLAH.

1) Download this package

http://www.mediafire.com/?gw5zojvnnhz

If anyone can host a mirror, please twitter me and I will add a link here! Thanks

Whilst you are downloading, Set an Ubuntu LIVE CD to download too:

http://www.ubuntu.com/getubuntu/download

Extract the iPhone.zip folder to the desktop.

2) Jailbreak your iPhone, I will write a tutorial for this another time, for now just Google it. If you have software version 3.1.3 then check out my other tutorial: http://masseymasseymassey.blogspot.com/2010/04/how-to-jailbreak-iphone-3g-313-firmware.html

3) From your iPhone, open Cydia and install OpenSHH and BossPrefs. Turn all the BossPrefs options on. OpenSHH won't add an icon, don't worry. After this go into the iPhone settings - General- Auto Lock. Set Auto Lock to Never. Connect to your home WiFi and note the IP address by clicking the small arrow next to the network name on the iPhone.





4) Download Filezilla on your PC. Open it and click on File - Site Manager. Create a new site and make sure you have sftp: selected. Type your iPhone IP address and the username "root", password is "alpine".

5) Transfer the contents of "Put on iPhone" to the /private/var directory on your iPhone using Filezilla. This will take ages so go and grab a beer or something.



6) Boot up an Ubuntu LIVE CD. Make sure you have libusb-1.0-0 installed - You will have a later version installed so you need to uninstall it and then reinstall version 1.0-0. To do this use the System - Admin - Package Manager tool. Whilst you are there install "libreadline5" too.

7) Put your iPhone into restore mode. To do this you first need to unplug it and turn it off. Hold the home button and plug it back into the USB port. Continue holding the home button until you see a picture of a USB cable and the iTunes symbol on screen.

8)copy "loadibec" "openiboot.img3" and "oibc" from the other folder in the zip to your "home folder" in linux. Open a command prompt.

9)
-) sudo su
-) sudo ./loadibec openiboot.img3
-) Tap power button to select iBoot.


-) Push Home button
-) Type "sudo ./oibc" into the terminal
-) Type "install"
-) Type "reboot" once the install has finished!
-) Once you see the bootloader, hold the home button for more than 2 seconds to boot Android.

Once booted, if you are using WiFi change your DNS settings to:
Primary: 8.8.8.8
Secondary: 8.8.4.4



If you just tap the home button then it will go back into the linux loader. To get out of this type ./oibc again and then type reboot.





Errors:

If you get "./loadibec: error while loading shared libraries: libusb-1.0.so.0:" then go into the linux package manager and install libusb 1.0

If you get "./oibc: error while loading shared libraries: libreadline.so.5" then again go into the limux package manager and install libreadline 5

Wednesday 21 April 2010

How to Jailbreak iPhone 3G 3.1.3 Firmware - 100% working and tested!

1) Download and install the newest version of iTunes.

2) Download Sn0wbreeze-V1.5.2 from http://ih8sn0w.com/

3) Download iPhone1,2_3.1.3_7E18_Restore.ipsw or find it by searching on your computer.

4) Download iREB from http://ih8sn0w.com/

4) Open Sn0wbreeze, load up the firmware and click simple mode. Click yes you want to activate if want to unlock the phone to all networks.

5) A new file will appear on your desktop called sn0wbreeze_iPhone 3G.ipsw.

6) Plug your iPhone in and open iREB. Put your phone into DFU mode - see here if you don't know how http://www.iclarified.com/entry/index.php?enid=1034 once its in DFU mode click on iPhone 3G. The iPhone screen should turn white after around 60 seconds. Be patient.

7) Open iTunes and it will tell you that your iPhone is in restore mode. Hold down shift and navigate to the desktop, select sn0wbreeze_iPhone 3G.ipsw and then let it restore. It took about 10 minutes for mine to restore which is far longer than any update I have ever done but again be patient, it definitely works!

8) Enjoy, Twitter me to let me know if it worked! http://twitter.com/masseyadam