Skip to content

Instantly share code, notes, and snippets.

@kid1carus
Forked from MatthewPierson/fix.sh
Created November 14, 2020 11:12
Show Gist options
  • Save kid1carus/f1fdf7fdfd44ab1bb4c380190dcfffb6 to your computer and use it in GitHub Desktop.
Save kid1carus/f1fdf7fdfd44ab1bb4c380190dcfffb6 to your computer and use it in GitHub Desktop.
Fix for irecovery errors with PyBoot
#!/bin/bash
echo "Downloading and building libimobiledevice" # Just want to make sure theres no libimobiledevice related issues when installing libirecovery
brew install --HEAD libimobiledevice # This is just getting the latest libimobiledevice and building it instead of the older version that brew usually gets
brew link --overwrite libimobiledevice
echo "Downloading and building libirecovery"
mkdir -p build && cd build
git clone https://github.com/libimobiledevice/libirecovery
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" # openssl is annoying
cd libirecovery
git submodule init && git submodule update
./autogen.sh
make && make install
echo "Assuming that all went well we should be done and PyBoot should now run without any irecovery issues!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment