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.
Then type:
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.
If you chose just to download the SU patch or the stock ROM + Superuser, this is where you would select the file.
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.
If successful, congradulations! Enjoy the new ROM/Kernel!