[APP] [Windows] Amazon FireTV Utility App v0.64

Status
Not open for further replies.

mejdam

Senior Member
May 12, 2008
425
129
0
Needs some help. I have ADB enable on my FireTV and try to sideload Chrome. Getting this message..

What could be wrong... My firewall was disable and still getting the error message.
Looks like the program isnt killing previous connection before connecting to FireTV. The error pretty much is telling you that you have multiple connection and it doesnt know what device you want to run the commands on. If you run a adb devices command from the C:\FTV (if thats where its at) to confirm multiple connections

minhgi,
open command prompt, navigate to the location of the FTV Side App Installer.exe file (could be C:\FTV if you followed the instructions) and manually type the two comands below.

adb kill-server
adb start-server

after you run the commands above try again, or you can reboot your computer (make sure you dont have an android phone/tablet directly connected) and try again

---------- Post added at 07:43 AM ---------- Previous post was at 07:40 AM ----------

Just released v0.4 that fixes the bug... enjoy ;)

Since i cant see your code can you verify that you added adb kill-server and adb start-server before the adb connect command? if you havent you should probably do so or else users will have multiple adb connections and your app will stop working,
 

imtiajmeah

Senior Member
Dec 7, 2004
317
289
0
London
Looks like the program isnt killing previous connection before connecting to FireTV. The error pretty much is telling you that you have multiple connection and it doesnt know what device you want to run the commands on. If you run a adb devices command from the C:\FTV (if thats where its at) to confirm multiple connections

minhgi,
open command prompt, navigate to the location of the FTV Side App Installer.exe file (could be C:\FTV if you followed the instructions) and manually type the two comands below.

adb kill-server
adb start-server

after you run the commands above try again, or you can reboot your computer (make sure you dont have an android phone/tablet directly connected) and try again

---------- Post added at 07:43 AM ---------- Previous post was at 07:40 AM ----------




Since i cant see your code can you verify that you added adb kill-server and adb start-server before the adb connect command? if you havent you should probably do so or else users will have multiple adb connections and your app will stop working,
Hi mejdam I think you're correct with what you believe the issue is here.

I can confirm all commands will start with adb kill-server and adb start-server before the adb connect command.

I deliberately left the CMD window visible instead of hiding it so incase anyone wanted to see it for debug reasons.
 

deanemj

Senior Member
May 2, 2014
79
12
0
Awesome, awesome, AWESOME app!

Could you make it so I can set the default IP address of my Fire TV? I, and probably others, have given my Fire TV a static IP so it'd be nice to not have to enter the IP every time I use your freaking sweet software.

Thanks again!:good:
 

thrashman69

Member
Nov 30, 2013
33
4
0
Awesome, awesome, AWESOME app!



Could you make it so I can set the default IP address of my Fire TV? I, and probably others, have given my Fire TV a static IP so it'd be nice to not have to enter the IP every time I use your freaking sweet software.



Thanks again!:good:

My IP comes up automatically. I think the program has to be installed in C:\FTV
 
  • Like
Reactions: deanemj

deanemj

Senior Member
May 2, 2014
79
12
0
My IP comes up automatically. I think the program has to be installed in C:\FTV
That's where I put it...my FTV's IP disappears after I close the app. Am I doing something wrong?

Also, another suggestion is to start the command prompts on the desktop. It's a bit of a pain having to manually bring up every window to check if the APK installed correctly.

Just love this application, man! Love it!
 

thrashman69

Member
Nov 30, 2013
33
4
0
That's where I put it...my FTV's IP disappears after I close the app. Am I doing something wrong?



Also, another suggestion is to start the command prompts on the desktop. It's a bit of a pain having to manually bring up every window to check if the APK installed correctly.



Just love this application, man! Love it!
I'm not sure about the IP then sorry. Yes that would be cool if the developer could make the CMD window pop up
 
  • Like
Reactions: deanemj

minhgi

Senior Member
Jul 26, 2008
438
71
0
Houston
Looks like the program isnt killing previous connection before connecting to FireTV. The error pretty much is telling you that you have multiple connection and it doesnt know what device you want to run the commands on. If you run a adb devices command from the C:\FTV (if thats where its at) to confirm multiple connections

minhgi,
open command prompt, navigate to the location of the FTV Side App Installer.exe file (could be C:\FTV if you followed the instructions) and manually type the two comands below.

adb kill-server
adb start-server

after you run the commands above try again, or you can reboot your computer (make sure you dont have an android phone/tablet directly connected) and try again

---------- Post added at 07:43 AM ---------- Previous post was at 07:40 AM ----------




Since i cant see your code can you verify that you added adb kill-server and adb start-server before the adb connect command? if you havent you should probably do so or else users will have multiple adb connections and your app will stop working,
I have like 7 android devices that are connect om my network. Google TV, Chromcast, 2 Tablets, and 4 phones. THis could be a challenge especially when they constantly in use. My Fire TV is connected by wireless. Should I try to connect it by network cable and try the sideload.

My fireTV is inside a cabinet and hard to reach...FYI
 

imtiajmeah

Senior Member
Dec 7, 2004
317
289
0
London
That's where I put it...my FTV's IP disappears after I close the app. Am I doing something wrong?

Also, another suggestion is to start the command prompts on the desktop. It's a bit of a pain having to manually bring up every window to check if the APK installed correctly.

Just love this application, man! Love it!
The IP address will automatically save as default once you click close at the bottom. ..not the X on the top right.

I will look at making the cmd windows stay in focus in future release... thanks for your feedback

Sent from my GT-N7100 using XDA Premium 4 mobile app
 

deanemj

Senior Member
May 2, 2014
79
12
0
The IP address will automatically save as default once you click close at the bottom. ..not the X on the top right.

I will look at making the cmd windows stay in focus in future release... thanks for your feedback

Sent from my GT-N7100 using XDA Premium 4 mobile app
Ah, okay. That fixed it! Thanks!
 

mejdam

Senior Member
May 12, 2008
425
129
0
The IP address will automatically save as default once you click close at the bottom. ..not the X on the top right.

I will look at making the cmd windows stay in focus in future release... thanks for your feedback

Sent from my GT-N7100 using XDA Premium 4 mobile app
you should have the Form_unload action point to the File - Close action. So it wont matter how they close the program, it'll still save.
 

deanemj

Senior Member
May 2, 2014
79
12
0
you should have the Form_unload action point to the File - Close action. So it wont matter how they close the program, it'll still save.
What's funny is that until he mentioned the "close" button, I didn't even notice it. Maybe at least make it more noticeable. Perhaps "save &close" or some such.
 

imtiajmeah

Senior Member
Dec 7, 2004
317
289
0
London
What's funny is that until he mentioned the "close" button, I didn't even notice it. Maybe at least make it more noticeable. Perhaps "save &close" or some such.
New update release. It addresses some of the feedback received.

Changelog v0.5

Command Window now in focus when running
Llama apk file updated
Added Llama XBMC config file upload
Disabled the X from top right of app
 

Aureo69

New member
May 9, 2014
4
0
0
help please

Thank you very much for the app, but I keep getting an error when trying to load the xbmc apk file... it states "too many files specified; only takes APK files and verifier file"

any help would be greatly appreciated.

Thank you

Aureo
 

imtiajmeah

Senior Member
Dec 7, 2004
317
289
0
London
Thank you very much for the app, but I keep getting an error when trying to load the xbmc apk file... it states "too many files specified; only takes APK files and verifier file"

any help would be greatly appreciated.

Thank you

Aureo
Make sure that the apk file you are side loading doesn't have any space in the name. Best to replace with a full stop.

Sent from my GT-N7100 using XDA Premium 4 mobile app
 

Aureo69

New member
May 9, 2014
4
0
0
Still not working...hellp!!!

Shortened the name and removed all spaces and still getting the same error.

But i can get the splash screens on.

Please help

aureo
 
Last edited:

fbifido

Member
Apr 19, 2006
9
0
0
ReQuest: Feature List

The name of the amazon FTV is like: android-*

1) u can use ping -a <ftv ip> or better use nslookup <ftv-ip> to get the name, with the name saved you can always use nslookup <ftv-name> to get the ip.
2) u can get a list of all installed apps, just filter out the amazon ones, see code below
3) u can generate a list of all the .apk files in apps, as to allow easy access to then in the GUI, and to show if it's already installed, so as to let users uninstalled an app.
4) u can provide a link for up-to-date xbmc or spmc, and show in apps list, so that it can be downloaded and place in the xbmc folder, by your program.
5) can you keep a list of all known working apps, and link to them so as to let users download them, and allow your program to keep this list up-to-date.

I am not good at any type of programming, but copy & paste is a good friend of mine.


ECHO OFF
CLS
powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
CLS
:START
ECHO.
ECHO ...............................................
ECHO SENAXX AMAZON FIRE TV XBMC INSTALLER
ECHO IP_ADDR=%ip%
ECHO ...............................................
ECHO.
ECHO 1 - Install / Upgrade XBMC
ECHO 2 - Install Autopilot
ECHO 3 - Install AnyWhere TV 3.31
ECHO 4 - Install Show BOX
ECHO 5 - Install TWC TV 5.1
ECHO.
ECHO 0 - CUSTOM APPS
ECHO.
ECHO 6 - Uninstall XBMC
ECHO 7 - Exit
ECHO.
ECHO 8 - List all APPS installed on your device
ECHO.
ECHO 9 - Change the Splash Screen
ECHO.
ECHO Please Run XBMC before selection option 9
ECHO.
SET /P M=Type 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9 then press ENTER:
IF %M%==0 GOTO CUSAPP
IF %M%==1 GOTO INSTALL
IF %M%==2 GOTO AUTOPILOT
IF %M%==3 GOTO ANYWHERE
IF %M%==4 GOTO SHOWBOX
IF %M%==5 GOTO TWC
IF %M%==6 GOTO SURE
IF %M%==7 GOTO EOF
IF %M%==8 GOTO APPLIST
IF %M%==9 GOTO SPLASH
GOTO MENU
:INSTALL
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./xbmc/xbmc-*-Gotham-armeabi-v7a.apk
GOTO START
:SURE
SET /P ANSWER1=Are you sure you want to uninstall? (yes/no)?
if /i {%ANSWER1%}=={yes} (goto :UNINSTALL)
if /i {%ANSWER1%}=={y} (goto :UNINSTALL)
if /i {%ANSWER1%}=={no} (goto MENU)
if /i {%ANSWER1%}=={n} (goto MENU)
:UNINSTALL
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb uninstall org.xbmc.xbmc
GOTO START
:AUTOPILOT
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./other/Autopilot.apk
GOTO START
:ANYWHERE
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./other/Anywhere.apk
GOTO START
:SHOWBOX
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./other/showbox.apk
GOTO START
:TWC
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./other/TWC_TV-v5_1.apk
GOTO START
:SPLASH
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb pull /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/splash.png
start /b /wait adb push ./splash1.png /sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/media/splash.png
GOTO START
:APPLIST
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb shell pm list packages -f > ./Applist.txt
GOTO START
:CUSAPP
rem powershell -Command read-host "Enter your Fire TV IP" ; > ip.txt & set /p ip=<ip.txt
start /b /wait adb kill-server
start /b /wait adb start-server
start /b /wait adb connect %ip%
start /b /wait adb install -r ./other/NRB*Network-tv.nrbnetwork.gtv-2-v1.1.apk
start /b /wait adb install -r ./other/Show*Box-com.tdo.showbox-14-v2.9.apk
start /b /wait adb install -r ./other/TBN_Mobile-tbn_mobile.android-5-v3.0.1.apk
start /b /wait adb install -r ./other/Orientation_Manager-com.sachin.orientationmanager-2-v1.01.apk
start /b /wait adb install -r ./other/IROKOtv-com.irokotv-5-v1.4.apk
GOTO START
:MENU
cls
GOTO START
:EOF
exit
 

mejdam

Senior Member
May 12, 2008
425
129
0
The name of the amazon FTV is like: android-*

1) u can use ping -a <ftv ip> or better use nslookup <ftv-ip> to get the name, with the name saved you can always use nslookup <ftv-name> to get the ip.
2) u can get a list of all installed apps, just filter out the amazon ones, see code below
3) u can generate a list of all the .apk files in apps, as to allow easy access to then in the GUI, and to show if it's already installed, so as to let users uninstalled an app.
4) u can provide a link for up-to-date xbmc or spmc, and show in apps list, so that it can be downloaded and place in the xbmc folder, by your program.
5) can you keep a list of all known working apps, and link to them so as to let users download them, and allow your program to keep this list up-to-date.

I am not good at any type of programming, but copy & paste is a good friend of mine.
dont know if you are aware of this but this code is for a different program.
 

Pithism

Senior Member
Dec 21, 2010
1,052
63
0
Boston, MA
hi,

Im not able to "find" the apk to install. It will connect to the fire tv, but it wont push the apk.

also tried putting the apk into the apps folder and i get to many files specified, only takes apk file and verifier file
 
Last edited:

deanemj

Senior Member
May 2, 2014
79
12
0
hi,

Im not able to "find" the apk to install. It will connect to the fire tv, but it wont push the apk.

also tried putting the apk into the apps folder and i get to many files specified, only takes apk file and verifier file
Does the APK you're trying to sideload contain spaces in its name? If so, you need to remove the spaces. It will only work if there are no spaces in the APK's name.
 
Status
Not open for further replies.