[GUIDE]Installing OpeniBoot and Android on your iDevice

Discussion in 'iPhone, iPod & iPad' started by Emeraldturf, Sep 12, 2010.

Thread Status:
Not open for further replies.
  1. Emeraldturf
    OP

    Newcomer Emeraldturf Newbie

    Joined:
    Sep 12, 2010
    Messages:
    2
    Country:
    United States
    Heres a guide to installing Jaywalker's OpeniBoot for iPod Touch 2g. This program is still Alpha so dont expect to much. I also prefer that you have backed up your iPod Touch and have nothing you wouldnt mind losing on it (A.K.A you might have to restore if you mess up or something) Ok so lets start.

    Compatible iDevices:
    iPad: Wait till bootrom exploit SHatter is released and OpeniBoot and android are ported
    iPhone 4: Same as iPad
    iPhone 3gs (newer bootrom): Same as iPad
    iPhone 3gs (Older Bootrom): Wait for OpeniBoot and android to be ported
    iPhone 3g: Works. Android's missing GPU driver.
    iPhone 2g: Compatible
    iPod Touch 4: Same as iPad
    iPod Touch 3g/2g MC: Same as iPad
    iPod Touch 2g: OpeniBoot is a porting in progress
    iPod Touch 1g: Compatible




    Requirements:
    -A Jailbroken compatible iDevice (has to be with redsn0w or pwnagetool or blackra1n)
    -Linux Ubuntu (prefereblly 10.04 LTS 32-bit)
    -Willingness to restore your iPod
    -A PC
    -An iPod USB Cable

    Preparation:
    Install all the tools needed:
    Code:
    sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libreadline6-dev readline-common libreadline6 libreadline-dev texinfo
    Log in as root:
    Code:
    sudo -s
    Then enter in your computer password


    Mounting, Compiling, and Installing

    1. First we want to mount the git repository.

    Code:
    git clone git://github.com/planetbeing/iphonelinux.git
    1(extra). If you want to try out Jaywalker and kleemajo's iPod Touch 2g port (it's very alpha so it doesnt work completely yet) Then use this git instead.
    Code:
    git clone git://github.com/kleemajo/iphonelinux.git
    1a. Then mount the directory
    Code:
    cd iphonelinux/
    2. Build the toolchain
    2a.
    Code:
    sudo toolchain/build-toolchain.sh make
    2b. Enter in your password to log into root and wait a while for the toolchain to compile
    2c. If your having problems with building newlib then try this:
    Code:
    sudo rm /usr/local/bin/arm-elf-cc
    3.Build
    3a. Change Directory
    Code:
    cd openiboot
    3b.Build OpeniBoot
    For iPod Touch 1g type:
    Code:
    PLATFORM=IPOD make openiboot.img3
    For iPhone 2g type:
    Code:
    PLATFORM=IPHONE make openiboot.img3
    For iPhone 3g type:
    Code:
    PLATFORM=3G make openiboot.img3
    3c. If your using kleemajo or Jaywalkers repo then enter this instead
    Code:
    PLATFORM=IPOD2G make openiboot.img3
    4. Compile all in client
    Code:
    cd client && make all && cd ..
    4a.
    Code:
    sudo client/loadibec openiboot.img3
    5. Run the client
    Code:
    sudo client/oibc
    6. Your done!

    ----------------------------------------------------------------------------------

    Updating an existing installation (Can't be done if your using kleemajo or Jaywalkers repo yet):

    1. Pull the new code from Git: (“git pull” if you already downloaded the code using Git)

    2. Compile openiboot, but this time you don’t have to make an img3 image:
    For iPod Touch 1g type:
    Code:
    PLATFORM=IPOD make openiboot.img3
    For iPhone 2g type:
    Code:
    PLATFORM=IPHONE make openiboot.img3
    For iPhone 3g type:
    Code:
    PLATFORM=3G make openiboot.img3
    If your using kleemajo or Jaywalkers repo:
    Code:
    PLATFORM=IPOD2G make
    3. Compile all in client/:

    Code:
    cd client && make all && cd ..
    (requires libusb, libreadline and pthread)

    4. Launch openiboot, using the menu on the device

    5. Run the client:

    Code:
    sudo client/oibc
    6. Copy the openiboot binary in the device memory:

    Code:
    !openiboot.bin
    7. Jump to it:

    Code:
    go 0×09000000
    8. Relaunch openiboot console using the menu on the device.

    9. Relaunch the client:

    Code:
    sudo client/oibc
    10. Install the new version:

    Code:
    install
    ----------------------------------------------------------------------------------
    Updates:
    And with that, I'm going to call it a night. Sorry It's not 100% done, but i'll finish that up first thing tomorr...zzzzz.....
    By Jaywalker(9988) via Twitter

    Anyone interested on USB working for openiboot on ipt2g tonight? I'm about to pass out, but if i hear voices screaming out, i'll finish it
    By Jaywalker(9988) via twitter

    "Added a few files that I forgot to in the last commit"
    http://github.com/kleemajo/iphonelinux/commits/
    http://github.com/kleemajo/iphonelinux/
    By kleemajo via Github


    "Updated power_setup for IPOD2G".
    http://github.com/kleemajo/iphonelinux/commits/
    By kleemajo via Github


    GUIDE UPDATE#2: Finally got one of the first daily builds up.
    By Saphiresurf(me) via iPod Touch Fans

    GUIDE UPDATE: Ok where switching to kleemajo's git repository since hes a few commits ahead of Jaywalker
    By Saphiresurf (me) via iPod Touch Fans


    I got interrupts to work for the 2g ipod touch openiboot. See http://github.com/kleemajo/iphonelinux for the source (reboots after 10s).
    By kleemajo via twitter
    ----------------------------------------------------------------------------------
    (Almost) Daily builds:
    9/4/10 http://www.mediafire.com/?vfy4b5gw97bab9y

    8/29/10: http://www.mediafire.com/?6i1u4bjld83e7e6

    ----------------------------------------------------------------------------------
    Readme (For iPod Touch 2g users (kleemajo or Jaywalkers repo):
    iPod Touch 2G Users:

    Please note, this software is extremely alpha and currently only makes the device reboot from C code. This is not a bug, it's a feature. [​IMG]

    Also, for those interested in helping out, here's a TODO for what's remaining (for kleemajo and Jaywalkers repo only. A.K.A for the iPod Touch 2g porting project):

    * Port GPIO driver
    * Verify SPI and NOR work.. They're the same as the iphone2g, so they should.. but just verify it [​IMG]
    * Port LCD Driver (I'll probably have to do this one.. I have some good info already)
    * Verify the DMA driver works (again.. it's the same as the iphone2g)
    * Port the rest - at least we'll have the basic openiboot working by this point [​IMG]

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    For android I dont think I can make a better guide then the one here: http://www.idroidproject.org/wiki/Installi...oid_%28Linux%29. So try it out have fun and feedback is always appreciated!

    Credit's:
    Jaywalker (or Jaywalker 9988)
    Kleemajo
    Planetbeing
    iDroidproject.org
    *if I forget anyone please tell me*
     
  2. metamaster

    Member metamaster GBAtemp Advanced Fan

    Joined:
    Mar 7, 2010
    Messages:
    876
    Country:
    Canada
    [​IMG] this is for people who absolutely know what they are doing. You should probably mention that this can mess up your idevice if done wrong.
     
  3. Joktan

    Member Joktan GBAtemp Advanced Fan

    Joined:
    Apr 5, 2010
    Messages:
    665
    Location:
    In a big mansion...in Rancoon
    Country:
    United States
    Sounds insanly hard.and it Puts the android operating system on it?
     
  4. metamaster

    Member metamaster GBAtemp Advanced Fan

    Joined:
    Mar 7, 2010
    Messages:
    876
    Country:
    Canada
    ^ Yeah. Search that on youtube. But it runs slowly and a lot of stuff aren't implemented.
     
  5. Joktan

    Member Joktan GBAtemp Advanced Fan

    Joined:
    Apr 5, 2010
    Messages:
    665
    Location:
    In a big mansion...in Rancoon
    Country:
    United States
    If this ever gets to full speed on let's say a iPod 3G would you be able to use android apps?
     
  6. Dter ic

    Member Dter ic ~

    Joined:
    Feb 19, 2009
    Messages:
    1,757
    Country:
    United Kingdom
    ugh, man tried installing and in the end, i can't find the market, hoping of getting flash [​IMG]
     
  7. Joktan

    Member Joktan GBAtemp Advanced Fan

    Joined:
    Apr 5, 2010
    Messages:
    665
    Location:
    In a big mansion...in Rancoon
    Country:
    United States
    If ya have a 3G look up frash in the guides here.
     
  8. alidsl

    Member alidsl I am now a lurker

    Joined:
    May 27, 2009
    Messages:
    2,823
    Location:
    Kanto - Pallet Town
    Country:
    United Kingdom
    This topic needs to be locked, ive had permission from emeraldturf and I've put it in my ultimate guide
     
Thread Status:
Not open for further replies.

Share This Page