7.0 KiB
Executable File
Challenge/Response Generator for Sierra Wireless Cards V1.2
(c) B. Kerler 2019-2024 GPLv3 License
Why
- For enabling development mode and tests
- For setting band options if locked
Supported devices
"MDM8200": ["M81A", "M81B", "AC880", "AC881", "MC8780", "MC8781", "AC880E", "AC881E", "EM8780", "EM8781",
"MC8780V", "MC8781V", "MC8700", "AC308U"],
"MDM9200": ["AC710", "MC8775", "MC8775V", "AC875", "MC8700", "AC313U", "MC8801", "MC7700", "MC7750", "MC7710",
"EM7700"],
"MDM9200_V1": ["AC710", "MC8775", "MC8775V", "AC875", "MC8700", "AC313U", "MC8801", "MC7700", "MC7750",
"MC7710", "EM7700"],
"MDM9200_V2": ["AC775", "PC7200"],
"MDM9x15": ["SWI9X15C", "AR7550", "AR7552", "AR7554", "EM7355", "EM7655", "MC7354", "WP7100", "WP7102", "WP7104",
"MC7305", "EM7305", "MC8805", "EM8805", "MC7350", "MC7350-L", "MC7802", "MC7304", "AR7556", "AR7558",
"WP75xx", "WP85xx", "WP8548", "WP8548G", "AC340U"],
"MDM9x30": ["EM7455", "MC7455", "EM7430", "MC7430"],
"MDM9x30_V1": ["Netgear AC790S/AC791L"],
"MDM9x40": ["MR1100", "AC815s", "AC785s"],
"MDM9x50": ["EM7565", "EM7565-9", "EM7511"],
"MDM9x06": ["WP77xx"],
"MDM9x07": ["SWI9X07Y", "WP76xx"],
"SDX65": ["MR6400", "MR6500", "MR6110", "MR6150", "MR6450", "MR6550"]
Installation
-
Get python >=3.6 64-Bit
~> pip3 install -r requirements.txt
Usage
-
Get a specific challenge for your task from the modem
AT!OPENLOCK?
or
AT!OPENMEP?
or
AT!OPENCND?
-
Run generator: For automatic unlock, use -u:
~> sierrakeygen -u
For AT!OPENLOCK use -l, for AT!OPENMEP use -m and for AT!OPENCND use -c accordingly (here challenge is BE96CBBEE0829BCA and device generation is MDM9200)
~> sierrakeygen -l BE96CBBEE0829BCA -d MDM9200
-
Send generated response back to the modem
AT!OPENLOCK=[response from generator]
or
AT!OPENMEP=[response from generator]
or
AT!OPENCND=[response from generator]
-
Open up a terminal and enable enhanced commands (generic pwd is "A710")
AT!ENTERCND=A710
Other known pwds are (thx to 4PDA):
AC815s: "fallow" MR1100: “lindeman” AC790-Telstra: "sunflower" LB1111: "granville" AC810-100EUS: "whistler" AC810S-1P1PLS: "seymour" AC810S-1TLAUS: "grouse" AC810S-1RDQAS: "cypress" AC790-100EUS: "lavender" AC790S-1SPSUS : "bluebell"
After unlocking via AT!OPENLOCK, you can also set a new password via AT!SETCND="pwd", in case the password isn't known
Help
```bash
~> sierrakeygen -h
```
Remarks
-
MDM9200/MDM9x15/MDM9x30/MDM9x40/MDM9x50 confirmed to work
-
For AC785/AC790/AC810/MR1100, you can access the serial port via tcp:
HostName: 192.168.1.1 Port: 5510 ConnectionType: Telnet
-
Get firmware details :
ATI AT!PACKAGE?
-
Get flash memory info :
AT!FMBADBLOCKS? AT!BSINFO
-
Set password for opencnd:
AT!SETCND="[pwd]"
Example:
AT!SETCND="A710"
-
For band selection, see possible bands via :
AT!BAND=?
-
Set Modem to use all bands :
AT!BAND=00
-
Set Modem to only use LTE :
AT!SELRAT=06
-
Reboot modem and save settings :
AT!RESET
-
To add a new band :
AT!BAND=[index],"[name]",0,8000000
Examples:
AT!BAND=03,"LTE B28 700",0,8000000 AT!BAND=04,"LTE B1 2100",0,1 AT!BAND=05,"LTE B3 1800",0,4 AT!BAND=06,"LTE B7 2600",0,40 AT!BAND=07,"LTE B8 900",0,80
-
To remove a band :
AT!BAND=[index],"",0,0
Example:
AT!BAND=03,"",0,0
-
Get signal info :
AT!GSTATUS?
-
Get partition info :
AT!PARTINFO?
-
Switch to qc download mode :
AT!BOOTHOLD AT!QPSTDLOAD
-
Show Secure Boot info :
AT!SECBOOTCFG? Show Secure Boot config AT!SECBOOTPKHASH? Show Secure Boot PKHASH
-
Show Product Info :
AT!USBPRODUCT? Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A AT!USBMANUFACTURER? Sierra Wireless, Incorporated
-
Set vid and pid :
AT!USBVID=1199 Set usb vid of 0x1199 AT!USBPID=9091,9090 Set usb pid (app=0x9091, boot=0x9090)
-
Set product identifier :
AT!PRIID? Show product identifier PRI Part Number: 9907344 Revision: 002.001 Customer: Generic-M2M Carrier PRI: 9999999_9907259_SWI9X50C_01.08.04.00_00_GENERIC_002.012_000 AT!USBPID="9907344","002.001","Generic-M2M" Set PartNr, Revision and Customer
-
Set preferred modem image :
AT!IMPREF="GENERIC" AT!IMAGE=? AT!IMAGE=<op>[,<type>[,<slot>[,"<build_id>","<unique_id>"]]] op - 0:delete 1:list 2:get max num images type - 0:FW 1:CONFIG slot - FW slot index - none implies all slots AT!IMAGE?[<op>[,<type>]] AT!IMAGE=0,0,1 Op=0 (Delete), Type=0 (FW), Slot Index=1
-
Reset to factor settings :
AT!RMARESET=1
-
Lenovo laptop whitelist bypass :
AT!ENTERCND="A710" AT!CUSTOM="FASTENUMEN",2 Disable fast enumeration and only show up after init AT!PCOFFEN=2 Ignore W_DISABLE pin AT!USBSPEED=0 Force usb2 mode AT!RESET
-
Set usb composition (diag, nmea, modem, mbim, same as USBCOMP=8):
AT!USBCOMP=1,3,0000100D
-
List custom settings :
AT!CUSTOM?
-
Enable telnet (after sending valid openlock request)
at!custom="TELNETENABLE",1
-
Enable adb (after sending valid openlock request, here: MC7304/AC810)
AT!CUSTOM="ADBENABLE", 1
Regulary, tcp port 5555 is used for adb
adb tcpip 5555 adb connect 192.168.1.1
-
Enable telnet (after sending valid openlock request, here: MR1100)
AT!TELEN=1 AT!CUSTOM="RDENABLE", 1 AT!CUSTOM="TELNETENABLE", 1
then reboot the device. Afterwards, telnet should be available on MR1100 via 192.168.1.1:23
-
Flash firmware :
~ > sudo apt install libqmi-glib5 libqmi-proxy libqmi-utils -y ~ > qmi-firmware-update --update -d 1199:9091 firmware.cwe firmware.nvu 1199:9091 is usb vid/pid
Other useful links
ToDo
- Nothing :)
License
Published under GPLv3 license Additional license limitations: No use in commercial products without prior permit by me.
Enjoy !