Author Topic: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by Ninn  (Read 1796 times)

Offline Ninn

  • Administrator
  • Member
  • *****
  • Posts: 130
  • Karma: +65535/-1
    • View Profile
I add a patch to openiboot making it possible to boot three operating systems on the iPhone, currently Android 1.6, 2.2 and iOS.
Please know that the support for 2.2sdk is at a absolute minimum, which means there's for example no wifi in Android 2.2 SDK.
I write this assuming you know to and / or already have android installed. If you do not please check out:

Code: [Select]
http://www.idroidproject.org/wiki/Installing_iDroid
if you simply lack firmware please check this, which will supply you with touchdrivers for 2.2 and 1.6 touch/wifi:
Code: [Select]
http://www.idroidproject.org/wiki/Extraction_Technique
Start up gathering the images for the froyo sdk:

Patched OpeniBoot:
precompiled 3G image:
Code: [Select]
http://zesg.net/ninn/openiboot/3G/openiboot.img3

if you're looking for a IPOD or 2g image:

iPod:
Code: [Select]
http://zesg.net/ninn/openiboot/IPOD/openiboot.img3
iPhone 2g
Code: [Select]
http://zesg.net/ninn/openiboot/IPHONE/openiboot.img3
if you're looking  for another device, pleace compile them yourself from my repo:

Code: [Select]
http://github.com/overnine/iphonelinux
Patched Android Froyo (2.2) SDK images:
Code: [Select]
http://www.sendspace.com/file/bxuf2o

Simply extract the zip, upload it to '/private/var'  via ssh as you would with the normal android:
Code: [Select]
scp <image>.img root@<iphoneSSH IP>:/private/var
when you've done that with all the files in the zip log in via ssh and chmod 777:
Code: [Select]
ssh root@<iphoneSSH IP>
<Enter root password, default is alpine>
cd /private/var
scp <image>.img root@<iphoneSSH IP>:/private/var
chmod 777 android2.img.gz ramdisk2.img cache2.img userdata2.img system2.img
exit

now either update or install the openiboot version you downloaded or compiled, if you downloaded mine, find your good old loadibc and oibc:
Code: [Select]
<path to loadibc>/loadibc <path to openiboot>/openiboot.img3>open the console -> load oibc -> type 'install' as you normally would.
if you have troubles understanding this or just want to update from your own complied version of the repo please check out this page: http://http://www.idroidproject.org/wiki/Openiboot_Installation

Video of my 3g with the software:
http://www.youtube.com/watch?v=i-9fHf6Kmzc

Offline Mac.Kalvin

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #1 on: June 11, 2010, 08:53:32 PM »
HI

Do we need to add firmware files into System and Android.img files to work Touch and wifi?

Thanks
Mac

Offline i.android

  • Member
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #2 on: June 11, 2010, 10:28:47 PM »
I wish i could try this! :( but my phone has currently got a broken power button :( (2g iphone) so its really tricky to reformat if it all goes wrong..

Offline Ninn

  • Administrator
  • Member
  • *****
  • Posts: 130
  • Karma: +65535/-1
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #3 on: June 11, 2010, 11:36:18 PM »
Quote from: "Mac.Kalvin"
HI

Do we need to add firmware files into System and Android.img files to work Touch and wifi?

Thanks
Mac

No, as mentioned you need to put the firmware in /private/var/firmware, as any other android installtion :) please check the wiki articles.

Offline Mac.Kalvin

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #4 on: June 11, 2010, 11:44:54 PM »
thx Ninn!

it's great. let me test it  :D

Offline Mac.Kalvin

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #5 on: June 12, 2010, 01:13:11 AM »
how about Kernal file, which one i need to upload? :roll:  lots of files on form.....

Offline Mac.Kalvin

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #6 on: June 12, 2010, 04:30:49 PM »
finally after alex 0.3 kernal touch able to work on my iPhone 2G with Android 2.2.

but No Service.. No Sound... No SD... can any one help me to get service so that i can test and play around with it ?

Offline wdfowty

  • Member
  • Posts: 57
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #7 on: June 13, 2010, 04:42:07 AM »
Quote from: "Mac.Kalvin"
finally after alex 0.3 kernal touch able to work on my iPhone 2G with Android 2.2.

but No Service.. No Sound... No SD... can any one help me to get service so that i can test and play around with it ?

What carrier are you using? I never get service with a t-mo sim.

out of commission: iPhone 2g 8gb[/i]
Macbook Pro OS X 10.6.3 (for sale)

Offline Mac.Kalvin

  • Member
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #8 on: June 13, 2010, 08:10:13 AM »
:D  Good news is now i have service "AirTel India" with fergy kernal but not stable, but i'm able to make and receive call......

Now issue with SD, WiFi and ADB........

Offline wdfowty

  • Member
  • Posts: 57
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #9 on: June 13, 2010, 07:27:33 PM »
Quote from: "Mac.Kalvin"
:D  Good news is now i have service "AirTel India" with fergy kernal but not stable, but i'm able to make and receive call......

Now issue with SD, WiFi and ADB........

well this is to be expected, as this is just a SDK for 2.2. When the official source code is released by google, then we will be seeing fixes for such problems. I'll have to test out fergy's kernel and see what happens.

out of commission: iPhone 2g 8gb[/i]
Macbook Pro OS X 10.6.3 (for sale)

Offline wlt333

  • Member
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #10 on: June 19, 2010, 09:35:05 PM »
how can you have all of the sets of os files, when they have the same name?

Offline Ninn

  • Administrator
  • Member
  • *****
  • Posts: 130
  • Karma: +65535/-1
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #11 on: June 19, 2010, 11:24:23 PM »
by patching the init file

Offline wlt333

  • Member
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #12 on: June 21, 2010, 09:18:06 PM »
so we have to do that our selves, then?

Offline Ninn

  • Administrator
  • Member
  • *****
  • Posts: 130
  • Karma: +65535/-1
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #13 on: June 21, 2010, 09:27:36 PM »
Quote from: "wlt333"
so we have to do that our selves, then?

well i just so happened to have uploaded some images that's already patched :)

Offline wlt333

  • Member
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: Tripple boot: Android 1.6, Android 2.2(SDK) and iOS by N
« Reply #14 on: June 21, 2010, 09:55:03 PM »
oh, thanks.