yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] apazrjon:
Yeah ive donw that too once already. I uninstalled xbmc before uninstalling xposed and your module and xbmclauncher. That ofcourse meant your mod was looking for an altwrnative launcher and xbmc that wasnt there, lol. Had to factory hard reset with usb keyboard from recovery, lol. Learned my lesson on that one, ha ha! I found the context button on my k400 and it works like a charm! Think ill just leave it at that. I dont think ill really use it ennough to mess with it more. Sorry you had to probably redo your whole box, but I really apprwciate your help! Cant wait for the unlocking of the bootloader! That should be fun whenever that happens! Cheers!
[Fire TV Themes and Apps] mastafunk:
I believe ctrl + escape does that on the k400..
[Fire TV Themes and Apps] retroben:
My K400r uses the FN key and right Ctrl to open browser options.
[Fire TV Themes and Apps] Nedle:
Any way to bind a hardware key to something else than opening an App? For example I want to bind KEYCODE_MEDIA_PLAY_PAUSE_LONG to KEYCODE_MEDIA_STOP, but not sure how to do this/ if this is possible.

Binding apps to long pressing a button no the remote works quite well, except it also sends the normal command for the short press. Not sure if this is intended or no way around it. This doesn't bother me much though.

Thanks for the module, already helps me get a lot more out of my Fire TV.
[Fire TV Themes and Apps] rbox:
I'm not able to generate new key events or remap key events to other ones. The input subsystem in Android is quite complicated. You do have the option of remapping buttons with the .kl files that people talk about in other threads, but I don't know if those work for long press.

That's just the way the Android input system is handling it. I would assume it wouldn't do that though. It should only fire an event on a key up, and by the time key up happens, it should already know it was a long press. But I haven't looked that deep into it.
[Fire TV Themes and Apps] jordanyork:
Sorry if my questions are a bit noob-ish but I couldn't find the answers elsewhere.

1. If I wanted to not have XBMC set as my default Launcher, but wanted to remap so I can long press home to get to it, can I do that without having the Xposed module activated? (Can I remap the keys without the module active, or are they dependent on one another?)

2. If I only want to remap a few buttons, can I only input the changes in the .xml and everything else still function as normal, or will I need to assign functions to every button press and variation?

That's all I can think of for now but I'll likely have more questions once I finish the keymap and push it to my Fire TV. Thanks so much for your work on this. :)
[Fire TV Themes and Apps] rbox:
For everything you want, you need the xposed module. As for not having XBMC be the default launcher, just install the regular one instead of the ones on here people say they've modified to be the default launcher. You only need to put whatever buttons you want in the xml file, not everything.
[Fire TV Themes and Apps] mastafunk:
For those of us running with the kftv launcher frozen.. Would it be possible to make a module to unfreeze and run kftv and then freeze it again based on a certain key??
[Fire TV Themes and Apps] rbox:
Well you don't need a module to do that. Any normal root app could... But why is it frozen?
[Fire TV Themes and Apps] mastafunk:
So we can run any launcher and switch between them in the standard android manner.. Also get to switch IME's and various other performance improvements from not haveing kftv take up resources behind the scenes.. I know I could do it manually just figured there might be a way to automate it.. Don't know much about xposed..
[Fire TV Themes and Apps] rbox:
That's on my TODO list. Figure out how the launcher is blocking the chooser dialog. But like I said... not really an xposed solution.
[Fire TV Themes and Apps] mastafunk:
Thanks figured id ask..

---------- Post added at 11:56 PM ---------- Previous post was at 11:54 PM ----------

Poking around the settings db you can see it takes multiple entries in the launcher settings maybe if it just had one.. Idk I might take a poke at it. I've been running with it frozen for a bit now as I could care less about amazon stuff.. However it would be nice to check the amazon store periodically without having to manually unfreeze it and freeze it back.
[Fire TV Themes and Apps] hildebrau:
FireTV boots into XBMC, but no network shares

I rooted my FireTV last night, and followed the wiki on how to install Xposed and rbox module to auto boot into XBMC Gotham 13.2 beta 2..

If I power on the FireTV, the system now boots into XBMC, but it doesn't seem to connect to mysql for the library or see any of my "sources" from sources.xml, etc, etc.. it's just a blank slate. I have to QUIT XBMC and let it auto reload itself (since it's the launcher now) before it works.. after it relaunches, all of my videos/library/sources exist once again..

I suspect XBMC is launching before the FireTV has enabled the network fully, or something similar. Perhaps it can't see my userdata xml files on initial boot? Does anyone have any ideas for me to try to fix this? Certainly I'm not the only one..

For the record, I send up a few custom userdata xml files after sideloading xbmc.. advancedsettings.xml, sources.xml, passwords.xml, profiles.xml, and keymaps/keyboard.xml.. These enable it to connect to my NAS, and mysql xbmc library, etc..

Thanks!
[Fire TV Themes and Apps] jordanyork:
Install the regular XBMC?

So I would just remap the home key to launch the KFTV launcher? Is there any way to change the module so that XBMC doesn't launch on boot by default?

Thanks again, man. :)
[Fire TV Themes and Apps] rbox:
You don't have to touch the home key. The standard XBMC for Android you can download from wherever people download it from, is not a home launcher so it won't be started by default. Only the special builds people post here where they say it's compiled to be a home launcher will do that.
[Fire TV Themes and Apps] zpyatt:
Not using profile advancedsettings or sources

First thanks to rbox for this mod, sounds awesome...

But I have this exact same problem. It is quite a coincidence I just tried this and it failed, so I thought I'd check here and what do you know someone else has the same problem, unfortunately there is no solution yet.

As an additional note if I add my profile data via sftp, the Import video library function in the settings doesn't work, as in you here a swishing sound and nothing happens. I just unistalled/re-installed and am importing my video library (the first time I was relying on my profile xml's to handle this), after that I was going to try the sftp again, doesn't sound like it would be useful though.

Also this setup worked fine with the unrooted Fire TV and XBMC 13.1 if that helps.

Thanks.
[Fire TV Themes and Apps] hildebrau:
I'm not sure what is meant by that.. It's not possible to boot straight into XBMC on an unrooted FireTV (to my knowledge).. so I can't see how "this setup worked fine" when it was unrooted..

I can attest that once the box is booted up all the way, the next time you open the XBMC application it is able to read all the userdata XML files and see my network's mysql server, and video sources, etc. It's just the power on straight into xbmc (the first time) that is the problem, for me.

Good to know I'm not the only one. I'm happy to enable some debugs and help out, if I can.. just need to know how to do that.. I forgot.

Thanks!
[Fire TV Themes and Apps] rbox:
So really the only thing I can think of that would help... is using a secondary program that acts as the launcher app, which will not launch XBMC until the network connection is up. I'll see if I can play around with some stuff to see how easy it is to detect the network connection. But that would mean using the regular XBMC since this secondary program would be the one that needs to be the launcher and not XBMC.
[Fire TV Themes and Apps] hildebrau:
I guess I should mention that I am not using the "XBMC for Fire TV" from elmerohueso.. I'm using the stock XBMC build with the XBMC Launcher from blunden. I like your idea of tweaking a launcher to check for network connectivity first. If you have the skills to do that, by all means, PLEASE help us out.. I'm willing to switch to whatever Launcher will work.. even if that's elmeruhueso's "XBMC for Fire TV" build.. I didn't previously notice that was an option, honestly.. Is it worth it? Is he keeping up with the XBMC releases in a timely fashion?

Thanks!

p.s. after reading more about elmeruhueso's "XBMC for Fire TV" build, I believe I'll be loading that on there tonight.. I'm hoping it doesn't have the same problem w/ starting up before the network does.. but I bet it does.. I'll ping him to see if he can "tweak" it as necessary..
[Fire TV Themes and Apps] mastafunk:
If you don't need amazon video you can check my thread in the general section on freezing kftv launcher and running my moded xbmc launcher.. Don't have any network issues.
[Fire TV Themes and Apps] rbox:
I'm not quite sure how freezing the kftv launcher is any different from using my module. In the end XBMC is going to start at the same time.
[Fire TV Themes and Apps] mastafunk:
Idk but all I can say is I and a few others use mysql with xbmc and are having no issues. Maybe the kftv launcher is holding things up somehow.. It seems to do all sorts of strange things. I maintain a similar thread at xbmchub and have had reports from a good deal of users using mysql with no issues.
[Fire TV Themes and Apps] AFTVnews.com:
Is there a reason you're not using the built in option to hide FreeTime?
[Fire TV Themes and Apps] hildebrau:
I switched to elmeruhueso's build, and it seems to power up just fine w/ networking functioning.. not sure what is up w/ the regular build.. perhaps it breaks in their latest beta release or something?? Anyway, I'm good for the moment.. Thanks!
[Fire TV Themes and Apps] mjbxx:
HideAmazonMenuItems:

I am interested in using the HideAmazonMenuItems: mod and will be using AFTVnews How to remove unwanted Home Screen Menu Items guide to do so. I have RboxFireTvMods version 1.0 installed already that was used to install the XBMC Launcher. This new mod requires version 1.2. What should be done with the previous version (1.0)? Should I leave it alone and just install version 1.2? Or uninstall it first? Just a tad bit confused on how to proceed.
[Fire TV Themes and Apps] rbox:
If you install 1.2, it will update 1.0, just like installing any update on Android.
[Fire TV Themes and Apps] mjbxx:
Got It

This is a great feature to have because it cleans up the Fire TV homescreen and makes it quicker to get to Settings. Thank you and all XDA developers for making the Fire TV form and function into solid XBMC (Kodi) entertainment box. So looking forward to any new features and enhancements you guys provide going forward.
[Fire TV Themes and Apps] zpyatt:
Sorry for disappearing, I'm glad to hear you got it working. I was using elmeruhueso's build all along, in fact I thought I was posting on that thread, just pure coincidence I posted here at the same time you were having trouble.

I think I figured out my problem. I wasn't using a passwords.xml file. It is curious that I havne't needed this on any other setup I've had. Intel NUC w/ openelec, RPi with OpenElec, or any of my windows boxes.

Anyway congratulations on getting it working.
[Fire TV Themes and Apps] pope523:
This is great, thanks! I hate that stupid Fire TV Home with all it's crappy shows and movies they want me to pay more for.

Can you add a fix so I can install any app from the Google Play Store instead of having it tell me it's not compatible, or even hiding it?

Joe
[Fire TV Themes and Apps] rbox:
I believe there is already an xposed module to do that.
[Fire TV Themes and Apps] pope523:
It doesn't do it. Apparently the incompatibility is often due to the dpi setting and that xposed module only spoofs that. But I tried it and it does not work. I saw something elsewhere about mounting part of the file system and changing a configuration file to make Google think you're using a different device, but I was a little worried that I might screw something up.
[Fire TV Themes and Apps] jmerrilljr2:
Well, it works.You just pretend you are a Nexus tablet. The problem is most of what you can download is problematic.
[Fire TV Themes and Apps] moeduss:
You can use lucky patcher to mod the Google play store dpi and disable updates to the play store app. Search Google and you still find it.
[Fire TV Themes and Apps] roligov:
Great work Rbox :) Keep it up! Can't wait for custom apps on stock launcher :D
[Fire TV Themes and Apps] heyredy141:
I tried Play Store Fixes Xposed module and left it at default dpi which is 240 and rebooted and tried to download Netflix and it said it was incompatible. It would be great if this module would work or we can create another one that would work.

I know we could install markethelper but that seems like a long process and does not seem to stick on reboot.
[Fire TV Themes and Apps] heyredy141:
[MENTION=3991724]rbox[/MENTION] I am trying to map Play/Pause button to launch fire tv launcher when long pressed. I have below in my XML but it is not working for me. Nothing happens when I long press Play/Pause button. My long press home to launch an app works though. Please let me know if you see any issues with what I am doing.

<string name="KEYCODE_MEDIA_PLAY_PAUSE_LONG">com.amazon.tv.launcher</string>
[Fire TV Themes and Apps] heyredy141:
Ignore this. It works. I forgot to reboot after I pushed the XML.
[Fire TV Themes and Apps] wuyanks:
When trying to program LONG press-menu button, I am having an issue. It hijacks my normal menu press:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>

<map>

<string name="KEYCODE_MENU_LONG">org.xbmc.xbmc</string>

</map>
[Fire TV Themes and Apps] rbox:
Yeah, someone else mentioned that too. I'm not quite sure why that's happening. I think it has to do with the fact that I'm cancelling the long press but not the original keydown. I'll try to look in to it.
[Fire TV Themes and Apps] DHeffernan:
Why couldn't you tick the checkbox using the amazon remote.. arghh.. No one has USB mouses around anymore..
[Fire TV Themes and Apps] rbox:
It has to do with the way the xposed app is written. The default click action for the item is to open it's setting app. I was toying with the idea of modifying the xposed installer to make it so clicking would do the checkbox, haven't really done it yet though.
[Fire TV Themes and Apps] DHeffernan:
Alright, Ill get a USB mouse tmr from work.

How does one switch between Amazon TV menu and XBMC once I set it to auto boot into XBMC always.
[Fire TV Themes and Apps] rbox:
I never put in a disable option for that. But I believe you can launch the amazon home screen from within XBMC. I could probably add an option to disable that though.
[Fire TV Themes and Apps] DHeffernan:
Alright, no worries.

So one last question. I see that on http://wiki.xbmc.org/index.php?title=Amazon_Fire_TV#Xposed_and_rbox_module_.28Requires_root.29

They mention to use the XBMC launcher but its a v6.. while at the top of the page the most official version of gotham 13.1 is v7.

Does it matter which one we use?
[Fire TV Themes and Apps] rbox:
No clue about XBMC stuff. Don't use it.
[Fire TV Themes and Apps] DHeffernan:
Could you sideload DroidMote onto the FireTV to enable these modules without needing a USB Mouse?

No way around the fact of not having to use an actual mouse?
[Fire TV Themes and Apps] moeduss:
Posted somewhere in this thread someone said something about using limitless remote on the fire tv, it does work I have been using it, it works well

It has the mouse,keyboard and some other features and they work.
[Fire TV Themes and Apps] DHeffernan:
So the limitless remote would allow us to check these things off in the Xposed Framework to make it all work?
[Fire TV Themes and Apps] moeduss:
Yes it will, I use it all the time now, I don't have to get up from the couch to do anything, can do it all from my couch whether it is mouse, keyboard, number pad, game controller or media. Works great.

You well need to install the limitless services onto your fire tv and install limitless remote onto your phone or tablet or whatever you are going to use that might be applicable.
[Fire TV Themes and Apps] DHeffernan:
Alright, is there a tutorial on this or where I can obtain the apk files? Thanks for the info by the way!
[Fire TV Themes and Apps] moeduss:
I got them both from the play store,they are both free, I was just looking and didn't see it mentioned in this thread, I know I saw it somewhere around xda, not that it matters, what does though is that it works on the fire tv, it controls xbmc and all it is a good app to have on the fire tv.
[Fire TV Themes and Apps] DHeffernan:
Hmm.. ok but to get the play store I need to enable a module. That's my problem.. and I cant enable the neccessary module without using a Mouse..

Know what I'm getting at?
[Fire TV Themes and Apps] moeduss:
Yes, I just borrowed a mouse from one of the computers at home ticked the check boxes and that was the last time I used the usb mouse.
[Fire TV Themes and Apps] retroben:
Just get a Logitech K400r keyboard for the built-in touchpad as a functional mouse.

My favorite keyboard to this day.

Rage Edit:I hate the limits of Android,especially the Fire TV version!

My main issues are caused by the lack of a user-friendly GUI of real-time windowed multi-tasking.

This limitation can lead to several glitches and frustrations like Retroarch returning to a black screen with sound only,instead of the game or green menu being visible.

I got screwed by Retroarch because I lost ALL of my recent Earthbound progress because the STUPID thing doesn't save immediately after telling Dad to save it.

It uses that retarded method where you have to successfully exit Retroarch manually in order to make your save concrete.

What if i get a random force close before doing that?

I'm really jones'in for a way to have uninterrupted windowed apps or programs using any method (AOSP,Custom ROM,or Linux Distro with/out Android apps),but can't do anything until the bootloader is unlocked.
[Fire TV Themes and Apps] userxx:
WTF? :eek:
[Fire TV Themes and Apps] retroben:
On a normal Windows 7 computer with an x86 or x32/x64 architecture,you never have to worry about the same random issues because you have real-time access to all of your open programs,plus things like Kega,Project64,Model2Emu,SSF,and a working version of Dolphin emulator.

With access to the best emus,who needs Retroarch on a Windows PC?

By Dad,I meant the guy that you never see in Earthbound that deposits thousands of dollars for you and saves your progress.

Just go play Earthbound if you're still confused,it is a really awesome game.
[Fire TV Themes and Apps] rbox:
I'm just going to take a guess and say you're not on 51.1.1.0?
[Fire TV Themes and Apps] mcmsignup:
You are correct. I thought I was on

51.1.1.0_user_511070220

but I am actually

51.1.0.1_user_510055620

Chalk it up to A.D.D. saw the 20 at the end. It was a new box from amazon about 3 weeks ago, thought it would have the latest version.

time to manually update and re-root.

Thanks for your help
[Fire TV Themes and Apps] rbox:
After a quick test it looks like this still works on 51.1.3.0. Atleast the menu portion of it does. Feel free to test the rest of it and let me know if there are any issues. You can get 51.1.3.0 here.
[Fire TV Themes and Apps] onlinespending:
Great work, rbox. I am interested in developing a little program that would allow someone to emulate a mouse with the Fire TV controller, which would be quite useful for the many Android apps which are designed for a touchscreen and therefore require a mouse to be used on the Fire TV.

I was thinking it could simply run in the background and intercept key presses. Pressing both the fast forward and rewind buttons simultaneously would enable mouse emulation mode. Any button presses that occur while not in mouse emulation mode (outside of the aforementioned simultaneous press of both fast forward and rewind) would simply be ignored and passed on to currently focused app. While in mouse emulation mode, the directional keypad would move the mouse cursor. The center 'select/ok' button would act as a left click. Rewind could act as a scroll up. And Fast Forward as scroll down. Simultaneously pressing fast forward + rewind would exit mouse emulation mode.

The reason I bring this up, is that while I have extensive programming experience, I have 0 Android programming experience, and it seems like your Fire TV Mods source code may be a good place to start looking since you already intercept the Home key press. Any advice or suggestions based on your experience and what I'm looking to develop? Thanks for your input!
[Fire TV Themes and Apps] rbox:
So you can see in KeyBindings.java where I am intercepting keys. The key is to return -1, which causes Android to drop the key and not pass it down to whatever would normally receive it. So you just look out for the magic key press, and then save a variable indicating you are in mouse mode. And then as keys get pressed, if it's one you care about intercepting, do something with it, and then return -1.

As for actually emulating the mouse itself... I would recommend using the Linux uinput driver. There are a few examples you can find on google for using uinput to emulate a mouse. I could think of writing a command line program (with NDK or whatever) that when started opens up uinput and registers as a mouse (should cause the cursor to automatically appear), and then wait for input on stdin. /dev/uinput on the Fire TV is restricted, so you'll also need to use su to start your program as root. There are a few helper libraries for android which make starting apps as root and feeding them input easy. So from the Java side, once you go in to mouse mode, create a subprocess which is your uinput app, and then open a stdin pipe for it and then just as the key presses come in, send them to the stdin of your program. And then when you leave mouse mode, close the process and the cursor should disappear.
[Fire TV Themes and Apps] retroben:
What about changing the orange circle into the real mouse with full functionality?

Doing so should fix the doubled clicking in one click frustration when playing swf flash games.

It seems to register both the click and touch function simultaneously,which causes the issue.
[Fire TV Themes and Apps] KillerJoeBR:
Onlinespending idea would be great.

Enviado de meu GT-N7100 usando Tapatalk
[Fire TV Themes and Apps] onlinespending:
Awesome. This is a big help. Hopefully I can get started working on this sometime next week.
[Fire TV Themes and Apps] TV ADDONS:
Some very good work here.
[Fire TV Themes and Apps] KillerJoeBR:
Hi there.

I was using this module for auto launching SPMC as my default launcher and all was working great untill today. For an unknown reason when i started my FireTV this morning, SPMC didn't lauch at startup. Pressing home also doesn't take me to spmc anymore. I didn't update my firetv (update it's disabled) not did anything.

Anyone have a clue about what could have happened? Maybe SPMC got corrupted somehow? But it's working fine if i manually open it. Thanks anyway

Edit: seems spmc was updated yesterday on play store and by default disabled the launcher. I'm not with my firetv now to confirm my spmc was automatically updated to this new version but im guessing thats probably what happened.
[Fire TV Themes and Apps] Tight_wad:
http://spmc.semperpax.com/ show that the newest update is non launcher, including play store. You will have to do the update manual to get launcher.
[Fire TV Themes and Apps] rbox:
It looks like the Menu Items module is not working on the latest version 51.1.4.0. I'll have to look into that.
[Fire TV Themes and Apps] hildebrau:
rbox twitter

rbox, are you on twitter? if so, do you post any of your FTV update announcements on there? I'm trying to follow your posts/enhancements/findings; but am struggling w/ all the different threads, etc..

I've got three FTV's in the house.. all rbox-ified.. your tweaks + SPMC, pre-rooted, roms, etc.. I'm LOVIN' it..