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
- Download install_firetv2_recovery_v3.zip
- Download firetv2_recovery_v5.zip
- Extract both to same folder
- Plug USB A-A into AFT and computer
- Run install_firetv2_recovery.bat
- Plug in power to AFTV2 and let it flash the recovery.
- When it's done copy ramdisk-recovery.cpio.lzma and sloane-5.0.5-rooted_r4.zip firmware to a USB or SD card
- Reboot, choose recovery with a keyboard
- Install the 5.0.5.0 firmware
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.
PHP:
sudo apt-get install python3-pip
sudo pip3 install pyserial
pip install --upgrade pip
PHP:
sudo service ModemManager stop
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.
PHP:
chmod a+x mediatek_inject.linux
chmod a+x install_firetv2_recovery.sh
PHP:
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.
(accept the prompt to grant superuser)
PHP:
pm disable com.amazon.device.software.ota