[HTC EVO 3D] mpgrimm2:
6. CWM Recovery Backup, Format/Wipe, Restore, & Flash 8-22-12

6.

CWM Recovery Backup, Format/Wipe, Restore, & Flash

: ! MAKE SURE YOU READ THE NOTES IN THE OP AT THE TOP FIRST !

You CAN get into RECOVERY by: press [vol down] + [pwr] at the same time when powered off.

You CAN enter Hboot and select to boot into "Fastboot" (Fastboot USB when connected) and Recovery (if installed).

BUT… YOU MUST enter recovery via “fastboot boot” command if you want to flash kernels (ie, flash a Rom/Restore a backup). If you enter your recovery this way, you should be able to flash nearly everything like normal.

NOTE: Yes, workarounds include FlashImage, & TWRP w/DumLock, but you should get comfortable with Fastboot first!

If you are comfortable with Fastboot and want to try one of the workarounds, here's where to look:

- Joeykrim's FlashImageGui ( My extra Flashimage notes in Post 3 above )

- TeamWin's TWRP Recovery 2.0 with HtcDumlock baked in (Universal Option for any recovery also available)

- Universal DumLock Tutorial by Zedomax

- 4EXT Recovery Touch v1.0.0.5 RC1 with SmartFlash for s-on

(4ext recovery is easily installed from android via an app AND allows HTC Unlocked users a simple/consistent method for flashing roms & kernels w/o fastboot/pc and it's compatible with CWM's backups)

Sdcard/clockworkmod/ (This is the folder CWM & 4ext Recovery creates/uses.)

/backup (recovery's backup of /system, /data, /boot.img, etc. are saved here by date. You can edit the filename.)

/download (If you use CWM Rom Manager, it will place its downloads here)

After the phone has a Custom recovery, the recovery can be used to

:

1) Flash/install .zip files:

- New/rooted kernels, including boot.img files (controls how the o.s. works with hardware)

- Roms (complete /system & /data file with kernel, custom apps, modded settings)

- Bootanimations (should be correct resolution)

- Other system improvements

- Themes (modify look of phone/menus etc. Specific to each phone (Evo3D) & FW/radio Base (ie 2.08.651.3)

Must clear "dalvik cache" & flash "deodexed template" or deodexed Rom, boot to system, before flashing each theme).

2) Make .tar backups of /system, /data, & /cache. Also backs up /boot ( boot.img or Kernel), /recovery (recovery.img ), /wimax (wimax.img ), that can be restored, usually together.

Note: Format the appropriate partition before restoring. (Usually format/wipe the first 3.)

It’s a good idea to make an initial stock backup right after you install the custom recovery. Then you can just format, restore the backup, and relock to be full stock again.

3) Format/wipe the 3 main partitions and flash other partitions (Evo3D default filesystem is EXT4 ):

/system (o.s., system apps)

/data (google acct, app & phone settings, downloaded/installed apps)

/cache (used by o.s. to access info/apps, includes "/dalvik cache")

----------------------------------------------------------------------------------------------------------------------------------------

Controls:

[ Vol Up/Dwn ] = move or highlight selection

[ Power ] = select item/option (press all the way down)

Note: On CWM Touch version HW controls still work. Mount USB Storage & USB Charging don’t work yet.

Unlocked HBoot 1.50 and S-On Notes

:

- Can’t flash Boot Logo’s with HBoot 1.50 and S-On

- Can’t flash Radios (for cellular data) with Hboot 1.50 and S-On. Must “relock” bootloader and flash official Ruu’s.

- Must enter recovery via “fastboot boot” command if you want to flash kernels (ie, flash a Rom/Restore a backup).

How to Flash a Zip (Generally):

Place the .zip on the SDcard (or Sdcard/zip or similar folder of your choice)

Boot to recovery via fastboot command. Type: fastboot boot YourRecoveryFilename.img (Not always necessary)

-> ADVANCED -> WIPE DALVIK CACHE (habit of mine)

-> INSTALL ZIP FROM SD CARD -> CHOOSE ZIP FROM SDCARD

-> LEAVE RECOVERY -> REBOOT TO SYSTEM

How to flash a rom (Geneally):

- Make a backup in recovery first (/system, /data, /cache, etc)

- Format/wipe the 3 partitions as appropriate.

(some Rom zips will do this for you, but may require a specific recovery coding such as “Edify” in CWM).

- Flash the Rom.zip (or any rom's zip depending on your baseband)

- Reboot to system, let it load, Verify functions

How to flash a theme (Geneally):

- Go to recovery, Wipe " Dalvik Cache ",

- Flash the " Stock Deodex Template" or Deodexed Rom (Depending on your baseband)

- Reboot to system, let it load, Verify functions

- Go To recovery, ADVANCED, Wipe "dalvik Cache"

- Flash the theme you want, ie GreenSteel.zip

- Reboot to system, let it load, Verify functions

Note: Anytime you wipe dalvik cache it will take longer to boot the first time.

Back up & Restore your file system with CWM recovery (DETAILED)

1 - (Enter Recovery via fastboot command prompt. Type: fastboot boot YourRecoveryFilename.img )

-> BACKUP AND RESTORE -> BACKUP (This will separately backup: boot.img, /system, /data, /cache, wimax.img, etc)

* NOTE: you can stop here if you just want a backup*

2- (Format Manually through Recovery)

-> WIPE DATA/FACTORY RESET ( this will format the DATA & CACHE partitions for you in one shot )

-> MOUNTS AND STORAGE -> FORMAT SYSTEM

-> FORMAT DATA (Optionally there if needed, i.e. to restore only data partition)

-> FORMAT CACHE (Optionally there if needed)

4- (Restore Manually through Recovery)

-> BACKUP AND RESTORE -> CHOOSE YOUR BACKUP

-> RESTORE (This will restore all parts of the backup: /system, /data, & /cache, /boot [ boot.img or Kernel], /recovery [recovery.img], /wimax [wimax.img], SD-EXT if setup )

Note: If there is more than one, the numbers are a date/time stamp (ie: 2012-02-16.06.14.40 is Feb.16, 2012 at 6:14AM), so choose the appropriate one. I typically change the name later, ie: "2012-02-16 651.5MeanRom6 ".

4.1- ADVANCED OPTION (Restore portions of backups individually)

-> ADVANCED RESTORE -> CHOOSE YOUR BACKUP IMAGE ( /system, /data, /cache, /boot, /recovery, /wimax, SD-EXT)

-> RESTORE

5- (Reboot)

-> LEAVE RECOVERY -> REBOOT TO SYSTEM

Flash a ROM with CWM recovery

(DETAILED. From Scenario 6)

1 - (Enter Recovery via fastboot command prompt. Type: fastboot boot YourRecoveryFilename.img )

-> BACKUP AND RESTORE -> BACKUP (This will separately backup: boot.img, /system, /data, /cache, wimax.img, etc)

2- (Format Manually through Recovery)

-> WIPE DATA/FACTORY RESET ( this will format the DATA & CACHE partitions for you in one shot )

-> MOUNTS AND STORAGE -> FORMAT SYSTEM

3- (Flash ROM’s zip)

-> INSTALL ZIP FROM SD CARD

-> CHOOSE ZIP FROM SD CARD (i.e. MeanRom.zip)

4- (Reboot)

-> LEAVE RECOVERY -> REBOOT TO SYSTEM

----------------------------------------------------------------------------------------