yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Tomb77:
Yes. the reason I was doing it is because I kept getting an error through Rom Manager to flash it. I went back in many times and just did it again and this time it worked. I'm good now.
[G2 and Desire Z Android Development] Ganii:
It works for me.Often did this at my Hero and now at Deisre Z too!

ROM Manager shows Clockwork Recovery 2.5.1.3,but if I boot

into recovery,there is 2.5.1.2 ;)

So ROM Manager has little bugs ;)
[G2 and Desire Z Android Development] steviewevie:
The flash_image command isn't in the stock ROM though, is it ?
[G2 and Desire Z Android Development] theebest:
clockwork

i just flshed the clockwork recovery and did a nandroid back up with it then i flashed virtouse sense rom and while i was trying flash back my old rom it would says 2010-12-17.08.34.15 not found and im sure i did the nandroid back up correct can anyone help me?
[G2 and Desire Z Android Development] Ganii:
Don`t know,I have CyanogenMod 6.1.1 installed!
[G2 and Desire Z Android Development] Ganii:
But I can test it,if I do a nandroid backup with my rooted

stock ROM.
[G2 and Desire Z Android Development] xencor:
If you get the "flash_image not found" error then I think you can fix that by downloading Titanium Backup from the market and clicking the "Problems?" button. That should install busybox for you, which (someone please correct me if I'm wrong) will allow you to use flash_image.
[G2 and Desire Z Android Development] Ganii:
Downloaded now the new ROM Manager 2.5.1.4 from Market ;)
[G2 and Desire Z Android Development] apzalo:
You can also just get the busybox installer from the market.

Sent from my HTC Vision with CM 6.1 and Pershoot's Kernel.
[G2 and Desire Z Android Development] Ganii:
Did nandroid backup to stock Sense Froyo ROM

and it isn`t supported!
[G2 and Desire Z Android Development] OllieD:
OffMode Charging

Actually this is easily fixable. (if only i knew c and had the exact source for the vision version of clockwork recovery)

The device boots with the kernel parameter "androidboot.mode=offmode_charging"

as can be seen via "cat /proc/cmdline"

Its also in /cache/recovery/log" as "ro.bootmode=offmode_charging"

Someone needs to implement a charging program into clockwork recovery that checks for this variable on bootup and launches a charging gui with true charging led control and a progressbar.

When the charger/usb is unplugged it simply exits recovery and turns off the phone.

Regards,

OllieD
[G2 and Desire Z Android Development] MetalMessiah78:
You might want to let Koush know. He said he was open to help if anyone knew how to fix this. I think he has the source up in github too.
[G2 and Desire Z Android Development] k0nzious:
this doesn't work for me,

the terminal emulator doesn't work,

nor does the fastboot,

cause the command can't be found.

and i'm on stock rom,

rooted,

with busybox.

help?
[G2 and Desire Z Android Development] steviewevie:
Do you have S-OFF ? You won't be able to flash a custom recovery unless you have S-OFF. And you'll need the eng hboot to be able to flash via fastboot (make sure you install the eng hboot *after* you have done gfree, and do it very carefully because you can brick your phone if you get that wrong).

You will also need to have adb setup and working to be able to use fastboot.
[G2 and Desire Z Android Development] k0nzious:
well, i did the rage perm root,

and i think that had me push hboot-eng.img

i'll try getting S-OFF now,

thanks man.
[G2 and Desire Z Android Development] likeitnot:
Worked beautifully! Thanks for this =D

Its funny how rooting and backing up and the such takes minutes now when back in the day (G1 anyone?) it took hours almost lol. Thanks again I appreciate this.

For the record, if I wanted to I can take the nandroid backup and put it on my computer so its safe there as well correct? It doesn't have to be on my sdcard at all times taking up space? Even though I won't be taking it off my card I just want to ask for future reference.
[G2 and Desire Z Android Development] gee one:
That's right- you can archive them on your PC and just keep a recent one on your phone. The backups are in /sdcard/clockworkmod/backup

You might want to hang on to a rooted stock ROM nandroid, for old times sake.

Sent from my CyanogenMod Vision
[G2 and Desire Z Android Development] heybobitsme:
Just out of curiosity, at what's your procedure fr when deleting battery stats? Fully charged, delete battery stats, unplug and reboot or what?
[G2 and Desire Z Android Development] jojo_16:
My power button's broken it helped me to reboot my phone. will the next update will fix the CWR?? i hope not
[G2 and Desire Z Android Development] chief2842:
Can't seem to boot into recovery after upgrading it just sits at the HTC screen any clues on how to fix this?
[G2 and Desire Z Android Development] steviewevie:
After upgrading to a new version of ROM Manager you mean ? What did you upgrade exactly ? Or did you flash a new ROM ?

Are you saying it will boot ok, just not into recovery ? Or it won't boot at all ? If it just won't boot into recovery then try flashing Clockwork again.
[G2 and Desire Z Android Development] j3.cole:
When do recovery .img's get updated, such as v3? In other words, I am really struggling with manual efforts and would rather wait, for safety purposes... Thanks
[G2 and Desire Z Android Development] Pflunz:
Had the same problem I think.

I uppdated to cm7 with cw3, and did a nandroid backup with cw3 bevor. When I tried to restore my backup, cw3 said finished. But on booting it stayed on the HTC logo.

So I went into bootloader (volume down and power) and flashed via fastboot the `old` cw2.4.1 image or something like that (the actual cw recovery of v2). After that, I could restore the backup and it bootet fine.
[G2 and Desire Z Android Development] arcance:
I hope fix this or soled ,

and wait

Regards,
[G2 and Desire Z Android Development] Mikey:
For Reference

Too perform a change of your recovery image you MUST HAVE ROOT AND BE S-OFF :)
​

If you use adb install of terminal:

Use adb shell in command box instead of su

Assuming you dont have flash_image installed, the instructions are:

1-Download flash_image and copy to root of SD card.

2-*rename file to recovery* and copy recovery.img to the root of the SD card.

or

Placing the files in root of your C:\

adb push C:\flash_image /system/bin/flash_image

adb push C:\recovery.img /sdcard/recovery.img

3-

If you already have Flash_image installed these are the steps I used and worked:

3a-

You might get errors when you perform the rm commands, that's ok.
[G2 and Desire Z Android Development] :
Erm, like this source?

https://github.com/CyanogenMod/android_bootable_recovery

;)
[G2 and Desire Z Android Development] arcance:
Yes its scr
[G2 and Desire Z Android Development] ffff00:
So I wanna setup a script to push my rom the the sdcard, reboot recovery, flash the rom, and reboot.

I'm wondering how to pass the command to flash the rom to recovery from adb/terminal.

From what I've seen, I'd be working with /cache/recovery/command, right?
[G2 and Desire Z Android Development] the orange bandit:
ROM Manager is free on the market and does exactly that - even asks if you want to wipe/nandroid before flashing the ROM. Once you choose, it reboots into recovery, wipes/nandroid/flashes (whatever you chose), and then automatically reboots when it's done.
[G2 and Desire Z Android Development] ffff00:
Thanks for the quick reply, I already know about Rom Manager though.

The thing is that I'd love to do it all from a single script from my computer, because I always download roms on it. I'm most likely just a short command passed to recovery, which would solve my lazyness.

Basically I'm a lazy ass and would like to make things happen in less steps.
[G2 and Desire Z Android Development] the orange bandit:
Aha, you didn't mention you wanted to do that from your computer in the first post. You're correct, ROM Manager won't help there, lol. :)
[G2 and Desire Z Android Development] Ashex1:
I flashed Clockwork Recovery via Rom Manager then flashed the Persian Font zip and have lost the boot animation. I've never used Clockwork on my Desire before so I don't know what the expected behavior is.

Has anyone else lost their boot animation after flashing Clockwork? Tried pushing bootanimation.zip to /data/local but had no change.

Bell HTC Desire Z (Debranded) 1.34
[G2 and Desire Z Android Development] vivmar:
This version doen't make a Sd-ext backup?
[G2 and Desire Z Android Development] Wing_Zero85:
If I wan't to try CM7 i need to install CWR 3.x .

I've found online CWR 3.0.0.0 , 3.0.0.2 , 3.0.0.5 . Which is the more stable?

I've tried 3.0.0.0 and it' can't restore a backuo made with 2.5.1.3. Is that normal?
[G2 and Desire Z Android Development] KoolKidsKlub:
From what I have heard, if your on a 3.x recovery, you can't restore backups made on a 2.x recovery, you would have to flash back the 2.x recovery before you could use your old backup again.
[G2 and Desire Z Android Development] superdude3:
whenever i try to backup my current rom it keeps sending me an error message that it is unable to mount system. any thoughts?
[G2 and Desire Z Android Development] KoolKidsKlub:
I have read that you need to mount the /system partition first from within the recovery. Or something like that, I don't remember who said it or what for but I just remembered it and thought that it might help.
[G2 and Desire Z Android Development] techemically:
Cannot turn off my vision/G2 after clockwork recovery flash

I recently rooted and flashed the clockwork recovery (version 2.5.1.3) and now when I turn off the phone (with quick boot app or by holding power button down and selecting "power off") the phone appears to shut down for about 2 seconds then automatically is booted into recovery mode! Has anyone else seen this? Is this known with my version? Has anyone erased the recovery and re flashed with negative consequences in my situation?

EDIT:erased and re flashed cw: this has not changed/resolved the issue.... :(

EDIT #2: OK, so all this happens ONLY when plugged into the HTC wall charger. If I unplug the phone and turn it off it will stay off...until I plug it into the wall again. Once plugged in it will automatically boot up into recovery mode without ANY buttons being pressed! Peculiar bug I must say; any ideas?
[G2 and Desire Z Android Development] elracing21:
If you read thru this thread almost on every page is the answer buddy. This is a bug on clockwork recovery that will most likely never get fixed.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] KoolKidsKlub:
Does this also happen with the 3.x recovery? And does this happen to every phone or just some?
[G2 and Desire Z Android Development] elracing21:
I honestly don't know. I haven't used the 3.x yet but I imagine it does. Its a bug with our phones only and koush doesn't seem to have it on his to do list.

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] themetatron:
yes it does happen with 3.x recovery
[G2 and Desire Z Android Development] joemm:
I can confirm the boot into recovery when power off and charging is still present on CWM 3.0.0.x.

EDIT: ^^^ themetatron beat me to it
[G2 and Desire Z Android Development] damien667:
solved? sorta?

So I decided to play around with the clockworkmod recovery image for version 2.5.1.3 to try to mimic the charging state that the OTA recovery does when it displays the battery icon... and got it to behave properly sans the battery image by just adding /sbin/offmode_charging (and some other ones form OTA) and the service line associated with starting the binaries to init.rc (all taken from OTA recovery)... my G2 still has CM 2.5.1.3 but now I can leave the phone off and it will continue to charge without the screen being on, when you unplug it it will turn off (confirmed through an "uptime" through abd), and when you press the power button with it plugged in it will boot up to normal mode.... if anyone is interested in the recovery.img with these mods, here's a link:

http://rapidshare.com/files/442828224/recovery-clockworkmod-vision-offmode_charging.img

NOTE: your phone IS still on when you plug it in after turning it off (meaning you can ADB into it, and check uptime and such)... however... if the power goes out or you unplug it... it will turn OFF and stay off.
[G2 and Desire Z Android Development] Wing_Zero85:
what's the difference between 3.0.0.0 , 3.0.0.2 and 3.0.0.5 ?

Are them all capable to make and restore backup correctly?

which of them is the best choice for install CM 7?

why they are not downloable by rommanger?
[G2 and Desire Z Android Development] pl4cid:
Since 2.5.x I use CWM and I restored backups also in 3.0.x. It's no problem recovering an older backupwith a newer release of CWM
[G2 and Desire Z Android Development] Wing_Zero85:
tnx,

but i've read people saying that the 3.0.0.2 and .5 version are unstable and not capable to make and restore nandroid backup correctly. Is that true? the 3.0.0.0 is the best one?

are them in and alfa/beta state? that's why are'nt avaible with rommanager?
[G2 and Desire Z Android Development] steviewevie:
Nice work damien667 ! Have you tried emailing or PM'ing koush with your fix ?

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] damien667:
I tweeted about it and mentioned clockworkmod and cyanogen... they should know :-)

but... seeing as how lost it might get in that... I'll go ahead and PM koush.
[G2 and Desire Z Android Development] arcance:
NICE

Flesh via fastboot or recovery into android ??

Sorry quest.:(
[G2 and Desire Z Android Development] damien667:
fastboot only... this is not a zip file, so how would you do it in recovery?
[G2 and Desire Z Android Development] Ashex1:
How does one restore stock recovery? My boot animation is missing and I'm working through finding the cause, undoing clockwork recovery is the first step.
[G2 and Desire Z Android Development] ianmcquinn:
Should be able to do it in Terminal with flash_image program, too.
[G2 and Desire Z Android Development] pl4cid:
I didn't noticed many changes and use the latest release for nandroid. No problems so far.. :)
[G2 and Desire Z Android Development] steviewevie:
Extract the stock recovery image from a ROM zip file, then flash it on with fastboot.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] pawel_podgorski:
clockwork mod for noob

I finaly decide to root my G2( and S-Off ). So I use CyanogenWiki procedure without section about Flashing the Engineering HBoot with is denger and optional.Next I was uninstall no need stock soft (mp3 amazon finance or listen).Today I try to backup everything with clockwork mod.

1. Is the procedure with ROM Manager safe?

2.Do i need to do something else after geting perma root and s-off to install clockwork mod ? (still don't know what for is Engineering HBoot)

3. After instaling clockwork mod or after rooting I will stop geting official updates ?

4. Do i have to buy a prem version of ROM Manager or free market version will do the job ?

5. How to flash clockwork v3 and is there reason to do that ?

Greetings for @ll

(sorry for my english - am a polish user)

Happy Birthday to You

Happy Birthday to You

Happy Birthday Dear xda-developers

Happy Birthday to You. ;)
[G2 and Desire Z Android Development] s00paSold3r:
How do you install Clockworkmod Recover 3.0.0.5 on the phone? I tried to save it on the root of the SD card and reboot into recovery and install .ZIP from SD but it didn't do anything... Any help would be greatly appreciated
[G2 and Desire Z Android Development] spences10:
Confirmed: as I haven't got fastboot working and I haven't got the bottle to flash the enginerring hboot I tried the flash_image command the other day anf flashed the 3+ cwm recovery so's that I could flash cm7

Be careful though, some roms do not have the command in them but I can confirm cm6 & cm7 both have the command :)

su
flash_image recovery /sdcard/recovery.img
reboot recovery
[G2 and Desire Z Android Development] waqypaqy:
Everytime I have my charger plugged and turn the phone off, it goes straight to recovery mode and I can't turn it off fully :confused:

Anyone else have a similar problem? :mad:
[G2 and Desire Z Android Development] robv720:
I see the same thing with mine, but only when I am charging it through USB to a computer.

Using V 2.5.1.3.
[G2 and Desire Z Android Development] waqypaqy:
Mines plugged into the mains using the supplied charger :(
[G2 and Desire Z Android Development] ianmcquinn:
Simple answer:

From the developer:

New development posted just 15 posts prior to your question:

Or alternatively, you can go back to the stock recovery or the stock engineering recovery (if you search, there are already tons of threads on this).
[G2 and Desire Z Android Development] Ashex1:
Where can I find information on using fastboot? I pulled recovery.bin out of the 1.34 ROM zip and using flash_image to flash it but that failed.
[G2 and Desire Z Android Development] robv720:
Im not worried about recovery being on while my phone is off. Its actually quite helpful. Not having to switch drivers on my Win 7 box when switching between mass storage and tethered "internet device" makes my headaches go away.

Its quite a convenient "bug"
[G2 and Desire Z Android Development] steviewevie:
You need to have adb setup, which also sets up fastboot.

Put your phone into fastboot mode - do this by putting it into hboot, then select fastboot from the menu. It should say "FASTBOOT USB" when the cable is plugged in. Then run "fastboot flash recovery recovery.img".

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] prabakar:
how to root g2

how to root htc g2?
[G2 and Desire Z Android Development] C.Flat:
Using Rom Manager only gives me the option to install Clockwork for the HTC G2 on my Bell

Desire Z

. I know they are 99% the same but is it safe to select that option?
[G2 and Desire Z Android Development] xl DIGITAL lx:
Can anyone post a mirror for the modified version of clockwork? Thanks.
[G2 and Desire Z Android Development] hjlow:
i put a mirror up for you at my blog
[G2 and Desire Z Android Development] xl DIGITAL lx:
Thanks
[G2 and Desire Z Android Development] Ashex1:
It will work, I flashed Clockwork to my Bell DZ and it works just fine.
[G2 and Desire Z Android Development] damien667:
New!

Update: I did the same thing to vision-cwm3src3.0.0.5-1-16-11.img for all of us messing around with the nightlies on CM7... here's the recovery.img I modded.

http://rapidshare.com/files/443358581/recovery-clockworkmod3-vision-offmode_charging.img

Enjoy!:cool:
[G2 and Desire Z Android Development] osupra:
I have a question. I purchased Rom Manager.. I am running v3.0.0.7 I am running the cm7 nightly ... when I click on check for rom updates and select the version I wish to flash it downloads but won't flash..when it asks to click ok to let the phone reboot into recovery and continue to flash the rom it doesn't the phone reboots and you see some quick text looking like it install but when the phone reboots im right back to the same version I was originally and nothing was wiped off or anything.. can anyone help me w/ this one?
[G2 and Desire Z Android Development] elracing21:
Just because you have rom manager 3.0.x doesn't mean your recovery is 3.0.x you need to flash the new recovery. You can't flash cm7 with 2.5.x recovery. It seems that's what your trying to do. Or your trying to revert from cm7 to a froyo build and you need the 2.5 recovery not the 3.0

HTC Vision S-OFF CM6.1 Stable Oc'd to 1.5ghz on Pershoots Kernel :)
[G2 and Desire Z Android Development] osupra:
it reads i have the latest recovery 2.5.1.3

I am on cm7 i just can't flash the latest nightly roms through the rom manger which is supposed to be a feature for only premium users of the rom manager
[G2 and Desire Z Android Development] Ashex1:
Thanks for the info. I went through this and unfortunately it failed.

I extracted recovery.img from PC10IMG.zip then put my phone into fastboot mode and flashed it as you said. I booted it into recovery from hboot and got the phone with the red triangle/exclamation mark :(
[G2 and Desire Z Android Development] TheMan42:
Fastboot flashing doesn't work for me -

I have root, S-OFF, and eng hboot - any other command in fastboot works and I tested it -

I reboot into the bootloader, select fastboot so it shows "fastboot usb"

I proceed to issue this command:

fastboot flash recovery /sdcard/recovery.img and it fails

I also try fastboot flash recovery recovery.img and that fails as well -

Any ideas? :confused:

EDIT: NVM, i'm an idiot... I kept thinking I had to flash via the device location, never thought about it was checking the PC
[G2 and Desire Z Android Development] Peanutman5:
Does Rom Manager work with recovery 3.0.0.5? I can't seem to flash anything with rom manager. When I try, it reboots into recovery for a second, then just reboots the phone without flashing anything. I can, however, flash whatever I want if I reboot into recovery manually and selecting the file to flash.
[G2 and Desire Z Android Development] osupra:
okay so it isn't just me!
[G2 and Desire Z Android Development] Cobra281:
help!

i installed ROM Manager, and pressed "Flash ClockworkMod Recovery", but interrupted the install by pressing the 'back' button, as i read just now that you need to have s-off. would this do anything bad?
[G2 and Desire Z Android Development] primatage:
Unlikely, but the bigger question is: Do you have S-OFF?
[G2 and Desire Z Android Development] Cobra281:
not yet, trying to figure out which guide to use to permaroot and s-off.

since i did the OTA update, i'll be following this guide, it looks like:

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

from this method of rooting and s-off:

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

i use the wpthis-OTA.ko file, since i have tethering and wi-fi calling, correct?
[G2 and Desire Z Android Development] primatage:
Should probably just use the standard instructions in the Wiki: http://xdaforums.com/wiki/index.php?title=HTC_Vision
[G2 and Desire Z Android Development] Cobra281:
ahh, saw that before, just thought that guide was outdated.

since i have the proper usb drivers and adb working, i think i'll go that route. but it doesn't matter if i have the OTA tether\wi-fi calling update, right? the wiki method will still work?
[G2 and Desire Z Android Development] primatage:
Yeah it's good for OTA. I had OTA when I used it :)
[G2 and Desire Z Android Development] steviewevie:
That's the stock recovery screen, so it did work if you were trying to flash stock recovery. On that screen, hold Volume Up and press Power, and that should take you to stock recovery.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] macolino:
Hi everyone!!! I have a big problem: I can not flash last 3.0 recovery!!!I tried via fastboot (fastboot flash recovery recovery.img and fastboot boot recovery.img) that give me error "remote: not allowed", via rom manager (install ONLY 2.5) and via terminal emulator that give me error -1 O_o ... Please help, i want to flash cyanogen nightly rom..

I have s-off and permroot of course ;) !
[G2 and Desire Z Android Development] Ashex1:
Got it, that makes sense! I've never used stock recovery so didn't know what to expect, thank you for the help!
[G2 and Desire Z Android Development] sino8r:
You really should make a separate thread entitled "powered off charging fix for CW" or something like that. This is really a nice fix and deserves the proper thanks and recognition since koush was too busy to fix it himself:rolleyes:. He has too many hands in a million different devices to fix every issue with every device, I guess... I doubt anyone would mind you doing this.... people really need to know it been fixed and this question about powered off charging has been asked a billion times already even since you posted the fix. Shut them up already, lol! Good work btw!;)
[G2 and Desire Z Android Development] f4phantomii:
Agreed.....if not a sticky, at least deserves it's own thread with the link in the first post.
[G2 and Desire Z Android Development] JonInAtl:
CRAP! Download limit reached. Anyone have a mirror?