Care Unlock  
Your online unlock store
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. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

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 02-21-2012, 13:13   #46 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 6
Member: 1721027
Status: Offline
Sonork: 54486
Thanks: 0
Thanked 0 Times in 0 Posts
Verry good for photoshop
  Reply With Quote
Old 02-21-2012, 19:58   #47 (permalink)
Insane Poster
 
Join Date: Apr 2010
Location: Tunisia, Gabes, Mareth
Posts: 84
Member: 1275172
Status: Offline
Sonork: tunisia
Thanks: 1
Thanked 8 Times in 4 Posts
Hello!
please can u give me sfr132 calc.exe or if possible just give me the unlock code for my sfr132 with this imei:

861993000411631

with all my respect!
thankyou sir
  Reply With Quote
Old 02-22-2012, 12:02   #48 (permalink)
Junior Member
 
Join Date: Feb 2012
Posts: 37
Member: 1723215
Status: Offline
Thanks: 6
Thanked 12 Times in 8 Posts
Quote:
Originally Posted by hichemlamine View Post
Hello!
please can u give me sfr132 calc.exe or if possible just give me the unlock code for my sfr132 with this imei:

861993000411631

with all my respect!
thankyou sir

NCK 754993411042

calc is here Algo for Megafon CP09
  Reply With Quote
Old 03-25-2012, 12:07   #49 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
Hi,

Thank's for the code I convert it to PHP
and I'm not very friendly with other prog languages
My question is what is the &HA value

I try with 0x30 and result is not so fare but not what I'm waiting for.
exemple:
IMEI: 861993000411631
give
NCK: 1715499341110426

and waiting for 754993411042

here is code
------------------------------------------------------------------
<?php
echo'<form method="get" action="calc3.php">
<input type="text" name="imei" />
<input type="submit" />
</form>';

if(!empty($_GET['imei']))
{
$arr = Array(1, 9, 7, 9, 1, 0, 0, 5, 2, 4, 5, 1);
$imeiArray = $_GET['imei'];
$buffer_15 = Array();

$v1 = 0;
while($v1 < 11)
{
$v2 = $imeiArray[$v1];
$v3 = $imeiArray[$v1 + 3];

if($v2 == $v3){ $v4 = $v2 + $arr[$v1] - 48; }else{ $v4 = $v2 + $v3 - 96; }
$buffer_15[$v1] = $v4 % 0x30 + 48;
$v1 = $v1 + 1;
}

$v5 = 0; $v6 = 0;
while($v6 < 10)
{
$v7 = $buffer_15[$v6];
$v6 = $v6 + 1;
$v5 = $v7 + $v5 - 48;
}

$v8 = ($imeiArray[14] + $v5) % 0x30 ;
$buffer_15[11] = $v8 + 48;
$finalValue = implode("", $buffer_15);
echo 'IMEI: '.$_GET['imei'] ; echo'<br/>'; echo 'NCK: '.$finalValue;
}
?>
------------------------------------------------------------------

Best regards

Last edited by telip; 03-25-2012 at 12:16.
  Reply With Quote
Old 03-25-2012, 15:32   #50 (permalink)
No Life Poster
 
fr3nsis's Avatar
 
Join Date: Oct 2005
Location: Italy [micoud 's house]
Posts: 1,460
Member: 190882
Status: Offline
Sonork: 100.1593148
Thanks: 139
Thanked 1,205 Times in 314 Posts
&h it is hex format on visual basic so &hA it is 0xA


Sent from my iPhone using Tapatalk
  Reply With Quote
Old 03-25-2012, 17:09   #51 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
I use 48 as decimal value it seem ok and change this part of code


while($v1 < 12)
{
$v2 = $imeiArray[$v1];
$v3 = $imeiArray[$v1 + 3];
if($v2 == $v3)
{
$v4 = $v2 + $arr[$v1] - 48;
}
else
{
$v4 = $v2 + $v3 - 96;
}
$buffer_15[$v1] = $v4 % 48 + 48;
if ($buffer_15[$v1] > 9)
{
$buffer_15[$v1] = $buffer_15[$v1] % 10;
}
$v1 = $v1 + 1;
}


after I substring the last digit

$starcode = implode("", $buffer_15);
$finalValue = substr($starcode,0,-1);

I have now the exact value for 11 first NCK digits

For the last digit I have not found yet the good code :-(
  Reply With Quote
Old 03-25-2012, 21:01   #52 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
I don't find any solution based on the initial code in PHP for the last digit
But the code is working fine for the first 11.

----------------------------------------------------------

<?php
// The form
echo'<form method="get" action="'.$_SERVER['PHP_SELF'].'">
<input type="text" name="imei" />
<input type="submit" />
</form>';

// Test if submited value
if(!empty($_GET['imei']))
{
$arr = array(1, 9, 7, 9, 1, 0, 0, 5, 2, 4, 5, 1);
$imeiArray = $_GET['imei'];
$buffer_15 = array();

$i = 0;
while($i < 11)
{
$v2 = $imeiArray[$i];
$v3 = $imeiArray[$i + 3];
if($v2 == $v3)
{
$v4 = $v2 + $arr[$i] - 48;
}
else
{
$v4 = $v2 + $v3 - 96;
}
$buffer_15[$i] = $v4 % 48 + 48;
if ($buffer_15[$i] > 9)
{
$buffer_15[$i] = $buffer_15[$i] % 10;
}
$i = $i + 1;
}
$finalValue = implode("", $buffer_15);
echo 'IMEI: '.$_GET['imei'] ; echo'<br/>'; echo 'NCK: '.$finalValue;
}
?>

-------------------------------------------------------

Any help !
  Reply With Quote
Old 03-25-2012, 22:02   #53 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
Finaly ok PHP code

FInal working code in PHP

-------------------- cut ---------------------------
<?php
echo'<form method="get" action="'.$_SERVER['PHP_SELF'].'">
<input type="text" name="imei" />
<input type="submit" />
</form>';
if(!empty($_GET['imei']))
{
$arr = array(1, 9, 7, 9, 1, 0, 0, 5, 2, 4, 5, 1);
$imeiArray = $_GET['imei'];
$buffer_15 = array();
$i = 0;
while($i < 11)
{
$v2 = $imeiArray[$i];
$v3 = $imeiArray[$i + 3];
if($v2 == $v3)
{ $v4 = $v2 + $arr[$i] - 48; }
else
{ $v4 = $v2 + $v3 - 96; }
$buffer_15[$i] = $v4 % 48 + 48;
if ($buffer_15[$i] > 9)
{ $buffer_15[$i] = $buffer_15[$i] % 10; }
$i = $i + 1;
}
$u = 0; $z = 0;
while($z < 10)
{
$v7 = $buffer_15[$z];
$u = $v7 +$u - 48;
$z = $z + 1 ;
}
$lastdigit = ($imeiArray[14] +$u) % 0xA;
$buffer_15[11] = (($lastdigit + 48) % 10) ;
$finalValue = implode("", $buffer_15);
echo 'IMEI: '.$_GET['imei'] ; echo'<br/>'; echo 'NCK: '.$finalValue;
}
?>
----------------------------------------------------------
  Reply With Quote
Old 03-26-2012, 02:29   #54 (permalink)
Freak Poster
 
mimounts's Avatar
 
Join Date: Nov 2007
Posts: 411
Member: 635691
Status: Offline
Sonork: 100.1592330
Thanks: 576
Thanked 137 Times in 79 Posts
here is my version:

Attached Files
File Type: rar SFR Calculator.rar (21.7 KB, 186 views)
  Reply With Quote
The Following User Says Thank You to mimounts For This Useful Post:
Old 03-26-2012, 16:08   #55 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
Wink

And here is my Version

http://comdif.com/calc.php

enjoy
  Reply With Quote
Old 04-20-2012, 23:03   #56 (permalink)
Freak Poster
 
Join Date: Jan 2005
Location: France
Posts: 199
Member: 103520
Status: Offline
Thanks: 2
Thanked 17 Times in 4 Posts
I love short and nice code this 132 code can be shorter
for exemple using "for" instruction in place of "while" I can remove two lines
for the modulo instructions also I'm sure I can avoid the two steps
and finaly I'm sure PHP is able to unlock this model with 10 instructions.

anyone able to make same code for SFR 151 ?
  Reply With Quote
Old 05-28-2012, 08:54   #57 (permalink)
No Life Poster
 
ponix's Avatar
 
Join Date: Feb 2006
Location: ALGERIA
Posts: 724
Member: 229016
Status: Offline
Sonork: 100.1590620
Thanks: 35
Thanked 96 Times in 74 Posts
what is the best programer uses at the moment delphi , visuel basic or php
  Reply With Quote
Old 05-28-2012, 12:34   #58 (permalink)
Product Supporter
 
YellowBoss's Avatar
 
Join Date: Jun 2009
Location: infinity-box
Posts: 10,723
Member: 1043909
Status: Offline
Thanks: 8,922
Thanked 25,248 Times in 2,396 Posts
Quote:
Originally Posted by ponix View Post
what is the best programer uses at the moment delphi , visuel basic or php
Don't spend time with old programming languages. Haskell is perfect tool for future for sure.
  Reply With Quote
Old 05-28-2012, 14:49   #59 (permalink)
No Life Poster
 
g-gabber's Avatar
 
Join Date: Oct 2005
Location: Yes
Posts: 522
Member: 192652
Status: Offline
Sonork: No
Thanks: 197
Thanked 121 Times in 88 Posts
Quote:
Originally Posted by YellowBoss View Post
Don't spend time with old programming languages. Haskell is perfect tool for future for sure.
Definitely no one use here Haskell for Commercial products. Or Best was codded in Haskell?
  Reply With Quote
Old 05-28-2012, 18:00   #60 (permalink)
No Life Poster
 
Dzirt's Avatar
 
Join Date: Nov 2009
Location: Russia , Syberia
Age: 23
Posts: 6,292
Member: 1157320
Status: Offline
Sonork: 100.1616907
Thanks: 4,102
Thanked 3,412 Times in 1,452 Posts
Quote:
Originally Posted by g-gabber View Post
definitely no one use here haskell for commercial products. Or best was codded in haskell?
Угу, и на нем тож. Как без него.
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Phone Stuff for FREE & KEy-GEn For Logo Editor ! BoNtEk - ThA WtC MeMbA Nokia Multimedia 10 03-11-2013 15:27
FREE UNLOCK SIM CARD FOR 20 PHILIPS DIGA PHONES ON CELLNET SP UNLOCKER 2000 Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 1 01-17-2011 17:10
Need help to make a site for free software hicom Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 3 10-14-1999 22:57
2 FREE NOKIA SP SIM CARDS TO RELEASE FOR INFORMATION WE NEED SP UNLOCKER 2000 Nokia Legacy Phones ( DCT-1 , DCT-2 , DCT-3 , DCT-L ) 3 09-25-1999 03:34


All times are GMT +1. The time now is 16:20.



Powered by Searchlight © 2013 Axivo Inc.
- GSM Hosting Ltd. - 1999-2013 -
Page generated in 0.49529 seconds with 12 queries

SEO by vBSEO