Skip to content

Instantly share code, notes, and snippets.

@devfalse
Last active April 13, 2024 04:36
Show Gist options
  • Star 26 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save devfalse/c263fc7df3ec3fe28b51778f38e19a9c to your computer and use it in GitHub Desktop.
Save devfalse/c263fc7df3ec3fe28b51778f38e19a9c to your computer and use it in GitHub Desktop.
Repair IMEI number on Nighthawk M1 Mobile Router MR1100
# Enable "charge + tether" in Settings -> Setup -> Mobile Router Setup -> Tethering
# Use a usb cable to connect (tethering) to the router on port 5510
# Useful links:
# Verify the IMEI number
# https://en.wikipedia.org/wiki/Luhn_algorithm
# Challenge/Response Generator for Sierra Wireless Cards V1.0
# https://github.com/bkerler/SierraWirelessGen
ATI
Manufacturer: Netgear, Incorporated
Model: MR1100
Revision: NTG9X50C_12. ...
IMEI: 987654321098765
IMEI SV: 99
FSN: BBBBBBBBBBBBB
+GCAP: +CGSM
OK
AT!OPENLOCK?
AT!OPENLOCK?
AAAAAAAAAAAAAAAA
OK
# Compute the response with SierraWirelessGen
# ./sierrakeygen.py -l 'AAAAAAAAAAAAAAAA' -d 'MDM9x50_V1'
# AT!OPENLOCK="0480E46C7E30F561"
AT!OPENLOCK="0480E46C7E30F561"
AT!OPENLOCK="0480E46C7E30F561"
OK
AT!NVIMEIUNLOCK
AT!NVIMEIUNLOCK
OK
AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,52
AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,52
OK
AT!RESET
AT!RESET
OK
@xosux
Copy link

xosux commented Apr 6, 2022

I type AT!OPENLOCK? and it returns with a code of 16 characters. I then type AT!OPENLOCK="XXXXXXXXXXXXXXXX" and get an error. every time i do AT!OPENLOCK? it's a different code. What am i doing wrong?

@cgigate
Copy link

cgigate commented Apr 20, 2023

./sierrakeygen.py -l 'AAAAAAAAAAAAAAAA' -d 'MDM9x50_V1'
Sorry, MDM9x50_V1 not supported....

@gWOLF3
Copy link

gWOLF3 commented Jun 7, 2023

The IMEI that you use at the end does not seem valid - why is it 16 digits long? I found this other guide https://pastebin.com/DEnGscnd that says to replace with the desired IMEI there, but why is it using 16 digits?

@gWOLF3
Copy link

gWOLF3 commented Jun 7, 2023

So when I use that, the new IMEI is 123456789012345 - so I think that means, just put the IMEI you want in that format, then add any digit at the end as a pad.

@justbecausi
Copy link

Holy Moly, @devfalse thank you for this! You have no idea how helpful this was!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment