MR5200 - Questions Re sierrakeygen Python Script?
MR5200 - Questions Re sierrakeygen Python Script?
Trying to get my newly acquired MR5200 both band optioned/locked, and get the correct challenge answer (for those who are willing to share).
Using the guide at https://github.com/bkerler/edl/blob/mas ... _README.md . I was able to telnet into the device, and generate the specific challenge from using "AT!OPENLOCK?". And, I had a few questions regarding use of the sierrakeygen tool from the guide.
1. What is the "device generation" of the MR5200 (and the MR5100)? For the MR1100, I saw from the guide that the "device generation" is "MDM9x40".
2. I tried the Live CD (from the guide), and could not get it to work. So, I followed the installation guide to install things on my Mac, and I am facing a couple of issues (in addition to the "device generation" ID issue above):
A. When I type into my Terminal app "sierrakeygen -h" (or any other call for "sierrakeygen"), I get an error that the file cannot be found (because program not in my PATH). Though I can manually locate a couple of different copies of the "sierrakeygen" shortcut, I don't know which one to use. Are the multiple copies the same python script?
B. I have generated my most recent specific challenge of (without quotes): "7753E2C42827C4EF". I have put aside the computer that I am using for this challenge, together with the MR5200. I would appreciate it if someone can provide me with the correct challenge answer, based on MR5200 being the device.
Thanks in advance for any help?
Using the guide at https://github.com/bkerler/edl/blob/mas ... _README.md . I was able to telnet into the device, and generate the specific challenge from using "AT!OPENLOCK?". And, I had a few questions regarding use of the sierrakeygen tool from the guide.
1. What is the "device generation" of the MR5200 (and the MR5100)? For the MR1100, I saw from the guide that the "device generation" is "MDM9x40".
2. I tried the Live CD (from the guide), and could not get it to work. So, I followed the installation guide to install things on my Mac, and I am facing a couple of issues (in addition to the "device generation" ID issue above):
A. When I type into my Terminal app "sierrakeygen -h" (or any other call for "sierrakeygen"), I get an error that the file cannot be found (because program not in my PATH). Though I can manually locate a couple of different copies of the "sierrakeygen" shortcut, I don't know which one to use. Are the multiple copies the same python script?
B. I have generated my most recent specific challenge of (without quotes): "7753E2C42827C4EF". I have put aside the computer that I am using for this challenge, together with the MR5200. I would appreciate it if someone can provide me with the correct challenge answer, based on MR5200 being the device.
Thanks in advance for any help?
- JimHelms
- Site Admin
- Posts: 1366
- Joined: Tue Dec 19, 2017 8:59 pm
- Location: DFW Texas
- Has thanked: 79 times
- Been thanked: 199 times
- Contact:
Re: MR5200 - Questions Re sierrakeygen Python Script?
I believe the MR5200 uses:
Can't help you much beyond that.
Code: Select all
SDX55
Re: MR5200 - Questions Re sierrakeygen Python Script?
Sierrakeygen HOW-TO on Windows
1. Original information from https://github.com/bkerler/edl
2. Install git from https://github.com/git-for-windows/git/ ... 64-bit.exe
3. Install Python from https://www.python.org/ftp/python/3.10. ... -amd64.exe -->suggest to reboot the system after installed to get the PATH set for Python effectively.
4. Open Git BASH
5. win$ git clone https://github.com/bkerler/edl.git
6. win$ cd edl
7. win$ git submodule update --init –-recursive
8. win$ pip3 install -r requirements.txt
9. win$ python setup.py build
10. win$ python setup.py install
---------------------------------------------------above steps for preparation---------------------------------
11. win$ cd edl/edlclient/Tools
12. telnet>AT!OPENCND?
13. win$ python sierrakeygen.py -c xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENCND? at the device)
14. telnet>AT!OPENCND=”yyyy” yyyy is the key generated by sierrakeygen.py from #13
15. You can now issue AT!SETCND=”zzzz” where zzzz is your own custom key
16. Issue AT!ENTERCND=”zzzz” to unlock AT commands
Device Model
MR1100 - MDM9x40
MR5200/5100 - SDX55
Change IMEI
1. telnet>AT!OPENMEP? from the device to get the Challenge
2. win$ python sierrakeygen.py -m xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENMEP? at the device)
3. telnet>AT!OPENMEP=”yyyy” yyyy is the key generated by sierrakeygen.py from #2
4. telnet>AT!NVIMEIUNLOCK to unlock IMEI repair
5. telnet>AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,50 123456789012345 is the new IMEI you want to program, as IMEI only has 15 digits, need to pad a ‘0’ on last entry
6. This new IMEI will be recovered back to factory default if you had done RESET TO FACTORY DEFAULT
1. Original information from https://github.com/bkerler/edl
2. Install git from https://github.com/git-for-windows/git/ ... 64-bit.exe
3. Install Python from https://www.python.org/ftp/python/3.10. ... -amd64.exe -->suggest to reboot the system after installed to get the PATH set for Python effectively.
4. Open Git BASH
5. win$ git clone https://github.com/bkerler/edl.git
6. win$ cd edl
7. win$ git submodule update --init –-recursive
8. win$ pip3 install -r requirements.txt
9. win$ python setup.py build
10. win$ python setup.py install
---------------------------------------------------above steps for preparation---------------------------------
11. win$ cd edl/edlclient/Tools
12. telnet>AT!OPENCND?
13. win$ python sierrakeygen.py -c xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENCND? at the device)
14. telnet>AT!OPENCND=”yyyy” yyyy is the key generated by sierrakeygen.py from #13
15. You can now issue AT!SETCND=”zzzz” where zzzz is your own custom key
16. Issue AT!ENTERCND=”zzzz” to unlock AT commands
Device Model
MR1100 - MDM9x40
MR5200/5100 - SDX55
Change IMEI
1. telnet>AT!OPENMEP? from the device to get the Challenge
2. win$ python sierrakeygen.py -m xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENMEP? at the device)
3. telnet>AT!OPENMEP=”yyyy” yyyy is the key generated by sierrakeygen.py from #2
4. telnet>AT!NVIMEIUNLOCK to unlock IMEI repair
5. telnet>AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,50 123456789012345 is the new IMEI you want to program, as IMEI only has 15 digits, need to pad a ‘0’ on last entry
6. This new IMEI will be recovered back to factory default if you had done RESET TO FACTORY DEFAULT
-
- Posts: 2
- Joined: Sun Jul 17, 2022 6:15 pm
- Has thanked: 0
- Been thanked: 0
Re: MR5200 - Questions Re sierrakeygen Python Script?
Hi W1lliam,
I followed your directions and got to step 8:
Win$ pip3 install -r requirements.txt
It replies bash: pip3: command not found
Could you please help me get past this? I have been trying to figure out how to change the imei on my Sierra em7511 modem for a while and was greatly happy to find your post with excellent instruction. But, I've hit a snag. Thank you.
I followed your directions and got to step 8:
Win$ pip3 install -r requirements.txt
It replies bash: pip3: command not found
Could you please help me get past this? I have been trying to figure out how to change the imei on my Sierra em7511 modem for a while and was greatly happy to find your post with excellent instruction. But, I've hit a snag. Thank you.
- Rich Hathaway
- Posts: 622
- Joined: Mon Mar 08, 2021 2:41 pm
- Has thanked: 12 times
- Been thanked: 214 times
Re: MR5200 - Questions Re sierrakeygen Python Script?
pip and pip3 are installers for python, that error means you likely don't have either installed, its not in your path or your not calling it up correctly, install either of them then go back to your step num 8 and try to install the requirements.txt
Re: MR5200 - Questions Re sierrakeygen Python Script?
@DanDeltona You might need to reboot your PC/Laptop after Python/pip3 installed as the PATH change needs that to be effective. In case you have Python installed but not pip3, you can still install that via "python -m pip3 install" command, hope this helps.
-
- Posts: 2
- Joined: Sun Jul 17, 2022 6:15 pm
- Has thanked: 0
- Been thanked: 0
Re: MR5200 - Questions Re sierrakeygen Python Script?
I am embarrassed. After a restart everything works perfectly! Thanks for your quick reply and the excellent tutorial.
Re: MR5200 - Questions Re sierrakeygen Python Script?
Thank you so much for these instructions! They were really helpful. I was able to get my MR5200 up and running because of these extremely helpful instructions.w1lliam wrote: Wed Jul 13, 2022 7:01 pm Sierrakeygen HOW-TO on Windows
1. Original information from https://github.com/bkerler/edl
2. Install git from https://github.com/git-for-windows/git/ ... 64-bit.exe
3. Install Python from https://www.python.org/ftp/python/3.10. ... -amd64.exe -->suggest to reboot the system after installed to get the PATH set for Python effectively.
4. Open Git BASH
5. win$ git clone https://github.com/bkerler/edl.git
6. win$ cd edl
7. win$ git submodule update --init –recursive
8. win$ pip3 install -r requirements.txt
9. win$ python setup.py build
10. win$ python setup.py install
---------------------------------------------------above steps for preparation---------------------------------
11. win$ cd edl/edlclient/Tools
12. telnet>AT!OPENCND?
13. win$ python sierrakeygen.py -c xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENCND? at the device)
14. telnet>AT!OPENCND=”yyyy” yyyy is the key generated by sierrakeygen.py from #13
15. You can now issue AT!SETCND=”zzzz” where zzzz is your own custom key
16. Issue AT!ENTERCND=”zzzz” to unlock AT commands
Device Model
MR1100 - MDM9x40
MR5200/5100 - SDX55
Change IMEI
1. telnet>AT!OPENMEP? from the device to get the Challenge
2. win$ python sierrakeygen.py -m xxxx -d SDX55 (xxxx is the challenge generated from AT!OPENMEP? at the device)
3. telnet>AT!OPENMEP=”yyyy” yyyy is the key generated by sierrakeygen.py from #2
4. telnet>AT!NVIMEIUNLOCK to unlock IMEI repair
5. telnet>AT!NVENCRYPTIMEI=12,34,56,78,90,12,34,50 123456789012345 is the new IMEI you want to program, as IMEI only has 15 digits, need to pad a ‘0’ on last entry
6. This new IMEI will be recovered back to factory default if you had done RESET TO FACTORY DEFAULT
Just a few additional notes for anyone who might be running into issues using the instructions above.
For the "python sierrakeygen.py -m xxxx -d SDX55" and related commands, I had to use the word py instead of python otherwise I would get a syntax error in Git Bash. I'm on Windows 10 so I'm not sure if that's why.
Code: Select all
py sierrakeygen.py -m xxxx -d SDX55
And it might be obvious to others but it took a few seconds for me to realize that we're not actually typing win$ or telnet> when using the above instructions. Those are simply to tell you where to put those commands into; win$ means type it in Git Bash and telnet> means type it in Putty.
Re: MR5200 - Questions Re sierrakeygen Python Script?
I'm getting stuck on #11, and get this:
$ cd edl/edlclient/Tools
bash: cd: edl/edlclient/Tools: Not a directory
and then at 13 I get this:
$ python sierrakeygen.py -c 0A603c59398E450F -d SDX55
C:\Users\USERNAME\Data\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users\\USERNAME\\edl\\sierrakeygen.py': [Errno 2] No such file or directory
I have gone through steps 1-11 a few times, and keep getting stuck there.
$ cd edl/edlclient/Tools
bash: cd: edl/edlclient/Tools: Not a directory
and then at 13 I get this:
$ python sierrakeygen.py -c 0A603c59398E450F -d SDX55
C:\Users\USERNAME\Data\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users\\USERNAME\\edl\\sierrakeygen.py': [Errno 2] No such file or directory
I have gone through steps 1-11 a few times, and keep getting stuck there.
Re: MR5200 - Questions Re sierrakeygen Python Script?
This means the directory/folder doesn't exist or it means you're trying to navigate to somewhere that Git Bash doesn't understand.amtrak23 wrote: Fri Sep 23, 2022 12:56 am I'm getting stuck on #11, and get this:
$ cd edl/edlclient/Tools
bash: cd: edl/edlclient/Tools: Not a directory
Do you have a Tools folder inside the edlclient folder? If not, that would be the problem. The edl folder, edlclient folder, and Tools folder all exist in the GitHub repository (in step 1) so it should be there on your computer nested as such if you had no issues with downloading the repository using the preparation steps.
The other cause for this error could be because you're essentially trying to navigate to that folder incorrectly based on your current location in Git Bash. If you type pwd into Git Bash, it gives you the current directory you are in with Git Bash at that very moment. And then if you type ls (lowercase L, lowercase s), it will give you a listing of the directories and files it currently sees in that location.
The command "cd edl/edlclient/Tools" is telling Git Bash to go into the edl folder first, then the edlclient folder, and then the Tools folder starting from where you are currently. So if there is no edl folder in the directory your Git Bash is currently in, you will receive that error. It will be the same problem if your edlclient folder is not inside the edl folder and if your Tools folder is not inside your edlclient folder. Hopefully that helps.
Did you try this command with the word py instead of python? I'm not a Python expert but my commands work using py. I ran into issues if I tried using python.amtrak23 wrote: Fri Sep 23, 2022 12:56 am and then at 13 I get this:
$ python sierrakeygen.py -c 0A603c59398E450F -d SDX55
C:\Users\USERNAME\Data\Local\Programs\Python\Python310\python.exe: can't open file 'C:\\Users\\USERNAME\\edl\\sierrakeygen.py': [Errno 2] No such file or directory
I have gone through steps 1-11 a few times, and keep getting stuck there.
Code: Select all
$ py sierrakeygen.py -c 0A603c59398E450F -d SDX55
Re: MR5200 - Questions Re sierrakeygen Python Script?
Thanks for responding. I tried on two more computers and same thing happens every time. The edl-master folder is on the desktop each time, and I don't see any error messages during any of the previous steps. The Tools subfolder is definitely there too.Sobe W. wrote: Fri Sep 23, 2022 8:33 am This means the directory/folder doesn't exist or it means you're trying to navigate to somewhere that Git Bash doesn't understand.
Do you have a Tools folder inside the edlclient folder? If not, that would be the problem. The edl folder, edlclient folder, and Tools folder all exist in the GitHub repository (in step 1) so it should be there on your computer nested as such if you had no issues with downloading the repository using the preparation steps.
The other cause for this error could be because you're essentially trying to navigate to that folder incorrectly based on your current location in Git Bash. If you type pwd into Git Bash, it gives you the current directory you are in with Git Bash at that very moment. And then if you type ls (lowercase L, lowercase s), it will give you a listing of the directories and files it currently sees in that location..
USER@Warehouse MINGW64 ~/edl (master)
$ cd edl/edlclient/Tools
bash: cd: edl/edlclient/Tools: Not a directory
USER@Warehouse MINGW64 ~/edl (master)
$ pwd
/c/Users/USER/edl
USER@Warehouse MINGW64 ~/edl (master)
$ ls
Drivers/ README.md edlclient.egg-info/ setup.py*
Example/ build/ fastpwn sierrakeygen_README.md
LICENSE dist/ pyproject.toml
Loaders/ edl* requirements.txt
MANIFEST.in edlclient/ setup.cfg
Re: MR5200 - Questions Re sierrakeygen Python Script?
Going from the output you pasted above, it looks like your Git Bash is already inside the edl folder/directory. Git Bash is basically saying to you "I can't go to edl folder because there is no additional folder called edl to go into" because you're already inside the edl folder/directory.amtrak23 wrote: Sat Sep 24, 2022 12:30 am
Thanks for responding. I tried on two more computers and same thing happens every time. The edl-master folder is on the desktop each time, and I don't see any error messages during any of the previous steps. The Tools subfolder is definitely there too.
USER@Warehouse MINGW64 ~/edl (master)
$ cd edl/edlclient/Tools
bash: cd: edl/edlclient/Tools: Not a directory
USER@Warehouse MINGW64 ~/edl (master)
$ pwd
/c/Users/USER/edl
USER@Warehouse MINGW64 ~/edl (master)
$ ls
Drivers/ README.md edlclient.egg-info/ setup.py*
Example/ build/ fastpwn sierrakeygen_README.md
LICENSE dist/ pyproject.toml
Loaders/ edl* requirements.txt
MANIFEST.in edlclient/ setup.cfg
Since you're already inside the edl folder, just type:
Code: Select all
cd edlclient
Code: Select all
cd Tools
Code: Select all
cd edl
cd edlclient
cd Tools
Re: MR5200 - Questions Re sierrakeygen Python Script?
For those who only needs sierrakeygen.py to generate unlock code for your Netgear devices, here is light version of sierrakeygen.py, renamed as sierrakeygen-mobile.py, which you just need Python installed on your platform and run this Python script directly. No more installation/setup is required. This script also compatible for cell phone where Python is available, you can generate unlock code with your cell phone.
https://tinyurl.com/Sierrakeygen-mobile
https://tinyurl.com/Sierrakeygen-mobile
Re: MR5200 - Questions Re sierrakeygen Python Script?
Hey thanks for all the helpful info here. I am trying to do an IMEI repair on my MR5200 and following this guide the first time I was able to get in and set the CND command in step 16. However when I move on to IMEI repair I can't get past the challenge. I am using the mobile sierra key file linked on this post. Any ideas as to why the challenge isn't being accepted now? I might try the full version but was happy to avoid installing the c++ compiler for now.
Re: MR5200 - Questions Re sierrakeygen Python Script?
I solved the issue myself! I was neglecting to see there is a different set of commands for CND vs MEP. I was so busy copy and pasting that I failed to notice the command line difference. My device is successfully repaired now!
For those who don't know you connect to the MR5200 with putty or your telnet client by connecting to 192.168.1.1 port 5510 via telnet.
For those who don't know you connect to the MR5200 with putty or your telnet client by connecting to 192.168.1.1 port 5510 via telnet.
Re: MR5200 - Questions Re sierrakeygen Python Script?
MAY I know when will this model MR6450 be supported by this sierrakeygen.py?
I've been trying to generate the AT! OPENLOCK=
But shown SDX55 not supported...
As per check only MR6110, 6400,6500 was listed
No MR6450
Appreciate if updated MR6450 can be supported too...
I've been trying to generate the AT! OPENLOCK=
But shown SDX55 not supported...
As per check only MR6110, 6400,6500 was listed
No MR6450
Appreciate if updated MR6450 can be supported too...
- Rich Hathaway
- Posts: 622
- Joined: Mon Mar 08, 2021 2:41 pm
- Has thanked: 12 times
- Been thanked: 214 times
-
- Posts: 8
- Joined: Thu Nov 30, 2023 6:41 pm
- Has thanked: 1 time
- Been thanked: 0
Re: MR5200 - Questions Re sierrakeygen Python Script?
Can anyone direct me into getting ports on my mr6500.I had a fw upgrade with ports open, but after doing a factory reset, lost my ports. Any help would be appreciated.
- Rich Hathaway
- Posts: 622
- Joined: Mon Mar 08, 2021 2:41 pm
- Has thanked: 12 times
- Been thanked: 214 times
Re: MR5200 - Questions Re sierrakeygen Python Script?
You need to use the PID 68E2 or 9025 should work also
- Rich Hathaway
- Posts: 622
- Joined: Mon Mar 08, 2021 2:41 pm
- Has thanked: 12 times
- Been thanked: 214 times
Re: MR5200 - Questions Re sierrakeygen Python Script?
Gabe,wildstyle01 wrote: Sat Dec 02, 2023 1:41 pm Can anyone direct me into getting ports on my mr6500.I had a fw upgrade with ports open, but after doing a factory reset, lost my ports. Any help would be appreciated.
I just made a tool to hard code the real ports on these MRxxxx devices so they will stick thru factory reset.
so no more fooling with the junky barely working virtual ports lol.
msg me on skype and I'll run it on your device for you
Re: MR5200 - Questions Re sierrakeygen Python Script?
I tried to do this command on Nighhawk M2 MR2100-EUS (not sim locked) but when entering it in telnet:
AT !OPENCND? (tried AT!OPENCND? too)
Gtting the following result:
ERROR
Can you help with MR2100 please? I need to repair IMEI.
- Rich Hathaway
- Posts: 622
- Joined: Mon Mar 08, 2021 2:41 pm
- Has thanked: 12 times
- Been thanked: 214 times
Re: MR5200 - Questions Re sierrakeygen Python Script?
There should be no spaces in those AT commands unless you are using some tool that was coded to need a space.
I do not have that device but those tracfone devices usually do not have this access, they lock them down pretty good.
I do not have that device but those tracfone devices usually do not have this access, they lock them down pretty good.
Re: MR5200 - Questions Re sierrakeygen Python Script?
Hi Rich. In M2 all commands are with space after AT (but I tried this too - AT!OPENCND? with the same result), e.g.:
AT !GSTATUS=?
AT !BAND=?
AT !BAND=03,"LTE B7",0,40,0
It is sim free factory unlocked MR2100-100EUS device from Germany retail store. It should not have any special protection because it is not operators version.