[How To] Compile and Install Openiboot on IPAD 1G

Discussion in 'Android and Linux on iDevices' started by tankpier222, Nov 17, 2010.

?

Whos that crazy guy destroying the world its

Poll closed Dec 2, 2010.
ZORK and Pals 2 vote(s) 66.7%
Yugi 1 vote(s) 33.3%
  1. tankpier222 Member

    Member Since:
    May 27, 2010
    Message Count:
    111
    Device:
    iPad 3
    [Guide] Openiboot iPad 1G


    THREAD IS OPEN. OPEN THE FLOODGATES WATTSON
    Version 2.0, YAY WITH OVER 500 VIEWS.. THANKS ALL
    Version 2.2, 1000 Views :)
    Version 3.0, ITS OVER 2000 !!!!

    RTFS (read the f**king sticky) B4 POSTING ANOTHER "Android on XX iDevice" or "When is android going to be on xx iDevice?"
    (Saphiresurf) - Read this before posting


    First YOU HAVE TO MAKE A SEPERATE PARTITION FOR UBUNTU OR IT WILL KICK THE IDEVICE ON
    AND WILL NOT SUCCESSFULLY LOAD THE POIS0N (optional but not optional, this worked better for me than using virtualbox)

    WARNING: I AM NOT LIABLE IF ANYTHING HAPPENS TO YOUR IPAD.. THIS IS YOUR DECISION IF YOU WANT TO SEE
    OPENIBOOT. THIS OPENIBOOT IN NO WAY IS COMPLETE!!!

    Now with the theatrics out of the way, here’s the guide
    First you have to get the dependencies
    Code:
    sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libreadline6-dev readline-common libreadline6 libreadline-dev texinfo cmake git-core build-essential texinfo libreadline-dev libssl-dev libusb-1.0-0-dev libpng12-dev libusb-dev zlib1g-dev libcurl4-openssl-dev 
    Next you have to git the openiboot source code
    Code:
    sudo git clone git://github.com/Bluerise/openiBoot --recursive 
    optional, this may work better and it is quicker(Hexxeh):
    Code:
    sudo git clone git://github.com/Bluerise/openiBoot --recursive && cd openiBoot/openiboot && PLATFORM=IPAD make && PLATFORM=IPAD make install
    Next cd out of utils and issue this command
    Code:
    sudo rm /usr/local/bin/arm-elf-cc
    sudo toolchain/build-toolchain.sh make
    Building the toolchain may take a while so go get a coffee or take a shower :)

    if you get what this source code is saying up it to this thread so i can incorporate it within the guide
    Code:
     [URL]http://pastebin.com/TT2uesPa[/URL]
    cd to openiboot and type
    Code:
    scons iPad1G
    cd to utils/oibc and type
    Code:
    sudo make
    cd to utils/syringe and type
    Code:
    sudo make
    copy the ipad_1g_openiboot.img3 file to where your openiBoot folder is stored /utils/syringe/utilities/iPad_1g_openiboot.img3

    NOTE: For the 3GS, iPhone4 and iPad, you must put your device
    into DFU mode instead.

    now cd to utils/syringe/utilities and type
    Code:
    sudo make
    with the makes done type
    Code:
    sudo ./loadibec ipad_1g_openiboot.img3 and let it do its job
    
    you should be able to see the openiboot menu but this is for demo purposes only
    
    If you want to still use your iPad just restart it by holding in the home+sleep button until the text disappears
    and hold the sleep button in
     
    [B][U][COLOR=red]WARNING AGAIN: I AM NOT LIABLE IF ANYTHING HAPPENS TO YOUR IPAD. THIS IS YOUR DECISION[/COLOR][/U][/B]
    [U][B][COLOR=red]IF YOU WANT TO SEE OPENIBOOT. THIS OPENIBOOT IN NO WAY IS COMPLETE!!![/COLOR][/B][/U]
     
    Have a nice day
    If you want any real information go to 
    [code][URL="http://outgoing.ifans.com/?d=aHR0cDovL3R3aXR0ZXIuY29tL2JsdWVyaXNFTg%7E%7E"]@BlueisEN[/URL]
    v1.0 make ipad walkthrough for openiboot
    v1.1 copied warning to top of the guide
    v1.2 added pictures to steps and also to provide proof like in hexxeh's video
    http://i1237.photobucket.com/albums/ff467/iron_man991/SAM_0007.jpg
    http://i1237.photobucket.com/albums/ff467/iron_man991/SAM_0006.jpg
    Code:
    [URL="http://outgoing.ifans.com/?d=aHR0cDovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PVVJaXhVWWFMdWZv"]http://www.youtube.com/watch?v=UIixUYaLufo[/URL]
    V1.3 added opinion quote in the first sentence :) and ran spellcheck in word : 1.40am Eastern
    v1.4 thanks to Hexxeh, saphiresurf p.s. congrats on stickied thread, iMaztrr's thread, freedeerkgeek8's thread,
    R&S's script(which i recompiled and based this guide off), oops_ur_dead and everyone on ipodtouchforums!
    v1.5 fixed some of the guide based on Hexxeh's comment in iMaztrr's thread
    v1.6 fixed recurrsive flag in git clone
    v1.7 added quicker build for openiboot (hexxeh)
    v1.8 changed x32_86 to x86 (R&S)
    v1.9 removed pictures to resize thread to fit flush with the thread
    v2.0 YAY .. Added links to pictures in the revisions section
    v2.1 Added a couple sudo's to a couple commands
    v2.3 Added read this f**king sticky
    v2.4 Changed read this to read the
    v2.5 Major Change git repositories to https://github.com/iDroid-Project/openiBoot from pm(saphiresurf)
    v2.6 Major update after some info from saphiresurf hopefully
    v2.7 Hopefully can compile openiboot.img3 to see graphical openiboot
    v2.8 Used resources from bluerises git repository Bluerises openiboot GIT Repo
    v2.9 changed the name of the guide
    v3.0 Major Revision to the Guide :) and added lame internet reference
  2. freemini Active Member

    Member Since:
    Sep 11, 2008
    Message Count:
    1,666
    Device:
    iPhone 5 (Black)
    too bad it doesn't do anything yet.. I can't wait for it to actually boot android, I mean even without optimization it would still be fast(1GHz CPU)...
  3. moshonas Member

    Member Since:
    Feb 15, 2009
    Message Count:
    344
    Device:
    iPhone 5 (White)
    you just have to wait for a port :p
    They are working on it though. Hopefully they can make it work with BootLace.
  4. tankpier222 Member

    Member Since:
    May 27, 2010
    Message Count:
    111
    Device:
    iPad 3
    its going to be a real looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong time before it works with bootlace
  5. comet Well-Known Member

    Member Since:
    Oct 18, 2010
    Message Count:
    3,177
    Device:
    iPhone 3GS (Black)
    Doesn't work.
  6. Saphiresurf Member

    Member Since:
    Sep 9, 2009
    Message Count:
    654
    Device:
    iPhone 4 (Black)
    tankpier222, It's Saphiresurf by the way ;P and good job on the guide :D
  7. R&S Member

    Member Since:
    Mar 14, 2009
    Message Count:
    315
    Device:
    4G iPod touch
    @tankpier222:

    There is nothing called x32_86, it's either x86 (32 bit) or x86_64 (64 bit) :)
  8. GazaIan Well-Known Member

    Member Since:
    May 19, 2010
    Message Count:
    5,834
    Device:
    iPad 2 (White)
    Out of curiosity, is this a userland install of openiBoot? or is it using another exploit?
  9. Saphiresurf Member

    Member Since:
    Sep 9, 2009
    Message Count:
    654
    Device:
    iPhone 4 (Black)
    It's using a stack overflow.
  10. tankpier222 Member

    Member Since:
    May 27, 2010
    Message Count:
    111
    Device:
    iPad 3
    @GazaIan
    nvm saphiresurf already answered