Automated Flashing/Upgrading for all EM/MC74XX modems.

Sierra Wireless AirPrime Modem Card Topics
Post Reply
danielewood
Posts: 10
Joined: Tue Jul 17, 2018 6:24 pm
Has thanked: 2 times
Been thanked: 12 times

Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by danielewood » Mon Jul 23, 2018 4:50 pm

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.

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-w ... sh-7455.sh

If you are feeling brave you can run the script with:

Code: Select all

wget https://raw.githubusercontent.com/danielewood/sierra-wireless-modems/master/autoflash-7455.sh && sudo bash autoflash-7455.sh
Feedback is welcome.

Video of the entire process:
https://www.youtube.com/watch?v=qHJ5n3Jaj1Q
These users thanked the author danielewood for the post (total 6):
JimHelms (Tue Jul 24, 2018 7:11 pm) • dajmanjt (Thu Jul 26, 2018 10:40 am) • Cameleer (Sun Aug 05, 2018 10:59 am) • han-tiong.khoo (Fri Aug 10, 2018 9:25 am) • Blurb (Mon Sep 03, 2018 1:10 pm) • ph34rful (Sat Sep 15, 2018 2:35 pm)

Cameleer
Posts: 1
Joined: Sun Aug 05, 2018 10:54 am

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by Cameleer » Sun Aug 05, 2018 11:09 am

Thanks for this script! I have a dell em7455 in an M.2 USB enclosure, your script worked great. It took me a few tries to get it reprogrammed with the generic firmware. But, this was due to not booting Linux in live mode. I tried the first time in persistent mode and it got an error.

Thanks again for this script, it works fantastic and was so easy.

User avatar
han-tiong.khoo
Posts: 1
Joined: Thu Aug 02, 2018 9:17 am

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by han-tiong.khoo » Fri Aug 10, 2018 9:28 am

Thank you for the script! Really helped a lot and managed to flash my DELL em7455 with ancient firmware without major problems. Downloaded and ran Ubuntu 18.04.1 LTS LiveUSB, plugged in a usb m.2 enclosure and just ran the script.

User avatar
JimHelms
Site Admin
Posts: 274
Joined: Tue Dec 19, 2017 8:59 pm
Location: DFW Texas
Contact:

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by JimHelms » Wed Aug 15, 2018 6:47 pm

Daniel has also written a script with instruction for EM7565 stuck in QDLoader HERE.

CAL77
Posts: 6
Joined: Thu Mar 15, 2018 5:00 pm

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by CAL77 » Sat Sep 15, 2018 10:57 am

@danielwood

Hi, Daniel. Thanks for the tool and for keeping us apprised of Sierra's updates. Does your tool work now for Sep 10 version (generic) 02.30.01.01?

My configuration: ROOter GO 2007-12-15, EM7455 in a USB enclosure, Sprint

Lots of dropouts, typically it's good for 12-36 hours until it drops and does not recover well.

I'm not knowledgeable enough to know if the release notes indicate this version will improve my dropout problems. Have no idea what "certain locations" refers to. I only get B25 (15mHz) so I'm pretty sure I don't have CA, unless it's some hidden feature that I should be turning off. Would this firmware upgrade help me? Thanks!

ph34rful
Posts: 11
Joined: Sat Sep 01, 2018 8:15 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by ph34rful » Sat Sep 15, 2018 2:51 pm

CAL77 wrote:
Sat Sep 15, 2018 10:57 am
@danielwood

Hi, Daniel. Thanks for the tool and for keeping us apprised of Sierra's updates. Does your tool work now for Sep 10 version (generic) 02.30.01.01?

My configuration: ROOter GO 2007-12-15, EM7455 in a USB enclosure, Sprint

Lots of dropouts, typically it's good for 12-36 hours until it drops and does not recover well.

I'm not knowledgeable enough to know if the release notes indicate this version will improve my dropout problems. Have no idea what "certain locations" refers to. I only get B25 (15mHz) so I'm pretty sure I don't have CA, unless it's some hidden feature that I should be turning off. Would this firmware upgrade help me? Thanks!
I'm not Daniel but per his GitHub:
Flashes the Current Generic Firmware as of 2018-09-14

So yes, it flashes the most recent firmware. As to whether upgrading the firmware would help you or not... there's simply no way to know. Only thing you can do is update and see what happens. If you do update, please share your results!
These users thanked the author ph34rful for the post (total 2):
CAL77 (Sat Sep 15, 2018 9:03 pm) • danielewood (Sun Sep 16, 2018 12:37 am)

gsmantenna
Posts: 2
Joined: Tue Sep 04, 2018 2:25 am

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by gsmantenna » Fri Oct 12, 2018 9:05 am

I meet error when I use your batch
I stop at:
Flashing SWI9X30C_02.30.01.01_Generic_002.045_000 onto Generic Sierra Modem...
autoflash-7455.sh: line 242: qmi-firmware-update: command not found
Firmware Update failed, exiting...
it seem that qmi lib download not finish
--2018-10-12 13:57:12-- http://security.ubuntu.com/ubuntu/pool/ ... _amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.88.149, 91.189.88.152, 91.189.91.26, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.88.149|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-12 13:57:12 ERROR 404: Not Found.

dpkg: error: cannot access archive 'libqmi-glib5_1.20.0-1ubuntu1_amd64.deb': No such file or directory
--2018-10-12 13:57:13-- http://security.ubuntu.com/ubuntu/pool/ ... _amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.88.149, 91.189.88.152, 91.189.91.26, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.88.149|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-12 13:57:13 ERROR 404: Not Found.

i try to manual download this file but still fail

gsmantenna
Posts: 2
Joined: Tue Sep 04, 2018 2:25 am

Re: Automated Flashing/Upgrading for all EM/MC74XX modems.

Post by gsmantenna » Fri Oct 12, 2018 9:37 am

I meet some error when run auto batch
--2018-10-12 13:57:12-- http://security.ubuntu.com/ubuntu/pool/ ... _amd64.deb
Resolving security.ubuntu.com (security.ubuntu.com)... 91.189.88.149, 91.189.88.152, 91.189.91.26, ...
Connecting to security.ubuntu.com (security.ubuntu.com)|91.189.88.149|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-12 13:57:12 ERROR 404: Not Found.


dpkg: error: cannot access archive 'libqmi-glib5_1.20.0-1ubuntu1_amd64.deb': No such file or directory
it seem fail download lipqmi

Post Reply