I'm only providing this to ease the process of installing TWRP, some people are really unfamiliar with fastboot and a guide is always handy. If you brick your device, its on your own head. I'm only sharing how I went about installing TWRP.
You must have access to adb and be rooted on your stock KF or be running cm7. You'll also need the fastboot binary, its attached to this post. Unzip the binary and place it into the Android SDK's Platform-tools folder. Also make sure that fastboot is executable. TWRP2 is here, place it in your Platform-tools folder as well. You should have everything you need to install TWRP now.
Connect your KF to you computer and open a terminal.
Navigate to your platform-tools folder
cd Path to platform-tools
Once here check to see your KF is recognized by ADB
sudo ADB devices
*Note you may have to use the command Sudo ./adb devices, it really depends on how you have your SDK setup.
If you see a series of numbers it verifies your KF is being seen by ADB. Next you'll type
sudo ADB shell or sudo ./adb shell
Then ask for root permission
Next you'll need to set your bootmode to fastboot
idme bootmode 4002
It will tell you that <idme> write 4002 to offset 0x1000. Now you'll need to exit the shell
Once you're back in your platform-tools folder restart adb
Sudo adb reboot or sudo ./adb reboot
ADB will restart then you can issue the fastboot command
sudo fastboot -i 0x1949 boot twrp-blaze-2.0.RC0.img or sudo ./fastboot -i 0x1949 boot twrp-blaze-2.0.RC0.img
If memory serves me correctly, the device will reboot to TWRP and saying its installed. It will reboot itself. Once rebooted you'll be shown a yellow triangle with a fire on it. Don't panic as its a modified bootloader that allows you to access your recovery. It boots here because your device is still set to boot into the bootloader. To fix this type
sudo fastboot oem idme bootmode 4000 or sudo ./fastboot oem idme bootmode 4000
Then simply give fastboot the command to reboot
sudo fastboot reboot or sudo ./fastboot reboot
Your device will reboot to the bootloader again, except this time it only stays like that for a short period in order for you to access your recovery if need be. To access TWRP simply hold your power button down for around 2 seconds. Your power button will change to an orange color, release the button and TWRP will show up. If you do nothing at the bootloader your rom of choice will continue to boot.
Edited by Rogan, 18 December 2011 - 01:58 AM.