A custom recovery based on ClockworkMod has been released for the Amazon Fire TV by the very talented rbox. ClockworkMod recovery allows you to perform several advanced recovery, backup, restoration, installation and maintenance operations on your Fire TV that isn’t possible with the stock recovery. This is a landmark moment and a huge step towards the development of custom ROMs, kernels, themes, and more. Read on for the full guide to installing this custom recovery.
Your Fire TV must be rooted to install this custom recovery. Your Fire TV also needs to be running software version 51.1.0.2_user_510058520, 51.1.0.1_user_510055620, or 51.1.0_user_510047320. If it is not, then you will need to downgrade your Fire TV to version 51.1.0.2_user_510058520, but you can upgrade back up once the custom recovery is installed. Your settings and user data should remain intact through this process, but it’s always a good idea to backup anything you don’t want to lose, like your XBMC settings. Also, if you’ve blocked updates via the “pm disable com.amazon.dcp” method, updates will stay blocked after the downgrade, so no need to worry about your Fire TV accidentally updating itself.
Update
11/3/2014 As of ClockworkMod version 6.0.5.1.4, it is now necessary to first unlock the Fire TV bootloader before installing ClockworkMod. The below guide has been updated accordingly.
- Check the software version on your Fire TV by going to Settings > System > About. If your Fire TV is on version 51.1.0.2_user_510058520, 51.1.0.1_user_510055620, or 51.1.0_user_510047320 you do not need to downgrade, so skip to step 5. Otherwise, continue to step 2.
- Download the Official Stock Software Package for version 51.1.0.2_user_510058520 from AFTVnews.com/software
- Follow my downgrade guide to downgrade your Fire TV to version 51.1.0.2_user_510058520
- Downgrading removes root, so you will now need to re-root your Fire TV.
(Note: If you still have the towelroot app installed on your Fire TV, launching it and clicking the “make it rain” button should be all you need to do.) - Follow my guide to unlock your Fire TV bootloader. You can ignore the “Important” part about downgrading and skip straight to step 1 of the guide since you’ve already met the downgrading requirement by following the previous 4 steps in this guide.
- Download the latest ClockworkMod Custom Recovery image from AFTVnews.com/recovery
- Rename the downloaded file to: recovery.img
- Transfer the file to your Fire TV’s /sdcard directory by running this ADB command:
adb push recovery.img /sdcard/
(Note: This assumes the recovery.img file you renamed in the above step is in the same directory as ADB, otherwise enter the full path to the file like this:
adb push C:\full\path\to\recovery.img /sdcard/
- Verify the integrity of the file you just transfered using this guide.
- Run the command: adb shell
- Run the command: su
(Note: If this is the first time you’ve ever run su, a pop-up will appear on the Fire TV and you need to select “Grant”)
- Run the command:
- Run the command: exit
- Run the command (yes, again): exit
- ClockworkMod recovery should now be installed. You need to connect a keyboard to the Fire TV’s USB port to control ClockworkMod. Do so before booting into ClockworkMod because it won’t detect a keyboard being plugged in while it’s already booted. ClockworkMod cannot be controlled using the Fire TV remote. Alternatively, you can control ClockworkMod over the network by following this guide.
- To reboot into ClockworkMod recovery, run the command adb reboot recovery
- After the Fire TV reboots, if you see the below screen then you’ve installed ClockworkMod successfully and you’re done. Select “reboot system now” to boot back into the main Fire TV OS. Now you’ll probably want to either continue with the starters guide or install a custom ROM.
Note: You can press the 1 and 2 keys on the connected keyboard to adjust the display scaling if the menu is cutoff. - Now go donate to rbox! He has put in a tremendous amount of time and work to make this all possible.
Sourcerbox
Great work! rbox is a genius!
I followed this guide and have my AFTV with clockwork recovery. Waiting for a guide to backup files and update with pre-rooted image.
thanks!
Believe you need to add the steps of adb kill-server, adb start-server, and adb connect IP Address between steps 4 and 5 right?
thanks for the guide. I cannot seem to get my aftv to enter recovery mode, it just hangs at the white amazon logo. A power cycle boots normally, but no CWM. Any suggestions?
Hanging on the white Amazon log usually means your Fire TV is in fastboot mode. This happens when the Fire TV is receiving power from the USB port. Are you using a powered hub or other kind of USB splitter that may be providing power back to the Fire TV?
I did have a powered USB hub attached. I removed it, but still cannot get into recovery. aftv just hangs at the amazon logo. a power cycle boots to home screen; no CWM.
did you get this working in the end as I’m in same boat as you
I’m having the same problem with 1 of my boxes. I went back into su app screen and the log says SU pro is required for this feature.
never could get back to recovery. recovery partition is hosed.
Botched mine as well, but it was user error! Word of warning if you have using a download manager like I am (FDM in my case), it may look like the correct file downloaded, i.e. named correctly and sitting nicely in your download folder, but it’s not correct. I stupidly did a checksum after flashing and realized this. To get the correct file you have to click through you browser from the site it take you to.
I’m hoping I can patch it with the correct file, but now I can’t adb connect to my box anymore. Tried kill-server and restart with no luck :(
Quick update.. unplugging my network cable and plugging back in worked in order to adb connect. Box must have lost it’s ip or something.
Good news is, with the correctly downloaded recovery file, I re-patched it and it’s working fine and I’m in clockwork. If you had this issue of a white screen, check your img file and make sure it fully downloaded (should be around 8meg). This may seem like pretty obvious stuff, but the fact that I got no error message with my download manager made it look like a complete correct file.
Hope that helps someone somewhere.
i got hunged by the white logo too, but i do not use any power source..any idea?
Will this allow me to do a full backup of one AFTV and restore on another?
I have not tested this, but theoretically it should.
would like to know if this works too. dont want to brick my other device.
when I try to push recovery.img i get;
failed to copy ‘recovery.img’ to ‘//recovery.img’: Read-only file system
downgraded to 51.1.0.2_user_510058520,
There is something wrong with the push command you’re entering. Try moving recovery.img to your C drive (assuming you’re running Windows) so that you can enter this exactly:
adb push C:\recovery.img /sdcard/
You may have forgotten the last / after sdcard.
I cannot get into recovery mode. when it reboots after adb reboot recovery i get An error message says the software update was not successful. then it hangs on it for a minute or 2 before it reboots again into the fire tv. i am on version 5850 and i am rooted.
anyone have suggestions or what could be the problem
It sounds like you haven’t installed ClockworkMod correctly (step 10). Ensure steps 8, 9, and 10 are being done correctly without any errors being reported by ADB. Remember, step 9 will cause a prompt on the Fire TV to grant access if you’ve never allowed the ‘su’ command before.
I did install it correctly. I got no errors and it did show files it installed. Will see if I have rights to do It as I did not get a prompt for grant access
I mate the same problem, i fixed it easily, check that you have download the good file (clockword) and check the command line 10, it’s not compete when you copy you have caracters after by-
Copy this command it will works
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
After you type “su” and hit enter, the character before the cursor should change from a “$” to a “#”. That’s how you know you have permission. It wont hurt anything to retry the whole process again.
I am having the same issue as playerjuan
“I cannot seem to get my aftv to enter recovery mode, it just hangs at the white amazon logo. A power cycle boots normally, but no CWM.”
I successfully did this on another AFTV. This is the second one I am trying it on. Repeated the process a second time after the first didn’t work. Still no luck, just the white amazon logo and flashing white led when attempting to bood into recovery mode.
i do get the # permission. nothong wrong with that
C:\platform-tools>adb shell
shell@android:/ $ su
su
root@android:/ # dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by
-name/recovery
dev/block/platform/msm_sdcc.1/by-name/recovery adb reboot recovery
cursor just flashes after this command, not sure if something els should come up
C:\platform-tools>adb shell
shell@android:/ $ su
su
root@android:/ # dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
20480+0 records in
20480+0 records out
10485760 bytes transferred in 1.875 secs (5592405 bytes/sec)
root@android:/ # exit
exit
shell@android:/ $ exit
exit
C:\platform-tools>adb reboot recovery
cursor just flashes after this command, not sure if something els should come up
That looks correct. The comment above this one was wrong because the different commands got mixed together on one line. When you do the last step (adb reboot recovery), it’s normal for the cursor to just flash because the Fire TV is restarting so your PC has lost connection with it. Nothing is supposed to appear in your command prompt after the last step. Your Fire TV should restart into ClockworkMod.
but it sill does not boot into recovery mode
This is the message that comes up
https://www.dropbox.com/s/lwqkpksot2w2mex/image.jpg?dl=0
What else can I try
That means ClockworkMod has not been installed. Double check everything. Check that your FIre TV in running 51.1.0.2_user_510058520, 51.1.0.1_user_510055620, or 51.1.0_user_510047320. Check that you’re rooted.
Not much left to try other than factory reseting and trying everything over from the beginning. I’m sorry I can’t be more helpful. I’m currently working on including some screenshots to this guide to better help you know how things should be going.
http://www.aftvnews.com/wp-content/uploads/2014/06/20140629_185422.jpg
http://www.aftvnews.com/how-to-unbrick-by-entering-recovery-mode-and-factory-reset-the-amazon-fire-tv/
If you see on the links that is exactly the screen i get, but without the selections in the top. maybe i need to set the orientation or get me a usb keyboard
On a stock (unmodified) Fire TV, when you run “adb reboot recovery”, the Fire TV will reboot and display that “Update was not successful” screen. If you’re seeing that screen after running the command “adb reboot recovery”, it means you have not installed ClockworkMod successfully. Something is failing between steps 7 and 10. I just finished adding screenshots of the commands to help. I suggest doing a factory reset, then follow all the commands again. Even if you are on 51.1.0.2 or older, I suggest doing steps 2 thru 5 (the downgrade steps) so that you are on a fresh system install.
I installed ClockWorkMod, but I did not downgrade firmware to 51.1.0.2, now I can not downgrade or upgrade to any FW. How do I remove CWM ?
To remove it, follow the same procedure you used to install it, but use a stock recovery image from AFTVnews.com/software
After installing ClockworkMod is it safe to remove recover.img in /scared/ ?
Yes, it is.
Thanks for your help, it’s working now.
I installed ClockWorkMod but I could not use a keyboard or mouse to utilize it. Running Win7. I tried one mouse and two different keyboards. I also tried using my keyboard through the command prompt. Luckily used the command “reboot” to get out of it. Any ideas? Thanks.
Can’t get this working. I have the recovery.img on my c drive but I can’t get to work.
I am totally stuck !! I have installed ClockworkMod Custom Recovery image as discribed on guide and in terminal (mac)
in adb shell all looks fine
shell@android:/ $ su
su
root@android:/ # dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
20480+0 records in
20480+0 records out
10485760 bytes transferred in 1.936 secs (5592405 bytes/sec)
root@android:/ # exit
exit
the only thing is different on the last time I type exit it wont then let me type adb reboot recovery
I have to reconnect and then type adb reboot recovery . It then tries to restart firetv but then sticks
on white amazon screen.
No matter how I try I cant get into Clockwork recovery mode.
As a last resort I have tried keyboard reboot “alt-print scrn-i” and can see unit reboot 3 times then back to white logo screen. Also right arrow and back button on fire tv remote but can only get orange light at home screen then just restarts.
HHHHHEEEELLLLLPPPPPP
Is there any way to control clockworkmod besides using a usb keyboard? Tried all the keyboards I have and none work, the ftv remote won’t work either
got my fire tv to install recovery and install the latest rooted firmware.
i factory reset the device and stopped any updates by removing the lan cable. rooted the aftv and pm disable the device.
busy loading all my previous apps and getting all xbmc data to run off the usb external drive on the usb port on my router.
Thanks Mr AFTVnews
I installed it using Amazon FireTV Utility App v0.23. Then tried to update the stock rom 51.1.1.0_user_511070220 instead of the pre-rooted stock rom. Now my firetv keeps in the rebooting status. Is there away i can get out of this mode and back to ‘recovery’ mode? Thanks.
I have two FireTV devices. I have one rooted and configured with all the goodies I require. The other device is untouched. Can I generate an image from my configured device and then restore on the my other, untouched device? (assuming I root the untouched device first)
i just saw that Gilad asked the same question. Has anyone tried this?
Hi sorry if this is a basic question, however can someone let me know if cwm can be simply installed on a rooted firetv using the firetv utility and the appropriate radio button.
Thanks in advance for your help.
After doing all carefully and correctly, I too got hung on the white “Amazon” screen after “reboot recovery”…
My problem was that I had the inet cable plugged in and (for some other reason) it was not connecting during initial setup so I used wireless… when I unplugged the cable, the FTV popped into recovery mode.
Next problem to solve is how to control the CWM menu… but after I update my firmware and install XBMC :-)
Onwards and upwards….
I was able to install cwm and latest rooted stock on my 1st aftv.
On my second AFTV, I’m on 51.1.1.0_user_511070220 version rooted. I copied cwm recovery.img successfully and followed steps 1-12. running adb reboot recovery causes white amazon logo to flash. I’ve tried few times with wifi and ethenet but no luck. it hangs on amazon white logo
Did you downgrade to 51.1.0.2 first like the instructions say?
I’m in the same boat, my other Fire TV went fine but I’m stuck on this second one.
51.1.1.0_user_511070220, rooted, busybox installed.
I did not downgrade to 51.1.0.2, I missed that bit. I went through all the other clockwork mod install steps already and it will not enter recovery mode. After that I tried the guide to manually install 51.1.0.2 but again it will not enter recovery mode to complete the install it just hangs at the white amazon logo.
How can I fix this?
I rooted fire tv before but somehow it got update and I am now on 51.1.3.0_user_513011820. Is there any way I can root it again? it seems like without root access I cannot downgrade it nor root it at this time. I have another fire tv which in never rooted and it is on I am now on 51.1.3.0_user_513011820 too. what are my chances to get root access?
Is there anyway to do this through the latest version of Fire TV Utility App? Because I keep running into this issue where SuperSU denies me permission if I go through the app’s built in Shell command UI.
Please help
root@android:/ # dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
dev/block/platform/msm_sdcc.1/by-name/recovery <
/dev/block/platform/msm_sdcc.1/by-name/recovery: write error: No space left on device
20481+0 records in
20480+0 records out
10485760 bytes transferred in 1.299 secs (8072178 bytes/sec)
NO SPACE ON
df
Filesystem Size Used Free Blksize
/dev 974M 48K 974M 4096
/mnt/secure 974M 0K 974M 4096
/mnt/asec 974M 0K 974M 4096
/mnt/obb 974M 0K 974M 4096
/storage/usb 974M 0K 974M 4096
/system 756M 650M 106M 4096
/data 5G 3G 1G 4096
/persist 7M 5M 2M 4096
/cache 756M 13M 743M 4096
/firmware 63M 7M 56M 16384
/mnt/shell/emulated 5G 3G 1G 4096
/storage/emulated/legacy 5G 3G 1G 4096
Are you sure you renamed the correct file recovery.img? Maybe you renamed the wrong file.
Ran all the steps but stuck at amazon white logo. When i power cycle FTV opens normally but no recovery.
Make sure you did or re-do step 5 and see Attempting to unlock…
All done!
Also, try this, connect to wireless on FireTV, then connect the network cable back in and then adb reboot recovery, if the white logo still shows, disconnect the network cable. It may then continue over Wifi
Could not make it work. Rolled back to 6.0.5.1.3 and all is OK.
I have the same problem as Ed. Please help.
After unlocking the bootloader and installing clockworkmod, I want to do a wipe and then install the custom rom. how should I wipe from clockworkmod? thanks.
Just select the factory reset option in clockworkmod.
Your guides are awesome, somehow I think I missed something. I’m at adb push c:\recovery /sdcard/ and it says cannot stat….no such file or directory.
Everything has worked great until there. What did I miss?
Instead of “c:\recovery “, enter the full path to the recovery.img file. If you don’t know the full path, move recovery.img to your C drive and enter “C:\recovery.img”
I’ve tried the full path as well as C:\recovery /sdcard/ I’m getting the same cannot stat no such file or directory. I’m unlocked and everything seemed fine. I downgraded fine but now i cant push the clockwork mod over. I’ve tried the latest release as well as an older one?? Not sure how I got stuck or where to go??
Problem solved. Newbe mistake. Renamed recovery.img instead of just recovery
Thanks for your guides I’m almost done upgraded software with root, wouldn’t be possible without your detailed guides will donate when finished
Is the only way to get into Recovery mode through adb?
No, you can enter recovery mode if you have a USB keyboard. Here is how: http://www.aftvnews.com/how-to-unbrick-by-entering-recovery-mode-and-factory-reset-the-amazon-fire-tv/
Okay pardon me if this is a really stupid question but I’ve gotten into the menu but there’s no instruction on what to do after. Do I “reboot system now” or “Wipe data/factory reset”, “Backup and Restore”. What step do I do to upgrade my software without losing my root
Select “reboot system now” to boot into the regular home screen. Now that you have Clockworkmod installed, you should unlock the bootloader, then install pre-rooted 51.1.4.0, then unlock the boot menu, then instal pre-rooted 51.1.4.1
I don’t recall seeing this question/answered anywhere (so sorry if it’s a repeat):
Clockwork Mod, and the new BootMenu have been successfully installed. If I do “factory reset” (either directly in FTV or from the App), what state will my FTV be in? Rooted? Bootmenu? Factory or Custom ROM?
Thanks!!
I just wrote this post for you and others: http://www.aftvnews.com/factory-reset-on-amazon-fire-tv-and-fire-tv-stick-explained/
Ha, I just came on to your site and saw that post. THANKS! It does clear things up. Shortly after my question above I went ahead and ‘factory restored’ anyway.
Just like you said: I had to re-enable the developer option. I will say that the ‘search for update’ was either non-existent or very short. I have router blocked, and have bootloader.
One thing that is really clear now is how updates get installed. I didn’t realize it was only installed on reboot, but CWM will prevent it from being installed on reboot.
Thanks again!
Glad I could help.
Your posting really streeghtinad me out. Thanks!
Can we delete the recovery.img file after we install the custom recovery to free up space?
Yes. Delete it with the command:
adb shell rm -f /sdcard/recovery.img
If I delete this recovery.img file on the FireTV with the command you suggested, where does it go? Does it actually free up space, or does it go to some kind of “recycle bin” that also has to be emptied in order to actually reclaim the free space?
It frees up space. There is no recycle bin on the Fire TV.
Thank you!
BTW, where does ClockWorkMod store its backup files? Which folder location is it in?
When I follow directions above and push out 6.0.5.1.4a and try to install it. My AFTV gets stuck on amazon logo. I have to power cycle it and and boots back up normally. If I push out 6.0.5.1.3 and reboot it reboots to clockworks mod recovery.
I am not sure what I need to do get 6.0.5.14a installed. If I have 6.0.5.1.3 installed is there a way to upgrade to the latest version right from the clockworks menu?
I have a question im root my fire tv im using amazon firetv utility v0.34 every time i reboot into recover or try to reinstall the recovery i get the white amazon logo and a on n off white light! it never goes any father so at this point it seems im not able to install recover or update custom roms.
Im running 51.1.2.0 stock still but rooted!
What can i do to fix this?
Hear a pic screenshot for so reason it seems to not be installing in the rite directory http://postimg.org/image/y1xk9mmaf/
Thanks to your guides and the genius of rbox everything worked out great! I ended up using your serial number decoder and purchased two more at best buy!
On this second AFTV, there’s a weird issue though. After the AFTV is idle, it will go to the screen saver, then “power down / sleep” as usual. But then, after sleeping for 5 to 10 minutes it will randomly boot into cwm recovery??
Not a huge deal for me, can just reboot system from recovery. But the wife freaks out so I’m trying to make it wife friendly lol.
Any ideas on where to look for problems? Any thoughts or ideas are appreciated.
Any luck fixing this? I have the same issue on one of mine.
For all those getting stuck with an eternal white amazon logo when trying to reboot into Clockwork’s recovery, here’s what finally worked for me. I followed the full guide to “…Revert an Amazon Fire TV back to Stock Recovery and Stock Software” that can be found here: http://www.aftvnews.com/how-to-revert-an-amazon-fire-tv-back-to-stock-recovery-and-stock-software/
back to the 51.1.0.1 version my box came with. After this, I went through the steps through installing Clockwork and it finally booted into the recovery.
any fix for “stuck at while Amazon logo?”….
I,m trying to make a backup on a pendrive but i don’t see any option about this. Only it seems possible on the internal Sd.
Anybody knows the way to make a backup on a external USB storage ?
Thanks.
Can I use 6.0.5.1.3 also? 6.0.5.14a and 6.0.5.14 gave me the white Amazon logo.
Followed al the steps correctly and didn’t get any error message. I downgraded and rerooted to firmware 51.1.0.2_user_510058520.
I wonder why 6.0.5.1.3 gives me the ClockworMod screen and 6.0.5.1.4a the white logo?
here’s a copy of everything I did…
Microsoft Windows [Version 10.0.10565]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>adb version
Android Debug Bridge version 1.0.32
C:\WINDOWS\system32>adb kill-server
C:\WINDOWS\system32>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\WINDOWS\system32>adb connect 192.168.0.4
connected to 192.168.0.4:5555
C:\WINDOWS\system32>adb devices
List of devices attached
192.168.0.4:5555 device
C:\WINDOWS\system32>adb shell
shell@android:/ $ su
su
root@android:/ # chmod 777 /cache
chmod 777 /cache
root@android:/ # chmod 777 /cache/recovery
chmod 777 /cache/recovery
root@android:/ # cd /cache/recovery
cd /cache/recovery
root@android:/cache/recovery # echo –update_package=/cache/update.zip > command
ache/update.zip > command adb push C:\Root Fire Tv\update.zip /cache
push: C:\Root/adbfw114/adbfw114/ikonotv.icon/B00NEJS7ZO/thumbnail_f589f49e84a15d
36c1fb602c76bce0789c8d6b3913b857c0edff0a91cfecaf23.png -> Fire/adbfw114/adbfw114
/ikonotv.icon/B00NEJS7ZO/thumbnail_f589f49e84a15d36c1fb602c76bce0789c8d6b3913b85
7c0edff0a91cfecaf23.png
failed to copy ‘C:\Root/adbfw114/adbfw114/ikonotv.icon/B00NEJS7ZO/thumbnail_f589
f49e84a15d36c1fb602c76bce0789c8d6b3913b857c0edff0a91cfecaf23.png’ to ‘Fire/adbfw
114/adbfw114/ikonotv.icon/B00NEJS7ZO/thumbnail_f589f49e84a15d36c1fb602c76bce0789
c8d6b3913b857c0edff0a91cfecaf23.png’: No such file or directory
C:\WINDOWS\system32>adb reboot recovery
As with 100+ others’ complaints above, 6.0.5.1.3 works but the latest 6.0.5.1.4 and 6.0.5.1.4a are both broken – hangs at amazon logo on reboot
I been trying to factory reset my rooted fire tv 1st gen and it erased my apps but does not erase my files on internal storage so i still have old kodi build still there. is there a way to factory reset it while retaining root and fully cleaning out all the old files
Hi
I am completely new to all this, my aftv box has been blocked by amazon.
I’ve been told that I can install a nut custom OS so as to use the box.
My aftv is a 2016 model.
Any help would be appreciated.
Thank you
I do not see any of the versions you listed as my current version. I am already Rooted on 5.0.4 (536116920). Will the Clockwork Mod still work?
Comments have been disabled for this post due to an increase in spam comments.