Désimlocker un dongle 3G Huawei E1752 avec (juste) Linux
le site pour calculer le code de desimlockage :
http://a-zgsm.com/freecode/huawei/
ou mieux un script python qui fait le calcul :
-----------------------------------------------
Step one: get your unlock code.
Find your modem’s 15-digit IMEI, open up a terminal, run python and copy-paste the following code:
import hashlib
def get_code (input):
imei=str(input)
digest=hashlib.md5((imei+"5e8dd316726b0335").lower()).digest()
code=0
for i in range(0,4):
code += (ord(digest[i])^ord(digest[4+i])^ord(digest[8+i])^ord(digest[12+i])) << (3-i)*8
code &= 0x1ffffff
code |= 0x2000000
return code
Hit Enter twice after pasting. Next, type in the following, replacing the example IMEI with your own:
get_code(12345678909876)