• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [CDMA] Complete Newbie's Guide to rooting and flashing Evo 3D ROMs/Kernels using fastboot

jerofld

Fixing stuff is not easy
May 10, 2011
7,683
4,269
Over there <points>
Hide tags are now fixed! You should now see the guide as it was written!

This is a guide to walk users through installing the Android SDK and using fastboot and ADB. While meant for people on HBOOT 1.5 and above who have no other choice other than to deal with fastboot at some point, these commands can be used by previous HBOOT users to help recover their device in case of catastrophic failure. This is not a programming guide. For a programming guide, please go to the Developer 101 forum.

So let's get started!

This is for the Sprint version of the HTC Evo 3D (CDMA). For the GSM version, please see the second post.

Also note: This WILL wipe out your settings, apps, et cetera. Please make any/all necessary backups before proceeding.


Step 1) How to install and configure the Android SDK

First, you need to download a lot of software. So here are the download links:

1) HTC Sync is needed to link your phone to your computer with the proper drivers. On XDA they link the HTC drivers by themselves. These are fine, but I can't find a direct link on the HTC site, so I'm linking HTC Sync.

2) Mini-SDK is a multiple platform set of fastboot and ADB so that you do not have to download the full Android SDK. It is easier to use, too. Just download sdk-tools.zip and extract it to your hard drive. I'll assume that most of you are using Windows, and for this tutorial, I'll extract Mini SDK to C:\sdk-tools. But Mini-SDK has Mac and Linux versions included in the zip file, so all are supported here.

Alternatively, if you want to install the full Android SDK, you can do so by following this guide.

Step 2) Picking the recovery, ROM, and kernel you want to use.

For the purpose of this tutorial, I will be using the following items:

TeamWin Recovery Project (TWRP) version 1.1.1 - Recovery

Stock Deodex ROM: OTA_Shooter_ICS_35_S_Sprint_WWE_2.89.651.2-2.17.651.5 - xda-developers You just need the download from Step 3. Ignore the other files. You can substitute any Evo 3D ROM, however.

Alternatively, you can install the SU Patch.
[2014.05.18] SuperSU v1.94(PLAY) v1.99r4(ZIP) - xda-developers
This will work for ICS and Gingerbread.

For the sake of this tutorial, we will be getting the fastboot (called img) version of TWRP 1.1.1. So let's begin:

First, go into Control Panel for Windows. Go to Folder Options. Go to the View tab. Now uncheck the box that says "Hide extensions for known file types". This will make things so less confusing in the long run. If you know what file extensions are and don't feel the need to do this, fine. Just know that all file names that I will list here will assume that file extensions are shown.

Second, download TWRP and the ROM. The stock ROM I'm using is on the above mentioned URL and is the very last link. You can substitute any ROM for the stock ROM, this process is the same, regardless.

Next, move the ROM to your SD card. You can do this by enabling the phone in Disk Mode or any other method. I recommend you make a subfolder called 'ROMs'. It can be named anything, but I have my ROMs in a folder called 'ROMs' on my SD card, and I'm going to reference everything in that directory.

Now, rename the file 'recovery-twrp-shooter-1.1.1.img' to 'recovery.img'. You don't have to do this, but it's just easier if you do. Place this file in your sdk-tools folder.

Step 3) Opening the command prompt and getting ready for entering fastboot.

Now, click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now we need to go to the Mini SDK folder. If you installed it in the same directory I did, you can copy (or type):

Code:
cd C:\sdk-tools
Now go back into your command prompt and right click on it. Click paste and then push enter. You should now be in the mini SDK directory. If you have Windows 7, you can go to your mini SDK folder and right click on the folder and click "Open command window here" as an alternative means than copying and pasting (thanks to mteezey for the tip). To check that you are in the right folder, you can type 'fastboot' then enter, you should get this:

Code:
C:\sdk-tools>fastboot
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot + recovery + system
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> ]              download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  devices                                  list all connected devices
  continue                                 continue with autoboot
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader
  help                                     show this help message

options:
  -w                                       erase userdata and cache
  -s <serial number>                       specify device serial number
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address
  -n <page size>                           specify the nand page size. default:
2048

C:\sdk-tools>

Step 4) Unlocking with HTC Dev

If you haven't already unlocked your bootloader using HTC DEV Unlock (or Revolutionary if you have HBOOT 1.3 or 1.4), we will do so now.

If you plan on using Revolutionary, pleast read this thread: [GUIDE] How to Root the HTC EVO 3D [Video Walkthrough] - xda-developers

If you have HBOOT 1.5, you cannot use Revolutionary and must use HTC Dev. This guide will assume you have HBOOT 1.5.

For the record: I hate HTCdev. Many users have problems with it. If you have problems with this next section, please send feedback to HTCdev explaining how their process is overly complicated and has issues. But do so politely, please.

Step 1) Getting into fastboot.

First, let's turn off one of HTC's defaulted on features. So let's turn off the very frustratingly named 'Fast Boot' in Settings > Power. No, this is not 'fastboot' in the Android SDK. This is a feature that is like Hibernate in Windows but for HTC devices. I really hate how HTC calls it this, but that's what they decided to call it.

Next, go to Settings > Applications > Development and check USB Debugging. You'll need this enabled for the adb reboot command. Plus a number of rooting apps require it. Give the computer a few minutes to recognize your phone, install drivers, and so on, if it needs to.

Connect your phone to your computer. From now until you're done flashing your ROM, you will not disconnect the USB cable. So don't even think about it!

Quick tip: Do NOT connect to a USB 3.0 port. For some reason, fastboot will not detect your device if you're connected through a USB 3.0 port. If you're unsure if you have a USB 3.0 port, don't worry about it unless your fastboot commands say that they're waiting for device when the device is hooked up.

Now, in the command prompt, type (or copy and paste):

Code:
adb reboot bootloader
You should now be in your bootloader. It should say "FASTBOOT USB" in red highlight. If so, this is good! If not, make sure HBOOT in the menu is highlighted and push the power button. This will change it to FASTBOOT and it'll detect that it's connected to USB and change in a few seconds. Now type (or copy):

Step 2) Getting the device identifier token and then flashing unlock_code.bin

Type the following command in the command prompt:

Code:
fastboot oem get_identifier_token
A long text boxes will come up. Right mouse button click on the screen and click mark. Then highlight the token from <<<< Identifier Token Start >>>> to <<<<< Identifier Token End >>>>>, like shown:

bootloaderimage.png
infoimage.png

Do not highlight info or bootloader or any extra spaces or text. Once you have done that, right click again and hit copy.

Now go to HTCdev - Unlock Bootloader and fill out the forms and paste the code into the device identifier token box and submit. If you're having trouble with the HTC dev site, please disable any pop up blockers, anti-viruses, and/or firewalls (temporarily). You'll get an email (check your spam folder) with your unlock_code.bin. Once your receive it, transfer that file into your C:\sdk-tools\ folder. Now go back to your command window and type:

Code:
fastboot flash unlocktoken Unlock_code.bin
The unlock token should give you a prompt to accept the unlock code or not on the phone. Push volume up to accept. The phone should now reboot for you (so that you'll be back in Android). If it doesn't you can do it manually by reinserting the battery and then holding Vol down + power. You should now see UNLOCKED displayed at the top. If so, congratulations, you are now unlocked!

If you still see "LOCKED" or have any problems:
If it still shows as "LOCKED" or you still have problems flashing the token, you have to flash the RUU. Here is a guide on how to do that: http://androidforums.com/evo-3d-all...oot-1-5-firmware-upgrade-ruu-flash-guide.html

After the RUU is completed, try to flash the unlock code again.

Step 5) Let's install then boot into recovery!

Now we need to get back into the bootloader. Here's how to do it, if you don't remember how to do it (and so you don't have to go back to a previous step):
We need to turn off one of HTC's defaulted on features. It is the very frustratingly named 'Fast Boot' in Settings > Power. No, this is not 'fastboot' in the Android SDK. This is a feature that is like Hibernate in Windows but for HTC devices. I really hate how HTC calls it this, but that's what they decided to call it.

Next, go to Settings > Applications > Development and check USB Debugging. You'll need this enabled for the adb reboot command. Plus a number of rooting apps require it. Give the computer a few minutes to recognize your phone, install drivers, and so on, if it needs to.

Connect your phone to your computer. From now until you're done flashing your ROM, you will not disconnect the USB cable. So don't even think about it!

Quick tip: Do NOT connect to a USB 3.0 port. For some reason, fastboot will not detect your device if you're connected through a USB 3.0 port. If you're unsure if you have a USB 3.0 port, don't worry about it unless your fastboot commands say that they're waiting for device when the device is hooked up.

Now, in the command prompt, type (or copy and paste):

Code:
adb reboot bootloader

You should now be in your bootloader. It should say "FASTBOOT USB" in red highlight. If so, this is good! If not, make sure HBOOT in the menu is highlighted and push the power button. This will change it to FASTBOOT and it'll detect that it's connected to USB and change in a few seconds.

Now type (or copy):

Code:
fastboot flash recovery recovery.img
This now flashes TWRP 1.1.1 that we downloaded earlier. A vertical green progress bar will be displayed on the right. If it returns a command like 'file not found'. Make sure you renamed the recovery-twrp-shooter-1.1.1.img to recovery.img. If it still doesn't work, make sure the recovery file is in the C:\sdk-tools\ folder. Can you just change the command to read "fastboot flash recovery recovery-twrp-shooter-1.1.1.img"? Yes, but it makes the next command tougher to type every time you want to flash something. So renaming it once before you flash is easier than typing it every single time you want to access the recovery through fastboot.

Now type (or copy/paste):

Code:
fastboot boot recovery.img

Step 6) Before you do anything, it's time to make a backup.

Now that we have TWRP 1.1.1 installed, we should make a back up. This is done by using the volume keys and pushing power as enter. Now you have a few options. You can back up as much or as little as you want. But I'd recommend that you backup:

System
Data
Boot
Wimax

Everything else is optional, in my opinion.

Step 7) Flashing the ROM

TWRP 1.1.1 has capacitive buttons that work, so hit the back button. To flash a ROM/Kernel, do the following:

1) Go to Wipe Menu

A) Wipe Cache
B) Wipe Dalvik Cache
OPTIONAL) Wipe Everything (Data Factory Reset) - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the stock ROM, this isn't necessary. But if you're on HBOOT 1.5 and used HTC Dev, you did a factory reset anyways, so it can't hurt.

2) Go back and now go to Install Zip.

A) Choose Zip
B) Go to the folder ROMs/
C) Select the ROM you want to flash (Shooter_S_Sprint_WWE_2.17.651.5_odex.zip for example)
D) If you're flashing another kernel, you would find your kernel and by selecting Choose Zip and finding the kernel file. The kernel must be selected AFTER the ROM is selected, or else the kernel built into the ROM will overwrite the kernel you want to flash.
E) Check 'Reboot After Successful Flash' - this is just a nice feature of TWRP that makes it so you don't have to pay attention to the flashing process.
F) Flash Zips Now

3) Sit back and relax. The flash is going to take 3 or so minutes. Then it'll reboot. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal. So let it do it's thing. If 10 minutes goes by, check for bootlooping. Every boot animation has a start animation and then a repeat animation. If you see the start animation a second time in a boot cycle, you may have a bootloop problem. If so, pull out the battery (or push vol up + down + power) then push vol down + power to get into the bootloader. Your USB cable should be connected still, so make sure it shows 'FASTBOOT USB' again. If so, type 'fastboot boot recovery.img' in the command prompt to go back into recovery. Wipe everything again (data, dalvik and cache) and try a reflash.

If successful, congradulations! You flashed a recovery, ROM and kernel by using fastboot!

Quick Guide) Flashing another ROM

Let's say you want to flash a new ROM. Here's how to do it:

If you're starting in Android, connect your USB cable. Then click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now what you type or copy/paste will depend on your version of Windows and where you installed the Android SDK.

If you have the full Android SDK and 32-Bit Windows copy this:
Code:
cd C:\Program Files\Android\android-sdk\platform-tools

If you have the full Android SDK and 64-Bit Windows copy this:
Code:
cd C:\Program Files (x86)\Android\android-sdk\platform-tools

If you use Mini SDK, copy this:
Code:
cd C:\sdk-tools

Then type:

Code:
adb reboot bootloader
When the bootloader appears, type:

Code:
fastboot boot recovery.img
You're now in recovery. Make a backup if you wish, then:

1) Go to Wipe Menu

A) Wipe Cache
B) Wipe Dalvik Cache
OPTIONAL) Wipe Everything (Data Factory Reset) - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the stock ROM, this isn't necessary. But if you're on HBOOT 1.5 and used HTC Dev, you did a factory reset anyways, so it can't hurt.

2) Go back and now go to Install Zip.

A) Choose Zip
B) Go to the folder ROMs/
C) Select the ROM you want to flash (Shooter_S_Sprint_WWE_2.17.651.5_odex.zip for example)
D) If you're flashing another kernel, you would find your kernel and by selecting Choose Zip and finding the kernel file. The kernel must be selected AFTER the ROM is selected, or else the kernel built into the ROM will overwrite the kernel you want to flash.
E) Check 'Reboot After Successful Flash' - this is just a nice feature of TWRP that makes it so you don't have to pay attention to the flashing process.
F) Flash Zips Now

3) Sit back and relax. The flash is going to take 3 or so minutes. Then it'll reboot. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal. So let it do it's thing. If 10 minutes goes by, check for bootlooping. Every boot animation has a start animation and then a repeat animation. If you see the start animation a second time in a boot cycle, you may have a bootloop problem. If so, pull out the battery (or push vol up + down + power) then push vol down + power to get into the bootloader. Your USB cable should be connected still, so make sure it shows 'FASTBOOT USB' again. If so, type 'fastboot boot recovery.img' in the command prompt to go back into recovery. Wipe everything again (data, dalvik and cache) and try a reflash.

If successful, congradulations! Enjoy the new ROM/Kernel!

(Optional) Installing 4EXT - Highly Recommended!

There is a recovery that makes it really easy for HBOOT 1.5 people to flash ROMs and kernels. It's called 4EXT Touch Recovery. If you're familiar with ROM Manager, you'll love this app/recovery. You can control every aspect of your phone's recovery from an app. Best of all, even with S-ON Unlocked, you can flash kernels without using fastboot. Just go to their website to get the free version that comes with a 3 day trial of the full version, or get the full version. After you're done with the trial, I'm sure most of you will want the full version. It makes everything easy. I use it, too, and I'm on HBOOT 1.4 :p

To install, download/install the app (free or paid) and open it. Give it SuperUser permissions and then click through all the pop up dialogs. Push the install button at the top. Indicate if you are S-ON or not (if you had to unlock with HTC, then you click yes). And it installs. And after 5 minutes of running the free version, your trial for the full version starts. So come back in 5 minutes and reload the app (by pushing the back button until you get back to the desktop and relaunch). If you're on the paid version, you can just start using the app immediately.

Now go to recovery and you can do everything you would normally do in recovery, but it's fully automated once you click start after selecting all your options. Including making backups, wiping caches, and installing ROMs. Remember to support the developers if it makes things a lot easier for you!

(Optional) Getting S-OFF - Highly Recommended!
1) [TOOL] 5/16/12 - HBOOT Downgrade Toolkit Live CD (or USB) - Free Your Phone. S-OFF. - xda-developers - Downgrades to HBOOT 1.4 and enables you to use Revolutionary. Can be hard for newbies because it requires you to temporary brick the device.

2) [S-OFF] Juopunutbear S-OFF -Beta Release- Incl. 1.50 hboot (no downgrade) - S-OFF while staying on HBOOT 1.5. Requires you do a 'wire trick' to ground out a signal at a certain point. May be easier than temporarily bricking your device.

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

Some of the commands in this guide were found here: [GUIDE] HTC Unlock Hboot 1.50 + TWRP Recovery + Root + Flash!! [9.11.11] - xda-developers and http://androidforums.com/evo-3d-all...lash-recovery-image-via-fastboot-sd-card.html. I just sought to make a complete newbies guide version of it.
 
Hide tags are now fixed! You should now see the guide as it was written!

This is for the GSM version of the HTC Evo 3D. If you're on Sprint, ignore this section.

Also note: This WILL wipe out your settings, apps, et cetera. Please make any/all necessary backups before proceeding.


Step 1) How to install and configure the Android SDK

First, you need to download a lot of software. So here are the download links:

1) HTC Sync is needed to link your phone to your computer with the proper drivers. On XDA they link the HTC drivers by themselves. These are fine, but I can't find a direct link on the HTC site, so I'm linking HTC Sync.

2) Mini-SDK is a multiple platform set of fastboot and ADB so that you do not have to download the full Android SDK. It is easier to use, too. Just download sdk-tools.zip and extract it to your hard drive. I'll assume that most of you are using Windows, and for this tutorial, I'll extract Mini SDK to C:\sdk-tools. But Mini-SDK has Mac and Linux versions included in the zip file, so all are supported here.

Alternatively, if you want to install the full Android SDK, you can do so by following this guide.

Step 2) Picking the recovery, ROM, and kernel you want to use.

For the purpose of this tutorial, I will be using the following items:

Clockwork Recovery Mod version 4.0.1.4 - Recovery
Superuser-3.0.7-efghi-signed.zip - SuperUser patch for the stock ROM (I will refer to it as the 'SU patch' from here on out)

First, go into Control Panel for Windows. Go to Folder Options. Go to the View tab. Now uncheck the box that says "Hide extensions for known file types". This will make things so less confusing in the long run. If you know what file extensions are and don't feel the need to do this, fine. Just know that all file names that I will list here will assume that file extensions are shown.

Second, download CWM and the SU patch. You can substitute any ROM for the SuperUser patch, this process is the same, regardless. Just be sure to use a GSM ROM. A list of GSM ROMs can be found here

Next, move the SU patch to your SD card. You can do this by enabling the phone in Disk Mode or any other method. I recommend you make a subfolder called 'ROMs'. It can be named anything, but I have my ROMs in a folder called 'ROMs' on my SD card, and I'm going to reference everything in that directory.

Now, rename the file 'cwm-4.0.1.4-shooteru.img' to 'recovery.img'. You don't have to do this, but it's just easier if you do. Place this file in your sdk-tools folder.

Step 3) Opening the command prompt and getting ready for entering fastboot.

Now, click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now we need to go to the Mini SDK folder. If you installed it in the same directory I did, you can copy (or type):

Code:
cd C:\sdk-tools
Now go back into your command prompt and right click on it. Click paste and then push enter. You should now be in your fastboot directory. If you have Windows 7, you can go to your Android SDK Platform-tools folder and right click on the folder and click "Open command window here" as an alternative means than copying and pasting (thanks to mteezey for the tip). To check that you are in the right folder, you can type 'fastboot' then enter, you should get this:

Code:
C:\sdk-tools>fastboot
usage: fastboot [ <option> ] <command>

commands:
  update <filename>                        reflash device from update.zip
  flashall                                 flash boot + recovery + system
  flash <partition> [ <filename> ]         write a file to a flash partition
  erase <partition>                        erase a flash partition
  getvar <variable>                        display a bootloader variable
  boot <kernel> [ <ramdisk> ]              download and boot kernel
  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
  devices                                  list all connected devices
  continue                                 continue with autoboot
  reboot                                   reboot device normally
  reboot-bootloader                        reboot device into bootloader
  help                                     show this help message

options:
  -w                                       erase userdata and cache
  -s <serial number>                       specify device serial number
  -p <product>                             specify product name
  -c <cmdline>                             override kernel commandline
  -i <vendor id>                           specify a custom USB vendor id
  -b <base_addr>                           specify a custom kernel base address
  -n <page size>                           specify the nand page size. default:
2048

C:\sdk-tools>

Step 4) Unlocking with HTC Dev

If you haven't already unlocked your bootloader using HTC DEV Unlock, we will do so now.

For the record: I hate HTCdev. Many users have problems with it. If you have problems with this next section, please send feedback to HTCdev explaining how their process is overly complicated and has issues. But do so politely, please.

Step 1) Getting into fastboot.

First, let's turn off one of HTC's defaulted on features. So let's turn off the very frustratingly named 'Fast Boot' in Settings > Power. No, this is not 'fastboot' in the Android SDK. This is a feature that is like Hibernate in Windows but for HTC devices. I really hate how HTC calls it this, but that's what they decided to call it.

Next, go to Settings > Applications > Development and check USB Debugging. You'll need this enabled for the adb reboot command. Plus a number of rooting apps require it. Give the computer a few minutes to recognize your phone, install drivers, and so on, if it needs to.

Connect your phone to your computer. From now until you're done flashing your ROM, you will not disconnect the USB cable. So don't even think about it!

Quick tip: Do NOT connect to a USB 3.0 port. For some reason, fastboot will not detect your device if you're connected through a USB 3.0 port. If you're unsure if you have a USB 3.0 port, don't worry about it unless your fastboot commands say that they're waiting for device when the device is hooked up.

Now, in the command prompt, type (or copy and paste):

Code:
adb reboot bootloader
You should now be in your bootloader. It should say "FASTBOOT USB" in red highlight. If so, this is good! If not, make sure HBOOT in the menu is highlighted and push the power button. This will change it to FASTBOOT and it'll detect that it's connected to USB and change in a few seconds. Now type (or copy):

Step 2) Getting the device identifier token and then flashing unlock_code.bin

Type the following command in the command prompt:

Code:
fastboot oem get_identifier_token
A long text boxes will come up. Right mouse button click on the screen and click mark. Then highlight the token from <<<< Identifier Token Start >>>> to <<<<< Identifier Token End >>>>>, like shown:

bootloaderimage.png
infoimage.png

Do not highlight info or bootloader or any extra spaces or text. Once you have done that, right click again and hit copy.

Now go to HTCdev - Unlock Bootloader and fill out the forms and paste the code into the device identifier token box and submit. If you're having trouble with the HTC dev site, please disable any pop up blockers, anti-viruses, and/or firewalls (temporarily). You'll get an email (check your spam folder) with your unlock_code.bin. Once your receive it, transfer that file into your C:\sdk-tools\ folder. Now go back to your command window and type:

Code:
fastboot flash unlocktoken Unlock_code.bin
The unlock token should give you a prompt to accept the unlock code or not on the phone. Push volume up to accept. The phone should now reboot for you (so that you'll be back in Android). If it doesn't you can do it manually by reinserting the battery and then holding Vol down + power. You should now see UNLOCKED displayed at the top. If so, congratulations, you are now unlocked!

If you still see "LOCKED":
You may have to try this a few times for it to take. But the command prompt should give you a successful response. Sometimes the process gets stuck. Let it sit for 10 minutes if it does. If you're still stuck, reboot the bootloader. If it still shows as "LOCKED" even after doing this, you might have to flash the RUU. Download the RUU here. Due to the large number of carrier-specific GSM models, I can not directly link you to your RUU. You will have to sort through the list and find the RUU that applies to you. To install the RUU, run the EXE file while your phone is connected to your computer and it should guide you through the process. After the RUU is completed, try to flash the unlock code again.

After you finish and get UNLOCKED, it is HIGHLY recommended that you retrograde back to HBOOT 1.49.0009 and unlock to S-OFF! It's a little complicated, but trust me, S-OFF is a lot better than S-ON Unlocked. Instructions on how to do that are here: [How To] Downgrade and Unlock and S-OFF "Almost" Every GSM EVO 3D Out There !!! - xda-developers

Step 5) Let's install then boot into recovery!

Now we need to get back into the bootloader. Here's how to do it, if you don't remember how to do it (and so you don't have to go back to a previous step):
We need to turn off one of HTC's defaulted on features. It is the very frustratingly named 'Fast Boot' in Settings > Power. No, this is not 'fastboot' in the Android SDK. This is a feature that is like Hibernate in Windows but for HTC devices. I really hate how HTC calls it this, but that's what they decided to call it.

Next, go to Settings > Applications > Development and check USB Debugging. You'll need this enabled for the adb reboot command. Plus a number of rooting apps require it. Give the computer a few minutes to recognize your phone, install drivers, and so on, if it needs to.

Connect your phone to your computer. From now until you're done flashing the SU patch (or your ROM), you will not disconnect the USB cable. So don't even think about it!

Quick tip: Do NOT connect to a USB 3.0 port. For some reason, fastboot will not detect your device if you're connected through a USB 3.0 port. If you're unsure if you have a USB 3.0 port, don't worry about it unless your fastboot commands say that they're waiting for device when the device is hooked up.

Now, in the command prompt, type (or copy and paste):

Code:
adb reboot bootloader

You should now be in your bootloader. It should say "FASTBOOT USB" in red highlight. If so, this is good! If not, make sure HBOOT in the menu is highlighted and push the power button. This will change it to FASTBOOT and it'll detect that it's connected to USB and change in a few seconds.

Now type (or copy):

Code:
fastboot flash recovery recovery.img
This now flashes CWM 4.0.1.4 that we downloaded earlier. A vertical green progress bar will be displayed on the right. If it returns a command like 'file not found'. Make sure you renamed the cwm-4.0.1.4-shooteru.img to recovery.img. If it still doesn't work, make sure the recovery file is in the C:\sdk-tools\ folder. Can you just change the command to read "fastboot flash recovery cwm-4.0.1.4-shooteru.img"? Yes, but it makes the next command tougher to type every time you want to flash something. So renaming it once before you flash is easier than typing it every single time you want to access the recovery through fastboot.

Now type (or copy/paste):

Code:
fastboot boot recovery.img

Step 6) Before you do anything, it's time to make a backup.

Now that we have CWM 4.0.1.4 installed, we should make a back up. This is done by using the volume keys and pushing power as enter. If I remember how CWM makes backups correctly, it backs up everything. I recommend you wipe the cache partition and the dalvik cache (found in Advanced) before making a back up. You'll have to clear cache/dalvik in the next step, anyways, so might as well do it now.

Step 7) Flashing the ROM

To flash a ROM/Kernel, do the following:

1) Wipe the device (if you haven't already for the backup)

A) Wipe Cache partition
B) Wipe Dalvik Cache (Found in Advanced)
OPTIONAL) Wipe Data/Factory Reset - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the SU patch, this isn't necessary.

2) Install the ROM (or SU Patch)

A) Install zip from sd card
B) choose zip from sd card
C) Find the zip file and push power
D) Wait for the flash to finish.
E) Go back to the main menu
F) Reboot System now

3) Sit back and relax. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal. So let it do it's thing. If 10 minutes goes by, check for bootlooping. Every boot animation has a start animation and then a repeat animation. If you see the start animation a second time in a boot cycle, you may have a bootloop problem. If so, pull out the battery (or push vol up + down + power) then push vol down + power to get into the bootloader. Your USB cable should be connected still, so make sure it shows 'FASTBOOT USB' again. If so, type 'fastboot boot recovery.img' in the command prompt to go back into recovery. Wipe everything again (data, dalvik and cache) and try a reflash.

If successful, congradulations! You flashed a recovery, ROM and kernel by using fastboot!

Quick Guide) Flashing another ROM

Let's say you want to flash a new ROM. Here's how to do it:

If you're starting in Android, connect your USB cable. Then click Start and either open Run, or click in the text box in your start menu. Then type 'cmd'. You get a command prompt. Now what you type or copy/paste will depend on your version of Windows and where you installed the Android SDK.

If you have the full Android SDK and 32-Bit Windows copy this:
Code:
cd C:\Program Files\Android\android-sdk\platform-tools

If you have the full Android SDK and 64-Bit Windows copy this:
Code:
cd C:\Program Files (x86)\Android\android-sdk\platform-tools

If you use Mini SDK, copy this:
Code:
cd C:\sdk-tools

Then type:

Code:
adb reboot bootloader
When the bootloader appears, type:

Code:
fastboot boot recovery.img
You're now in recovery. Make a backup if you wish, then:

1) Wipe the device (if you haven't already for the backup)

A) Wipe Cache partition
B) Wipe Dalvik Cache (Found in Advanced)
OPTIONAL) Wipe Data/Factory Reset - This is useful if you have problems with flashing certain ROMS. Some ROMs require this before flashing. For the SU patch, this isn't necessary.

2) Install the ROM (or SU Patch)

A) Install zip from sd card
B) choose zip from sd card
C) Find the zip file and push power
D) Wait for the flash to finish.
E) Go back to the main menu
F) Reboot System now

3) Sit back and relax. The reboot will take 5 minutes or so and will always take 5 minutes or so every time you clear out the cache and dalvik cache. It is normal. So let it do it's thing. If 10 minutes goes by, check for bootlooping. Every boot animation has a start animation and then a repeat animation. If you see the start animation a second time in a boot cycle, you may have a bootloop problem. If so, pull out the battery (or push vol up + down + power) then push vol down + power to get into the bootloader. Your USB cable should be connected still, so make sure it shows 'FASTBOOT USB' again. If so, type 'fastboot boot recovery.img' in the command prompt to go back into recovery. Wipe everything again (data, dalvik and cache) and try a reflash.

If successful, congradulations! Enjoy the new ROM/Kernel!

(Optional) Installing 4EXT - Highly Recommended!

There is a recovery that makes it really easy for HBOOT 1.5 people to flash ROMs and kernels. It's called 4EXT Touch Recovery. If you're familiar with ROM Manager, you'll love this app/recovery. You can control every aspect of your phone's recovery from an app. Best of all, even with S-ON Unlocked, you can flash kernels without using fastboot. Just go to their website to get the free version that comes with a 3 day trial of the full version, or get the full version. After you're done with the trial, I'm sure most of you will want the full version. It makes everything easy. I use it, too, and I'm on HBOOT 1.4 :p

To install, download/install the app (free or paid) and open it. Give it SuperUser permissions and then click through all the pop up dialogs. Push the install button at the top. Indicate if you are S-ON or not (if you had to unlock with HTC, then you click yes). And it installs. And after 5 minutes of running the free version, your trial for the full version starts. So come back in 5 minutes and reload the app (by pushing the back button until you get back to the desktop and relaunch). If you're on the paid version, you can just start using the app immediately.

Now go to recovery and you can do everything you would normally do in recovery, but it's fully automated once you click start after selecting all your options. Including making backups, wiping caches, and installing ROMs. Remember to support the developers if it makes things a lot easier for you!

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

Credit to go to: [Tutorial] [UNLOCK/ROOT] EVO 3D GSM Hboot 1.49.0011> + S-On [HTC Unlock method] - xda-developers - For the links
 
Upvote 0
Oh, and if Guides who want to contribute or correct discrepancies, you have my permission to edit the post.

I was actually hanging on to this write up in a txt file for a week or two on my HDD. Glad I posted it now before all of you wrote your own so time isn't wasted :) I plan on flashing a recovery through fastboot to make sure everything is named correctly to progress on it. But I have a busy weekend this weekend, so it'll probably be a few days :)
 
Upvote 0
Oh, and if Guides who want to contribute or correct discrepancies, you have my permission to edit the post.

I was actually hanging on to this write up in a txt file for a week or two on my HDD. Glad I posted it now before all of you wrote your own so time isn't wasted :) I plan on flashing a recovery through fastboot to make sure everything is named correctly to progress on it. But I have a busy weekend this weekend, so it'll probably be a few days :)

You should throw a note in there for the windows 7 users for them to just hold shift and right click on there platform tools folder and select "open command window here" this will save them a lot of time changing envinromental variables and mostly them getting path errors. Oh and by the way I know you said you didn't wanna lose your hboot 1.4( I.don't blame you). If you ever did decide or needed to update your hboot you won't lose s-off when you upgrade but you will have to do HTC unlock method. After that you can flash to any partition like you can on 1.4 and/or roll back your hboot if you wanted to. My new phone has 1.5 : ( everything you got on there so far looks good.
 
Upvote 0
You should throw a note in there for the windows 7 users for them to just hold shift and right click on there platform tools folder and select "open command window here" this will save them a lot of time changing envinromental variables and mostly them getting path errors. Oh and by the way I know you said you didn't wanna lose your hboot 1.4( I.don't blame you). If you ever did decide or needed to update your hboot you won't lose s-off when you upgrade but you will have to do HTC unlock method. After that you can flash to any partition like you can on 1.4 and/or roll back your hboot if you wanted to. My new phone has 1.5 : ( everything you got on there so far looks good.

I tried this with my build of Win7 (Home Professional or whatever it's called...the mid-grade version) and it didn't work, so I figured I'd show how to type it out (or allow people to copy/paste). But thanks for the tip! I'll put it in there the next time I revise.

And there's nothing on HBOOT 1.5 that I would want. I'm sure the discrepancies I've been seeing between 1.4 and 1.5 is because 1.5 requires that you flash a recovery through fastboot, and it's being named differently than the HBOOT PG86IMG.zip recovery name. So I'm going to flash the recovery through fastboot and continue on with the guide sometime this weekend or next week.


I also Stickied this thread as I think this will be a crucial step for those rooting and will make our life much easier in guiding and explaining, I know we are trying to cut back on the sticky threads but I believe this one is warranted. ;)

I was going to sticky it when it was a little more complete. I also wanted to talk to you and a few of the other guides and mods about consolidating and/or revising the sticky list, so it's not like 8 or so stickies :)
 
  • Like
Reactions: DonB
Upvote 0
I agree we need to consolidate, and I think it is good stickied now, as it is usable now anyways, I edited a few to take some codes out, for those with small screens, this way they won't have to scroll from right to left to read.



I tried this with my build of Win7 (Home Professional or whatever it's called...the mid-grade version) and it didn't work, so I figured I'd show how to type it out (or allow people to copy/paste). But thanks for the tip! I'll put it in there the next time I revise.

And there's nothing on HBOOT 1.5 that I would want. I'm sure the discrepancies I've been seeing between 1.4 and 1.5 is because 1.5 requires that you flash a recovery through fastboot, and it's being named differently than the HBOOT PG86IMG.zip recovery name. So I'm going to flash the recovery through fastboot and continue on with the guide sometime this weekend or next week.




I was going to sticky it when it was a little more complete. I also wanted to talk to you and a few of the other guides and mods about consolidating and/or revising the sticky list, so it's not like 8 or so stickies :)
 
  • Like
Reactions: jerofld
Upvote 0
I agree we need to consolidate, and I think it is good stickied now, as it is usable now anyways, I edited a few to take some codes out, for those with small screens, this way they won't have to scroll from right to left to read.

Heh, you screwed up some of the tags, though. Don't worry, I fixed it. :D Whenever I manage a long thread like this (the FAQ thread, for example), I usually hit edit, copy all and use Notepad++ to modify it. It shows you tags and makes it easier to edit.

This one isn't as bad. Go into the FAQ thread and hit edit and look at all the formatting tags. It's really hard to keep straight without Notepad++ :p
 
  • Like
Reactions: ocnbrze and DonB
Upvote 0
I was just going back in to edit and then I got a customer that came into my store, LOL



Heh, you screwed up some of the tags, though. Don't worry, I fixed it. :D Whenever I manage a long thread like this (the FAQ thread, for example), I usually hit edit, copy all and use Notepad++ to modify it. It shows you tags and makes it easier to edit.

This one isn't as bad. Go into the FAQ thread and hit edit and look at all the formatting tags. It's really hard to keep straight without Notepad++ :p
 
Upvote 0
You tell us if you know, we are both still on HB 1.4, but I believe it does, so we will have to make sure. :rolleyes:


When you install sdk, does it still put fastboot in the tools folder and adb in the platform-tools folder? If so, this should be noted and recommend copying from one folder to the other
 
Upvote 0
When you install sdk, does it still put fastboot in the tools folder and adb in the platform-tools folder? If so, this should be noted and recommend copying from one folder to the other

I remember this being an issue in older Android SDKs. So I made a point of it to make sure both ADB and fastboot were int he same folder. They revamped it in the new version so that fastboot and adb go into the platform-tools folder by default now. Actually, both tools don't even come with the installer, you have to select the tool option and download the tools specifically. I remember that was different in older SDKs, too.
 
  • Like
Reactions: DonB
Upvote 0
When you install sdk, does it still put fastboot in the tools folder and adb in the platform-tools folder? If so, this should be noted and recommend copying from one folder to the other

actually i believe that the sdk no longer comes with the fastboot option...

so might want to look into adding the adb/fastboot files in this post. just a thought.

fastboot was included in sdk before r.11 i believe so as soon as people update they lose fastboot and need to aquire it from another source.
 
Upvote 0
actually i believe that the sdk no longer comes with the fastboot option...

so might want to look into adding the adb/fastboot files in this post. just a thought.

fastboot was included in sdk before r.11 i believe so as soon as people update they lose fastboot and need to aquire it from another source.

The guide already includes how to get fastboot/adb installed. If you open the SDK, you get a list of checkboxes, one for each API of each Android version. At the very top of the list is a 'Tools' checkbox that includes fastboot and adb. :)

When I get more time to work on this, I'll include pics and stuff like that to make sure it's absolutely clear :)
 
Upvote 0
You did rename the file "recovery-twrp-shooter-1.1.1.img" to "recovery.img" and place it in the fastboot directory, right? It will either be called "C:\Program Files\Android\android-sdk\platform-tools" or "C:\Program Files (x86)\Android\android-sdk\platform-tools" depending on your version of windows.

If so, download the TWRP file again, you may have gotten a corrupt file. The process should take less than a minute to flash.
 
Upvote 0
Upvote 0
Im reading this guide,
http://androidforums.com/evo-3d-all...ms-kernels-using-fastboot-updated-2-20-a.html


But on step 5 where he is talking about "A quick repeat of the instructions in the HTC Unlock section" I get lost. I dont know if I should repeat or what. and things stop working.

Hell, I was thinking of going back to the 4G or paying someone off CL to root the thing for me.

All that is saying is make sure you have "fastboot" shutoff on your phone and that you have USB debugging enabled.
 
  • Like
Reactions: jerofld
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones