[8.9" Kindle Fire HD Q&A, Help & Troubleshooting] tkien212:
Thepooch helped me through teamviewer on how to install Android and here I share my experience on how to do it.

Your kindle need to be rooted. I suggest to use KF First Aide and root. It's easier

You will need ADB enable by go to settings in Kindle.

Download this file (Amazon 8.4.1 OS): http://d-h.st/VnR and put it in sdcard for backup purpose.

You don't extract ZIP files.

1. Download and extract #1 on below link

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

2. Go to Root_with_Restore_by_Bin4ry_v21\stuff -> Shift + Right Click on folder -> Open command window here

*Steps 3,4,5,6,7 are from http://xdaforums.com/showthread.php?t=2128201

3. Use these command to backup your stock partitions, these *.img will be in the Root_with_Restore_by_Bin4ry_v21\stuff folder.

Take 4 of those *.img to somewhere else safe

adb shell su -c "dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0block.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/boot of=/sdcard/stock-boot.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/recovery of=/sdcard/stock-recovery.img"
adb shell su -c "dd if=/dev/block/platform/omap/omap_hsmmc.1/by-name/system of=/sdcard/stock-system.img"
adb pull /sdcard/boot0block.img
adb pull /sdcard/stock-boot.img
adb pull /sdcard/stock-recovery.img
adb pull /sdcard/stock-system.img

4. Download these files (go to different topic above for latest version)

http://goo.im/devs/Hashcode/jem/stack

http://goo.im/devs/Hashcode/jem/kfhd8-freedom-boot-8.3.0.img

http://goo.im/devs/Hashcode/jem/kfhd8-twrp-2.4.4.0-recovery.img

5. Install stack:

adb push stack* /data/local/tmp/
adb shell su -c "dd if=/data/local/tmp/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"

*Replace stack with location to your stack file

Example: adb push C:\Users\Admin\Desktop\stack /data/local/tmp/

6. Stop the auto recovery update script (this file may or may not be present): Mine was not present, it will show file not sound after enter 2nd command

adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"
adb shell su -c "mount -o remount,ro ext4 /system"

6.5: APPLIES IF YOU ARE ON SOFTWARE VERSION 8.3.0 OR GREATER

Download this: http://goo.im/devs/Hashcode/jem/kfhd8-u-boot-prod-8.1.4.bin

Enter fastboot mode and flash:

fastboot -i 0x1949 getvar product
fastboot -i 0x1949 flash bootloader kfhd8-u-boot-prod-8.1.4.bin

*You will need a file called fastboot.exe, open command from there, KF First Aide have it

or you can download from here: http://d-h.st/ttL <- Do not use anything from this, just go to tools and open command from there

7. Continue with these command in fastboot mode:

fastboot -i 0x1949 flash boot kfhd8-freedom-boot-8.3.0.img
fastboot -i 0x1949 flash recovery kfhd8-twrp-2.4.4.0-recovery.img
fastboot -i 0x1949 reboot

***If everything is done correctly, when you booting up, the word Kindle Fire should switch from orange -> blue -> orange, then fully boot

***If you get orange screen, then you didn't do step 6.5

8. Download these and put them in sdcard:

http://goo.im/devs/Hashcode/jem/cm10.1/cm-10.1-20130604-UNOFFICIAL-jem.zip

http://goo.im/gapps/gapps-jb-20130301-signed.zip

To enter recovery mode, unplug, shut the kindle down. Plug in (it should power on), when the word Kindle Fire is orange, hold the volume up button, it should switch to blue and then twrp recovery mode. If you failed, hold the power button until it shut down and try again.

8.5. Drivers problem: Kindle not recognized

When I get into recovery mode, my computer couldn't recognize Kindle. So this is what you have to do.

Download this and extract: http://d-h.st/9We

Open android_winusb.inf

Go to/Search for

;Kindle Fire HD

Now go to Device Manager -> Right Click on "couldn't recognize driver kindle" -> Details -> you will see there are two codes.

Edit android_winusb.inf (below your device, mine is Kindle Fire HD) to match with the two codes.

Then just right click, update driver

9. Now back to Kindle, you should be in TWRP Recovery Mode.

You should backup first: Go to backup -> backup everything and check compression

Next go to Wipe -> Wipe 4 of the thing on the first line (Caches, Dalvik Caches, Factory Reset, System)

Next go to Install, choose 2 of the files at step 8.

cm-10.1-20130604-UNOFFICIAL-jem.zip
gapps-jb-20130301-signed.zip

Then reboot system

10. Now you should see CyanogenMod (Android) loading

After you are in, don't let Google backup your things. It will somehow messed up your system and will crash when you try to run apps.

Next, go to settings, go to about, and tap the last line 8 times to enable developer mode

Next, check advanced boot and ADB

After that, when hold your power button for a little bit, you will see a boot button, tap it and there should be 3 options to boot in case something happens.