[Fire TV Original Android Development] WhenIWake:
Successfully rooted and updated to the latest firmware, all services amazon working and have found no issues so far. The recovery is useless on an older TV 1080i or less. Weird screen glitches on boot, worked absolute fine on a newer screen. Thanks for all the work people in this thread have put in, here's the step by step of what I did including commands in case it can help anyone.

References used during this process;

http://www.aftvnews.com/how-to-root-the-amazon-fire-tv-2/

http://xdaforums.com/fire-tv/development/firetv-2-sloane-prerooted-stock-images-t3309783

http://xdaforums.com/fire-tv/orig-development/firetv-2-recovery-installer-t3309785

http://xdaforums.com/fire-tv/development/firetv-2-recovery-t3309780

AFT rev 2 Running 5.0.5.1 brand new from AmazonUK on prime day, USB debugging and debugging over network were both enabled. You need the USB A-A for this firmware version. All carried out on Ubuntu 16.04

Followed the post by rbox

Im running a DD-WRT router so blocked the AFT’s network access before starting the process, unblocked it when I booted it up.

I also set up a DNSmasq and added the following to the additional list to block the amazon servers. I had sadly connected the AFT prior to doing this while trying a web filtering approach which failed, so the device knew there was an update for the firmware. This successfully blocked the services when applied.

address=/amzdigital-a.akamaihd.net/127.0.0.1

address=/amzdigitaldownloads.edgesuite.net/127.0.0.1

address=/softwareupdates.amazon.com/127.0.0.1

address=/updates.amazon.com/127.0.0.1

Commands used in order of flash

Couldn't get the process to start was hanging on “Waiting for preloader” and discovered it was because I did not have the correct version of python installed.

sudo apt-get install python3-pip
sudo pip3 install pyserial
pip install --upgrade pip

sudo service ModemManager stop

cd /home/usr/desktop/AFT

Once I was in the directory I had created and unzipped the above files (recovery v3 and v5)

ran, think these were totally uneccessary but I used them anyway.

chmod a+x mediatek_inject.linux
chmod a+x install_firetv2_recovery.sh

sudo ./install_firetv2_recovery.sh

At this point I plugged the power supply into the AFT.

Script ran through with no issues and I pulled the power, moved ramdisk-recovery.cpio.lzma and sloane-5.0.5-rooted_r4.zip onto a micro SD in the root directory, no sub directories and only have one partition. Install this into the AFT prior to powering on for the first time after the script has ran.

Used a keyboard to select recovery and flashed the rooted 5.0.5.0 firmware.

Rebooted and checked all was well. Instantly started getting a software update promt with a 1 minute timer to “Remind me later” any time I stopped moving the cursor it came up again.

Pulled the power until I decided on the next step.

Pulled the SD and loaded the 5.2.1.0 firmware and rebooted the AFT into recovery and installed the latest version. Booted again and was still getting the update message. I think this is due to me connecting the device up prior to blocking the update servers properly so it already knew there was new firmware.

SSH’d into the AFT, while continuing to move the cursor to prevent an autoupdate.

adb shell

su

(accept the prompt to grant superuser)

pm disable com.amazon.device.software.ota

exit

exit