yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] Y314K:
Thanks.. About the retry all four options. The first time I tried it with the fixed typo I either got an error or a 0kb raw file.

Gonnat try..

adb shell

cat /dev/fb0 > /sdcard/screenshot1.raw

cat /dev/fb0 > /sdcard/download/screenshot2.raw

cat /dev/fb0 > /storage/usbdisk/screenshot3.raw

cat /dev/fb0 > /storage/usbdisk/cwm/screenshot4.raw

Do you suppose to wait a long while for the image to be created ??

Update: Results... Either no .raw file created or 0kb raw file created.
[Fire TV Android Development] salman.a:
Unable to load 6.0.5.1.4a

When I 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 AFTV rooted and everything installed as described in http://www.aftvnews.com/how-to-install-clockworkmod-custom-recovery-on-the-amazon-fire-tv/

Can someone please let me know how to upgrade the CM Recovery to the latest version? Thanks for your help.
[Fire TV Android Development] Y314K:
Latest info is always in the first post... Just got to read it... U use the Amazon FireTV Utility App v0.34 to get both things done easy...
[Fire TV Android Development] salman.a:
Thanks for the information. I will try to use the FTV app to try to unlock bootloader again. I followed directions to unlock the bootlader already that completed successfully but still experienced issues in loading the latest clockworksmod. Maybe using the latest FTV app would be much simpler. Thanks again.

I was following directions on http://www.aftvnews.com/how-to-install-clockworkmod-custom-recovery-on-the-amazon-fire-tv/ and made sure the bootloader was unlocked successfully before going to the next step.
[Fire TV Android Development] Y314K:
I follow the AFTVNews.com guides too. I just use the Utility as my shortcut option & the guides as my order of mods option. The Start guide is the best guide of guide's for any FTV. The only thing I have not tested successfully with the Utility is to downgrade stock recovery or stock fw (ONLY the Downgrade part). I would advice someone that needs to downgrade to do it manually the way the start guide link advices. But I've never had to because I have never need it to. All 4 of my FTV's have been low enough to unlock the bootloader or to install CWM.
[Fire TV Android Development] salman.a:
I followed guide http://www.aftvnews.com/how-to-partially-unlock-the-amazon-fire-tv-bootloader/ to unlock bootloader and it completed successfully. I then moved step #6 in guide http://www.aftvnews.com/how-to-install-clockworkmod-custom-recovery-on-the-amazon-fire-tv/ and downloaded clockworksmod version 6.0.5.1.4a and followed step #7 and on to install the new clockworksmod. When I do this the device reboots and sits on amazon logo. I have to power cycle it and it boots up normally. The recovery isn't installed. I then use version 6.0.5.1.3 and this loads fine, fire tv reboots into clockworksmod recovery.

My question is why doesn't my fire tv take the new clockworksmod. Is there a way to upgrade it to 6.0.5.1.4a from within 6.0.5.1.3? Fire TV version I am running is 51.1.0.2_user_510058520 which I downgraded per the instructions on the aftvnews site.
[Fire TV Android Development] Y314K:
Guess you can try upgrading to PreRooted FW 51.1.4.0_514006420+updated on CWM 6.0.5.1.3. But I've never seen that problem.. Maybe the FW update will help things along... That is the last FW that does not require the latest CWM.
[Fire TV Android Development] RoachForLife:
Is it of any concern that when Im in the recovery and I install the rom.zip file the Android character is out of place. The animated portion in his 'stomach' is actually missing and instead above his head. Everything still seems to have worked but unsure if this is a sign of something else? Thanks
[Fire TV Android Development] Y314K:
It's just a small graphics bug on CWM. Nothing to worry about. It's been like that for a few versions. Eventually it will be fixed but it's a very minor thing & time is better spent on some actual modding... No Worries RFL....
[Fire TV Android Development] rp201:
There was a clockworkmod fix that was applied in some revision of the tool where you can hit 1 or 2 to change some display setting. I wonder if selecting the proper of the two corrects this display glitch. I've just ignored cause it does not inhibit any of the processes you will perform. just an aesthetic which I couldn't care less. you can rest at ease and let the devs spin their cycles on more important stuff.
[Fire TV Android Development] Y314K:
Might be something to test, although I doubt that is the cause... But could not hurt.. Will have to look into it.. Might get the chance when ever I do a Factory Reset... But since I am on the latest PreRooted everything not sure when I will get the chance..

Thinking about it some more. It must be that the guts of the robot does not auto-fix or mods itself to the scan one is using. It just stays where it would be with the overscan. So modding it will just move the other parts around but wont rally fix the guts.. I think I'll just leave it alone...
[Fire TV Android Development] jir591:
I'm very familiar with CWM on my phones and have had great results. But this version is different for FireTV. I did a CWM backup. I messed around with xbmc and ran unto some problems with it . So I thought that's ok, I have a CWM back up. So I did a CWM restore, but all of my XBMC addons and setting were gone. How is that possible? And yes the addons where there when I did the backup.
[Fire TV Android Development] Y314K:
Most of us are using the 2 Apps/Utilities (Amazon FireTV Utility App / ADBFire) to do the XBMC backups/Restore... There is a bug that will be fixed on the Amazon FireTV Utility App v0.36 release on making a full backup. So I would wait for Amazon FireTV Utility App v0.36 . FireTV is no a full Android device like most phones & tablets since Amazon picks & chooses what it includes on their FW cooking. The systems structure is a bit different to other devices too... So CWM is not ever going to work like it does on phones & tablets. But all he important stuff is there. Just something to remember...
[Fire TV Android Development] jir591:
Thanks for the information about restore . For xbmc I am using the Backup program addon. Works great.
[Fire TV Android Development] salman.a:
I didn't try this as I see 51.1.4.0_514006420 is not rootable. I have a firmware version that is rooted and with CWM at 6.0.5.1.3 I don't want to upgrade and loose root and can't root it again.

Bootloader is unlocked and tried copying the CWM again and rebooting but still get stuck on white Amazon logo.
[Fire TV Android Development] bula1ca:
you need to use a custom kernel, by installing a custom rom root will be safe. Never use a stock rom once you have CWM installed. Read some more before you do anything stupid and lose your root.
[Fire TV Android Development] Y314K:
PreRooted FW = Prerooted Stock Images = http://xdaforums.com/fire-tv/development/prerooted-stock-images-t2882337

Once you have installed CWM. CWM will block any non PreRooted FW aka Prerooted Stock Images that try to install.

The following is the first paragraph on the PreRooted FW aka Prerooted Stock Images thread...

Read & Read & Read.... But the jest of it is.. If you are rooted with CWM installed. Flashing a PREROOTED FW will keep ROOT.
[Fire TV Android Development] salman.a:
Upgrading to 51.1.4.0_514006420 and then installing the latest version of CWM worked perfectly. Thanks again for your help. Not sure why it wasn't working with previous OS version but getting it to 51.1.4.0 did the trick.
[Fire TV Android Development] Y314K:
Really glad you got to where you wanted.. Love it when a FireTV gets it's wings... :highfive:
[Fire TV Android Development] nickyb003:
Following the guidelines on AFTVnews after 3 days I got the fire tv to downgrade to Stock Software version 51.1.0.2_user_510058520. The next step says unlock bootloader then push the new recovery....I'm using the Amazon fire tv utility app to unlock the bootloader and to also add CWM 6.0.5.1.4a. but after reboot it gets stuck on the white amazon logo.

Getting CWM on my fire tv has been a headache since Tuesday night because for some reason the command "adb push" only works with update.zip it doesnt work when I try to push recovery it doesnt work when i try to do the bootloader...it always comes back as no such file or directory, if it hadn't been for adbfire & the utility app I doubt I would've been able to downgrade

Does anyone know why it gets stuck on the white amazon logo? I tried putting back the stock recovery and doing a 6.0.5.1.3 version of cwm but I still get stuck =(....and this is like the last step.

I'm thinking about putting back the stock recovery, locking back the bootloder and doing a factory reset on 51.1.0.2_user_510058520 and trying the last steps over again...what should I look out for if I do this? I know i will lose root but will I lose the automatic block updates on the fire tv? I don't trust my dd-wrt router to automatically block updates
[Fire TV Android Development] nickyb003:
After many failed attempts I got CWM 6.0.5.1.2 on the fire tv using adb fire. I did a factory reset which almost updated the software

did a DNSMasq in dd-wrt under services to block updates but had to unblock updates to register the device to get pass the screen

address=/amzdigitaldownloads.edgesuite.net/127.0.0.1

address=/softwareupdates.amazon.com/127.0.0.1

address=/firs-ta-g7g.amazon.com/127.0.0.1in

address=/facebook.com/127.0.0.1in *** Just to make sure before It was blocking)

Then I rooted over and etc etc.

Then I disconnected the fire tv from the ethernet and ran adb fire over the wifi and followed aftvnews instructions. and CWM was installed =) it's v6.0.5.1.2 but it's better than nothing...gonna take a rest then try to update it
[Fire TV Android Development] dbaseii:
Hi guys. Sorry I this has been answered earlier. I have the latest prerooted ROM and cwm. I have a 16gb USB stick in but I cannot see how to do a backup to it. I went into the mount options but its not there. Any ideas? Thanks
[Fire TV Android Development] mattgyver:
I followed all the steps, and got cwm installed. I went to make a backup, and it errors out when backing up /data. It just says:

Just curious if that's happened to anyone else. Searched the thread, but I didn't find anything similar.

Sent from my TARDIS
[Fire TV Android Development] patt2k:
I also get White Amazon Text and it just sits there.

pretty sure I am bricked now when flashing rom got error 7 (did factory reset) now using keyboard can't boot anymore into CWM (I could few times) before I did factory reset.

After errror 7 I could not boot into fire TV so I wasn't sure how to maybe downgrade CWM..

anyone can help me out? or this FIRE TV is done?
[Fire TV Android Development] moeduss:
Did you try flashing and older version of stock Rom in hopes that like the phones, when you go back to stock Rom and recovery a factory reset after boot up rests the partitions and all is good again? Just a thought. Good luck.
[Fire TV Android Development] patt2k:
I couldn't that is the problem. Now I can't even get into Recovery.

I could get in few times using keyboard alt+prt scr+i , then HOME but since the flash failed I think the rom didn't get installed so I can't get into recovery at all..
[Fire TV Android Development] moeduss:
Because of the state the ftv is currently in, no adb access either, correct?
[Fire TV Android Development] patt2k:
Exactly:laugh: when I was in CWM I could choose reboot recovery it worked fine.. now since I can't enter there with all keyboard combinations i'm tight lol.
[Fire TV Android Development] xm41907:
I am having an issue with CWM not seeing my externally mounted system and data. I have both mounted to a powered USB hard drive using the method here Everything works like a charm within the FTV, but when I open CWM, it can't find any files, then it reverts to the last known directory, which was my internally mounted data. I would prefer to not do a factory set and I can't return the system/data to internal without flashing it in CWM. Can someone with an externally mounted system/data confirm/deny that they have access within CWM? I'm considering reinstalling CWM, but I don't have an immediate need to and I'd rather not mess with a working system.
[Fire TV Android Development] freezer2k:
Not sure but,

Can you use ADB shell to manually unmount the flash data/system and mount the extern data/system?

I don't know CWM very well, so not sure if this will work with what you are planning to do.
[Fire TV Android Development] schybiorz:
also i can't see it, but this should be ok as i think.

usb data mount script is, as fare as i know, activated in kernel boot, not in cwm recovery boot, so u can't se them mounted, btw is not mounted in cwm by default. maybe rbox can clarify it from the profession side.
[Fire TV Android Development] xm41907:
Yes, it's not a concern for using my FTV. Everything runs fine. But if a new custom ROM or such comes out, I have no way of flashing it. Effectively, CWM is nonfunctional other than clearing cache. I didn't think about using ADB to mount/unmount. Can you ADB to the FTV while in CWM?

---------- Post added at 10:50 AM ---------- Previous post was at 10:48 AM ----------

A thought I had was to temporarily disconnect the external drive, reboot, and place the zip for flashing onto the internal data. From what I recall reading, if the script doesn't see the external drive, then it will revert to internal. I wonder if doing this once just to put a zip onto would screw up applications.
[Fire TV Android Development] tarvoke:
rocks. and. works.
[Fire TV Android Development] ashsha7877:
unable to boot into CWM recovery

HI Guys,

I need some help having issue booting fire to CWM, i was not able to reboot into CWM after the first installed. I rooted my AFTV these are the steps.

1) block updates on router.

2) fire tv running stock version 51.1.0.1

3) rooted fire tv (installed towelroot, supersu and busybox)

4) disable updates via adb on the fire tv

5) partially unlock boot loader

6) install CWM 6.0.5.1.4a (yes i granted su permission) :)

At this point fire tv rebooted but it did not bring CWM instead it went to straight to normal amazon boot. I tried alt+printscn approach but didn't work. When i try to get into cwm via adb command "adb reboot recovery" it will reboot and for a split sec i see blue screen and but then it boots up in normal amazon menu.

So i decided to do factory rest and start over.....problem is it is not really resetting the box, it takes me to the initial amazon sign in screen, i enter my login info and bang into main menu and all my apps that was there before are still installed.

Good news is i can still adb to the box and have root access.

any suggestion who to fix this?

I am still running on stock version 51.1.0.1 and i have not installed rbox boot menu. Also, i have done rooted 6 boxes so i am fairly familiar with the process and steps to follow.

Thank you
[Fire TV Android Development] bula1ca:
Do you have busybox installed? Is it active? You can check this with Root Checker.
[Fire TV Android Development] ashsha7877:
hi,

Yes i have busybox installed, "Buybox v1.22.1-Stericson is installed", i assume this you what you meant when you said if busybox is active.

Thank you
[Fire TV Android Development] laidbackcloud:
i have cwm installed, and when boot into recovery, the screen resolution is alittle off. how can i fix this?
[Fire TV Android Development] mattgyver:
From the OP:

Sent from my TARDIS
[Fire TV Android Development] laidbackcloud:
thanks
[Fire TV Android Development] ashsha7877:
Does anyone have any other suggestion?

When and if i do manage to get in to CWM via Alt+print Scrn + i. What should i do? Should i select wipe data/Factory reset option? Will this take my AFTV to the way it came from amazon? I am still running amazon stock version 51.1.0.1 and fully rooted with Super su and busybox installed.

I also tried to upgraded but after the zip file was adb to the box fire tv did reboot but didn't go thru the installation process.

Thank you
[Fire TV Android Development] KLit75:
The process is very tedious but you should go to aftvnews starters guide and recheck all steps at least twice. Not sure but I think your current firmware should be downgraded. And you should be using rbox firmware since I pretty certain you can't flash stock.

There are easier ways to boot recovery once you're setup right. I only had to do that process once and like I said it's tedious but well broken down by aftvnews.
[Fire TV Android Development] ashsha7877:
I did check everything in the exact same order as the guide. I don't need to downgrade since the stock version i have is root able and i can install CWM without downgrade.

I just cant this darn box to boot up in cwm with adb command or Alt+PrintScrn+i, i have tried for days :( I also try to re installed CWM and even tried different version of CWM but still no luck, I even tried to upgrade the firmware but Amazon never actually applies the updates after it reboots. I can select factory reset option via remote or thru setting options and box will reboot but never actually goes thru the reset process but instead goes straight to login screen and once i login everything is still there.:confused: I tried aftvnews guide in details, I have rooted at least 5 boxes so i am so confused why this box is acting up.

Box is rooted, busybox, supersu, SD maid pro, towleroot, Es explore, installed.

Thank you
[Fire TV Android Development] emtownsend:
I am trying to update my ROM (I am rooted already and have been running for months OK), but when I issue the ADB command to get into recovery, I get the Amazon logo but it never proceeds no matter how long I wait. I did re-download the newest CWM referenced above and copied to the /sdcard/ directory and verified it is there. (did this twice with a new download in case). Then I ran the dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery command and finally the adb reboot recovery. Do you think it is my CWM image? That command above: what does it do? Doesn't the recovery image need to be outside of the /sdcard/ location to boot? (sorry, I'm ignorant of these commands). Thanks for the help.

EDIT: My current ROM is 51.1.0.1_user_510055620. I simply rooted and installed FiredTV with Kodi and that is how I have been rolling since I got it. I would like to install bueller-51.1.5.3_515040320-rooted.

I noticed the comment about not imaging over stock, but I believe this is one of the original stock images that can be overwritten, correct?
[Fire TV Android Development] KLit75:
If you haven't already, head over to aftvnews and follow the guides. To do what you want you'll need an unlocked bootloader, and Rbox's boot menu. You're right about not needing to downgrade but to install that software you MUST have an unlocked boot loader and Rbox boot menu otherwise you will brick. Also, I'm not certain you can just skip that many versions. Definitely read the guides at aftvnews thoroughly. Good luck.
[Fire TV Android Development] emtownsend:
Yeah, I will start from scratch and see. I am thinking that I may be missing the Rbox boot menu maybe. Something along the way was lost. Thanks!
[Fire TV Android Development] emtownsend:
Rats... think I bricked it. I have the Amazon logo with no progression now. I followed all the steps and then downloaded boot.img (firetv-bootmenu-1.0.img) and rebooted and am now stuck.

I am going to pick up a USB A-to-A cable and see if I can't fastboot into it. Otherwise I will be shopping for a new FireTV methinks?? :(
[Fire TV Android Development] hindjew1:
I have multiple AFTVs, all the rest are playing nice but this one. I spent about 3 hours last night doing the same thing over and over again.

I have a box with 51.1.1.0_user_511070220 rooted, with busybox, updates disabled via adb. In order to fully unlock, I have to downgrade to 51.1.0.2_user_510058520. So I access the page at: http://www.aftvnews.com/how-to-manually-upgrade-or-downgrade-the-amazon-fire-tv/

I follow the instructions to a T (I've done this to about half a dozen AFTVs in the past...this one must have slipped). Every time i reboot into recovery I get a message "The system update was not successful. Your amazon Fire TV will restart in a few minutes..."

I scroll down on the page to "if downgrade fails.." Ok, recovery is borked. So, I follow the instructions to update recovery to 51.1.0.

When I run: dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

I get: 20480+0 records in 20480+0 records out 10485760 bytes transferred in 1.958 secs (5355342 bytes/sec)

I run all the RM commands, and start over with the guide. I've done this probably a dozen or so times. I've even used busybox to check the md5 checksum on the "update.zip" file I have uploaded each time. I've rerun towel root, busybox, etc.

I've also deleted /cache/recovery directory, recreated it, set chmod 777 to it, and when it fails, I've noticed a few files in it "last_install" "last_install_check" "last_log" along with the command file we created earlier. I've pulled the logs. "last_install" and "last_install_check" are empty. "last_log" has the following: http://pastebin.com/jtZQc8f9

My end goal is to fully unlock, install CWM, update to 51.1.4.0_514006420, install Boot Menu, then update to 51.1.6.1_516010220.

Any suggestions? Comments?

Edit: switched from a mac to a pc and it worked on the first try. I have no clue why it worked, but it did. Leaving this up so it may help someone else in this predicament.
[Fire TV Android Development] I_did_it_just_tmrrow:
Damn, I should not start "wipe cache partition option"! Is that a bug?

I hope somebody can help me with that:

[Rooted&Unlocked] CWM c6.0.5.1.4a - After broken "wipe cache partition" no keyboard

Greetings by I_did_it_just_tmrrow
[Fire TV Android Development] schybiorz:
i now realized, that i also get the same problem. USB is not working anymore in boot menue (can't remember since it doesn't work anymore). CWMR booted via keycombo is working, but not the selection... Bootloader is unlocked. Shell prompt direct to root@android:/ #
[Fire TV Android Development] rbox:
Yes, the printscreen should work. Otherwise I think that's the only way.
[Fire TV Android Development] AFTVnews.com:
Thanks. Good to know incase someone softbricks with ADB disabled.

I'm curious, is the factory reset on the Fire TV a custom procedure written by Amazon? Is it related to or part of recovery at all?
[Fire TV Android Development] rbox:
I've never done the factory reset, but I'm sure they just use the builtin android/recovery mechanism for doing a reset.
[Fire TV Android Development] retroben:
Whenever we get custom support,can we install a ROM from inside the Fire TV's Storage?

If I have to use ADB from a PC to install a ROM,it is gonna be a huge pain for me.

I wished there was a USB patch for constant access to external media.
[Fire TV Android Development] rbox:
Recovery supports flashing from /sdcard or external USB storage.
[Fire TV Android Development] jocala:
Thanks for your work on this!

I've added support for CWM Recovery installation to adbFire 1.07. It links back to this thread for recovery image downloads.
[Fire TV Android Development] CLran619:
not in my brick case.read the usb but didnt recognize the update zip at all. none of them. i downloaded ever version and tried it. no success.
[Fire TV Android Development] rbox:
Can you be a little more descriptive than "didn't recognize the zip"?