[RECOVERY] ClockworkMod Recovery for G2

Search This thread

Koush

Retired Recognized Developer
Sep 21, 2007
917
872
Installation instructions:
  1. YOUR PHONE MUST ALREADY BE S-OFF. SEE THE OTHER THREADS IN THIS FORUM ON HOW TO DO THAT.
  2. I recommend getting on Wi-Fi.
  3. Download ROM Manager from the Market. You MUST have at least 2.5.0.6.
  4. Flash Recovery.
  5. Choose G2 as your phone.
  6. Accept the Superuser prompt.
  7. Use ROM Manager to create a Backup.
  8. Watch the backup go!

That's it! This is completely painless and safe!

If you appreciate my work, please buy the Premium version of ROM Manager!

If you can't seem to get ROM Manager off the market, you can get it from my homepage:
http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html
http://koush.tandtgaming.com//recoveries/RomManager.apk

Or to manually install the recovery via fastboot, use this:
http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.1.2-vision.img
 
Last edited:

Dalamak

Senior Member
Dec 2, 2008
301
8
Newark
Got the premium key off the market, but it doesnt list g2 in device selection

Sent from my T-Mobile G2 using XDA App
 

yayitzben

Member
Oct 10, 2010
22
0
I keep getting an error message "can't open cache\recovery\command" upon reboot when I try to create a backup. Any ideas?
 

~~Tito~~

Retired Forum Moderator
Jun 30, 2007
3,306
202
Any reason selecting reboot in the recovery causes it to just black screen, and then pushing power button returns it to the recovery?
 

funkeee

Senior Member
May 25, 2010
292
13
Oh my God!!!! I followed your instructions and clicked backup current ROM and it rebooted and now I have a red triangle. What do I do?
 

cyprusxr3

Member
Oct 13, 2010
7
1
Seattle
Any reason selecting reboot in the recovery causes it to just black screen, and then pushing power button returns it to the recovery?

Be sure to use the trackpad (button below the screen) and not the power button for "select". Power button is "back".

Oh my God!!!! I followed your instructions and clicked backup current ROM and it rebooted and now I have a red triangle. What do I do?

This happened to me (and a few others in the other thread). Pull the battery, restart, reflash recovery (via rom manager), fix permissions (via rom manger, might not be needed), start a new backup. Should work.

(Thanks temjinzero for this method)

Thanks Koush for an awesome job!
 
Last edited:
  • Like
Reactions: southpaw773

funkeee

Senior Member
May 25, 2010
292
13
If your phone restarts while in Clockwork after flashing and gives you a screen with a red triangle, do not panic and start using it as a paperweight immediately.

Pull the battery, reboot and reflash Clockwork.

I wasn't able to boot again for a few minutes after the battery pull. The power button did not have any effect. Not fastboot nor regular boot. After 2-3 minutes of pain, utter pain, I was able to get into fastboot, then reboot like normal.

Thank you to Koush, cyprusxr3 and mdel.
 

amack10

Senior Member
Aug 4, 2009
318
11
If you do not see g2 liste go to settings/applications/manage downloaded/rommanager and push clear cache clear data bam fixed
 

~~Tito~~

Retired Forum Moderator
Jun 30, 2007
3,306
202
Ahh the touch pad, from what I was hearing, it wasn't working lol.

Just installed beacon bits lol.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Installation instructions:
    1. YOUR PHONE MUST ALREADY BE S-OFF. SEE THE OTHER THREADS IN THIS FORUM ON HOW TO DO THAT.
    2. I recommend getting on Wi-Fi.
    3. Download ROM Manager from the Market. You MUST have at least 2.5.0.6.
    4. Flash Recovery.
    5. Choose G2 as your phone.
    6. Accept the Superuser prompt.
    7. Use ROM Manager to create a Backup.
    8. Watch the backup go!

    That's it! This is completely painless and safe!

    If you appreciate my work, please buy the Premium version of ROM Manager!

    If you can't seem to get ROM Manager off the market, you can get it from my homepage:
    http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html
    http://koush.tandtgaming.com//recoveries/RomManager.apk

    Or to manually install the recovery via fastboot, use this:
    http://koush.tandtgaming.com/recoveries/recovery-clockwork-2.5.1.2-vision.img
    3
    Sorry for the wait.

    sorry for the slow response... busy with the dayjob... I'm sure you understand. If you can mirror it, be my guest... hopefully megaupload allows more downloads. :D

    http://www.megaupload.com/?d=F5RZQV26
    3
    solved? sorta?

    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

    yes it does happen with 3.x recovery

    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.
    2
    Everytime I have my charger plugged and turn the phone off, it goes straight to recovery mode and I can turn it off fully :confused:

    Anyone else have a similar problem? :mad:

    Simple answer:
    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.

    From the developer:
    The G2 boots into "recovery" when powered off and charging to show you the charge icon. It's a special mode. This will probably never be fixed, because HTC's recovery code is not open source, so I would not know how to fix it.

    New development posted just 15 posts prior to your question:
    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.

    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).
    2
    OffMode Charging

    The G2 boots into "recovery" when powered off and charging to show you the charge icon. It's a special mode. This will probably never be fixed, because HTC's recovery code is not open source, so I would not know how to fix it.

    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