Skip to content

Instantly share code, notes, and snippets.

@pavelsr
Last active September 12, 2018 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavelsr/cbfe9b5ac62d33fccfc2216c34b7523b to your computer and use it in GitHub Desktop.
Save pavelsr/cbfe9b5ac62d33fccfc2216c34b7523b to your computer and use it in GitHub Desktop.
pi@raspberrypi:~/unlock/linux_huawei_unlocker $ ./unlocker.py
********************************************************************************
Huawei modem unlocker
By Neil McPhail and dogbert
This is Free Software as defined by the GNU GENERAL PUBLIC
LICENSE version 2
********************************************************************************
This software comes with NO WARRANTY
This software can damage your hardware
Use it at your own risk
********************************************************************************
Not all modems can be unlocked with this software.
Users have reported problems with the following devices:
E220, E353
Attempting to unlock these devices with this software is not
recommended. I hope to fix this in a later release.
********************************************************************************
If you wish to proceed, please type YES at the prompt
>> YES
Trying to find which port is the active modem connection.
Please be patient as this can take a while.
Testing port /dev/ttyUSB1
Activity detected
Trying to obtain IMEI.
The modem will be given 5 seconds to respond.
Found probable IMEI: 868757025879608
IMEI checksum OK.
********************************************************************************
Warning
Your modem's IMEI begins with '8'
It is likely to be incompatible with this script
Proceed at your own risk
Please provide feedback: see README and HELPME
********************************************************************************
Checking the lock status of the SIM.
The modem will be given 5 seconds to respond.
This SIM should be unlockable...
Remaining attempts: 10
Exceeding this will hard-lock the modem
Unlock code = 45983455
Please be aware that a failed unlocking attempt could break your modem.
This is a risky procedure.
If you wish to proceed, please type YES at the prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment