yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] jimmyz:
are you seeing any errors during the script? try using the "trylast" script- make sure you don't see the "failed to rm..."
[Epic 4G Android Development] gergenhime:
I'm having the exact same issue he described. Both adb reboot and manual recovery boot take me to the default loader instead of clockwork and I can't figure out what if wrong. The try first does fail with an error message so I had to use the try last and it went through the entire thing no problem. I am currently rooted and obviously running stock rom/kernel....any suggestions?
[Epic 4G Android Development] regansocal:
The only way I was able to get this to work was as follows:

1. start with stock dg27

2. update to di07

3. install oneclick root 2.2.4

4. install oneclick clockworkmod recovery 2.5.0.9 build 32, compatible with di07

5. shut the phone off, use vol dn, camera, power to get into recovery at this point it should b clockwork

6. flash the clockworkmod recovery 2.5.1.0update.zip from clockowork recovery 2.5.0.9

If you use rom manager it will not boot to clockwork, quickboot also goes to stock recovery last time I checked, the only way to get to clockwork is with the vol dn, camera power from power off. If you have a previous back up you can then install the back up data through advanced restore and you are done.

I have not been able to get the oneclick to work for 2.5.1.0 only oneclick 2.5.0.9 build 32.
[Epic 4G Android Development] jeremyglass:
Can someone repost the build 32 link please.

Thanks
[Epic 4G Android Development] xXSecretAgentXx:
Ive flashed this new recovery and it works but rom manager tells me i still need to download clockwork. I guess my question is, will it screw up my phone if i download it and flash it straight from rom manager overwriting the current one or will i be ok? Thanks...
[Epic 4G Android Development] jimmyz:
Adb reboot recovery will always take you to the "stock recovery"- see the first post. When you say manual recovery you mean the 3 button push?
[Epic 4G Android Development] jimmyz:
Noobnls recovery goes to bml8 while rom manager will try to flash to bml7(you need a compatible kernel for this one)- you can have both- that is my actual setup
[Epic 4G Android Development] jeremyglass:
Build 32 link!!

Can someone repost the build 32 link please.

Thanks
[Epic 4G Android Development] mrv8killer:
i keep getting stuck in clockwork and cant do anything i reboot and goes straight to clockwork. i tried every one click root on here and nothing changes please help
[Epic 4G Android Development] mattallica76:
Did you try pulling the battery?
[Epic 4G Android Development] lrosado:
I am getting the "failed to em" errors. I have tried both tryfirst and trylast .bat files. Wont work. Any ideas?
[Epic 4G Android Development] jimmyz:
for the failed to rm errors- before running the script use adb to run the following:

adb shell
su
remount rw
exit
exit

then run the script

for more detailed directions see here
[Epic 4G Android Development] lrosado:
Thanks for the directions but unfortunately its still doesnt work. get the same errors. tried it three times
[Epic 4G Android Development] thrakkemarn:
Crap ... I am now having a major major problem.

Everytime I restart (including after a battery pull) the phone boots into Clockwork Recovery.

Any option I select (including Reboot System Now) causes me to go to a black screen from which the phone does nothing. My only recourse is to battery pull - which sends me right back into clockwork recovery.

After failing to get clockwork to work, I rerooted using the new version of the 1-click root 2.2.4. I then remounted system as rw. Then I installed the clockwork linked at the top of this forum. Upon using the 3-button reboot clockwork loaded... and I have been stuck in this loop since then.

Can anyone please help me?
[Epic 4G Android Development] regansocal:
Use the 1 key and power button to upload the stock dg27 .tar file via odin and start over. if you haven't done that yet just look for the bricked phone thread and follow the instructions to unbrick your phone then update to di07, reroot your phone and try installing the build 32 of clockwork then update to clockwork 2.5.1.0.
[Epic 4G Android Development] jimmyz:
Sorry if you know this already but are you using the right buttons?- the camera button is used for select (h key in older versions) the capacitive buttons just give you a black screen
[Epic 4G Android Development] :
im getting a crazy thing going on. seriously, ill flash a custom rom, let it reboot, flash back to recovery to do a backup, then unless i do a wipe or flash something else, the phone will reboot to airplane mode and the only way to fix it is to flash to stock with odin twice.

no lie, if i only flash it one time it will reboot back to airplane mode. its like the phone doesnt see a radio at all in my phone. i can do a restore but the phone wont do anything whatsoever. just airplane mode. i can wipe everything, flash different roms, do any restore on the face of the planet, but the only way to go back is to flash back with odin twice.

am i the only crazy person with this problem? cause i guess its berable as long as ive always got Odin with me, but its a pain in the face to have to flash back with odin several times a day just so i can have my freakin fix!
[Epic 4G Android Development] zetterwing:
Ok...I'm pretty new to all this but I have rooted, installed clockwork recovery and performed a backup successfully I think. I then installed Rom Manager to take advantage of what seems to be much easier rom flashing and recovery. Upon running RM I have to set a recovery and continue to flash the included Clockwork (again) and it seems to work. From there I try to boot into recovery and it goes to stock instead of clockwork. I can get to clockwork via the 3 button boot so I know its still there and working. I have run a backup through clockwork as well as one through titanium just after rooting. How do I get RM to boot the "now supported" clockwork recovery? and thus do a backup through RM? OR can someone point me towards a guide to do all this from root to custom rom and back?

Note: when it boots to stock recovery it gives an invalid signature error. Does this mean that the update.zip file that is now on the sd card isn't the actual one that came from the DI07 update? I thought I read somewhere to run the update.zip after flashing cwm from rom manager.

Update: Got it too work after flashing Mixup kernel. Went back into RM and selected Flash Clockworkmod and it instantly says successful. Click reboot into recovery and CWM comes up.
[Epic 4G Android Development] robl45:
okay, I've spent 45 minutes too long on this already, rooted with 1 click with no problems. but with this, no matter what I do, I run the try 1st or the try last and all it does is get the removing recovery patcher and just hangs. nothing else. I've plugged the phone in 60 different ways, to 60 different ports, it in adb debugging, anyone have any ideas?
[Epic 4G Android Development] II5StarII Swag:
Rom manager won't install a custom recovery it says an error occured while downloading your recovery.Any help please?
[Epic 4G Android Development] sultan.of.swing:
Use the camera button to make a selection. Use the volume rockers to go up or down.
[Epic 4G Android Development] robl45:
hey, i'm lucky if I can get my phone to mount to windows, apparently these are some piss poor windows 64bit drivers, im going to have to do this manually, I got the hang of adb, but the files that need to be pushed, where do i need to put them? do they go in the adb tools directory?
[Epic 4G Android Development] angelocua26:
noob question.. but this shows up when i try to install.. i tried runfirst file and still did the same thing

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)

* daemon not running. starting it now *

* daemon started successfully *

169 KB/s (5392 bytes in 0.031s)

3 KB/s (88 bytes in 0.022s)

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

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

* daemon not running. starting it now *

* daemon started successfully *

mount: Operation not permitted

rm failed for /system/etc/install-recovery.sh, Read-only file system

rm failed for /system/recovery-from-boot.p, Read-only file system

copy kernel and flasher

1393 KB/s (313888 bytes in 0.220s)

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

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

open device file: Permission denied

bmldevice_get_size: bmldevice_open failed!src: /sdcard/zImage

dst: /dev/block/bml8 partition size: 0x0

part_size: 0x0

reboot: Operation not permitted

wait 60 second
[Epic 4G Android Development] robl45:
I get this too, tried the thing mentioned about using adb and still get the same thing.
[Epic 4G Android Development] Valnomien:
thank you for the update great work
[Epic 4G Android Development] Shaundizzle:
THANK YOU.

JESUS EVERYWHERE NEEDS TO UPDATE THERE STUFF. I WAS USING THE OLD H AND OTHER BUTTONS.

and i accidentally forgot to wipe everything and forgot to make a backup cuz rom manager wasnt working for me.

i then flashed bakedsnack from sd card. am i gonna be alright?
[Epic 4G Android Development] SwimDrewid:
[Q]: from straight-up-willy out-of-the-box stock to this flavor of 1-click root, should I be able to reboot into recovery from Rom Manager?

I can by camera+Vol Down+Power. Able to make and restore a backup. But from Rom Manager, I cannot make a recovery...
[Epic 4G Android Development] jimmyz:
I believe you also need root for rom manager to work properly
[Epic 4G Android Development] jimmyz:
the problem is that your file system is read only- Did you recieve any errors when you tried to use the adb shell and the remount rw command?

I would try to manually remove /system/etc/install-recovery.sh using adb- if that works then the script should work.
[Epic 4G Android Development] SwimDrewid:
Yeah -- I have root. SuperUser and all that.

When I ADB in, i need to su to get superuser permissions. (I can't remember if i was superusered on the evo by default on the Evo...)

So, @jimmyz, are you able to reboot into recovery via Rom Manager? What kernel, rom are you running?

Me:

(stock)

D700.0.55.DI07

2.6.29 (stock kernel)

Build number:

SPH-D700 ECLAIR.Di07
[Epic 4G Android Development] jimmyz:
I think I know what is wrong- you cannot use the stock kernel- use this kernel here

otherwise my setup is identical to you and I can 3 button boot to CWM and use rom manager to get to CWM
[Epic 4G Android Development] sasha101:
It won't work for my phone :/
[Epic 4G Android Development] SwimDrewid:
Awesome! Exactly what I was looking for. Thanks!
[Epic 4G Android Development] dmlee:
So normally I just get:

remove stock recovery patcher

error: device not found

error: device not found

error: device not found

copy kernel and flasher

error: device not found

error: device not found

error: device not found

flashing kernel

error: device not found

wait 60 second

But once in a while I get the rm failed error, except it doesn't tell me it is because I don't have read only rights....it's because the files that need to be modified don't exist. Does anyone know what's up with that/how to fix it? I've literally spent about an 1.5 hours a day before I go to sleep for the past 4 days trying to figure it out, and I'm stuck...
[Epic 4G Android Development] jabbawalkee:
Same bull**** here. It's ****ing ridiculous and is half the reason why development on this phone doesn't really exist. I just got my Epic today (sold my Evo for it) and I'm HORRIBLY regretting this decision.
[Epic 4G Android Development] dmlee:
Do you think it would help to get copies of those two system subfolders from someone who made this work, and then just replace the ones in our phones? I feel like that would be an easy way to get around this missing file problem...if I can get mine to show the missing file problem again. I really don't understand why I can't get redbend to work. I think my computer recognizes my phone too slowly, and the autoscripts that got written don't give my computer enough time to say, ''hey...the phone is here."
[Epic 4G Android Development] dmlee:
Uberpinguin over at sdx is a god amongst men.

Click this link to the forum. His post is the last one on the page. Try it out. It worked for me...and as you can see I have been at this four many many hours. Nothing else worked. Hooray.

forum.sdx-developers.com/epic-development/clockworkmod-recovery-for-the-epic-4g!-build-20!-beta/75/?PHPSESSID=2iff5srfui05tkjvdo8nofr5j7

EDIT: I had to do the three button trick to get clockwork running, but it's up and i've just installed my first ROM. sweet.
[Epic 4G Android Development] dreamsforgotten:
Is this still going to work on the latest Maintenance release dl18 from Sprint on 9/30?
[Epic 4G Android Development] wto605:
I got it to work using the "try last" method (adb didn't have root on the try-first for some reason... I have to type "su" in the shell when I'm using adb)

I'm not exactly versed in kernel's though so I'm not sure if I'm running some sort of Frankenstein combination of kernel and ROM versions or not.
[Epic 4G Android Development] cholepuree1:
one click installer and Clockworkmod Recovery v2.5.1.0 made by noobnl, skeeters

lint, and koush

Press any key to continue . . .

remove stock recovery patcher

mount: Operation not permitted

rm failed for /system/etc/install-recovery.sh, Read-only file system

rm failed for /system/recovery-from-boot.p, Read-only file system

copy kernel and flasher

1634 KB/s (0 bytes in 313888.000s)

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

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

open device file: Permission denied

bmldevice_get_size: bmldevice_open failed!src: /sdcard/zImage

dst: /dev/block/bml8 partition size: 0x0

part_size: 0x0

reboot: Operation not permitted

wait 60 second

am i doing something wrong? I have USB debugging on and the SD card is unmounted...
[Epic 4G Android Development] Firon:
Use try-last and make sure your SD card is inserted AND not mounted on on your PC.
[Epic 4G Android Development] wto605:
I got this too... had to use "try-last.bat" which has ADB install it's own root exploit before going... I think the problem is the auto su
[Epic 4G Android Development] cholepuree1:
yeah, i couldnt figure it out... so I just reflashed to stock with odin, then used try-Last - and it worked.
[Epic 4G Android Development] nimaim:
I have the same question, when I flashed Firon's DI18 update (the entire kernel), it replaced CWM so I assume I need to install CWM again manually. Is this still compatible with the new update?
[Epic 4G Android Development] mattallica76:
I installed it and have used it without issue so far.
[Epic 4G Android Development] Firon:
It does not replace your CWM. However, stock kernels can't use ROM manager, so you can only boot into clockwork by powering off and holding vol down + camera + power.
[Epic 4G Android Development] smallheadz:
I am on stock kernal. Last worked I can boot to clockwork fine and did a nand backup. I never did flash the andro kernal. Rooted with oneclick. Ran the flasher . Did first, booted to stock recovery, did last and booted to Clockwork. IDK if anyone else has this but it worked for me.

I can boot with the 3 button method not thru rom manager.
[Epic 4G Android Development] akei1:
That was my exact case too.

Thanks guys.
[Epic 4G Android Development] jirafabo:
Not trying to ruffle any feathers but just asking out of curiosity...

Is anyone working on fixing the recovery so it's working correctly, as in, can get to it by all recovery entry methods (buttons, ROM manager, Quickboot)?

Feels kinda fishy to have to jump through hoops to get into clockwork recovery, especially when it says FINAL in the title.

I use the recovery and will continue to, I just check back every day looking for a fix.
[Epic 4G Android Development] WhiteRasta:
I am rooted with the one click 2.2.5 no problems , installed rom manager to flash this bakedsnack rom and everytime i try to boot into clockworks it takes me to samsung recovery and says

install from package

finding update package

opening update package

verifying update package

E:failed to verify whole-file signature

E:signature verification failed

Installation aborted .

Please help ... thank you .
[Epic 4G Android Development] baconjuice:
yup same issue with me. blah. i'm going to try the step the other person did a few post ago...
[Epic 4G Android Development] II5StarII Swag:
go into rom manager select "flash clockwork recovery" then "epic" redo 3 times then reboot without going into recovery power off then try and go into recovery
[Epic 4G Android Development] jimmyz:
Do you have a kernel that supports rom manager? Otherwise it will not work! see post #301

another option in to use the 3 button method to get to CWM- then flash a compatible kernel (baked etc) then rom manager will work
[Epic 4G Android Development] Whosdaman:
Does this still work with the new di18 kkernel?
[Epic 4G Android Development] baconjuice:
I tried putting the zimage file in the one.click, but still no luck. I have the di18 kernal. I just need to read up on it more and give it another try. but thx for trying. oh and the 3 button takes me to the stock recovery. I'm prolly doing something stupid like didn't change the name of the file...
[Epic 4G Android Development] churro7:
sweet it worked

but how to uninstall just in case?
[Epic 4G Android Development] icantdrawanime:
This no longer seems to work with the DI18 update...
[Epic 4G Android Development] Flak:
Have a new EPIC that has been updated to DI18. It is rooted (took many many tries), as I can get to # with ADB and have manually removed a couple pieces of sprint bloat.

However, when try to get clockwork to install I get this error everytime:

Here is the error from run-try-last
[Epic 4G Android Development] jimmyz:
I have mine working on dI18
[Epic 4G Android Development] jimmyz:
2 choices- try the "run last bat" or try the first one but run the below first:

adb shell
su
remount rw
[Epic 4G Android Development] jimmyz:
use the one click in the first post to install clockwork recovery- you can then access it via the 3 button
[Epic 4G Android Development] DevinXtreme:
Before running the run.bat, use this command:

adb shell remount rw

That *should* get the ball moving.
[Epic 4G Android Development] Flak:
I did:

And got the same errors as posted above.
[Epic 4G Android Development] jimmyz:
Flak- did you try the runlast.bat script?
[Epic 4G Android Development] baconjuice:
k, not quite sure what I did. but it took! Just got done making my backup
[Epic 4G Android Development] Flak:
Yes and I get the second error pictures in my post (I did add it a little later).
[Epic 4G Android Development] jimmyz:
What I would try next would be to manually enter the lines from the script one by one from the adb shell
[Epic 4G Android Development] Flak:
Running it manually it goes successfully until the last two lines

adb shell rm /data/local/tmp/rageagainstthecage-arm5.bin

adb shell rm /data/local/root.sh

These two it says it can't find:

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

rm failed for /data/local/root.sh, No such file or directory exists
[Epic 4G Android Development] jimmyz:
Did it work- can you get CKM via the 3 button push? I am worried that if it can't remove those files they were never placed there in the first place
[Epic 4G Android Development] Flak:
Didn't mean to leave you hanging in anticipation ;) I could have swore I replied, guess not.

Yes I can get to CKM via the 3 button push and have successfully been trying different roms.

Not sure why the bat files didn't work, but entering it all manually seemed to have done the trick.
[Epic 4G Android Development] jimmyz:
great to hear!
[Epic 4G Android Development] jhormaze:
Im trying to install this as well and i keep getting the error message but i do have the new DI18 update installed. .. can anyone help?
[Epic 4G Android Development] jimmyz:
what error message?
[Epic 4G Android Development] jhormaze:
idk what i did now, now the phone is bricked im guessing because its stuck at a black screen and just the led lights are showing, do you have AIM or YIM to help me out ? :)
[Epic 4G Android Development] silentshab:
If you are in the recovery and press one of the capacitive buttons the screen will go black like that. If I remember correctly, pressing it again brings it back. Use the volume up/down keys to move the cursor and press the camera button to select.
[Epic 4G Android Development] bryanfritz1:
Just to make sure before I flash a rom but the backup feature of clockwork will restore with a complete backup that I created correct ?

blasted across the interwebs by the Epic 4g!
[Epic 4G Android Development] tstack77:
I need to reiterate this, been stuck for the last hour trying to break in without having to post something dumb.

Thanks again xda!
[Epic 4G Android Development] mikesal57:
The Link on 32 bit drivers on page 1 is incorrect...

Does anyone have the correct drivers for XP 32 bit?

thxs

forget it found fix..trying now
[Epic 4G Android Development] mikesal57:
damn..I decided to root this and I cant get past installing drivers

I have 32 bit xp and when I extract and click install app..it says

pls help
[Epic 4G Android Development] holeinone1968:
Fix brick

I had the exact same thing happen to me. I was able to fix the issue by following the steps from the "[How To] Return to Stock / Fix Bricked Epic" thread. My only advice is do not download the stock rom from that post. Grab the DI18 rom from the "*OFFICIAL* SPH-D700-DI18-8Gb-REL.tar.md5" thread. I tried posting the links instead, but because I am a noob it would not let me. All credit goes to the poster of those two threads (Whosdaman)

Big thanks to Whosdaman for helping me as well.
[Epic 4G Android Development] spitefulrain:
Ok, can anyone help me get this installed via 1-click? With the 2.5.1.0 version, it never works for me. the run first or last. So ive had to run the 2.5.0.9 then use the update.zip version. Which is a hassle considering i flash back to stock almost every day to try something new, or fix something. So any help anyone?
[Epic 4G Android Development] Demianwulf:
looking for some advice sorry for the double post...installed clockworkmod successfully and i can boot into it but right after installing the update and trying to power up phone keeps booting into airplane mode and not connecting to network. i cant get to the marketplace or dial out so no rom manager or phone calls...any ideas?

Nevermind flashed back to stock with odin and rerooted and applied clockwork mod...now working fine again....for now.
[Epic 4G Android Development] jirafabo:
Man I HATE the 3 button method of booting into Clockwork. It seems like that if you press the power button for one milisecond longer than you are supposed to, you get a regular boot. It sometimes takes me 5 times just to get into recovery.

I hold down camera button, hold down volume button, press power until it boots on. Am I doing something wrong? Sometimes, when I just press power (with the other two held down) and release it, it does nothing. Why's it such a pain in the ass?

I'm about to install a new rom and kernel, so that means that Rom manager will boot into clockwork now right?