From 2c72bd959f8a0a5fd248ca20a971e364ea9903fe Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Thu, 2 Nov 2023 07:07:25 +0800 Subject: [PATCH] An update --- resources/firmware/src/target/n18/reboot4 | Bin 587184 -> 587184 bytes restore.sh | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/firmware/src/target/n18/reboot4 b/resources/firmware/src/target/n18/reboot4 index 6670fb25d6c2875547ecdf535023854e8c85090b..8dea85f118bc8711a70fa5f70d2d1b7c9cdb8334 100755 GIT binary patch delta 8864 zcmc&(3tWxa+F!f&W~XRJbW!XSiJ}rBu_ILC%_VX#qKi~i8i}P!(}-^#H2IbFaHkPW)1*KV zq<~ftWEC9PPG6l|$uz9MGDtS)Np<6Q`vxlq7Y<^49mg08WK6>qJ~v^>4id(cwvl&C z*piz~87nnsOma!by>Fp6qPAHS5tB-i@sE{bK%4@8aRP0mis0eMoq#_Im zRAf9_3%UW2qrVw+8xVwkp(qP@#8_52QGbL7XdWNyQ!DK2Qo2JAq1;R6GWK z2Koxv-43~cSIw6MRJ=D?Qo&4@R7e3iU;!uqYrqz80F*!=5Co(9QX)5r@D8+)C7Z|^3rpKeJ#*qp^O!p!a(U#sD4cYBsTs}wGI6S*^ze?$w8`u z7dm|4!y3=xl4{?V&#K)&+^lwaYZfGNA6yLRK&Va=lL}?$U4_V8sZ*g=&tM$UR9 zO4#`q=B(_sjG%f`BCYT9Z+n`OPPBtA?1C`}*`x8AS`&(;>Tk*FLGhID;%L|z|I2Ph zF_5dfnV5u<0aQe?jh-Wzk|nkN7!+e$1vvquKptPJDs~ws^8u zLg{U(DllBn-NCfiJCmMp#169#c`*>^pcg6i$?ghtK9GG-h>Kon8)mQP2&6QN*NT(} zpWAV3fyCV%rqvU*9EGG%QPZ{Djd`w)#FNLZsah@p@}BS%EHagfR4{`V8p3o375Zcb z$>;&BQMR*iSG-@BPumz6?lwCu|!_@ zNYC-5sI7E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qk(6b-h@{8|7IATI1=?qtcJ>O;0yFqPX>(V zTcdH?wLb9Xs+KILdFIn6xHAsr*NMC35Z^XjQ%pPlZHpvU fH$F&BAB0`y{gAB-k2)Xd2LHX>X-knax8HvQXBHVD diff --git a/restore.sh b/restore.sh index 3ba0967..3a3fecd 100755 --- a/restore.sh +++ b/restore.sh @@ -2086,7 +2086,7 @@ ipsw_prepare_bundle() { echo -e "RootFilesystemSize$RootSize" >> $NewPlist printf "RamdiskOptionsPath/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" >> $NewPlist echo -e "SHA256$IPSWSHA256" >> $NewPlist @@ -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." @@ -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