-
Notifications
You must be signed in to change notification settings - Fork 0
Compiling
- Compiling
Build an ARM toolchain (this only needs to be done once - for subsequent builds this step can be omitted unless there has been a toolchain update):
sudo toolchain/build-toolchain.sh make
Wait, for a long time, as the toolchain is compiled. Note that your temp partition must not be set to noexec, as binutils runs its configure script from the temp directory.
Initialise Submodules
git submodule init
git submodule update
Compile OpeniBoot:
To run openiboot from recovery mode (a.k.a iboot), you’ll need to create an img3 image. To run openiboot from DFU mode, you'll need to create a bin.
You will need a system capable of running x86 Linux binaries (Build requires scons, libssl, libpng, libcurl, libusb, libreadline and pthread).
Change into the openiboot subfolder
For iPod Touch 1G, run:
scons iPodTouch1G
For iPhone 2G, run:
scons iPhone2G
For iPhone 3G, run:
scons iPhone3G
For iPod Touch 2G, run:
scons iPodTouch2G
For iPhone 3GS, run:
scons iPhone3GS
For iPhone 4, run:
scons iPhone4
For iPod Touch 4G, run:
scons iPodTouch4G
For iPad 1G, run:
scons iPad1G
For Apple TV 2G, run:
scons aTV2G
Compile syringe:
cd ../utils/syringe && make && cd ../openiboot
Alternatively a Makefile has been provided in the openiboot subfolder should you prefer to use it this way - this is not covered by this README but is provided for your convenience should you wish to use it
Compile oibc:
cd ../utils/oibc && make && cd ../openiboot