Go Back   Android Forums > Android Phones > Samsung Galaxy Apollo (3)

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes

test: Reply
 
LinkBack Thread Tools
Old May 4th, 2011, 03:07 AM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default How to Network unlock your Samsung i5800/i5801 using ADB

How to network unlock your Samsung i5800/i5801 phone using ADB

(or not as the case may be! Please read the entire thread before starting.)

Firstly, if you are concerned that unlocking your phone will void your warranty with your network carrier/provider, instructions are included at the end on how to re-lock your phone to your chosen carrier/provider.

Secondly, the instructions that follow do not harm you phone in anyway. You are simply copying a file from the phone to your PC and working on the file on your PC to extract the unlock code. The worst that can happen is that the program does not find the code. I have provided methods for rooted phones and non-rooted phones.

Thirdly, this guide is very detailed and is aimed at those new to Android phones and those with limited programming knowledge. There is plenty of explanation at each stage.

Preparation

ADB stands for Android Debug Bridge. The adb commands are meant to be run from the host machine (PC) that your phone is connected to via USB. The adb utility is installed automatically if you install the Android SDK (Software Development Kit) on your host machine. If you don’t want to install the full Android SDK you can install smaller tools which contain the adb utility.

The one we are going to install is AndroidControl, a tool developed by the xda-developers and available to download from their forum at

[TOOL] AndroidControl v1.3 - control your Android - xda-developers

Registration is free. Download it and install it to a drive/folder on your PC which is easy to find. For example you could create a folder called ‘Workbench’ on the C: drive.

For phones that are rooted

Download the tool Samsung Galaxy Unlock code eXtractor SGUX2.exe file. It's a win32 executable.

You can download sguX2.exe (v.0.92b) at: Multiupload.com - upload your files to multiple file hosting sites!

For phones that are NOT rooted

Download the tool Generate Unlock Windows.zip which is a compressed file.

It can be downloaded from Generate Unlock Windows.zip

Once downloaded extract the .zip file. A folder(s) will be created in which there will be a Windows batch file called Generate_Code.

Step 1

On your phone, go to the keypad and type the code *#7465625#

On typing the last character # , a pop up screen should appear titled Personalisation status. You should see the following:

Network Lock (on/off)
Network Subset Lock (on/off)
Service Provider(SP) lock (on/off)
Corporate Service Provider (CP) Lock (on/off)

Only the Network Lock should be showing as ON.

Step 2

On your PC, depending on your version of Windows, go to Start >All programs > Accessories and open Command prompt. Alternatively go to Start > Run and type cmd and hit <enter>.

This will take you to the Windows Command Prompt (it replaces the MS-DOS command prompt if you are old enough to remember it!). It will look something like

C:\Users\your_name>

You need to locate the drive/directory where you saved AndroidControl.

If you are unfamiliar with Windows / MS DOS commands the following should help:

To change drive, eg to drive E, type E: and hit <enter>.
To change to the root directory of a drive, type cd \ and hit <enter>
To change to another director/sub directory type the path
eg cd \Workbench\AndroidControl_v1.3 and hit<enter>
To see the contents of a directory type dir and hit <enter>

You are looking for the sub-directory in which adb.exe file is located. Mine is located in the directory AndroidControl_v1.3 itself.

Once located you should have a command prompt similar to:

C:\Workbench\AndroidControl_v1.3>

Step 3

Set your phone into USB debugging mode by going to Applications > Settings > Development > USB Debugging.

Step 4

Connect your phone to a USB port on your PC using the cable.

Step 5

Back on the computer, at the Windows command prompt

C:\Workbench\AndroidControl_v1.3>

type adb devices and hit <enter>

It should show your phone listed on one of the ports, eg:

List of devices attached
644298c722a9 device

Note: If you run adb devices and it comes back with an empty list, then make sure you have set the phone into USB debugging mode (Application > Settings > Development > USB Debugging) before connecting it to the PC.

Once successful with the above step

type adb Shell and hit <Enter>

the command prompt will change to #

Now type su and hit <Enter>

Back on your phone screen, if your phone is NOT rooted, you should see a pop up message for "Superuser Permission" (try to keep your screen on. The timer automatically turns the screen off, so you might miss the pop up message). "grant it permission" to allow, else you will get a "permission denied" ). If your phone is rooted, nothing will appear on your screen as you already have Superuser permission !

Step 6

If your phone is rooted

On the ADB shell command prompt #

type cd /dev/block and hit <Enter> (Note the change from \ to / )

Then type dd if=/dev/block/bml3 of=/sdcard/bml3.bak and hit <Enter>

The dd command line says, "Reading from the input file /dev/block/bml3 on the phone, write all of the data to the output file /sdcard/bml3.bak to be created on the sd card",

which effectively is making a backup copy of the bml3 file and storing it on the root of the sd card. You should get something like:

Code:
20480+0 records in
20480+0 records out
10485760 bytes transferred in 0.826 secs (12694624 bytes/sec)

If your phone is not rooted

On the ADB shell command prompt #

type cd /efs and hit <enter>

Then type dd if=/efs/nv_data.bin of=/sdcard/nv_data.bin and hit <enter>

The dd command line is explained above.

You should get something like:

Code:
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.633 secs (828259 bytes/sec)


bml3.bak or nv_data.bin is now on the root of your sd card.


Step 7

Now, on your phone disable USB debugging by going to Applications > Settings > Applications > Development > USB debugging. Unplug the USB cable from the phone.

Step 8

Plug the USB cable back to the phone. Now go to Settings > Wireless and Network > USB settings and choose USB Mass Storage mode.

Accept the choice to copy files between your device and PC. A pop-up window should appear on your Windows desktop (called 'Autoplay'). Choose the option 'Open folder to view files using Windows Explorer'. You should now see your phone as a 'Removable Drive' and should see the the bml3.bak or nv_data.bin file listed. Using Windows Explorer copy the file from the sd card to your PC.

If your phone is rooted

Copy the bml3.bak file from the internal SD card to your working folder on your PC where you have downloaded SGUX2.exe file

If your phone is NOT rooted

Copy the nv_data.bin file from the internal SD card to your working folder on your PC where the Generate_Code batch file is located.

Step 9

Back on the Windows Command Prompt screen we have finished with ADB, so type exit at both the # and $ prompts to completely clear the PC from the phone. You should now be back to the MS DOS command prompt C:\Workbench\AndroidControl_v1.3>

Step 10

If your phone is rooted

change directory to the folder where you have the SGUX2.exe file and the bml3.bak file (they should be in the same folder).

type sgux2.exe bml3.bak and hit <enter>

You should get something like this

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

Opening file <bml3.bak>...
Searching code block...
Found.
Searching codes...

Freeze code : 98765432
Network Control Key: 12345678


Take a note of both the Freeze Code and the NCK (Network Control Key)

If your phone is NOT rooted

change directory to the folder where you have the Generate_Code batch file and nv_data.bin file (they should be in the same folder)

type Generate_Code.bat and hit <enter>

Look for the line

Network Control Key:YourCode

Take a note of the Code.

Step 11

Cancel the USB storage mode and disconnect the USB cable.

Power off your phone.

Put in a SIM card from another carrier / provider

Power the phone back on.

When it boots up it will ask for the unlock code. Enter the NCK (Network Control Key) code you found in Step 10.

It should say "Requesting network unlock" followed by "Network unlock successful"

Done, the phone should now be unlocked.


HOW TO RE-LOCK SAMSUNG Apollo – FOR WARRANTY PURPOSES ONLY (TESTED)

After you get the NCK code using the method above,

use the phone keypad and type *7465625*638*#

A pop-up box will appear with two boxes:

MCC/MNC and
Control Key

MCC/MNC stands for Mobile Country Code and Mobile Network Code. The codes can be found on the internet eg at

UnlockMe - Mobile Network Provider Codes MCC & MNC - Unlock Code

or

http://users.zipworld.com.au/~rmills/MCCandMNCValues.htm

Complete the first box (MCC/MNC) with the country and network code you want your phone locked to (eg. 22610 where 226 = romania; 10 = orange etc.).

Complete the second field (Control Key) with the NCK code you obtained.

Press OK and your phone should relock.

References:

[REF] How to: Extract "Freeze Code" for Free [NOT_UPDATED_ANYMORE] - xda-developers
[HOWTO] Software Unlock; How to unlock Bell Galaxy S Vibrant i9000M - xda-developers
[REF] How to unlock/unfreeze all SGS Models [NOW WORKS ON Vibrant 4G][Updated 4-9-11] - xda-developers
Antonfred likes this.

bjlabuk is offline  
Last edited by bjlabuk; May 10th, 2011 at 01:58 PM.
Reply With Quote
The Following 2 Users Say Thank You to bjlabuk For This Useful Post:
larrysanchez (February 2nd, 2012), Slapote479 (March 15th, 2012)
sponsored links
Old May 4th, 2011, 03:31 PM   #2 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Wow thanks for the detailed post I hope it works when my Orange locked i5801 arrives as I need it network unlocked.

I asked in another post in here if it was possible to network unlock but replies said best to goto a stall that do them and pay around 10-15. But this way you say you can re-lock to network fr warranty which is great.

So my phone will be a standard Orange locked i5801, I'm not planning on doing any custom firmware, rooting or anything will this work for me?

I believe there's an official froyo update fir Orange i5801s via Kies in UK so will do this before I try this

Cheers
MrMister is offline  
Reply With Quote
Old May 4th, 2011, 04:52 PM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

'Going to the stall' was the short easy answer !

But when I did a bit of digging I found this method. It should work for you if you follow the Not rooted instructions.

bjl
bjlabuk is offline  
Reply With Quote
The Following User Says Thank You to bjlabuk For This Useful Post:
larrysanchez (February 2nd, 2012)
Old May 8th, 2011, 05:25 PM   #4 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

OK got phone, updated it to v2.2 officially as still on Orange at moment.

Followed these instruction, get adb devices list, but when I type adb shell, I get the $ sign not the # sign above. I then typed su anyway after the $ sign and says su: not found.

I have the usb debugging mode ticked. can you help?

cheers
MrMister is offline  
Reply With Quote
Old May 9th, 2011, 12:30 AM   #5 (permalink)
New Member
 
Join Date: May 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default su and read only rights

Hi bjlabuk,
I came across your writting for the unlocking prodedure and its a very nice ... thanks for that details.

I am trying to unlock my "galaxy s Fascinate" using your steps. When I came to the step for getting su access it did not take it. The su is not their in the bin directory and also the directories are in a read-only state.

I hope that I can get your help in getting this phone to be unlocked.

thanks,
Joseph
verybigtiger is offline  
Reply With Quote
Old May 9th, 2011, 10:27 AM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Okay,

Not sure what you mean by "The su is not their in the bin directory and also the directories are in a read-only state."

The file you are looking for is nv_data.bin and it is in the /efs directory.

Make sure when you type the command su on your PC that you are watching your phone screen for the 'permission allow' message.

If that still doesn't work,
then from the MS-DOS command prompt type:

adb pull /efs/nv_data.bin

(adb pull copies the specified file from your phone to the directory on your computer where you ran the adb command from)

If you receive a permission denied error, you can fix it by typing the following commands from an ADB shell (type "adb shell" at the DOS command prompt):

su
chmod 777 /efs/nv_data.bin
exit
exit


(chmod changes the permissions of each given file according to mode. chmod 777 <file> allows everyone to read, write, and execute <file>.)

Then from the DOS command prompt:

adb pull /efs/nv_data.bin

This should copy the nv_data.bin file to you computer.

If you don't like the idea of using chmod 777, then try using AndroidControl which you downloaded at the start. Remember to put your phone into USB debug mode.

Failing all the above the simplest answer would be to root your phone which you can do with Superoneclick at

[APP]SuperOneClick v1.9.1 (Root, Unroot, Enable Non-Market App) - xda-developers



bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; May 9th, 2011 at 12:25 PM.
Reply With Quote
Old May 9th, 2011, 11:11 AM   #7 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Will try, but I get the $ sign not the # sign as you say, does it matter? Also as soon as I type su it says not found
MrMister is offline  
Reply With Quote
Old May 9th, 2011, 11:26 AM   #8 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

MrMrMr

Tried it on my own phone from the Androidcontrol_v1.3 folder. Typed adb shell and get the # prompt so not quite sure why you are getting $.

Then tried from the MS-DOS prompt C:\Workbench\AndroidControl_v1.3>

adb pull /efs/nv_data.bin

and got

1426 kb/s <524288 bytes in 0.358s>

Then typed dir

and nv_data.bin is listed in the AndroidControl_v1.3 folder.

bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; May 9th, 2011 at 12:39 PM.
Reply With Quote
Old May 9th, 2011, 12:55 PM   #9 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Ok will try again when I get in, thanks for help though. So either way will work (command above I mean)

Unsure how I'm getting a $ sign but I am!?!

Cheers
MrMister is offline  
Reply With Quote
Old May 9th, 2011, 01:36 PM   #10 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I successfully made the 9 steps but when i came to the 10 step it gives me just this code

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

Opening file <bml3.bak>...
Searching code block...

the sgux2.exe and the bml3.bak file from the sd card are in the same directory,some help?
sajd is offline  
Reply With Quote
sponsored links
Old May 9th, 2011, 01:45 PM   #11 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

still not working for me, I have a bin file after typing "adb pull /efs/nv_data.bin" but now what do I do with it please? it says its 0 bytes in the folder

Attached Images
File Type: png ADB.PNG (8.9 KB, 41 views)
MrMister is offline  
Last edited by MrMister; May 9th, 2011 at 01:47 PM.
Reply With Quote
Old May 9th, 2011, 02:47 PM   #12 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh... you dont understand anything of this, do you? look, su is to get in root of the android on the phone, and after get from there the nv_data.bin or blm3.bak file. In your case with the command adb pull /efs/nv_data.bin you take that nv_date.bin file from the telephone and it's copied on your location (ex. D:\Android\AndroidControl ). Go to your correct location and you will see that file into it.After that make the 10 step from this tutorial, for me it isnt work.

btw if you want to try to work with the SU command first you have to root your telephone. And here is a LINK how can you do that if you want to try. I hoped i help you ...
sajd is offline  
Reply With Quote
Old May 9th, 2011, 02:51 PM   #13 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

MrMrMr,

If it says 0 bytes then nothing has copied. Try the command

cat /efs/nv_data.bin > /sdcard/nv_data.bin

which says "copy the file .. to the sdcard and call the file....". Then copy it from the sdcard to your PC.

Sajd

if SGUX is not working you may have to manually search for the unlock code using a Hex Editor. Have a look at

Unlock Samsung Galaxy S 4G [Step-By-Step Guide]

and the screen shot of the Hex Editor. I downloaded the freeware HxD Hexeditor

and used the search facility to search for the text string

FF FF FF FF 01 00 00 00 00

I found it opposite offset value 00006c40.

The unlock code should be in the third column on the same line.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old May 9th, 2011, 03:51 PM   #14 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

ok the file is 512Kb now. I then copied it to the folder for Generate Unlock Windows, ran the "Generate_Code.bat" and it just says...see screenshot

I opened the nv_data.bin in that hex editor, results around address you said are on screenshot, not sure what the results are or if I've done it correct.

did you see the last screenshot where I get $ sign? any ideas?
Attached Images
File Type: png Unlock.PNG (42.4 KB, 74 views)
Attached Files
File Type: zip Hex.zip (52.6 KB, 85 views)
MrMister is offline  
Last edited by MrMister; May 9th, 2011 at 04:41 PM.
Reply With Quote
Old May 9th, 2011, 04:40 PM   #15 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Ive used the command adb pull /efs/nv_data.bin and get the bin file on my PC fine now. Ive opened up the bin file on 2 hex editors, and searched the string, but theres no code beside it, please see the screenshots.

Why dont I have a code? whats gone wrong? any more help greatly appreciated, need it unlocked asap to test

cheers
MrMister is offline  
Reply With Quote
Old May 9th, 2011, 07:18 PM   #16 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried to do with hex but it wasnt succesful ( i cant find the FF FF FF FF 01 00 00 00 00, it gives me a "NO OCCURRENCES OF ' FF FF FF FF 01 00 00 00 00 ' FOUND".
sajd is offline  
Reply With Quote
Old May 9th, 2011, 11:19 PM   #17 (permalink)
New Member
 
Join Date: May 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I issue the su command it says its not found.. weither theirs no access for the directories .. no permission ... I tried the cat command but the eft directory is not access .. I do not have right for ... I can see it though. any utility that can let me get a su rights?? I trid the froy and frozend.
verybigtiger is offline  
Reply With Quote
Old May 10th, 2011, 12:09 AM   #18 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Sajd

Make sure you set BYTES TO “32″and that the Char Set is ANSI.

In the Search field make sure Data-type is 'hex-values' and the Search Direction is 'All'.

You should get one or more hits, so press 'Find again' to move through each one.
until you have been through them all.

If you look at your Hex editor there are 3 window panes on the highlighted line.


The left hand pane - offset value, eg 4CCC60h
The middle pane - Hex Keys, eg FF FF FF FF 01 00 00 00 00
The right hand pane - ANSI text ,eg yyyyyyyyy where the code should be.


You are looking for an 8 digit code in the right hand pane. This is your unlock code NCK for your phone.


If all that fails then I can't think of anything else without altering the files on your phone. See

http://forum.xda-developers.com/showthread.php?t=761045

but you do this at your risk.

It might be simpler paying the 10 to get a shop to unlock it !!!


On the positive side, you have learned a bit more about Android ADB and the Windows Command prompt !!!! And we haven't damaged the phone.



bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; May 10th, 2011 at 10:19 AM.
Reply With Quote
Old May 10th, 2011, 02:55 AM   #19 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

If i attach the file here will you see it for me? I would be very happy:-)
sajd is offline  
Reply With Quote
Old May 10th, 2011, 10:36 AM   #20 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Any help for me please? Can find the Hex string but there's no code in the RH column. Please screenshots I attached above.

Cheers
MrMister is offline  
Reply With Quote
sponsored links
Old May 10th, 2011, 11:15 AM   #21 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Sajd / MrMrMr

I can't offer any other suggestions. If the two extraction programs aren't working and the hexEditor doesn't show the codes clearly then I think you are going to have to go to a shop.

Sorry.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old May 10th, 2011, 11:19 AM   #22 (permalink)
New Member
 
Join Date: May 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello bjlabuk and all,
I was able to root and got the #. then used su.
I was able to get the bml3.bak.
when downloading the sgux2.exe ... I got a message about a torajan viruse from any where I went to get on the net... I'm not sure the one that I got after all is clean but when used "sgux2 bml3.bak" it bring nothing back.
any advise would be appreciated. also I can open the file in the Hexeditor and see some numbers but they are not matching the tutorial... any suggestion guys would be appreciated.

Joseph
verybigtiger is offline  
Reply With Quote
Old May 10th, 2011, 12:23 PM   #23 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

To all,

By way of explanation when I bought my own i5800 it was SIM free and unbranded. I produced the above tutorial after following all the steps myself up to Stage 10 when I got the same message as Sajd:

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

Opening file <bml3.bak>...
Searching code block..


I thought the program wasn't finding the code because my phone was already unlocked to all networks. I made the assumption that the programs would work on locked phones. It looks like I was wrong.

Even looking for the code manually using the HexEditor appears to be unsuccessful, so either (i)the code is there but we are not looking for it in the right place, or (ii) there is no unlock code stored.

It appears that on some Samsung Galaxy models the unlock code is stored in one of the files mentioned, but on others it is not - it is stored on a secure remote server. It looks like the SG3 is one of those phones, although I haven't found anything on the internet to confirm this. If that is the case then the only way to get the unlock code is by paying for it or asking your carrier / provider to supply it.

bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; May 15th, 2011 at 02:05 AM.
Reply With Quote
The Following User Says Thank You to bjlabuk For This Useful Post:
haibinhle (October 19th, 2011)
Old May 12th, 2011, 08:48 PM   #24 (permalink)
New Member
 
Join Date: May 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have a problem, i cant see my i5800 listed as a device by the command adb devices at step 5 and debugger usb mode is enabel on my phone.

i read in other threads something about a special windows usb driver to be use but i installed android sdk and see many other webs and i am stuck in this step, can anybody tell me where can i download it?
epsilonnosis is offline  
Reply With Quote
Old May 13th, 2011, 12:30 PM   #25 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

You need the latest Windows USB drivers. You get them by installing the latest version of Samsung Kies.

By all means follow the steps, but I don't think you will find the unlock code. I have found a comment on the XDA developers website that basically says that the unlock methods for SGS phones don't work for the i5800/i5801 phones because the nv_data.bin file is different from them. Sorry.

bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; May 13th, 2011 at 12:51 PM.
Reply With Quote
Old May 13th, 2011, 02:53 PM   #26 (permalink)
Member
 
Join Date: Nov 2010
Posts: 145
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 4 Times in 4 Posts
Default

Man so we are goosed, after struggling for a while and eventually getting the nb_data file I thought I had it cracked. So no other way apart from these stalls that do them? so I take it they use better, more expensive equipment to get the code then?

Once network unlocked by a stall is it like this forever? eg any updates (although think the official Orange v2.2 will be last for i5801), will leave it unlocked?

Will my Orange i5801 with officially updated v2.2 on be ok to network unlock then? ie nothing will happen if I put in a UK O2, or US AT&T SIM in?

If it's only going to be a tenner suppose I'll have to now, bit disappointed as I bought off eBay for 50, and was hoping no more cost.
Cheers
MrMister is offline  
Reply With Quote
Old May 16th, 2011, 06:42 AM   #27 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Hey !!!! This thread has become a sticky !!!!!!!!!!!!!

I am both honoured ..

and embarrassed.. ...because the method doesn't work !!!!!!

Never mind, if you do follow the instruction you will at least learn how to move files between your phone and PC using ADB and the Windows command prompt, which will give you the confidence to try other things.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old May 27th, 2011, 12:46 PM   #28 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Anyone still interested in trying to unlock their phone might like to look at

How to: Spica(i5700) sim unlock free.

You try this at your own risk, but it might give you an idea of what to look for in the nv_data.bin file.

If you do find the right sequence you can let us know !

bjlabuk
bjlabuk is offline  
Reply With Quote
Old June 13th, 2011, 02:05 PM   #29 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Okay,

Looking at how to unlock the Spica i5700 it would appear that the third column of characters is encrypted, so without a decryption algorithm we are not going to find the unlock code itself. However it might be possible to change the hexidecimal values and unlock the phone the same way as the Spica. It will mean altering the nv_data.bin file and copying it back to the phone.

I have temporarily installed the stock ROM I5800XXJPN which is unlocked but rooted. Following the above steps I have copied the nv_data.bin file to my PC and opened it with the Hex editor. Looking for something similar to the Spica I have the following lines

0040000 .................................................. .............. I5800XXJP4..N...

0040040 01 01 00 01 FF 00 FF FF 01 FF FF FF FF FF FF FF ....y.yy.yyyyyyy

What would be interesting is if someone with a locked and not rooted i5800/i5801 could compare this line with the same line in their nv_data.bin file.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old June 17th, 2011, 12:21 AM   #30 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

@bjlabuk:

Here is mine, rooted but still locked:

Baseband version: I5800DTLKE1 (after upgrade from firmware 2.1 to 2.2)

Code:
0040030h: 00 00 00 00 00 00 00 00 00 00 00 01 01 FF 01 01
0040040h: 01 01 00 01 FF 00 FF FF 01 FF FF FF FF FF FF FF
NOTE that although the difference with yours is only that mine is locked, the second line is exactly like yours.

So I suspect the unlock might be actually in the immediately previous editor line (@0040030h) - check out those "01" at its end.

If we know for sure that the lock is coded with "01", we can try this by exhausting all 4 combinations.
jdepp is offline  
Reply With Quote
sponsored links
Old June 17th, 2011, 02:18 AM   #31 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

jdepp

Thanks for your posting. Unfortunately my line 040030h is exactly the same as yours.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old June 17th, 2011, 03:56 AM   #32 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 36
 
Device(s):
Carrier: Not Provided

Thanks: 2
Thanked 4 Times in 4 Posts
Default

Will this work for a Huawei Ideos 2.2? Country: Philippines
Thanks in advance.
detdroid is offline  
Last edited by EarlyMon; March 6th, 2012 at 01:18 PM.
Reply With Quote
Old June 17th, 2011, 04:19 AM   #33 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Haven't a clue ! Sorry !
bjlabuk is offline  
Reply With Quote
Old June 17th, 2011, 05:15 AM   #34 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

jdepp

You might be interested in

[HOWTO] GT-I9100 Free SIM Unlock via nv_data.bin by Odia - xda-developers

It gets a bit too technical for me.

Unlocking a phone does not void your warranty, but I believe rooting a phone does. I was looking for a way to manually unlock the i5800 without rooting it first.

Any suggestions welcome.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old June 17th, 2011, 10:36 AM   #35 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bjlabuk View Post
jdepp

You might be interested in

[HOWTO] GT-I9100 Free SIM Unlock via nv_data.bin by Odia - xda-developers

It gets a bit too technical for me.

Unlocking a phone does not void your warranty, but I believe rooting a phone does. I was looking for a way to manually unlock the i5800 without rooting it first.

Any suggestions welcome.

bjlabuk
I understand it. But GT-I5800 has different nv_data.bin file. Definitely smaller than the one they are talking about - there is no offset 0x181460 in our nv_data.bin

Even the pattern is different - I looked for similar structure of the 4 codes in hex, but can't find it. Yet ...
jdepp is offline  
Reply With Quote
Old June 17th, 2011, 10:46 AM   #36 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

@bjlabuk:

hm, interesting: you are saing that if when su run on the adb shell cause a prompt on the phone to allow superuser, such phone is not rooted?

I do get that prompt, but according to the root tool I use - SuperOneClick (the "Root" option) - I have rooted my phone.

Comments?
jdepp is offline  
Reply With Quote
Old June 17th, 2011, 02:07 PM   #37 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

jdepp,

Is your phone permanently rooted? ie do you have the Superuser app/icon on your screen ? or do you use Superoneclick as a tool when you need it?

When I follow the steps I do not get a prompt on my phone to allow superuser, as my phone is permanently rooted.

Did you know there are three levels of root? See

http://forum.xda-developers.com/showthread.php?t=803682

Level 1: Shell Root (with ratc rooting the adb shell but no /system write access)
Level 2: Temporary Root (/system/bin/su installed but lost on reboot)
Level 3: Full Root (/system/bin/su installed and sticks)

I agree the i9000/i9100 appears totally different. I think the Spica i5700 has a similar size nv_data.bin to ours.
bjlabuk is offline  
Last edited by bjlabuk; June 17th, 2011 at 02:16 PM.
Reply With Quote
Old June 17th, 2011, 03:01 PM   #38 (permalink)
New Member
 
Join Date: Jun 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

bjlabuk,

on the rooting: I do not need to run SuperOneClick in order to get access to write to the phone's file system. I did that only once, chose "Root" button then.

And yes, since then the "SuperUser" is listed in my Apps. And when I do "adb shell" and then "su", the phone pops up asking me to click OK to approve the root access.
(I have intentionally not checked box "remember" on that prompt).

So you tell what kind is my root

on Spica i5700: I played about an hour with it. Initially I was very enthusiastic since I found exactly the same sequence of 6 bytes as per the posting you pointed me to (although surrounded by different ones on the left and the right).

Changed nv_data.bin accordingly. Replaced the original one. Rebooted.

But no joy

Then I compared the edited nv_data.bin (the one before copying it to the phone) and the one after the reboot. Oooooops! A lot, I mean *a lot* of changes, like 30-40 bytes in different places. The bytes I have changed were still there.

So nv_data.bin is being changed by the phone itself! (at least on my GT-I5800D)

Contrary to a few posts I've seen (on other modles), the phone does *not* create an md5 after the reboot. Since the guy at the Spica i5700 thread doesn't mention explicitly deleting the md5 file, I even tried a case with the original md5 file left (although it obviously wont match).

Still no joy ...
jdepp is offline  
Last edited by jdepp; June 17th, 2011 at 03:12 PM.
Reply With Quote
Old June 18th, 2011, 07:33 AM   #39 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Ummmmm......

So nv_data.bin is being changed by the phone itself!

I think that would be right. Using Root Explorer to look at the contents of my /efs folder I have:

.nv_data-Copy.bak 13 Oct 2010
.nv_data.bak 13 Oct 2010
.nv_data.bak-Copy.md5 13 Oct 2010
.nv_data.bak.md5 13 Oct 2010
nv_data.bin 18 Jun 2011
nv_data.bin.md5 30 Jan 2011

I had to reboot my phone this morning which is why the nv_data.bin file is dated today, but the md5 file is still dated 30 Jan 2011.

Don't know whether it would help to look at my earlier files for comparison ? Willing to help if I can.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old July 23rd, 2011, 02:47 AM   #40 (permalink)
New Member
 
Join Date: Jul 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

hi to all,im a new member,i bought samsung galaxy 3 in barcelona spain and when i got home here in the philippines i was able to use it for about 2 weeks,then after,suddenly it is looking for sin network unlock pin...i followed all the steps here and went successfully til step nine but when i got to step 10 it says...SGUX v0.92b (C) 2010 By Mark0 & rbnetSamsung Galaxy Unlock code eXtractor(based on info by rhcp0112345 & RazvanG)Opening file ...Searching code block...and i tried also using the Generate_code.bat but the same line i get...some help please...thank you
william25 is offline  
Reply With Quote
sponsored links
Old July 23rd, 2011, 09:13 AM   #41 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

If you read the rest of this thread you will see that the SGU Unlock Code extractor does not work with the i5800/i5801. It only works with the Galaxy S.

The i5800/i5801 either uses a different encryption algorithm to encrypt the unlock code, which is stored in the nv_data.bin file, or the location of the encrypted code is stored in a different location in the file, so the extractor doesn't find it.

Until someone identifies the encryption algorithm used in the i5800/i5801, or comes up with some other hack, you are going to have to pay to have it unlocked professionally.

bjlabuk
bjlabuk is offline  
Reply With Quote
The Following User Says Thank You to bjlabuk For This Useful Post:
william25 (July 31st, 2011)
Old July 24th, 2011, 07:24 PM   #42 (permalink)
New Member
 
Join Date: Jul 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I hit adb shell, show me one list of commands.
And later, the prompt don't change for "#" and later i hit "su", but nothing happens.
Please, all the steps were right, until you get that part.
Colen is offline  
Reply With Quote
Old August 16th, 2011, 11:03 AM   #43 (permalink)
New Member
 
Join Date: Aug 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

there be someone who has managed to unlock it;
panagism is offline  
Reply With Quote
Old September 21st, 2011, 11:01 AM   #44 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Someone has found a method here

How long the video will be public I don't know and how long the method will work I don't know. You can also google "Gogy1906 samsung" and get it off Youtube.

I haven't tried it but others on XDA developers forum have with success.

bjlabuk
bjlabuk is offline  
Last edited by bjlabuk; September 21st, 2011 at 11:03 AM.
Reply With Quote
Old October 7th, 2011, 06:36 AM   #45 (permalink)
New Member
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi instead of using hardware or software to unlock your mobile use code to unlock it.It is the easiest way to unlock it.. i got the unlock code for samsung mobile from here www.mobile-unlocker.com at reasonable cost and unlocked it successfully.... if You want code for samsung i5800 and i5801 , You can get it. from here.for more details visit here...
jenula is offline  
Reply With Quote
Old October 19th, 2011, 10:36 PM   #46 (permalink)
New Member
 
Join Date: Oct 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by bjlabuk View Post
To all,

By way of explanation when I bought my own i5800 it was SIM free and unbranded. I produced the above tutorial after following all the steps myself up to Stage 10 when I got the same message as Sajd:

SGUX v0.92b (C) 2010 By Mark0 & rbnet
Samsung Galaxy Unlock code eXtractor
(based on info by rhcp0112345 & RazvanG)

Opening file <bml3.bak>...
Searching code block..


I thought the program wasn't finding the code because my phone was already unlocked to all networks. I made the assumption that the programs would work on locked phones. It looks like I was wrong.

Even looking for the code manually using the HexEditor appears to be unsuccessful, so either (i)the code is there but we are not looking for it in the right place, or (ii) there is no unlock code stored.

It appears that on some Samsung Galaxy models the unlock code is stored in one of the files mentioned, but on others it is not - it is stored on a secure remote server. It looks like the SG3 is one of those phones, although I haven't found anything on the internet to confirm this. If that is the case then the only way to get the unlock code is by paying for it or asking your carrier / provider to supply it.

bjlabuk
I think my phone is in a special situation. I bought an i5801 in France and I had unlock code from the operator. My phone was unlocked.

However, once I turned my phone off and turned it on again, it became locked. I was very surprised and unfortunately, I didn't remember the code. I tried your tutorial to unlock it but at the stage of extracting the code from the file bml3.bak (or nv_data.bin), I got the same result as what you had in my quoted message, no code was found

From your experience, what would be a problem? I'm not in France anymore and it's not easy to request for the code again

Thanks in advance
BR,
HBL
haibinhle is offline  
Reply With Quote
Old October 21st, 2011, 02:21 PM   #47 (permalink)
Member
Thread Author (OP)
 
Join Date: Jan 2011
Posts: 103
 
Device(s): SAGA PVT ENG S-OFF HBOOT - 0.98.2000 (PG8810000) RADIO - 38.03.02.11.M eMMC - boot Feb 24 2011 Hype
Carrier: Not Provided

Thanks: 0
Thanked 21 Times in 15 Posts
Default

Well the easiest option is to take it to a shop and pay to get it unlocked again.

Or use an internet site like the one Jenula suggests above.

bjlabuk
bjlabuk is offline  
Reply With Quote
Old November 18th, 2011, 02:31 PM   #48 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Galaxy S - SGH-T959D.

I have both bml3 and nv_data.bin and here's the hex contents searching for SSNV. Is the unlock code available or is it now encrypted?

Thanks.


SSNV..*'.?`FH=.qC<U4k.
mi<.b.$i}bp`pot..uMx^"r
gJp...8.
30222021407#00101#99999

Running sgux or sgux2 returns

Opening file <bml3.bak>...
Searching code block...
Found.
Searching codes...
MCC/MNC lock : 21407
TheBorg is offline  
Reply With Quote
Old December 30th, 2011, 05:06 PM   #49 (permalink)
New Member
 
Join Date: Oct 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi everybody,
I tried All the steps with an locked I5800 without any result (rooted and unrooted) !

Then with a unlocked one it's the same. So, no way !

I think the solution is to found the 8 digits simlock or just try to upgrade the phone with another Froyo version. For me it's okay with I5800XXJPF4.

I get my phone upgraded with just 8 USD ! The guy didn't tell me the secret !
salhilam is offline  
Reply With Quote
Old January 10th, 2012, 01:06 AM   #50 (permalink)
New Member
 
Join Date: Jun 2011
Location: france
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found samsung galaxy at franch country its compatible with USA?
dalynjane is offline  
Reply With Quote
Reply

Samsung Galaxy Apollo
Current Rating:
Rate this Phone:

The Samsung Galaxy Apollo is a European Android Phone aimed at pleasing the budget phone shopper. The Galaxy Apollo includes a 3.2-inch screen, 3MP camera, 3.5mm headset jack, and is packed into a rather small frame which some people prefer. W... Read More



Go Back   Android Forums > Android Phones > Samsung Galaxy Apollo (3)
Thread Tools

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


LinkBacks (?)
LinkBack to this Thread: http://androidforums.com/samsung-galaxy-apollo-3/329376-how-network-unlock-your-samsung-i5800-i5801-using-adb.html
Posted By For Type Date
Samsung S3 unlock ?? ????????? ?????? (???????? 1) - ???????? ? Android - ??????????? ??????? Android - Android ????? This thread Refback May 31st, 2012 10:10 AM


All times are GMT -5. The time now is 07:30 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.