From 40adf6d8ca4cc3c9881d52286235a1dc14c594bc Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Wed, 20 Jul 2022 22:51:26 +0800 Subject: [PATCH] Fix creating custom 7.1.2 ipsw previous 2 commits broke 7.1.2 stuff, this should fix it --- .../iBEC.n90ap.RELEASE.patch | Bin 0 -> 242 bytes .../iBSS.n90ap.RELEASE.patch | Bin 0 -> 171 bytes resources/ipsw.sh | 12 ++++++------ 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBEC.n90ap.RELEASE.patch create mode 100644 resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBSS.n90ap.RELEASE.patch diff --git a/resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBEC.n90ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBEC.n90ap.RELEASE.patch new file mode 100644 index 0000000000000000000000000000000000000000..5bae5b6c86a5c48817b944dfdb8e339696d5d355 GIT binary patch literal 242 zcmZW;sP=SQ+!i>S~Gj^(co1Trt# z#j%KW1FL|^nVKJ(u`y3(NWR{v&@EkM6|i)|?9CslCPpgljdEaOVfYh!QskkNbDePN Q0+4gWi(D-NCV;#I09lquUH||9 literal 0 HcmV?d00001 diff --git a/resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBSS.n90ap.RELEASE.patch b/resources/firmware/FirmwareBundles/Down_iPhone3,1_7.1.2_11D257.bundle/iBSS.n90ap.RELEASE.patch new file mode 100644 index 0000000000000000000000000000000000000000..71a86aeb0d156edb8d1f7eb384f4d7f61d62ed58 GIT binary patch literal 171 zcmZs1)gJ%_iYRg4-J3x&SN>3kf6~f2L_N);zh0&0TV!O0RWJIDw+TQ literal 0 HcmV?d00001 diff --git a/resources/ipsw.sh b/resources/ipsw.sh index c85ae71..3027e36 100755 --- a/resources/ipsw.sh +++ b/resources/ipsw.sh @@ -236,7 +236,7 @@ IPSW32() { IPSW4() { local config="config" local JBFiles=() - local JBFiles2=() + local JBFiles2 local JBSHA1 if [[ -e $IPSWCustom.ipsw ]]; then @@ -259,11 +259,11 @@ IPSW4() { else JBFiles=(Cydia5.tar unthredeh4il.tar fstab_rw.tar) JBSHA1=f5b5565640f7e31289919c303efe44741e28543a - JBFiles2=("${JBFiles[@]}") fi - JailbreakFiles $JBURL/${JBFiles[0]} ${JBFiles[0]} $JBSHA1 + JBFiles2="${JBFiles[0]}" + JailbreakFiles $JBURL/$JBFiles2 $JBFiles2 $JBSHA1 for i in {0..2}; do - JBFiles2[$i]=../resources/jailbreak/${JBFiles2[$i]} + JBFiles[$i]=../resources/jailbreak/${JBFiles[$i]} done fi @@ -289,13 +289,13 @@ IPSW4() { cp -rf ../resources/firmware/powdersn0wBundles ./FirmwareBundles cp -rf ../resources/firmware/src . if [[ $Jailbreak == 1 && $OSVer == "6."* ]]; then - JBFiles2= + JBFiles= rm FirmwareBundles/${config}.plist mv FirmwareBundles/${config}JB.plist FirmwareBundles/${config}.plist cp ../resources/jailbreak/Cydia6.tar src/cydia6.tar fi mv FirmwareBundles/${config}.plist FirmwareBundles/config.plist - $powdersn0w ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -base ../$IPSW7.ipsw ${JBFiles2[@]} + $powdersn0w ../$IPSW.ipsw ../$IPSWCustom.ipsw $JBMemory -base ../$IPSW7.ipsw ${JBFiles[@]} fi cd ..