-
Notifications
You must be signed in to change notification settings - Fork 142
openiboot installation
boxingcow edited this page Mar 20, 2011
·
13 revisions
How to install openiboot :
(You’ll find the same instructions in RUNNING in openiboot folder.)
- A PC running a Linux operating system
- git revision control system. This package is called “git-core” in some operating systems, such as Ubuntu.
- A “pwned” iPhone or iPod Touch. A device can be “pwned” using either the Pwnage Tool or QuickPwn, both of which are available at http://blog.iphone-dev.org/ .
Check out the code:
git clone git://github.com/planetbeing/iphonelinux.git
cd iphonelinux/
The following is a general copy/paste of the RUNNING in openiboot folder:
- Build an ARM toolchain (only needs to be done once):
- Run, as root:
toolchain/build-toolchain.sh make
- Wait, for a long time, as the toolchain is compiled.
- Run, as root:
- Compile OpeniBoot:
- To run openiboot from the recovery mode (a.k.a iboot), you’ll need to create an img3 image.
- Build: (A system capable of running x86 Linux binaries is required. If compiling on 64-bit linux, you may need libc6-dev-i386 and type
export ARCH=x86_64
before you proceed with the next steps.)- For iPod touch, run:
PLATFORM=IPOD make openiboot.img3
- For iPhone 2G, run:
PLATFORM=IPHONE make openiboot.img3
- For iPhone 3G, run:
PLATFORM=3G make openiboot.img3
- If you have linker problems with mk8900image please see Common Issues and Questions
- For iPod touch, run:
- Compile all in client/ :
cd client && make all && cd ..
(requires libusb, libreadline and pthread) sudo client/loadibec openiboot.img3
- Run the client:
sudo client/oibc
- To install openiboot in the NOR (optional): run “install” in openiboot client (to uninstall, restore/update/run QuickPwn)
- Pull the new code from Git: (“git pull” if you already downloaded the code using Git)
- Compile openiboot, but this time you don’t have to make an img3 image:
- For iPod Touch, run:
PLATFORM=IPOD make
- For iPhone 2G, run:
PLATFORM=IPHONE make
- For iPhone 3G, run:
PLATFORM=3G make
- For iPod Touch, run:
- Compile all in client/:
cd client && make all && cd ..
(requires libusb, libreadline and pthread) - Launch openiboot, using the menu on the device.
- Run the client:
sudo client/oibc
- Copy the openiboot binary in the device memory:
!openiboot.bin
- Jump to it:
go 0×09000000
- Relaunch openiboot console using the menu on the device.
- Relaunch the client:
sudo client/oibc
- Install the new version:
install