• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[TUTORIAL] How to Network Unlock Samsung Galaxy Ace Via ADB

Status
Not open for further replies.
Search This thread

Jc_master

Senior Member
Jun 13, 2011
137
163
Ciudad Juarez
Method outdated and risky.

Improved method: http://forum.xda-developers.com/show...5#post17148825


Hi Everybody, Im Jcmaster and im Kind of new in this forum, i have been following this forum for some time ind i think its time to give something to this comunity, i have been searched for a while and found nothing like this, i'dont know if this is ilegal (i dont think so) or if it is in the wrong section but i will continue any ways.

Ok this is to all the people who had they phones bricked while doing this, First of all, i succesfully Bricked my phone and bring it back to life by doing the following.
I was reading all the messages from people who bricked their phones by doing this tutorial and i did not understand how they did it so i tried to brick my phone to see how to fix it, but the only way i could do this was by skiping the last step, umount /efs, when i did not make this and restarted my phone, the phone get bricked, it onli lighted up the screen and do nothing.

Once i managed to brick my phone i just downloaded the KPN gingerbread rom, and the brazilian rom, y followed this tutorial to unbrick my phone: This is The Tutorial
I Installed the KPN with the OPS and the Modem files of the brazilian rom, once i got the rom running my phone was kinda messy, some random error messages and many more, so i did a wipe of the chache and dalvik and restarted the phone an it was ok, and the i installed the Fla.sh rom via odin and thats the rom im runing now and i dont have any problem, well thats how i bricked/unbricked my phone on purpose, and dont forget the last step, umount/efs. i hope it works for somebody because i worked with me.













Firts Things First, I'm not responsible for a, Brick or semibrick that may come with this tutorial i have succesfully unlocked 15 Phones and by the thime they dont have any problem, so i suggest to read the entire post as many times is needed to understand the entire procedure & clarify all the doubts that you may have.
If you have a cuestion, please ask it, its better to wait some time until you have an answer that brick your phone, and also your cuestions are usefull for other people.
Once this is understood lets proceed.


Ok ill start with the Requirements.


You Will Need:


Your Samsung Galaxy Ace (obviously)

The original Usb Cable that comes with the phone.
Your Computer (I will use Windows XP for the demonstration, because i dont know how to do it with other O.S)
Your Phone has to be Rooted
Samsung Kies Installed Wich can be found HERE
ADB wich comes with Android SDK and can be found HERE




Ok Once you have all that stuff we can continue.

I will not teach how to Root your device because custom roms are already rooted and if you have a stock rom there are plenty tutorialn on hou to root it, and also i will not teach you how to install Kies because its realle easy and anyone can do it, i will only teach you how to install Andoid SDK and the specific ADB Package OK lets start.

Once you have downloaded the Android SDK Run the Installer trough all the steps to install it, I recomend to Install it in "C:" disk so it makes easier to make al the further steps, if it ask for the Java SDK just download and install, restart the Android SDK Installer and continue, Once its Fully Installed open it and do this next steps:

1-Go to the "Available Packages" Option on your left Menu
2-Click on the "Refresh" Button ond the bottom Right and wait until it finish
3-From Items select the "Andoid SDK platform-tools, revision 6" Item
4-Click the "Install Selected" button on the botton right and wait until it finish
5-Now you can either close the SDK or leave it open.
Image:
2011-08-04_140832.png

Now that you installed the SDK and the ADB its time to set the Path so the cmd.exe recognizes the ADB, there are two methods, One With cmd.exe (console) and one with the My PC Properties, i will explain bot of them.

Cmd.exe (console) Method.

Click on your start button and select "Run" from the Start Menu, type cmd.exe on the box and press enter.
Once the CMD its open write the next Text: set PATH=%PATH%;C:\android\android-sdk-windows\platform-tools
The text Write in Bold means your SDK Installation Directory, thats why i told you to Installa the sdk In C: Disk, just check that your Installation Directory is the same as mine or modify the line according to your needs.


My PC Properties Method.

Open My PC, and Right click on a blank space,
Select "Properties" from the just opened contextual menu,
On My PC Properties select the "Advanced Options" Tab
On the "Advanced Options" tab click on the "Environment Variables" button.
Now Mark the "Path" Variable and click the "Edit" Button.
At the end of the line add this text:
;C:\android\android-sdk-windows\platform-tools
Remember that The text Write in Bold means your SDK Installation Directory, thats why i told you to Install the SDK In C: Disk, just check that your Installation Directory is the same as mine or modify the line according to your needs.


Ok now you have completly installed the android SDK and the ADB (Android Debugging Bridge) and you can now do the final steps to Unlock or Get the Unlock Code for Your Samsung Galaxy Ace.



Ok now that you have Installed all the necessary programs:

Connect your SGA to your Computer via the included USB Cable. (the drivers should be installed by now, Kies installs them automaticaly)
Click on you start button and open the "Run" option, on Run type cmd.exe and press enter.
Now on Cmd.exe type the next text to acces the ADB Shell:
cd C:\android\android-sdk-windows\platform-tools
Remember that this means your Android SDK Installation directory, so if you get an error, check that the route is well writed and if you installed it in a diferent directory just modify the line so it fits to your needs, just remeber to pur - instead of spaces and \ (not / ) to indicate folders.
Image:
cmd-1.png
Now that you are in "C:\android\android-sdk-windows\platform-tools" type: adb shell
Image:
cmd-2.png
Now That you are in adb shell type the next command: su
At this point you have to give root premission to adb shell on you Phone
Image:
cmd-3.png
Ok now that adb shell has root premission and its inside you phone, type the next line:
cd /
Now be carefull and notice that there are spaces in the line and that we are using / instead of \
Image:
cmd-4.png
Ok now that you typed cd / type the next line: mount -o remount rw /
Image:
cmd-5.png
Ok Now type: mkdir /efs
Image:
cmd-6.png
And now type: mount -o nosuid,ro,nodev -t vfat /dev/block/stl5 /efs
Image:
cmd-7.png
And now type: cat /efs/mits/perso.txt
And you will get some strange characters on the screen and a 8 digit number, thats your unlock code, copy it in paper or in a Notepad file, but check it twice so you get the correct number, also the number provided is unique so dont try to use your number with other phones or use my number with yours.
Image:
cmd-8.png





Ok Now that you Have your Code just type: umount /efs

And disconnect your phone from your computer, turn off your Phone and insert a SIM from another company, it will ask for the Unlock Code, just type the code that you just get and you are done, your phone is now unlocked and without brick risk.
Image:
block.png
Now you can check that your cellphone is unlocked by typing the next code on your numeric keyboard, like if you where doing a call: *#7465625#
Image:
sc20110805-152906.png





And thats it, its really easy, and its really safe if you read everything, and clear your doubts.

All the images are mine and i learned this from a friend of my, but its tested in 15 Samsung Galaxy Ace Phones an none get hurt XD,


Well thats it, remember to comment and ask as many times you need, im glad to answer all of your questions, se you later

top-banner-t.png
 
Last edited by a moderator:

kesterpogz

Senior Member
Jul 22, 2011
231
12
Davao City
great tutorial. very detailed and easy to understand.lucky for me my phone is already unlocked out of the box :)

Sent from my GT-S5830 using XDA Premium App
 

Gh0s7_Hun73r

Member
Mar 15, 2011
11
0
Thank you :) Im gonna try it :)

This works with every android? or every samsung android?
Or its just ACE?

once again GREAT TUTORIAL :D
 

letsurock

Senior Member
Mar 14, 2011
588
177
hehehehehe :D.... This may encourage other to buy ACE..... More Aces Strong community :)
 

callaway_george

New member
Aug 7, 2011
1
0
Bacolod
ThanKS! i got the code.

I was denied access trying to go to into SU because I made a mistake in Cmd.exe (console) Method.
I then tried My PC Properties and it worked.
umount /efs did not do anything so i just used exit.
 
Last edited:

rjtd

Senior Member
Jul 10, 2005
282
0
Did you follow the steps with the SIM installed and registered, or without SIM?
 

mdfzhi

Senior Member
Jun 15, 2011
4,147
3,855
Even i use preunlocked ace, i have to admit that this tutorial is well writen. Straighforward and easy to understand. Good one :) will click that thanks button once i get on my pc later

Sent from your phone
 

Gh0s7_Hun73r

Member
Mar 15, 2011
11
0
I did it with my SIM on the phone lol. Then when i got the code, i switched the sim for another provider and after i put the pin it asked for the code. Put it and "phone not restricted" message apear :)

Sent from my GT-S5830 using XDA App
 

Jc_master

Senior Member
Jun 13, 2011
137
163
Ciudad Juarez
Did you follow the steps with the SIM installed and registered, or without SIM?

The first time i tried this i had the original telcel sim on the phone, then when i finished i restarted the phone with other company (movistar) sim, and for the tutorial my phone was already unlocked and the original telcel sim on

Sent from my GT-S5830 using XDA App
 

stoppt

Member
Jul 15, 2011
17
3
wow, just tryed it 5 min ago, and it WORKED

Thank you so muhc, you save me some euros :)
 

eduardito

Senior Member
Dec 13, 2006
97
6
I have done the proces but after I type SU I receive a message permision dennied, I have updated my phone with the new Telcel Ginger version and rooted with the acegingeroot file, wht can I do??

thanks
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Method outdated and risky.

    Improved method: http://forum.xda-developers.com/show...5#post17148825


    Hi Everybody, Im Jcmaster and im Kind of new in this forum, i have been following this forum for some time ind i think its time to give something to this comunity, i have been searched for a while and found nothing like this, i'dont know if this is ilegal (i dont think so) or if it is in the wrong section but i will continue any ways.

    Ok this is to all the people who had they phones bricked while doing this, First of all, i succesfully Bricked my phone and bring it back to life by doing the following.
    I was reading all the messages from people who bricked their phones by doing this tutorial and i did not understand how they did it so i tried to brick my phone to see how to fix it, but the only way i could do this was by skiping the last step, umount /efs, when i did not make this and restarted my phone, the phone get bricked, it onli lighted up the screen and do nothing.

    Once i managed to brick my phone i just downloaded the KPN gingerbread rom, and the brazilian rom, y followed this tutorial to unbrick my phone: This is The Tutorial
    I Installed the KPN with the OPS and the Modem files of the brazilian rom, once i got the rom running my phone was kinda messy, some random error messages and many more, so i did a wipe of the chache and dalvik and restarted the phone an it was ok, and the i installed the Fla.sh rom via odin and thats the rom im runing now and i dont have any problem, well thats how i bricked/unbricked my phone on purpose, and dont forget the last step, umount/efs. i hope it works for somebody because i worked with me.













    Firts Things First, I'm not responsible for a, Brick or semibrick that may come with this tutorial i have succesfully unlocked 15 Phones and by the thime they dont have any problem, so i suggest to read the entire post as many times is needed to understand the entire procedure & clarify all the doubts that you may have.
    If you have a cuestion, please ask it, its better to wait some time until you have an answer that brick your phone, and also your cuestions are usefull for other people.
    Once this is understood lets proceed.


    Ok ill start with the Requirements.


    You Will Need:


    Your Samsung Galaxy Ace (obviously)

    The original Usb Cable that comes with the phone.
    Your Computer (I will use Windows XP for the demonstration, because i dont know how to do it with other O.S)
    Your Phone has to be Rooted
    Samsung Kies Installed Wich can be found HERE
    ADB wich comes with Android SDK and can be found HERE




    Ok Once you have all that stuff we can continue.

    I will not teach how to Root your device because custom roms are already rooted and if you have a stock rom there are plenty tutorialn on hou to root it, and also i will not teach you how to install Kies because its realle easy and anyone can do it, i will only teach you how to install Andoid SDK and the specific ADB Package OK lets start.

    Once you have downloaded the Android SDK Run the Installer trough all the steps to install it, I recomend to Install it in "C:" disk so it makes easier to make al the further steps, if it ask for the Java SDK just download and install, restart the Android SDK Installer and continue, Once its Fully Installed open it and do this next steps:

    1-Go to the "Available Packages" Option on your left Menu
    2-Click on the "Refresh" Button ond the bottom Right and wait until it finish
    3-From Items select the "Andoid SDK platform-tools, revision 6" Item
    4-Click the "Install Selected" button on the botton right and wait until it finish
    5-Now you can either close the SDK or leave it open.
    Image:
    2011-08-04_140832.png

    Now that you installed the SDK and the ADB its time to set the Path so the cmd.exe recognizes the ADB, there are two methods, One With cmd.exe (console) and one with the My PC Properties, i will explain bot of them.

    Cmd.exe (console) Method.

    Click on your start button and select "Run" from the Start Menu, type cmd.exe on the box and press enter.
    Once the CMD its open write the next Text: set PATH=%PATH%;C:\android\android-sdk-windows\platform-tools
    The text Write in Bold means your SDK Installation Directory, thats why i told you to Installa the sdk In C: Disk, just check that your Installation Directory is the same as mine or modify the line according to your needs.


    My PC Properties Method.

    Open My PC, and Right click on a blank space,
    Select "Properties" from the just opened contextual menu,
    On My PC Properties select the "Advanced Options" Tab
    On the "Advanced Options" tab click on the "Environment Variables" button.
    Now Mark the "Path" Variable and click the "Edit" Button.
    At the end of the line add this text:
    ;C:\android\android-sdk-windows\platform-tools
    Remember that The text Write in Bold means your SDK Installation Directory, thats why i told you to Install the SDK In C: Disk, just check that your Installation Directory is the same as mine or modify the line according to your needs.


    Ok now you have completly installed the android SDK and the ADB (Android Debugging Bridge) and you can now do the final steps to Unlock or Get the Unlock Code for Your Samsung Galaxy Ace.



    Ok now that you have Installed all the necessary programs:

    Connect your SGA to your Computer via the included USB Cable. (the drivers should be installed by now, Kies installs them automaticaly)
    Click on you start button and open the "Run" option, on Run type cmd.exe and press enter.
    Now on Cmd.exe type the next text to acces the ADB Shell:
    cd C:\android\android-sdk-windows\platform-tools
    Remember that this means your Android SDK Installation directory, so if you get an error, check that the route is well writed and if you installed it in a diferent directory just modify the line so it fits to your needs, just remeber to pur - instead of spaces and \ (not / ) to indicate folders.
    Image:
    cmd-1.png
    Now that you are in "C:\android\android-sdk-windows\platform-tools" type: adb shell
    Image:
    cmd-2.png
    Now That you are in adb shell type the next command: su
    At this point you have to give root premission to adb shell on you Phone
    Image:
    cmd-3.png
    Ok now that adb shell has root premission and its inside you phone, type the next line:
    cd /
    Now be carefull and notice that there are spaces in the line and that we are using / instead of \
    Image:
    cmd-4.png
    Ok now that you typed cd / type the next line: mount -o remount rw /
    Image:
    cmd-5.png
    Ok Now type: mkdir /efs
    Image:
    cmd-6.png
    And now type: mount -o nosuid,ro,nodev -t vfat /dev/block/stl5 /efs
    Image:
    cmd-7.png
    And now type: cat /efs/mits/perso.txt
    And you will get some strange characters on the screen and a 8 digit number, thats your unlock code, copy it in paper or in a Notepad file, but check it twice so you get the correct number, also the number provided is unique so dont try to use your number with other phones or use my number with yours.
    Image:
    cmd-8.png





    Ok Now that you Have your Code just type: umount /efs

    And disconnect your phone from your computer, turn off your Phone and insert a SIM from another company, it will ask for the Unlock Code, just type the code that you just get and you are done, your phone is now unlocked and without brick risk.
    Image:
    block.png
    Now you can check that your cellphone is unlocked by typing the next code on your numeric keyboard, like if you where doing a call: *#7465625#
    Image:
    sc20110805-152906.png





    And thats it, its really easy, and its really safe if you read everything, and clear your doubts.

    All the images are mine and i learned this from a friend of my, but its tested in 15 Samsung Galaxy Ace Phones an none get hurt XD,


    Well thats it, remember to comment and ask as many times you need, im glad to answer all of your questions, se you later

    top-banner-t.png
    1
    Thanks for ur contribution......... Luckily we dont have network lock in our country
    1
    Hello

    I bought 2 Galaxy Gio's, both of them rooted successfully.
    I was able to unlock the first one using the exact instructions in the first post, put in a different carriers sim card, used the unlock code and it worked! so Thanks for these steps JC_Master!

    Then I used the exact same steps to unlock the 2nd Gio (including the umount /efs), unplugged and powered down the phone, put in another carriers sim, turned on the phone, but this time I didnt get the option to enter the unlock code. The phone just booted up into the home screen and I see a message at the top saying (no service). I then checked the IMEI number by entering *#06# and it says null/null. I did a factory reset hoping to start from scratch but I still get this message, and no IMEI#

    Does anyone know how to fix this?? I'd appreciate any suggestions, Thanks


    Same story here. the one ended up with a null IMEI #
    I will post if i find a solution.

    EDIT: I have found a solution from samdroid website where you pay $20 nv_data.bin file for a Spica model. Seeing how we have working phones. I am wondering if there is a way to copy /efs folder, edit the nvdata.bin to have the correct IMEI number and then write them back to the busted phones.