-
Notifications
You must be signed in to change notification settings - Fork 139
Compiling
In this step, you will an ARM toolchain. This only needs to be done once - once it's done, you're good. You won't need to build it again unless the toolchain is updated.
Open up a terminal and run the following commands:
sudo apt-get install texinfo
git clone git://github.com/iDroid-Project/OpeniBoot-Toolchain.git
cd OpeniBoot-Toolchain
sudo bash 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. If you don't know what that means, you're probably okay.
##Download OpeniBoot
Go to your terminal and run the following commands:
mkdir openiBoot
cd openiBoot
mkdir utils
git clone git://github.com/iDroid-Project/openiBoot.git
git clone git://github.com/iDroid-Project/OiBC.git utils/oibc
git clone git://github.com/Chronic-Dev/Syringe.git utils/syringe
##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).
For example, if you are on Ubuntu, the command would be sudo apt-get install scons libssl-dev libpng-dev libcurl4-openssl-dev libusb-1.0-0-dev libreadline-dev libpthread-stubs0-dev g++
.
To compile OpeniBoot, first run cd openiBoot
in your terminal. Then, run one of the following commands.
If you have an iPod Touch 1G, run:
scons iPodTouch1G
For an iPhone 2G, run:
scons iPhone2G
For an iPhone 3G, run:
scons iPhone3G
For an iPod Touch 2G, run:
scons iPodTouch2G
For an iPhone 3GS, run:
scons iPhone3GS
For an iPhone 4, run:
scons iPhone4
For an iPod Touch 4G, run:
scons iPodTouch4G
For an iPad 1G, run:
scons iPad1G
For an Apple TV 2G, run:
scons aTV2G
There is also a Makefile provided that you can use. We don't recommend using it, as it just runs scons
.
Run the following commands:
cd ../utils/syringe
make
cd ../oibc
make
cd ../../openiBoot
If all has gone well, you're ready to go off to installing OpeniBoot!