Page 1 of 1

Automated Flashing/Upgrading for all EM/MC74XX modems.

Posted: Mon Jul 23, 2018 4:50 pm
by danielewood
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

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

Posted: Sun Aug 05, 2018 11:09 am
by Cameleer
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.

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

Posted: Fri Aug 10, 2018 9:28 am
by han-tiong.khoo
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.

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

Posted: Wed Aug 15, 2018 6:47 pm
by JimHelms
Daniel has also written a script with instruction for EM7565 stuck in QDLoader HERE.

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

Posted: Sat Sep 15, 2018 10:57 am
by CAL77
@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!

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

Posted: Sat Sep 15, 2018 2:51 pm
by ph34rful
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!

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

Posted: Fri Oct 12, 2018 9:05 am
by gsmantenna
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

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

Posted: Fri Oct 12, 2018 9:37 am
by gsmantenna
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