yashsingh1/xdaforums huggingface dataset:
[Fire TV Android Development] bula1ca:
Did not do it for me but I only tried it once.
[Fire TV Android Development] D-an-W:
I installed v4 / 5.0.5_r1 last night and use a FLIRC USB Dongle to control the Fire TV with my Harmony Touch IR remote (An unexpected bonus is that it also works in TWRP!). The USB port is working fine here.
[Fire TV Android Development] tmmcbots:
, when I restart my firetv2 I can see the TWRP logo then boot Instructions but cannot read them as the images appear to be on top of each other...... what keys on the keyboard do I need to press to enter into recovery blindly?
[Fire TV Android Development] D-an-W:
Just press Right arrow on your keyboard once and wait 5 seconds.
[Fire TV Android Development] ks-man:
Quick noob question. I rooted with ZeroEpoch method and installed TWRP Recovery via the first post. I currently have TWRP 3.0.0-2 and Stock 5.0.4 with auto updates disabled.

Can somebody post the directions for updating to rbox's custom software? So many of the directions are for un-rooted boxes or people not yet on TWRP that I'm a bit confused of what the proper way to go from where I am (already rooted with TWRP) to the custom version of 5.0.5. Thanks.

---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------

I use FLIRC also and confirmed that it works in TWRP. The one thing I don't have is the mouse click but guessing I can map that to my remote in the future (select isn't the correct button but left/right/up/down works).

One thing that doesn't work with mine via FLIRC is holding down Play and Enter to restart the Fire TV. Whenever I want to do that I need to grab the regular Fire TV remote. Are you able to do that via FLIRC? Thanks.
[Fire TV Android Development] D-an-W:
Just use TWRP to install 5.0.5_r3, that will get you up to date.

I changed the select button from the Fire TV profile to the Enter key of the full keyboard and it works great.

Haven't tried restarting with the Harmony yet.
[Fire TV Android Development] ks-man:
When you say just use TWRP to install...could you explain the process for doing that? Where do I put the file (I like to use ADB) and what buttons in TWRP do I use to install it? Not in front of my FireTV right now so I don't know how self-explanatory it is. Thanks.

Also, when you have a chance could you try restarting via the harmony? Just hold down Play and Enter for 5 seconds.
[Fire TV Android Development] rbox:
Some people have reported issues with 1080i TVs. Unfortunately I don't know of any way I can fix it. If there is a way to force your TV in to 720p mode, that might work better. Otherwise you'll need a 1080p TV or a 720p TV.
[Fire TV Android Development] deanr1977:
Put you files on your sd card or on your system main section (like where your downlaoad , Amazon & the rest of your files Are "not the root location"), open Twrp & select Install, locate your file, press the swipe to flash to install.

Hope this helps If so press that thanks button.
[Fire TV Android Development] conmebol:
I used wireless logitech keyboard, but clicking right arrow only works one out of 10 times to get to recovery. Anyone encountered this before?

I got this to work by flashing recovery separately.
[Fire TV Android Development] bula1ca:
What recovery version did you flash?

I had the same issue after installing 5.0.5 r1 (post #190) and I reversed recovery back to 3.0.0-2, that got my USB port working again however my understanding is if you revert back to an older recovery revision than v4 after installing rom 5.0.5 r3 you will disable su.

As per rbox:

5.0.5r3

"This includes 2ndinit version dee776 and TWRP version 3.0.0-3. Because this comes with a newer 2ndinit version, do not flash an older recovery package. Doing so will disable su."
[Fire TV Android Development] bubbanc:
Should v4 have a file called ramdisk-recovery.cpio.lzma or ramdisk-recovery.cpio? Because it's named .lzma while v3 has ramdisk-recovery.cpio.
[Fire TV Android Development] rbox:
Starting at v4, the ramdisk is compressed, so yes, the lzma is correct.
[Fire TV Android Development] gen3benz:
Make sure anyone that goes to the link for the MTK65XX Preloader USB VCom drivers clicks on the skip ad link at the top first. Just downloaded and started installation of about 20 adware programs.

Im usually pretty good at not clicking on the nightmare installers but this one got me. Whoops.
[Fire TV Android Development] deanr1977:
[MENTION=6927761]aftvnews[/MENTION] maybe you should take a look at this cause its in one of your tutorials? I didn't have any problem when I downloaded a while back but maybe you should change the link or warn other future users?
[Fire TV Android Development] gen3benz:
Installed without a hitch. Thanks rbox!
[Fire TV Android Development] rbox:
For those having trouble with the keyboard, and haven't already tried to fix it by flashing down to something else, please try this ramdisk:

http://www.mediafire.com/download/8p...very.cpio.lzma

Place it in /system/recovery
[Fire TV Android Development] Kramar111:
[MENTION=3991724]rbox[/MENTION]

Invalid or Deleted File.
[Fire TV Android Development] rbox:
That's weird, try this one: http://www.mediafire.com/download/8pv85anwb4phhcv/ramdisk-recovery.cpio.lzma

Oh, I see what happened. I copied and pasted it from the other thread... haha.
[Fire TV Android Development] Kramar111:
[MENTION=3991724]rbox[/MENTION]

keyboard working with new ramdisk!

thanks!

P.S. keyboard Rii mini II with AmazonBasics 4-Port USB 2.0 Ultra-Mini Hub

sloane-5.0.5-rooted_r3

hm... looks like keyboard work only with hub (like [MENTION=6169935]bula1ca[/MENTION] said in other thread)

but my hub don't have own power
[Fire TV Android Development] conmebol:
I was still using 5.05 r1
[Fire TV Android Development] bula1ca:
Keyboard worked in recovery V1,V2 and V3 with dongle plugged directly in the USB port but does not in v4 (using old or with new posted ramdisk file) however works every time with a powered hub. I also can confirm that works with a no powered hub as well. Now that I do not really understand.
[Fire TV Android Development] rbox:
I'm trying to make sense of what works and what doesn't work and what I changed to cause the problems, but It seem to be getting conflicting information from different people. Here you say V3 doesn't work, but http://xdaforums.com/showpost.php?p=65316135&postcount=68 you say V2 and V3 work and V4 doesn't.
[Fire TV Android Development] rbox:
Well I was able to duplicate the behavior with a real keyboard I have. And can confirm V3 it works and V4 it doesn't, although unplugging it for 5 seconds and plugging it back in did seem to make it work. Now to figure out what is wrong...
[Fire TV Android Development] bula1ca:
Correct. I made an mistake in above post should read V2 and V3 worked and it stopped working in v4. Thank you

---------- Post added at 05:46 PM ---------- Previous post was at 05:43 PM ----------

Thank you, just saw your post
[Fire TV Android Development] rbox:
v5 includes TWRP 3.0.0-4 which should fix the keyboard issues people were seeing.
[Fire TV Android Development] ks-man:
I'm on TWRP 3.0.0-2.

Assuming things appear to be working and my keyboard is fine is there any reason to upgrade to the lastest version each time your release it? Thanks.
[Fire TV Android Development] bula1ca:
That is up to you however if you want to upgrade to latest release pre-rooted 5.0.5r4 then it will install TWRP 3.0.0-4 as well.
[Fire TV Android Development] deanr1977:
I'm on 5.0.4 r1 or r2 & on 3.0.3 recovery & everything's working great so for me unless there are more great extras or fixes I'm staying put for now, no reason to upgrade just yet
[Fire TV Android Development] cliffyboro:
I've installed the recovery v5 just now and the boot menu and recovery are garbled on-screen. Both TV's I have tested on only go to 720p, could this be why? If not, any idea why this has happened?

Pic here.

EDIT: When FireOS boots, its looks fine.
[Fire TV Android Development] elliwigy:
try another tv
[Fire TV Android Development] rbox:
Yeah, unfortunately I only have a 1080p TV to test with. I do know 1080i has issues. Are you sure it's not a 1080i tv?
[Fire TV Android Development] rp201:
cannot boot to system keeps rebooting to twrpv5

Setup:

Ftv2, rooted, with twrpv1 recovery installed

copied ftv2-twrp-recovery5 to /sdcard/firetv2_recovery_v5.zip

ran rbox terminal and installed v5recovery with su then "sh /sdcard/firetv2_recoveryv5.zip"

as I'm typing this I think back now I I see I renamed the file from sh /sdcard/firetv2_recovery_v5.zip to firetv2_recoveryv5.zip perhaps internal scripting misreferenced it because I mis-named from original?

3. It said it completed fine. I rebooted instead of seeing twrpv5 it said 3.0.0-4 ( I figured rbox did a small update did not require a rebuild)

I intalled xposed.zip from twrp 80sdk22arm64 and received on error message

I was offered to wipe dalvik/cache or reboot. I choose to wipe cache. what would normally be a 2 second command was now 5 minutes and not completing. so I just unplugged the device. BAD MOVE

the device can no longer boot to system. it only boots to twrp. I went to a command shell in twrp to rename the file correctly. during rename process I received a cannot mount cache partition. I decided to wipe cache from twrp to see if it could pick up where it left off. after 10 min it completed and the system reboot.

System now reboots to OS.

NOTE to OTHERS: if you choose to wipe dalvik/cache it is not a two second function. wait it out.

edit: I decided to re-run twrp-v5-install using the correct naming convention from adb-overnetwork

I received these errors

sh /sdcard/firetv2_recovery_v5.zip

Extracting unzip...

Remounting /system read-write...

mount: Invalid argument

Extracting...

error: cannot delete old /system/recovery/2ndinit

Read-only file system

error: cannot delete old /system/recovery/2ndinitstub

Read-only file system

error: cannot delete old /system/recovery/ramdisk-recovery.cpio.lzma

Read-only file system

ln: /system/bin/ext4_resize: Read-only file system

Remounting /system read-only...
[Fire TV Android Development] bula1ca:
[MENTION=3338137]rp201[/MENTION]

Do you still have su? What happends when you type su in adbshell? Try to re-install sloane-5.0.5-rooted_r4.zip from within TWRP.

BTW, TRWP will show as 3.0.0-4 when firetv2_recovery_v5.zip is installed and not 3.0.0-5, it was due to keyboard issues some of us had.
[Fire TV Android Development] rp201:
I still had root. it's just that I think the firetv2_recovery_v5.zip might have some issues when run twice. just relaying that info. I'm ok. just reporting findings. I have since then updated to 5.05v4, because I was getting errors installing xposed. (yes I had busybox installed) and I def needed to use leanbacklauncher version of playstore. opengapps version would not work.
[Fire TV Android Development] slybas:
Thanks guys, recovery_v5 on my linux machine works like a charm and I am now the proud owner of a rooted Amazon Fire Tv.
[Fire TV Android Development] elliwigy:
i would always buy and return android boxes until the aftv2.. its one that im glad to keep!
[Fire TV Android Development] Br0wNb0y:
The v5 link is no longer working. Anyone have a mirror? Thanks!
[Fire TV Android Development] rbox:
Link seems fine for me.
[Fire TV Android Development] Br0wNb0y:
Link works now. It was probably an issue on mediafire's end. thanks
[Fire TV Android Development] elliwigy:
or you lol
[Fire TV Android Development] zeroepoch:
A couple people reported the link broken for a short period of time so I doubt it was him doing something wrong. How was this comment in any way helpful. You're the one who can't search the forum and find a few others report the same problem so I think the problem is actually you.
[Fire TV Android Development] deanr1977:
Rbox I don't know if you would want to do this here with your Twrp recovery? but I saw this thread & thought you may want to add a few themes? Ether way here's the thread link -

http://xdaforums.com/showthread.php?t=3310235
[Fire TV Android Development] elliwigy:
i did see after my comment.. when he reported it i had no issues but apparently more than one person did so apologies if I offended anyone.

either way, links are working fine now for everyone.

i personally dont like mediafire for various reasons but cant argue with free lol
[Fire TV Android Development] ImCoKeMaN:
Finally decided to run this on my rooted AFTV2.

Has anyone else had it make a static sound when in the bootmenu and TWRP?

It very easily could just be my setup, but thought I'd at least ask. It was a little rough the first time when the speakers were turned up a little, but still very much worth doing =)
[Fire TV Android Development] Slsaunders:
Is there anyway to install this via kingroot.? I could have sworn I saw someone had success doing it but for the life of me I can't find it

I'm having problems installing the mediatek drivers on Win 10 laptop.

Cheers
[Fire TV Android Development] zeroepoch:
Once you have su working it should be the same procedure as the original root method. Make sure to flash a prerooted ROM so it cleans up after kingroot.
[Fire TV Android Development] Antieco:
Hi, will this work on fire tv stick?

many thanks
[Fire TV Android Development] Ludacrisvp:
No
[Fire TV Android Development] deanr1977:
It's been said before that once you have installed the prerooted rom over the top of kingroot you will need to do a factory reset (optional but adviced) via twrp to clear up the aftermath of what ever is left behind from kingroot.

Like Ludacrisvp said no, but at some point we will have a working recovery on the stick (rbox is working on it When he has time)

Edit - sorry Zeroepoch it was probably you or Rbox who said this, was trying to help but didn't read that it was you saying that haha.
[Fire TV Android Development] ztoben:
Anyone else having some weird screen tearing and other graphical issues with the boot menu? Mine duplicates everything twice across the screen and has a bunch of black lines through it. Also doesn't show any input changes when I use my keyboard, but lets me boot into the recovery still. I attached some pictures.
[Fire TV Android Development] rbox:
People have reported this with 1080i screens. Unfortunately I don't have one, so I can't really figure out what's wrong.
[Fire TV Android Development] mbsans:
Hi, I’m getting this error “… not executable: 64-bit ELF file”, when I try to install TWRP v5 and v4. Below is the full output. I rooted with Kingroot and I'm on 5.0.5 with Fire TV 2:

Any ideas what it could be and could try ? Thanks.
[Fire TV Android Development] rbox:
bueller is NOT FireTV 2
[Fire TV Android Development] mbsans:
Yes, my bad, it's actually a TV 1 model, thanks for clarifying it, I've been going in circles now for days.

Do you think there's any chance to have TWRP in the TV 1 and have a pre-rooted image afterwards ? I just found the thread that rbox is working on the TWRP for TV 1 models: http://xdaforums.com/fire-tv/development/prerooted-stock-images-t2882337/page57

Thanks rbox for the great work !
[Fire TV Android Development] deanr1977:
Yes there will be a recovery & a prerooted rom, please be patient though when it's ready It's ready & you will know about it when its released. If you don't wanna follow xda too much just keep checking over at aftvnews.

The answer for this would be.... Please don't ask for a "when" on the OTA of the recovery/rom or anything else In this forum, I'm not not being nasty It's just the way Xda works & the developers don't like people asking all the time.
[Fire TV Android Development] bah77:
Im already king rooted. Trying to install the recovery and then the custom rom

Copied files to a USB stick, put it in the fire TV2 and run the commands

adb connect IPADDRESS

adb shell

sh /storage/usbotg/firetv2_recovery_v5.zip

Get the error No such file or directory

Am I understanding this incorrectly? Can you not do it from a USB stick?
[Fire TV Android Development] deanr1977:
Look here -

http://www.aftvnews.com/how-to-root...covery-and-a-pre-rooted-rom-all-without-a-pc/
[Fire TV Android Development] bah77:
Yeah thanks, found that after losing on here.

BUT found a new issue :(

Followed it step by step, got to the reboot stage after unzipping the recovery

Fire TV starts up as normal. No boot menu?

Tried a few times, any ideas please?
[Fire TV Android Development] deanr1977:
Best person or persons to ask would be rbox or zeroepoch, or ask the question at aftvnews.
[Fire TV Android Development] bah77:
Will do cheers

BTW, "losing" is a predictive text typo.

I meant "looking" lol
[Fire TV Android Development] deanr1977:
Did you type su after root and get the prompt? Check back on the guide mate you may have just missed one small part & that's why it's not worked?
[Fire TV Android Development] bah77:
Convinced i did everything to the letter but i will re visit and try again after work

Cheers :)
[Fire TV Android Development] zeroepoch:
Usually if the boot menu doesn't show up it's because it can't find the initramfs file. Check the name or try an SD card.
[Fire TV Android Development] bah77:
Im following the below no PC / MAC method and still having an issue...

TWRP custom recovery will now be installed. The screen should say the following without any extra errors or messages:

Extracting unzip…

Remounting /system read-write

Extracting…

Remounting /system read-only…

(It’s okay if it says mount: Device or resource busy at the end since we’re installing a ROM later.)

After "Extracting..." Im getting

/Storage/emulated/legacy/Download/firetv2_recovery_v5.zip[36]:

/data/local/tmp/unzip: not executable: 64-bit ELF file

When i reboot i don't get the boot menu (can see why) must be the not executable: 64-bit ELF file

How do i fix this please?
[Fire TV Android Development] zeroepoch:
You sure you have a Fire TV 2? It almost looks like it can't execute 64 bit binaries.
[Fire TV Android Development] mbsans:
It looks like you have the same error I had "...not executable: 64-bit ELF file". Maybe you have a fireTV-1 instead of a TV-2. I was thinking I had fireTV-2, when I all along had a TV-1. Look at posts from page 25 i.e. posts #244, 245, 246 from this thread. Just a thought.
[Fire TV Android Development] bah77:
Yep, exactly that. I thought i had a 2 but it isn't.

The place online i bought them from had them advertised as 2.

Looks like i will have to wait for a solution for 1
[Fire TV Android Development] elliwigy:
id try toget a refund as well lol how much did you pay for them?
[Fire TV Android Development] bah77:
Had them a while now, will just keep hold and await a recovery & custom rom for the FTV1
[Fire TV Android Development] cmlusco:
i just installed this recovery, but when i boot to it the screen is messed up and doubled, and i cant see all the buttons. Seems like some kind of resolution problem. Any way to fix it? It is also that way on the boot menu and the twrp logo shown before the boot menu.
[Fire TV Android Development] rbox:
Unfortunately this is a common problem with 720p/1080i displays. I tried a few things but wasn't able to fix it. I only have a 1080p tv.
[Fire TV Android Development] cmlusco:
Ok thanks, its an old 720p. I will just hook it up to my other tv to set thing up.
[Fire TV Android Development] rbox:
I just updated the OP with v6/3.0.0-5. This blocks TWRP from auto installing Amazon updates.
[Fire TV Android Development] wdcspurs:
Boot into recovery...

I just got rooted and TWRP installed of course. Working like a champ and verified root. Im familiar with getting into recovery on phones. How do I boot into recovery on the firetv?
[Fire TV Android Development] elliwigy:
reboot the device and select twrp using a mouse or keyboard lol
[Fire TV Android Development] deanr1977:
Just wondering will the version before have the same protection? Like if I go back to 5.0.5 prerooted rom from 5.0.5.1
[Fire TV Android Development] Fruchttiger00x0:
Maybe your TV could convert it via Progressive Scan. Just take a look at the Menue (something like image format i guess)
[Fire TV Android Development] rbox:
No, 5.0.5 comes with the previous version of twrp. But you can manually install 3.0.0-5 after flashing 5.0.5. Or you can just block updates with adb.
[Fire TV Android Development] rp201:
[MENTION=3991724]rbox[/MENTION]

I just wanted to begin bye saying thank you for your hard work!

I am in the same position as this poster. I have rooted on 5.0.5.1 cause I blocked with router and it stil took the update. I have reflashed 5.0.5 cause I prefer firestarter home button effects and launcher customization.. If i install the current version v6 of recovery alone, is it compatible with not taking ota's on 50.5. as it is with 5.0.5.1? thanks. I have disabled updates but I'm looking to use more layers to block than less. If it is, are you going to be reposting the 5.0.5 image with v6 in it. Months from now I may not remember. also, If I'm correct, you don't disable updates in your rooted rom. Just want to say are you still leaving that to us for the future? My personal call would be to block it and those who want can re-enable if they wish. I'm sure you have good reasons for not but I figure we got lucky taking an update and getting root back. I don't think we might be as lucky down the road.
[Fire TV Android Development] rbox:
Yes. You can flash 3.0.0-5 with 5.0.5. And once you do that, there is nothing to worry about. Months from now, nothing will have changed. You will still have 3.0.0-5 and it will still be blocking updates. As for blocking within the rom, I do not do any modifications to the stock software.
[Fire TV Android Development] slackbladder:
Hi chaps,

was wondering if some one could give me a few pointers please...

I recently rooted my firetv2 using sloane-5.0.5-rooted_r4.zip and twrp v5 3.0.0-4 (if I remember correctly).... well I wanted to update just rbox's twrp to the latest version, (to stop any updates from getting through).

1: Is it just a case of following these instructions from here.. http://xdaforums.com/fire-tv/development/firetv-2-recovery-t3309780 top of page 1, .... only I'm slightly lost as straight after part 6 there is the word "Upgrade".

2: Can I upgrade twrp if it is already installed on my firetv2 or is this something that has to be manually updated each time?

3: Can I also do this without the internet connected, so that I can stop any possible updates from getting through, (I have already taken some minor steps by putting in some blocks with opendns)?

4: I also did the "pm disable com.amazon.device.software.ota" when I first rooted... would I need to redo this, or do I need to change anything?

Also I'm assuming that the Source Code is not required to do an update, of twrp, is this correct. I only thought this because I assumed source code is just that, ... Source code,.. (to allow others to see how it is written). Or have I got that totally wrong, and I do need the files?

my utmost appreciation to rbox for his sterling work, and for the chaps helping out a noob...

p.s. already downloaded firetv2_recovery_v6.zip

p.p.s. it is nearly 4am so please allow for erratic typing errors.... lol
[Fire TV Android Development] bula1ca:
You wll need to do it manually, recovery does not have an auto update feature. It is an easy process flashing this zip file over the ADB, see rbox first post in this tread.
[Fire TV Android Development] slackbladder:
Thanks for answering "part 2" of post bula1ca,... but could you possibly help with parts 3 & 4....

cheers

slackbladder..
[Fire TV Android Development] bula1ca:
- leave it connected to Internet, as per your post you already disabled updates.

- you do not need to however to be in a safe side send the command via adb after flashing new v6, takes few seconds to do so.

- no need for source code just the zip file.
[Fire TV Android Development] slackbladder:
Thank you for confirmation bula1ca...

and also for the reply..
[Fire TV Android Development] Sylntnyt:
I just tried downloading this file and uncompressing it and it keeps saying it's a bad zip or corrupt. Is there another place I can get it or am I doing something wrong?

*Edit* Nevermind, I figured it out. The unzipping program I was using was the problem, I was able to successfully unzip it with a different one.