[HTC EVO 3D] mpgrimm2:
Unlocked Hboot 1.50 fastboot Cmd Good/Bad Scenarios

Here is a step by step breakdown of 7 HBoot 1.50 Scenarios I went through after reading & following directions from the various threads that have been suggested to follow:

Note:

- These start from Android os with phone connected via USB (usb debug enabled), but you can manually boot to the bootloader/hboot and continue in fastboot mode once you see "fastboot USB" at the top of the phone screen.

- goto Settings -> Power -> Fast boot (uncheck/disable it)

- start CMD Prompt within your android sdk tools or platform tools folder or where ever you copied the ADB.exe, fastboot.exe, etc files to.

(shortcut: locate/open adb folder, press [shift] + [left click] and choose "open cmd window here" )

(SDX) Gathered ADB/Fastboot Commands Reference from other posts:

ADB & Fastboot Cmds 1-25-12.doc http://www.mediafire.com/download.php?o8hg11g7zw2cgo0

Note2: ADB & Fastboot filenames/commands have to EXACTLY match (cAsE too) the recovery filename.img file that is in the adb folder AND installed on the phone to work...

Ie

fastboot flash recovery command:

Type: fastboot flash recovery YourRecoveryFilename.img

Fastboot boot to recovery cmd:

Type: fastboot boot YourRecoveryFilename.img

ie: cwm-4.0.1.4-shooter.img ( RecoveryFilename.img )or just copy & paste the full filename vs typing.

(XDA) Attn1's [Info] After Revolutionary: install Clockworkmod, root & more: (Su 3.0 zip also)

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

UPDATE 2-1-12:

Here's the latest: recovery-clockwork-touch-5.8.0.2-shooter.img (USB Mounting/charging don't work yet, everything else works.)

http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-shooter.img

MD5: 5f0e65bf2e408a9b39b7b9fc9ce63ce8

and here's the main CWM Link: http://www.clockworkmod.com/rommanager

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

Scenario 1 – Load CWM 5 Recovery via fastboot (started from android OS)

(note: This should work but this particular file appears to be incompatible with my unlocked Hboot1.5 & S-On)

C:\Android>adb reboot bootloader (reboot phone to hboot/fastboot via adb cmd)

C:\Android>fastboot flash recovery recovery-clockwork-5.0.2.0-shooter.img (flash CWM 5 via fastboot cmd)

sending 'recovery' (4726 KB)...

OKAY [ 1.139s]

writing 'recovery'...

OKAY [ 8.752s]

finished. total time: 9.890s

C:\Android>fastboot boot recovery-clockwork-5.0.2.0-shooter.img	(boot to CWM recovery 5 via fastboot cmd)

downloading 'boot.img'...

OKAY [ 1.139s]

booting...

OKAY [ 0.000s]

finished. total time: 1.139s	(Phone vibrates and reboots to OS, not recovery)

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

Scenario 2 – Load DC13’s Rom (Ti-X_3D_V1.zip) via FlashImage & TWRP Recovery 1-25-12:

(note: This process appears to have failed due to bad Rom file/DL and should work with TWRP 2.0rc0.1! See Scenario 5 & 6)

C:\Android>adb reboot bootloader (Phone reboots to hboot/fastboot via adb cmd)

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

* daemon started successfully *

C:\Android>fastboot flash recovery twrp-shooter-2.0.0RC0.1.img	(flash TWRP via fastboot cmd)

sending 'recovery' (4294 KB)...

OKAY [ 1.076s]

writing 'recovery'...

OKAY [ 10.109s]

finished. total time: 11.185s

C:\Android>fastboot reboot-bootloader	(reboot to hboot/fastboot)

rebooting into bootloader...

OKAY [ 3.307s]

finished. total time: 3.307s	(Phone Entering HBOOT)

Hboot ->bootloader -> Recovery	(boot into TWRP)

Made a backup and rebooted to oS.

Ran FLashImage to flash kernel from Rom.	(FIG extracts Rom’s kernel & modules & flashes)

C:\Android>adb reboot bootloader

(Phone enters hboot/fastboot via adb cmd)

Hboot -> bootloaded ->Recovery (TWRP)

Wiped : data x2, system, cache, Dalvik cache

Flashed rom Zip (Ti-X_3D_V1.zip)

Rebooted to OS

Phone boots up to full stock Evo3D rom & kernel (not DC13’s rom).

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

Scenario 3 – Load CWM Recovery 4.0.1.4 & DC13’s Rom & Kernel (Ti-X_3D_V1.zip) via fastboot/recovery

UPDATE: This process appears to have failed due to bad Rom file/DL and should work! See Scenario 5 & 6.

( Rom’s “boot.img “copied to android adb folder)

C:\Android>adb reboot bootloader	(phone boots to hboot)

C:\Android>fastboot flash recovery cwm-4.0.1.4-shooter.img	(flash CWM Recovery via fastboot cmd)

sending 'recovery' (4832 KB)...

OKAY [ 1.154s]

writing 'recovery'...

OKAY [ 10.124s]

finished. total time: 11.279s

C:\Android>fastboot boot cwm-4.0.1.4-shooter.img	(boot to CWM Recovery via fastboot cmd)

downloading 'boot.img'...

OKAY [ 1.154s]

booting...

OKAY [ -0.000s]

finished. total time: 1.154s

(phone enters “Revolutionary CWM v4.0.1.4)

Wipe : data x2, (cache, Dalvik cache, android_secure)

Mounts & Storage … Format: /system

C:\Android>adb reboot bootloader	(phone reboots to hboot/fastboot)

C:\Android>fastboot flash boot boot.img	(flash rom’s extracted boot.img file copied earlier)

sending 'boot' (3622 KB)...

OKAY [ 0.983s]

writing 'boot'...

OKAY [ 8.486s]

finished. total time: 9.469s

C:\Android>fastboot boot cwm-4.0.1.4-shooter.img	(boot to CWM Recovery via fastboot cmd)

downloading 'boot.img'...

OKAY [ 1.154s]

booting...

OKAY [ 0.000s]

finished. total time: 1.154s

(phone enters “Revolutionary CWM v4.0.1.4)

Flashed rom Zip (Ti-X_3D_V1.zip)

C:\Android>adb reboot	(phone reboots to android os)

Phone boots up to full stock Evo3D rom & kernel (not DC13’s rom).

End of line (tron quote).

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

Scenario 4: Quick summary of attempted restore of my CWM 4 backup:

- booted to CWM recovery (via "fastboot boot" recovery-name.img cmd)

- wiped data ( includes dalvik cache )

- formatted /system

- restored my "651.5 RootnApps" backup

- CWM indicated "restore complete"

- reboot to OS

- Phone boots to rooted Stock OS & Kernel (from my backup!). Verified root/busybox with JK's Root Check app.

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

Scenario 5 – Load Qnhoang's Rom & Kernel (QRS-Beta3.0.zip) using FlashImage & CWM Recovery 4.0.1.4

http://forum.sdx-developers.com/?topic=18230.0 Note: I renamed/shortened the zip filename.

[from JoeyKrim's directions]

HTC Unlock - Hboot 1.5 Users Guide for ROMs with a Kernel (boot.img file):

1) Unlock using HTC method for Hboot 1.5 users

2) Load this application, Flash Image GUI, onto the device.

3) Download ROM .zip file to the sdcard on the device ( /sdcard/sdx/QRS-Beta3.0.zip ).

4) Open up Flash Image GUI, select Browse and select the ROM .zip file, downloaded to /sdcard in the previous step.

5) Flash Image GUI will provide a warning, reminding that the ROM .zip file will *need* to be flashed in the custom recovery afterward.

6) Flash Image GUI will index the full ROM .zip file searching for the kernel and kernel modules. Once located, the Flash Image button should be enabled.

7) Select the Flash Image button and Flash Image GUI will load the kernel modules and kernel from inside the ROM zip file. [F.I. said successful]

skipped - 8 ) Once completed, turn off the device. (Assuming you've already loaded a custom recovery)

skipped - 9) Hold volume down + power to boot into the bootloader. Select recovery.

NEW - 8 ) Once completed, got a prompt to "reboot recovery" and selected that option vs. power down & rebooting to enter recovery (cwm 4.0.1.4)

NEW - 8.5) (phone enters “Revolutionary CWM v4.0.1.4)

Wipe : data, (cache, Dalvik cache, android_secure)

Mounts & Storage … Format: /system

9) Inside the custom recovery, load/flash the ROM zip file "QRS-Beta3.0.zip" . (CWM 4.0.1.4 shows competed).

10) Reboot to normal Android mode and all should work including Wifi!

Outcome: Phone rebooted and every thing loaded correctly.

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

Scenario 6 – Load Qnhoang's Rom & Kernel (QRS-Beta3.0.zip) via fastboot & CWM Recovery 4.0.1.4

(Started from android os, CWM Recovery 4 previously installed)

C:\Android>adb reboot bootloader	(phone boots to hboot)

C:\Android>fastboot boot cwm-4.0.1.4-shooter.img	(boot to CWM Recovery via fastboot cmd)

downloading 'boot.img'...

OKAY [ 1.154s]

booting...

OKAY [ -0.000s]

finished. total time: 1.154s

(phone enters “Revolutionary CWM v4.0.1.4)

Wipe : data, (cache, Dalvik cache, android_secure)

Mounts & Storage … Format: /system

Flashed rom Zip (QRS-Beta3.0.zip)

Reboot to OS

Phone reboots to new Rom & Kernel.

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

Scenario 7 - Load CWM 4.0.1.4 or CWM Touch 5.8.0.1 Recovery via fastboot and install Su binary/app.

Get the following files here (Attn1's Thread): http://xdaforums.com/showthread.php?p=14693680#post14693680

cwm-4.0.1.4-shooter.img (put in ADB/fastboot folder & keep it there)

MD5: 296b356378f70d963081ad07a1507ff0

su-3.0-efgh-signed.zip ( put on root of phone's sdcard )

MD5: C05902FDF90F7635C711E4DCD1C32C45

UPDATE: I recommend the new CWM Touch Recovery v5.8.0.1 and it loads correctly!

http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.1-shooter.img

MD5: 4af206699e1cad1fcd0fde8736f8b4f8

Here's the latest: recovery-clockwork-touch-5.8.0.2-shooter.img (haven't tried it yet)

http://download.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.0.2-shooter.img

MD5: 5f0e65bf2e408a9b39b7b9fc9ce63ce8

and here's the main CWM Link: http://www.clockworkmod.com/rommanager

type: adb reboot bootloader (phone boots to hboot, should see "fastboot USB" )

type: fastboot flash recovery cwm-4.0.1.4-shooter.img (flash CWM Recovery via fastboot cmd)

(or replace with: fastboot flash recovery recovery-clockwork-touch-5.8.0.1-shooter.img )

sending 'recovery' (4832 KB)...

OKAY [ 1.154s]

writing 'recovery'...

OKAY [ 10.124s]

finished. total time: 11.279s

Type: fastboot boot cwm-4.0.1.4-shooter.img (boot to CWM Recovery via fastboot cmd)

(or replace with: fastboot boot recovery-clockwork-touch-5.8.0.1-shooter.img )

downloading 'boot.img'...

OKAY [ 1.154s]

booting...

OKAY [ -0.000s]

finished. total time: 1.154s

(phone enters “Revolutionary CWM v4.0.1.4 or Touch v5)

select: install zip from sdcard

locate file: su-3.0-efgh-signed.zip and install it.

reboot to OS

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

This is more or less from the follow guide that I followed:

(HtcEvoHacks) NEW - How to Root Evo 3D! [2.08.651.2 and Later] [Hboot 1.50 HTC Unlock Method & CWM Recovery] WITH VIDEO!

http://htcevohacks.com/htc-evo-3d-hacks/how-to-root-evo-3d-2-08-651-2-and-later-htc-unlock-method/

Similar links/info:

AFuddyDuddy's Walkthru (p38):

http://xdaforums.com/showpost.php?p=19900096&postcount=371

(XDA) JTniggle's [GUIDE] HTC Unlock Hboot 1.50 + TWRP Recovery + Root + Flash!! [9.11.11] (All via ADB)

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

Just a note: You can add the word "recovery" to the any recovery image filename ( recovery-cwm-4.0.1.4-shooter.img ) and should be able to flash it from android with Jk's FlashImage app and skip flashing it with fastboot. You can then boot to the recovery (with quickboot or with phone off.. PWR + Vol DN) and flash the SU zip from recovery. But, you will have issues restoring backups if you don't enter recovery via fastboot cmd).