It's finally here! Recovery for the Fire TV. This is based off of CWM and the way versions will work is I will append an extra digit to the end of the CWM version. So 18.104.22.168.0 is my first release based off of 22.214.171.124. I will also be releasing a recovery based off of TWRP, at some point.
As usual, this WILL void your warranty and I am NOT responsible for anything you do with this. Installing it properly won't brick your Fire TV, but doing stupid things with it might. Of course, this requires that you are rooted to begin with.
- Unlock the bootloader: You must first unlock your bootloader. Failing to do this will result in recovery not working.
- Copy: Copy the recovery.img to Fire TV via adb, or whatever else you like.
- Flash: From an adb shell, run Code:
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
- Reboot: Code:
adb reboot recovery
The same as installation, just skip step 1.
Note that it does take a few seconds for it to start. The screen will be black, don't be alarmed. As long as the Amazon logo disappears, it is loading.
This comes with DHCP enabled ethernet, please don't ask about wifi. Maybe at some point I'll get that working, but for now it's not going to happen. When recovery starts, it will print out it's IP address. Note that this might be different from the one it gets while booted into the OS. This works with USB storage and USB input devices. Right now, it does not support input hotplug so unless you have a keyboard plugged in when it boots, it won't work. This will be fixed. Unpowered USB hubs are hit or miss. Powered should always work.
There are protections against flashing an unmodified stock image. Under no circumstances should you ever attempt to flash such an image. You can download modified stock images here.
If something fails to flash DO NOT reboot. Try again and/or retransfer the file over adb.
AOSP, custom kernels, etc
When using custom kernels be extra careful. If you are developing a kernel, it is best to flash recovery to the boot partition and the new kernel to test to the recovery partition. There is no known way of booting into recovery if your kernel can't boot. In the future, I plan on releasing a "boot menu" program to help with this situation.
USB storage should be working. When you go to the backup/restore menu, /storage/usbdisk should be one of the options. When you go to the install screen /storage/usbdisk should be one of the updates. FAT32 and ext4 should work. NTFS formatted partitions will not show up as an option.
To accommodate people who need to apply overscan for their TV, I have enabled configurable overscan. By default it is disabled. You can control the amount of overscan either with FastForward and Rewind buttons or the 1 and 2 buttons. It will save it so the next time it reboots it will remember your choice.
Installing zips with sideload is the easiest method. Select sideload as the option to install, then from your computer run adb connect followed by adb sideload.
Controlling from the commandline
If you have no keyboard or cannot connect a keyboard, I wrote a little program called recovery-input that allows you to control recovery from an adb shell. @AFTVnews.com wrote a guide at http://www.aftvnews.com/how-to-remot...-tv-using-adb/
Finally, thanks to everyone who has donated!
Changelog and Downloads:
- Nov 02, 2014 - 126.96.36.199.4a (md5sum: 67b1a13b7bec645cb9291e80478d4635)
- Added the missing recovery-input program
- Nov 01, 2014 - 188.8.131.52.4 (md5sum: 9ba1ee7a914fad9e9c5509db4677e3e9)
- Fix ext4 external usb support.
- Removed kernel patching. This recovery now REQUIRES the bootloader to be unlocked.
- Oct 19, 2014 - 184.108.40.206.3 (md5sum: 4984a2ae6489422298557d32cd2386b7)
- Enable vi in busybox
- Enable adjustable overscan
- Allow flashing custom kernels
- Oct 05, 2014 - 220.127.116.11.2 (md5sum: ae21891b4fd1e58c513ae5cdd09f4d93)
- Print the current IP address on start
- Disable automatic flashing
- Disable install-recovery warning
- Don't show unmountable NTFS partitions
- Sep 27, 2014 - 18.104.22.168.1 (md5sum: bd490fd43f287b7ea01a6cc9d00b2232)
- Fixed USB storage behind a hub
- Sep 26, 2014 - 22.214.171.124.0 (md5sum: f82eccfd3638909f02eea1ca59e1b2a2)
- Fixed USB storage
- Enabled overscan
- adb sideload over network
- Larger font
- Sep 19, 2014 - 126.96.36.199.0 (md5sum: 5c126edda9ea12696bebee7e368841e5)
- First release