mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-02 18:22:38 +01:00
Revert
This commit is contained in:
parent
4e584bf1df
commit
2d9343270b
@ -103,7 +103,7 @@
|
||||
- Restoring **tethered** to any version is supported on the following devices:
|
||||
- iPhone 4 (3,2 and 3,3), 4S, 5, 5C
|
||||
- iPad 2, 3, 4, mini 1
|
||||
- iPod touch 4, 5
|
||||
- iPod touch 3, 4, 5
|
||||
- Restoring and jailbreaking to other unsigned versions without blobs is supported on the following devices and target version range:
|
||||
- iPhone 3GS - iOS 3.0 to 6.1.3 (all versions)
|
||||
- iPod touch 2 - iOS 2.1.1 to 4.1 (all versions)
|
||||
|
19
restore.sh
19
restore.sh
@ -5598,9 +5598,10 @@ device_ramdisk_ios3exploit() {
|
||||
$scp -P $ssh_port ../saved/iPad1,1/iBoot3_$device_ecid root@127.0.0.1:/mnt1/iBEC
|
||||
fi
|
||||
case $device_vers in
|
||||
3.1.3 | 3.2* ) opt='y';;
|
||||
3.1.3 | 3.2* ) read -p "$(input "Do you also want to jailbreak it now? (Y/n) ")" opt;;
|
||||
* ) opt='n';;
|
||||
esac
|
||||
if [[ $opt == 'y' ]]; then
|
||||
if [[ $opt != 'N' && $opt != 'n' ]]; then
|
||||
untether="${device_type}_${device_build}.tar"
|
||||
log "Sending $untether"
|
||||
$scp -P $ssh_port $jelbrek/greenpois0n/$untether root@127.0.0.1:/mnt1
|
||||
@ -5618,18 +5619,6 @@ device_ramdisk_ios3exploit() {
|
||||
device_send_rdtar sshdeb.tar
|
||||
fi
|
||||
fi
|
||||
if [[ $device_vers == "3.1.3" ]]; then
|
||||
log "Getting lockdownd from device"
|
||||
$scp -P $ssh_port root@127.0.0.1:/mnt1/usr/libexec/lockdownd .
|
||||
log "Patching lockdownd"
|
||||
local patch="../resources/firmware/FirmwareBundles/Down_iPhone2,1_3.1.3_7E18.bundle/lockdownd.patch"
|
||||
$bspatch lockdownd lockdownd.patched "$patch"
|
||||
log "Renaming original lockdownd"
|
||||
$ssh -p $ssh_port root@127.0.0.1 "[[ ! -e /mnt1/usr/libexec/lockdownd.orig ]] && mv /mnt1/usr/libexec/lockdownd /mnt1/usr/libexec/lockdownd.orig"
|
||||
log "Copying patched lockdownd to device"
|
||||
$scp -P $ssh_port lockdownd.patched root@127.0.0.1:/mnt1/usr/libexec/lockdownd
|
||||
$ssh -p $ssh_port root@127.0.0.1 "chmod +x /mnt1/usr/libexec/lockdownd"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@ -6519,7 +6508,7 @@ menu_restore() {
|
||||
menu_items+=("Other (Tethered)")
|
||||
fi
|
||||
case $device_type in
|
||||
iPhone3,[23] | iPod4,1 ) menu_items+=("Other (Tethered)");;
|
||||
iPhone3,[23] | iPod[34],1 ) menu_items+=("Other (Tethered)");;
|
||||
esac
|
||||
if (( device_proc < 7 )); then
|
||||
menu_items+=("DFU IPSW")
|
||||
|
Loading…
x
Reference in New Issue
Block a user