yashsingh1/xdaforums huggingface dataset:
[Fire TV Themes and Apps] imtiajmeah:
Hi Guys,

I've created GUI app to easily sideload your apks to the Amazon FTV & Stick.... I will be updating it over time with extra bells and whistles.

Please take note that this app contains Towel root exploit which some virus checkers will report a false positive. (This app is 100% virus free)

I do not take any responsibility if you root your device and it gets bricked.

The link below will direct you to the download page where you will find the app.

[img="Amazon FireTV Utility"]http://xdaforums.com/attachment.php?attachmentid=2972918&d=1413444757[/img]

Download website link:

Main [Mod edit: download links removed (PPC links are not allowed).

or

Backup link Mod edit: link removed (pay-per-click links not allowed)

1. Unzip the folders to "C:\FTV"

2. Launch app "Amazon FireTV Utility App.exe"

I've tested it on Win7, Win8, and Win10.

Feel free to ask any question's, post any comments or concerns, or make suggestions for things you might like to see

Donation's are never expected, and always appreciated.

Enjoy
[Fire TV Themes and Apps] Butcher98:
Look forward to test it tonight! Thanks.
[Fire TV Themes and Apps] mejdam:
What did you code this in? VB?

If i could suggest something, You can code a radio button that says AutoPilot and another that says Llama where it would download the apk from the web or include them in your zip file. Autopilot allows to automatically boot into xbmc upon reboot and llama lets you change the home button action.

If you go the download apks on the fly route can you use this command line to download the files

bitsadmin.exe /transfer "AutoPilot" "https://diegomejia.globat.com/android/AutoPilot.apk" c:\FTV\Autopilot.apk
[Fire TV Themes and Apps] YoColdRain:
another suggestion is backing up folders on fire tv, for upgrading xbmc versions.
[Fire TV Themes and Apps] imtiajmeah:
Yeah VB... Good idea I will try and get them added on my next update ;)
[Fire TV Themes and Apps] mejdam:
correct, i also just thought of pushing advancesettings.xml and splash.png and even key layouts
[Fire TV Themes and Apps] imtiajmeah:
yeah... I was actually thinking that a couple of days back... Will get that added hopefully.
[Fire TV Themes and Apps] mejdam:
wondering how hard it would be to automatically detect the amazon fire tv IP. Either scan for a series of ports that are open on the FTV or you can say make sure the FTV is off, scan the network for all IPs then have the user power on the FTV and scan it again. Compare the IPs and if done correctly there should be an IP that appears on the second list thats not on the first. Sorry for all the requests i just think its cool what you did and know these features would mean alot
[Fire TV Themes and Apps] imtiajmeah:
Something I will look into for future release.
[Fire TV Themes and Apps] mejdam:
wouldnt the backup of xbmc depend on the XBMC version you were running?

For Regular XBMC

/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/

For SPMC Version:

/sdcard/Android/data/com.semperpax.spmc/files/.xbmc/

For XBMC on Ouya Version:

/sdcard/Android/data/tv.ouya.xbmc/files/.xbmc/

It might be easier to code a variable with the location and have three radio buttons (XBMC, SPMC, Ouya) on the top where they would choose the version they were running. Would keep it cleaner
[Fire TV Themes and Apps] imtiajmeah:
Good point... Will update on for the next release... Cheers ;)
[Fire TV Themes and Apps] Dixon Butz:
Also, when installing XBMC, a -r is needed to preserve all your XBMC settings. adb install -r xbmc.apk

Could something like that be added?
[Fire TV Themes and Apps] imtiajmeah:
Yeah I have tweaked the command for the next release. Cheers
[Fire TV Themes and Apps] imtiajmeah:
Version 0.3 just released enjoy...

Will now backup Userdata, SplashScreen, Addon etc...

Install/Replace App fix*

Install AutoPilot

Keep the feedback and comments coming ;)
[Fire TV Themes and Apps] mejdam:
include llama.apk

http://www.mediafire.com/download/dfd38wz3oqoyrtq/Llama.1.2014.04.23.2244.apk

How to use llama

http://wiki.xbmc.org/index.php?title=Amazon_Fire_TV#Bypassing_Amazon_Home

also instead having a different button for ouya splashscreen and gotham splashscreen you should create one button that ties into what they choose as their xbmc version. You should make it so those buttons are disabled until they choose their XBMC version.
[Fire TV Themes and Apps] krelvinaz:
Worked okay to save my xbmc data

Worked okay to upload new xbmc pkg

But doesn't work to restore. Says it can't find c:\FTV\xmbc but it is there.

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.1.120:5555
cannot stat 'c:\FTV\xbmc\': No such file or directory

C:\FTV>dir
Volume in drive C is DRIVE C
Volume Serial Number is AE58-1BCA

Directory of C:\FTV

05/03/2014 06:06 AM <DIR> .
05/03/2014 06:06 AM <DIR> ..
01/17/2014 12:33 PM 819,200 adb.exe
01/17/2014 12:33 PM 96,256 AdbWinApi.dll
01/17/2014 12:33 PM 60,928 AdbWinUsbApi.dll
05/02/2014 09:59 PM <DIR> apps
05/02/2014 09:54 PM 563,712 FTV Side App Installer.exe
05/03/2014 06:06 AM <DIR> napps
04/24/2014 11:07 AM 62,058 Splash.png
[B]05/03/2014 08:36 AM <DIR> xbmc[/B]
5 File(s) 1,602,154 bytes
5 Dir(s) 653,499,912,192 bytes free
[Fire TV Themes and Apps] Dixon Butz:
So it installs XBMC without preserving all the settings during the install like -r would?
[Fire TV Themes and Apps] krelvinaz:
If you are responding to my post, I had uninstalled it before loading the next version. I've been removing stuff to save room. So I am not sure if it would have preserved anything or not.
[Fire TV Themes and Apps] imtiajmeah:
Just released v0.4 that fixes the bug... enjoy ;)
[Fire TV Themes and Apps] imtiajmeah:
The app has changed so much since it started. I just haven’t found the time to create a user guide. I will do eventually once the dust settles.

Thanks for the short guide..:)

I should add the app will do all the Llama install and config at a click of a button as well to simplify things even more.
[Fire TV Themes and Apps] toe-rag:
I would like to report a bug....

I noticed if you select a file for side load and then side load, it works fine. If you then try to install an app via one of your pre-configured buttons, it concatonates the path in the select box- with what it's attempting to load via the button press.

This results in a failure because there is a double path submitted to the cmd line.

If you try and manually delete the contents of the select box - it won't let you.
[Fire TV Themes and Apps] userxx:
I also experienced that install bug. I could not install Llama from the hot button GUI.

Thats why I included the manual install in my write up.
[Fire TV Themes and Apps] toe-rag:
It is a very good app and I thank the developer very much ...

however it would be nice to clean up a few basic - oversites that make it confusing at best - especially for the newbies...

1.) fix the issue with NOT being able to sideload any file with spaces in the name ... (can't you escape the path/filname string with quotes?)

2.) clear the select box after completing the manual sideload command. (relaunching seems to be the only work-a-round)

3.) allow the app to live anywhere any drive or path (seems to be hardcoded to only work reliably on the root of C:/)

Again , Thanks - just thought I would offer some of the things that if fixed would make it even BETTER!
[Fire TV Themes and Apps] tharunam:
what version of buffering option to use on firetv?

Can someone please tell me what each version of video buffering does:cool: and what is the best version for Amazon Firetv?

Thanks.
[Fire TV Themes and Apps] imtiajmeah:
Thanks buddy for the feedback. I will look to improve/fix the issues you mention in the up and coming release...
[Fire TV Themes and Apps] imtiajmeah:
Hopefully this will help.

Some users reported that they were having issues with buffering so I added the option. I've personally not experienced any.

http://wiki.xbmc.org/index.php?title=HOW-TO:Modify_the_video_cache
[Fire TV Themes and Apps] HenryFord33:
The "windows theme" bug is still not fixed for me. Your app is all in black and I cant see the writing. Not a huge deal, I just have to change my windows theme everytime I use it. This is a great App, good work!
[Fire TV Themes and Apps] imtiajmeah:
Thanks for your feedback.

Can you email me a screenshot. I might have missed somthing and will try and get it fix for the next release.
[Fire TV Themes and Apps] HenryFord33:
I'll send you a pic tonight when I get home. Not a huge deal, I'm still running Windows Vista, so that's more of my problem!
[Fire TV Themes and Apps] mjbxx:
SPMC Compatibility

I am considering a switch to Koying's SPMC Launcher from elmerohueso's XBMC Launcher and need to know if AFTV Utility App will work with it.
[Fire TV Themes and Apps] imtiajmeah:
Make sure you backup your data first. I dont see any reason why it will not work, but I haven't tested this version myself. Please report back and share your experience.

Everyone here will appreciate your feedback ;)
[Fire TV Themes and Apps] mulliganman:
I need some help. I followed the procedure step by step several times and can't get it to work correctly. When I choose "test" within llama it works. But when I to the home screen and choose classic TV, that app loads instead of xbmc. Anyone know what might be wrong?
[Fire TV Themes and Apps] imtiajmeah:
Update v0.19

Changelog v0.19

Updated Llama.1.2014.07.11.0909.apk

Updated Llama config file to auto launch ClassicTV to XBMC

Fixed another GUI issue with some users custom themes

Added download link to dropdown

Checks if IP Address has been set

Connect to AFTV code tidy tweak

Mouse over button tweak

Some addition bugs and fixes coming up in the next release

Please keep the feedback coming to help improve the app :)
[Fire TV Themes and Apps] heavenlydemonic:
Hi! I just wanted to take a minute to say thank you for taking the time to make this tool! Helped me a lot and I really appreciate it!
[Fire TV Themes and Apps] imtiajmeah:
Thanks very much for your kind words. How far we have come from the original app that was just meant to be an easy simple sideloader.
[Fire TV Themes and Apps] LakersFan_73:
Hi,

Figured I'd give the whole ClassicTV/XBMC shortcut a shot. I used your program to install Llama (worked great) however clicking the config file installed fine:

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
connected to 192.168.0.17:5555
push: c:\FTV\apps\Llama/Llama_Profiles.txt -> /sdcard/Llama/Llama_Profiles.txt
push: c:\FTV\apps\Llama/Llama_NfcNames.txt -> /sdcard/Llama/Llama_NfcNames.txt
push: c:\FTV\apps\Llama/Llama_IgnoredCells.txt -> /sdcard/Llama/Llama_IgnoredCel
ls.txt
push: c:\FTV\apps\Llama/Llama_Events.txt -> /sdcard/Llama/Llama_Events.txt
push: c:\FTV\apps\Llama/Llama_Areas.txt -> /sdcard/Llama/Llama_Areas.txt
5 files pushed. 0 files skipped.
42 KB/s (2173 bytes in 0.050s)

C:\FTV>

However it still launches ClassicTV. And I'm not familiar with Llama (at all) but when I manually open it up, it doesn't look like anything has been installed.

The ClassicTV --> XBMC logo switch worked great. Had to reboot so maybe a note to reboot after clicking the button would be prudent...

Thanks for this program! I use it all the time!
[Fire TV Themes and Apps] imtiajmeah:
Thanks buddy :)

Launch Llama App -> Settings -> Import/Export Data -> Import from USB storage

Hopefully this will now work. I will add a not in the next release
[Fire TV Themes and Apps] mulliganman:
Can anyone help?
[Fire TV Themes and Apps] imtiajmeah:
Hopefully the wiki will get you up and running ;)

http://wiki.xbmc.org/index.php?title=Amazon_Fire_TV#Llama_.28automation.29_Events
[Fire TV Themes and Apps] LakersFan_73:
Sorry, I'm probably blind. But once I open Llama, where is Settings?
[Fire TV Themes and Apps] mjbxx:
Tried using AFTV Utility App with the SPMC Launcher to no avail. I was unable to change screensaver, keymap or anything for that matter. Would be nice if it can work with SPMC at some point moving forward.
[Fire TV Themes and Apps] LakersFan_73:
How is SPMC Launcher any different than the regular XBMC version? XBMC seems to work fine as-is (for me).

I'm really just checking to see if I'm missing out on something awesome. :)
[Fire TV Themes and Apps] mjbxx:
SPMC is basically the same as XBMC but has an actual XBMC Android developer (@Koying) working and fine tuning this version. The added benefit is the possibility that SPMC can receive fixes to any issues that remain above and beyond the current stable version of XBMC.
[Fire TV Themes and Apps] toe-rag:
Thanks for the continued updates...

I have a request, that others my soon need - I ran into the problem today. I got a message from my AFTV stating I was getting low on storage space, and to uninstall some apps to make some room. I did that, yet it didn't gain much. I noticed that my XBMC install was consuming over 3 gigs of space (data). Under further research two files in particular were eating up most of it. my xbmc.log & xbmc.old.log files. The xbmc.log was over 1.2gigs the .old about 300megs.

( I also had some music that was downloaded thru an addon that - I had to remove as well. )

I basically; just did a backup, zero'd out the two log files (probably could have just deleted them?) then did a restore. Rebooted and it was down to almost nothing .. after about twenty mins of use it's stablized around 700megs worth of data.

I'm going to check my other two AFTVs to see where they are... I wonder where others are?

Can you put in a button to zero out the two log files? I have a cheaters way setup now. I have a folder structure that only contains the two .log files that I just do a restore from - which kinda does the same thing. (I do this same thing when I want to make a simple change to my sources.xml or advancedsettings.xml ) A discrete button for this would be nice. :)

I did a quick look to see if there is a simple addon for this - I found some maintenance addons from xbmchub that may work, but I have had mixed results with that addon in the past. I don't really trust it.
[Fire TV Themes and Apps] LakersFan_73:
Got it, makes sense. Thanks for the explanation.
[Fire TV Themes and Apps] imtiajmeah:
Good idea... If you have any details, links, wiki where I can get more info of the files that need to be cleaned out... I will get it added on the coming release..

im guessing your talking about

<data/sdcard/Android>/data/org.xbmc.xbmc/cache/temp/xbmc.log or /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/temp/xbmc.log

right?
[Fire TV Themes and Apps] toe-rag:
yes.. I also had one 'xbmc.old.log' I created two new files same names, but with zero bytes - restored and that did it, however I'm guessing if they were just deleted, xmbc would create new ones... ??

---------- Post added at 06:39 AM ---------- Previous post was at 06:27 AM ----------

Link to Wiki -- doesn't say anything about deleting ...

---------- Post added at 06:47 AM ---------- Previous post was at 06:39 AM ----------

I found this ... which shows how to create a dynamic /path to the log files ... which provides the ability to DELETE right from within XBMC file manager..

I'll try this when I get home.... from work. perhaps this is a solution to the problem. ?

Link to Wiki

Yes,, This last link provided information that I can use the built-in file manager in XBMC -- to delete the xbmc.old.log - and that is really all that is needed. Now I understand how they work together.

the xbmc.old.log is from the previous session. The xbmc.log from the current session. all that is needed to minimize both it to restart twice, and they should both be at a minimum 27k or so.

You can't delete the active file xbmc.log as it is currently open from the session you are in.

So putting a button to do this won't be very useful.
[Fire TV Themes and Apps] LastQuark:
How does the Link2SD works? Should we just install Busybox, download Link2SD in google play, format the USB flash drive to EXT4, then click the button in FireTV Utility App?

Do we still have to download SaltyCookie's Allow_Link2SD.zip before clicking the button on the FireTV Utility App?
[Fire TV Themes and Apps] imtiajmeah:
Correct.... and no need to download Allow_Link2SD.zip ;)

Let me know how it goes.
[Fire TV Themes and Apps] MikeDave11:
Hello imtiajmeah, First of all really appreciate your efforts in provinding such nice tool to make our job easier. Well done.

I'm a newbie to rooting. I just got my fire tv device this week. My goal is to root the fire TV & install XBMC.

My device version is: 51.1.1.0_user_511070220

Can I download your utility app & do the below ?

1. Click the button "Root your AFTV".

2. Click the button "Disable OTA Update"

3. How do I install XBMC using your utility tool?

Thanks in advance,
[Fire TV Themes and Apps] mjbxx:
You might want to look at the How to setup a new Fire TV without blocking Root guide over at AFTVNews before installing your new Fire TV for purposes of rooting the device.
[Fire TV Themes and Apps] imtiajmeah:
Yes, yes, and just sideload like any other app.. but do follow steps to avoid blocking root before you do anything.
[Fire TV Themes and Apps] userxx:
Did you get it sorted?

It sounds like the llama action is not correctly fulfilling the action of launching XBMC.

Here is what my srceen shot looks like. Does yours look like that?

Also try unistalling llama and reinstalling and start over.
[Fire TV Themes and Apps] tekno9000:
Stuck

Hi Imtiaj

I had XBMC on y AFTV but was not rooted. I loaded your app but I am getting device not found error. It showed Root was successful. Please see attached pictures and help.

I am a noobie.

Thanks in advance.

---------- Post added at 03:41 AM ---------- Previous post was at 03:10 AM ----------

Cant attach pictures.

Daemon not running. started on port5037

Daemon started successfully

unable to connect to 5555

error : device not found
[Fire TV Themes and Apps] imtiajmeah:
Check your AFTV IP address, and its the same as in the app under settings.
[Fire TV Themes and Apps] tekno9000:
Thanks Imtiaj,

Got it. Proves how good my computer knowledge is ;) .

Thanks for you help and creating this wonderful app. Congrats to you and your team.

I got the root to work and now I am still trying to configure the XBMC screen on home screen.

Thanks and have a good day sir!!
[Fire TV Themes and Apps] jcmeadows:
OK, am I just missing something on the Amazon FireTV Utility App v0.19 download page? I cant find anywhere to download the app. Everything that I click on is a spam thing. Nothing is to download the program. Any ideas?
[Fire TV Themes and Apps] imtiajmeah:
Goto the link below > Click on the latest version, currently v0.19 > Click Skip Ad on the top right after the 5sec countdown > Click the Grey button "DOWNLOAD"

goo.gl/lUNWaT

Enjoy ;)
[Fire TV Themes and Apps] mjbxx:
Feature Request: SPMC Launcher

Would it be possible to add the SPMC Launcher to the AFTV Utility App?
[Fire TV Themes and Apps] LastQuark:
I'm getting an error:

cp: source: No such file or directory.

I must be missing something obvious. This is what I did without success:

- Installed Busybox from Google Play

- Installed Link2SD from Google Play

- Formatted a USB flash drive to EXT4 using MiniTool Partition with partition "primary"

- Run the AFTV Utility App script and got the "no such file or directory" error....
[Fire TV Themes and Apps] imtiajmeah:
The best way would be to download and sideload it? Unless i'm munderstanding what you meant.
[Fire TV Themes and Apps] mjbxx:
I have done that but the app is not compatible with SPMC. I can not load anything (APK, Keymap, Splashscreen ...) to SPMC using the AFTV Utility App at this time. I do recall at one time that the app provided the option to choose either SPMC Frodo or Gotham when first released.
[Fire TV Themes and Apps] imtiajmeah:
Thanks for the feedback I will fix it in my next release... Till then follow the below remainder steps.

Open Shell Window, and type the below:

su

source /sdcard/Download/AllowLink2SD/AL2SD.sh

fyi... from Step 6 on the below link:

http://xdaforums.com/showpost.php?p=54601505&postcount=33
[Fire TV Themes and Apps] imtiajmeah:
Ahhh I get what you mean... I will check the file structure for SPMC and look to get it added on the next release...
[Fire TV Themes and Apps] LastQuark:
Got it. I see how the pieces works together now. Works well!

Thank you for this great app!
[Fire TV Themes and Apps] Jose_arq:
File Not Found

File Not Found

The file you were looking for could not be found, sorry for any inconvenience.

Possible causes of this error could be:

The file expired

The file was deleted by its owner

The file was deleted, didn't comply with Terms of Service

:crying::crying:
[Fire TV Themes and Apps] imtiajmeah:
Added new file host..... back up and running.

Enjoy ;)
[Fire TV Themes and Apps] 4irm:
+1 for SMPC

Thank you!
[Fire TV Themes and Apps] imtiajmeah:
Your wish is my command in v.0.20 ;)
[Fire TV Themes and Apps] imtiajmeah:
Update v0.20

Changelog v0.20

Added tip for Llama config

Added Donation Link under Help menu (Please do help by donating)

Added Delete log files Button to clear temp folder and free up disk space

Update to Kodi from XBMC Splash Screen

Update to Kodi from XBMC Icon

Renamed a few references of XBMC to Kodi

Added custom Splash Screen for SPMC

All Kodi configuration Grouped Together

Added update checker

Please keep the feedback coming... Enjoy ;)
[Fire TV Themes and Apps] mjbxx:
Not able to install a keymap on SPMC and I believe it is because it is named keyboard rather than keymap in the AFTV Utility App as seen below.
[Fire TV Themes and Apps] imtiajmeah:
Thanks for the feedback... I'm unable to replicate the problem you are having.

From the screenshot it looks like it cant find the files. Are all 3 keyboard.xml files in C:\FTV\ ?
[Fire TV Themes and Apps] mjbxx:
Yes, located in C:\FTV as seen below.

EDIT: Installed XBMC Gotham and was able to install keymap 3 and it works properly. It appears that the issue is with SPMC exclusively. I am able to install the new Kodie Splashcreen and Backup Data successfully in SPMC.
[Fire TV Themes and Apps] imtiajmeah:
Thanks for the update....

What version of SPMC are you using? I tested it with the latest version from Playstore and Amazon Store they both seemed to have worked!!
[Fire TV Themes and Apps] mjbxx:
I used the APK from the Google Playstore and it damn near bricked the Fire TV. It hung up on some error screen and would not boot up at all. Thankfully, [MENTION=2718012]jocala[/MENTION]'s adbFire app has the option of uninstalling any APK. The Fire TV booted up proper to the KFTV Launcher after doing so. I then proceeded to install the SPMC APK from [MENTION=397727]Koying[/MENTION]'s official site. Can the option of uninstalling an APK be added to the AFTV Utility App?
[Fire TV Themes and Apps] LastQuark:
Backup is no longer working.
[Fire TV Themes and Apps] imtiajmeah:
Will look to add it in the next release.... thanks for your feedback ;)
[Fire TV Themes and Apps] imtiajmeah:
Opps I will check and get it fixed in the next release...Thanks for your feedback.
[Fire TV Themes and Apps] pumpinepie:
I am trying to use this app to get my firetv rooted and when I try and sideload an app it keeps giving me the following errors :

error - more than one device and emulator

-waiting for device

error - protocol fault (status read)

-waiting for device

and it just keeps looping with these error messages

any ideas ?

I even get the same errors when trying to sideload apps through commard prompt
[Fire TV Themes and Apps] searobbins:
I had that same thing happening too.

After about 6 hrs trying to figure it out, I found that my running install of bluestacks was the issue.

Went to taskmanager and shut down all the bluestacks stuff.

Maybe that will work for you.
[Fire TV Themes and Apps] pumpinepie:
Yes thank you, thank you, thank you !!!

That did it, did I say thanks ? LOL
[Fire TV Themes and Apps] imtiajmeah:
Update v0.21

Changelog v0.21

Fixed Kodi data backup

Quick release..... Sorry for any inconvenience caused...
[Fire TV Themes and Apps] vook:
It's worth making a note for us noobs that we need to go into developer options and enable ADB. It took me a while to figure this out. Great app, thanks