yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] tselling:
Hi thank-you for your ideas! But I actually found another solution... well maybe a workaround for use in SPMC using the Advanced Power Options to suspend. Anyway my workaround is to use sqlite3 to modify /data/data/com.android.providers.settings/databases/settings.db. I found that you can turn off screensaver in the FireTV GUI but not suspend. Looking in the settings database I found screensaver_timeout and screen_off_timeout. After setting screensaver to never in the FTV GUI, the screensaver_timeout in the settings database was 2147460000, which is like 596 hours. However, screen_off_timeout was much less (I don't remember the exact amount... but its in milliseconds). So I set screen_off_timeout to 2147460000. This makes ensures that the FireTV doesn't start its own screensaver or suspend before SPMC does it.

So right now I am using SPMC with my workaround and of course your Confluence++ skin :) So my 3 Fire TV's and family are happy now!

Further research shows that there are android apps available to set a custom screen timeout (suspend). So no sqlite3 needed. So can even just set the Fire TV to suspend with a custom timeout when using SPMC (not this launcher) and not worry about setting SPMC power options.
[Fire TV Themes and Apps] tselling:
I have a quick question on Confluence++. I have been using the XBMC Backup addon a lot lately while testing SPMC and your launcher version of Kodi. It has saved me a lot of time with configuration when reinstalling. But the Addon Shortcuts from Confluence++ are not getting backed up / restored. Where is this information stored? The Backup addon allows for custom directories to be backed up and restored so I am hoping to find a way to get my Addon Shortcuts to backup and restore. Thanks.
[Fire TV Themes and Apps] elmerohueso:
Settings for all skins (including mine, as it's a standard for XBMC/Kodi) are stored in userdata/guisettings.xml and should be part of the "Config Files" option in the Backup addon. Keep in mid, though, that file also stores all the System settings for XBMC/Kodi. Because of that, you may encounter issues copying that file between versions.
[Fire TV Themes and Apps] groo:
Has anyone noticed that playback is not as smooth using 14.1 as it was when running 13.2? I've upgraded to the Kodi package in the OP and I'm considering going back to 13.2 due to subtle choppy playback, especially when panning and lots of action on the screen. Has anyone else experienced this, or is it just me?
[Fire TV Themes and Apps] lennie paz:
I was experiencing choppy playback, so I went in the Video settings in Kodi, then Acceleration, and I disabled libstagefright and Mediacodec. Everything plays perfectly smooth now.
[Fire TV Themes and Apps] groo:
Who'd have thought, lol! Thanks, works great now!
[Fire TV Themes and Apps] elmerohueso:
I typically disable MediaCodec, but libstagefright HW acceleration works great for me. It might depend on what format of videos you're watching, though. Most content I'm watching is h.264, which *is* supported for HW acceleration by the FTV's GPU.

If you find not even libstagefright is working for some of your videos, you can try using the tags below, taken from the Kodi wiki, in advancedsettings.xml to disable it for specific codecs.

<video>
<stagefright> <!-- Previously this page also listed <mediacodec> tags as well as stagefright tags, but this was in error. There are only stagefright options for official Kodi builds. SPMC has mediacodec options for codec tweaking, though. -->
<!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
<useavccodec>-1</useavccodec>
<usehevccodec>-1</usehevccodec> <!-- Added in v15 -->
<usevc1codec>-1</usevc1codec>
<usevpxcodec>-1</usevpxcodec>
<usemp4codec>-1</usemp4codec>
<usempeg2codec>-1</usempeg2codec>
<useswrenderer>false</useswrenderer>
</stagefright>
</video>

For example, if you want to disable HW acceleration for just MPEG4 (DivX/Xvid), which some FTV users have had issues with, enable just libstagefright in the Settings > Video > Acceleration, then put the following code in your advancedsettings.xml:

<video>
<stagefright>
<usemp4codec>0</usemp4codec>
</stagefright>
</video>

If you don't already have an advancedsettings.xml, see the beginning of this post in the Kodi wiki to learn how to create one.
[Fire TV Themes and Apps] groo:
Even better! Everything seems to look smoother. Was there a change in Kodi from Gotham with video decoding? Everything was perfect in Gotham without any tweaks like this.
[Fire TV Themes and Apps] lennie paz:
Is there a way we can update to 14.2, or do we have to wait until you make a 14.2 launcher apk?
[Fire TV Themes and Apps] elmerohueso:
I'll make a 14.2 launcher version when 14.2 is officially released.

Otherwise, you can update to the latest official RC build, but you'll need to uninstall my version first as the signature is different. This will, of course, not have launcher functionality. Also, you'll need to take extra care to make sure the FTV doesn't delete all your Kodi data while uninstalling mine.
[Fire TV Themes and Apps] lennie paz:
Okay, I'll just wait for your new version then. Thank you
[Fire TV Themes and Apps] c0mm0n:
Hi,

Thanks a lot for this mod.

I have an issue : shouldn't xbmc be launched at boot ? or via the home button in the FTV original launcher ?

What did I miss ? Did all the steps mentioned in FP.

Edit : Ok works, need to check the box in the Xposed Modules Manager. (should mark this in FP not obvious). Thanks again, works great !!
[Fire TV Themes and Apps] elmerohueso:
Added to Important Notes.
[Fire TV Themes and Apps] fegar:
v6 issue

Thanks for creating this!

I have an issue with the latest update. Every time I go to Programs and try to click on Android apps it shuts down xbmc. Any thoughts?
[Fire TV Themes and Apps] elmerohueso:
I have not been able to duplicate this. Is anyone else seeing this? Can you get me the xbmc.log?
[Fire TV Themes and Apps] cstark27:
If the skin is not confluence it will most likely crash. I have seen this since the first few builds a couple days after the box came out.
[Fire TV Themes and Apps] rbox:
This is completely untested and just off the top of my head...

/system/usr/keylayout/Vendor_1949_Product_0401.kl is the keylayout file for the amazon remote control. You could try changing SEARCH to POWER.
[Fire TV Themes and Apps] htpcforall:
This is a small problem

XBMC does occasionally "freeze" or "hang on exit" in Android. Seems to happen less with 13.1 but it happens even with the best add-ons.;)

This is the main reason I prefer a "real" launcher.The more simple the better. Having said that, I did make a android app that sends a small 3 second popup every time XBMC is exited (even if it locks up or hangs on Exit) and asks if you'd like to Forcestop XBMC. It sends an am forcestop command if you select before 3 seconds. This helped a lot when the problem was more frequent on 4.1.2 . I haven't tried the app on the Fire TV yet but it's on my to do list. Will be interesting to see how it works with XBMC as the launcher.

By the way, I really like the idea of XBMC as the main launcher. I just think there are some issues that need to be considered before making that choice.
[Fire TV Themes and Apps] KillerJoeBR:
For now what i do is use lhama to launch xbmc from the homescreen and i changed the logo to match xbmc so it looks good.

And i also set lhama to close xbmc everytime i hit the home button. So when xbmc crashes or start bad behaving i just go to the homescreen and open it again. It's fast enough and doesn't annoy me. For now i'm happy with this setup.

Enviado de meu GT-N7100 usando Tapatalk
[Fire TV Themes and Apps] mjbxx:
What to do when Amazon updates its software?

I'd really like to use this launcher and know I will lose it when I finally receive the latest firmware update from Amazon after doing so. Do you just repeat the initial install intructions from page 1 of this thread? I realize that I will have to eventually block future updates to ensure that Amazon will not kill the existing root.
[Fire TV Themes and Apps] elmerohueso:
The update sent out last week (version 51069920) still has the kernel vulnerability exploited by Towelroot, so it's still rootable. After applying the update you will just need to re-root and used the Xposed Install app to reinstall the Xposed Framework, then everything will be working again. All apps and app data will be left intact.

BTW - it's very simple to block updates with the following:

Open an ADB shell to the FTV

adb shell

Elevate your shell permissions (be sure to grant permission when prompted on the FTV itself)

su

Disable the FTV package that does update checking

pm disable com.amazon.dcp

You can re-enable anytime later with the following command:

pm enable com.amazon.dcp

I kept mine disabled until I knew the update was still rootable, then I enabled updates just long enough to grab the newest update, and updates are now disabled again.
[Fire TV Themes and Apps] elmerohueso:
Would it be possible to do this with an Xposed module, so you don't have to permanently change the file? I have never made an Xposed module.
[Fire TV Themes and Apps] rbox:
A quick check of the android source code tells me that the keylayout stuff is done in C++, and Xposed can't override that.
[Fire TV Themes and Apps] mjbxx:
I am new and having a hard time understanding the ADB commands. Below is as far as I can go without further assistance.

Step 2 - Do I add su right after the $ sign? Not sure how and when to grant permission on the Fire TV itself as well.

shellandroid:/ $ su
[Fire TV Themes and Apps] hmagoo:
you are correct about su.

and as far as granting permissions, whenver you first use the root permissions you will get a pop-up on the firetv asking you to grant access.
[Fire TV Themes and Apps] mjbxx:
I believe that Amazon firmware updates are now disabled as seen below. Is all good right now?

BTW: I installed the [LAUNCHER] XBMC for Fire TV (Root) and it is absolutely fantastic having XBMC as the launcher with the added benefit of being able to access Amazon Prime content. Many thanks to elmerohueso for providing a game changing Fire TV experience!
[Fire TV Themes and Apps] elmerohueso:
Yep.
[Fire TV Themes and Apps] mjbxx:
Splash Image

I'd like to replace the existing Splash Image to http://i59.tinypic.com/2mi409g.png and need help with the ADB command. Below using r is what I think might make the change but not sure. Any correct guidance is appreciated.

adb push r C:\FTV\Splash.png /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/C:\FTV\Splash.png
[Fire TV Themes and Apps] elmerohueso:
The commands are outlined on the XBMC Fire TV wiki, but the command should be as follows:

adb push C:\FTV\Splash.png /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/splash.png
[Fire TV Themes and Apps] htpcforall:
Have you tried FTV Side App installer?

Whether you completely understand ADB commands or not, the FTV app installer is perfect for quick splash change, app install, XBMC userdata backup, and more.
[Fire TV Themes and Apps] mjbxx:
I have no clue about ADB commands and do use the FireTV Side App Installer. It worked perfectly. What a great app! Thanks for the tip.
[Fire TV Themes and Apps] elmerohueso:
OP updated with 14.2 release. Will install straight over my previous Kodi versions.
[Fire TV Themes and Apps] jainanshal:
Perfect timing.. thanks so much for the update.

Just updated to the latest pre-rooted 51.1.5.0 and decided to do a full wipe and start afresh, just thought would check here before installing kodi and there you were.. :D
[Fire TV Themes and Apps] merschdawg06:
Anyone getting this error when updating to 14.2?

C:\Users\XXXXXX\Desktop\adbfw122>adb install -r signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk

3110 KB/s (59920384 bytes in 18.814s)

pkg: /data/local/tmp/signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk

Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
[Fire TV Themes and Apps] lennie paz:
If we upgrade to 14.2, will we lose all of our settings?
[Fire TV Themes and Apps] Zenroid:
No loss of settings and no errors when upgrading using agk fire app
[Fire TV Themes and Apps] elmerohueso:
Sounds like you're trying to install my release over the official release (or another person's release).
[Fire TV Themes and Apps] groo:
Same error here. I'm running the 14.1 from here...

---------- Post added at 09:39 AM ---------- Previous post was at 09:24 AM ----------

it won't let me re-add the old one either now. Perhaps this has to do with upgrading to the latest AFTV firmware?

[~/Downloads/AFTV]$ adb install -r signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
1602 KB/s (59920384 bytes in 36.522s)
pkg: /data/local/tmp/signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

[~/Downloads/AFTV]$ adb uninstall -k org.xbmc.kodi
The -k option uninstalls the application while retaining the data/cache.
At the moment, there is no way to remove the remaining data.
You will have to reinstall the application with the same signature, and fully uninstall it.
If you truly wish to continue, execute 'adb shell pm uninstall -k org.xbmc.kodi'
[~/Downloads/AFTV]$ adb shell pm uninstall -k org.xbmc.kodi
Success
[~/Downloads/AFTV]$ adb install -r signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
1564 KB/s (59920384 bytes in 37.394s)
pkg: /data/local/tmp/signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
[~/Downloads/AFTV]$ adb install signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
1598 KB/s (59920384 bytes in 36.602s)
pkg: /data/local/tmp/signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
[~/Downloads/AFTV]$ adb install signed-launcher-kodi-14.2-Helix-armeabi-v7a.ap
[~/Downloads/AFTV]$ ls signed*
signed-launcher-kodi-14.0-Helix-armeabi-v7a.apk signed-xbmc-13.1-FireTV(v6).apk
signed-launcher-kodi-14.1-Helix-armeabi-v7a.apk signed-xbmc-13.2-FireTV(v8).apk
signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
[~/Downloads/AFTV]$ adb install signed-launcher-kodi-14.1-Helix-armeabi-v7a.apk
1611 KB/s (60026666 bytes in 36.365s)
pkg: /data/local/tmp/signed-launcher-kodi-14.1-Helix-armeabi-v7a.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE][COLOR="Silver"]

---------- Post added at 10:02 AM ---------- Previous post was at 09:39 AM ----------

[/COLOR]

$ adb uninstall org.xbmc.kodi
Success

$ adb install -r signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
1720 KB/s (59920384 bytes in 34.002s)
pkg: /data/local/tmp/signed-launcher-kodi-14.2-Helix-armeabi-v7a.apk
Success

had to start over and restore my backup.
[Fire TV Themes and Apps] elmerohueso:
Not sure why some people would be getting inconsistent certificate errors. I'm using the same certificates I always have, so it really doesn't make sense why some would get the error while others don't if you're really upgrading from my previous versions. Sorry.
[Fire TV Themes and Apps] lennie paz:
What is the preferred method to upgrade from your 14.1 version that I'm on?
[Fire TV Themes and Apps] RVD26:
Thanks, just updated using adbFire without losing any settings.
[Fire TV Themes and Apps] Fxb5293:
Keymaps

For some reason none of the keymaps are working. I can no longer access my favorites at the home screen of kodi. I am rooted as well on the latest software. Before upgrading everything was working fine. Any idea what it could be?
[Fire TV Themes and Apps] elmerohueso:
Are you able to remote in and see if the keymap files are there?

Do you need to re-enable the Favorites button in the skin setting?

Nope, all my settings transferred over fine.
[Fire TV Themes and Apps] Fxb5293:
I can access my favorites by re-enabling the button, however usually I would have it hidden and use the menu button on the remote to access them on the homescreen. Everything transferred over fine except the keymaps. I used the xbmc tweaks for FTV And reapplied it and restarted Kodi. Still no luck. Should I start over?
[Fire TV Themes and Apps] elmerohueso:
There's no reason to unless you want to loose *all* your settings. Look in the FireTV's file system and see if there's a keymap.xml in the "userdata/keymaps" folder.

You can also try building your own keymap with the Keymap Editor in the official repo.
[Fire TV Themes and Apps] elmerohueso:
I've pushed an update to my FTV Tweaks addon to help you do this easily.
[Fire TV Themes and Apps] Billyd2009:
Hey elmerohueso. Great work. I've been using your work for awhile now and love my aftv now. One question. For some reason the latest update for ftv tweaks is returning a script error....for some reason it just won't open. Hopefully I'm not alone but figured I'd give you a heads up.... Thanks for your great work again
[Fire TV Themes and Apps] elmerohueso:
The addon won't open at all? Or a specific tweak won't run?
[Fire TV Themes and Apps] manekineko:
I just installed it for the first time just now, and was searching for why I was getting an error, and found this thread.

After installing, when I choose Kodi tweaks for FTV, and choose Launch, it pops up:

Error

Script failed! : Kodi tweaks for FTV
[Fire TV Themes and Apps] Billyd2009:
Wont open at all actually. I've been using your ftv tweaks for a long time. Now I just get a script error when I try to launch it....I'm clueless
[Fire TV Themes and Apps] elmerohueso:
Sorry, I forgot to rename one last file. Fix on its way.
[Fire TV Themes and Apps] Billyd2009:
Great work!!! Fixed it immediately....thanks elmerohueso ?
[Fire TV Themes and Apps] Skater4599:
Just installed your signed 14.2 on a new FTV, then added your add-on repository. for some reason confluence++ is showing up as not compatible? Anyone else getting this or something I'm missing?
[Fire TV Themes and Apps] elmerohueso:
There are 2 versions of Confluence++ in my repo. One for Gotham and one for Helix. The Helix one is actually named "Confluence++ (Helix)", and it's showing up fine for me.
[Fire TV Themes and Apps] Skater4599:
Thanks for your reply, it was weird cause I have 4 other fire tv that it was working fine on, just not this new one. Since seeing your reply I went to your repository and both showed incompatible but I did a force refresh of just your repository and it showed up like normal. Thanks!
[Fire TV Themes and Apps] logan_x50:
Isengard

Hi

Any chance you could start releasing launcher versions for the new betas? There's a great new ftv skin by Hitcher that is Isengard only.
[Fire TV Themes and Apps] getmoneygreen:
found i have a quick question i just updated rbox module to 1.4 so i would remove the banner from the amazon home page but now i lost the ability of my box going to sleep i tried every thing what am i doing wrong should i revert back to 1.3 ?

edit: got it to work apparently it was a bad download :/
[Fire TV Themes and Apps] elmerohueso:
Here's Isengard beta 1. Untested, though (I have 5 devices to update, so I'm waiting for the final build), so use at your own risk and report back.

AndroidFileHost: signed-launcher-kodi-15.0-Isengard_beta1-armeabi-v7a.apk

MD5: 840c89622aaf215221248333ade41b13

I've been looking forward to the fTV skin, too. Hopefully Hitcher has all the kinks worked out by Isengard's final release.
[Fire TV Themes and Apps] travazz:
[MENTION=3244446]elmerohueso[/MENTION] I am currently using 13.1 and on 51.1.4.1 want to update to Kodi. What is the easiest way to do this? Do I need to uninstall or can I install over my existing program? Any and all help will be greatly appreciated
[Fire TV Themes and Apps] elmerohueso:
The new version will install over the old version (providing they're both my versions so they have matching keys), however Kodi uses a different data folder than XBMC so it might "lose" your settings and library. Easiest way to preserve everything would be to use the Backup addon in the official repo. Otherwise, after updating to Kodi, you can try renaming (or copying the contents of) the folder /storage/emulated/legacy/Android/data/org.xbmc.xbmc/files/.xbmc (the data folder for XBMC)

to

/storage/emulated/legacy/Android/data/org.xbmc.kodi/files/.kodi (the data folder for Kodi).
[Fire TV Themes and Apps] logan_x50:
Hey. Thanks so much. There's a new Beta version of ftv skin that won't install on Helix unlike the previous alpha version so just in the knick of time. thanks again

Steve
[Fire TV Themes and Apps] groo:
Elmerohueso, any chance you can make a Isengard beta 2 apk?
[Fire TV Themes and Apps] elmerohueso:
Way ahead of you. Check OP.
[Fire TV Themes and Apps] groo:
Woohoo! thanks!
[Fire TV Themes and Apps] sont77:
can someone please help i am still runing the very first firmware on the fire tv and my buffering has been awful what is the best setting for fire tv buffering..??
[Fire TV Themes and Apps] jpeg42:
Just FYI RC1 is out :D

http://kodi.tv/kodi-15-0-isengard-rc-1/

Thanks for everything you do for the community!!
[Fire TV Themes and Apps] elmerohueso:
Yep. I've been out of town. OP has been updated.
[Fire TV Themes and Apps] peddytrap:
updated to 15.0RC now im getting addon error. when i try to set keymap in tweaks addon
[Fire TV Themes and Apps] Retinto:
You beat me to it. I have the same issue and tried restarting but same error. Thanks for your work.
[Fire TV Themes and Apps] elmerohueso:
I haven't actually moved to 15 myself, yet, and I'm headed out for a few days again. Can you get a debug log of the issue?
[Fire TV Themes and Apps] jpeg42:
I just checked this out and can reproduce. Here is the error. Let me know if you want the full log.

20:55:46 T:1738911248 NOTICE: -->Python Interpreter Initialized<--
20:55:46 T:1738911248 WARNING: CPythonInvoker(20): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
20:55:46 T:1738911248 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'os' is not defined
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.FTVtweaks/resources/lib/copykeymap.py", line 8, in <module>
resourcepath = os.getcwd()[:-4]
NameError: name 'os' is not defined
-->End of Python script error report<--
20:56:28 T:18446744071566109728 NOTICE: Thread JobWorker start, auto delete: true
20:56:28 T:1747750168 NOTICE: Thread FileCache start, auto delete: false

PS. Thanks for updating the OP with RC2!
[Fire TV Themes and Apps] elmerohueso:
Do you get the same error when applying a splash screen?

I don't have time to test right now, but can you open that "copykeymap.py" file in a text editor and add the following line to the beginning and see it it works?

import os
[Fire TV Themes and Apps] jpeg42:
I didn't check the splashscreen. But I added 'import os' and and changing the keymappings works now!
[Fire TV Themes and Apps] elmerohueso:
Good to know.

Uploading fix to repo in a bit.
[Fire TV Themes and Apps] Retinto:
I believe you updated but still unable to change keymaps. No errors are given when selecting other than default. Kodi is restarted but no changes are made.
[Fire TV Themes and Apps] elmerohueso:
Are you restarting Kodi? The new keymap.xml is read in upon restart.
[Fire TV Themes and Apps] Retinto:
Yes. Device was also restarted.
[Fire TV Themes and Apps] jpeg42:
Crap, yeah that was bad QA on my part sorry. It didn't throw any errors to the log and showed a success prompt. But I must have switched to a profile I already had in my directory. So adding the import fixed the error, but I can confirm it is not actually replacing the file.

It is strange that it is not working. The directories have stayed the same. Anyway, easy manual workaround until Insengard is official.
[Fire TV Themes and Apps] elmerohueso:
Is it really not creating/replacing the keyboard.xml in the keymaps directory at all? Or is it maybe that Isengard changed the button names?