yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] nikeairj:
I've tried it at least 4 times. Here's the output. Its the same every time I ran the script. There's 10-20 seconds pause before the "make it RW and move files" line.

exploit and busybox made by joeykrim and one click installer made by noobnl and
firon
Press any key to continue . . .
copy and run the exploit (may take 2 minutes)
329 KB/s (5392 bytes in 0.016s)
7 KB/s (88 bytes in 0.011s)
[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C

[*] checking NPROC limit ...
[+] RLIMIT_NPROC={3712, 3712}
[*] Searching for adb ...
[+] Found adb as PID 6606
[*] 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.

make it RW and move files
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
set permission
error: device not found
error: device not found
error: device not found
error: device not found
error: device not found
install busybox
error: device not found
push any key to reboot the phone
Press any key to continue . . .
[Epic 4G Android Development] Flak:
I am getting the following message when trying on multiple pcs:
[Epic 4G Android Development] gTen:
Go into he folder with the 1 click root in it in Command prompt and type:

adb get-state

if last line says:

unkown

That means drivers didn't finish installing, if they failed you can install them from Device Manager manually by going to the Shewberry folder in the drivers when it asks you to Browse.

Once it says:

device

Then your good to go
[Epic 4G Android Development] Firon:
Try another USB cable or another USB port. The initial copy works, your phone just fails to reconnect after the exploit runs. Kill adb.exe on your system and reboot the phone before trying again. You have to reboot the phone any time you try the exploit again.
[Epic 4G Android Development] nikeairj:
That works.. I had to try like 4 different USB ports before it could execute the whole thing. Crazy! Samsung's drivers are piece of crap! lol. At least it works now. Thanks!
[Epic 4G Android Development] Spunkzz:
i take it if i have the superuser app in my apps that it was a successful root?
[Epic 4G Android Development] Kelvala:
Do you have to unroot first then run this? Is there a way to push the busybox and SU manually? I too get the infamous.....

I have changed cables, killed the adb.exe, reboot the phone, used ALL of my USB ports...lol...going loco here.
[Epic 4G Android Development] Kelvala:
Ok, cancel my notes above...i figured it out...lol

My device went offline after this

So I ran the WHOLE run.bat file manually...and BAM! Its rooted with SU even after a reboot....

Sweet! Guys having trouble do this manually.

Then type this:

If it says UNKNOWN, unplug your device, plug it back in and do this:

It should say DEVICE

Then manually do this:
[Epic 4G Android Development] malevlnt2:
hi all,

coming from an ancient palm treo, i'm a total newb to android and wanted to see if i could actually do this one-click root stuff.

last nite, i dl'd the 64-bit drivers and the 2.2.6 zip file, restarted my laptop and phone, waited a few minutes for the laptop to idle, plugged in my phone and waited about 10 minutes making sure my laptop recognized all things samsung, then double clicked the run.bat.

the effortless process worked so perfectly the first time, i actually uninstalled it and ran it again just to make sure it actually worked. sure enough, i got root, titanium, superuser, and rom mgr working. the tethering thing works, but my laptop can't seem to connect... that'll be for some other time.

i read A LOT of posts mention how hardware and different usb ports may effect performance and capabilities, so fyi: my phone's plugged into a dell u2410 via an actual sprint/htc usb cable and the monitor's plugged into my dell studio running win7 ultimate via monster m series m2000 hdmi cable.

being rooted, i was concerned my epic wouldn't update this morning when i got the notification, but i think that worked too. in my crappy reception area, out of 4 speedtest runs on 3g, my dl avg is 1309 and my ul avg is 545

i'm subscribing to your twitter and sending a small red bull donation your way noobnl... thanks and keep up the great work! ;)
[Epic 4G Android Development] gophergun:
I'm having trouble here. Upon plugging it back in, it still says unknown. Anyone know how to fix this? I'm running Avast, but disabling real-time protection didn't help anything.
[Epic 4G Android Development] illogic6:
HeroHTC's method a couple posts up corrected my error: device not found issue.
[Epic 4G Android Development] nikeairj:
Keep unplugging / plugging it back in. Keep trying different USB ports and do the same thing until it work. Samsung made sucky drivers. You might want to try reinstalling the drivers.
[Epic 4G Android Development] Crizthakidd:
how fail. i cant get so many things to work, and finally i get a device found and i do get-state and it says device i click the bat file but still nothing... ugh -__-

is it bad that i already have clockwork? i sideloaded superuser as well but i took it off and idk what my problem is now
[Epic 4G Android Development] DPUVince:
Unroot

I am having trouble flashing ROMs after using this method for root( I can not flash anything without getting an error along the lines of -- package is not signed). I am trying to use the unroot method but I am unsure how since there are not instructions posted. Can anyone please help?
[Epic 4G Android Development] tosh1:
Man I want to try this on my brand new Epic, but it seems like this is far from 1 click root.... Any ideas if these issues will ever get resolved or is it a majority of user error?
[Epic 4G Android Development] 4nic8:
By far the easiest root I have encountered on an android device. KEEP UP THE GOOD WORK!!!
[Epic 4G Android Development] dsummey30:
hey man just give it a try as long as you do what the post says you shouldnt mess the phone up if it doesnt work so its worth a try and if it doesnt work ask questions on here and people will gladly give you a hand
[Epic 4G Android Development] dewey1973:
Please excuse the noob question but if you have successfully rooted your phone is there reason to re-root as new versions are released?
[Epic 4G Android Development] its114:
Check the change log in the Original Post to see what's been updated. Then decide.

However, once you achieve root access and it sticks, you shouldn't need to root again.
[Epic 4G Android Development] jimmyz:
what is the advantage of having busybox installed to xbin?
[Epic 4G Android Development] Firon:
Means you can use all the busybox commands directly (e.g. type 'cp' instead of 'busybox cp').
[Epic 4G Android Development] devo52:
man im having so many problems flashing roms i keep getting a failed to verify whole file signature please help
[Epic 4G Android Development] jimmyz:
thanks Firon!!- could you comment on the root method here
[Epic 4G Android Development] dewey1973:
The linked method worked great for me.
[Epic 4G Android Development] Xaeonis:
Besides the following steps, this IS a one click. Everything BESIDES THE ROOTING, is just a setup.

1 - install drivers on computer (cant get rid of this step right?)

2 - Enable USB debugging on phone (Uhmm, not a click, doesnt really count right?)

3 - Download, extract files, run the bat file. (THIS is the step)

If youre looking for something MORE simple than that, I suggest you not own a phone? Ive done this 3 times already, all without any sort of fail. And before you say anything, Im running windows 7 x64, so Im using whats probably considered the LEAST compatible OS for this...ADB has always installed right, used a good usb cable (not the samsung one), never had an issues with connecting and identifying the phone, and ran 3 different versions of the bat all with success. The last being about an hour ago when I did a full wipe using odin+DI18 full and then went through the process of root+clockwork mod+mixup kernel + getting everything back.

This is really as simple as its gonna get. I dont know what youre looking for dude...It honestly seems like the majority of people in this thread are having user error problems...but then again, thats just my opinion...
[Epic 4G Android Development] scthom:
Package Not Signed error

Make sure you reboot into recovery using the "three-finger" method and not using ROM Manager. That's volume down, camera, and power. There are two recovery modes, one is stock android (the one that gives you errors) and the ClockworkMod recovery, which doesn't. IIRC, stock android is "green" and ClockworkMod is "white".

If you are getting ClockworkMod recovery and still have the package signed errors, then I don't know.
[Epic 4G Android Development] tosh1:
Ok did it and it was easier than I thought... was a bit worried at first, but dont be.

As long as you put the right drivers in and you see ADB Android under Management you will be good to run this script. I had to run the last one that worked for me, not the first one.bat

Also I tried to DL Rom manager after that and flash Recovery that way first and then do the rom through ROM Manager, but that didnt work for some reason, so I had to manually download the Recovery file and run it manually by hitting the Vol down CAMERA and POWER button and then FLASH ROM.

Great job... now if we can get FROYO on these dang phones.... i want flash on this beautiful screen, but thats another topic.
[Epic 4G Android Development] legionnairez:
is it just me or do the driver downloads not work... i can never seem to get drivers from this site... had to get my vibrant driver from samsung's website
[Epic 4G Android Development] ascolidesigns:
Drivers aren't working for me also, can someone update the links? THANKS!!!!!
[Epic 4G Android Development] wolfwood434:
Really want to do this but don't have a windows computer for the drivers.....Any help?

I have a macbook pro running 10.6.4
[Epic 4G Android Development] DPUVince:
I am unable to get into ClockworkMod. I found someone with a similar problem here
[Epic 4G Android Development] sammiam:
I do APPRECIATE all the work you've done with this phone... I'm now using your kernel plus rom..... keep up the good work
[Epic 4G Android Development] sammiam:
I was able to do everything via my LINUX system... what I did was to pull down the zip files, unzip them, make sure that I had the ADK installed, and then manually would issue the commands that are found in the '.bat' files.... I was able to perform the one click root, clockworkmod, and now am able load custom ROMs....
[Epic 4G Android Development] sammiam:
There is a clockworkmod that needs to be installed, plus, you can't use clockworkmod with the standard Sprint kernel, you have to install a different kernel... google it, there are multipls posts about it...
[Epic 4G Android Development] MitchInOmaha:
I have a stock Epic and am trying to run the one-click-root and am stuck already. :(

I have the WinXP drivers from Samsung's site, and it seems that the phone is connecting just fine. When not in debugging mode I can mount the SD to my Windows box and copy files to and fro'.

But, once in debugging mode, a) the SD card quits mounting (not sure if that's normal), and b) when I tried to manually run (as a test) the first adb command from the one-click-root run.bat file, I get this response:

* daemon not running. starting it now *
* daemon started successfully *
error: device offline
[Epic 4G Android Development] chaosfenix:
Make sure the phone doesn't go to sleep/lock before you begin issuing commands. I know that hasn't solved everyone's problems, but it seemed to fix mine. Either change your sleep/lock timer or just keep tapping it.
[Epic 4G Android Development] jazzneel:
How do you download the drivers?? I right click and save as, and keep getting an error??
[Epic 4G Android Development] gury32:
rooting

i used the zip and i think it worked..ive been tryig to download themes on my epic 4g but it isnt going through...tried installing from comp to phone and straight to phone it still... what do u think im doing wrong???????
[Epic 4G Android Development] tomfubarr:
OK everyone, once you down load your drivers for your phone, make sure you shut down the phone and restart it first, and make sure you end adb and close one click root, and reopen it then when the sprint logo appears on your phone then run the run.bat and it will root the phone with no problems :)
[Epic 4G Android Development] durhamite:
Can I get a little help here. Been trying this for two day sand getting this. What am I doing wrong. I am on DI18. I was able to get this to work before the DI18 update but wanted to play with odin and see how it worked. flashed to DI18 and now can't root using this method.

Thanks in advance.

exploit and busybox made by joeykrim and one click installer made by noobnl and

firon

Press any key to continue . . .

copy and run the exploit (may take 2 minutes)

* daemon not running. starting it now *

* daemon started successfully *

337 KB/s (0 bytes in 5392.000s)

5 KB/s (0 bytes in 88.000s)

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

[*] checking NPROC limit ...

[+] RLIMIT_NPROC={3712, 3712}

[*] Searching for adb ...

[+] Found adb as PID 23322

[*] 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.

make it RW and move files

mount: Operation not permitted

failed to copy 'joeykrim-root.sh' to '/system/bin/joeykrim-root.sh': Permission

denied

failed to copy 'jk-su' to '/system/bin/jk-su': Permission denied

failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Permission denied

failed to copy 'playlogo-orig' to '/system/bin/playlogo-orig': Permission denied

failed to copy 'playlogo' to '/system/bin/playlogo': Permission denied

failed to copy 'busybox' to '/system/bin/busybox': Permission denied

failed to copy 'resolv.conf' to '/system/bin/resolv.conf': Permission denied

failed to copy 'remount' to '/system/bin/remount': Permission denied

set permission

Unable to chmod /system/bin/joeykrim-root.sh: No such file or directory
[Epic 4G Android Development] buffalosolja42:
32 bit drivers not in location of first page

??????? Trying to root for co-worker because the exchange only works in touchdown and figured if we root and flashed to 2.2 it more than likely would, but the drivers for 32bit go nowhere when I click on the link.
[Epic 4G Android Development] Gamercjm:
I wasn't sure how to perform the install since it was waiting at the "adb connection will be reset. restart adb server on desktop and re-login.",

Running that adb.exe made it work and didnt see that anywhere else. Thanks akei1
[Epic 4G Android Development] DiscoDapper:
Same problem here getting drivers to install in 64bit Win7. Phone connects for file transfer, but once USB debugging is activated, the computer does not see the phone and the batch file from one click root will not find the device.

I booted into my 32bit XP partition and the Samsung driver installed, but otherwise it's the same... phone connects for file transfer, but once USB debugging is activated, the computer does not see the phone and the batch file from one click root will not find the device.

Also the links from the first post are not working for me either.

Any help would be appreciated. Thanks!:cool:
[Epic 4G Android Development] Gatorman:
When I download the zip file and try to open it, I get a message that zip file is corrupted. Anyone getting the same message?

Also, the link to 32bit driver does not work. Please fix it. Thanks!
[Epic 4G Android Development] jwebe03:
I keep getting a write permission error? any Ideas??
[Epic 4G Android Development] Coin Slot:
this is the message i receive from the command prompt. any ideas on what i am not doing correctly
[Epic 4G Android Development] ERHSAII:
Download the 1-click root. Extract it to your desk top. Enable USB debugging on phone and connect it. Open 1-click file and double click run.bat. This should work without entering any DOS commands. Hope this helps.
[Epic 4G Android Development] Firon:
http://firon.net/xda/one.click.root.exploitv2.2.7.zip

Here's 2.2.7, that simplifies the root process thanks to the discoveries here: http://xdaforums.com/showthread.php?t=800483

I also increased the timeout after running the root (fails less), moved more things to /system/xbin to reduce the risk of breaking things, and removes all the old files leftover from joeykrim's root (including his modified playlogo that runs at boot every time and trashes stuff).

It also means your system will no longer be mounted as read-only every time you reboot and there's no more problems with jk-su overwriting your existing su binary.

32-bit drivers: http://firon.net/xda/Samsung_Mobile_Driver_V1.3.800_For_SPH-d700_Epic_4G.zip

64-bit drivers: http://firon.net/xda/usb_drivers_GalaxyS_x64.zip
[Epic 4G Android Development] 1deviant:
May I simply apply this over the previous one-click root? Thank you for this Firon!
[Epic 4G Android Development] Firon:
Should be able to! That's how I tested it on my phone and it worked. It's supposed to clean up the old root method and apply this one.
[Epic 4G Android Development] regansocal:
2.2.7 one click doesn't seem to work. it removes JK's root but does not root my phone. I am on rooted stock kernel and rom. the bat file runs and seems to run all the way through.
[Epic 4G Android Development] Firon:
Hmm. So you can't actually su? What happens when you try to su?

You do know that you have to allow it in the superuser popup the first time you su, right?
[Epic 4G Android Development] slidez:
Guys a couple of pointers to help you all having problems:

Anything related to:

"Error: Device not found"

or when running:

"adb devices" - returning value of offline

"adb get-state" - returning value of unknown

Means there is either a driver issue or connection issue. Double check device manager to see if ADB Inferface is detected with a samsung driver. Or in my certain case, make sure you connect the USB cable directly to the rear USB connections. My front panel USB connectors would detect the phone but ADB would show it as offline.

Anything related to permission errors usually means chmod failed or some other issue....

You do not need to run the bat file to root, if you want to do it manually, open up the run.bat file with notepad and you can see exactly what the script does. You can open cmd prompt, cd to your folder where you extracted the rar and run each command listed in the bat file one by one. There you can see where exactly you are running into problems.

For my personal experience, the bat file failed because it didnt give it enough time to redetect my phone, so I ran each command manually and was able to root.
[Epic 4G Android Development] J3COMPUTERSERVICES:
Ive trying to run the one click method, it installs the Superuser app , phone reboots, but does not apply permissions to any app (wireless tether/Clockwork Recovery) Can anyone help?
[Epic 4G Android Development] slidez:
I think im having the same issue as well, when running adb shell and requesting su, im getting permission denied. Maybe I lost it while rebooting?

Actually I may have found the culprit:

-From run.bat-

adb push su /system/xbin/su

adb shell chmod 06755 /system/xbin/su

-From simple not one click thread-

adb push su /system/xbin

adb shell chmod 4755 /system/xbin/su

I dunno what difference it makes where su is pushed to, and I dunno what the permission difference is either, but running the commands from the other thread fixed it for me.
[Epic 4G Android Development] plwrenn:
su - Permission denied

I am also getting a Permission denied when trying to run su. I mounted rw and set the permissions on su suggested above, but no dice.

C:\one.click.root.exploitv2.2.7>adb shell
$ su
su
Permission denied
$ ls -l /system/xbin/su
ls -l /system/xbin/su
-rwxr-xr-x root shell 26264 2010-10-10 15:54 su
$
[Epic 4G Android Development] mi7chy:
ODIN to stock DI18, installed one-click-root 2.2.7 then clockwordmod 2.5.1. When I run ConnectBot and try to 'su' it responds with "permission denied" with no pop-up. Re-installed one-click-root 2.2.7 and no difference. 2.2.4 was the last version that worked well while 2.2.5 had some funkiness and didn't get to try 2.2.6.
[Epic 4G Android Development] mkasick:
Yes, there's a bug in 2.2.7. For those who've already run it, it should be fixed by running the following after the phone reboots:

adb shell /data/local/tmp/rageagainstthecage-arm5.bin
adb shell chmod 06755 /system/xbin/su

The bug is due to permissions being set in the wrong order. run.bat currently does:

adb shell chmod 06755 /system/xbin/su
adb shell chown root.shell /system/xbin/su

The problem is that su's setuid bit is lost after running chown. This always happens after a chown, even if the owning user is the same. It's a security feature of the file system.

run.bat should chown su first, then chmod it. If you switch the order of the above chmod/chown lines in run.bat before running the one-click, then it should work properly.
[Epic 4G Android Development] Firon:
Re-uploaded it in place with the two commands swapped. Sorry :P

md5sum for the new zip: 7f875a88c294f5f74fef60679f0d393b
[Epic 4G Android Development] plwrenn:
Works great now. Thanks!
[Epic 4G Android Development] rhyme187:
i cant seem to get busy box to install
[Epic 4G Android Development] rhyme187:
it seems that it blacks out the sprint animation bro
[Epic 4G Android Development] krazeekirk:
crazy question is this a permenant root?
[Epic 4G Android Development] J3COMPUTERSERVICES:
Works great now! Thanks all!
[Epic 4G Android Development] Firon:
It's ugly anyway. :P

su then do chmod 755 /system/bin/playlogo

grmbl grmbl:

http://firon.net/xda/one.click.root.exploitv2.2.8.zip

Changes: fix boot logo, add one-click root for mac and linux (including adb binaries)

Linux users chmod +x run.sh and run it, mac users chmod +x run_mac.sh and run it.
[Epic 4G Android Development] flopez76:
Worked like a charm, thanks noobln
[Epic 4G Android Development] sndtubes:
I am so friggin lost here. The only response I get now with any command I type is adb: not found

When running the bat file, I generally just get device not found errors. Any guidance would really be appreciated.
[Epic 4G Android Development] Firon:
You need drivers installed to make this work.
[Epic 4G Android Development] ZenInsight:
I can't stand that Sprint logo. I rooted back with 2.2.6 and removed the boot and shutdown screen sounds. I've seen a very cool shutdown screen hack from someone onyoutube that replaced the .png's with his own images. I'm sure you' probably seen it.
[Epic 4G Android Development] nelson67:
Great! Thanks so much.
[Epic 4G Android Development] regansocal:
The new version works perfect, Thanks for the new and improved root.
[Epic 4G Android Development] sndtubes:
They are installed. It has worked in the past. After installing a new kernel and ROM, I thought I had lost root because I no longer can get any response to commands while in adb shell or on a terminal prog inthe phone.

I have reinstalled the drivers. I just keep getting the "device not found error".

Could the problem be the installed Mixup kernel and /or Bub's AOSP Universal ROM?

The phone mostly behaves as if it has root, but I cannot do hardly anything in adb shell or connectbot. Nearly every command results in "not found" message. I cannot reinstall Joeykrim in adb shell because every command I type in says "not found".

So, any ideas or guidance here would really be appreciated.