<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.theiphonewiki.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Master-lex-</id>
	<title>The iPhone Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.theiphonewiki.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Master-lex-"/>
	<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/wiki/Special:Contributions/Master-lex-"/>
	<updated>2026-05-02T11:19:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.14</generator>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Useful_Links&amp;diff=1104</id>
		<title>Useful Links</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Useful_Links&amp;diff=1104"/>
		<updated>2008-08-01T11:30:32Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: /* Websites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Wikis ==&lt;br /&gt;
* [http://www.deloware.com/iphone/doku.php iPhone Information Wiki (Outdated)]&lt;br /&gt;
* [http://wikee.iphwn.org/ iPhone Dev Team Portal]&lt;br /&gt;
* [http://iphonedevwiki.scribblewiki.com Snapshot of original Dev Team fiveforty wiki]&lt;br /&gt;
* [http://chronic-dev.org/userwiki/ Chronic Dev User Wiki]&lt;br /&gt;
* [http://www.modmyifone.com/wiki/index.php/Main_Page ModMyiFone Wiki] (Good n00b starting point)&lt;br /&gt;
&lt;br /&gt;
== Forums ==&lt;br /&gt;
* [http://www.hackint0sh.org/forum/forumdisplay.php?f=123 Hackint0sh Forums (iPhone)]&lt;br /&gt;
* [http://www.hackint0sh.org/forum/forumdisplay.php?f=135 Hackint0sh Forums (iPod Touch)]&lt;br /&gt;
* [http://haklabs.com/appstore/ DRM Decryption Technique Investigation Forum]&lt;br /&gt;
* [http://www.modmyifone.com/forums/ ModMyiFone Forums]&lt;br /&gt;
* [http://www.iphone-hacks.com/forums/ iPhone Hacks Forums]&lt;br /&gt;
&lt;br /&gt;
== International ==&lt;br /&gt;
* [http://iPhone-Forums.de/ iPhone forum for the German community]&lt;br /&gt;
* [http://iPhones.ru/forum/ iPhone forum for the Russian community]&lt;br /&gt;
&lt;br /&gt;
== iPhone Downloads ==&lt;br /&gt;
* [http://www.iphone-hacks.com/downloads iPhone Hacking Downloads]&lt;br /&gt;
&lt;br /&gt;
== Websites ==&lt;br /&gt;
* [http://iphonejtag.blogspot.com/ geohot's blog on the iPhone]&lt;br /&gt;
* [http://www.iclarified.com/tutorials/iphone/index.php iClarified iPhone tutorials]&lt;br /&gt;
* [http://hacktheiphoneitouch.blogspot.com/ Fozystyles iPhone/iPod Touch/Mac Tutorials]&lt;br /&gt;
* [http://www.iphone-hacks.com iPhone Hacks]&lt;br /&gt;
* [http://george.insideiphone.com George Zhu's Blog]&lt;br /&gt;
&lt;br /&gt;
== File Resources ==&lt;br /&gt;
* [http://www.iphonefix.de/ Large iPhone and iPod related Filebase]&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=BootNeuter&amp;diff=428</id>
		<title>BootNeuter</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=BootNeuter&amp;diff=428"/>
		<updated>2008-07-28T17:28:25Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: New page:   '''BootNeuter gives you total control of your first-gen iPhone's S-Gold bootloader and baseband.'''  It's an application you run right on your iPhone that lets you:  '''Neuter''' your bo...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
'''BootNeuter gives you total control of your first-gen iPhone's S-Gold bootloader and baseband.'''&lt;br /&gt;
&lt;br /&gt;
It's an application you run right on your iPhone that lets you:&lt;br /&gt;
&lt;br /&gt;
'''Neuter''' your bootloader&lt;br /&gt;
&lt;br /&gt;
'''Unlock''' your baseband&lt;br /&gt;
&lt;br /&gt;
'''Reflash''' your bootloader to 3.9BL or 4.6BL no matter what version you're at now (even if you're at 3.8BL)&lt;br /&gt;
&lt;br /&gt;
'''Fakeblank''' your bootloader to let you run serial payloads directly on your S-Gold&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Bootneuter.png]]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Neutering'''&lt;br /&gt;
&lt;br /&gt;
A neutered bootloader gives you absolute control over your baseband. The restrictions normally applied by the bootloader are completely lifted! With a neutered bootloader:&lt;br /&gt;
&lt;br /&gt;
The baseband is no longer integrity-checked&lt;br /&gt;
Can be patched (unlocked or other custom modifications)&lt;br /&gt;
4.6BL will even run with patched baseband – no need to revert to 3.9BL even with most recent firmware&lt;br /&gt;
Secpack restrictions are removed&lt;br /&gt;
You are free to downgrade your baseband using bbupdater without having to run ieraser/ienew first.&lt;br /&gt;
No longer does the “greater than” (4.6BL) or “greater than or equal” (3.9BL) rule apply. You can arbitrarily go up and down regardless of what secpacks you use.&lt;br /&gt;
Secpack signatures are ignored&lt;br /&gt;
The RSA encrypted header is no longer checked for correct hash values by the bootloader&lt;br /&gt;
The *.fls files can be patched and fed to bbupdater directly&lt;br /&gt;
A copy of the last used secpack will be saved at a03c0000, retrievable via norz or similar dumpers. Not that secpacks even matter anymore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Unlocking&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
BootNeuter gives you the option to unlock your 1.1.4 or 2.0 1G baseband. An unlocked baseband is patched, and would normally fail the integrity check done by the bootloader on recent firmware releases. The anySIM app written by gray forges the token in the baseband, which will trick 3.9BL but not 4.6BL. With a neutered phone, the integrity check is skipped completely. So now you can run recent firmware releases with a 4.6BL even if you've unlocked your baseband!&lt;br /&gt;
&lt;br /&gt;
A neutered bootloader will let you use bbupdater on modified ICE*.fls files, so now you don't even need a separate app to unlock. As discussed on the simple_unlock page, you can now unlock the baseband before it even gets put on your iPhone!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bootloader Version'''&lt;br /&gt;
&lt;br /&gt;
If you found yourself downgraded to 3.9BL (without your consent) by running buggy software, the iPhone Dev Team comes to the rescue. With BootNeuter you can freely go back and forth between bootloader versions. Now you can truly restore your iPhone to its out-of-box condition.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Fakeblank'''&lt;br /&gt;
&lt;br /&gt;
For iPhone hackers who want to be able to run serial payloads directly at S-Gold reboot time, BootNeuter lets you choose a fakeblank bootloader. If BootNeuter detects that your iPhone is currently fakeblanked, it will do all of its bootloader operations via serial payload and won't need to erase/reprogram the baseband to make bootloader changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Credits:'''&lt;br /&gt;
MuscleNerd, gray, chris, wizdaz, planetbeing, and the entire iPhone Dev Team. Thanks to geohot for the extended secpack erase method for those with 4.6 bootloaders.&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=File:Bootneuter.png&amp;diff=422</id>
		<title>File:Bootneuter.png</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=File:Bootneuter.png&amp;diff=422"/>
		<updated>2008-07-28T17:25:39Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: BootNeuter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;BootNeuter&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=368</id>
		<title>Toolchain</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=368"/>
		<updated>2008-07-28T13:44:57Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Build iPhone Toolchain on Mac OS X Tiger'''&lt;br /&gt;
&lt;br /&gt;
This is a brief description about how to install iPhone toolchain on Mac OS X Tiger.&lt;br /&gt;
Needed Packages&lt;br /&gt;
&lt;br /&gt;
    1. llvm source&lt;br /&gt;
    2. iphone-dev source&lt;br /&gt;
    3. iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Put all the packages in your $HOME folder.&lt;br /&gt;
How To Build&lt;br /&gt;
&lt;br /&gt;
Make sure you’re running Mac OS X 10.4, and have installed Xcode development environment.&lt;br /&gt;
1. Extract packages&lt;br /&gt;
&lt;br /&gt;
    $ cd ~&lt;br /&gt;
    $ tar xjvf llvm-svn.tar.bz2&lt;br /&gt;
    $ tar xjvf iphone-dev.tar.bz2&lt;br /&gt;
    $ cd /usr/local&lt;br /&gt;
    $ sudo tar xjvf ~/iphone-filesystem.tar.bz2&lt;br /&gt;
    $ sudo mkdir -p /usr/local/arm-apple-darwin&lt;br /&gt;
    $ LLVMOBJDIR=~/llvm-svn&lt;br /&gt;
    $ HEAVENLY=/usr/local/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
2. Build LLVM&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
3. Build odcctools&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ cd ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
4. Install headers&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/iphone-dev/include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
&lt;br /&gt;
5. Install csu (binary)&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/csu&lt;br /&gt;
    $ cd ~/iphone-dev/build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
6. Build LLVM-GCC&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ cd ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --objc-root` \&lt;br /&gt;
    --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
    --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
    --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
Done.&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Leopard&lt;br /&gt;
&lt;br /&gt;
'''HOWTO build the toolchain for 1.1.1 on Leopard by drudge with pure ownage by lupinglade'''&lt;br /&gt;
&lt;br /&gt;
Ensure that you have a copy of bison and flex installed on your system. All major systems should have these tools installed or available in package management systems.&lt;br /&gt;
&lt;br /&gt;
    $ bison --version&lt;br /&gt;
    GNU Bison version 1.28&lt;br /&gt;
    $ flex --version&lt;br /&gt;
    flex version 2.5.4&lt;br /&gt;
&lt;br /&gt;
Check out a copy of LLVM SVN, and build a release build (as opposed to a debug one). Currently, due to Issue 70, we are limited to revision 42498.&lt;br /&gt;
&lt;br /&gt;
    $ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498&lt;br /&gt;
    $ pushd llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ LLVMOBJDIR=`pwd`&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Check out a copy of the iphone-dev SVN repository.&lt;br /&gt;
&lt;br /&gt;
    $ svn checkout http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev&lt;br /&gt;
    pushd iphone-dev&lt;br /&gt;
&lt;br /&gt;
Make a directory to hold the toolchain.&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/arm-apple-darwin&lt;br /&gt;
&lt;br /&gt;
Build odcctools.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/odcctools&lt;br /&gt;
    $ pushd build/odcctools&lt;br /&gt;
    ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    export INCPRIVEXT=&amp;quot;-isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot;&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Get a copy of the iPhone root filesystem. This is usually obtained by decrypting and extracting the iPhone restore software using these tools, but there are many other methods to obtain this, including simply using scp to download all the files from the iPhone over Wi-Fi. I would use the method describled here: http://www.touchdev.net/wiki/Jailbreak_Guide to get the dmg.&lt;br /&gt;
&lt;br /&gt;
To unpack the root filesystem, mount the dmg, open terminal and run&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/share/iphone-filesystem&lt;br /&gt;
    $ sudo cp -Rp /Volumes/Snowbird3A110a.N45Bundle/* /usr/local/share/iphone-filesystem/&lt;br /&gt;
&lt;br /&gt;
Now, set the environment variable $HEAVENLY to its path:&lt;br /&gt;
&lt;br /&gt;
    $ HEAVENLY=/usr/local/share/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Patch the system headers&lt;br /&gt;
&lt;br /&gt;
    $ pushd include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Install csu, which includes crt1.o, dylib1.o, and bundle1.o. Don’t rebuild them from source, as this requires a working cross-GCC, which you don’t have yet (and the build-from-source process for csu is broken right now anyway). Binaries are provided for this reason.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/csu&lt;br /&gt;
    $ pushd build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Configure and make LLVM-GCC. Make sure that $LLVMOBJDIR and $HEAVENLY are set per the instructions above.&lt;br /&gt;
&lt;br /&gt;
    $ mv llvm-gcc-4.0-iphone/configure llvm-gcc-4.0-iphone/configure.old&lt;br /&gt;
    $ sed 's/^FLAGS_FOR_TARGET=$/FLAGS_FOR_TARGET=${FLAGS_FOR_TARGET-}/g' \&lt;br /&gt;
     llvm-gcc-4.0-iphone/configure.old &amp;gt; llvm-gcc-4.0-iphone/configure&lt;br /&gt;
    $ sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o \&lt;br /&gt;
     /usr/local/arm-apple-darwin/lib/crt1.10.5.o&lt;br /&gt;
    $ mkdir -p build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ pushd build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ export FLAGS_FOR_TARGET=&amp;quot;-mmacosx-version-min=10.1&amp;quot;&lt;br /&gt;
     ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \&lt;br /&gt;
     --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
     --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
     --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
You’re done. Have fun!&lt;br /&gt;
&lt;br /&gt;
'''Build iPhone Toolchain on Windows XP'''&lt;br /&gt;
&lt;br /&gt;
This guide and binary installation server is provided by David Supuran .&lt;br /&gt;
If you have any questions, comments, or suggestions please visit irc.osx86.hu #iphone or email me at Darken@iPhoneGameover.com&lt;br /&gt;
Requirements&lt;br /&gt;
&lt;br /&gt;
/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
&lt;br /&gt;
To obtain this directory it is recommended that you download Xcode 2.5 Developer Tools (Disk Image) (902.9 MB as of 30 Oct 2007).&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded the disk image, you will need additional software to open and extract it such as '''PowerISO''', then extract the following file:&lt;br /&gt;
&lt;br /&gt;
    \Packages\Packages\MacOSX10.4.Universal.pkg\Contents\Archive.pax.gz&lt;br /&gt;
&lt;br /&gt;
'''Note: It has been reported that UltraISO and MacDrive do not work for extracting this package.&lt;br /&gt;
This archive provides the necessary header files which will later be installed for the compiler to use.'''&lt;br /&gt;
&lt;br /&gt;
Note: Due to Apple’s strict redistribution license the files required from this archive could not be included in the installer, so you are required to agree to the terms and licenses under your ADC account and download the full disk image.&lt;br /&gt;
&lt;br /&gt;
iPhone/iTouch root filesystem&lt;br /&gt;
&lt;br /&gt;
The easiest way to obtain the root filesystem is to have a wireless network and OpenSSH installed. If you have this please skip this part as the post-installation will walk you through obtaining the files automatically. You may alternatively decrypt a firmware ipsw manually and place the extracted filesystem in /usr/local/arm-apple-darwin/filesystem after Cygwin is installed.&lt;br /&gt;
Installation&lt;br /&gt;
&lt;br /&gt;
Download and run the Cygwin Setup. It is recommended you use the default settings and click Next until you get to the following window:&lt;br /&gt;
Cygwin Setup Step 6&lt;br /&gt;
Type in the User URL: http://www.iphonegameover.com/cygwin, then click Add.&lt;br /&gt;
&lt;br /&gt;
Once you see the URL added and highlighted in the Available Download Sites list click Next.&lt;br /&gt;
Cygwin Setup Step 7&lt;br /&gt;
All the software is selected for you; it is recommended you use the default settings and click Next, then follow the on-screen instructions to finish the setup.&lt;br /&gt;
Cygwin Setup Step 8&lt;br /&gt;
Click the Start button and select All Programs -&amp;gt; Cygwin -&amp;gt; Cygwin Bash Shell and you will see the following window:&lt;br /&gt;
Cygwin Setup Step 9&lt;br /&gt;
Place the Archive.pax.gz file in your Cygwin home directory that you obtained earlier from the Xcode 2.5 Developer Tools (Disk Image). Example home directory: C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
When asked ‘Do you wish to connect to your device and download the required files?‘ Press y for Yes.&lt;br /&gt;
&lt;br /&gt;
Type in the IP address of your iPhone / iTouch device on the next prompt that says ‘Please enter the remote IP address of your device:‘.&lt;br /&gt;
&lt;br /&gt;
*Note: If you do not know the IP address of your device go to Settings -&amp;gt; Wi-Fi and Click the blue arrow to the right of your wireless network you are currently connected to which is marked with a check on the left.&lt;br /&gt;
&lt;br /&gt;
If SSH asks you ‘Are you sure you want to continue connecting (yes/no)?‘ Type yes.&lt;br /&gt;
Cygwin Setup Step 10&lt;br /&gt;
NOTE: SSH will now create an archive of your root file system once you type in your password which takes approximately 5 minutes, so please be patient.&lt;br /&gt;
&lt;br /&gt;
If you are asked ‘Do you wish to install the XCode header files now?‘ Press y for Yes.&lt;br /&gt;
If you have been following the instructions so far, you will see the following:&lt;br /&gt;
&lt;br /&gt;
    Found Archive.pax.gz in current directory.&lt;br /&gt;
    Extracting /home/David/Archive.pax.gz…&lt;br /&gt;
&lt;br /&gt;
If everything goes well you will see:&lt;br /&gt;
&lt;br /&gt;
    Your toolchain installation is now complete!&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=367</id>
		<title>Toolchain</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=367"/>
		<updated>2008-07-28T13:44:36Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
'''Build iPhone Toolchain on Mac OS X Tiger'''&lt;br /&gt;
&lt;br /&gt;
'''This is a brief description about how to install iPhone toolchain on Mac OS X Tiger.&lt;br /&gt;
Needed Packages&lt;br /&gt;
'''&lt;br /&gt;
    1. llvm source&lt;br /&gt;
    2. iphone-dev source&lt;br /&gt;
    3. iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Put all the packages in your $HOME folder.&lt;br /&gt;
How To Build&lt;br /&gt;
&lt;br /&gt;
Make sure you’re running Mac OS X 10.4, and have installed Xcode development environment.&lt;br /&gt;
1. Extract packages&lt;br /&gt;
&lt;br /&gt;
    $ cd ~&lt;br /&gt;
    $ tar xjvf llvm-svn.tar.bz2&lt;br /&gt;
    $ tar xjvf iphone-dev.tar.bz2&lt;br /&gt;
    $ cd /usr/local&lt;br /&gt;
    $ sudo tar xjvf ~/iphone-filesystem.tar.bz2&lt;br /&gt;
    $ sudo mkdir -p /usr/local/arm-apple-darwin&lt;br /&gt;
    $ LLVMOBJDIR=~/llvm-svn&lt;br /&gt;
    $ HEAVENLY=/usr/local/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
2. Build LLVM&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
3. Build odcctools&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ cd ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
4. Install headers&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/iphone-dev/include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
&lt;br /&gt;
5. Install csu (binary)&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/csu&lt;br /&gt;
    $ cd ~/iphone-dev/build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
6. Build LLVM-GCC&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ cd ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --objc-root` \&lt;br /&gt;
    --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
    --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
    --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
Done.&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Leopard&lt;br /&gt;
&lt;br /&gt;
'''HOWTO build the toolchain for 1.1.1 on Leopard by drudge with pure ownage by lupinglade'''&lt;br /&gt;
&lt;br /&gt;
Ensure that you have a copy of bison and flex installed on your system. All major systems should have these tools installed or available in package management systems.&lt;br /&gt;
&lt;br /&gt;
    $ bison --version&lt;br /&gt;
    GNU Bison version 1.28&lt;br /&gt;
    $ flex --version&lt;br /&gt;
    flex version 2.5.4&lt;br /&gt;
&lt;br /&gt;
Check out a copy of LLVM SVN, and build a release build (as opposed to a debug one). Currently, due to Issue 70, we are limited to revision 42498.&lt;br /&gt;
&lt;br /&gt;
    $ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498&lt;br /&gt;
    $ pushd llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ LLVMOBJDIR=`pwd`&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Check out a copy of the iphone-dev SVN repository.&lt;br /&gt;
&lt;br /&gt;
    $ svn checkout http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev&lt;br /&gt;
    pushd iphone-dev&lt;br /&gt;
&lt;br /&gt;
Make a directory to hold the toolchain.&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/arm-apple-darwin&lt;br /&gt;
&lt;br /&gt;
Build odcctools.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/odcctools&lt;br /&gt;
    $ pushd build/odcctools&lt;br /&gt;
    ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    export INCPRIVEXT=&amp;quot;-isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot;&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Get a copy of the iPhone root filesystem. This is usually obtained by decrypting and extracting the iPhone restore software using these tools, but there are many other methods to obtain this, including simply using scp to download all the files from the iPhone over Wi-Fi. I would use the method describled here: http://www.touchdev.net/wiki/Jailbreak_Guide to get the dmg.&lt;br /&gt;
&lt;br /&gt;
To unpack the root filesystem, mount the dmg, open terminal and run&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/share/iphone-filesystem&lt;br /&gt;
    $ sudo cp -Rp /Volumes/Snowbird3A110a.N45Bundle/* /usr/local/share/iphone-filesystem/&lt;br /&gt;
&lt;br /&gt;
Now, set the environment variable $HEAVENLY to its path:&lt;br /&gt;
&lt;br /&gt;
    $ HEAVENLY=/usr/local/share/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Patch the system headers&lt;br /&gt;
&lt;br /&gt;
    $ pushd include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Install csu, which includes crt1.o, dylib1.o, and bundle1.o. Don’t rebuild them from source, as this requires a working cross-GCC, which you don’t have yet (and the build-from-source process for csu is broken right now anyway). Binaries are provided for this reason.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/csu&lt;br /&gt;
    $ pushd build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Configure and make LLVM-GCC. Make sure that $LLVMOBJDIR and $HEAVENLY are set per the instructions above.&lt;br /&gt;
&lt;br /&gt;
    $ mv llvm-gcc-4.0-iphone/configure llvm-gcc-4.0-iphone/configure.old&lt;br /&gt;
    $ sed 's/^FLAGS_FOR_TARGET=$/FLAGS_FOR_TARGET=${FLAGS_FOR_TARGET-}/g' \&lt;br /&gt;
     llvm-gcc-4.0-iphone/configure.old &amp;gt; llvm-gcc-4.0-iphone/configure&lt;br /&gt;
    $ sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o \&lt;br /&gt;
     /usr/local/arm-apple-darwin/lib/crt1.10.5.o&lt;br /&gt;
    $ mkdir -p build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ pushd build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ export FLAGS_FOR_TARGET=&amp;quot;-mmacosx-version-min=10.1&amp;quot;&lt;br /&gt;
     ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \&lt;br /&gt;
     --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
     --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
     --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
You’re done. Have fun!&lt;br /&gt;
&lt;br /&gt;
'''Build iPhone Toolchain on Windows XP'''&lt;br /&gt;
&lt;br /&gt;
This guide and binary installation server is provided by David Supuran .&lt;br /&gt;
If you have any questions, comments, or suggestions please visit irc.osx86.hu #iphone or email me at Darken@iPhoneGameover.com&lt;br /&gt;
Requirements&lt;br /&gt;
&lt;br /&gt;
/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
&lt;br /&gt;
To obtain this directory it is recommended that you download Xcode 2.5 Developer Tools (Disk Image) (902.9 MB as of 30 Oct 2007).&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded the disk image, you will need additional software to open and extract it such as '''PowerISO''', then extract the following file:&lt;br /&gt;
&lt;br /&gt;
    \Packages\Packages\MacOSX10.4.Universal.pkg\Contents\Archive.pax.gz&lt;br /&gt;
&lt;br /&gt;
'''Note: It has been reported that UltraISO and MacDrive do not work for extracting this package.&lt;br /&gt;
This archive provides the necessary header files which will later be installed for the compiler to use.'''&lt;br /&gt;
&lt;br /&gt;
Note: Due to Apple’s strict redistribution license the files required from this archive could not be included in the installer, so you are required to agree to the terms and licenses under your ADC account and download the full disk image.&lt;br /&gt;
&lt;br /&gt;
iPhone/iTouch root filesystem&lt;br /&gt;
&lt;br /&gt;
The easiest way to obtain the root filesystem is to have a wireless network and OpenSSH installed. If you have this please skip this part as the post-installation will walk you through obtaining the files automatically. You may alternatively decrypt a firmware ipsw manually and place the extracted filesystem in /usr/local/arm-apple-darwin/filesystem after Cygwin is installed.&lt;br /&gt;
Installation&lt;br /&gt;
&lt;br /&gt;
Download and run the Cygwin Setup. It is recommended you use the default settings and click Next until you get to the following window:&lt;br /&gt;
Cygwin Setup Step 6&lt;br /&gt;
Type in the User URL: http://www.iphonegameover.com/cygwin, then click Add.&lt;br /&gt;
&lt;br /&gt;
Once you see the URL added and highlighted in the Available Download Sites list click Next.&lt;br /&gt;
Cygwin Setup Step 7&lt;br /&gt;
All the software is selected for you; it is recommended you use the default settings and click Next, then follow the on-screen instructions to finish the setup.&lt;br /&gt;
Cygwin Setup Step 8&lt;br /&gt;
Click the Start button and select All Programs -&amp;gt; Cygwin -&amp;gt; Cygwin Bash Shell and you will see the following window:&lt;br /&gt;
Cygwin Setup Step 9&lt;br /&gt;
Place the Archive.pax.gz file in your Cygwin home directory that you obtained earlier from the Xcode 2.5 Developer Tools (Disk Image). Example home directory: C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
When asked ‘Do you wish to connect to your device and download the required files?‘ Press y for Yes.&lt;br /&gt;
&lt;br /&gt;
Type in the IP address of your iPhone / iTouch device on the next prompt that says ‘Please enter the remote IP address of your device:‘.&lt;br /&gt;
&lt;br /&gt;
*Note: If you do not know the IP address of your device go to Settings -&amp;gt; Wi-Fi and Click the blue arrow to the right of your wireless network you are currently connected to which is marked with a check on the left.&lt;br /&gt;
&lt;br /&gt;
If SSH asks you ‘Are you sure you want to continue connecting (yes/no)?‘ Type yes.&lt;br /&gt;
Cygwin Setup Step 10&lt;br /&gt;
NOTE: SSH will now create an archive of your root file system once you type in your password which takes approximately 5 minutes, so please be patient.&lt;br /&gt;
&lt;br /&gt;
If you are asked ‘Do you wish to install the XCode header files now?‘ Press y for Yes.&lt;br /&gt;
If you have been following the instructions so far, you will see the following:&lt;br /&gt;
&lt;br /&gt;
    Found Archive.pax.gz in current directory.&lt;br /&gt;
    Extracting /home/David/Archive.pax.gz…&lt;br /&gt;
&lt;br /&gt;
If everything goes well you will see:&lt;br /&gt;
&lt;br /&gt;
    Your toolchain installation is now complete!&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=366</id>
		<title>Toolchain</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=366"/>
		<updated>2008-07-28T13:44:17Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''iPhone Toolchain&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Tiger'''&lt;br /&gt;
&lt;br /&gt;
'''This is a brief description about how to install iPhone toolchain on Mac OS X Tiger.&lt;br /&gt;
Needed Packages&lt;br /&gt;
'''&lt;br /&gt;
    1. llvm source&lt;br /&gt;
    2. iphone-dev source&lt;br /&gt;
    3. iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Put all the packages in your $HOME folder.&lt;br /&gt;
How To Build&lt;br /&gt;
&lt;br /&gt;
Make sure you’re running Mac OS X 10.4, and have installed Xcode development environment.&lt;br /&gt;
1. Extract packages&lt;br /&gt;
&lt;br /&gt;
    $ cd ~&lt;br /&gt;
    $ tar xjvf llvm-svn.tar.bz2&lt;br /&gt;
    $ tar xjvf iphone-dev.tar.bz2&lt;br /&gt;
    $ cd /usr/local&lt;br /&gt;
    $ sudo tar xjvf ~/iphone-filesystem.tar.bz2&lt;br /&gt;
    $ sudo mkdir -p /usr/local/arm-apple-darwin&lt;br /&gt;
    $ LLVMOBJDIR=~/llvm-svn&lt;br /&gt;
    $ HEAVENLY=/usr/local/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
2. Build LLVM&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
3. Build odcctools&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ cd ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
4. Install headers&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/iphone-dev/include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
&lt;br /&gt;
5. Install csu (binary)&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/csu&lt;br /&gt;
    $ cd ~/iphone-dev/build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
6. Build LLVM-GCC&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ cd ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --objc-root` \&lt;br /&gt;
    --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
    --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
    --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
Done.&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Leopard&lt;br /&gt;
&lt;br /&gt;
'''HOWTO build the toolchain for 1.1.1 on Leopard by drudge with pure ownage by lupinglade'''&lt;br /&gt;
&lt;br /&gt;
Ensure that you have a copy of bison and flex installed on your system. All major systems should have these tools installed or available in package management systems.&lt;br /&gt;
&lt;br /&gt;
    $ bison --version&lt;br /&gt;
    GNU Bison version 1.28&lt;br /&gt;
    $ flex --version&lt;br /&gt;
    flex version 2.5.4&lt;br /&gt;
&lt;br /&gt;
Check out a copy of LLVM SVN, and build a release build (as opposed to a debug one). Currently, due to Issue 70, we are limited to revision 42498.&lt;br /&gt;
&lt;br /&gt;
    $ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498&lt;br /&gt;
    $ pushd llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ LLVMOBJDIR=`pwd`&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Check out a copy of the iphone-dev SVN repository.&lt;br /&gt;
&lt;br /&gt;
    $ svn checkout http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev&lt;br /&gt;
    pushd iphone-dev&lt;br /&gt;
&lt;br /&gt;
Make a directory to hold the toolchain.&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/arm-apple-darwin&lt;br /&gt;
&lt;br /&gt;
Build odcctools.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/odcctools&lt;br /&gt;
    $ pushd build/odcctools&lt;br /&gt;
    ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    export INCPRIVEXT=&amp;quot;-isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot;&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Get a copy of the iPhone root filesystem. This is usually obtained by decrypting and extracting the iPhone restore software using these tools, but there are many other methods to obtain this, including simply using scp to download all the files from the iPhone over Wi-Fi. I would use the method describled here: http://www.touchdev.net/wiki/Jailbreak_Guide to get the dmg.&lt;br /&gt;
&lt;br /&gt;
To unpack the root filesystem, mount the dmg, open terminal and run&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/share/iphone-filesystem&lt;br /&gt;
    $ sudo cp -Rp /Volumes/Snowbird3A110a.N45Bundle/* /usr/local/share/iphone-filesystem/&lt;br /&gt;
&lt;br /&gt;
Now, set the environment variable $HEAVENLY to its path:&lt;br /&gt;
&lt;br /&gt;
    $ HEAVENLY=/usr/local/share/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Patch the system headers&lt;br /&gt;
&lt;br /&gt;
    $ pushd include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Install csu, which includes crt1.o, dylib1.o, and bundle1.o. Don’t rebuild them from source, as this requires a working cross-GCC, which you don’t have yet (and the build-from-source process for csu is broken right now anyway). Binaries are provided for this reason.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/csu&lt;br /&gt;
    $ pushd build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Configure and make LLVM-GCC. Make sure that $LLVMOBJDIR and $HEAVENLY are set per the instructions above.&lt;br /&gt;
&lt;br /&gt;
    $ mv llvm-gcc-4.0-iphone/configure llvm-gcc-4.0-iphone/configure.old&lt;br /&gt;
    $ sed 's/^FLAGS_FOR_TARGET=$/FLAGS_FOR_TARGET=${FLAGS_FOR_TARGET-}/g' \&lt;br /&gt;
     llvm-gcc-4.0-iphone/configure.old &amp;gt; llvm-gcc-4.0-iphone/configure&lt;br /&gt;
    $ sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o \&lt;br /&gt;
     /usr/local/arm-apple-darwin/lib/crt1.10.5.o&lt;br /&gt;
    $ mkdir -p build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ pushd build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ export FLAGS_FOR_TARGET=&amp;quot;-mmacosx-version-min=10.1&amp;quot;&lt;br /&gt;
     ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \&lt;br /&gt;
     --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
     --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
     --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
You’re done. Have fun!&lt;br /&gt;
&lt;br /&gt;
'''Build iPhone Toolchain on Windows XP'''&lt;br /&gt;
&lt;br /&gt;
This guide and binary installation server is provided by David Supuran .&lt;br /&gt;
If you have any questions, comments, or suggestions please visit irc.osx86.hu #iphone or email me at Darken@iPhoneGameover.com&lt;br /&gt;
Requirements&lt;br /&gt;
&lt;br /&gt;
/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
&lt;br /&gt;
To obtain this directory it is recommended that you download Xcode 2.5 Developer Tools (Disk Image) (902.9 MB as of 30 Oct 2007).&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded the disk image, you will need additional software to open and extract it such as '''PowerISO''', then extract the following file:&lt;br /&gt;
&lt;br /&gt;
    \Packages\Packages\MacOSX10.4.Universal.pkg\Contents\Archive.pax.gz&lt;br /&gt;
&lt;br /&gt;
'''Note: It has been reported that UltraISO and MacDrive do not work for extracting this package.&lt;br /&gt;
This archive provides the necessary header files which will later be installed for the compiler to use.'''&lt;br /&gt;
&lt;br /&gt;
Note: Due to Apple’s strict redistribution license the files required from this archive could not be included in the installer, so you are required to agree to the terms and licenses under your ADC account and download the full disk image.&lt;br /&gt;
&lt;br /&gt;
iPhone/iTouch root filesystem&lt;br /&gt;
&lt;br /&gt;
The easiest way to obtain the root filesystem is to have a wireless network and OpenSSH installed. If you have this please skip this part as the post-installation will walk you through obtaining the files automatically. You may alternatively decrypt a firmware ipsw manually and place the extracted filesystem in /usr/local/arm-apple-darwin/filesystem after Cygwin is installed.&lt;br /&gt;
Installation&lt;br /&gt;
&lt;br /&gt;
Download and run the Cygwin Setup. It is recommended you use the default settings and click Next until you get to the following window:&lt;br /&gt;
Cygwin Setup Step 6&lt;br /&gt;
Type in the User URL: http://www.iphonegameover.com/cygwin, then click Add.&lt;br /&gt;
&lt;br /&gt;
Once you see the URL added and highlighted in the Available Download Sites list click Next.&lt;br /&gt;
Cygwin Setup Step 7&lt;br /&gt;
All the software is selected for you; it is recommended you use the default settings and click Next, then follow the on-screen instructions to finish the setup.&lt;br /&gt;
Cygwin Setup Step 8&lt;br /&gt;
Click the Start button and select All Programs -&amp;gt; Cygwin -&amp;gt; Cygwin Bash Shell and you will see the following window:&lt;br /&gt;
Cygwin Setup Step 9&lt;br /&gt;
Place the Archive.pax.gz file in your Cygwin home directory that you obtained earlier from the Xcode 2.5 Developer Tools (Disk Image). Example home directory: C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
When asked ‘Do you wish to connect to your device and download the required files?‘ Press y for Yes.&lt;br /&gt;
&lt;br /&gt;
Type in the IP address of your iPhone / iTouch device on the next prompt that says ‘Please enter the remote IP address of your device:‘.&lt;br /&gt;
&lt;br /&gt;
*Note: If you do not know the IP address of your device go to Settings -&amp;gt; Wi-Fi and Click the blue arrow to the right of your wireless network you are currently connected to which is marked with a check on the left.&lt;br /&gt;
&lt;br /&gt;
If SSH asks you ‘Are you sure you want to continue connecting (yes/no)?‘ Type yes.&lt;br /&gt;
Cygwin Setup Step 10&lt;br /&gt;
NOTE: SSH will now create an archive of your root file system once you type in your password which takes approximately 5 minutes, so please be patient.&lt;br /&gt;
&lt;br /&gt;
If you are asked ‘Do you wish to install the XCode header files now?‘ Press y for Yes.&lt;br /&gt;
If you have been following the instructions so far, you will see the following:&lt;br /&gt;
&lt;br /&gt;
    Found Archive.pax.gz in current directory.&lt;br /&gt;
    Extracting /home/David/Archive.pax.gz…&lt;br /&gt;
&lt;br /&gt;
If everything goes well you will see:&lt;br /&gt;
&lt;br /&gt;
    Your toolchain installation is now complete!&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=365</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=365"/>
		<updated>2008-07-28T13:42:47Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Baseband Files of 1.1.1 to 1.1.4'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For 04.04.05_G (1.1.4)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.eep http://rapidshare.com/files/133070919/ice040405_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.fls http://rapidshare.com/files/133071075/ice040405_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.03.13_G (1.1.3)&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.eep http://rapidshare.com/files/133071289/ice040313_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.fls http://rapidshare.com/files/133071423/ice040313_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.02.13_G (1.1.2)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.eep http://rapidshare.com/files/133071576/ice040213_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.fls http://rapidshare.com/files/133071720/ice040213_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.01.13_G (1.1.1)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.eep http://rapidshare.com/files/133071900/ice040113_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.fls http://rapidshare.com/files/133072040/ice040113_gfls.zip.html&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=364</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=364"/>
		<updated>2008-07-28T13:42:32Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Baseband Files of 1.1.1 to 1.1.4'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For 04.04.05_G (1.1.4)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.eep http://rapidshare.com/files/133070919/ice040405_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.fls http://rapidshare.com/files/133071075/ice040405_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.03.13_G (1.1.3)&lt;br /&gt;
'''&lt;br /&gt;
ICE04.03.13_G.eep http://rapidshare.com/files/133071289/ice040313_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.fls http://rapidshare.com/files/133071423/ice040313_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.02.13_G (1.1.2)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.eep http://rapidshare.com/files/133071576/ice040213_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.fls http://rapidshare.com/files/133071720/ice040213_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
'''For 04.01.13_G (1.1.1)'''&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.eep http://rapidshare.com/files/133071900/ice040113_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.fls http://rapidshare.com/files/133072040/ice040113_gfls.zip.html&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=363</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=363"/>
		<updated>2008-07-28T13:42:03Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Baseband Files of 1.1.1 to 1.1.4'''&lt;br /&gt;
&lt;br /&gt;
For 04.04.05_G (1.1.4)&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.eep http://rapidshare.com/files/133070919/ice040405_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.fls http://rapidshare.com/files/133071075/ice040405_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.03.13_G (1.1.3)&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.eep http://rapidshare.com/files/133071289/ice040313_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.fls http://rapidshare.com/files/133071423/ice040313_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.02.13_G (1.1.2)&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.eep http://rapidshare.com/files/133071576/ice040213_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.fls http://rapidshare.com/files/133071720/ice040213_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.01.13_G (1.1.1)&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.eep http://rapidshare.com/files/133071900/ice040113_geep.zip.html&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.fls http://rapidshare.com/files/133072040/ice040113_gfls.zip.html&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=362</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=362"/>
		<updated>2008-07-28T13:41:44Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Baseband Files of 1.1.1 to 1.1.4'''&lt;br /&gt;
&lt;br /&gt;
For 04.04.05_G (1.1.4)&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.eep http://rapidshare.com/files/133070919/ice040405_geep.zip.html&lt;br /&gt;
ICE04.04.05_G.fls http://rapidshare.com/files/133071075/ice040405_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.03.13_G (1.1.3)&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.eep http://rapidshare.com/files/133071289/ice040313_geep.zip.html&lt;br /&gt;
ICE04.03.13_G.fls http://rapidshare.com/files/133071423/ice040313_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.02.13_G (1.1.2)&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.eep http://rapidshare.com/files/133071576/ice040213_geep.zip.html&lt;br /&gt;
ICE04.02.13_G.fls http://rapidshare.com/files/133071720/ice040213_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.01.13_G (1.1.1)&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.eep http://rapidshare.com/files/133071900/ice040113_geep.zip.html&lt;br /&gt;
ICE04.01.13_G.fls http://rapidshare.com/files/133072040/ice040113_gfls.zip.html&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=361</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=361"/>
		<updated>2008-07-28T13:41:32Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;br /&gt;
&lt;br /&gt;
Baseband Files of 1.1.1 to 1.1.4&lt;br /&gt;
&lt;br /&gt;
For 04.04.05_G (1.1.4)&lt;br /&gt;
&lt;br /&gt;
ICE04.04.05_G.eep http://rapidshare.com/files/133070919/ice040405_geep.zip.html&lt;br /&gt;
ICE04.04.05_G.fls http://rapidshare.com/files/133071075/ice040405_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.03.13_G (1.1.3)&lt;br /&gt;
&lt;br /&gt;
ICE04.03.13_G.eep http://rapidshare.com/files/133071289/ice040313_geep.zip.html&lt;br /&gt;
ICE04.03.13_G.fls http://rapidshare.com/files/133071423/ice040313_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.02.13_G (1.1.2)&lt;br /&gt;
&lt;br /&gt;
ICE04.02.13_G.eep http://rapidshare.com/files/133071576/ice040213_geep.zip.html&lt;br /&gt;
ICE04.02.13_G.fls http://rapidshare.com/files/133071720/ice040213_gfls.zip.html&lt;br /&gt;
&lt;br /&gt;
For 04.01.13_G (1.1.1)&lt;br /&gt;
&lt;br /&gt;
ICE04.01.13_G.eep http://rapidshare.com/files/133071900/ice040113_geep.zip.html&lt;br /&gt;
ICE04.01.13_G.fls http://rapidshare.com/files/133072040/ice040113_gfls.zip.html&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=359</id>
		<title>Baseband</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Baseband&amp;diff=359"/>
		<updated>2008-07-28T13:28:11Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the processor that manages all the functions which need an antenna. The GSM phone, as well as the WiFi and bluetooth are all under the control of the baseband processor. The baseband processor has its own RAM and FLASH resources, separate from the ARM core resources. The baseband processor is a resource to the OS.&lt;br /&gt;
&lt;br /&gt;
The [[S-Gold 2]] in the [[iPhone]] or [[X-Gold 608]] in the [[iPhone 3G]] chip used to handle all cellular function.&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Activation&amp;diff=358</id>
		<title>Activation</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Activation&amp;diff=358"/>
		<updated>2008-07-28T13:25:32Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: New page: The lockdown patch automatically activates your phone and makes it to where you dont need to activate your phone through ATT or other official carriers.  '''Lockdownd Patches on Difference...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The lockdown patch automatically activates your phone and makes it to where you dont need to activate your phone through ATT or other official carriers.&lt;br /&gt;
&lt;br /&gt;
'''Lockdownd Patches on Difference Versions'''&lt;br /&gt;
&lt;br /&gt;
Lockdownd 1.1.2:&lt;br /&gt;
&lt;br /&gt;
    Offset  Original  Patched  Reason&lt;br /&gt;
    0×4B3B  0×1A      0xEA     Changed  to ignore baseband version.&lt;br /&gt;
    0×79FC  0xD7      0xFF     0×00 00  Disallows enabling of Voided Warranty.&lt;br /&gt;
    0×79FE  0xFF      0×1A     0xA0 0xE1 Part of  patch at 0×79FC&lt;br /&gt;
    0×7E0B  0×0A      0xEA     Disallows enabling of Voided Warranty.&lt;br /&gt;
    0xAC73  0×0A      0xEA     Disallows enabling of Voided Warranty.&lt;br /&gt;
    0xBC40  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0xC5CC  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0xC5D4  0×88      0xEC     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xC614  0×48      0xAC     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xC640  0×1C      0×80     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xC6F0  0×90      0xD0     Change MissingSIM to FactoryActivated&lt;br /&gt;
    0xC74C  0×44      0×74     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0xC7DC  0xB4      0xE4     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0xC8AC  0xB0      0×33     0×14 0×34 Change Unactivated to  FactoryActivated&lt;br /&gt;
    0xC904  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lockdownd 1.1.1:&lt;br /&gt;
&lt;br /&gt;
    Offset  Original  Patched  Reason&lt;br /&gt;
    0×482F  0×1A      0xEA     Changed  to ignore baseband version.&lt;br /&gt;
    0xAF5C  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0xB814  0×24      0×54     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xB818  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0xB838  0×00      0×30     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xB858  0xE0      0×14     0×10 0×15 Change Unactivated to  FactoryActivated&lt;br /&gt;
    0xB884  0xB4      0xE4     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xB958  0×00      0×10     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0xB970  0xEC      0xF8     Change MissingSIM to FactoryActivated&lt;br /&gt;
    0xB9E0  0×58      0×88     Change Unactivated to FactoryActivated&lt;br /&gt;
    0xBA58  0×01      0×00     Change enable brick mode to disable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lockdownd 1.0.2:&lt;br /&gt;
&lt;br /&gt;
    Offset  Original  Patched  Reason&lt;br /&gt;
    0×9184  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×94F0  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×94F4  0×3C      0×68     Change Unactivated to FactoryActivated&lt;br /&gt;
    0×95C4  0×84      0×98     Change MismatchedIMEI to FactoryActivated&lt;br /&gt;
    0×9604  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×9624  0×2C      0×38     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0×962C  0×28      0×30     Change MissingSIM to FactoryActivated&lt;br /&gt;
    0×96A4  0×01      0×00     Change enable brick mode to disable. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lockdownd 1.0.1:&lt;br /&gt;
&lt;br /&gt;
    Offset  Original  Patched  Reason&lt;br /&gt;
    0×9158  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×94C4  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×94C8  0×3C      0×68     Change Unactivated to FactoryActivated&lt;br /&gt;
    0×9598  0×84      0×98     Change MismatchedIMEI to FactoryActivated&lt;br /&gt;
    0×95D8  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
    0×95F8  0×2C      0×38     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0×9600  0×28      0×30     Change MissingSIM to FactoryActivated&lt;br /&gt;
    0×9678  0×01      0×00     Change enable brick mode to disable.&lt;br /&gt;
&lt;br /&gt;
Lockdownd 1.0.0:&lt;br /&gt;
&lt;br /&gt;
    Offset  Original  Patched  Reason&lt;br /&gt;
    0×8CF8  0×01      0×00     Change enable brick mode to disable&lt;br /&gt;
    0×90A4  0×01      0×00     Change enable brick mode to disable&lt;br /&gt;
    0×90A8  0×3C      0×68     Change Unactivated to FactoryActivated&lt;br /&gt;
    0×9178  0×84      0×98     Change MismatchedIMEI to FactoryActivated&lt;br /&gt;
    0×91B8  0×01      0×00     Change enable brick mode to disable&lt;br /&gt;
    0×91D8  0×2C      0×38     Change MismatchedICCID to FactoryActivated&lt;br /&gt;
    0×91E0  0×28      0×30     Change MissingSIM to FactoryActivate&lt;br /&gt;
    0×9258  0×01      0×00     Change enable brick mode to disable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''All Lockdownd'''&lt;br /&gt;
&lt;br /&gt;
1.1.4 original http://rapidshare.com/files/133067477/114_lockdownd_original.zip.html&lt;br /&gt;
&lt;br /&gt;
1.1.4 patched  http://rapidshare.com/files/133067620/114_lockdownd_patched.zip.html&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
The lockdownd in firmware 1.1.4 is very similar to the version 1.1.3, so the same patch applied to 1.1.3 also works on 1.1.4. NOTE: You can’t use the old 1.1.3 patched lockdownd because the files are different, you need to apply the patch on the 1.1.4 lockdownd.&lt;br /&gt;
&lt;br /&gt;
Patch details:&lt;br /&gt;
&lt;br /&gt;
    Search for differences&lt;br /&gt;
&lt;br /&gt;
    1. G:\iPhone Stuffs\Lockdownd\lockdownd_114_original\lockdownd: 1,107,780 bytes&lt;br /&gt;
    2. G:\iPhone Stuffs\Lockdownd\lockdownd_114_patched\lockdownd: 1,107,780 bytes&lt;br /&gt;
    Offsets: hexadec.&lt;br /&gt;
&lt;br /&gt;
      83AF:	0A	EA&lt;br /&gt;
      AFA3:	0A	EA&lt;br /&gt;
      C4CF:	1A	EA&lt;br /&gt;
      CDB4:	80	04&lt;br /&gt;
      CDB5:	28	29&lt;br /&gt;
      CDC0:	01	00&lt;br /&gt;
      CE08:	2C	B0&lt;br /&gt;
      CE58:	DC	60&lt;br /&gt;
      CE59:	27	28&lt;br /&gt;
      CF24:	3C	94&lt;br /&gt;
      CF7C:	F4	3C&lt;br /&gt;
      CF7D:	26	27&lt;br /&gt;
      D000:	70	B8&lt;br /&gt;
      D1A8:	8C	10&lt;br /&gt;
      D1A9:	24	25&lt;br /&gt;
      D224:	4C	94&lt;br /&gt;
      D274:	01	00&lt;br /&gt;
&lt;br /&gt;
    17 difference(s) found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.1.3 original http://rapidshare.com/files/133068021/113_lockdownd_original.zip.html&lt;br /&gt;
&lt;br /&gt;
1.1.3 patched  http://rapidshare.com/files/133068133/113_lockdownd_patched.zip.html&lt;br /&gt;
&lt;br /&gt;
Patch details:&lt;br /&gt;
&lt;br /&gt;
    Search for differences&lt;br /&gt;
&lt;br /&gt;
    1. G:\iPhone Stuffs\Lockdownd\lockdownd_113_original\lockdownd: 1,107,780 bytes&lt;br /&gt;
    2. G:\iPhone Stuffs\Lockdownd\lockdownd_113_patched\lockdownd: 1,107,780 bytes&lt;br /&gt;
    Offsets: hexadec.&lt;br /&gt;
&lt;br /&gt;
      83AF:	0A	EA&lt;br /&gt;
      AFA3:	0A	EA&lt;br /&gt;
      C4CF:	1A	EA&lt;br /&gt;
      CDB4:	80	04&lt;br /&gt;
      CDB5:	28	29&lt;br /&gt;
      CDC0:	01	00&lt;br /&gt;
      CE08:	2C	B0&lt;br /&gt;
      CE58:	DC	60&lt;br /&gt;
      CE59:	27	28&lt;br /&gt;
      CF24:	3C	94&lt;br /&gt;
      CF7C:	F4	3C&lt;br /&gt;
      CF7D:	26	27&lt;br /&gt;
      D000:	70	B8&lt;br /&gt;
      D1A8:	8C	10&lt;br /&gt;
      D1A9:	24	25&lt;br /&gt;
      D224:	4C	94&lt;br /&gt;
      D274:	01	00&lt;br /&gt;
&lt;br /&gt;
    17 difference(s) found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.1.2 original http://rapidshare.com/files/133068455/112_lockdownd_original.zip.html&lt;br /&gt;
&lt;br /&gt;
1.1.2 patched  http://rapidshare.com/files/133068558/112_lockdownd_patched.zip.html&lt;br /&gt;
&lt;br /&gt;
Details: This patch uses the same technique as introduced in 1.1.1 patch. With this patch, the 1.1.2 can be factory activated immediately.&lt;br /&gt;
&lt;br /&gt;
The patch details:&lt;br /&gt;
&lt;br /&gt;
    Search for differences&lt;br /&gt;
&lt;br /&gt;
    1. G:\iPhone Stuffs\lockdownd\lockdownd_112_original\lockdownd: 996,440 bytes&lt;br /&gt;
    2. G:\iPhone Stuffs\lockdownd\lockdownd_112_patched\lockdownd: 996,440 bytes&lt;br /&gt;
    Offsets: hexadec.&lt;br /&gt;
&lt;br /&gt;
    4B4C:    01    14&lt;br /&gt;
    4B4E:    A0    00&lt;br /&gt;
    4B4F:    E3    EA&lt;br /&gt;
    C5C1:    00    40&lt;br /&gt;
    C5C2:    54    A0&lt;br /&gt;
    C5C8:    04    00&lt;br /&gt;
    C5CA:    00    A0&lt;br /&gt;
    C5CB:    1A    E1&lt;br /&gt;
    C5CC:    01    00&lt;br /&gt;
    C5D4:    88    EC&lt;br /&gt;
&lt;br /&gt;
    10 difference(s) found.&lt;br /&gt;
&lt;br /&gt;
Note: the 1.1.2 has a firmware checking routine which will brick phone in case an unexpected version is found. The patch at 4B4C-4B4F fixes it. In case the firmware version causes any problem, the syslog will log the following info&lt;br /&gt;
&lt;br /&gt;
    lookup_baseband_info: Not the expected firmware version. Enabling brick mode&lt;br /&gt;
&lt;br /&gt;
but the actual bricking operations will not be run because the patch will force a jump once the syslog is done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.1.1 original http://rapidshare.com/files/133068876/111_lockdownd_original.zip.html&lt;br /&gt;
&lt;br /&gt;
1.1.1 patched  http://rapidshare.com/files/133068957/111_lockdownd_patched1.zip.html&lt;br /&gt;
&lt;br /&gt;
Details: &lt;br /&gt;
Patch detail:&lt;br /&gt;
&lt;br /&gt;
    Search for differences&lt;br /&gt;
&lt;br /&gt;
    1. C:\iPhone\lockdownd\lockdownd_111_original\lockdownd: 819,328 bytes&lt;br /&gt;
    2. C:\iPhone\lockdownd\lockdownd_111_patched\lockdownd: 819,328 bytes&lt;br /&gt;
    Offsets: hexadec.&lt;br /&gt;
&lt;br /&gt;
    B810: 04 00&lt;br /&gt;
    B812: 00 A0&lt;br /&gt;
    B813: 1A E1&lt;br /&gt;
    B814: 24 54&lt;br /&gt;
    B818: 01 00&lt;br /&gt;
&lt;br /&gt;
    5 difference(s) found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source: George Zhu's Blog&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Tutorial:Mounting_the_Ramdisk_of_IPSW_in_Betas_4-7&amp;diff=350</id>
		<title>Tutorial:Mounting the Ramdisk of IPSW in Betas 4-7</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Tutorial:Mounting_the_Ramdisk_of_IPSW_in_Betas_4-7&amp;diff=350"/>
		<updated>2008-07-28T12:57:45Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: New page: '''How to decrypt beta 4-7 ramdisks''' From Chronic Dev User Wiki Jump to: navigation, search Preparation  First unzip your ipsw, and take out the ramdisk file (it will be around 18mb). Th...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''How to decrypt beta 4-7 ramdisks'''&lt;br /&gt;
From Chronic Dev User Wiki&lt;br /&gt;
Jump to: navigation, search&lt;br /&gt;
Preparation&lt;br /&gt;
&lt;br /&gt;
First unzip your ipsw, and take out the ramdisk file (it will be around 18mb). Then put it on your desktop&lt;br /&gt;
In Terminal...&lt;br /&gt;
&lt;br /&gt;
Launch /Applications/Utilities/Terminal.app&lt;br /&gt;
&lt;br /&gt;
Then type the following:&lt;br /&gt;
&lt;br /&gt;
  * cd Desktop&lt;br /&gt;
  * echo `hexdump -s12 -n4 -e '&amp;quot;%d\n&amp;quot;' ramdisks-hould-just-be-a-bunch-of-numbers.dmg ` / 32 | bc&lt;br /&gt;
&lt;br /&gt;
A number should appear. For example, in the case of beta 5, it would be 604800.&lt;br /&gt;
&lt;br /&gt;
So you will type the following command now:&lt;br /&gt;
&lt;br /&gt;
  * dd if=ramdisk-name-aka-a-bunch-of-numbers.dmg of=ramdiskb5.dmg bs=32 skip=1 count=**NUMBERS-GO-HERE** conv=sync&lt;br /&gt;
&lt;br /&gt;
After this, you will have a file called ramdiskb5.dmg on your desktop. Just double click this file and it should mount fine.&lt;br /&gt;
Example: Beta 5 Ramdisk&lt;br /&gt;
&lt;br /&gt;
Last login: Tue May 6 21:37:15 on ttys000&lt;br /&gt;
&lt;br /&gt;
  Macintosh:~ xxxxxxxxx$ cd /Users/xxxxxxx/Desktop/iPhone1,1_2.0_5A274d_Resto (THIS IS WHERE I UNZIPPED MY IPSW. I was a bit sloppy and did it the quick but annoying way, and accidently deleted some letters. But my point is that this is a folder name. You'd probably be better off just unzipping the ramdisk to your desktop rather than to a folder)&lt;br /&gt;
  * Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxx$ echo `hexdump -s12 -n4 -e '&amp;quot;%d\n&amp;quot;' 018-3615-6.dmg ` / 32 | bc (**THIS GETS ME THE NUMBER I NEED FOR THE NEXT STETP**)&lt;br /&gt;
  * 604800 (**THIS IS THE NUMBER I NEED FOR THE NEXT COMMAND**)&lt;br /&gt;
  * Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxxx$ dd if=018-3615-6.dmg of=ramdiskb5.dmg bs=32 skip=1 count=604800 conv=sync&lt;br /&gt;
  * 604800+0 records in&lt;br /&gt;
  * 604800+0 records out&lt;br /&gt;
  * 19353600 bytes transferred in 5.721840 secs (3382408 bytes/sec) (**THIS MADE MY RAMDISK MOUNTABLE**)&lt;br /&gt;
  * (**AT THIS POINT, THE DECRYPTED RAMDISK WAS ON MY DESKTOP, READY FOR USE**)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
source: http://www.chronic-dev.org&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Main_Page&amp;diff=349</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Main_Page&amp;diff=349"/>
		<updated>2008-07-28T12:57:04Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: /* Tutorials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table border=1 width=100%&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#64ff64 width=50%&amp;gt;&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;[[PwnageTool|Jailbreak]]&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=#ff6464 width=50%&amp;gt;&amp;lt;center&amp;gt;&amp;lt;b&amp;gt;[[Unlock 2.0|Unlock]]&amp;lt;/b&amp;gt;&amp;lt;/center&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td colspan=2&amp;gt;&lt;br /&gt;
  [[Disclaimer]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Welcome to the iPhone wiki. This is a conglomerate work of everything done by everyone on the iPhone. Anyone can post here, just create an account. This is needed to avoid spam.&lt;br /&gt;
&lt;br /&gt;
Read(and edit) the [[constitution]] to understand what purpose this wiki serves.&lt;br /&gt;
&lt;br /&gt;
Read [[Up to speed|this]] to get up to speed in the iPhone community. Read the [[timeline]] to see where we are.&lt;br /&gt;
&lt;br /&gt;
If you have notes on something you did, post them here. Even if it isn't pretty.&lt;br /&gt;
&lt;br /&gt;
If you have a fix for a problem people are having, post it here.&lt;br /&gt;
&lt;br /&gt;
==Hardware==&lt;br /&gt;
* [[m68ap|iPhone(m68ap)]]&lt;br /&gt;
* [[n82ap|iPhone 3G(n82ap)]]&lt;br /&gt;
* [[n45ap|iPod touch(n45ap)]]&lt;br /&gt;
&lt;br /&gt;
==App Processor(Jailbreak)==&lt;br /&gt;
* [[S5L8900]]&lt;br /&gt;
&lt;br /&gt;
===Exploits===&lt;br /&gt;
* [[Restore Mode]]&lt;br /&gt;
* [[jailbreakme]]&lt;br /&gt;
* [[symlinks]]&lt;br /&gt;
* [[Ramdisk Hack]]&lt;br /&gt;
* [[pwnage]]&lt;br /&gt;
* [[diags]]&lt;br /&gt;
* [[pwnage 2.0]]&lt;br /&gt;
&lt;br /&gt;
===Boot Chain===&lt;br /&gt;
[[VROM]]-&amp;gt;[[LLB]]-&amp;gt;[[iBoot]]-&amp;gt;[[Kernel]]-&amp;gt;[[System|System Software]]&lt;br /&gt;
&lt;br /&gt;
===Upgrade Process===&lt;br /&gt;
[[VROM]]-&amp;gt;[[DFU]]-&amp;gt;[[WTF]]-&amp;gt;[[iBoot]]-&amp;gt;[[Kernel]]-&amp;gt;[[Ramdisk]]-&amp;gt;[[Restore Mode|Restore]]&lt;br /&gt;
&lt;br /&gt;
==Baseband(Unlock)==&lt;br /&gt;
* [[S-Gold 2]]&lt;br /&gt;
* [[X-Gold 608]]&lt;br /&gt;
&lt;br /&gt;
===Exploits===&lt;br /&gt;
* [[SIM hacks]]&lt;br /&gt;
* [[Fakeblank|Hardware Fakeblank]]&lt;br /&gt;
* [[IPSF]]&lt;br /&gt;
* [[Minus 0x400]]&lt;br /&gt;
* [[Jerrysim]]&lt;br /&gt;
* [[Minus 0x20000 with Back Extend Erase]]&lt;br /&gt;
&lt;br /&gt;
===Theoretical Attacks===&lt;br /&gt;
* [[NCK Brute Force]]&lt;br /&gt;
* [[Baseband JTAG]]&lt;br /&gt;
&lt;br /&gt;
===Boot Chain===&lt;br /&gt;
[[Baseband Bootrom|bootrom]]-&amp;gt;[[Baseband Bootloader|bootloader]]-&amp;gt;[[Baseband Firmware|firmware]]&lt;br /&gt;
&lt;br /&gt;
==File formats==&lt;br /&gt;
* [[8900 File Format]]&lt;br /&gt;
* [[IMG2 File Format]]&lt;br /&gt;
* [[IMG3 File Format]]&lt;br /&gt;
* [[secpack]]&lt;br /&gt;
* [[secpack 2.0]]&lt;br /&gt;
* [[seczone]]&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
* [[Recovery Mode 0x1280]]&lt;br /&gt;
* [[Recovery Mode 0x1281]]&lt;br /&gt;
* [[DFU 0x1222]]&lt;br /&gt;
* [[WTF 0x1227]]&lt;br /&gt;
* [[Normal Mode 0x1290]]&lt;br /&gt;
* [[Restore Mode]]&lt;br /&gt;
* [[Baseband Bootrom Protocol]]&lt;br /&gt;
* [[Interactive Mode|Baseband Bootloader Protocol]]&lt;br /&gt;
&lt;br /&gt;
==Keys==&lt;br /&gt;
* [[AES Keys]]&lt;br /&gt;
* [[Apple Certificate]]&lt;br /&gt;
* [[Baseband RSA Keys]]&lt;br /&gt;
* [[Baseband TEA Keys]]&lt;br /&gt;
* [[VFDecrypt Keys|Root Filesystem DMG Keys]]&lt;br /&gt;
&lt;br /&gt;
==Application Development==&lt;br /&gt;
* [[Toolchain]]&lt;br /&gt;
* [[Frameworks]]&lt;br /&gt;
* [[Apple Certification Process]]&lt;br /&gt;
* [[Distribution Methods]]&lt;br /&gt;
&lt;br /&gt;
==Tutorials==&lt;br /&gt;
* [[Toolchain Tutorial]]&lt;br /&gt;
* [[Decrypt iPhone ipsw Beta 4-7 ramdisk]]&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
* [[jailbreak]]&lt;br /&gt;
* [[activation]]&lt;br /&gt;
* [[unlock]]&lt;br /&gt;
* [[baseband]]&lt;br /&gt;
* [[Baseband Bootloader|bootloader]]&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
	<entry>
		<id>https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=348</id>
		<title>Toolchain</title>
		<link rel="alternate" type="text/html" href="https://www.theiphonewiki.com/w/index.php?title=Toolchain&amp;diff=348"/>
		<updated>2008-07-28T12:43:18Z</updated>

		<summary type="html">&lt;p&gt;Master-lex-: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;iPhone Toolchain&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Tiger&lt;br /&gt;
&lt;br /&gt;
'''This is a brief description about how to install iPhone toolchain on Mac OS X Tiger.&lt;br /&gt;
Needed Packages&lt;br /&gt;
'''&lt;br /&gt;
    1. llvm source&lt;br /&gt;
    2. iphone-dev source&lt;br /&gt;
    3. iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Put all the packages in your $HOME folder.&lt;br /&gt;
How To Build&lt;br /&gt;
&lt;br /&gt;
Make sure you’re running Mac OS X 10.4, and have installed Xcode development environment.&lt;br /&gt;
1. Extract packages&lt;br /&gt;
&lt;br /&gt;
    $ cd ~&lt;br /&gt;
    $ tar xjvf llvm-svn.tar.bz2&lt;br /&gt;
    $ tar xjvf iphone-dev.tar.bz2&lt;br /&gt;
    $ cd /usr/local&lt;br /&gt;
    $ sudo tar xjvf ~/iphone-filesystem.tar.bz2&lt;br /&gt;
    $ sudo mkdir -p /usr/local/arm-apple-darwin&lt;br /&gt;
    $ LLVMOBJDIR=~/llvm-svn&lt;br /&gt;
    $ HEAVENLY=/usr/local/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
2. Build LLVM&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
3. Build odcctools&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ cd ~/iphone-dev/build/odcctools&lt;br /&gt;
    $ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
4. Install headers&lt;br /&gt;
&lt;br /&gt;
    $ cd ~/iphone-dev/include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
&lt;br /&gt;
5. Install csu (binary)&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/csu&lt;br /&gt;
    $ cd ~/iphone-dev/build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
6. Build LLVM-GCC&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ cd ~/iphone-dev/build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --objc-root` \&lt;br /&gt;
    --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
    --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
    --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
&lt;br /&gt;
Done.&lt;br /&gt;
Build iPhone Toolchain on Mac OS X Leopard&lt;br /&gt;
&lt;br /&gt;
'''HOWTO build the toolchain for 1.1.1 on Leopard by drudge with pure ownage by lupinglade'''&lt;br /&gt;
&lt;br /&gt;
Ensure that you have a copy of bison and flex installed on your system. All major systems should have these tools installed or available in package management systems.&lt;br /&gt;
&lt;br /&gt;
    $ bison --version&lt;br /&gt;
    GNU Bison version 1.28&lt;br /&gt;
    $ flex --version&lt;br /&gt;
    flex version 2.5.4&lt;br /&gt;
&lt;br /&gt;
Check out a copy of LLVM SVN, and build a release build (as opposed to a debug one). Currently, due to Issue 70, we are limited to revision 42498.&lt;br /&gt;
&lt;br /&gt;
    $ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-svn -r 42498&lt;br /&gt;
    $ pushd llvm-svn&lt;br /&gt;
    $ ./configure --enable-optimized&lt;br /&gt;
    $ make ENABLE_OPTIMIZED=1&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ LLVMOBJDIR=`pwd`&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Check out a copy of the iphone-dev SVN repository.&lt;br /&gt;
&lt;br /&gt;
    $ svn checkout http://iphone-dev.googlecode.com/svn/trunk/ iphone-dev&lt;br /&gt;
    pushd iphone-dev&lt;br /&gt;
&lt;br /&gt;
Make a directory to hold the toolchain.&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/arm-apple-darwin&lt;br /&gt;
&lt;br /&gt;
Build odcctools.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/odcctools&lt;br /&gt;
    $ pushd build/odcctools&lt;br /&gt;
    ../../odcctools/configure --target=arm-apple-darwin --disable-ld64&lt;br /&gt;
    export INCPRIVEXT=&amp;quot;-isysroot /Developer/SDKs/MacOSX10.4u.sdk&amp;quot;&lt;br /&gt;
    $ make&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Get a copy of the iPhone root filesystem. This is usually obtained by decrypting and extracting the iPhone restore software using these tools, but there are many other methods to obtain this, including simply using scp to download all the files from the iPhone over Wi-Fi. I would use the method describled here: http://www.touchdev.net/wiki/Jailbreak_Guide to get the dmg.&lt;br /&gt;
&lt;br /&gt;
To unpack the root filesystem, mount the dmg, open terminal and run&lt;br /&gt;
&lt;br /&gt;
    $ sudo mkdir /usr/local/share/iphone-filesystem&lt;br /&gt;
    $ sudo cp -Rp /Volumes/Snowbird3A110a.N45Bundle/* /usr/local/share/iphone-filesystem/&lt;br /&gt;
&lt;br /&gt;
Now, set the environment variable $HEAVENLY to its path:&lt;br /&gt;
&lt;br /&gt;
    $ HEAVENLY=/usr/local/share/iphone-filesystem&lt;br /&gt;
&lt;br /&gt;
Patch the system headers&lt;br /&gt;
&lt;br /&gt;
    $ pushd include&lt;br /&gt;
    $ ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
    $ sudo bash install-headers.sh&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Install csu, which includes crt1.o, dylib1.o, and bundle1.o. Don’t rebuild them from source, as this requires a working cross-GCC, which you don’t have yet (and the build-from-source process for csu is broken right now anyway). Binaries are provided for this reason.&lt;br /&gt;
&lt;br /&gt;
    $ mkdir -p build/csu&lt;br /&gt;
    $ pushd build/csu&lt;br /&gt;
    $ ../../csu/configure --host=arm-apple-darwin&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
Configure and make LLVM-GCC. Make sure that $LLVMOBJDIR and $HEAVENLY are set per the instructions above.&lt;br /&gt;
&lt;br /&gt;
    $ mv llvm-gcc-4.0-iphone/configure llvm-gcc-4.0-iphone/configure.old&lt;br /&gt;
    $ sed 's/^FLAGS_FOR_TARGET=$/FLAGS_FOR_TARGET=${FLAGS_FOR_TARGET-}/g' \&lt;br /&gt;
     llvm-gcc-4.0-iphone/configure.old &amp;gt; llvm-gcc-4.0-iphone/configure&lt;br /&gt;
    $ sudo ln -s /usr/local/arm-apple-darwin/lib/crt1.o \&lt;br /&gt;
     /usr/local/arm-apple-darwin/lib/crt1.10.5.o&lt;br /&gt;
    $ mkdir -p build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ pushd build/llvm-gcc-4.0-iphone&lt;br /&gt;
    $ export FLAGS_FOR_TARGET=&amp;quot;-mmacosx-version-min=10.1&amp;quot;&lt;br /&gt;
     ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \&lt;br /&gt;
     --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \&lt;br /&gt;
     --with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \&lt;br /&gt;
     --with-ld=/usr/local/bin/arm-apple-darwin-ld&lt;br /&gt;
    $ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn&lt;br /&gt;
    $ sudo make install&lt;br /&gt;
    $ popd&lt;br /&gt;
    $ popd&lt;br /&gt;
&lt;br /&gt;
You’re done. Have fun!&lt;br /&gt;
&lt;br /&gt;
'''Build iPhone Toolchain on Windows XP'''&lt;br /&gt;
&lt;br /&gt;
This guide and binary installation server is provided by David Supuran .&lt;br /&gt;
If you have any questions, comments, or suggestions please visit irc.osx86.hu #iphone or email me at Darken@iPhoneGameover.com&lt;br /&gt;
Requirements&lt;br /&gt;
&lt;br /&gt;
/Developer/SDKs/MacOSX10.4u.sdk&lt;br /&gt;
&lt;br /&gt;
To obtain this directory it is recommended that you download Xcode 2.5 Developer Tools (Disk Image) (902.9 MB as of 30 Oct 2007).&lt;br /&gt;
&lt;br /&gt;
Once you have downloaded the disk image, you will need additional software to open and extract it such as '''PowerISO''', then extract the following file:&lt;br /&gt;
&lt;br /&gt;
    \Packages\Packages\MacOSX10.4.Universal.pkg\Contents\Archive.pax.gz&lt;br /&gt;
&lt;br /&gt;
'''Note: It has been reported that UltraISO and MacDrive do not work for extracting this package.&lt;br /&gt;
This archive provides the necessary header files which will later be installed for the compiler to use.'''&lt;br /&gt;
&lt;br /&gt;
Note: Due to Apple’s strict redistribution license the files required from this archive could not be included in the installer, so you are required to agree to the terms and licenses under your ADC account and download the full disk image.&lt;br /&gt;
&lt;br /&gt;
iPhone/iTouch root filesystem&lt;br /&gt;
&lt;br /&gt;
The easiest way to obtain the root filesystem is to have a wireless network and OpenSSH installed. If you have this please skip this part as the post-installation will walk you through obtaining the files automatically. You may alternatively decrypt a firmware ipsw manually and place the extracted filesystem in /usr/local/arm-apple-darwin/filesystem after Cygwin is installed.&lt;br /&gt;
Installation&lt;br /&gt;
&lt;br /&gt;
Download and run the Cygwin Setup. It is recommended you use the default settings and click Next until you get to the following window:&lt;br /&gt;
Cygwin Setup Step 6&lt;br /&gt;
Type in the User URL: http://www.iphonegameover.com/cygwin, then click Add.&lt;br /&gt;
&lt;br /&gt;
Once you see the URL added and highlighted in the Available Download Sites list click Next.&lt;br /&gt;
Cygwin Setup Step 7&lt;br /&gt;
All the software is selected for you; it is recommended you use the default settings and click Next, then follow the on-screen instructions to finish the setup.&lt;br /&gt;
Cygwin Setup Step 8&lt;br /&gt;
Click the Start button and select All Programs -&amp;gt; Cygwin -&amp;gt; Cygwin Bash Shell and you will see the following window:&lt;br /&gt;
Cygwin Setup Step 9&lt;br /&gt;
Place the Archive.pax.gz file in your Cygwin home directory that you obtained earlier from the Xcode 2.5 Developer Tools (Disk Image). Example home directory: C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
When asked ‘Do you wish to connect to your device and download the required files?‘ Press y for Yes.&lt;br /&gt;
&lt;br /&gt;
Type in the IP address of your iPhone / iTouch device on the next prompt that says ‘Please enter the remote IP address of your device:‘.&lt;br /&gt;
&lt;br /&gt;
*Note: If you do not know the IP address of your device go to Settings -&amp;gt; Wi-Fi and Click the blue arrow to the right of your wireless network you are currently connected to which is marked with a check on the left.&lt;br /&gt;
&lt;br /&gt;
If SSH asks you ‘Are you sure you want to continue connecting (yes/no)?‘ Type yes.&lt;br /&gt;
Cygwin Setup Step 10&lt;br /&gt;
NOTE: SSH will now create an archive of your root file system once you type in your password which takes approximately 5 minutes, so please be patient.&lt;br /&gt;
&lt;br /&gt;
If you are asked ‘Do you wish to install the XCode header files now?‘ Press y for Yes.&lt;br /&gt;
If you have been following the instructions so far, you will see the following:&lt;br /&gt;
&lt;br /&gt;
    Found Archive.pax.gz in current directory.&lt;br /&gt;
    Extracting /home/David/Archive.pax.gz…&lt;br /&gt;
&lt;br /&gt;
If everything goes well you will see:&lt;br /&gt;
&lt;br /&gt;
    Your toolchain installation is now complete!&lt;/div&gt;</summary>
		<author><name>Master-lex-</name></author>
		
	</entry>
</feed>