yashsingh1/xdaforums huggingface dataset:
[Wildfire Android Development] metapolis:
Hi, without mounting, this error appears using "flash_image recovery /sdcard/recovery.img":

/data # flash_image recovery /sdcard/recovery.img

failed with error: -1

error opening /sdcard/recovery.img/data #

I mount the sdcard, I can see the recovery.img. With "flash_image recovery /sdcard/recovery.img" this error appears:

/data # flash_image recovery /sdcard/recovery.img

flashing recovery from /sdcard/recovery.img

mtd: erase failure at 0x00000000 (I/O error)

mtd: erase failure at 0x00000000 (I/O error)

mtd: skipping write block at 0x00000000

mtd: erase failure at 0x00020000 (I/O error)

mtd: erase failure at 0x00020000 (I/O error)

mtd: skipping write block at 0x00020000

mtd: erase failure at 0x00400000 (I/O error)

mtd: skipping write block at 0x00400000

failed with error: -1

error writing recovery~ #
[Wildfire Android Development] keyra74:
sorry forgot to say, you have to type this in terminal emulator or else direct on phone
[Wildfire Android Development] zyonee:
You need to flash cm7 in recovery in order to boot up your phone properly. flash_image will only work when your phone is booted up properly, not in recovery. If using a terminal emulator app, make sure to type su and press enter before flash_image.
[Wildfire Android Development] metapolis:
Hi, can you specify the procedure? I am happy now to have access via adb to my phone. Now, how can I type this directly on the phone? And how can I do it by terminal emulator? What is this "terminal emulator"? Do I have to install it? What kind of emulator is it, where do I find it, etc...?

And how can I flash cm7 in recovery when I always receive the failure "Can´t mount /sdcard/..."?

Thanks for your help!
[Wildfire Android Development] keyra74:
Terminal emulator can be found on market

you install it, extract the recovery img from zip you get on this thread and put it on sdcard

then in terminal emulator you first type su

then the whole command
[Wildfire Android Development] metapolis:
Hi, I have started in cm7 and use the cm7 emulator. flash_image recovery /sdcard/recovery.img has the same error effect as before. The steps are:

- Start Emulator

- type su

- type "flash_image recovery /sdcard/recovery.img"

- error...

Do I have to do something else?

Do
[Wildfire Android Development] keyra74:
ermm... did you rename the img file to recovery.img ?
[Wildfire Android Development] zyonee:
Sorry for any confusion I may have caused here, it's because I'm posting in multiple threads. You can't flash recovery on a wildfire in a terminal because it's protected. Instead, find and download unrevoked 3.14, disconnect your phone, run unrevoked, choose your custom recovery img file and then connect your phone. Carefully read the onscreen instructions and don't disconnect the phone unless instructed to do so or if the procedure is completely finished. As long as you can boot cm7, you'll get as many shots at this as you like.
[Wildfire Android Development] keyra74:
wrong, you can do it on a s-off wildfire
[Wildfire Android Development] zyonee:
But there aren't really many Wildfires out there with s-off? Or did I miss something?
[Wildfire Android Development] keyra74:
you missed the xtc clip that i had to use... and i think many people had to do it too since 2.2.1
[Wildfire Android Development] zyonee:
Well, if you have s-off, that's the best thing, you can flash it with fastboot, right?
[Wildfire Android Development] keyra74:
nope... everytime i try it fail, the only working mode is with flash_recovery
[Wildfire Android Development] zyonee:
At least that's an option. ;)
[Wildfire Android Development] Dethox:
Used Unrevoked 3.14 ( download from the 3.1.0.2 thread ) and flashed it without any problems.

Finally no more 100 of ,,NO" before ,,YES"

The menu is much more compact now and well organized.

Cheers :D
[Wildfire Android Development] ErwinP:
Although I'm not sure, I've think I've read that the bootloader afther getting s-off with the xtc-clip, doesn't support fastboot.. the reversed engineerd bootloader from AlphaRevX in contrary does.
[Wildfire Android Development] s0ulbl5d3:
back on track! Guys, I need to confirm if I can already flash roms or any zip file directly from the recovery using Clockwork 4.0.0.2. Sorry if this has been discussed already but I don't wanna be screwed up again. LOL such a shame!:p
[Wildfire Android Development] DJ.Eagle:
i tryed to use unrevoked, but doesnt work for me (just keeps the "plug your phone now" screen)

is there another way to flash this?

would be nice
[Wildfire Android Development] ErwinP:
Depends on the way you are rooted.. unrevoked (hboot 0.80), xtc clip (hboot 1.01) or Alpharevx (hboot 6.01)?
[Wildfire Android Development] s0ulbl5d3:
Sorry guys if I need to ask this stupid question again however, I don't wanna end up unable to flash zips or roms again and unable to boot into the system...Is it okay to flash the new nightly on this recovery directly as my phone was reverted to stock rom?

I need to make a full wipe before flashing CM7 and I want to make sure that there will be no problem or issues with it...don't wanna screw up again hope you understand:o:o:o
[Wildfire Android Development] zexcrazy:
This recovery is working just fine. I'm using it. It has no errors like 4.0.0.0. Glad you succeeded to came back :D
[Wildfire Android Development] s0ulbl5d3:
lol right! thanks for the help...looking forward for your new update's on your cool theme...

@zyonee

nice work...thanks!
[Wildfire Android Development] zyonee:
OP updated. Version 4.0.0.5.

The recovery may show 4.0.0.4, but it's only cosmetical. Android.mk in the source tree shows version 4.0.0.5.
[Wildfire Android Development] dikamilo:
Can you tell me how do it on unrevoked (hboot 0.80) ? I tried zip file, unrevoked custom recovery and this don't work.
[Wildfire Android Development] zyonee:
No, it's not a flashable zip. If I remember correctly, hboot 0.80 can be rooted. You'll have to google and download unrevoked 3.14. Once installed with all the correct drivers, do this:

1: Make sure unrevoked is not running.

2: Unplug your phone's USB cable.

3: Extract the .img file from the zip to your hard drive.

4: Start unrevoked

5: In the "File" menu, select "Custom Recovery" and choose the extracted img file.

6: Plug in your phone's USB cable and follow the instructions in unrevoked.
[Wildfire Android Development] dikamilo:
Yes, I've done exactly the same but on the end it show "Firmware probably to new".

I rooted my WF about year ago.

But now i used old version unrevoked (I used this for root my WF) and it works !

Thanks for help.
[Wildfire Android Development] zyonee:
Yup, after 3.14, you got the "Firmware too new". I still don't understand why they did this. :)
[Wildfire Android Development] keyra74:
since all wildfire can be s-off now if you can't flash recovery from revoked do it from terminal
[Wildfire Android Development] zyonee:
Just updated the 4.0.0.5 version with some ext4 additions from roalex. Hopefully this can solve the ext3/ext4 issues some people have been having.

Make a nandroid backup with a proved working recovery version, then try this if you want to. I'm not responsible for any data loss this may cause, this is a test version of ClockworkMod Recovery. ;)
[Wildfire Android Development] DJ.Eagle:
can you tell me download link of old unrevoked version? would be great

thanks
[Wildfire Android Development] lupoalberto12:
I used this tool to flash the new version of recovery.

Thank you.

Bye!

! :) !
[Wildfire Android Development] MarkPower:
Flashed it, works like a charm :]
[Wildfire Android Development] zyonee:
New addition: Added "Show log" in the advanced menu. This can help when reporting errors here. Use it. :)

Redownload 4.0.0.5 from OP.
[Wildfire Android Development] lupoalberto12:
So, must we "reflash"?

Thanks.

Bye!

! :) !
[Wildfire Android Development] zyonee:
Yes, but wait for another update. That one should enable ext4 support for sd-ext.
[Wildfire Android Development] suiller:
Tack. Jag följer ditt arbete även i det andra rummet (desire) :cool:
[Wildfire Android Development] zyonee:
Updated version to 4.0.0.5.z110621 - Edited recovery.fstab to allow ext4.
[Wildfire Android Development] hellcommando:
The link for v4.0.0.5.z110621 is down :(
[Wildfire Android Development] cse.10100:
Please modify your link...
[Wildfire Android Development] zyonee:
Link fixed. Sorry for the inconvenience.
[Wildfire Android Development] lupoalberto12:
Ok, now I flash this last update, right :D ?

Thank you.

Bye!

! :) !
[Wildfire Android Development] zyonee:
If you want to, yes. But it's an experimental version. I suggest you make a backup using a working recovery version, just so you can be safe and restore everything if needed.
[Wildfire Android Development] lupoalberto12:
Mmm, ok.

I didn't understand that it's an experimental version so, maybe, I'll go back to last stable version (3.2.0.0).

Thank you.

Bye!

! :) !
[Wildfire Android Development] zyonee:
Well, it's pretty much only ext4 that isn't fully supported yet, but I think I can solve it tomorrow. Got some good advice from another dev. You won't brick your phone, just make a working nandroid backup first and make sure you have a bootable rooted system installed before you try.
[Wildfire Android Development] pepxl:
How exactly do you flash a new recovery, im fully rooted and s-off, when i launch Unrevoked and select custom recovery, the .img is pushed and my phone is rebooted into HBoot but doesn't doanything after that, i then check the CWM version and its the same as before 3.0.0.6
[Wildfire Android Development] prakka:
Look at

http://xdaforums.com/showthread.php?p=14693680
[Wildfire Android Development] lupoalberto12:
@zyonee: I made a Nandroid but I don't understand this:

"make sure you have a bootable rooted system installed"

Other the recovery, I have to install another "program" or the bootloader is sufficient?

Thank you.

Bye!

! :) !
[Wildfire Android Development] zyonee:
What I meant was that you should have (for example) CyanogenMod 7 installed in your phone. The point is that even if the recovery doesn't backup/restore/flash as it should, you should be able to boot up your phone normally and be able go gain root so that you can reflash another recovery.img from a root shell (terminal emulator, adb, etc).
[Wildfire Android Development] zyonee:
New version (4.0.0.5.z110623) uploaded. This should hopefully get ext4 working. Please test wiping, formatting, backup and restore with ext4 partition.
[Wildfire Android Development] lupoalberto12:
@zyonee: ahh ok, I understand.

Bye!

! :) !
[Wildfire Android Development] Villis87:
I had problems formatting the sd-ext partition with the 4.0.0.5 version. Is it a common problem? Reverting to 3.1.0.2...
[Wildfire Android Development] kevin2516:
Just use fastboot to flash, fastboot flash recovery recovery.img

Place the img into your tools directory and cd into it using a cmd prompt and yea
[Wildfire Android Development] zyonee:
Please use the log feature in the advanced menu after the format fails. Also, which format are you using, the one in the "mounts and storage" menu? Are you using ext3 or ext4?
[Wildfire Android Development] dud3me:
wtf does that mean? So even though I have fastboot I need to do some **** with cmd? I don't have tools directory, I just downloaded fastboot and adb tools from here http://xdaforums.com/showthread.php?p=14693680 and extracted it to my downloaded files. Then I downloaded the recovery from here extracted it and put the img file in the same folder (btw wtf is the md5 file?) so obviously I'm doing somethign wrong :D And when I go to fastboot usb and plug it to my pc pc doesn't say "device plugged or w/e" is that normal?
[Wildfire Android Development] Villis87:
Will check again in one or two days and post the log here...

Till then I went back to previous version as i wanted to format the sd-ext. I use an ext-3 partition and the problem was both with the "mounts and storage" menu and a nandroid restore ;)
[Wildfire Android Development] t0mas_:
zyonee, great work, and no harm ment, but the offmode charging is gone in your last release (4.0.0.5.z110623). it would be great if it would work, and i'm sure it wasnt left out intentionally unless there is some conflict somewhere.

all in good spirit of reporting bugs.
[Wildfire Android Development] zyonee:
Didn't know that it was missing. Now looking at the source, it's still there. No idea what went wrong. Next time I release an update, I'd like to know if it started working again. I can see that roalex has reverted the off-mode charging feature in his sources. Maybe it wasn't working as intended?
[Wildfire Android Development] wNuk:
I have a little question can I translate CWM, if yes...

How may I do it?
[Wildfire Android Development] hydro25:
installation aborted

Im in great confusion right now... please developers, please help me... yesterday I used alpharevx to s-off my wildfire that has 1.01.002 unbranded hboot.. successful and then i have rooted it and its successful and then i tried flashing cyanogen 7 its stuck for 3hrs in installing updates, iremoved the battery now i only have htc whitescreen.. ican still boot to hboot and recovery (3.0.0.6) ive downloaded different roms, ihave openfire and couple of other roms under froyo build. but i had the "amend scripting error" i have searched and it seems that i need to flash an older version of clockworkmod .. i ended up downloading everything all versions.. when im trying to flash it... its giving me an error "installation aborted" I ended up in this thread hope for a small string of hope that my phone will go back up... please, I'm not a developer and im in great panick... i hope my phone is not brick... thankyou
[Wildfire Android Development] wNuk:
Use standard CWM 2.5.0.7
[Wildfire Android Development] t0mas_:
i have read in the 3.1.0.2 thread that some people have problems with it if i remember correctly, but it is working for me in build 110621. and the 4.0.0.5 update from 06.17. will test test the next update for sure, i allways do :D thanks for your replay, have a great day
[Wildfire Android Development] zyonee:
I think you may want to start a separate thread for this matter. Then more users can see your question and it won't get mixed up with the topic of this thread.
[Wildfire Android Development] dud3me:
So a step by step guide would be nice I'm really lost
[Wildfire Android Development] 3xeno:
http://xdaforums.com/showpost.php?p=15065806&postcount=2
[Wildfire Android Development] dud3me:
Do i need to install packages too? Coz it's taking a while...
[Wildfire Android Development] 3xeno:
Nope, Just the basic SDK. Also, as I said, it is not necessary to get the entire SDK if it is an issue for you. You can simply get the ADB and Fastboot Executables from the link at the end of my previous post. The only reason I havent used that is because I had SDK installed a long time back.
[Wildfire Android Development] Villis87:
Tested today...

Here's what's written in the screen:

I: Checking for extendedcommand...

I: Skipping execution of extendedcommand, file not found...

mtd. succesfully wrote block at b 499000000000

I: set boot command " "

Formatting /sd-ext...

I: Formatting unknown device.

I: Formatting exte device.

Error formatting /sd-ext!

mtd. succesfully wrote block at b 499000000000

I: set boot command " "

Shouldn't exist a log file in the sd card?
[Wildfire Android Development] rseke:
can i flash recovery over android flasher or over fastboot?
[Wildfire Android Development] zyonee:
What format are you using on the SD card? ext2, ext3 or ext4? Is it correctly partitioned and what size is the card?
[Wildfire Android Development] pepxl:
yes you can, make sure you have HBoot drivers installed

http://xdaforums.com/showpost.php?p=15078113&postcount=1176
[Wildfire Android Development] rseke:
i tryed but i have one problem,i get FAILED message.

cd data\

taskkill /F /IM adb.exe

SUCCESS: The process "adb.exe" with PID 1964 has been terminated.

taskkill /F /IM fastboot.exe

adb.exe reboot bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

* daemon started successfully *

fastboot.exe flash recovery recovery.img

sending 'recovery' (4070 KB)...

OKAY [ 1.157s]

writing 'recovery'...

FAILED (remote: not allowed)

FAILED (remote: not allowed)

finished. total time: 1.158s

downloading 'boot.img'...

OKAY [ 1.144s]

booting...

FAILED (remote: not allowed)

FAILED (remote: not allowed)

finished. total time: 1.144s
[Wildfire Android Development] Villis87:
It's ext3 and it's working perfectly with older versions of the cwm. The card is 8 gb and the partition's size is 1 gb
[Wildfire Android Development] prakka:
I have the same prob, also EXT 3 and it was working with pref versions of cwm
[Wildfire Android Development] AloneInShadow707:
Updating after every release and I have yet to see any problems with the recovery, even after extensive use (backups and wipes, mostly).
[Wildfire Android Development] zyonee:
So it seems some people have issues while others (with the same setup) don't? Weird...
[Wildfire Android Development] komunistvb:
not working off mode charging
[Wildfire Android Development] hellcommando:
confirm not working with offmode charging
[Wildfire Android Development] palmerwill:
Which release?
[Wildfire Android Development] t0mas_:
the last one, 110632. it works in 110621
[Wildfire Android Development] zyonee:
K, I'll have to look what I changed between those versions...
[Wildfire Android Development] rolks:
working off mode charging
[Wildfire Android Development] zyonee:
?

So it's working only for some people?
[Wildfire Android Development] rolks:
like most cm7 users claim wifi working and some have problems
[Wildfire Android Development] zyonee:
?:confused:
[Wildfire Android Development] metapolis:
Off-mode charging

Hi, I've installed Anonimo-sense-hybrid ROM and I was surprised, that off-mode charging is not working. I have clockwork 4.0.0.5z110623.
[Wildfire Android Development] cokenet77:
Is it support script on froyo rom?
[Wildfire Android Development] zyonee:
Working for some and not working for some. I might revert the commits regarding this feature in my next compile.
[Wildfire Android Development] lemming999:
I'm running CWM 3.0.0.6 with a stock WWE Froyo ROM. My Wildfire is S-off with Alpharev X.

I am trying to update to CWM 4.0.0.5.z110623 by installing from the SD card using the "install zip from SDcard" option.

It finds and unzips the zip file but comes up with "Installation aborted" soon after the installation step starts.

Do I need to rename the zip file to get it to install?
[Wildfire Android Development] 3xeno:
It's not a Flashable ZIP. Use Fastboot / Unrevoked with Custom Recovery.img.
[Wildfire Android Development] lemming999:
I've tried Unrevoked 3.32 but as soon as I open it it tries to root the device and the option to select a recovery in the file menu is greyed out. i.e. there is no way to select CWM once unrevoked is opened.
[Wildfire Android Development] 3xeno:
Use Fastboot. Its far easier. There's a how-to here:

http://xdaforums.com/showthread.php?p=14693680

Only follow Points 1,4,5,6

And if you still wish to use Unrevoked, use v3.14. It shows the max compatibility, unlike v3.32. Also, run Unrevoked and select Custom Recovery before connecting your Wildfire, else, you wont get time to select the new recovery file.
[Wildfire Android Development] lemming999:
Thanks. Can't get unrevoked 3.14 to flash the CWM. It seems to go through all the right processes but comes up with a "failed" at the end.

I will load up the SDK(linux) and try that.

Thank again for your help.

Which CWM version is best to eliminate charging problem and run with stock Froyo. 3.2 , 4.0.0.5z110623 or another one?
[Wildfire Android Development] zyonee:
New update

Updated the original post with version 4.0.0.5.z110706. See the changelog in the OP. I haven't really changed anything concertning ext4 since 4.0.0.5.z110623.
[Wildfire Android Development] darrie1:
Will i be able to flash this if i replace the recovery in a pc49.zip with this recovery?

And can i flash android 2.2 roms with this recovery?

Thank you
[Wildfire Android Development] KahlanHaskeer:
Mmmh, where can I get the good Unrevoked ?

With the latest version get on their site, it tells me : "error : Is your firmware too new" or something like that, after reboot. Thanks for your help :D

[Edit :] I found a version, it works ( http://www.mediafire.com/?1buaguir6uqnj08 ) :)

[Edit2 :] Well, it's the Superuser which doesn't work now: force close.. I made a mistake, how could I fix this ?
[Wildfire Android Development] auleu:
reflash the rom or flash superuser from rom manager ,search for superuser in other threads
[Wildfire Android Development] anonimo95:
this is because of unrevoked installs another superusrer and it crashes
[Wildfire Android Development] KahlanHaskeer:
I flashed CM7RC1, it seems to work fine; thanks :)
[Wildfire Android Development] auleu:
any bugs with latest version ?
[Wildfire Android Development] zyonee:
No idea. I guess it should work about as well as the last version, I haven't changed anything significant.
[Wildfire Android Development] auleu:
when does the final 4.0.0.5 come out ?
[Wildfire Android Development] zyonee:
There is no final version. My mod is based on version 4.0.0.5 by koush. His next update will probably be named 4.0.0.6.
[Wildfire Android Development] auleu:
4.0.0.8 is latest
[Wildfire Android Development] zyonee:
Didn't know that, thanks.
[Wildfire Android Development] auleu:
http://download.clockworkmod.com/recoveries/
[Wildfire Android Development] zyonee:
Seems like none of my versions work 100%. I might go back to merely compiling j_r0dd's versions without any additions. It may break ext4, but it'll be the latest version and should work well with ext3. I haven't made up my mind yet.
[Wildfire Android Development] zyonee:
Ok, so here goes. I'm making a new attempt. Rebased everything on j_r0dd's current 4.0.1.0, but without roalex's ext4 additions. See original post.

Edit: Whoever did download my 110717 build from few hours ago, please redownload. The "Advanced Backup" was screwing things up. It created individual md5 files for each partition and would mess up the restore process unless a single md5 file for all partitions was manually created. Because of this, I reverted that commit.
[Wildfire Android Development] zyonee:
New version in OP. Minor fixes.
[Wildfire Android Development] Marurban:
Can you make zip with newest version to update it via HBOOT menu - PC49IMG.zip?
[Wildfire Android Development] zyonee:
I'm not 100 % familiar with that method or how to make the zip flashable in the bootloader mode. Besides, I'll be gone on vacation for two weeks, so all I can do is read and answer here on xda.
[Wildfire Android Development] geigi:
Here you go:

http://dl.dropbox.com/u/13685224/PC49IMG.zip

you can replace the recovery.img file inside the .zip with every new version but you have to rename it to recovery.img!
[Wildfire Android Development] phr3ak128:
I'd like to use dynamically linked executables under cwm, but not works. Please use same path for dynamic loader like in cyanogenmod. Thanks