This is a modification of Ryan Bradley's script to support RM5XX Series modems. It works for the RM520N-GL, RM502Q-AE, RM500Q-AE, EM120K-GL, and others. For more information, see Getting ADB Access. This will allow you to replace the Quectel Forums step of the guide with an easier and faster method.
Modified by carp4 to allow AT+QADBKEY? to be entered directly and result displayed for RM5XX series modems.
Modified by iamromulan to remove the sudo reqirement and query the user to input the AT+QADBKEY? response from the modem.
-
To use this script, simply go to the following URL: https://onecompiler.com/python/3znepjcsq
-
Then replace the 12345678 with your responce from AT+QADBKEY? and click run
Your adb unlock key command will be generated under output
Alternatively, download and run the script from an environment that supports python3 and crypt with the following command:
$ python3 /path/to/qadbkey-unlock2.py
Example:
- In this example the script exits in the users home directory
user@linuxcomputer:~$ python3 qadbkey-unlock2.py
Enter the AT+QADBKEY? response: 12345678
AT+QADBKEY="0jXKXQwSwMxYoeg"
- hornetfighter515 — Basic script structure and debugging.
- Ryan Bradley – Tweaking and debugging.
- igem – Original source code.