GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering

GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 01-11-2011, 14:42   #196 (permalink)
No Life Poster
 
elcapitel's Avatar
 
Join Date: Jul 2005
Location: zunZun Team
Age: 43
Posts: 10,185
Member: 166270
Status: Offline
Sonork: 100.1579747
Thanks Meter: 12,673
Thumbs up


try this:
reset your phone with
mobile on without sim
###825*09#
then insert nck code

br
elcapitel



Quote:
Originally Posted by azad73 View Post
could you plz tell me how to put the nck and spck in to the mobile ? i have them but how to treat?
thanks
  Reply With Quote
The Following User Says Thank You to elcapitel For This Useful Post:
Old 02-19-2011, 17:32   #197 (permalink)
Junior Member
 
Join Date: Aug 2007
Posts: 18
Member: 568566
Status: Offline
Thanks Meter: 2
please anyone can you give me unlock codes for zte s320?
thanx in advace
imei:351629040126527
s/n:321802495053
and
351629040214828
s/n:322903080222
and
351629040220627
s/n:322903110202
from telenor network....
thanx
  Reply With Quote
Old 03-05-2011, 11:41   #198 (permalink)
Banned
 
Join Date: Dec 2009
Posts: 114
Member: 1184126
Status: Offline
Thanks Meter: 17
Quote:
Originally Posted by elcapitel View Post
..:: For educational purpose ::..

I know how to calculate the SPCK in the ZTE cell following:
SFR 232, SFR 341, SFR 342, ORANGE Vegas, VODAFONE INDIE, X760, X761, X960, GX760, GX761, T-Mobile Vairy Touch.


To calculate the SPCK in this cell, you take digits of IMEI number from 4 digit to 15.
The digits are reversed, put the remaining 12 digits and below the 12 digits of NCK. Then we sum digit by digit, and if it is greater than 10, put the digits on the right and BINGO!
as i show, any examples:
:::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::
-------------------------------
imei : 356 318020000001

reversed 12d: 100000020813
NCK Code : 938950060489
SPCK Code : 038950080292


100000020813 reversed 12 latest imei digits (318020000001)
938950060489 NCK code
038950080292 SPCK code
--------------------------------
--------------------------------
Phone Imei : 357 873022388655

NCK Code : 277338726619
SPCK Code : 723111946987


556883220378
277338726619 : NCK code
723111946987 : SPCK code
--------------------------------
--------------------------------
Phone Imei : 356 318024364560

NCK Code : 284172888404
SPCK Code : 249535208217

065463420813
284172888404 : NCK Code
249535208217 : SPCK Code
--------------------------------


Note: This algorithm was obtained by my Based on comparison of results of NCK and SPCK posts, do not in any other way...



To calculate the NCK all part of: 688950000000 and the respective algorithm...


Best Regards
elcapitel
can you give a unlock code for following zte usb modem
Found modem : MF100
Model : ZTE MF100
IMEI : 353164042500865
Firmware : BD_P671A1V1.0.3B21
Compile date / time : Jul 02 2010 19:21:49
Chipset : Qualcomm MSM6246
SIM Lock status : Locked (Card Lock)

it will ask a 16 digit unlock code.
please help me.
it is a great help for me.
Thanks
Have a Nice day
  Reply With Quote
Old 03-06-2011, 11:15   #199 (permalink)
No Life Poster
 
elcapitel's Avatar
 
Join Date: Jul 2005
Location: zunZun Team
Age: 43
Posts: 10,185
Member: 166270
Status: Offline
Sonork: 100.1579747
Thanks Meter: 12,673
Hi bro
This algo not supported zte usb modem

br
elcapitel



Quote:
Originally Posted by suppa View Post
can you give a unlock code for following zte usb modem
Found modem : MF100
Model : ZTE MF100
IMEI : 353164042500865
Firmware : BD_P671A1V1.0.3B21
Compile date / time : Jul 02 2010 19:21:49
Chipset : Qualcomm MSM6246
SIM Lock status : Locked (Card Lock)

it will ask a 16 digit unlock code.
please help me.
it is a great help for me.
Thanks
Have a Nice day
  Reply With Quote
Old 03-08-2011, 06:04   #200 (permalink)
No Life Poster
 
elcapitel's Avatar
 
Join Date: Jul 2005
Location: zunZun Team
Age: 43
Posts: 10,185
Member: 166270
Status: Offline
Sonork: 100.1579747
Thanks Meter: 12,673
Exclamation

Hello bro, u need use dc-unlocker or "huawei factory code" imei service.

unlock from this huawei not is for free

br
elcapitel



Quote:
Originally Posted by sarasin View Post
Hi! Could anyone calculate NCK for HUAWEI U1280 plz?
IMEI 35529103197637-2-25
  Reply With Quote
Old 03-09-2011, 03:30   #201 (permalink)
Junior Member
 
Join Date: Mar 2011
Posts: 4
Member: 1531519
Status: Offline
Thanks Meter: 0
Quote:
Originally Posted by elcapitel View Post
Hello bro, u need use dc-unlocker or "huawei factory code" imei service.

unlock from this huawei not is for free

br
elcapitel
I've no credits for dc-unlocker and i can't buy credits. Is there any other way to solve my problem?
  Reply With Quote
Old 11-16-2011, 20:50   #202 (permalink)
Freak Poster
 
mchizan's Avatar
 
Join Date: May 2007
Location: somewhere in space
Posts: 107
Member: 505345
Status: Offline
Thanks Meter: 11
Thumbs up

Thanks to elcapitel ,i have followed this thread and i've learnt alot on unlock codes.'
  Reply With Quote
Old 11-18-2011, 22:26   #203 (permalink)
Freak Poster
 
mchizan's Avatar
 
Join Date: May 2007
Location: somewhere in space
Posts: 107
Member: 505345
Status: Offline
Thanks Meter: 11
Thumbs up

And to add on that i managed to write the code in python! its a bit dirty but does the job anyway

Thanks again elcapitel and co.
  Reply With Quote
Old 11-19-2011, 18:26   #204 (permalink)
No Life Poster
 
elcapitel's Avatar
 
Join Date: Jul 2005
Location: zunZun Team
Age: 43
Posts: 10,185
Member: 166270
Status: Offline
Sonork: 100.1579747
Thanks Meter: 12,673
Exclamation

check here:
Quote:
import hashlib, getopt, sys

magic = [6, 8, 8, 9, 5, 0, 0, 0, 0, 0, 0, 0]

def info():
print "zte-unlock.py: calculates unlock codes for ZTE devices"
print "Based on the reverse engineering of elcapitel and y3kt"
print "Copyright (c) 2010 dogbert <[email protected]>"
print ""

def usage():
print "Options: -i*, --imei=* IMEI of the device"
print ""
print "Example: zte-unlock.py --imei=351234567891239"
print ""

def testIME******sum(digits):
_sum = 0
alt = False
for d in reversed(digits):
assert 0 <= d <= 9
if alt:
d *= 2
if d > 9:
d -= 9
_sum += d
alt = not alt
return (_sum % 10) == 0

def checkIMEI(imei):
digits = []
if len(imei) != 15:
print "IMEI too short/long"
return False
for i in imei:
digits.append(int(i))
if not testIME******sum(digits):
print "IMEI checksum invalid"
return False
return True

def getCode(imei):
digits = []
nck = ""
spck = ""
crosssum = 0
for i in imei[3:15]:
digits.append(int(i))
for i in digits:
crosssum += i
for i in range(0,len(digits)):
code = (digits[i]*crosssum + digits[11-i]*8 + magic[i]) % 10
nck += "%d" % code
spck += "%d" % ((code + digits[11-i]) % 10)
return (nck, spck)

def main():
info()
try:
opts, args = getopt.getopt(sys.argv[1:], "hi:", ["help", "imei="])
except getopt.GetoptError, err:
print str(err) # will print something like "option -a not recognized"
usage()
sys.exit(2)

imei = ""
interactive = False

for o, a in opts:
if o in ("-i", "--imei"):
imei = a
elif o in ("-h", "--help"):
usage()
sys.exit()

if imei == "":
imei = raw_input("Please enter the IMEI of the device: ")
interactive = True

if checkIMEI(imei):
nck, spck = getCode(imei)
print ""
print "Network Control Key (NCK): " + nck
print "Service Provider Control Key (SPCK): " + spck
print "done."

if interactive:
raw_input()

if __name__ == "__main__":
main()
br
elcapitel




Quote:
Originally Posted by mchizan View Post
And to add on that i managed to write the code in python! its a bit dirty but does the job anyway

Thanks again elcapitel and co.
  Reply With Quote
The Following User Says Thank You to elcapitel For This Useful Post:
Old 11-26-2011, 23:42   #205 (permalink)
Freak Poster
 
mchizan's Avatar
 
Join Date: May 2007
Location: somewhere in space
Posts: 107
Member: 505345
Status: Offline
Thanks Meter: 11
Quote:
Originally Posted by elcapitel View Post
check here:


br
elcapitel
Thanks elcapitel as i said,i tried the your algorithm with python which i am currently learning, i am looking at your code currently,
i saw importing hashlib, was it necessary,?
btw i have attached my code too
and i am looking for feedback
Code:
writen by mchizan
#Thanks to elcapitel and friends...
magic='688950000000'
def shortImei(imei):
imei=imei[3:]
return imei
def sumImei(shortImei):
sumImei=0
for i in shortImei:
sumImei= sumImei+ int(i)
return sumImei
def mod(str1,num1):
line= ''
for i in str1:
d= int(i)*num1
line= line+(str(d))[-1:]
return line
def revImei(s):
sr=''
im=[]
for i in s:
im.append(i)
im.reverse()
for i in im:
sr=sr+i
return mod(sr, 8)
def figs(imei):
a=shortImei(imei)
b= sumImei(a)
c=mod(a,b) # initial code
d=revImei(a)
return c, d
def add(c, d):
y='' #initialize an empty string to hold values
e=magic # magic number to be added
for i in range(len(c)):
x=int(c[i])+int(d[i])+int(e[i])
y=y+str(x)[-1:] #only last digits to be picked
return y # final unlock code
def getcode(imei):
f,d=figs(imei)
nck= add(f, d)
return nck
print getcode('000000002243814') #add imei in the function getcode('imei')
#862374462246
  Reply With Quote
The Following User Says Thank You to mchizan For This Useful Post:
Old 01-15-2012, 20:35   #206 (permalink)
Junior Member
 
Join Date: Jan 2012
Posts: 10
Member: 1711506
Status: Offline
Thanks Meter: 0
Thanks for everyone worked on this and really really i like this forum so much .. i made my own huawei calculator and i think ZTE is more easy than huawei.

But i want to ask you if there is any news for ZTE modems that support to unlock by the NCK ?
Thanks.
  Reply With Quote
Old 01-28-2012, 10:16   #207 (permalink)
Freak Poster
 
mchizan's Avatar
 
Join Date: May 2007
Location: somewhere in space
Posts: 107
Member: 505345
Status: Offline
Thanks Meter: 11
asaik,i normally use cable to unlock, anyone with info?
  Reply With Quote
Old 12-08-2015, 18:56   #208 (permalink)
Insane Poster
 
Join Date: Jun 2008
Posts: 73
Member: 801328
Status: Offline
Thanks Meter: 14
What about 16-digits NCK calculation?
I have a lot of examples (IMEI+NCK pairs) if you need it for reverse engineering and understanding how it works. Can provide here or in private as well.
  Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
how to enter code in Zte F870? mulenga ZTE 0 02-20-2010 22:56
Help To Remove Userlock In Zte F850 hans salim Infinity-Box 1 04-14-2008 15:59
Phillips C12 Locked to sim (want to use sim in another phone!) M0rph3u5 Philips 1 07-02-2003 13:19
Someone can to calculate log in *lc format? partner44 Phone Unlocking Codes & Maps 0 08-31-2002 08:48

 



All times are GMT +1. The time now is 15:09.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.23573 seconds with 10 queries

SEO by vBSEO