Skip to content

Commit

Permalink
Address #383 and #384
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Jan 12, 2024
1 parent 150801c commit 41b22d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ set_tool_paths() {
iproxy="$dir/iproxy"
irecovery+="$dir/irecovery"
if [[ $platform == "macos" ]]; then
local ideviceinfot="$(which ideviceinfo 2>/dev/null)"
local irecoveryt="$(which irecovery 2>/dev/null)"
#local ideviceinfot="$(which ideviceinfo 2>/dev/null)"
#local irecoveryt="$(which irecovery 2>/dev/null)"
if [[ -n $ideviceinfot && -n $irecoveryt ]]; then
log "Detected libimobiledevice and libirecovery from Homebrew/MacPorts"
ideviceenterrecovery="$(which ideviceenterrecovery)"
Expand Down Expand Up @@ -5307,6 +5307,12 @@ restore_customipsw() {
if [[ -z $ipsw_path ]]; then
error "No IPSW selected, cannot continue."
fi
if [[ $device_proc == 1 ]]; then
print "* Note that you might need to restore twice, due to NOR flash."
print "* For iPhone 2G/3G, the second restore may fail due to baseband."
print "* You can exit recovery mode after by going to: Other Utilities -> Exit Recovery Mode"
pause
fi
if [[ $device_proc == 1 ]]; then
device_enter_mode WTFreal
else
Expand Down

0 comments on commit 41b22d2

Please sign in to comment.