|
![]() |
|
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. |
| |||||||
| Register | FAQ | Donate | Forum Rules | ★. iPhone Unlock .★ | -= JTAG BOOM =- | Search | Today's Posts | Mark Forums Read |
| GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #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 |
|
| | #48 (permalink) | |
| Junior Member ![]() ![]() Join Date: Feb 2012
Posts: 37
Member: 1723215 Status: Offline Thanks: 6
Thanked 12 Times in 8 Posts
| Quote:
NCK 754993411042 calc is here Algo for Megafon CP09 | |
|
| | #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. |
|
| | #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 :-( |
|
| | #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 ! |
|
| | #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; } ?> ---------------------------------------------------------- |
|
| | #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 ? |
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
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 |