mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
A usbmuxd change
- also allow ios 4 restores on iphone 4 (untested)
This commit is contained in:
parent
34d2e069b9
commit
bc9bd88c15
@ -12,7 +12,7 @@
|
||||
- For iOS 10.3.3 downgrades, use [TotallyNotSpyware](https://totally-not.spyware.lol)
|
||||
- Restore to other iOS versions **with SHSH blobs**
|
||||
- Supports 32-bit/A7/A8 devices, iOS 5 to 12
|
||||
- Also supports iPad 2 iOS 4.3.x
|
||||
- Also supports iPad 2 iOS 4.3.x, iPhone 4 iOS 4.x
|
||||
- The latest baseband will be used for 32-bit devices if applicable
|
||||
- Place device to pwned iBSS/kDFU mode for 32-bit devices
|
||||
- Clear NVRAM for iPhone 4 GSM (Disable/Enable Exploit)
|
||||
|
11
restore.sh
11
restore.sh
@ -208,7 +208,7 @@ set_tool_paths() {
|
||||
irecovery2="sudo "
|
||||
sudo chmod +x $dir/*
|
||||
sudo systemctl stop usbmuxd
|
||||
sudo usbmuxd -px
|
||||
sudo usbmuxd -pz
|
||||
usbmuxd_pid=$!
|
||||
fi
|
||||
|
||||
@ -1626,7 +1626,7 @@ ipsw_prepare_1033() {
|
||||
fi
|
||||
log "Pwned iBSS and iBEC saved at: saved/$device_type"
|
||||
|
||||
# this will not be needed if i get to compile futurerestore on mac
|
||||
# this will not be needed if i get my fork(s) of futurerestore compiled on macos
|
||||
if [[ $platform == "macos" && ! -e "$ipsw_custom.ipsw" ]]; then
|
||||
log "Preparing custom IPSW..."
|
||||
mkdir -p Firmware/dfu
|
||||
@ -1758,7 +1758,10 @@ ipsw_prepare_32bit() {
|
||||
ipsw_prepare_jailbreak
|
||||
return
|
||||
else
|
||||
error "Restoring with iOS 4 blobs is not supported on $device_type. Use iFaith/PwnageTool/sn0wbreeze instead."
|
||||
device_enter_mode pwnDFU
|
||||
ipsw_custom="../${device_type}_${device_target_vers}_${device_target_build}_Restore"
|
||||
restore_idevicerestore
|
||||
return
|
||||
fi
|
||||
fi
|
||||
device_fw_key_check
|
||||
@ -2042,7 +2045,7 @@ restore_idevicerestore() {
|
||||
ExtraArgs="-r"
|
||||
idevicerestore="$idevicererestore"
|
||||
re="re"
|
||||
cp shsh/$device_ecid-$device_type-$device_target_vers.shsh shsh/$device_ecid-$device_type-$device_target_vers-$device_target_build.shsh
|
||||
cp shsh/$device_ecid-$device_type-$device_target_vers.shsh shsh/$device_ecid-$device_type-$device_target_vers-$device_target_build.shsh # remove this if i get my fork of idevicererestore compiled on macos
|
||||
fi
|
||||
ipsw_extract custom
|
||||
if [[ $device_type == "iPad2"* && $device_target_vers == "4.3"* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user