How to Compile futurerestore+libipatcher in macOS (OS X)

Original Post: pastebin

Requirements :
MacOS (Mac Product or Hackintosh (w/o QE/CI is fine to build and flash firmware), VMWare not recommended) *tested on Sierra 10.12.6 w/o QE/CI // 2gb ram // intel celeron
JDK Installed (here to download)
Building Skill

Ubuntu (Linux) Guide : Here

note: u will download in total of 1GB+, the process will take 1hour to build all and less/more also depending on your git clone network speed (1MB/s network speed is recommended )

1. Install Brew (skip if already installed)
Enter in Terminal :

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew upgrade



2. Build and Install Required Dependencies

Enter all command below the * description in Terminal :

*return to home
cd
*create dependency directory at home
mkdir dependency
cd dependency

*install required brew packages
brew install automake autoconf libtool pkg-config cmake curl

*build and install libplist, libirecovery, libcrippy, libpartialzip, libzip 1.4.0 and libfragmentzip
git clone http://git.libimobiledevice.org/libplist.git && cd ./libplist && bash autogen.sh && sudo make install && cd ..
git clone https://github.com/tihmstar/libirecovery && cd ./libirecovery && bash autogen.sh && sudo make install && cd ..
git clone https://github.com/tihmstar/libcrippy && cd ./libcrippy && bash autogen.sh && sudo make install && cd ..
git clone https://github.com/tihmstar/libpartialzip && cd ./libpartialzip && bash autogen.sh && sudo make install && cd ..
git clone https://github.com/nih-at/libzip.git && cd ./libzip && mkdir build && cd build && cmake .. && make && sudo make install && cd ..
git clone https://github.com/tihmstar/libfragmentzip && cd ./libfragmentzip && bash autogen.sh && sudo make install && cd .. 

*build and install openssl
cd /usr/local
sudo mkdir ssl
sudo chmod 777 /usr/local/ssl
cd
cd dependency
git clone https://github.com/openssl/openssl.git
cd openssl
./config
make
sudo make install
brew update
brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
cd ..

*build and compile libimobiledevice v1.2.1
git clone --recursive https://github.com/libimobiledevice/libimobiledevice.git && cd ./libimobiledevice && bash autogen.sh && sudo make install && cd ..

3. Build and Compile libipatcher (for 32bit support, skip if u didnt need 32bit support)

1. Download Required Files : xpwn - libipatcherlibs - library-iphone.sh
2. Extract libipatcherlibs (or simply double click) & enter this command in Terminal (change downloads with the directory where do u extract it)

cd ~
cd Downloads
cd libiPatcherLibs
sudo scp -r lib* /usr/local/lib

3. Extract library-iphone & enter this command in Terminal

cd ~
cd Downloads
cd library-iphone
bash library-iphone.sh

4. Clone libipatcher (enter in terminal)
cd ~
cd dependency
git clone --recursive https://github.com/tihmstar/libipatcher.git

5. Extract xpwn file that you have downloaded and move "xpwn" and "openssl" folder inside extracted folder to libipatcher/include

6. Enter this command in terminal to build libiPatcher

cd libipatcher
./autogen.sh && sudo make install
cd ..

4. Build and Compile Futurerestore




Enter this command in terminal

cd ~
cd dependency
git clone --recursive https://github.com/tihmstar/futurerestore.git
cd futurerestore
./autogen.sh
make
ls futurerestore/futurerestore
sudo make install
cd

5. Done! Enter this command to open futurerestore
futurerestore
6. How to use for 32bit downgrade/upgrade from 10.x to 10.x:

Make sure ur device already in kDFU mode
Terminal Command : (change *shsh with your shsh2 noapnonce location and *ipsw with your ipsw location
 
futurerestore -t *shsh --latest-baseband --use-pwndfu *ipsw 


If u have find any error, please leave a comment below

All Credit goes to the creator of the pastebin instruction, library-iphone, compiled libipatcherlibs, xpwn sources and tihmstar
I didnt provide any compiled version of futurerestore since its required some dependency inorder to run it (= 11:12 fresh compile)

Comments

  1. Hey having some trouble maybe u can help me out

    ReplyDelete
  2. How To Compile Futurerestore+Libipatcher In Macos (Os X) >>>>> Download Now

    >>>>> Download Full

    How To Compile Futurerestore+Libipatcher In Macos (Os X) >>>>> Download LINK

    >>>>> Download Now

    How To Compile Futurerestore+Libipatcher In Macos (Os X) >>>>> Download Full

    >>>>> Download LINK tI

    ReplyDelete

Post a Comment

Popular Posts