Skip to content

Commit 0140710

Browse files
authored
Temporary alternative download
1 parent a14842b commit 0140710

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

autoflash-7455.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# wget https://raw.githubusercontent.com/danielewood/sierra-wireless-modems/master/autoflash-7455.sh && sudo bash autoflash-7455.sh
77

88
#.SYNOPSIS
9-
# - Only for use on Ubuntu 18.04 (or later) LiveUSB
9+
# - Only for use on Ubuntu 20.04 (or later) LiveUSB
1010
# - Changes all models of EM7455/MC7455 Modems to the Generic Sierra Wireless VID/PID
1111
# - Flashes the Current Generic Firmware
1212

1313
#.DESCRIPTION
14-
# - Only for use on Ubuntu 18.04 (or later) LiveUSB
14+
# - Only for use on Ubuntu 20.04 (or later) LiveUSB
1515
# - All Needed Packages will Auto-Install
1616
# - Sets MBIM Mode with AT Commands Access
1717
# - Changes all models of EM74XX/MC74XX Modems to the Generic Sierra Wireless VID/PID
@@ -29,7 +29,7 @@
2929
# https://github.com/danielewood/sierra-wireless-modems
3030

3131
#.VERSION
32-
# Version: 20201120
32+
# Version: 20210405
3333

3434
##################
3535
### Pre-Checks ###
@@ -304,11 +304,13 @@ sleep 1
304304

305305
function download_modem_firmware() {
306306
# Find latest 7455 firmware and download it
307+
# Temporary hosting until Sierra recovers from Cryptolocker
308+
# Reference: https://github.com/danielewood/sierra-wireless-modems/discussions/74
309+
307310
if [[ -z $SWI9X30C_ZIP ]]; then
308-
SWI9X30C_ZIP=$(curl https://source.sierrawireless.com/resources/airprime/minicard/74xx/airprime-em_mc74xx-approved-fw-packages/ 2> /dev/null | grep PTCRB -B1 | sed 's/,-d-,/./g' | grep -iEo '7455/swi9x30c[_0-9.]+_generic_[_0-9.]+' | cut -c 6- | tail -n1)
309-
SWI9X30C_ZIP="${SWI9X30C_ZIP^^}"'zip'
311+
SWI9X30C_ZIP='SWI9X30C_02.33.03.00_GENERIC_002.072_000.zip'
310312
fi
311-
SWI9X30C_URL='https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/fw/7455/'"$SWI9X30C_ZIP"
313+
SWI9X30C_URL='https://download.ttl.one/swi/7455/'"$SWI9X30C_ZIP"
312314

313315
SWI9X30C_LENGTH=$(curl -sI "$SWI9X30C_URL" | grep -i Content-Length | grep -Eo '[0-9]+')
314316

@@ -550,4 +552,4 @@ AT_PRIID_REV="$(echo "$AT_PRIID_STRING" | grep -Eo '[0-9]{3}\.[0-9]{3}')"
550552

551553
script_cleanup
552554

553-
# Done
555+
# Done

0 commit comments

Comments
 (0)