yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] Bloodflame:
Instructions are in the OP

I'll make it easier for you:

As far as actually installing apps on the Fire TV goes, you'll have to do that through adb. Easiest way is with this tool.

Edit: Nevermind that last part. Looks like you already understand that step :p
[Fire TV Themes and Apps] puppinoo:
Hi,

I've been using your screensaver in official Gotham releases and it worked just fine.

Since I had a few audio desync / time (timer gets stuck at 0.00) issues I tried to install a new nightly.

Now things seem to work better so I'd like to keep it but now your screensaver stopped working.

Screen gets black but light on AFTV is still on and an error message appears.

Can you fix it for nightlies too? (I installed xbmc-20140705-47ccc2f-master-armeabi-v7a.apk)

Thanks.

Pino.
[Fire TV Themes and Apps] elmerohueso:
Check which version of the screensaver you have. I accidentally posted a test build yesterday and broke the repo. The test build may have still been pushed out. The repo is back up and the current build is 1.9. Only addition is that it now won't fully sleep when you're playing music.

If it still doesn't work, it's likely either a bug with the nightly or you didn't give su permissions after upgrading xbmc.
[Fire TV Themes and Apps] puppinoo:
Thanks a lot.

I refreshed the repository and it downloaded the working version.

Now it works fine.

Pino.
[Fire TV Themes and Apps] mjbxx:
2 Button Presses To Wake

Recently did a manual (http://xdaforums.com/fire-tv/development/script-fire-tv-firmware-upgrade-t2802982) firmware update, re-rooted and reinstalled [LAUNCHER] XBMC for Fire TV (Root) to the KFTV. I have two observations as seen below after doing so.

1- The launcher appears to need two button presses whether in sleep or deep sleep. I recall only having to press once after intially going into sleep mode before the reinstallation.

2- I now notice a popup window stating XBMC has been granted SU permission. I do not recall seeing this popup prior to reinstalling the launcher.

Is it possible to have the launcher only need 1 button press to launch XBMC in either sleep or deep sleep mode? Or is it just a limitation of the KFTV?
[Fire TV Themes and Apps] elmerohueso:
It's always required 2 button presses to wake up. Since it's not really a screensaver, but rather a script the simply utilizes the screensaver timer to kick it off, XBMC seems to still try to treat it as a screensaver so the first key press wakes the FTV up but a second button press is required for XBMC to wake up from the screensaver. I'm trying to figure out a way around that.

The Android Power Options screensaver always required SU permissions (thereby giving XBMC SU permissions). It's possible that you had SU toasts for XBMC disabled before, though. That's configurable within the SuperUser app.
[Fire TV Themes and Apps] mjbxx:
Thanks for the clarification on button presses. Hope you can figure a way around that issue. And thanks for the tip on disabling the SU permission popup window. I went into SU and disabled the toast notifications.
[Fire TV Themes and Apps] hmagoo:
My understanding of the 2-button press issue is that bluetooth remote went to sleep saving its battery, first button turns bluetooth on, second wakes up. but that was just speculation. my bluetooth remote battery went dead after using normal xbmc for a month, and never sleeping.
[Fire TV Themes and Apps] Biohazard55:
Hey mate, can you make a apk with all your fixes and xbmc 14, there is no stuttering with the 14. But with 13.1 I had stuttering.
[Fire TV Themes and Apps] elmerohueso:
I will only be modifying stable builds, sorry. Nightlies are, by definition, unstable and untested. XBMC Helix isn't even to alpha stage, yet.

You could still get the addons from my repo, but you won't be able to run XBMC as a launcher without editing the APK's manifest and repackaging it.
[Fire TV Themes and Apps] elmerohueso:
It looks like the first button press wakes the FTV, but it XBMC still wants a button press to actually stop the "screensaver". Anything that links to the ui.screensaver extension point, regardless of what it's coded to do (or even if it has no code at all), seems to set off the internal built-in "Blank" screensaver. So, it looks like using the "screensaver" hook to sleep the device will always have the issue of requiring 2 button presses to wake XBMC.

Ultimately the best way to do this would be to modify the "Power Saving" options built into the XBMC source to allow sleeping in Android, but that's beyond my current skills.
[Fire TV Themes and Apps] elmerohueso:
It should work fine on the OUYA. I've never bothered putting it on mine because I have an original backer version with random sounds issues.

EDIT: I'm not actually positive if audio-passthrough works on the OUYA with the final XBMC 13.1 build (which this is based off). I remember Koying making a special Gotham beta that supported it, but I'm not sure if the fixes made it to the official release.
[Fire TV Themes and Apps] elmerohueso:
I finally did it, and in the most archaic way possible! Since the XBMC needs a button press to wake from the screensaver, and the FTV needs a button press to wake the system, I simply sent a phantom Enter button press before the FTV goes to sleep. After failing to find any other commands within XBMC's Python libraries to break out of a screensaver (even sending an official XBMC Action key), I went around it and had the Android terminal itself send the keypress. I feel so stupid that the solution was ultimately so simple.

So, the new build of Android Power Options (jumped all the way to 2.5) is now in my repo. The only function that changed is with the "Sleep Device" option. With that selected, you'll see the screen flicker once (as XBMC's screensaver mode kicks in and I quickly kick it back out, but ideally you'd have turned off your TV by this point, anyway), then the FTV will go to sleep. When the device is awoken, it'll be right back in XBMC.

Also, you probably wouldn't have noticed if you're using visualization during music (default), but version 1.4 of this screensaver will keep the device from going to sleep if you're listening to music. Instead, you'll just get a standard blank screen. This will only affect those who aren't using music visualization.
[Fire TV Themes and Apps] Resnoid:
Thanks for all the work on this. Unfortunately the 2.5 update doesnt work for me. The FireTV powers down okay, but it powers itself on every few minutes with the keypress I think. (There's a Superuser notification onscreen mentioning a keypress, but I havent been quick enough to catch it in detail). I'm running stock 13.1 with the XBMC launcher apk to set launcher status if that makes any difference.

Thanks again

Edit: Both my FTV's power down okay and wake up after a few mins with the superuser notification regarding a key press. The power lights remain on thereafter, but XBMC appears to be asleep, requiring a press on the remote to wake up. I hope that helps.
[Fire TV Themes and Apps] elmerohueso:
Try rebooting the FTV. Mine did the same thing last night, as several apps on the FTV seem to wake it occasionally to run stuff in the background (it's only a partial wake, with the power led on but the screen still off). After rebooting, mine slept the rest of the night.

I'm going to see if I can track down which apps do this.

PS- Even though you get the toast notifications about su after waking, those commands already ran at the beginning. It just waits until the device wakes to show the rest of the notifications.
[Fire TV Themes and Apps] mjbxx:
Tried rebooting the KFTV and something is still causing my HDTV to turn on. I had to unplug the KFTV for obvious reasons. I do not want to discourage your work on this as I really like the one button click access to XBMC.
[Fire TV Themes and Apps] Resnoid:
I rebooted both units and the sequence is the same. There is an initial power off including LEDs, power on after a few mins which wakes up the TV. After this XBMC goes to sleep, but the LEDs have been on all night. I'll grab a log this morning and post.

Thanks
[Fire TV Themes and Apps] Hrodriguez77:
I'm having the same issue over here. 1.4 also had the same issue for me, it would wake after a few minutes and the light would stay on. 1.9, however, worked perfectly for me. Is there any way I can roll back to 1.9? I don't mind the double button presses to wake.
[Fire TV Themes and Apps] Resnoid:
Logfile Here

Relevant log here if any use:

http://pastebin.com/BN4tQW4Y

---------- Post added at 09:33 AM ---------- Previous post was at 09:00 AM ----------

I compared the commits and removed this line:

os.system("su -c 'input keyevent KEYCODE_ENTER'")

from addon.py located in

/storage/emulated/legacy/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.screensaver.sleepandroid

And then reboot. This is essentially the 1.9 code again with no problems for me so far :)
[Fire TV Themes and Apps] cstark27:
Coming back to report the same thing above. I've noticed the FireTV light on and my TV turned on a couple times now, when they should be off.

Here's what I see.

The screen blanks for a second

XBMC shows back up with a toast echo 0 cec thing, then XBMC fades out the FireTV goes to sleep

After the predetermined screensaver time comes up again (1 minute for my test), (4) toasts pop up. Key input ENTER, echo 0 CEC, key input POWER, echo 1 CEC.

The FireTV wakes up, but does not display anything on the TV. If the TV is off, it will power back on.
[Fire TV Themes and Apps] Hrodriguez77:
This worked great, thanks!!
[Fire TV Themes and Apps] elmerohueso:
That's weird. I'm pretty sure 1.9 and 1.4 are the exact same code (the version change was to account for some rest builds that were accidentally published). I'll take a closer look later. Like I said, mine slept all last night with 2.5.
[Fire TV Themes and Apps] Hrodriguez77:
I believe this could just be a coincidence. At the time I was having the problem, I uninstalled and reinstalled xbmc from fresh. That is probably what cleared up the problem for me, but since the update was pushed around the same time, I assumed it was the update that fixed things for me. Sorry for the confusion.
[Fire TV Themes and Apps] elmerohueso:
Sorry guys. It turns out the reason my FTV slept all night was because my wife had opened Netflix after I'd gone to sleep, so it was the built in FTV screensaver that had kicked in. When I tested again, I had the same issue with it doing a partial wake as everyone else. So annoying!

Anyway, I rolled things back to how it worked before, but I incremented the version so it should be pulled down automatically. Back to 2-button wake :(
[Fire TV Themes and Apps] mjbxx:
When will the change take affect? Is it done automatically or do I have to do something? My HDTV was on for six hours last night. I was testing right before you posted and what I see is it going to sleep and turning on the HDTV 1 minute later. It did this on three consecative occasions.
[Fire TV Themes and Apps] Resnoid:
No need to apologise mate. Your work on this has completely changed my FireTV for the better. Again, thanks for everything :)
[Fire TV Themes and Apps] elmerohueso:
Depends when your XBMC looks for updates in my repo. If you don't want to wait, you can manually refresh my repo to grab version 2.7 of the addon.
[Fire TV Themes and Apps] mjbxx:
Not sure where to find your repo to manually refresh to version 2.7. Guidance would be appreciated for future use as I ended up reinstalling the launcher to get to version 2.7 and all is well.
[Fire TV Themes and Apps] elmerohueso:
My repo is included with this XBMC build. Otherwise you can get it from here.

System > Settings > Addons > Get Addons > elmerohueso's repo. Bring up context menu and select Check For Updates or Force Refresh.
[Fire TV Themes and Apps] nooknut:
Youtube not launching?

This is a very sweet setup. I had a Boxee box running XBMC, but the hardware was not stable and would lock fairly often (Also certainly uses more juice than a FireTV). This setup gives me everything I used my Boxee for. Love it.

However...

I have everything set up per the OP. Netflix works fine, but Youtube does not. I have it set up so both icons are favorites and mapped under the video section. When I click Netflix, all is good; when I click Youtube, nothing happens.

Any ideas/clues?
[Fire TV Themes and Apps] elmerohueso:
Do you have the YouTube app installed? My addon is just a shortcut. You need to first intall the YoubTube app from the FTV's store.

Next release, I'll build in a check/warning for that.
[Fire TV Themes and Apps] nooknut:
Well, THAT would make sense. Of course I didn't install the app first :P

I just assumed it was one of the fireTV's preinstalled apps. Guess I'll have to go back out and install it.

Thanks : )
[Fire TV Themes and Apps] mjbxx:
You should not have to install YouTube. Just favorite it in the Confluence Android app section in Programs. From the Wiki (http://wiki.xbmc.org/index.php?title=Amazon_Fire_TV) below.

5 Launching Android Apps within XBMC

* In Gotham builds, it is possible to launch Android Apps from shortcuts on the main menu.

* It is recommended to use the Confluence skin, go to Programs, then Android Apps and favorite any applications you would like to launch from XBMC.

* Skins like Amber allow you place custom shortcuts on the main menu to these favorite items.
[Fire TV Themes and Apps] elmerohueso:
The shortcuts in my repo, which he's referring to, can be placed on the Home screen in any skin, not just ones that allow Favorites to be added to the Home screen. That is how I get Netflix, Pandora, FTV Launcher, etc. on my Home screen using Confluence.
[Fire TV Themes and Apps] mjbxx:
My bad. I did not realize people actually used the Confluence skin while there are so many other options to choose from.
[Fire TV Themes and Apps] Khord:
How can I go about making my own Android shortcuts in the manner you have? Or, could I request that you add Crackle, TwitchTV and Vevo?
[Fire TV Themes and Apps] nooknut:
OK! Got Youtube working...Silly question...How do I get OUT of Youtube? On the Fire Remote, the home button does the trick, however, I'm using a Harmony remote mapped with a Media Center config. Is there a an alternate exit key to the HOME button?
[Fire TV Themes and Apps] elmerohueso:
I've tried lots of skins, but I always come back to Confluence.

You can look at one of mine for a starting point and just edit it. I'll slowly put more out.

Many apps on the FTV were made so Home was the only way to exit an app. Only a few seem to let you use Back to exit. I found that out when I first got it and had to figure out how to exit a game (hit Home twice).
[Fire TV Themes and Apps] elmerohueso:
duplicate
[Fire TV Themes and Apps] nooknut:
Got it. So next logical question: Any way to map the "Home" button functionality?
[Fire TV Themes and Apps] Khord:
Thanks, I figured it out after realizing it was on github.
[Fire TV Themes and Apps] elmerohueso:
Nice!
[Fire TV Themes and Apps] jhatfield:
My insallation went just fine but I have been unable to get into SMB. It is telling me "connection refused". Anyone else having issues with this. I also have SPMC installed and it works on that.
[Fire TV Themes and Apps] ~Craig~:
Can anyone advise please,

Got my FireTV, Rooted it, Installed the Xposed Framework and rbox's Xposed module but when I launch the Xposed Installer and navigate to the modules section to tick the box a message pops up saying "This module does not provide a user interface" and it remains unticked.

Any ideas
[Fire TV Themes and Apps] ~Craig~:
Thank you, Worked perfect!

Now I feel very stupid for not thinking of that :o
[Fire TV Themes and Apps] elmerohueso:
I've created a Python script (tested with Python 3.2 on Windows) to easily create Android shortcuts "addons". It will create everything but an icon for you, then you can just add an icon and zip up the resulting folder to install it in XBMC.

Just unzip everything and run MakeXBMCAndroidShortcut.py. Of course, you'll need to have Python successfully installed and configured to run PY files.

Pro Tip: You will need to know each app's exact package name in order to create a shortcut. For example, the package name for Pandora on the Fire TV is com.pandora.android.gtv. To get a list of all the package names on your FTV, run the command "pm list packages" in an ADB shell.

Download
[Fire TV Themes and Apps] elmerohueso:
No problems here. Try using the XBMC Backup addon to backup your sources, settings, etc. and restore them into 13.1.
[Fire TV Themes and Apps] Khord:
Thanks, will use this in the future since I've already finished the shortcuts I needed manually.

One question, how / where do you pull the app icons from? I've been pulling them from Google and editing them with Photoshop, but there are some apps that I can't find icons for larger than 365x365, and I'm assuming the icons displayed on the FTV library menus are larger than that.
[Fire TV Themes and Apps] qzem:
I wonder if most of the skins are supported on XBMC for android. Or are there any limitations? I would love to see this skin on the machine :D!
[Fire TV Themes and Apps] elmerohueso:
Super intensive skins may struggle with the lower specs of most Android boxes (as compared to a full HTPC), but they should work. If they don't, you'll want to contact the skin's developer.
[Fire TV Themes and Apps] mjbxx:
Launcher Glitch

I recently noticed a glitch in the XBMC Launcher. I exit Plex, Netflix, KFTV etc. back to the home screen and allow it to sleep. Then wake, it opens to whatever app I used last and does not go directly to the launcher home screen as it always has done before. Anyone seeing this? I hope for a fix.
[Fire TV Themes and Apps] nooknut:
Harmony and the Home key

Hey folks. Not sure this is the appropriate thread for this question, but I'm trying to map the home key on my harmony so I can get out of those apps that require the home button. I prefer not to use the firetv remote since I have a media installation and use the harmony for everything.

Thanks.
[Fire TV Themes and Apps] rbox:
F12 is the home key
[Fire TV Themes and Apps] nooknut:
Yea. I got that part, but can't seem to find a device that has a working F12 function I can add to my harmony config. Suggestions? It's a 990. Thanks.
[Fire TV Themes and Apps] rbox:
Flirc (http://flirc.tv/) is the only thing I know of. I have one, works great.
[Fire TV Themes and Apps] jainanshal:
I would really like to do this but there's very little I can understand in this :confused:

Is there any chance this can be incorporate in the GUI? Would love to have this feature... thanks.
[Fire TV Themes and Apps] elmerohueso:
I've decided version 6 is the final build, unless big problems are discovered. Any changes for the foreseeable future will be handled by updating my addons in my repo, which should be automatically pulled down by XBMC
[Fire TV Themes and Apps] elmerohueso:
The script really doesn't involve much user input (it only asks 4 questions), so a GUI really wouldn't un-complicate things. However, hopefully I can explain the usage a bit more.

In this example, we'll be making an addon/shortcut to the Hulu Plus app.

Prerequisites:

Install Python

Download and extract my attached AndroidShortcutMaker

We must first find out what the Hulu app's Android "package" name is:

Ensure you've already installed the Hulu Plus app.

Connect to the FTV with ADB with the command "adb connect <IP_of_FTV>"

List out all installed packages on the FTV with the command "adb shell pm list packages"

Look through the list of packages that was returned and find the Hulu package. It's usually pretty easy to figure it out. You'll find that the Hulu Plus package name is "com.hulu.plus"

Now, we'll create the shortcut:

Run MakeXBMCAndroidShortcut.py

When prompted, enter your name. This is to list you as the addon's author.

When prompted, choose a 1-word name for your addon. We'll call it hulushortcut

When prompted, enter the name of the app. We'll enter Hulu Plus.

When prompted, enter the package name. We'll enter com.hulu.plus

You'll now have a new folder called script.program.hulushortcut

(Optional) Create a 256x256 graphic to use as your icon, call it icon.png, and put it in the script.program.hulushortcut folder

Right-click the script.program.hulushortcut folder and go to Send To > Compressed File (ZIP)

You can now push the ZIP file to you FTV and use "Install Addon from ZIP" to install it. Then, just add the addon to your Home screen in the Skin settings.
[Fire TV Themes and Apps] elmerohueso:
So, you're doing the following?

Open Netflix

Go back to XBMC (hitting Home)

Let the FTV sleep (Android Power Options screensaver)

Wake the FTV

The FTV opens to Netflix instead of XBMC

I just tried that, and it woke to XBMC as expected.

Do you maybe have an addon that's causing XBMC to crash?
[Fire TV Themes and Apps] mjbxx:
Yes to 1 through 5. It could be Netflix, Amazon or any favorite addon on the home screen. Just recently started doing this.

I do not recall XBMC ever crashing using your launcher.
[Fire TV Themes and Apps] elmerohueso:
Maybe take a look at you XBMC log. I am on the newest FTV update (it's still rootable) but I doubt that makes a difference. Maybe try disabling any recent addons.

It might also be that your remote is sending more buttons presses than expected, resulting in XBMC waking and selecting that app shortcut before you realize it.
[Fire TV Themes and Apps] knalbone:
I was experiencing he same issue for a while. Turns out I had the option to exit XBMC after a certain amount of time enabled. This may or may not be what is happening to you, but could be worth a look.
[Fire TV Themes and Apps] nebulink:
Netflix and Home Key

I am new to xbmc but have been a long term user of SageTV. I decided to give the FireTV a shot and I like what I see once I rooted and added this version of XBMC. However, I am running into two little issues:

1. Every time I launch Netflix within XBMC it requires me to enter my Netflix credentials.

2. Home Key - When at Amazon Home I can press the home key and it takes me right to XBMC as I would expect. However, when I am in XBMC and deep into menus and hit the Home key it does nothing. Is this by design or do I need to modify something?

Thanks for any help you may be able to provide.
[Fire TV Themes and Apps] elmerohueso:
I've never had this issue, but it'd be with the Netflix app itself. Perhaps you can try clearing the Netflix app data, via App Settings in the KFTV launcher, then start Netflix and log in again. The only thing I've ever been prompted by Netflix is which profile to use, but not to re-enter credentials.

That's currently how it works. XBMC currently has no programming to intercept the Home key itself while in the program. I'm not sure what it would take to change this, but it'd likely be at a lower level than the changes I'm making.
[Fire TV Themes and Apps] mjbxx:
Long press the "Back" button on the remote should take you to the XBMC home screen when deep into menus. Works great.

---------- Post added at 05:15 PM ---------- Previous post was at 05:09 PM ----------

I now remember some update to NaviX caused a crash while rebooting. I unistalled and reinstalled the launcher and everything is working proper once more. I disabled NaviX for good measure and hopefully this issue does not arise again.
[Fire TV Themes and Apps] nebulink:
Go it working. There are two shortcuts. 1 in under Programs and then other is under Android Apps. The one under Android apps worked fine.

Maybe it was just coincidence.
[Fire TV Themes and Apps] samishalash:
This is probably simple, but I can't seem to figure out how to do it. How do you add shortcuts to the home screen? I am able to add them to favorites, but don't see a way to add them to the home screen. Thanks.
[Fire TV Themes and Apps] nebulink:
Amazon Prime?

Does Amazon Instant Video work from XBMC? If it does, where do I get the shortcut?

Thanks in advance!