Sierra Wireless LTE Modem Guide: Automated Flashing of the EM7455/MC7455 with a Ubuntu Linux 18.04 LiveCD
I've written a bash script to automate the entire process of setting up any of the EM/MC74XX series modems (Generic, Dell, Lenovo). This assumes you have the Sierra card inserted into a USB enclosure.
This post is part of my Sierra Wireless LTE Modem Guide Series. If you prefer to skip the blog nature of these guides and just grab the bare features and commands, my GitHub repository will serve as the authoritative source for this entire series. Any changes or updates will occur there first.
From the script description:
- Only for use on Ubuntu 18.04 LTS LiveUSB
- All Needed Packages will Auto-Install
- Sets MBIM Mode with AT Commands Access
- Changes all models of EM74XX/MC74XX Modems to the Generic Sierra Wireless VID/PID
- Clears Band Restrictions and Places Modem in LTE only mode.
- Flashes the Current Generic Firmware as of 2018-07-18
Link to script:
https://github.com/danielewood/sierra-wireless-modems/blob/master/autoflash-7455.sh
If you are feeling brave you can run the script with:
wget https://raw.githubusercontent.com/danielewood/sierra-wireless-modems/master/autoflash-7455.sh && sudo bash autoflash-7455.sh
Video of the entire process:
hi.can you help me?i got this error
ReplyDeleteFlashing SWI9X30C_02.30.01.01_Generic_002.045_000 onto Generic Sierra Modem...
loading device information before the update...
setting firmware preference:
firmware version: '02.30.01.01'
config version: '002.045_000'
carrier: 'GENERIC'
rebooting in download mode...
error: error waiting for TTY: waiting for device at '/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1' timed out
Firmware Update failed, exiting...
I had the same error
DeleteHello,
ReplyDeletewhy you write it is just for USB enclosure and not if you have a installed card (Dell notebook)?
is there any way to use this also for attached cards?
Thanks so much. Saved my card which wouldn't connect after a failed flash attempt with windows. I believe the comm ports where scrambled and had tried everything I knew before finding this. Didn't use the full usb enclosure but a cheap $7 bare board. It all went perfectly.
ReplyDeleteHi Daniele
ReplyDeleteI just wanted to let you know the script in ubuntu 18 LTS fails at the CURL trying to pull the latest Sierra firmware from Sierra website, can you please see why when you get a chance? It says file either too large or too small, and then the script craps out.
Thank you very much
James.
Hi Everyone,
ReplyDeleteNote that you need to run this script as [email protected]:~#
You can use the following command
pkexec su -
password: (setup your password)
Hi Everyone,
ReplyDeleteNote that you need to run this script as [email protected]:~#
You can use the following command
pkexec su -
password: (setup your password)
Hello
ReplyDeleteDaniel Wood
You can update the link in the script to FW sierra, it crashes when you try to download
Thanks and regards
Hi
ReplyDeleteI am facing QMI Protocol error (14) callfailed with sierra wireless EM7455
Thanks & Regards,
M.Abinaya
Many thanks for this great tutorials, My EM7455 is now working as usual.
ReplyDeleteThanks for putting this together, however I am getting the error:
ReplyDeleteloading device information before the update...
error: couldn't open QMI device: Failure
firmware update failed, exiting...
does this not work for onboard cards? or only usb?
I downloaded ubuntu 18.04.5 instead of the current version and it was able to complete but I am still not able to get online, nor will the firmware for my provider will not install. I must have a bad card.
DeleteDload Upload Total Spent Left Speed
100 60.7M 100 60.7M 0 0 64929 0 0:16:21 0:16:21 --:--:-- 79149
Archive: SWI9X30C_02.33.03.00_GENERIC_002.072_000.zip
inflating: SWI9X30C_02.33.03.00.cwe
inflating: SWI9X30C_02.33.03.00_GENERIC_002.072_000.nvu
---
Flashing SWI9X30C_02.33.03.00.cwe onto Generic Sierra Modem...
reseter operation finished successfully
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Waiting for modem in boothold mode...
Found 413c:81b5
error: couldn't parse option context: Unknown option --update-download
Firmware Update failed, exiting...
[email protected]:~$
Getting same error, Did you find a solution?
ReplyDeleteFor me, it ends with cat: /DEV/TTYUSB3 : Not such file or directory
ReplyDeleteAnd the modem is not operational afterwards, so I guess something failed, but I don't understand what and where…
The above-mentionned error was for Ubuntu 20.
DeleteUnder Ubuntu 18, I got the same mistake as mutalib and Dougf :(
Change the command to --update-qdl in the script and it should work.
ReplyDeleteCurrent setting is already '8'
ReplyDeleteQMI msg '0x0023' returned status = 1
Waiting for modem to reboot...
---
Reseting modem...
cat: /dev/: Is a directory
Waiting for modem to reboot...
Waiting for modem to reboot...
---
Current modem settings:
cat: /dev/: Is a directory
cat: /dev/: Is a directory
Waiting for modem to reboot...
---
Download of zip failed.
File size on server is too small, something is wrong, exiting...
Attempted download URL was: https://source.sierrawireless.com/~/media/support_downloads/airprime/74xx/fw/7455/zip
curl info:
---
can someone help me?
The source website is down at the moment: https://forum.sierrawireless.com/t/sierra-wireless-source-website-is-down/23287
DeleteThank you. Any rumors on how long will it be down?
Delete