Skip to content

Commit

Permalink
Grab latest version for 15.x devices
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 10, 2024
1 parent 63d44c4 commit 34a7608
Show file tree
Hide file tree
Showing 23 changed files with 5 additions and 24 deletions.
1 change: 0 additions & 1 deletion resources/firmware/iPad5,1/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,1/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,2/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,2/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,3/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,3/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,4/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPad5,4/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,1/19H370/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,1/19H370/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,2/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,2/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,4/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone8,4/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,1/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,1/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,2/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,2/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,3/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,3/19H380/url

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,4/19H380/sha1sum

This file was deleted.

1 change: 0 additions & 1 deletion resources/firmware/iPhone9,4/19H380/url

This file was deleted.

7 changes: 5 additions & 2 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34a7608

Please sign in to comment.