Building OpenIBoot

From iDroidWiki

Revision as of 22:23, 29 April 2022 by Splatterb0y (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Official Instructions

Using Ubuntu 9.10 32-Bit

  • Get the needed packages
    • sudo apt-get install cmake git-core build-essential gawk texinfo bison flex libreadline-dev libssl-dev libusb-1.0-0-dev libpng12-dev zlib1g-dev libbz2-dev libusb-dev autoconf automake libnewlib-dev
    • sudo apt-get build-dep gcc newlib binutils
  • Fetch xpwn sources using git
  • Fetch iphonelinux sources using git

Using Mac Os X 10.6.3 (Under Construction)

  • Install Macports
    • sudo port selfupdate
    • sudo port install bison texinfo flex automake autoconf libusb git readline libpng cmake
  • Fetch xpwn sources using git
    • git clone http://github.com/planetbeing/xpwn.git
    • Get ibpng-1.2.43
      • Unpack it
        • tar xvzf ./libpng-1.2.43-no-config.tar.gz
      • Copy png.h to /usr/include
        • cp -v ./libpng-1.2.43/png.h /usr/include
      • Build and install it
        • cd ./libpng-1.2.43
        • sudo cp ./scripts/makefile.darwin ./Makefile
        • make && sudo make install
    • cd xpwn
    • mkdir build-dir
    • cd build-dir
    • cmake ..
    • make
Personal tools