yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] Entropy512:
I think that in general Gingerbread past a certain version blocked all of the holes that the root exploits used. Unfortunately the same things that gave us root also let malware gain root on nonrooted phones, so Google went bug-squashing in response to malware showing up.
[Samsung Infuse 4G] Dani897:
well that gives me a good reason to stick with samsung phones. odin can get past all this once sources and a dump with initramfs are available as long as samsung uses odin they will be the easiest phones to obtain root on.

that is unless they go all motorola on us and lock bootloaders or nand partitions with encryption.
[Samsung Infuse 4G] Entropy512:
Yup, one of the reasons I bought Samsung is that they have not locked any of their devices until the Galaxy Tab 10.1 - and even then only some units are locked to the point where I'm wondering if someone screwed up. (I'm hoping it's not a sign of things to come, but a company that donates hardware to the CM team is not likely to go bootloader-locking, especially after seeing the negative PR it gets for Motorola and the negative PR it got for HTC when they released locked devices. Samsung understands that while 95% of people don't care about rooting, locked bootloaders, etc - the people that do are the ones the other 95% trusts to give them recommendations.)
[Samsung Infuse 4G] Hobbbez:
I have rooted a few phones (i have a mac) and have had zero issues but I cannot root this phone. I don't get why and can't find anything, anywhere on how to do this. I follow the steps in this thread and NOTHING happens. I am beyond frustrated at this point.

I download the files, put the infuse in debugging mode and nothing happens. What am i doing wrong. Please help. Thanks.

When I run the ADB file it says:

Last login: Fri Jul 29 21:37:04 on ttys000

/Users/ /Desktop/InfuseRootUnlock/Linux/adb ; exit;

/Users/ /Desktop/InfuseRootUnlock/Linux/adb ; exit;

-bash: /Users/ /Desktop/InfuseRootUnlock/Linux/adb: cannot execute binary file

logout

[Process completed]
[Samsung Infuse 4G] Dman91:
Hi Hobbez,

You might need give it the root permission. Have you tried running root.sh with the sudo command?
[Samsung Infuse 4G] Hobbbez:
Yeah, and same thing.

Last login: Fri Jul 29 22:17:14 on ttys000

Xavier:~ Jenna$ sudo /Users/Jenna/Desktop/InfuseRootUnlock/root.sh

Password:

Raging Against The Cage...

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 17: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 18: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 19: Darwin/adb: No such file or directory

Resarting ADB server

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 21: Darwin/adb: No such file or directory

Pushing Superuser utils...

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 23: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 24: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 25: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 26: Darwin/adb: No such file or directory

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 27: Darwin/adb: No such file or directory

Acquiring Network Unlock Codes...

/Users/Jenna/Desktop/InfuseRootUnlock/root.sh: line 30: Darwin/adb: No such file or directory

-- Unlock Code:

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

Script Complete...

Please type the following at the prompt:

Darwin/adb reboot

Xavier:~ Jenna$
[Samsung Infuse 4G] Dman91:
Okay try this:

cd /Users/Jenna/Desktop/InfuseRootUnlock

sudo ./root.sh
[Samsung Infuse 4G] Hobbbez:
That worked! You are amazing.
[Samsung Infuse 4G] Ph0z3:
heelloooo

Can someone PPPLLEEAASSEEE help me?

Im on Ubuntu 10.10 and cannot get this to work AT ALL...

im bout to pull my damn hair out.

--

after root what all do i need to load a ROM?

im coming from a Milestone (ATT) that loaded all its rom's via image-recovery, since the boot loader was locked.

so this is a bit new to me... sorry if i seem slow with it.
[Samsung Infuse 4G] Dman91:
Glad it worked :)

Hi,

To load a custom ROM you need to first root the phone which this script will do. Please go to the first page and follow the steps for Ubuntu.

Once you've rooted your phone you just need to decide which custom ROM you want to install and then go to that topic and follow the steps :)
[Samsung Infuse 4G] Ph0z3:
again... i couldnt get it to work... i double clicked and nothing happened.

help please!
[Samsung Infuse 4G] Ph0z3:
USING UBUNTU 10.10.... HERES WHAT I GOT...

Failures to copy SuperUser, and busybox...

any ideas?

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

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

55 KB/s (5392 bytes in 0.094s)

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3407, 3407}

[*] Searching for adb ...

[+] Found adb as PID 16607

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

Resarting ADB server

Pushing Superuser utils...

error: protocol fault (no status)

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

failed to copy 'su' to '/system/bin/su': Read-only file system

failed to copy 'busybox' to '/system/bin/busybox': Read-only file system

failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file system

Unable to chmod /system/bin/su: No such file or directory

Acquiring Network Unlock Codes...

-- Unlock Code:

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

Script Complete...

Please type the following at the prompt:

Linux/adb reboot
[Samsung Infuse 4G] rbk1016:
HELP!!

No idea what happened. Installed adb to mac hd and attempted to drag root.sh into terminal, this is what happens:

new-host-5:/ rbk1016$ adb devices

List of devices attached

I997cb710b19	device

new-host-5:/ rbk1016$ adb devices

List of devices attached

I997cb710b19	device

new-host-5:/ rbk1016$ /Users/rbk1016/Downloads/InfuseRootUnlock/root.sh

Raging Against The Cage...

cannot stat 'rageagainstthecage-arm5.bin': No such file or directory

Unable to chmod /data/local/rageagainstthecage-arm5.bin: No such file or directory

/data/local/rageagainstthecage-arm5.bin: not found

/InfuseRootUnlock/root.sh

Resarting ADB server

Pushing Superuser utils...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

error: device not found

error: device not found

error: device not found

error: device not found

Acquiring Network Unlock Codes...

error: device not found

-- Unlock Code:

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

Script Complete...

Please type the following at the prompt:

/android-sdk-mac_x86/platform-tools/adb reboot

new-host-5:/ rbk1016$ /InfuseRootUnlock/root.sh

Raging Against The Cage...

error: device not found

error: device not found

error: device not found

Resarting ADB server

Pushing Superuser utils...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

mount: Operation not permitted

cannot stat 'su': No such file or directory

cannot stat 'busybox': No such file or directory

cannot stat 'Superuser.apk': No such file or directory

Unable to chmod /system/bin/su: No such file or directory

Acquiring Network Unlock Codes...

-- Unlock Code:

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

Script Complete...

Please type the following at the prompt:

/android-sdk-mac_x86/platform-tools/adb reboot

new-host-5:/ rbk1016$ /android-sdk-mac_x86/platform-tools/adb reboot

r.apk': No such file or directory

Unable to chmod /system/bin/su: No such file or directory

Acquiring Network Unlock Codes...

-- Unlock Code:

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

Script Complete...

Please type the following at the prompt:

/android-sdk-mac_x86/platform-tools/adb rebootnew-host-5:/ rbk1016$ r.apk': No such file or directory

> Unable to chmod /system/bin/su: No such file or directory

> Acquiring Network Unlock Codes...

>

> -- Unlock Code:

>

> WARNING: If the code does not work the first or second time

> do not keep trying over and over!

> WARNING: You can lock your phone if you do this.

>

> Script Complete...

> Please type the following at the prompt:

> /android-sdk-mac_x86/platform-tools/adb reboot

can anyone help me with a walk through. I've been doing this same exact thing over and over for hours!!
[Samsung Infuse 4G] Dman91:
Looks like your partition needs root permission to write.

Try the command with sudo

Open up terminal and type this:

cd /Users/rbk1016/Downloads/InfuseRootUnlock/

sudo ./root.sh
[Samsung Infuse 4G] Ph0z3:
it was just ubuntu being weird...

did everything though GRUB and it worked just fine.

btw the directory is

cd ~/Downloads/InfuseRootUnlock
[Samsung Infuse 4G] Makdy:
You must be helping me please...

dude thanks a ton.. it worked.. I am an novice.. and even for me it worked.. thanks a ton.... god bless
[Samsung Infuse 4G] Skv012a:
Unlock code, didn't work... but rooting was excellent!

Any advice on what to do in my case? I read through the other hex editor tut for digging up the code and it said that there may be several various codes in there. Also, is there any way to reset # of attempts to sim unlock?
[Samsung Infuse 4G] Dman91:
I have unlocked two phones (infuse) and they had the same unlock repeated many times. I would say try the unlock code you get once and if that doesn't work ask here again. I tried it the first time and worked like charm.
[Samsung Infuse 4G] Skv012a:
I've tried it twice, once via the automated program, once using the hex digging and only found that same (or only instances of) code. I got my last attempt to unlock left and if there's no way to reset the count, I would REALLY appreciate some help w/ this.
[Samsung Infuse 4G] Dman91:
How big is the unlock code that you found? Send me your bm3.bak file and I'll try taking a look
[Samsung Infuse 4G] rikoo25:
unlock

thanks man u r great

it works like charm
[Samsung Infuse 4G] Skv012a:
It was 8 digits, like it should be. I got a Captivate for now (go bestbuy exchange policy), but I may just get another infuse to try this again.

Guys, what was that dialer code into which you can plug the unlock code and unlock without a foreign sim?
[Samsung Infuse 4G] rbk1016:
sorry it took me a while to get back on here but it worked perfectly! thznk you so much!!
[Samsung Infuse 4G] dairy king:
The script says not to type it in more than once or twice if it doesn't work. Then what? It didn't work for me.
[Samsung Infuse 4G] dairy king:
Ok correction, I got it but now it says daemon started successfully or whatever and then my phone restarts but when I check to see if it's rooted, its not. What am I doing wrong?
[Samsung Infuse 4G] neil.yasno:
Root only worked

hi guys im a noob so i need some help. im running mac osx and i tried to run the unlock.sh but it basically the only thing that ended up working is the root. when i run the unlock.sh it said my unlock code is 00100100101#31015031017031118031041031098099999# i know that an unlock code is 8 digits. can someone tell me which steps i should take now, i have superuser on it now but again, I need it unlocked to travel with.
[Samsung Infuse 4G] Yakusoya:
I'm planning to just unlock my phone but I wanted to ask before I start. Can I insert an inactivated SIM card after I shut down the phone? It's T-Mobile SIM card but since I'm no longer with them, it's inactivated. Would it still work? I don't have any other cards besides AT&T until I go overseas.

If I unlock it with no SIM card and then shut down, put back in my AT&T SIM card would that work? Or can I use other SIM cards that belong to AT&T? :(

Also, in case I get the multiple digit unlock code like the user above, what should I do?
[Samsung Infuse 4G] lilvash78:
ok im lost i have rooted the phone but cannot unlock it. it keeps saying that

the system cannot find path specified.

tell me wat am i doing wrong? hehe thanks.
[Samsung Infuse 4G] kennewick:
Unable to unlock Samsung Infuse 4g

I am trying to unlock AT&T Samsung Infuse SGH-I997 firmware 2.2.1 using Win7 laptop and followed this post instructions in vain :(

Got ADB installed/configured but, still getting rageagainstthecage-arm5.bin not found

any help is appreciated

thank you

C:\InfuseRootUnlock_v4\InfuseRootUnlock>unlock.bat

Raging Against The Cage...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

cannot stat 'rageagainstthecage-arm5.bin': No such file or directory

Unable to chmod /data/local/rageagainstthecage-arm5.bin: No such file or directo

ry

/data/local/rageagainstthecage-arm5.bin: not found

Resarting ADB server

Pushing Superuser utils...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

mount: Operation not permitted

failed to copy 'busybox' to '/system/bin/busybox': Read-only file system

Unable to chmod /system/bin/busybox: No such file or directory
[Samsung Infuse 4G] Yakusoya:
Ok, I just tried the unlock.sh via Terminal on a Mac. It did not work because it did not give me any unlock code. This is what I got:

Acquiring Network Unlock Codes...

grep: The -P option is not supported

-- Unlock Code:

I've tried unplugging it and plugging it back in, same thing. It is already in USB debugging mode and the phone stayed on while I ran the script. unlock.bat did not work because there was no application to run it. So I just did the Terminal method. Any help is greatly appreciated!
[Samsung Infuse 4G] rohit3192:
download again zip file.

disable anti-virus.
[Samsung Infuse 4G] kennewick:
Thanks much

Thanks a lot Rohit, did not even think about anti virus got carried away...

thanks much for your help - appreciate it

was able to unlock :-)

C:\InfuseRootUnlock_v4 (1)\InfuseRootUnlock>root.bat

Raging Against The Cage...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

138 KB/s (5392 bytes in 0.038s)

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3407, 3407}

[*] Searching for adb ...

[+] Found adb as PID xxxx

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

Resarting ADB server

Pushing Superuser utils...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

641 KB/s (26264 bytes in 0.040s)

2036 KB/s (1867568 bytes in 0.895s)

1599 KB/s (196521 bytes in 0.120s)

===========================================================

Acquiring Network Unlock Codes...

Unlock Code:

xxxxxxxxxx

===========================================================

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

============================================================

Script Complete...

Please type the following at the prompt:

Windows\adb.exe reboot

Press any key to continue . . .
[Samsung Infuse 4G] Hobibill:
Not easy, nope, not at all easy

I admit I am a noob to this but I was able to root, unlock and flash my three Dell Streaks. I don't know why this is so much more difficult. Too many things to download that are not mentioned in the OP. No instruction on where to put all of these files or really any explanation why or what to do with them. Is there any really basic step by step to root the Infuse?

Flaming may begin.
[Samsung Infuse 4G] Yakusoya:
It worked on my Windows! I installed Samsung Kies 2.0 (but didn't run it), set USB debug mode on, connected it, and ran the unlock.bat. Got the code and put it in and it was successful! Not sure why it didn't work on the Mac. Although it did log me out of Google for some reason and gave me a red triangle icon at the top which scared me but it's all good once I log back in.

Just making sure so I don't get any nasty surprise once I'm overseas, this unlock will be permanent? Is there any way to check it'll work? The SIM I swapped with is T-Mobile but it's inactivated.
[Samsung Infuse 4G] dreamir:
error: Device not found

Hi,

I am new to android phone, just got my infuse yesterday. tried to unlock, but i am getting this error and all the details are below.

I am using Windows 7 32-bit professional edition on my laptop.

***COPY OF THE UNLOCK.BAT RESULT****

Raging Against The Cage...

error: device not found

error: device not found

error: device not found

Resarting ADB server

Pushing Superuser utils...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

error: device not found

error: device not found

===========================================================

Acquiring Network Unlock Codes...

Unlock Code:

error: device not found

===========================================================

WARNING: If the code does not work the first or second time

do not keep trying over and over!

WARNING: You can lock your phone if you do this.

============================================================

Removing all utils...

error: device not found

Script Complete...

1. Shutdown your phone

2. Swap SIM card,

3. Turn on phone

4. Enter network unlock code when prompted.

Press any key to continue . . .

Please help me guys I have a vacation need to unlock immediately.

thanks.
[Samsung Infuse 4G] buckwheat.phd:
Mac users - Lion workaround

Not sure if this made it to this thread, but for you Mac users using Lion:

I had to login to the shell as the Mac root account to get this script to execute. After a root login, the script **does** work

Make sure you're either logged in as the unix root on the mac using the command:

su

[it'll ask you for the root password]

-or-

sudo ./root.sh

-or-

or set the execute privs on the root.sh file to "exec as" root

Either of the above will allow permissions for the remount, which will fail if you're not root and just an ordinary user
[Samsung Infuse 4G] deziguy420:
did u install the driver for infuse?
[Samsung Infuse 4G] Onismurai:
Did you see my problem? I try to do it again and again, but alway like that. Anyone tell me how to fix it?
[Samsung Infuse 4G] deziguy420:
Is your usb in debugging mode?...and also make sure to disable anti-virus software....
[Samsung Infuse 4G] dairy king:
This is what mine says

"sh-3.2# /Users/Lance/Desktop/InfuseRootUnlock/root.sh

Raging Against The Cage...

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 17: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 18: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 19: Darwin/adb: No such file or directory

Resarting ADB server

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 21: Darwin/adb: No such file or directory

Pushing Superuser utils...

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 23: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 24: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 25: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 26: Darwin/adb: No such file or directory

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 27: Darwin/adb: No such file or directory

Acquiring Network Unlock Codes...

/Users/Lance/Desktop/InfuseRootUnlock/root.sh: line 30: Darwin/adb: No such file or directory"

After I reboot abd, my phone will reboot but still not rooted. On Mac OSX Lion
[Samsung Infuse 4G] askids:
Wanted to thank you for the unlock. However, I could not do it the straight forward simple way as per the instructions provided. Root was not happening at all. So I used SuperOneClick (latest version). Got root access through it. Then reran root.bat and got the unlock code. All my earlier attempts (atleast 20-30) of running root.bat did not provide the unlock codes.
[Samsung Infuse 4G] dmatthew:
About to purchase Infuse 4G from AT&T

But I don't use AT&T (my friend is just helping me get the phone at a discounted price) so in order to do this unlock do I still need an AT&T simcard first?

Also unlock here means the ability to use it with other carriers correct?

Thank you!

-Derek
[Samsung Infuse 4G] deziguy420:
no u don't need a AT&t simcard

and yes after unlock u can use it for other carriers...
[Samsung Infuse 4G] manchoi44:
Ok, I've done this as well, and here's what I'm getting:

I then type in "Darwin/adb reboot", and I get the following message:
[Samsung Infuse 4G] B3tray3d:
I get stuck on step 2

How do I navigate to the direrctory on my Mac? I have the file on my desktop and I just cant figure it out after that. Please help me
[Samsung Infuse 4G] manchoi44:
You want to open up terminal and type the following:

"cd /Users/(your home folder's name)/Desktop"
[Samsung Infuse 4G] deziguy420:
works like a charm...first try thank you lost1 ...
[Samsung Infuse 4G] manchoi44:
Had no luck rooting with the Mac instructions. Used my VMWare fusion virtual machine instead, with SuperOneClick!
[Samsung Infuse 4G] cletusarrarr:
just tried this, doesn't seem to root the phone, id recommend rooting via

http://xdaforums.com/showthread.php?t=803682

and then running root.bat, works perfectly and really quick unlocked in under 2 mins.
[Samsung Infuse 4G] tulajay7:
o2 orbit

my crappy orbit keeps crashing, any tips would be appreciated, typical windows os!
[Samsung Infuse 4G] tunie:
I followed the instructions, but it's stuck on "[*] adb connection will be reset. restart adb server on desktop and re-login."

Raging Against The Cage...

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

67 KB/s (5392 bytes in 0.078s)

[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3407, 3407}

[*] Searching for adb ...

[+] Found adb as PID 26010

[*] Spawning children. Dont type anything and wait for reset!

[*]

[*] If you like what we are doing you can send us PayPal money to

[*] 7-4-3-C@web.de so we can compensate time, effort and HW costs.

[*] If you are a company and feel like you profit from our work,

[*] we also accept donations > 1000 USD!

[*]

[*] adb connection will be reset. restart adb server on desktop and re-login.

My phone is frozen and the command screen has been sitting like this for 15 minutes. I searched this thread, but couldn't find anything about this. Am I supposed to do something? It seems like I am, but I don't know how to restart the adb server on the desktop and re-login (to what?) I'm on XP SP3.

I guess I thought this was automated. Sorry. Major newbie alert.
[Samsung Infuse 4G] deziguy420:
disable any anti-virus software and also make sure usb debugging is turned on...btw r u trying to unlock or root?...if u trying to root then try this SuperOneClick v2.1.1...here is a link http://shortfuse.org/