csrutil disable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
####################################################################### | |
# | |
# Project......: install_libimobiledevice.sh | |
# Creator......: Dev-Jam remasterized by matteyeux on 27/12/15 | |
####################################################################### | |
echo -e "\033[31mDev-Jam 12/01/2015 - Script to build & install Libimobiledevice\033[0m" | |
echo -e "\033[32m\033[1m\033[4m\033[5m\033[7mCreated by Dev-Jam, improved by @matteyeux on 27/12/15\033[0m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WORKING_DIRECTORY=`pwd` | |
repo_list=(libimobiledevice idevicerestore libplist libusbmuxd usbmuxd libirecovery) | |
for repo in ${repo_list[@]}; do | |
directory="$WORKING_DIRECTORY/$repo" | |
if [ -d "$directory" ]; then | |
rm -rf "$directory" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
# sudo apt upgrade | |
sudo apt install -y libcurl4-openssl-dev libplist-dev libzip-dev openssl libssl-dev libusb-1.0-0-dev libreadline-dev build-essential git make automake libtool pkg-config | |
git clone https://github.com/libimobiledevice/libirecovery | |
git clone https://github.com/libimobiledevice/idevicerestore | |
git clone https://github.com/libimobiledevice/usbmuxd | |
git clone https://github.com/libimobiledevice/libimobiledevice | |
git clone https://github.com/libimobiledevice/libusbmuxd | |
git clone https://github.com/libimobiledevice/libplist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/idevicerestore.c b/src/idevicerestore.c | |
index 03e4811..ffd5363 100644 | |
--- a/src/idevicerestore.c | |
+++ b/src/idevicerestore.c | |
@@ -76,6 +76,7 @@ static struct option longopts[] = { | |
{ "plain-progress", no_argument, NULL, 'P' }, | |
{ "restore-mode", no_argument, NULL, 'R' }, | |
{ "ticket", required_argument, NULL, 'T' }, | |
+ { "no-restore", no_argument, NULL, 'z'}, | |
{ NULL, 0, NULL, 0 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
import ObjectiveC.runtime | |
// MARK: - IOKit | |
@objc private protocol IOHIDEvent: NSObjectProtocol {} | |
private struct IOHIDDigitizerEventMask: OptionSet { | |
let rawValue: UInt32 | |
init(rawValue: UInt32) { self.rawValue = rawValue } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# macOS 10.15 | |
# Xcode 11.2 | |
# Homebrew 2.1.16 | |
# Homebrew/homebrew-core (git revision f466; last commit 2019-11-07) | |
# Homebrew/homebrew-cask (git revision 9ff44; last commit 2019-11-07) | |
# yum install python python-devel | |
# echo '[group_kdesig-cmake3_EPEL] | |
# name=Copr repo for cmake3_EPEL owned by @kdesig |
ipwndfu patch for t7000/s8000/s8003
https://gist.github.com/a1exdandy/ae3fb332efac879e97a41291f7fef727
Thanks to matty for testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== iBridge2,1,iBridge2,3,iBridge2,4,iBridge2,5,iBridge2,7,iBridge2,8_3.5_16P5200_Restore.ipsw | |
Firmware/dfu/iBEC.j137.RELEASE.im4p | |
3723c95ba25706b4650a92177afc28af57e0a236fd0e46b83cffb6140392b63355562b5ed671bda6b5929ff728f0b324 | |
Firmware/dfu/iBSS.j140k.RELEASE.im4p | |
34d7aa36e00b5c772bf7381c821253a714ed2714552a48a478b391faac32bc0eef2577d5a04e01f462648754eb9af69e | |
Firmware/dfu/iBSS.j137.RELEASE.im4p | |
4bb3ecf8b19401a009b5c0003b64ac3bae8258f6d9c42b91831927e348957dfde01384caa3fbee1b6e665d168b46fc47 | |
Firmware/dfu/iBEC.j680.RELEASE.im4p | |
893d17aa768a6ebd8f85b4251ef8f692c766f7b1868bd974a3dc9fcd0dd9608e4e0709bd9208752d9515a636c129378c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== iBridge2,1,iBridge2,3,iBridge2,4,iBridge2,5,iBridge2,7,iBridge2,8_3.5_16P5200_Restore.ipsw | |
Firmware/dfu/iBEC.j137.RELEASE.im4p | |
3723c95ba25706b4650a92177afc28af57e0a236fd0e46b83cffb6140392b63355562b5ed671bda6b5929ff728f0b324 | |
Firmware/dfu/iBSS.j140k.RELEASE.im4p | |
34d7aa36e00b5c772bf7381c821253a714ed2714552a48a478b391faac32bc0eef2577d5a04e01f462648754eb9af69e | |
Firmware/dfu/iBSS.j137.RELEASE.im4p | |
4bb3ecf8b19401a009b5c0003b64ac3bae8258f6d9c42b91831927e348957dfde01384caa3fbee1b6e665d168b46fc47 | |
Firmware/dfu/iBEC.j680.RELEASE.im4p | |
893d17aa768a6ebd8f85b4251ef8f692c766f7b1868bd974a3dc9fcd0dd9608e4e0709bd9208752d9515a636c129378c |