yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] mrchedda:
"permission denied"

I am getting this permission denied error when running "run-try-first.bat" or "run-try-last.bat". Please see below. Any help is MUCH appreciated! Thanks in advance!!

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, Permission denied

rm failed for /system/recovery-from-boot.p, Permission denied

copy kernel and flasher

1702 KB/s (313888 bytes in 0.180s)

3599 KB/s (5820868 bytes in 1.579s)

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] DaEXfactoR:
I rooted using one-click root method originally. But before I flashed ClockworkMod Recovery, I rooted again using 2.3.2 – The rooted kernel and recovery method method. Remember, my phone was already rooted...think that could be causing a problem???

Thanks
[Epic 4G Android Development] Nucleartx:
Mine did this when I tried to recover from a rom i didn't like. Had to go all the way back and use odin to go back to di18 stock.
[Epic 4G Android Development] ylwsub68:
Ok, I followed these instructions and I got into ClockworkMod Recovery. First of all, THANK YOU. Second of all, none of my zip files show up when I go to "install zip from SD card." I only see all my folders. Suggestions?

EDIT: Like an idiot, I didn't realize the file list scrolls when you get to the bottom. Nevermind!
[Epic 4G Android Development] Osirus71:
How To Install Clockwork

Can anyone tell me how to install clockwork. I have just finished rooting with th quickroot method. I have Supersuer in app drawer and can install and use Wireless Tether so I know I am rooted and is working correctly. How do i install Clockwork now? The method below is very vague. Do I rename the ...date-fixed.zip to update.zip > place it in the root of the SD Card the boot into recovery and run it? The instructions on here are very vague. Any help is appreciated. Thanks

update.zip method:

1. boot into ClockworkMod Recovery

2. Apply : http://www.sdx-downloads.com/devs/no...date-fixed.zip
[Epic 4G Android Development] DRockstar:
No, that won't work... that update requires clockwork mod to be already installed. It was intended to be an update fix for those that had installed earlier versions of Clockwork Mod.

In the original post of this thread, the very first download link in the post is the one to download. I recommend the "run-try-last" version first because it's obvious you've not installed Clockwork Mod before. The "run-try-first" method works for those who already have a rooted kernel, which is not the same as the one click/simple root.

otherwise, I recommend reading the notes from my all in one, which gives really good info, and it's own clockwork mod installer:

Epic 4G All in One Root and Recovery for Windows, Intel Mac, and Linux

in the end, it doesn't matter whether you use noobnl's clockwork mod installer or mine, the results will be the same. I do recommend at least reading the notes on mine, so you get a better understanding... like uninstalling one click roots/simple roots before flashing kernels and roms with clockwork mod.

I felt compelled to help since I've become very, very familiar with both roots and recovery.

Hope this helps you out!
[Epic 4G Android Development] escalade99:
can anybody help me i rooted my phone and installed clockwork now my phone will only boot into recovery and no matter what i do thats all it will boot into
[Epic 4G Android Development] DRockstar:
Have you got this sorted yet? Usually posts like this stem from people not knowing the proper way of navigating the clockwork mod menu:

Vol up/down - up/down

Power button or back - back

Camera button - select/enter

Going back in the menu eventually presents an option to reboot the phone at the top of the menu, then just pressing the camera button does the trick.
[Epic 4G Android Development] JulieB42:
I also couldn't get the Bluetooth radio to turn on.

It worked after I flashed to the stock ROM. I rerooted and reinstalled Clockwork, checking BT every step of the way. It now works. And there was much rejoicing.

Thought I'd pass this along in hopes it might help someone else having the same issue.
[Epic 4G Android Development] Craigmier:
Thanks! Ill give it a shot. How does that kernal perform for u?
[Epic 4G Android Development] mikedeezy:
how come i cant access my usb in clockwork? i go to mount usb and nothing happens... any ideas?
[Epic 4G Android Development] spyteris:
I just rooted my Epic last night with the one-click exploit 2.2.9, and have confirmed it went through with Wireless Tether/TitaniumBackup. I also installed ROM Manager, and flashed ClockworkMod for "Samsung Epic." It now states that I have 2.5.1.0 recovery flashed in, but when I Reboot into Recovery, it takes me to stock recovery every time, with this appearing at the top:

Android system recovery <2e>

Samsung Recovery Utils

- for BML -

The update.zip automatically attempts to run from "package" and always aborts because it can't verify signature.

-- 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.

When I select "apply sdcard:update.zip" the same thing happens:

--Install from sdcard...

Finding update package...

Opening update package...

Verifying update package...

E: signature verification failed

Installation aborted.

Any help with this?? I tried replacing the update.zip in my root folder with the recovery-update.zip from the clockworkmod folder (which indicates that it should be flashed/installed?) and just renaming it update.zip, but that has given me the same results. I'm stuck.
[Epic 4G Android Development] Firon:
Turn your phone off and boot with the 3-finger salute (camera, voldown and power). Hold all 3 until you're in recovery.
[Epic 4G Android Development] spyteris:
Tried doing this, yes, but it still reboots to stock recovery. No Clockwork yet, no idea why though. It's been flashed from ROM Manager, so the app tells me (Current Recovery: ClockworkMod 2.5.1.0)

is there a manual way to fix this? I've been able to pick my way through some limited Linux/Mac prompts before, so I may could do it again if necessary..

PS- feel free to skype/email me any of this stuff, thanks
[Epic 4G Android Development] cobradude:
help on some questions

Two questions... 1. ever since I rooted my phone and installed clockworkmod .... anyone know what the following icon is in the notification bar? it looks like a cell phone with wavy lines on each side of it. Any help would be great... if you need a picture of it... let me know how to do a screen capture and I will... 2. anyone know why the boot to recovery mode within Rom Manager on the Epic doesn't work? I can get there by manually forcing it on reboot.... but not from within Rom Manager. Is this a known bug with the Epics?

Thx
[Epic 4G Android Development] spyteris:
cobra - I am having this issue also, but I'm not even having success with the Vol↓+Cam+power Boot. I'm thinking that we have to modify/replace our update.zip somehow, or some other recovery file that's not flashing properly or something.

To be honest, I've only followed/applied the work posted here by the other guys such as noob and Firon, as they're the ones who actually make this stuff happen..

Thanks for the help as always dudes
[Epic 4G Android Development] cobradude:
clockworkmod

spyteris,

I agree that booting into the new clockworkmod recovery from within Rom Manager fails everytime (error with signatures)... but when I manually do it from turning on the phone... (volume button, power, & camera button)... it works fine... no issues. I think Rom Manager just needs to support the epic phone. Have you installed any specific Roms or removed any stock apks?
[Epic 4G Android Development] cobradude:
question on ClockworkMod

sorry to post another noobie question... but what if I want to remove the ClockworkMod recovery console I flashed and go back to stock... is this possible to do or am I stuck with this new console? Would the phone go back to stock recovery mode console if I do a phone wipe and restore to stock?
[Epic 4G Android Development] jimmyz:
Look here

To summarize this thread allows you to access CWM through the 3 button push. IF you want to be able to use rom manager the kernel needs to support it- the stock kernel will NOT support rom manager booting into a custom recovery. Koush did make a modified stock kernel that supported rom manager but since the latest sprint update it is now out of date- thus you must use a custom kernel/rom!! Hope that helps and clears up some confusion.
[Epic 4G Android Development] cobradude:
question on ClockworkMod

just curious... If I decide to remove the clockworkmod recovery and go back to stock... is this possible and if so... how do you do it? Thanks
[Epic 4G Android Development] Zor Omega:
Ok so here is my question. I am rooted (verified through wireless tether and many others) my problem is when I boot into recovery its always the stock recovery. But here's the caveat... if I apply the update.zip that is in the root of my sd from he stock recovery it takes me to clockwrk recovery! Am I missing something here. I applied the clockwork via the epic all in one root and recovery. Is there a way I can get it to boot into clockwork the first time or am I stuck like tthis. I have tred it from within rom manager and the vol down, camera and power method. Thaks for any help you guys can give.
[Epic 4G Android Development] jnadke:
You mean the vibrate-only icon? Hit the volume up on the home screen and it should go away.
[Epic 4G Android Development] DRockstar:
If you can post the output from when you use the all in one clockworkmod script, I might be able to help you. I did post the method to boot into clockworkmod:

press and hold the camera button, then volume down button, then the power button, holding all 3 until the green clockwork mod menu appears, some seconds after the Samsung logo appears on the screen. volume up/down navigates up and down, power button goes back, and camera button is enter/select key.

unless there were adb errors when the all in one script ran, then it should have told you if the install failed or succeeded.
[Epic 4G Android Development] Zor Omega:
I didnt happen to write down the output when I did it. But the first time I tried it failed, then I ended up doing it again and it succeeded. When I boot into recovery that is the way I do it, just like you said (camera, vol down then power). I have tried different timings on the button combo but it always puts me into stock recovery. I can then get into clockwork via the update.zip. It's not really a big deal, I just wanted to make sure it's not going to harm my phone. I have access to all the functions of clockwork (I have wiped battery stats, made nandroids, applied .zip flashes and restored just to see if it worked) it all works fine. I just have to get into it a weird way. Is there a way to uninstall clockwork so I can try it again? Or do you think I'm fine the way it is?
[Epic 4G Android Development] DRockstar:
Chances are you'll be OK... one thing to note is that there is no harm in reflashing ClockworkMod over itself.

Some have asked how to remove ClockworkMod, what I have done in testing is flash the original ota di18 update, which reinstates the original Samsung recovery.

Maybe it'll help out somehow... this is the first time I've seen your symptoms.

If anyone else knows of any system or partiton changes that would alter the 3 finger boot, please let us know.
[Epic 4G Android Development] spyteris:
cobra- I have uninstalled Sprint NASCAR, Sprint TV, and I'm probably going to trying taking out the Media Hub Download Manager (somehow) and also Asphalt 5, and maybe Sprint Zone. Will removing apps cause the flashed Clockwork to never boot properly somehow??

jimmyz - that's interesting, I had no idea the Epic had to be modified before flashing Clockwork . . .. how would you do it?? Isn't it required in order to flash a new kernel/ROM ??

As always, thanks guys. This is my holdup before being able to do Bub's Wisdom, Epic Experience, or anything..
[Epic 4G Android Development] jimmyz:
Just to clarify- you can put the clockwork recovery in 2 places- start with the one in this thread that you can access via the 3 button push- then you can install a kernel that would allow you to use rom manager
[Epic 4G Android Development] Zor Omega:
Just wanted to say that I reflashed and now everything works the way it should. Boots right into clockwork recovery. Though I redid it on my windows XP machine, where before I was using windows 7. I think that was the problem. Does anyone know when a fix for the driver problem on windows 7 is coming out...or a workaround of some sort?

Thanks again DRockstar
[Epic 4G Android Development] ipaq3115:
Worked fine for me on windows 7, make sure you can run adb devices and see your phone there.

Question for everyone with CWM. When I go to wipe battery stats and select it there is no confirmation that it worked, it just goes back to the main screen. Is this normal or should there be some sort of message saying it worked? Any way to check to see if it worked?

Sent from my superphone using the XDA App
[Epic 4G Android Development] Zor Omega:
It did the same thing for me. But it still works. I actually did it twice just to make sure.

My netbook and laptop both of which ae windows 7 were having troubles installing the usb device drivers, the adb was working fine. But one I tried on xp, it took right away and there were no problems.
[Epic 4G Android Development] ipaq3115:
As far as I know, if adb works and can see the phone you shouldn't have any problems with the script taking to the phone. Strange.

Sent from my superphone using the XDA App
[Epic 4G Android Development] bondosho:
SD card is unmounted, and it just seems to hang here. I've reinstalled the appropriate drivers, phone is in debug mode, and I've power cycled the phone a couple times. Still no dice :(. Oh, phone rooted with oneclickroot.

*Edit* I got it to work *Edit*
[Epic 4G Android Development] lilredzmd:
Is there a ste-by-step tutorial on getting Clockwork Recovery onto my Epic 4G...Everytime I go threw the process of RunTryLast and RunTryFirst it gives me an error the Zimage fails..WHAT AM I DO WRONG!?! Please Help!
[Epic 4G Android Development] spyteris:
bondo - how did you finally get it to work??

I AM NEEDING SERIOUS HELP WITH MY EPIC, I have rooted it with OneClick and removed a few stock apps. I still have the DI07 baseband. ClockWork is not working for me, though ROM Manager says it's my current recovery. I've tried the 3-finger boot, and it still takes me to stock recovery every time.

WHAT DO I NEED TO DO? Should I do a DI18 stock recovery / root uninstall? Should I try a different Clockwork installer package/zip file? I feel that if I could just get CWM up and running, I could move forward with DI18/new kernel/new ROM updates. I'd like to backup my current ROM, install the DI18, re-root if necessary, and start re-building from there. OH, and I'm working on a Mac, NOT PC. Thanks!
[Epic 4G Android Development] panja7:
Same here :-/
[Epic 4G Android Development] Despiadado1:
I have never had success with RunTryFirst but I always run it first anyway. After it finishes I use RunTryLast and the process works every time. The only think that ever causes me problems is when I forget to enable USB Debugging first. If that is done and you run them in the right order then I suspect you have moment drivers conflicting or don't have the correct drivers installed for the device.
[Epic 4G Android Development] Bargsbeer:
I'm having the same problem.

It's gotta be something simple were missing.

UPDATE!!! I'm not 100% sure what I did but after several reboots and battery pulls and trying both RunFirst and TryLast I finally got it installed and working fine.
[Epic 4G Android Development] sauron0101:
I have the right drivers and I have ensured that it is USB debug. The Three Finger boot (volume down, camera, power) takes me to the stock booter each time.

What made the difference? Was it just random luck of the draw?
[Epic 4G Android Development] sauron0101:
Tried for hours; not working

Deleted see below.
[Epic 4G Android Development] sauron0101:
Sorry for hijacking this thread, but I managed to get it working.

Here are the step by step instructions:

1. Download the All in One. It seems to work better.

http://dl.dropbox.com/u/500010/epic.aio.v1.13.zip

2. Back up everything (I used Titanium Backup Paid)

3. Using it, flash Andromeda Kernel (that way you are rooted; not sure if this step is needed, but it may be). Edit: I had difficulties installing Clockwork with the stock kernel, so I tried with this kernel and succeeded. You need to be rooted I think so that may be why.

4. Go into the stock boot (after starting, hold power, volume down, and camera)

5. Clear the cache.

6. Then reset to factory (this is why you needed to back up)

7. Now connect to USB with phone, ensure that USB debugging is on, and that you've got the right drivers. Now in the all in one, choose option 3 0 install clockwork.

8. It worked for me - your phone will reset, but it won't boot properly.

9. Go into the clockwork booter, now reset back to factory (note that the camera is the select button in clockwork). You haven't lost anything - as you reset right before flashing anyways.

10. Once you have reset, you are free to go! You can go back into stock ROM with andromeda, or flash something else via clockwork. I am testing syndicate right now.

I hope that this works for everyone. Good luck.

Edit: This was also done on Windows 7 x64. It seems that there have been driver issues on Windows 7. Vista and XP seem to be immune. If you are using Snow Leopard or a Linux distro, I believe that the steps should be the same.
[Epic 4G Android Development] k0nane:
For what it's worth, my method is to Odin to stock DI18, download the One Click Clockwork flasher, turn on USB debugging, connect to PC, and use "run-try-last.bat". Works every time for me.
[Epic 4G Android Development] jeremiah.rs:
Do I have to install this in order to use custom roms?
[Epic 4G Android Development] Dorenda:
ok here is my issue im using a epic im rooted on my stock kernal when i attempt to install clockwork i get abd not recognized intenal and external. im using a 32 bit windows vista machine. it says wait 60 seconds then when u press any key it just closes out . please show what to download and instructions. cause im following all other instructions with no luck also debuggin is on and im not mounted. i did try mounted and unmounted as well please help thanks
[Epic 4G Android Development] Electrofreak:
You did extract the .zip file to a folder right? You're not trying to run the .bat from the zip?
[Epic 4G Android Development] Dorenda:
yes i did not sure whats going on with this very frustrated right now
[Epic 4G Android Development] shaolinmastr:
I'm getting a reboot: Operation Failed

Wait 60 seconds
[Epic 4G Android Development] gprimr1:
This is what I get when I do the "run-try-first.bat" file.
[Epic 4G Android Development] k0nane:
You need to be rooted to run "run-try-first.bat". Do "run-try-last.bat".
[Epic 4G Android Development] gprimr1:
I get this error when I do "run-try-last.bat"

Neither way is working for me.
[Epic 4G Android Development] gprimr1:
I am rooted.
[Epic 4G Android Development] gprimr1:
I confirmed I was rooted, and tried again on a different computer. It keeps giving me the error in my second post.

Seems there's a problem with the zimage file.
[Epic 4G Android Development] jonj1017:
Can't get the part to work after the reboot!! Help!!

I have figured out that the main cause for the errors on the try_last option is the sd card being automatically mounted once plugged into the USB. Manually unmounting the card I can get the first part of the install to work. However, every time it gets to the reboot my phone automatically mounts the sd card and the install errors out. Any ideas on how to solve this? Also my phone is DI18 and is rooted with the stock kernel and rom.
[Epic 4G Android Development] spyteris:
OK, I've read through the instructions from sauron... in step 3, "Using it, flash Andromeda kernel" - what is "it" ? I think I used to be better at this stuff a month ago than I am now, not following what is being said here.

k0nane - could you please email me a step-by-step of Odin-to-stock-DI18, One-click Clockwork, root, custom kernal (if needed), etc??? I'm using a Mac and have everything backed up via Titanium/Dropbox already, though I don't have a nandroid backup yet..
[Epic 4G Android Development] gprimr1:
Let's not loose focus on Clockwork not working.
[Epic 4G Android Development] sauron0101:
Use the all in one to do this.

The Andromeda Kernel is another one of noobnl's kernels. First, get rid of any one click rooting that you have (I think that it is option 2). Then install Andromeda (option 4 I think). I am not sure that this step is needed, but it does give you root privileges and it is a better kernel than the stock.

After that, install the Clockwork mod. I have no idea why, but I had difficulties installing Clockwork until I switched from stock kernel.
[Epic 4G Android Development] sauron0101:
I think that you probably do, although it may be possible to use ROM manager without Clockwork. Can we have a dev working with ROM Manager confirm?
[Epic 4G Android Development] sauron0101:
Are you using try first, try last, or the all in one?

First test them in that order. The try first and try last are in the sticky in the first page. The all in one is in the link I have in my instructions.

Post the error log onto the forum. (Select all from the console and copy it to the forum).
[Epic 4G Android Development] gprimr1:
Sauron, I posted pictures of the dos prompts of the errors I"m getting, they may be helpful.
[Epic 4G Android Development] ydoucare:
I have the same problem as gprimr1. Rooted with stock DI18

edit: Finally worked with try-last after the 3rd time
[Epic 4G Android Development] Tlowery88:
tried this 10x atleast and cannot get it to go through..idk whats going on.
[Epic 4G Android Development] sauron0101:
Link please.
[Epic 4G Android Development] sauron0101:
No assurance of success if you deviate.
[Epic 4G Android Development] edscholl:
Skip the batch files and just issue the commands w/in them yourself. Then mount / unmount the card as required, or just the copy files to different locations. Not one click, but you can more easily see what's happening at each step and deal with them appropriately.