Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.
/ qadbkey-unlock Public archive

Python version of igem's qadbkey-unlock program from xnux.eu

License

Notifications You must be signed in to change notification settings

rbradley0/qadbkey-unlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quectel EG25-G ADBKEY Unlock script

As the README title suggests, this is a simple python script that can be used to generate a QADBKEY for the Quectel EG25-G modem used in the PinePhone. The original source by igem can be found here

How To Use

To use this script, you must have the following:

  • Some variant of Linux, macOS, BSD, whatever... as long as it's not Windows, this script should work.
  • Python >= 3
  • pySerial >= 3.5
  • A QADBKEY for the input, read here under the Unlock ADB Access section.

Enter the virtualenv and install the required Python dependencies using:

$ python -m venv .venv # generates a python virtualenv...
$ source .venv/bin/activate
(.venv) $ pip install -r requirements.txt

Once you have obtained the prerequisites, run the script with either of the following commands:

$ ./qadbkey-unlock.py -d <device> [-b <baudrate> -t <timeout>] # device is usually /dev/ttyUSB2 @ 115200 baud on PinePhone.
...OR...
$ python qadbkey-unlock.py -d <device> [-b <baudrate> -t <timeout>] # device is usually /dev/ttyUSB2 @ 115200 baud on PinePhone.

Contributors

About

Python version of igem's qadbkey-unlock program from xnux.eu

Topics

Resources

License

Stars

Watchers

Forks

Languages