Skip to content

Commit 8bda69b

Browse files
committed
Update restore.sh
1 parent d5a518a commit 8bda69b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

restore.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ device_enter_mode() {
18641864
device_ipwndfu send_ibss
18651865
return
18661866
fi
1867-
if [[ $platform == "macos" ]] || (( device_proc > 7 )); then
1867+
if [[ $platform == "macos" ]]; then
18681868
return
18691869
elif [[ $device_proc == 7 ]]; then
18701870
device_ipwndfu rmsigchks
@@ -2700,7 +2700,6 @@ ipsw_prepare_1033() {
27002700
ipsw_prepare_rebootsh() {
27012701
log "Generating reboot.sh"
27022702
echo '#!/bin/bash' | tee reboot.sh
2703-
echo "nvram -d boot-partition; nvram -d boot-ramdisk" | tee -a reboot.sh
27042703
echo "mount_hfs /dev/disk0s1s1 /mnt1; mount_hfs /dev/disk0s1s2 /mnt2" | tee -a reboot.sh
27052704
echo "nvram -d boot-partition; nvram -d boot-ramdisk" | tee -a reboot.sh
27062705
echo "/usr/bin/haxx_overwrite --${device_type}_${device_target_build}" | tee -a reboot.sh
@@ -8503,7 +8502,7 @@ menu_other() {
85038502
device_update_datetime() {
85048503
device_buttons2
85058504
if [[ $device_mode == "Normal" ]]; then
8506-
log "Proceeding on Nzormal mode."
8505+
log "Proceeding on Normal mode."
85078506
device_ssh_message
85088507
device_iproxy
85098508
device_sshpass
@@ -8622,7 +8621,6 @@ device_jailbreak_confirm() {
86228621
print "* For this version, you can also use EverPwnage and sideload it to your device."
86238622
print "* https://github.com/LukeZGD/EverPwnage"
86248623
print "* You may still continue if you really want to do the ramdisk method instead."
8625-
pause
86268624
;;
86278625
9.3.[56] )
86288626
print "* For this version, download kok3shi9 and sideload it to your device."
@@ -8634,7 +8632,6 @@ device_jailbreak_confirm() {
86348632
print "* For this version, you can also use HomeDepot and sideload it to your device."
86358633
print "* https://ios.cfw.guide/installing-homedepot/"
86368634
print "* You may still continue if you really want to do the ramdisk method instead."
8637-
pause
86388635
;;
86398636
10* )
86408637
print "* For this version, download socket and sideload it to your device."
@@ -8646,7 +8643,7 @@ device_jailbreak_confirm() {
86468643
3.[10]* )
86478644
if [[ $device_type != "iPhone2,1" ]]; then
86488645
warn "This version ($device_vers) is not supported for jailbreaking with ramdisk method."
8649-
print "* Supported versions are: 3.1.3 to 9.3.4 (excluding 9.0.x)"
8646+
print "* Supported versions are: 3.1.3 to 9.3.4"
86508647
pause
86518648
return
86528649
fi
@@ -9157,6 +9154,9 @@ device_justboot() {
91579154
if [[ -z $device_bootargs ]]; then
91589155
device_bootargs="-v pio-error=0"
91599156
fi
9157+
if [[ $main_argmode == "device_justboot" ]]; then
9158+
cat "$device_rd_build" > "../saved/$device_type/justboot_${device_ecid}"
9159+
fi
91609160
device_ramdisk justboot
91619161
}
91629162

0 commit comments

Comments
 (0)