mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Update restore.sh
This commit is contained in:
parent
a74ecb2204
commit
9c5b832391
@ -3043,8 +3043,7 @@ device_ramdisk() {
|
|||||||
iPod2,1 ) device_target_build="8C148";;
|
iPod2,1 ) device_target_build="8C148";;
|
||||||
iPod3,1 | iPad1,1 ) device_target_build="9B206";;
|
iPod3,1 | iPad1,1 ) device_target_build="9B206";;
|
||||||
iPhone2,1 | iPod4,1 ) device_target_build="10B500";;
|
iPhone2,1 | iPod4,1 ) device_target_build="10B500";;
|
||||||
iPhone5,3 ) device_target_build="11B511";;
|
iPhone5,[34] ) device_target_build="11D257";;
|
||||||
iPhone5,4 ) device_target_build="11B651";;
|
|
||||||
* ) device_target_build="10B329";;
|
* ) device_target_build="10B329";;
|
||||||
esac
|
esac
|
||||||
if [[ -n $device_ramdisk_build ]]; then
|
if [[ -n $device_ramdisk_build ]]; then
|
||||||
@ -3394,10 +3393,10 @@ device_ramdisk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
shsh_save_onboard() {
|
shsh_save_onboard() {
|
||||||
if [[ $device_proc == 5 ]]; then
|
if [[ $device_proc == 4 ]] || [[ $device_proc == 6 && $platform == "macos" ]]; then
|
||||||
device_enter_mode kDFU
|
|
||||||
elif [[ $device_proc == 4 ]] || [[ $device_proc == 6 && $platform == "macos" ]]; then
|
|
||||||
device_buttons
|
device_buttons
|
||||||
|
else
|
||||||
|
device_enter_mode kDFU
|
||||||
fi
|
fi
|
||||||
if [[ $device_proc == 4 ]]; then
|
if [[ $device_proc == 4 ]]; then
|
||||||
patch_ibss
|
patch_ibss
|
||||||
|
Loading…
Reference in New Issue
Block a user