yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] hotwired34:
WOW! Can't believe how easy this was. I already had the drivers installed and working because I was using PDANet. From the Applications -> Development screen, it checked USB Debugging and Stay Awake. Then plugged in the phone, went to command prompt where i extracted the files and ran an adb get-state to verify that the device was connected. (response was 'device'...if response is Unknown, drivers didn't install correctly) Once it was, just typed in run and watched it go!

Nice! Thank you!
[Epic 4G Android Development] XtaC318:
After the adb reset, the console spams with device not found. I tried multiple times with the same result. I disallow the screen to sleep so I'm at a loss here. Any suggestions?
[Epic 4G Android Development] Firon:
Try a different USB cable or port. If all else fails, run all the commands manually. I'll try to add some better error handling to the batch script.

In any case, here's 2.2.9 with an actually working Linux and mac one click. It's unified into a single script (run.sh). Updated busybox to 1.17.3 (thanks skeeterslint).

http://firon.net/xda/one.click.root.exploitv2.2.9.zip
[Epic 4G Android Development] I EnFamouz I:
so everytime you flash a rom you loose root? thats what happens to me and i used this and the permenant root method but now i cant get it back ive reinstalled all drivers about 100 times on my 32 bit and 64 bit computers but no luck on either i think im going to return epic to sprint.....Edit: i never loose my root it just showes up that i dont hv root when i do which was why i couldnt re root -_- i just flashed baked 1.3 and its amazing so far
[Epic 4G Android Development] badwolf:
do i need to update if i did 2.2.5?
[Epic 4G Android Development] griff2006:
NEWSFLASH: n00b tries root, succeeds immediately

Hi all, I never got into modding more so than UI appearances and custom apps back on my Blackjack 2. Just got the Epic 4G this weekend, and looking for custom roms, themes etc. Researched about "rooting", why, how, etc... came to this thread.

Did everything as asked, small hiccup after forgetting to turn on debug... TB and busybox work fine, as well as the Superuser App installed in my Apps. Onto themes and roms :)

Thanks to all of you who are supportive of us n00bs and make the extra effort to explain to us neanderthals ;)
[Epic 4G Android Development] Firon:
Most ROMs have a pre-rooted kernel. This is only needed if you aren't already root.

Not really. But this will install busybox properly for you and cleanup the old method. It's up to you whether or not to do it.
[Epic 4G Android Development] Comando156:
Finally worked for me, what i had to do was after running run.bat and it says the error something something need to re login to adb, i right clicked and ran adb.exe as administrator, ant then the run.bat counsel i left open started to do the rest of the work. Hit the button for it to restart, and vala, Root.
[Epic 4G Android Development] ragnarokx:
voila? sorry i just had to :p
[Epic 4G Android Development] bdf:
I have no idea what I am doing wrong.

I have pushed ROMS to all my other PPCs, even my EVO 4G is rooted.

I CANNOT get this thing rooted.

It is connected, I have put clockwork on it and booted into it.

No matter what I do, I get either device not connected, or the something about logging into adb, I tried th above method, still nothing.

Now everytime I run it the phone locks up. I have had the back off of this thing a hundred times!!!!

Any ideas?
[Epic 4G Android Development] sturmen:
Could you have noobnl update the first post to reflect the new unified run.sh script? I almost asked what happened to the run_mac.sh, but I decided to read the thread instead.
[Epic 4G Android Development] KillerFu:
Thank you so much!! Worked like a charm!
[Epic 4G Android Development] HipHopIsLyfe37:
I already rooted my Epic with this method but it was with 2.2.4 or 2.2.5...something like that lol. So how do I update the root method to 2.2.9. Sorry this is my first android phone and I've never rooted before this. So do I just root it the same way as I did. Or do I need to somehow remove root and then root again?
[Epic 4G Android Development] smashedixnay:
I can't even install the drivers. I don't get this. I can enable debugging on my phone and even mount it. I download the Samsung W64 drivers, go to install and it's unsuccessful everytime. This is annoying me! I tried the w64 and W32 (just in case), but neither work. I have a laptop that has W64 on it. any tips guys?
[Epic 4G Android Development] Firon:
You don't boot into clockwork to do this. You do it while booted into the OS. :P

Run it the same way as before.
[Epic 4G Android Development] bdf:
I am doing a backup, then wipe and try it now.
[Epic 4G Android Development] bdf:
still locks up, says somthing about canot find rageaginstthecage???
[Epic 4G Android Development] kshah:
works like a charm. Thanks. But does this still require seperate KERNEL for CLOCKWORK recovery? My phone boots only in official recovery.
[Epic 4G Android Development] Firon:
Post the exact errors, please.

Yes.
[Epic 4G Android Development] Xhyperion:
FOR EVERYONE HAVING PROBLEMS INSTALLING ROMS AFTER ROOTING WITH THIS METHOD GO HERE:

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

MAKE SURE WHEN YOU INSTALL THE FIX THAT YOU DO NOT MOUNT THE EPIC (JUST LIKE ROOTING WITH NO MOUNT)
[Epic 4G Android Development] brewsbro:
Same thing here. Lots of 'device not found'. then gets to press a key to reboot phone. But, it doesn't. 2.2.4 install was a breeze and I am using same port, same cable.

edit: trying to install 2.2.9 over 2.2.4.
[Epic 4G Android Development] Firon:
You can try editing the batch file and raising -n 15 to 30 or 60 or something. Or just run the commands one by one. Some phones are finicky and it can take a really long time to come back from the initial exploit.
[Epic 4G Android Development] Noel2255:
Ok, SO I downloaded the one click root and now what?

What do I do from there? Exact instructions, like.

Do I Put the files on my phone and run run.bat? or what
[Epic 4G Android Development] Noel2255:
Anyone please ?
[Epic 4G Android Development] Xhyperion:
you need to run it from your pc. you need to download the drivers and install them first. make sure your phone is mounted before you run the root. in order to mount. connect the epic to your pc. you will see a usb icon on your dock. click the usb icon and it will give you an option to mount.

then after its installed read my post #500
[Epic 4G Android Development] rhyme187:
MiNi GUiDe

Let me try to help u bro

BASICS:install drivers for either 32 bit or 64 bit version of windows and install before continuing.....

....READY? oK HeRe We Go

1. download v2.2.9 from post #1

2.unzip to a folder

3.on device go to settings/applications/development and "check mark" USB debugging "check mark" Stay awake as well for convinience

4.after successfully detected on computer click on "run.bat"

5.black screen appears on PC with the following text "press any button to continue..." do so

6.Wait for it to finish doing its thing DO NOT UNPLUG until it states done at the bottom

7. Enjoy....

....U StiLL HeRe LOL go GET U CLOCKWORK RECOVERY
[Epic 4G Android Development] bdf:
OK, so I even wpied the phone back to stock, then tried the root method, it still locks up.

Here is what I do:

take battery out

put back in

turn it on

unlock the screen

open the one click folder on my dsktop

right click run.bat

I either get device not found, or the deal about restarting adb (which i tried by right clicking the adb and running as admin, it does nothing)

most of the time it lock the phone up.

What the hell amI doing wrong?

I have been getting a lot of force closes on a lot of apps since trying all of this.

Thanks

BD
[Epic 4G Android Development] rhyme187:
When it says to close adb and relogin u do NOTHING let it keep goin till it says done at the bottom as my guide states above
[Epic 4G Android Development] jbadboy2007:
Did you ever have any other samsung drivers on your pc? if so uninstall them and maybe try uninstalling your evo drivers too. they will conflict for some reason. make sure after a proper install of galaxy drivers that you connect epic via usb to pc then disconnect after drivers installed then reboot phone and pc. then once both are rebooted check debugging on and connect phone to pc and click run.bat and follow directions of cmd window. and when it says needs to re login into adb it does that dont touch it. the only time you press anything is when it says too and thats only twice. then it will say completed and the window will close then you are rooted. there is no need to run adb as admin. i hope this helps
[Epic 4G Android Development] bdf:
I have left it at the adb reset restart adb sever blah blah, it either locks the phone up or does nothing.

Just did it,

"cannot stat rageagaistthecage no such file or directory"

then just says that adb will be rest and to restar it and login.

I dont know what any of that means

I appreaciate al you guys do, but this wont work for me for some reason, Im sure its me.

BD
[Epic 4G Android Development] bdf:
finally said error device not found about 50 times, then press ny key to continue which closes it.
[Epic 4G Android Development] jbadboy2007:
me too. do you have galaxy rom? i do i think thats my issue cuz the rom has root in it. it said the same thing to me when i was trying to remove root.

galaxy rom doesnt have root.
[Epic 4G Android Development] jbadboy2007:
Lol its not you its either this version or its my galaxy rom. i have rooted over 20 times and it always goes through so i do not know what the deal is if it is not my rom. error device not found problem please help with this devs. i am still rooted though even after trying to uninstall it and trying to install 2.2.9 over 2.2.5
[Epic 4G Android Development] jbadboy2007:
starts daemon successfully and everything looks normal until it restarts the adb and re log in seems to be taking longer than normal then error device not found..... I also uninstalled galaxy drivers on pc then re installed and tried different usb port. i have rooted 20 times before this and all of a sudden im having issues with this version 2.2.9 later tonight i will flash back to stock then try again to see if that works but posts from other people i dont think it will matter. i think there is a bug with this version.
[Epic 4G Android Development] Gene_Bailey:
I'm rooting for the first time. Very excited to do this. I'm just stuck at the same place you are it seems. I'm at the point where it says:

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

Its been at this point about 8 minutes now. I followed all instructions to the letter.. help?

[edit] I just retried the whole thing, but to prep my phone i yanked the battery for a minute, and then put it back in, replugged it to my computer, and reran the program while having the phone in "mount" mode, and it worked! now to check if i actually have root lmao
[Epic 4G Android Development] Gene_Bailey:
I just checked and I have superuser on my phone!! i'll check Titanium backup now
[Epic 4G Android Development] bdf:
I am just running the root exploit, nothing with a rom. galaxy rom?
[Epic 4G Android Development] Kaarukun:
Have you tried restarting your phone? I had this issue where once you make an ADB connection, it'll hose up any adb connections for the root process afterwards.
[Epic 4G Android Development] Gene_Bailey:
Yea thats actually what I had already done haha :D but thanks for responding!

Now, how do I know if I actually have root? This is my first time rooting a device, and I did it primarily because when/if CM6 comes out for my device I want it, and because I want to delete all the crap ware on this thing. Does having root and superuser allow me to delete crapware? and if so, how?
[Epic 4G Android Development] jbadboy2007:
Fn finally got it to work. I flashed back to stock di18 and worked on the first try. i did a factory reset and wiped cache and dalvik.
[Epic 4G Android Development] Firon:
http://firon.net/xda/one.click.root.exploitv2.3.0.zip

And now with proper sudo on Linux, as well as an improved batch script that will actually check if the phone came back after running the exploit, instead of just waiting a fixed 15 seconds.
[Epic 4G Android Development] pox:
I can't seem to figure out what is keeping me from running the exploit. This is what I get:

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

firon

keep your phone awake during the process to improve success rate

The system cannot find message text for message number 0x232b in the message fil

e for Application.
[Epic 4G Android Development] rhyme187:
i can confirm that 2.3.0 is working
[Epic 4G Android Development] Firon:
What OS are you running? You can always try 2.3.0.
[Epic 4G Android Development] obrj:
any reason why the device could be saying offline? Im running 64 bit processor and its just acting up. Please if u can give me some insite thanks

Edit: Its a Go!! Thanks if you were gonna help!!
[Epic 4G Android Development] lilxflip:
how do i install roms/kernels after i do this?
[Epic 4G Android Development] cocoabro:
Still No Luck

I'm new to this whole Android thing, trying to make the transition from WM ROM flashing. I've been trying to root my Epic for a couple days and am having zero luck.

When trying with v2.2.9, I got the multiple "device not found" errors. Now with v2.3.0, it just sits there indefinitely after I "press any key to continue" when it firsts prompts me to do so. I've tried reflashing stock D18 and resetting to factory settings. I've tried reloading Samsung drivers. I pull the battery after each attempt and restart my PC. I've tried with and without mounting the device (with Debugging on). Does anyone have anymore ideas? This is so frustrating it's making me miss my Touch Pro 2!

FWIW, I'm running Windows 7 x86. I had no problems flashing back to stock or installing Clockworkmod2.5.1 before starting this debacle.

Thanks.
[Epic 4G Android Development] Firon:
Can you actually adb shell to the phone?
[Epic 4G Android Development] cocoabro:
Success!

Yes. Actually, I just got it working using the Simple (not one-click) root for stock ROM & kernel! Thanks anyhow.
[Epic 4G Android Development] esandroid:
Epic 4g Root

Hi all, just rooted my phone. I'm a noob at this, so just wondering if rooting my phone will prevent future updates from being downloaded OTA or work properly?
[Epic 4G Android Development] lilxflip:
i tried the uninstaller but it messed up my phone. its not bricked but its slow and it says i have no service and my usb didnt work so i did the factory data resethoping to fix everything and remove the root but it only fixed phone and i think its still rooted. how do i remove the root?
[Epic 4G Android Development] Firon:
Hm. It's a little suspicious that it didn't work. What is returned if you do 'adb get-state'?

The script basically polls "adb get-state" at various points to make sure that adb thinks the phone is connected. (to avoid the device not found errors, at least in 2.3.0).

It's SUPPOSED to return "device" when the phone is connected. Anything else and adb is probably not working.

Rooting alone won't prevent that. If you remove stock apps, then you will not be able to update through OTAs.
[Epic 4G Android Development] gTen:
I actually remember at one point there was a thing on 2.2.6 where it would give "no device" while "adb get-state" returned "device" correctly...it was that one of the drivers failed to install and after I installed it in device manager it worked :/..idk if its related...
[Epic 4G Android Development] esandroid:
Ok, so I did remove some stock apps but managed to put them back and get them installed except for one (I just want to be able to update OTA). I deleted Asphalt demo, nascar and hot spot app. I was able to restore all files to the /system/app and able to install asphalt and nascar but not the mobile hotspot. I have both the mobileap.apk and mobileap.odex file in /system/app but when I click on install apk it says app not installed. Any suggestions?
[Epic 4G Android Development] grimproductions:
So i have been working with android for years now i had a g1 on the day of release, used it for two years left tmobile got a hero with sprint, now i just bought the epic yesterday and gave my friend my rooted hero.

Having problems with this and i don't know why, it recognizes the phone fine run.bat works does it's thing and then when it wants to reconnect it says device not found. if tried a couple of times now and same thing. Is it just a problem with windows or am i actually missing something here?

this is what it tells me....

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

make it RW and move files

error device not found

set permission

err device not found
[Epic 4G Android Development] Firon:
Try 2.3.0. Also, reboot your phone before you try again.
[Epic 4G Android Development] Whosdaman:
Ty, I was looking for this
[Epic 4G Android Development] grimproductions:
Thanks worked
[Epic 4G Android Development] grimproductions:
Is installing the roms the same lol sorry I'm used to the htc boot loaders and having all heard buttons.... I got into the boot loader with a rom on the sd card (forget which one) hit flash from zip and it says not found?! Unless I have to still at a root folder on the card like with the hero? Not sure though but any suggestions are good.

(Feels like a noob for the little problems)
[Epic 4G Android Development] Osirus71:
ClockworkMod Recovery???

can someone point me to the steps/process of getting roms on this phone after rooting. I have successfully rooted using the 2.3(thanks Frion). Do I now need to install clockworkMod Recovery in order to get roms installed. And if so, what is the best way of doing this?? Thanks in advance for your help.
[Epic 4G Android Development] mrchedda:
Process Hangs on me

When I execute this process it hangs on me. I install the drivers. run the .bat file and this is what happens after. Any help would be much apprecaited. Thanks

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

firon

keep your phone awake during the process to improve success rate

Press any key to continue . . .

copy and run the exploit (may take 2 minutes)

adb server is out of date. killing...

* daemon started successfully *

97 KB/s (5392 bytes in 0.054s)

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

[*] 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.
[Epic 4G Android Development] gsalas:
i rooted using exploitv2.2.9 and it worked on my epic since i see superuser. the problem i have is that when i download rom manager and install clockworkmod 2.5.1.0from rom manager for my epic. then i proceed to backup current rom, i give it a name and tyhen reboots my phone to factory recovery and this is what i see:

android system recovery <2e>

samsung recovery utils

-for BML-

reboot system now

apply sdcard:update.zip

wipe data cache

wipe cache partition

insatll from package...

finding update package

opening update package

verifying update package

E:failed to verify whole file signature

E:signature verification failed

insatallation aborted

before i did the rom manager set up of clockworkmod, i tried installing it throughone.click.clockworkmod2.5.1.0-flasher-

any suggestions
[Epic 4G Android Development] luvjones305:
hi im new to the galaxy s comunity can you help me out pls!

hey im new to the samsung community i finally upgraded from my motorola droid an now i need help on my epic...i downloaded your things to my computer but every time i hook up my phone to the usb its say not detected on the black screen that pops up on my computer but i see its trying to root the phone but my phone is not detected an plus when i try to download the samsung drivers it keep saying ( samsung usb driver for mobile phones was not installed succesfully ) i even tried another one from the samsung website it did the same thing why is that i have windows xp 32-bit thanks for reading
[Epic 4G Android Development] littlepr:
I made the same mistake. Downloading rom manager to install clockworkmod on an epic doesn't work. You need to do it following the instructions found here:

http://xdaforums.com/showthread.php?t=782300&page=35
[Epic 4G Android Development] gsalas:
i quit cannot do it. i will just have to live with what i have. thanks anyway
[Epic 4G Android Development] littlepr:
If you are having issues on a desktop try usb ports on back of tower.
[Epic 4G Android Development] Firon:
Try 2.3.0. http://firon.net/xda/one.click.root.exploitv2.3.0.zip
[Epic 4G Android Development] konaman:
Ok I'm on my 3rd Epic and I only rooted the 2nd one now I'm trying to root my 3rd. I just updated to the newest DI18. Every time I do the 1 click method I get this:

C:/blahblahblah is not recognized as and internal or external command,

operable program or batch file.

The system cannot find the path specified.

Phone is not connected.

What do I need to do? I didn't have this problem on my last Epic it work flawlessly!

Thanks
[Epic 4G Android Development] Firon:
Can you post the full output? Without censoring the path.
[Epic 4G Android Development] konaman:
Yeah sorry I didn't think it was important it's:

C:/Users/Jamie
[Epic 4G Android Development] konaman:
Nevermind I got it. I kept the sd card from my old phone to the new one so it was showing that it's still rooted. I just reinstalled clockwork
[Epic 4G Android Development] drago009:
it says that no device was detected, any ideas? Thanks.
[Epic 4G Android Development] Firon:
You did -extract- the entire archive, right? :P

Make sure your drivers are installed correctly.
[Epic 4G Android Development] typeone8:
I got everything down but after the phone rebooted and verified that SU was in the applications area. When I went to download TB it states "unsuccessful download" now its for every application I tried downloading from the market.

I tried unrooting the phone but same thing. I can not delete SU from the phone either. Any thoughts?

Update: Nevermind I had to clear data the download data.

all works now
[Epic 4G Android Development] Osirus71:
Can someone please help me out with this question above. I have Rooted the phone(Superuser icon in app drawer) but can install in roms. I cant get into clockwork to be able to choose a rom to intstall. I am a Hero owner and have been rooted for months install all types of roms so i am not a noob but cant seem to get any help with this Epic 4g. Thanks in advance.
[Epic 4G Android Development] Firon:
You need to flash clockwork before you can flash another ROM.
[Epic 4G Android Development] amygo:
First off, I just wanted to thank you for taking the time to make rooting easier for everyone

I'm a mac user and don't have a windows pc as I gave it to my brother

and I'm very confused about the chmod instructions needed to get this rooting to work

Is there anyone who has successfully rooted their epic through their mac?
[Epic 4G Android Development] Firon:
Download the zip. Extract it somewhere, like on your desktop. Open that folder in Finder.

Open up terminal. Type 'chmod +x ' (without the quotes, and with a space after +x). Don't press enter yet.

Drag and drop "run.sh" from Finder onto your terminal. Then press enter. :P