yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] mrcubes2u:
I get the error "flash_image: not found" I have tried about a dozen times with rom manager, tried using fastboot (received an error stating the signature could not be verified), and I am running out of options. I used the cyanogen wiki to root and S-off which I did twice just to be sure I actually had rooted. I am able to do other things which require root. Any suggestions?
[G2 and Desire Z Android Development] he3r0:
I've noticed I'm not the only one with this problem...

Can't charge my phone when its off.

For some reason, if I turn my G2 off, and plug a power to it, it goes straight

To recovery... and it does not even go to sleep, so it goes very warm.

I would like to ask, to please address this issue. If its a clockwork recovery fault that is.
[G2 and Desire Z Android Development] steviewevie:
Yes it's been brought up quite a few times now. Just boot the phone from recovery, then shut it down again. Then you will be able to charge it when it's off. I'm sure at some point this will be fixed.
[G2 and Desire Z Android Development] steviewevie:
flash_image needs pushing from adb first before you can use it, doesn't it ?
[G2 and Desire Z Android Development] he3r0:
Unfortunately it didn't work, but its not a big deal, more an annoyance.

Also question about alternate recovery, its greyed out, would be possible to put there a stock recovery, as an alt?

Also from some reason my recovery build is 2.5.1.3, and latest available is 2.5.1.4 but I'm getting error when I'm trying to flash it.
[G2 and Desire Z Android Development] steviewevie:
This one is newer ;)

http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.1.3-vision.img
[G2 and Desire Z Android Development] gteye:
I don't see a 2.5.1.4 for the vision yet when browsing to:

http://koush.tandtgaming.com/recoveries/

Where are you seeing it?
[G2 and Desire Z Android Development] istheGman:
2.5.1.4 is showing up under "All ClockworkMod Recoveries" in RomManager.

--

Sent from my Abacus
[G2 and Desire Z Android Development] xl DIGITAL lx:
Getting an error trying to download it. It's probably in the process of uploading maybe?
[G2 and Desire Z Android Development] gteye:
I think the All Clockword Recoveries option lists every single one that exists. I don't think that has a version or "phone" check in it, I could be mistaken though.

I believe when the version is available for your particular model phone it will appear in the "Latest version" section below where it displays your current version on the main screen and you can click there to upgrade.

On that URL I posted earlier it has the img files for all of the devices as far as I can tell and there is a 2.5.1.3-vision but no 2.5.1.4-vision, but there is a 2.5.1.4 for some other devices.

I'm sure we'll see an upgrade soon if 2.5.1.4 is intended for our phone.
[G2 and Desire Z Android Development] tylik:
Indeed it is - but it's also the one I was having trouble with, so I was quite happy to revert to 2.5.1.2.

Perhaps I'll try the newer version again soon. Hopefully it will give me less grief, if so...
[G2 and Desire Z Android Development] jdm502:
does anyone else have the problem of their phone NOT powering down without going into recovery everytime, REGARDLESS of whether its plugged into the charger or not?? also it makes no difference whether i powered it down while plugged into charger.

i use CM Recovery and Enomther's "TheOffical G2" ROM

any ideas?
[G2 and Desire Z Android Development] xl DIGITAL lx:
Thats how it its, everyone that has clockworkmod recovery on this phone has that problem.
[G2 and Desire Z Android Development] jdm502:
Oh, i see. well thanks for the info. i can live with it, but its the one and ONLY thing that kind of irks me about CM.

i wonder if CM will fix this via update in the near future?
[G2 and Desire Z Android Development] renn9420:
@ jdm502

Yeah me too wish Amon_RA made a recovery for the G2 but will have to wait and see.

Phone: T-Mobile G2/Vision Rooted

Rom: Latest Cyanogen

Recovery: CWM waiting for Amon_RA
[G2 and Desire Z Android Development] mr_roboto:
When I try to wipe dalvik cache in recovery, I get the following message

E:Can't mount /dev/block/mmcblk1p2
(No such file or directory)

Then i try again and i get this

E:Can't mount /dev/block/mmcblk1p2
(File exists)

Does anyone know how to wipe dalvik? I even looked under /system/sd and /data and couldnt find dalvik folder to manually delete
[G2 and Desire Z Android Development] he3r0:
http://i1088.photobucket.com/albums/i326/He3r0/ScreenShot.png

On my phone (G2) in rom manager.
[G2 and Desire Z Android Development] he3r0:
It looks like everybody that uses this recovery has this problem.

Not a real problem. More a big annoyance.
[G2 and Desire Z Android Development] steviewevie:
I don't think that's out for the Vision yet, is it though ? It's just showing you all possible versions for all phones ?
[G2 and Desire Z Android Development] rraxda:
I get the same error (or non-error?) when I wipe my dalvik cache also. Not sure if it is a problem or not. It does say Dalvik Cache Wiped after the error message though.
[G2 and Desire Z Android Development] he3r0:
Perhaps. Donno, I have G2, and during install, ive choosen G2, assumed all,displayed bu ok ld are for G2, hence my question about it.
[G2 and Desire Z Android Development] jdm502:
the method i have always used to wipe the dalvik, is to reboot the phone into recovery mode (done through ROM Manager, or SpareParts if your running the Enomothr's ROM) and select "advanced", i believe the "wipe dalvik" option will be there.
[G2 and Desire Z Android Development] swags:
Just to be clear, you're saying you can't ever completely power the phone off, under any circumstance? If so, that's a very serious problem IMO, and definitely not something I have experienced.
[G2 and Desire Z Android Development] jdm502:
i am saying exactly that.

when you select the option to power the phone completely down, it acts accordingly. BUT, after about 10 seconds (roughly), it pops the recovery screen up and will remain there until you A.) reboot, and live with it being on for the meantime until CM fixes this. or B.) in that 5-10 second window when the phone is off, pull the battery.

it definitely is considerable, but i also know people who absolutely NEVER power down their android devices....so to them this is very minor. i however, like to be easy on my device, so i like to power down every other day or so for a few hours.
[G2 and Desire Z Android Development] mjybarr:
+1 would love to have Amon_RA recovery!

Sent from Stock HotsauceMod G2
[G2 and Desire Z Android Development] jdm502:
FYI: those of you who use ClockworkMod Recovery, and your Vision/G2 will not power down without coming back on to recovery mode....

i re-flashed 2.5.1.3, instead of the updated 2.5.1.4 that i had recently updated to, and i report that my phone will actually shut down completely now. i played around on the device, and i see no problems with the revert. ill report any trouble i run into if any.
[G2 and Desire Z Android Development] xl DIGITAL lx:
How have you updated to 2.5.1.4? Its not even out??
[G2 and Desire Z Android Development] Mikey:
I'm on 2.5.1.3 and its still annoying lol

So that doesnt work for me, at least
[G2 and Desire Z Android Development] jdm502:
a few days ago, i woke up and it said "update is available for ROM manager". so i updated. it says i was in version 2.5.1.4. about 5 minutes ago, i re-flashed back to 2.5.1.3 via "all clockwork recoveries" at the very bottom of the ROM Manager app. it said "successfully flashed to xxxx". i turned her off, and no random restart into recovery mode.

im about to shut it down for 5 minutes and see if any signs of life appear.
[G2 and Desire Z Android Development] xl DIGITAL lx:
Thats weird... Try to turn off your phone and when its off, plug in your phone through USB or a regular charging cable and see if it turns on then. You have to wait about 10 seconds from when plugged it in. with 2.5.1.4.. in your case
[G2 and Desire Z Android Development] jdm502:
ok, the device WILL come back on when plugged in. BUT, that is perfectly fine with me. at least i can power the device completely down one way or another when i want to. that is a lot better than feeling forced to keep the device powered up constantly.

sorry if i mislead anyone.
[G2 and Desire Z Android Development] xl DIGITAL lx:
Oh, well yeah that is a known problem with clockworkmod itself. We'll just have to wait for an update then...
[G2 and Desire Z Android Development] jdm502:
i was just so surprised it actually stayed off at all. oh well, good things come to those who wait.
[G2 and Desire Z Android Development] dr3:
I just installed the latest clockwork recovery on my g2 with the latest rom manager and my phone stays off when i turn it off while it is unplugged.

If i plug it into the wall charger while it is powered off correctly, it boots into CW recovery after a few seconds.
[G2 and Desire Z Android Development] jdm502:
thats exactly what happens to me as well. it's happening to everyone using CM on their G2. we're all kind of waiting for a fix...
[G2 and Desire Z Android Development] sino8r:
Its not just CM... its all roms on the G2 if you are using clockwork. I say let's vote Koush off the island until he comes up with a fix ;)
[G2 and Desire Z Android Development] dr3:
so is there a way to remove this cw recovery i flashed? and possibly obtain a full backup (nandroid?) of my phone in a way that isn't so dirty?
[G2 and Desire Z Android Development] J-Hop2o6:
im wondering about that also.. i wanna re-do it.. and what do u mean full backup is dirty? backup works for me.. my phone was boot-looping, and restoring my backup fixed it.
[G2 and Desire Z Android Development] steviewevie:
I think the fact that ClockworkMod and CyanogenMod share the same initials can lead to some confusion :D
[G2 and Desire Z Android Development] steviewevie:
You can reflash the stock recovery manually if you want. But what's "dirty" about a nandroid backup, it works great ?!
[G2 and Desire Z Android Development] Davidion:
Bought the full version the other night, quite the indispensable tool.
[G2 and Desire Z Android Development] DROITURK182:
How do you go by just flashing the stock recovery and not the whole stock rom. Do you do it through fastboot and is there a forum that walks you through it.

Sent from my T-Mobile 7 inch space banana
[G2 and Desire Z Android Development] oldsk00lz:
For those talking about Koush fixing the boot to recovery when powered off and charging... I am not sure he'll have a fix anytime soon. This was posted earlier in the thread.

Would be nice if he figured it out though with a magic hex editor or somethin'.

-oldsk00lz
[G2 and Desire Z Android Development] dr3:
please forgive me for calling something dirty and not explaining. the fact that my phone can back up everything is incredible!

so i think i understand that because koush was smart enough to find a way to edit the recovery console without the source. i want to learn to do that lol.

so the htc recovery code is NOT open source? but the kernel is?
[G2 and Desire Z Android Development] steviewevie:
Oh dear. I hope someone does manage to reverse engineer it, it's an annoying problem and does get asked about a lot.
[G2 and Desire Z Android Development] xyrcncp:
Again, why not just charge the phone while its on or if trying to "charge quicker", put it on airplane mode, turn off sync, all data, etc...

I don't remember the last time I charged a phone while it was off.
[G2 and Desire Z Android Development] oldsk00lz:
Well, I know on my old G1, the best way to calibrate the battery was to charge it, then turn it off and continue charging (since it didn't fully charge when on), then clear battery stats. Hard to do that if you can't charge while powered off.

-oldsk00lz
[G2 and Desire Z Android Development] he3r0:
Because that is not how it should work. In my case I often use battery till phone powers itself down completely. And fast charge when the phone id off is a feature for me. Now I have to do all that hooplah, plug the charger, wait till it reboots in recovery, than reboots it again to the os... its inconvinient for me. Btw when it runs os ony (as per your suggestion with radio off) it still charges battery longer. (Not a really big deal, biggest hassle is to have remember to reboot from recovery after plugin)
[G2 and Desire Z Android Development] CWolfCW:
Er, so I'm getting a bit confused by the discussion. Does it actually charge when in Clockwork Recovery?

I've been trying to do the battery recalibration by charging to full, draining until auto-shut off and recharging to full. But at the moment, I'm stuck in Clockwork Recovery, should I just go ahead and reboot into OS?
[G2 and Desire Z Android Development] Stryder5:
I would like to know this as well.

If it does charge while in recovery, does the LED turn green when it's complete? Does the LED stop blinking or what?
[G2 and Desire Z Android Development] steviewevie:
I believe it does charge whilst in Clockwork, yes.

I just turned my phone off with 93% charge, plugged in the charger and it went into Clockwork with the LED amber.

I left for about 40 minutes. The LED was still amber, but I rebooted it and it reported 100% charge.

So it looks like perhaps it does charge buy the LED doesn't go green ? Or maybe it would have gone green if I'd have left it longer ? (though I thought that was enough)
[G2 and Desire Z Android Development] J-Hop2o6:
My phone led is lit green when the battery reaches 90-95% .. Not even 100% not sure why, but whatever.
[G2 and Desire Z Android Development] elracing21:
All of the g2's do this from stock.

HTC Vision S-OFF CM6.1 Rc3 Oc'd to 1.5ghz on Pershoots Kernel
[G2 and Desire Z Android Development] steviewevie:
That's why I think the LED probably won't go green whilst in Clockwork Recovery. I believe I left mine easily long enough for it to normally do so (but it stayed amber).
[G2 and Desire Z Android Development] mjybarr:
When wiping battery stats in recovery, it doesn't show that it is in progress. I wipe and it returns to my options. So I'm not for sure if it is actually wiping my battery stats or not. Anyone having the same thought as I???

HotSauceMod G2
[G2 and Desire Z Android Development] noodles2224:
Yea I have that issue with battery stats not showing progress but I I'm pretty sure it wipes as you do a full data wipe.. I think that option is there incase you want to caliborate it while using the rom for awhile..

Sent from my HTC Vision
[G2 and Desire Z Android Development] J-Hop2o6:
Same here.. I thought it was just me.. But I ran it twice just in case.. I'm sure that's just how it is, and it doesn't show u anything, until CW fixed/implements it.
[G2 and Desire Z Android Development] sino8r:
If you have root explorer or any root access file manager, you just delete /data/system/batterystats.bin.... I don't really trust CW since there is no confirmation when wiping batterystats either. Its always done that since it can out so I assume that's pretty normal but I like doing things manually...
[G2 and Desire Z Android Development] Michaelr219:
I've read every page and have seen this mentioned... but none of the solutions work for me

I permrooted using the method on theunlockr.com and s=off

I get superuser access no problem, but when I flash recovery it gets stuck on the white htc screen. I've tried to flash using the terminal method and I get flash_image doesn't exist

I can't get my phone to adb, even though it connects my other two phones... I'm literally stuck because I haven't seen my situation mirrored. Any help would be appreciated.
[G2 and Desire Z Android Development] Stryder5:
Did you try flashing through fastboot yet?

fastboot flash recovery /path/to/<recovery>.img
fastboot reboot
[G2 and Desire Z Android Development] Michaelr219:
do i have to hold vol down and power ... then go into fastboot and do it through adb?
[G2 and Desire Z Android Development] Stryder5:
Hold Vol Down + Power gets you into Hboot screen. Select fastboot from that selection. Plug it into your computer.

Get the Android SDK if you haven't already done so and install fastboot drivers if necessary. Then run the commands (similar to how adb works, except you will be using fastboot).
[G2 and Desire Z Android Development] Michaelr219:
i actually tried this method and the new sdk isnt playing nice, i have the old one installed w/ fastboot... it keeps saying i need the jdk... i installed all three versions for my specific comp and the install file isnt recognizing that i already have jre and jdk...

lol... sooo frustrating.... i feel like it was the root method, because i used the vision r14 method and i read something about it possibly corrupting the /system

clockwork wont let me install anything past 1.5.3 i tried multiple previous versions, but still not working. is there a reverse root so that i can just start over like my phone was new out of the box?

ps - thank you for the help
[G2 and Desire Z Android Development] J-Hop2o6:
Ok gotcha
[G2 and Desire Z Android Development] southpaw773:
oh. my. god. i feel so stupid! duhrrrrr. :p i thought my phone was borked because i kept using power to try to select backup. thanks for this post i never thought to try the trackpad lol. i probably didn't read all the details of the recovery tool.

got it working now. im pretty techy so i feel embarrased lol.
[G2 and Desire Z Android Development] Krisrk:
I feel like I might get flamed... but I have done some searching on here and google. I don't want to start another thread... so hopefully this is the most relevant thread?

I have permanent root, flashed clockworkmod via ROM Manager.

But in another thread it suggested after this you can also choose to do a nandroid backup. That part I am unsure about how to do? Is it as simple as just holding power and vol down and then choose "recovery" or another option?

I just want to make sure everything is safe and sound before I continue onwards. Because my next step is to OC with the kernel.

Thanks for any clarification and/or tips!

---Update... I believe I figured it out on my own. I flashed clockwork but I guess to do the nandroid backup you choose backup current rom and it brings the option up...
[G2 and Desire Z Android Development] joemm:
Just to clarifiy you did do it right, open CW, choose back up, thats it.
[G2 and Desire Z Android Development] Krisrk:
I did do it, I found a thread where everyone was arguing back and forth for a few pages about what nandroid was and just did it after reading the pages and everything worked.
[G2 and Desire Z Android Development] adrienspawn:
solved

(word limit) (word limit)
[G2 and Desire Z Android Development] WarBird87:
everytime i go to complete a backup it finishes but i get an md5sum error and when i go to flash the backup it doesnt work...

No sd-ext found. Skipping backup of sd-ext.

Generating md5 sum...

Error while generating md5 sum!

I dont know whats wrong with it... any ideas?
[G2 and Desire Z Android Development] steviewevie:
Silly question probably, but you do have an SD card in there, right ?
[G2 and Desire Z Android Development] WarBird87:
lol yes i do ;)
[G2 and Desire Z Android Development] he3r0:
No sd-ext found. Skipping backup of sd-ext.

if your sd is not partitioned you dont have to worry about this part.

if it is however, you have problem with sd i recon.

Generating md5 sum...

Error while generating md5 sum!

this part on the other hand is a problem, since if backup cant generate a checksum, if you try to load it back checksum will be either invelid or missing (file with checksum) hence it will not load backup back.

i would try to put latest recovery,maybe format sd (after backuping all the stuff you have in there) and maybe do a factory reset, and see what that will gives you.
[G2 and Desire Z Android Development] jdm502:
+1 on that.

does CW still send everyones G2 into recovery if charging the device while powered down? (sorry, i'm at work...i don't have the time to ready through the recent posts!)

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] steviewevie:
Yes, it does.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] WarBird87:
I ran an new recovery and back up and was able to restore my back up... so it works again! Thanks fellas
[G2 and Desire Z Android Development] qpop:
I've got ClockworkMod Recovery 2.5.1.3, open ROM manager and it informs me there's an update to 2.5.1.8, I keep trying to flash new version but it just gives "An error occurred while flashing your recovery."

Any ideas guys? CM 6.1.1 - Rebooted etc. etc.
[G2 and Desire Z Android Development] TL24:
There's a new Clockwork Recovery version out but I'm unable to flash it, anyone else having the same issue?

The new version is 2.5.1.8
[G2 and Desire Z Android Development] dadewy:
I'm not even sure if clockwork uses an external md5sum command so I might be off on the totally wrong track, but it can't hurt to check...

Try this from an adb shell or from a terminal session on the phone:

md5sum --help

it should get you:

BusyBox v1.17.2 (2010-09-05 04:15:58 CDT) multi-call binary.
Usage: md5sum [OPTIONS] [FILE]...
or: md5sum [OPTIONS] -c [FILE]

...and a bunch more help that's not relevant here.

If it says command not found, then that's likely the problem right there.
[G2 and Desire Z Android Development] istheGman:
Reboot and 2.5.1.8 will be gone

--

Sent from my Abacus
[G2 and Desire Z Android Development] steviewevie:
There seems to be a bug in ROM Manager where it shows you all possible versions for all phones. The trouble is that 2.5.1.8 isn't available for Vision yet, so it shouldn't really be showing you that option.

See this for a list of all the recoveries - http://koush.tandtgaming.com/recoveries/
[G2 and Desire Z Android Development] noodles2224:
So is the last version for vision in that list have the charging while off fixed or not yet? ?

HTC Vision

MIUI-12.11 V4.2 - OCed 1.4ghz
[G2 and Desire Z Android Development] Lennyuk:
no its not yet fixed
[G2 and Desire Z Android Development] Dr1zak:
Me GOts Problam...

Hi guys, I have a problam when I download the file from the links, after I downloaded the file, I get a .rar file, what do I do?? I extract it, I get many file...there is no .apk file to install...PLEASE Help!!!
[G2 and Desire Z Android Development] Ganii:
Hm,only know about "img.file" like "recovery-clockwork-2.5.1.3-vision.img".

You can flash it with Terminal Emulator app!

Put the recovery image file on the SD card (not in any folders).

4. Download Terminal from the Market if you don’t already have it and install it (there are a few different terminals in the Market some have an onscreen keyboard and some don’t experiment till you get one, also hold down Menu in some of them to bring up the onscreen keyboard if you don’t see it).

5. Open the Terminal program and type the following (with hitting enter at the end of each line):

su

flash_image recovery /sdcard/name-of-recovery.img

6. In the above text, replace name-of-recovery.img with the name of your recovery image (make sure the .img is on the end).

7. Phone should pause for a second and then show you a new blank line.
[G2 and Desire Z Android Development] steviewevie:
Or you can use fastboot to flash straight from your PC if you have the eng hboot. You will need S-OFF to flash a custom recovery, root on its own is not enough.

Sent from my HTC Desire Z
[G2 and Desire Z Android Development] Ganii:
Yes,a second option to do this!

But fastboot works only with the eng hboot,right,

don`t work if you have S-Off and Root with UBERROOT method,

right?
[G2 and Desire Z Android Development] Tomb77:
I've done this many times before with no issues. for whatever reason it doesn't recognized it. I even changed the name to recovery.img(flash_image recovery /sdcard/recovery.img) to make it simpler and no go. I dl twice incase of bad dl. Any suggestions?

edit: It is on the root of the sd card. flash_image not found is what I get
[G2 and Desire Z Android Development] apzalo:
So you have busybox installed?

Sent from my HTC Vision with CM 6.1 and Pershoot's Kernel.