Skip to content

Commit

Permalink
An update
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Nov 1, 2023
1 parent b46c095 commit 2c72bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Binary file modified resources/firmware/src/target/n18/reboot4
Binary file not shown.
6 changes: 2 additions & 4 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2086,7 +2086,7 @@ ipsw_prepare_bundle() {
echo -e "<key>RootFilesystemSize</key><integer>$RootSize</integer>" >> $NewPlist
printf "<key>RamdiskOptionsPath</key><string>/usr/local/share/restore/options" >> $NewPlist
if [[ $device_target_vers != "3"* && $device_target_vers != "4"* ]]; then
printf ".$device_model" >> $NewPlist
printf ".%s" "$device_model" >> $NewPlist
fi
echo -e ".plist</string>" >> $NewPlist
echo -e "<key>SHA256</key><string>$IPSWSHA256</string>" >> $NewPlist
Expand Down Expand Up @@ -2287,9 +2287,7 @@ patch_iboot() {
ipsw_prepare_ios4powder() {
local ExtraArgs="-apticket $shsh_path"
local ExtraArgs2="--boot-partition --boot-ramdisk --logo4 "
local IV
local JBFiles=()
local Key

if [[ -e "$ipsw_custom.ipsw" ]]; then
log "Found existing Custom IPSW. Skipping IPSW creation."
Expand Down Expand Up @@ -4731,7 +4729,7 @@ main() {
"208.67.222.222")
local check
for i in "${try[@]}"; do
ping -c1 $try >/dev/null
ping -c1 $i >/dev/null
check=$?
if [[ $check == 0 ]]; then
break
Expand Down

0 comments on commit 2c72bd9

Please sign in to comment.