How to unlock Samsung Infuse 4G i997

Search This thread

trae4nato

Senior Member
Dec 5, 2007
87
87
Mods I got these instructions from xda but I sort of made them non-technical for those who are new to unlocking, etc. It is my site and if you want to remove the instructions then that's okay and I understand. I borrowed heavily from

http://xdaforums.com/showthread.php?t=1093476 and I've given credit.

--------------HOW TO UNLOCK SAMSUNG 4G i997---------------------

Hello, I will give you step by step instructions on how to unlock your Samsung Infuse 4G or Samsung i997 so you can use it on T-Mobile. I will give full credit to sanfranx415 from xda forums but I wanted to do things a little different and I want to make the process a little more user friendly and less technical. We all get there eventually and I want to be has helpful as possible.

Step 1) Remember, your phone must be rooted. If your phone is already rooted and has a program called Superuser in the menu then slip Step 1. If not, here's a link http://www.addictivetips.com/mobile/how-to-root-samsung-infuse-4g-on-android-2-2-with-superoneclick/ and if it ever goes down remember the program is called Superoneclick. Google it, download it and make sure your phone is in usb debugging mode, connect it to your computer while superoneclick is open and click root. It's that simple

Step 2) On your computer (not the phone), install a program called "010 Hex editor". Don't have to register Link is http://www.sweetscape.com/download/download_010editor.html . Remember you're installing this on your computer, not phone.

Step 3) On your phone go to the market and install terminal emulator https://market.android.com/details?id=jackpal.androidterm&hl=en . If the link changes just search for Terminal Emulator in Google. Remember you're installing this on your phone, not computer. Remember root must be installed, REMEMBER STEP 1?, for this program to work.

Step 4) On your phone, open up terminal emulator and you will see a blue screen. Don't be scared. I want you to correctly type the following EXACTLY...
TYPE THE FOLLOWING:
cd /dev/block
(then press enter)
---------------------------
TYPE THE FOLLOWING:
su
(then press enter, now your phone might ask for superuser permission, ALLOW it or say YES. You may not have to do this step, if it asked you before)
----------------------------
Now you will do one of the following below. Pay attention.
----------------------------
IF YOU HAVE AN EXTERNAL SD CARD TYPE THE FOLLOWING:
dd if=/dev/block/bml3 of=/sdcard/external_sd/bml3.bak
(then press enter)

IF YOU DON'T HAVE AN EXTERNAL SD CARD TYPE THE FOLLOWING:
dd if=/dev/block/bml3 of=/sdcard/bml3.bak
(then press enter)

Step 5) Now, find the file on your External SD card or Internal Storage depending on your situation and transfer it to your computer. If you don't know how to find the file. Plug your phone up and enable Mass Storage or Connect USB Storage. I won't baby you on how to find it. It should be somewhere on your phone or external SD card if you did step 4 correctly. Transfer that bml3.bak file to your computer. I recommend the desktop so will always know where it's at. You can delete it later if you want. So transfer it to somewhere on your computer.

Step 6) On your computer, open up 010 Hex Editor

Step 7) IMPORTANT: In 010 Hex Editor go to the Menus at the top and select VIEW then LINEFEEDS then SELECT CUSTOM, now SET YOUR BYTES TO "32" Nothing Less. If you don't do this, you won't find your unlock code. Do it.

Step 8) While you're in 010 Hex Editor, click Open and locate the bml3.bak file you created and open it. There will be a bunch of letters, numbers or whatever, ignore them for now.

(CREDIT TO FR0Z3N FOR CLARIFYING THE FOLLOWING 2 STEPS)

Step 9) Now press CTRL+F on your keyboard to search for a hex string. Now a box that says Find should pop up and when the search window pops up select "Hex bytes (h)" in the Type field by pushing the down arrow and then search for the following string below:

"FFFFFFFFFF0100000000" ALL TOGETHER WITH NO SPACES, Then Hit the FIND ALL button to the right, some of you will get many results and others up to 10 results on your screen below (not mine, someone else's computer)

http://www.traemcneely.com/wp-content/uploads/2011/07/step.jpg

Step 10) Now, if you look at your Hex editor there are 3 window panes on the selected line (See Image Below, my computer). IMPORTANT: scroll to the right using the scroll bar that's in the bottom, middle of the screen. You should see three windows panes.

http://www.traemcneely.com/wp-content/uploads/2011/07/laster.jpg

Step 11) This is where a lot of people are getting confused. So pay attention. Now, Do you see where it says Address Size and Value? Click the text or results under it and ABSOLUTELY MAKE SURE your scroll bar right above it is all the way to the right. It's important because when you click it your computer will try to bring the scroll bar to the left. So click it, and scroll to the right.

Step 12) Go through each result from the above search and you will see on the 3rd window pane (as shown on pic above) after the hex keys there is an 8 DIGIT CODE (Write this code Down) this is your unlock code NCK for your phone. Write it down somewhere NOW!!

Sidenote from Sanfranx415: SCAN THROUGH EACH RESULT AND YOU WILL SEE THAT IN YOUR RESULTS SOME OF YOU MAY GET UP TO 3 DIFFERENT 8 DIGIT CODES WRITE THEM ALL DOWN NORMALLY THE 8 DIGIT CODE THAT APPEARS THE MOST WILL BE THE ONE THAT UNLOCKS YOUR PHONE THE OTHER CODES MAY BE YOUR FREEZE CODE BUT I HAVE NOT TESTED THIS YET THIS 8 DIG CODE SHOULD SHOW ON AT-LEAST ONE MORE RESULT CHECK ALL YOUR RESULTS FROM THE SEARCH ABOVE( SOME OF YOU WILL HAVE YOUR CODE SHOWN AT-LEAST 2 TIMES AND SOME OF YOU WILL HAVE THE CODE SHOW MORE THAN 4 TIMES) YOUR RESULTS MAY VARY EVEN UP TO 39 RESULTS AGAIN SCAN THROUGH ALL RESULTS

Step 13) Okay, welcome back. Now I recommend that you take out your AT&T sim or whatever sim is in there, THEN turn off your phone. Insert the T-Mobile or other carrier sim card

Step 14) Turn on the phone and when you do you'll be prompted to enter a Network Unlock Control Key. Use the code that you received in step 12. You should have written it down somewhere like I instructed you.

Step 15) After you enter your NCK or Network Unlock Control Key hit Unlock, Yes, Go or whatever it says to proceed and it should say "network unlock successful"

VIOLA!!! Your Samsung Infuse 4G is now unlocked from AT&T.
Credit to: http://xdaforums.com/showthread.php?t=1093476

http://www.traemcneely.com/2011/07/...nlock-codes-samsung-i997-unlock-instructions/
 
Last edited:

Guti1977

Senior Member
Apr 5, 2011
251
33
San Jose
OnePlus 10 Pro
Can I do this from overseas?

I am planning to buy an Infuse after my great experience with Captivate :) However I am outside US and would like to know if at any moment I need to actually be on the States or if I need the AT&T Sim at all to perform this unlocking procedure.

I am not the noob to Android phones, however I think that this question is fair :D


_________________________
Samsung Captivate
ROM: Continuum 6.1 (GB 2.3.4 JVQ based)
Kernel: TalonDev 0.4.2 OC @ 1200 :cool:
Modem: JV5
Hopefully new owner of an Infuse
 

JordanElliott

Senior Member
Jul 10, 2011
2,912
727
Wisconsin
I am planning to buy an Infuse after my great experience with Captivate :) However I am outside US and would like to know if at any moment I need to actually be on the States or if I need the AT&T Sim at all to perform this unlocking procedure.

I am not the noob to Android phones, however I think that this question is fair :D


_________________________
Samsung Captivate
ROM: Continuum 6.1 (GB 2.3.4 JVQ based)
Kernel: TalonDev 0.4.2 OC @ 1200 :cool:
Modem: JV5
Hopefully new owner of an Infuse

Hey head over to the thread in devlopment. We need you!! Its called rogers infuse owners please comply

Sent from my SAMSUNG-SGH-I997 using XDA Premium App
 

bobthq

Senior Member
Jun 9, 2009
57
2
Is there a way to call AT&T and ask for the unlock code? I usually do that with tmobile, I tell them I have to get out of the country and they'll email me the unlock code the next day....

Sent from my Samsung Infuse - Infused 1.5
 
  • Like
Reactions: malayalapenkutti

XCellPhoneSalesRep

Senior Member
Oct 31, 2010
1,007
292
44
The Joisey Shore, Nu Joisey
goo.gl
Is there a way to call AT&T and ask for the unlock code? I usually do that with tmobile, I tell them I have to get out of the country and they'll email me the unlock code the next day....

Sent from my Samsung Infuse - Infused 1.5


Yea i believe you have to have been a customer for a minimum of 5 years and if they do give you the unlock code, if/when approved you'll receive it in 24-48 hrs and you need to sign a separate contract, promising you'll be a lifetime customer of AT&T&T. Or something to that affect. Sounds about right for AT&T...
 
  • Like
Reactions: akaruna

JordanElliott

Senior Member
Jul 10, 2011
2,912
727
Wisconsin
Yea i believe you have to have been a customer for a minimum of 5 years and if they do give you the unlock code, if/when approved you'll receive it in 24-48 hrs and you need to sign a separate contract, promising you'll be a lifetime customer of AT&T&T. Or something to that affect. Sounds about right for AT&T...

Damn. That's like signing your will lol

Sent from my SAMSUNG-SGH-I997 using XDA Premium App
 

bsw11

Senior Member
Aug 29, 2006
825
51
Los Angeles, CA
alphabase.com
Help - Rooting not working

Nevermind - found the KIES drivers...

I just tired to do the rooting procedure and it just sticks on waiting for device.

I set the dev mode, but when I plug my phone into the USB my W7 x64 PCs (tired on 2 different pcs) give a driver not found error.

This is my first Android - was using W6.5 for years - would do a new ROM weekly, plus I am a developer, so noobie only on Android.

Please help.
 
Last edited:

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
Hey head over to the thread in devlopment. We need you!! Its called rogers infuse owners please comply

Sent from my SAMSUNG-SGH-I997 using XDA Premium App
He never once said he was Canadian.

Is there a way to call AT&T and ask for the unlock code? I usually do that with tmobile, I tell them I have to get out of the country and they'll email me the unlock code the next day....

Sent from my Samsung Infuse - Infused 1.5
You have to be a customer in good standing (bills paid), and I think they may only provide unlock codes for phones that have been on your account for 6 months (not sure about this one).

Kind of pointless for the Infuse though since you can pull an unlock code if rooted (that's the whole idea behind the original post).

Yea i believe you have to have been a customer for a minimum of 5 years and if they do give you the unlock code, if/when approved you'll receive it in 24-48 hrs and you need to sign a separate contract, promising you'll be a lifetime customer of AT&T&T. Or something to that affect. Sounds about right for AT&T...
Not even remotely correct - see above.

I just tired to do the rooting procedure and it just sticks on waiting for device.

I set the dev mode, but when I plug my phone into the USB my W7 x64 PCs (tired on 2 different pcs) give a driver not found error.

This is my first Android - was using W6.5 for years - would do a new ROM weekly, plus I am a developer, so noobie only on Android.

Please help.
Don't have an answer on this one at the moment. Maybe later tonight or someone else can help. Although it sounds like the issue is that you didn't install the drivers - I used SuperOneClick 1.9.5, it has two packages. One has drivers, one assumes you already have them. The "has drivers" package worked for me under Vista64. While SOC officially supports Linux, it has never worked from Linux for me.
 

ZeroIsntTheHero

Senior Member
May 27, 2011
292
38
Montgomery
Yea i believe you have to have been a customer for a minimum of 5 years and if they do give you the unlock code, if/when approved you'll receive it in 24-48 hrs and you need to sign a separate contract, promising you'll be a lifetime customer of AT&T&T. Or something to that affect. Sounds about right for AT&T...

Lmao... Where do you get your completely misinformed information from? Also, since you are merely speculating and don't know, why would you even bother saying anything? Although, I guess the forums tend to be filled with speculation rather than fact based statements from most users(not all).

Sent from my Infuse using my fingers.
 

XCellPhoneSalesRep

Senior Member
Oct 31, 2010
1,007
292
44
The Joisey Shore, Nu Joisey
goo.gl
Lmao... Where do you get your completely misinformed information from? Also, since you are merely speculating and don't know, why would you even bother saying anything? Although, I guess the forums tend to be filled with speculation rather than fact based statements from most users(not all).

Sent from my Infuse using my fingers.

it was a joke
 

Skv012a

Senior Member
Jun 19, 2008
517
47
MD
Sony Xperia 5 IV
On-topic- I used this and the other unlock code/root methods, both gave me the same, non-working code. Wish I could find the said few different ones to try, but it seems I'm pretty screwed with just 1 attempt left to unlock.

Installed Refuse v1.7, my guess it that it had a newer ATT radio, and my # of unlock attempts reset. The code, however, still did not work. Any ideas guys?
 
Last edited:

joseph050607

Member
Dec 5, 2010
36
0
This thing works.... Thanks bro... Now im unlock to att... I got one.more thing. Can my unlocked infuse 4g can get the 4g network from tmobile? Cause im using a tmobile sim...

Sent from my SAMSUNG-SGH-I997 using XDA Premium App
 

geravalen

New member
May 5, 2010
2
0
Guti1977

hola Guti1977. no necesitas de la sim card de att para desbloquearlo. es un metodo super sencillo como has visto. pura vida!

Sent from my Galaxy s Dual Core Mobile Device
 

Diesixdie

Member
Dec 20, 2007
9
1
Just a quick tip for us "stoopid peeple": When you're in terminal emulator entering the DD command, don't use the Swype keyboard. Switch your keyboard to Samsung or Android. Swype is fantastic, but it'll automatically capitalize the "I" in "if". Linux is case sensitive and you'll get an "unknown operand If" error while trying to export the bml3 file. I tried to turn off the auto-capitalization feature on Swype, but, it went ahead and changed the case on "If", anyway.

I finally got it to work after temporarily switching to the Android keyboard. Smarter, more capable Swype users probably know how to make Swype behave itself while entering linux commands, but I don't.

Other than that, this procedure worked perfectly, and my AT&T Infuse is now unlocked and call tested on T-Mobile.

Just for reference, I ran this from the Infused 2.0.4 ROM.

Extra thanks to trae4nato!
 

Diesixdie

Member
Dec 20, 2007
9
1
I've unlocked a couple of AT&T smart phones (Tilt and Tilt II), and what I've found is that if you just call 611, and tell the helpdesk person that you're visiting Canada and you want to run your phone, temporarily on Fido or Rogers, they'll just give you the code and walk you through entering it, without a fuss.

On the other hand, going through this procedure was far more entertaining. Thanks for the info.

(Yes, I know the original post was a joke.)
 
  • Like
Reactions: mcmb03

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    Mods I got these instructions from xda but I sort of made them non-technical for those who are new to unlocking, etc. It is my site and if you want to remove the instructions then that's okay and I understand. I borrowed heavily from

    http://xdaforums.com/showthread.php?t=1093476 and I've given credit.

    --------------HOW TO UNLOCK SAMSUNG 4G i997---------------------

    Hello, I will give you step by step instructions on how to unlock your Samsung Infuse 4G or Samsung i997 so you can use it on T-Mobile. I will give full credit to sanfranx415 from xda forums but I wanted to do things a little different and I want to make the process a little more user friendly and less technical. We all get there eventually and I want to be has helpful as possible.

    Step 1) Remember, your phone must be rooted. If your phone is already rooted and has a program called Superuser in the menu then slip Step 1. If not, here's a link http://www.addictivetips.com/mobile/how-to-root-samsung-infuse-4g-on-android-2-2-with-superoneclick/ and if it ever goes down remember the program is called Superoneclick. Google it, download it and make sure your phone is in usb debugging mode, connect it to your computer while superoneclick is open and click root. It's that simple

    Step 2) On your computer (not the phone), install a program called "010 Hex editor". Don't have to register Link is http://www.sweetscape.com/download/download_010editor.html . Remember you're installing this on your computer, not phone.

    Step 3) On your phone go to the market and install terminal emulator https://market.android.com/details?id=jackpal.androidterm&hl=en . If the link changes just search for Terminal Emulator in Google. Remember you're installing this on your phone, not computer. Remember root must be installed, REMEMBER STEP 1?, for this program to work.

    Step 4) On your phone, open up terminal emulator and you will see a blue screen. Don't be scared. I want you to correctly type the following EXACTLY...
    TYPE THE FOLLOWING:
    cd /dev/block
    (then press enter)
    ---------------------------
    TYPE THE FOLLOWING:
    su
    (then press enter, now your phone might ask for superuser permission, ALLOW it or say YES. You may not have to do this step, if it asked you before)
    ----------------------------
    Now you will do one of the following below. Pay attention.
    ----------------------------
    IF YOU HAVE AN EXTERNAL SD CARD TYPE THE FOLLOWING:
    dd if=/dev/block/bml3 of=/sdcard/external_sd/bml3.bak
    (then press enter)

    IF YOU DON'T HAVE AN EXTERNAL SD CARD TYPE THE FOLLOWING:
    dd if=/dev/block/bml3 of=/sdcard/bml3.bak
    (then press enter)

    Step 5) Now, find the file on your External SD card or Internal Storage depending on your situation and transfer it to your computer. If you don't know how to find the file. Plug your phone up and enable Mass Storage or Connect USB Storage. I won't baby you on how to find it. It should be somewhere on your phone or external SD card if you did step 4 correctly. Transfer that bml3.bak file to your computer. I recommend the desktop so will always know where it's at. You can delete it later if you want. So transfer it to somewhere on your computer.

    Step 6) On your computer, open up 010 Hex Editor

    Step 7) IMPORTANT: In 010 Hex Editor go to the Menus at the top and select VIEW then LINEFEEDS then SELECT CUSTOM, now SET YOUR BYTES TO "32" Nothing Less. If you don't do this, you won't find your unlock code. Do it.

    Step 8) While you're in 010 Hex Editor, click Open and locate the bml3.bak file you created and open it. There will be a bunch of letters, numbers or whatever, ignore them for now.

    (CREDIT TO FR0Z3N FOR CLARIFYING THE FOLLOWING 2 STEPS)

    Step 9) Now press CTRL+F on your keyboard to search for a hex string. Now a box that says Find should pop up and when the search window pops up select "Hex bytes (h)" in the Type field by pushing the down arrow and then search for the following string below:

    "FFFFFFFFFF0100000000" ALL TOGETHER WITH NO SPACES, Then Hit the FIND ALL button to the right, some of you will get many results and others up to 10 results on your screen below (not mine, someone else's computer)

    http://www.traemcneely.com/wp-content/uploads/2011/07/step.jpg

    Step 10) Now, if you look at your Hex editor there are 3 window panes on the selected line (See Image Below, my computer). IMPORTANT: scroll to the right using the scroll bar that's in the bottom, middle of the screen. You should see three windows panes.

    http://www.traemcneely.com/wp-content/uploads/2011/07/laster.jpg

    Step 11) This is where a lot of people are getting confused. So pay attention. Now, Do you see where it says Address Size and Value? Click the text or results under it and ABSOLUTELY MAKE SURE your scroll bar right above it is all the way to the right. It's important because when you click it your computer will try to bring the scroll bar to the left. So click it, and scroll to the right.

    Step 12) Go through each result from the above search and you will see on the 3rd window pane (as shown on pic above) after the hex keys there is an 8 DIGIT CODE (Write this code Down) this is your unlock code NCK for your phone. Write it down somewhere NOW!!

    Sidenote from Sanfranx415: SCAN THROUGH EACH RESULT AND YOU WILL SEE THAT IN YOUR RESULTS SOME OF YOU MAY GET UP TO 3 DIFFERENT 8 DIGIT CODES WRITE THEM ALL DOWN NORMALLY THE 8 DIGIT CODE THAT APPEARS THE MOST WILL BE THE ONE THAT UNLOCKS YOUR PHONE THE OTHER CODES MAY BE YOUR FREEZE CODE BUT I HAVE NOT TESTED THIS YET THIS 8 DIG CODE SHOULD SHOW ON AT-LEAST ONE MORE RESULT CHECK ALL YOUR RESULTS FROM THE SEARCH ABOVE( SOME OF YOU WILL HAVE YOUR CODE SHOWN AT-LEAST 2 TIMES AND SOME OF YOU WILL HAVE THE CODE SHOW MORE THAN 4 TIMES) YOUR RESULTS MAY VARY EVEN UP TO 39 RESULTS AGAIN SCAN THROUGH ALL RESULTS

    Step 13) Okay, welcome back. Now I recommend that you take out your AT&T sim or whatever sim is in there, THEN turn off your phone. Insert the T-Mobile or other carrier sim card

    Step 14) Turn on the phone and when you do you'll be prompted to enter a Network Unlock Control Key. Use the code that you received in step 12. You should have written it down somewhere like I instructed you.

    Step 15) After you enter your NCK or Network Unlock Control Key hit Unlock, Yes, Go or whatever it says to proceed and it should say "network unlock successful"

    VIOLA!!! Your Samsung Infuse 4G is now unlocked from AT&T.
    Credit to: http://xdaforums.com/showthread.php?t=1093476

    http://www.traemcneely.com/2011/07/...nlock-codes-samsung-i997-unlock-instructions/
    3
    I had a different experience so I thought I would share it.

    My wife has a Samsung Infuse which I recently flashed with the 9/14 Unofficial CM10 JB build. I followed the steps detailed by trae4nato and here is what I ran into:

    First, my phone didn't have a /dev/block/bml3. It had a bml12, which I think represented the modem. I tried doing the command with bml2, but the generated file was about 15 MB in size and it didn't have the "FFFFFFFFFF0100000000" address. I was basically stuck.

    After some research, I noticed people grabbed the \efs\root\afs\settings\nv_data.bin instead, which is 256KB in size. So I grabbed that and searched for the address "FFFFFFFFFF0100000000" and it found a single instance of the 8 digit code.

    I tried that as the unlock code and it worked! I got the "network unlock successful" message afterwards. Phewwwww.

    I rebooted the phone with the non-AT&T SIM card (Zain) and it no longer gave the SIM Unlock dialog. Looks like my wife's good to travel with this thing. *crossing fingers*
    2
    Don't pay the $40. Slap him instead for being a thief.

    From my experience this is best done on stock 2.3.6.

    CM10.2 (and other JB ROMs) have switched things around in the internal SD card directories. I am not smart enough to figure out what exactly has been done.

    qkster will be the most helpful person in this matter if you cannot contact trae4nato (OP) or sanfranx415.

    No matter how you do it make sure to back up a copy of the efs folder in case you lose the IMEI.

    Hope this helps.

    Got a problem...
    i997, CM10.2. Couldn't find bml3 file, but DID find a bml12 file inside /dev/block.
    I enter the search string into 010 and come up with NO matches.
    NEED to figure this out...dude at the cell store wants $40 to do it.
    ANY help on this would be GREATLY appreciated!
    PoX
    2
    What I did to unlock my infuse before I sold it was this...downloaded sgs unlocker pro, opens it choose sgs 4G/vibrant 4G, clicked unlock and it did it...the app costs $5 though...

    Sent from my HTC PH39100 using XDA
    1
    Is there a way to call AT&T and ask for the unlock code? I usually do that with tmobile, I tell them I have to get out of the country and they'll email me the unlock code the next day....

    Sent from my Samsung Infuse - Infused 1.5