yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] formula84:
If I flash to stock using ODIN, is there a way to get clockwork installed without installing this root method first? The custom roms, kernels and the froyo leak are pre-rooted.

Current Setup History Below:

So I had the stock rom DI18, rooted using the one click 2.2.9 then clockwork 2.5.1 back when I got the phone.

Since I have tried many different roms and kernels, last I was on Sai. I never removed the original root though as I was not aware you should do this when flashing custom roms, but i never had problems.

I was going to flash the new Froyo leak and wanted to make sure I got rid of the joeykrim root still on my phone.

I tried the uninstaller, when I have the phone plugged in in developer mode and run the BAT file on my Win 7 x64 UAC disabled the command prompt sat for a long time +4 min and did not do anything, closed it and killed ADB from task manager. Attempted to run again and got device not found when it was running through everything.

Attempted to reboot the Phone and PC disabled all AV and ran again this time it locked the phone.

Rebooted the phone and PC again, ran a third time got to the same point and look stuck but the phone rebooted into blue stock loader screen. Then the script ran through again with device not found.

Rebooted the phone and everything was ok. At this point I gave up.

Booted into Clockwork wiped everything 3x and flashed the Froyo Leak and everything is loaded ok, but I still want to know how to remove the Joeykrim root.... can anyone else offer me some advice....is this even necessary? I heard having this root and flashing custom roms will cause problems.
[Epic 4G Android Development] ipaq3115:
The best way to make sure you don't have it is to never use the oneclick. For example; Odin then flash the recovery then flash the froyo leak... and don't forget to back up :D
[Epic 4G Android Development] Top Nurse:
I have been having some weird results in getting CWM to work. From the output text below it seems to be working and I can see a CWM folder in my SDCARD file. However, I have real difficulty in getting the CWM to come up during a power up. It only seems to work (using volume down + camera button => then power up. I let go of the buttons when I see the samsungmobile.com logo) occasionally and I don't see that I'm do anything different.

I have been able to make backups, but after the try with A2SD with Baked-Snack 1.6, I can't even get in to CWM. I used ODIN to flash back to stock, rooted, and installed ROM Manager. Is my phone just one of those screwed ones out of the factory? This randomness of getting into CWM at boot is driving me crazy! :mad:

Been thinking of dumping the Epic and getting an EVO. :(

one click installer and Clockworkmod Recovery v2.5.1.0 made by noobnl, skeetersl
int, and koush
Press any key to continue . . .
copy and run the exploit (may take 2 minutes)
168 KB/s (5392 bytes in 0.031s)
5 KB/s (88 bytes in 0.015s)
[*] 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 2210
[*] 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.

remove stock recovery patcher
rm failed for /system/etc/install-recovery.sh, No such file or directory
rm failed for /system/recovery-from-boot.p, No such file or directory
copy kernel and flasher
2183 KB/s (313888 bytes in 0.140s)
5877 KB/s (5820868 bytes in 0.967s)
flashing kernel
RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
lcd_init(498): start!
lcd_init(507): fb0 open success
lcd_init(514): width = 480, height = 800
page_msize: 4096, phy_unit_size: 262144
src: /sdcard/zImage
dst: /dev/block/bml8 partition size: 0x780000
part_size: 0x780000
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 53700 bytes
read finished
wait 60 second
cleanup
done
Press any key to continue . . .
[Epic 4G Android Development] noobnl:
it flashed fine and you cannot use rom manager..

use the 3 button to boot recovery
[Epic 4G Android Development] sony3127:
noob needs help pleaes

Ok first, I'm completely new to Android phones and hacking. I have rooted the phone successfully, and my goal is to get froyo running on my Epic 4G. I downloaded Clockworkmod from this thread and ran it... but I don't even know if it worked. And if it did, now what do I do???
[Epic 4G Android Development] hayabusa1300cc:
if you can not root, pm me your email and I have something that will cure you
[Epic 4G Android Development] Top Nurse:
Saw what my misteak was from another thread. All three buttons need to be held down till it boots into CWM. There is way to many people shooting off their mouths on the internet that don't know what they are talking about. Glad I came here to XDA and thanks for your good work on the Andromeda rom and kernel! :D
[Epic 4G Android Development] thedarkness81:
My computer won't recognize my device no matter what I do. Is there any way to do the recovery install from the sd?
[Epic 4G Android Development] thedarkness81:
After a few very frustrating days and replacing my Epic, I finally got recovery installed on my phone. Long story short, I have a Macbook Pro that came out this year. I tried on both OSX and XP sp3 and couldn't get the device to connect in debugging mode. Went to my girlfriend's 3 year old gateway running Vista and it worked. For some reason, this computer won't correctly find the Epic. Hope this helps any other Macbook Pro users.
[Epic 4G Android Development] joeyscar:
cant nandroid on my epic4g
[Epic 4G Android Development] thedarkness81:
it can't be installed successfully through clockwork, it has to be done through the command terminal like its detailed on page one of this thread. As I found out the hard way, the computer you use makes a huge difference on it working or not.
[Epic 4G Android Development] pachina:
help

every time i try and go into the recovery it says

E:Failed to verify whole-file signature

E:signature verification failed

installation aborted
[Epic 4G Android Development] GXnext:
If you install clockwork on your stock epic, how do you remove it so that your "stock" again? I'm not rooted or anything else... only put clockwork mod on so I could install the mobileAP.

Sent from my Epic 4g
[Epic 4G Android Development] NYYFan325:
As far as I know there is no uninstaller, if you use ODIN to flash the stock DI18 TAR file that put you back to stock recovery and and all
[Epic 4G Android Development] GXnext:
Ok thank you, ill try to learn how to do that in time for the froyo update because knowing me I'll want to update right away. so I guess when i know the update is out ill do that to go back to stock so i can update. then wait for some update to allow mobileAP again. ugh because it won't be safe to just do the over the air update the way it is now right?
[Epic 4G Android Development] dvargas72:
I have tried this root and it seems to work fine for a minute then the error I receive is:

Failed to copy 'zImage' to '/sdcard/zImage': Permission denied

Any tips????
[Epic 4G Android Development] Beezer80:
So let me get this straight. I can flash clockwork mod via SD? Just grab the update.zip and boot into stock recovery and flash the update?
[Epic 4G Android Development] d0cx:
seems to work for me. i booted into CWM using the Vol-Down + Camera keys and then power on. will keep testing.
[Epic 4G Android Development] webs05:
No Rom Manager threw me off. Using the vol dwn + cam on power up worked for me too.

I did the root and installed clockworkmod from stock. It worked, I just didn't realize it.
[Epic 4G Android Development] igoth76:
Hey guys,

Small issue going here. I just installed ROM manager today and am experiencing some oddities. Version of rom manager according to the market is 3.0.1.4

When I start ROM manager, it tells me a newer version of clockwork is available, so I say to update. The process begins to start, yet no progress ever shows, it's as if nothing seems to happen, and then I get a message it's done.

Then I boot into CWM, thinking I have a 3.0 so that I may flash a rom which "requires" 3.0 for the ext4 conversion, and I see it's only 2.5.1.0.

Despite the obvious, how do i actually get to 3.0.X.X?, I would like to ask if there is a way (and please point in me in the manner of directions not asking for a hand held walkthrough :) ) for me to install a different version of CWM without using ROM manager?
[Epic 4G Android Development] om3ga1582:
Rom Manager does not work with the Epic.
[Epic 4G Android Development] LSanna1488:
CWM 2.5.1.0 is for rfs system, as 3.0+ is for ext4 system. Youll need a kernel that supports ext4 or a dual kernel (rfs/ext4) to run cwm 3.0+.
[Epic 4G Android Development] ssconceptz:
Does this method work with the EC05?
[Epic 4G Android Development] MДЯCЦSДИT:
Woah. This is OLD. Use the 1click root and cwm2 for RFS
[Epic 4G Android Development] jmshark:
one.click.clockworkmod2.5.1.0-flasher-fixed.zip link doesn't exist

2. Apply : http://www.sdx-downloads.com/devs/no...date-fixed.zip

doesn't work either

Can anyone give me the update link thank you!!
[Epic 4G Android Development] rocket321:
CWM 3.1.0.1 is the current (and best) version to install. 3.1.0.1 supports Rom Manager and both RFS and ext4. Look in the Dev section and you will find it.

Edit: here's the link: http://xdaforums.com/showthread.php?t=1115999
[Epic 4G Android Development] kaokollaa:
i install it but when i try to go into the recovery

it goes to the stock samsung recovery please help
[Epic 4G Android Development] mattallica76:
don't use quickboot or ROM manager, Turn off the phone, then hold down volume down, camera, and power.
[Epic 4G Android Development] kaokollaa:
i try that too and its the same it goes to the stock rec :(
[Epic 4G Android Development] kaokollaa:
it says

wait 60 sec then my phone boot up and says

clean up

done

press any key to continue.............

and i turn off the phone press vol down camera and power and again it goes to the stock recovery :confused::confused::confused::confused:

did i miss something??? help
[Epic 4G Android Development] infamousjax:
make sure your sd card isn't mounted
[Epic 4G Android Development] kaokollaa:
what you mean pull it out and the try again??
[Epic 4G Android Development] johncjenc:
Lol!!!
[Epic 4G Android Development] kaokollaa:
ahhhhhhhhhhhhhh im trying this the whole day every thing and dont work :(( please anyone helppp
[Epic 4G Android Development] Zei:
Will test now :D

Not looking forward to CM6 tho
[Epic 4G Android Development] wjohnson1186:
You have to hold the volume down, camera, and power all at the same time. You must keep them held down.
[Epic 4G Android Development] mrkrabs:
With clockworkmod working now...will it be possble fo someon to release a froyo rom for the epic even before sprint releases it?
[Epic 4G Android Development] BeerChameleon:
Good Question!!!

I would like to know this as well?
[Epic 4G Android Development] :
only thing i can say is once it finally went through, process was simple.

i did have a few problems with the automated process, but once it went through it was seamless.

it did however freeze up alot during the process. after several attempts, i eventually figured out that if you run it the first time up to the portion that has:

*asdfasdf

*asdfasdf

*asdfasdf

*sadfasdf

*soemthing about adb sever will have to be reset

unplug and powercycle the phone then try it again. that seemed to work for me.
[Epic 4G Android Development] TX2000:
Woot Got it working.. had to doing on another computer because windows 7 64 was acting up.

Backed up abd restores without a problem!
[Epic 4G Android Development] :
i doubt this will happen except for a cyanogen rom. most froyo roms require drivers for the particular hardware that are different with each phone. give or take, making a froyo rom is much much to much work. and from what i heard, the other galaxy phones are higher up the ladder for a CM release cause they came out first.
[Epic 4G Android Development] BeerChameleon:
Oh i see. Well Supposedly October is going to be when froyo comes out for the epic. At least according to a sprint sales consultant. So we will have them by then.
[Epic 4G Android Development] done12many2:
Worked like a charm. Thanks!
[Epic 4G Android Development] flyers2114:
Thank you!

Works great now lets find some custom roms!!! Nice work boys!!
[Epic 4G Android Development] guruleenyc:
Worked for me after a few adb reconnects, reboots and kill-server cmds.
[Epic 4G Android Development] mike357:
Nice...I just entered the Android community about a week ago with the Epic and this was one of the reasons why...this and the one-click rooting went through with little trouble...looking forward to the ROMs!
[Epic 4G Android Development] sdotA85:
I keep getting device is offline message..Any help is greatly appreciated.
[Epic 4G Android Development] sdotk:
***PLEASE HELP!*** WHAT AM I DOING WRONG? HOURS SPENT ON THIS! ONE CLICK NEVER HAS WORKED FOR ME. I HAD TO MANUALLY ROOT THE PHONE USING ADB BECAUSE THE ONE CLICK ROOT WOULDNT WORK. NOW I HAVE A ONE CLICK PROBLEM AGAIN WITH THIS RECOVERY IMAGE....I NEVER HAD A PROBLEM WITH MY NEXUS ONE. HERE IS THE ERRORS IM GETTING...ANY HELP WOULD BE GREATLY APPRECIATED.

one click installer and Clockworkmod Recovery v2.5.0.9 build v0.1 made by noobnl

Press any key to continue . . .

copy and run the exploit (may take 2 minutes)

* 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/tmp/rageagainstthecage-arm5.bin: No such file or dir

ectory

cannot stat 'root.sh': No such file or directory

Unable to chmod /data/local/root.sh: No such file or directory

/data/local/root.sh: not found

copy kernel and flasher

cannot stat 'redbend_ua': No such file or directory

Unable to chmod /data/local/redbend_ua: No such file or directory

cannot stat 'zImage': No such file or directory

flashing kernel

/data/local/redbend_ua: not found

wait 60 second

cleanup

rm failed for /data/local/redbend_ua, No such file or directory

rm failed for /sdcard/zImage, No such file or directory

rm failed for /data/local/tmp/rageagainstthecage-arm5.bin, No such file or direc

tory

rm failed for /data/local/root.sh, No such file or directory

done

Press any key to continue . . .
[Epic 4G Android Development] mackaikai:
works! have to keep on manually unmounting my SD card from inside my phone. Did a NANDROID back-up, thanks to SDX and XDA!!
[Epic 4G Android Development] OShocke:
Is your SD Card mounted? I was getting same issues then I mounted SD Card.
[Epic 4G Android Development] pumacat311:
I was able to get everything done exactly as said. Flashed kernel and such, and reset adb and phone. But when I try to go to recovery i only get the samsung recovery no matter which way i try. I hold down the three buttons as stated all at the same time and the samsung recovery comes up.I have re run the run.bat file three times now thinking eventually i would be able to get in to clockwork.. Any suggestions please..
[Epic 4G Android Development] xcolt45:
mac

how would you go about doing the clockwork recovery with a mac???

I've been trying to do it manually but am failing miserably....

I have the other recovery.. joeykrim-root or whichever one it is and I want one that has a recovery....

any help?

BTW i'm not even sure if my explanation makes any since...

EDIT:

Figured it out
[Epic 4G Android Development] rufflez2010:
Yeah, doesn't seem to be installing for you. Do you know how to flash a recovery manually? Might want to try that now.

1. Place recovery in the tools folder of the sdk

2. Load up terminal or command prompt

3. Send the card to the sd card using adb push

4. Mount the /system directory

5. Flash_image recovery recoveryname

6. Exit (type it in)

7. Adb reboot recovery

Try that and ask if you get stuck somewhere
[Epic 4G Android Development] xcolt45:
nandroid backup

Tried to do a nandroid backup....

get this..

"ClockworkMod Recovery v2.5.0.4

Sd Card Space free: 15052MB

Backing up system..."

It's been stuck there for 5 minutes... does it take that long or is it failing at the backup? What can I do?

EDIT: God I'm a genius... not really just used redbend_ua: Successfully flashed ClockworkMod! build 2 and changed up all the filenames and forgot to change update2.zip --> rageagainstthecagearm5.bin .... just renamed it to update2.zip and got everything to work...

I should probably try everything before I post... Sorry for this
[Epic 4G Android Development] noobnl:
build 30 is here!
[Epic 4G Android Development] M@XLOL:
whats the difference?
[Epic 4G Android Development] lv2bll:
unmount system works correctly now
[Epic 4G Android Development] rjmjr69:
Suppose we just reflash?

Anything other than system remounting properly, fixed or updated?

Thanks again for your hard work noobl and every one else

Installed over previous version without and issue.
[Epic 4G Android Development] M@XLOL:
You leave me no choice installing windows tomorrow
[Epic 4G Android Development] plmiller0905:
How long is it suppose to take for the phone to reboot? I've tried 3 times so far and each time the phone sits for over 5 minutes and nothing

Can someone please tell me what I'm doing wrong? I tried again and weither it don't complete or I get message that device is not found....this is pissing me off....
[Epic 4G Android Development] guruleenyc:
Sounds like you have an adb comm. issue. Ensure samsung drivers are installed correctly and you do a adb kill-server before reattempting.
[Epic 4G Android Development] sdotk:
No my sdcard is not mounted...do i need to mount it, because i've tried it both ways and still no dice :'(
[Epic 4G Android Development] plmiller0905:
I was able to get "1-click clockwork recovery (build 20)" working when that got released the other day but i can't get this one to work.

Should uninstall the Samsung Drivers again and reinstall them? Maybe I'm having problems because I have the Clockwork Build 20 on my phone...I don't but everytime I attempt this, it either just hangs at the part that says don't press anything or goes all the way throuh and says no device found

How long should the process take to complete after you start it?
[Epic 4G Android Development] Fixter:
Try changing the USB cables.
[Epic 4G Android Development] kaze00:
No need to really do that, if you replace the ping lines in the batch file, everything else pretty much can run in the shell of linux or osx. You just need ADB from the sdk.
[Epic 4G Android Development] odub303:
This is fantastic. The phone has been out for two weeks and we already have a working recovery and custom roms. I have a feeling I will NOT be sorry I left webOS land for Android land :).

On a side note, any ideas on when this will be flashable from within ROM Manager?
[Epic 4G Android Development] plmiller0905:
I finally got it. I uninstalled then reinstalled the drivers and it took on the first try.
[Epic 4G Android Development] legacydevice:
Took some reinstalling drivers and rebooting, etc, despite the fact that adb otherwise works fine, but I finally got it to go. I'm in the process of making my first backup now.

Thanks noobnl! :cool:
[Epic 4G Android Development] bobdude5:
it keeps rebooting me to the normal recovery :mad: i tried reinstalling the drivers..rerooting and doing it again and still no go
[Epic 4G Android Development] krazyflipj:
So how did you get this installed on a mac?
[Epic 4G Android Development] Whosdaman:
Good job noobnl, you da man ;)
[Epic 4G Android Development] fireboy6275:
Yes would LOVE to know how, I also am using a mac and was waiting patiently for a how to. :)
[Epic 4G Android Development] bobdude5:
her you go i just opened the run.bat file with text edit and copied pasted each line

extract the files to the tools folder of your sdk..or if you added the path for adb to your bash_profile then just cd to folder where you extracted then

then

adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin
adb shell chmod 755 /data/local/tmp/rageagainstthecage-arm5.bin
adb push root.sh /data/local/root.sh
adb shell chmod 755 /data/local/root.sh
adb shell /data/local/root.sh

wait

adb push redbend_ua /data/local
adb shell chmod 755 /data/local/redbend_ua
adb push zImage /sdcard

adb shell /data/local/redbend_ua restore /sdcard/zImage /dev/block/bml8

wait

adb shell rm /data/local/redbend_ua
adb shell rm /sdcard/zImage
adb shell rm /data/local/tmp/rageagainstthecage-arm5.bin
adb shell rm /data/local/root.sh

after that turn off your phone and hold camera volume down and power. If the stock recovery comes up then flash the andromeda kernel and try it again
[Epic 4G Android Development] krazyflipj:
Nevermind i figured out the kernel part but after doing all these steps, I still get normal recovery.
[Epic 4G Android Development] richse:
Why are the drivers for the 32 bit and the 64 bit the same file? They both say 64bit. Could someone post the 32 bit drivers because the only other links I can find are broken. Thanks!
[Epic 4G Android Development] mackaikai:
flash the beta 30 over 20, had to reinstall driver though before it would go thru.

thanks OP!!
[Epic 4G Android Development] sdotA85:
error msg..............any help?

one click installer and Clockworkmod Recovery v2.5.0.9 build v0.1 made by no

Press any key to continue . . .

copy and run the exploit (may take 2 minutes)

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

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

ectory

cannot stat 'root.sh': No such file or directory

Unable to chmod /data/local/root.sh: No such file or directory

/data/local/root.sh: not found

copy kernel and flasher

cannot stat 'redbend_ua': No such file or directory

Unable to chmod /data/local/redbend_ua: No such file or directory

cannot stat 'zImage': No such file or directory

flashing kernel

/data/local/redbend_ua: not found

wait 60 second
[Epic 4G Android Development] gdbassett:
I have had the same issue many others have had. Followed the 1-click and received no errors, however will only boot into stock recovery (regardless of what is pushed when and what is mounted where). I tried running the commands in run.bat individually but still no joy.

Is there any way I or the others having this problem could collect some data for the developers to help them diagnose the issue?
[Epic 4G Android Development] Firon:
noobnl copied the link wrong :P

32-bit drivers: http://firon.net/xda/SAMSUNG_USB_Driver_for_Mobile_Phones_x86.exe
[Epic 4G Android Development] bobdude5:
flash the andromeda kernel and then redo the steps
[Epic 4G Android Development] krazyflipj:
I give up!!!! I tried several times and I can't seem to get it to work. Here is what shows when I flash the kernel. Is this correct?

# /data/local/redbend_ua restore /sdcard/zImage /dev/block/bml8
RedBend Update Agent 6,1,14,1

FOTA : Make Block Device Nodes
lcd_init(498): start!
lcd_init(507): fb0 open success
lcd_init(514): width = 480, height = 800
page_msize: 4096, phy_unit_size: 262144
src: /sdcard/zImage
dst: /dev/block/bml8 partition size: 0x780000
part_size: 0x780000
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 262144 bytes
read 157084 bytes
read finished