diff --git a/resources/firmware/iPad5,1/19H380/sha1sum b/resources/firmware/iPad5,1/19H380/sha1sum deleted file mode 100644 index 9fff612..0000000 --- a/resources/firmware/iPad5,1/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -f042d06ba54086a032cbc11206622621fe89fd71 diff --git a/resources/firmware/iPad5,1/19H380/url b/resources/firmware/iPad5,1/19H380/url deleted file mode 100644 index f939992..0000000 --- a/resources/firmware/iPad5,1/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23999/8C88AAD8-D1E8-4B25-BFA8-2C2326255CD4/iPad_64bit_TouchID_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPad5,2/19H380/sha1sum b/resources/firmware/iPad5,2/19H380/sha1sum deleted file mode 100644 index 9fff612..0000000 --- a/resources/firmware/iPad5,2/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -f042d06ba54086a032cbc11206622621fe89fd71 diff --git a/resources/firmware/iPad5,2/19H380/url b/resources/firmware/iPad5,2/19H380/url deleted file mode 100644 index f939992..0000000 --- a/resources/firmware/iPad5,2/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23999/8C88AAD8-D1E8-4B25-BFA8-2C2326255CD4/iPad_64bit_TouchID_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPad5,3/19H380/sha1sum b/resources/firmware/iPad5,3/19H380/sha1sum deleted file mode 100644 index 9fff612..0000000 --- a/resources/firmware/iPad5,3/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -f042d06ba54086a032cbc11206622621fe89fd71 diff --git a/resources/firmware/iPad5,3/19H380/url b/resources/firmware/iPad5,3/19H380/url deleted file mode 100644 index f939992..0000000 --- a/resources/firmware/iPad5,3/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23999/8C88AAD8-D1E8-4B25-BFA8-2C2326255CD4/iPad_64bit_TouchID_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPad5,4/19H380/sha1sum b/resources/firmware/iPad5,4/19H380/sha1sum deleted file mode 100644 index 9fff612..0000000 --- a/resources/firmware/iPad5,4/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -f042d06ba54086a032cbc11206622621fe89fd71 diff --git a/resources/firmware/iPad5,4/19H380/url b/resources/firmware/iPad5,4/19H380/url deleted file mode 100644 index f939992..0000000 --- a/resources/firmware/iPad5,4/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23999/8C88AAD8-D1E8-4B25-BFA8-2C2326255CD4/iPad_64bit_TouchID_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone8,1/19H370/sha1sum b/resources/firmware/iPhone8,1/19H370/sha1sum deleted file mode 100644 index 165450b..0000000 --- a/resources/firmware/iPhone8,1/19H370/sha1sum +++ /dev/null @@ -1 +0,0 @@ -8c2691a5845fbb3be110730f4a0359bd943305d9 diff --git a/resources/firmware/iPhone8,1/19H370/url b/resources/firmware/iPhone8,1/19H370/url deleted file mode 100644 index 0cbdbd6..0000000 --- a/resources/firmware/iPhone8,1/19H370/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2023FallFCS/fullrestores/042-76337/06663E02-EF9F-465C-A958-AA7F3B238C2A/iPhone_4.7_15.8_19H370_Restore.ipsw diff --git a/resources/firmware/iPhone8,2/19H380/sha1sum b/resources/firmware/iPhone8,2/19H380/sha1sum deleted file mode 100644 index b1b57a6..0000000 --- a/resources/firmware/iPhone8,2/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -e81e65d0af327628f82a6abe09278b2aa9c8fc52 diff --git a/resources/firmware/iPhone8,2/19H380/url b/resources/firmware/iPhone8,2/19H380/url deleted file mode 100644 index ea21d59..0000000 --- a/resources/firmware/iPhone8,2/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23899/855AB6E9-5174-456B-B9B2-772C7EA7B380/iPhone_5.5_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone8,4/19H380/sha1sum b/resources/firmware/iPhone8,4/19H380/sha1sum deleted file mode 100644 index 38ccbbd..0000000 --- a/resources/firmware/iPhone8,4/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -a585babfdf3c8e35b6458d0f6eee0f17211f1309 diff --git a/resources/firmware/iPhone8,4/19H380/url b/resources/firmware/iPhone8,4/19H380/url deleted file mode 100644 index a16cf12..0000000 --- a/resources/firmware/iPhone8,4/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23946/593ABA16-7E7D-4692-87A7-52E771329AF3/iPhone_4.0_64bit_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone9,1/19H380/sha1sum b/resources/firmware/iPhone9,1/19H380/sha1sum deleted file mode 100644 index d921313..0000000 --- a/resources/firmware/iPhone9,1/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -8004a08784740fdc8cf67e21f6248584067a1bec diff --git a/resources/firmware/iPhone9,1/19H380/url b/resources/firmware/iPhone9,1/19H380/url deleted file mode 100644 index 93665fb..0000000 --- a/resources/firmware/iPhone9,1/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23831/AD623BCF-600D-4EE7-88FB-7F223777D6B0/iPhone_4.7_P3_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone9,2/19H380/sha1sum b/resources/firmware/iPhone9,2/19H380/sha1sum deleted file mode 100644 index 7ccd47c..0000000 --- a/resources/firmware/iPhone9,2/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -a1092d1f0fc79b980ba0a255d1cca59790c941bc diff --git a/resources/firmware/iPhone9,2/19H380/url b/resources/firmware/iPhone9,2/19H380/url deleted file mode 100644 index 5b74e71..0000000 --- a/resources/firmware/iPhone9,2/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23889/3023C9F0-1F1D-42C1-B662-2E872B80999F/iPhone_5.5_P3_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone9,3/19H380/sha1sum b/resources/firmware/iPhone9,3/19H380/sha1sum deleted file mode 100644 index d921313..0000000 --- a/resources/firmware/iPhone9,3/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -8004a08784740fdc8cf67e21f6248584067a1bec diff --git a/resources/firmware/iPhone9,3/19H380/url b/resources/firmware/iPhone9,3/19H380/url deleted file mode 100644 index 93665fb..0000000 --- a/resources/firmware/iPhone9,3/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23831/AD623BCF-600D-4EE7-88FB-7F223777D6B0/iPhone_4.7_P3_15.8.1_19H380_Restore.ipsw diff --git a/resources/firmware/iPhone9,4/19H380/sha1sum b/resources/firmware/iPhone9,4/19H380/sha1sum deleted file mode 100644 index 7ccd47c..0000000 --- a/resources/firmware/iPhone9,4/19H380/sha1sum +++ /dev/null @@ -1 +0,0 @@ -a1092d1f0fc79b980ba0a255d1cca59790c941bc diff --git a/resources/firmware/iPhone9,4/19H380/url b/resources/firmware/iPhone9,4/19H380/url deleted file mode 100644 index 5b74e71..0000000 --- a/resources/firmware/iPhone9,4/19H380/url +++ /dev/null @@ -1 +0,0 @@ -https://updates.cdn-apple.com/2024WinterFCS/fullrestores/052-23889/3023C9F0-1F1D-42C1-B662-2E872B80999F/iPhone_5.5_P3_15.8.1_19H380_Restore.ipsw diff --git a/restore.sh b/restore.sh index a9a3a43..37cd521 100755 --- a/restore.sh +++ b/restore.sh @@ -800,14 +800,17 @@ device_get_info() { device_use_build="14G60" ;; esac + local latestver case $device_type in iPad4,[123456789] | iPhone6,[12] | iPhone7,[12] | iPod7,1 ) device_latest_vers="12.5.7" device_latest_build="16H81" ;; iPad5,[1234] | iPhone8,[124] | iPhone9,[1234] | iPod9,1 ) - device_latest_vers="15.8.1" - device_latest_build="19H380" + log "Getting latest iOS version for $device_type" + latestver="$(curl "https://api.ipsw.me/v4/device/$device_type?type=ipsw" | $jq -j ".firmwares[0]")" + device_latest_vers="$(echo "$latestver" | $jq -j ".version")" + device_latest_build="$(echo "$latestver" | $jq -j ".buildid")" ;; esac # set device_use_bb, device_use_bb_sha1 (what baseband to use for ota/other)