You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: restore.sh
+51-11Lines changed: 51 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1736,6 +1736,7 @@ device_enter_mode() {
1736
1736
print "* You may also use checkm8-a5 for the Pi Pico: https://www.reddit.com/r/LegacyJailbreak/comments/1djuprf/working_checkm8a5_on_the_raspberry_pi_pico/"
1737
1737
print "* Also make sure that you have NOT sent a pwned iBSS yet."
1738
1738
print "* If you do not know what you are doing, restart your device in normal mode."
1739
+
print "* For more details, go to: https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/checkm8-a5"
1739
1740
echo
1740
1741
if [[ $device_todfu== 1 ]];then
1741
1742
log "* After putting your device in PWNED DFU, plug it back in your PC/Mac before pressing Enter/Return."
@@ -5133,6 +5134,29 @@ device_buttons() {
5133
5134
done
5134
5135
}
5135
5136
5137
+
device_buttons2() {
5138
+
local selection=("Jailbroken""pwnDFU")
5139
+
if [[ $device_mode!="Normal" ]];then
5140
+
device_enter_mode pwnDFU
5141
+
return
5142
+
fi
5143
+
input "Jailbroken/pwnDFU Mode Option"
5144
+
print "* This device needs to be jailbroken/in kDFU mode before proceeding."
5145
+
print "* Selecting 1 (Jailbroken) is recommended. Your device must be jailbroken and have OpenSSH installed for this option."
5146
+
print "* Selecting 2 (pwnDFU) is for those that prefer the ramdisk method instead."
5147
+
if [[ $device_proc== 5 ]];then
5148
+
warn "Selecting 2 will require usage of checkm8-a5."
5149
+
print "* For more details, go to: https://github.com/LukeZGD/Legacy-iOS-Kit/wiki/checkm8-a5"
5150
+
fi
5151
+
input "Select your option:"
5152
+
selectopt2in"${selection[@]}";do
5153
+
case$opt2in
5154
+
"Jailbroken" ) break;;
5155
+
*"DFU" ) device_enter_mode $opt2;break;;
5156
+
esac
5157
+
done
5158
+
}
5159
+
5136
5160
restore_prepare() {
5137
5161
case$device_procin
5138
5162
1 )
@@ -5849,7 +5873,7 @@ device_ramdisk() {
5849
5873
elif [[ $device_proc== 1 ]];then
5850
5874
device_enter_mode DFU
5851
5875
else
5852
-
device_enter_mode kDFU
5876
+
device_buttons2
5853
5877
fi
5854
5878
5855
5879
if [[ $device_type=="iPad1,1"&&$build_id!="9"* ]];then
0 commit comments