Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,782,422 Members 44,011 Now Online
XDA Developers Android and Mobile Development Forum

Can files be pushed across the network from a PC to Fire TV using ADB?

Tip us?
 
archa1c
Old
#1  
archa1c's Avatar
Senior Member - OP
Thanks Meter 30
Posts: 118
Join Date: Jan 2013
Default Can files be pushed across the network from a PC to Fire TV using ADB?

I'd like to push some XBMC repository zips to my Fire TV without the hassle of installing ES File Explorer and pulling the zips from the pc.

Is this possible via ADB?

I've been using ADB to sideload apps.
 
archa1c
Old
#2  
archa1c's Avatar
Senior Member - OP
Thanks Meter 30
Posts: 118
Join Date: Jan 2013
After a bit more searching I found my answer.

It's quite simple.

If you're already accustomed to connecting to your FIre TV over ADB, to push a file to a directory on the Fire TV, the command syntax is as follows:

Code:
adb push <local pc path to file> <destination path on fire tv>
For example, I wanted to push an XBMC repository zip to the /sdcard/download folder on my fire TV for ease of installation from within XBMC.
The zip archive is named "repositories_installer.zip" and it exists in the following directory on my PC: C:\Android\FireTV\
To do so, my command was:

Code:
adb push C:\Android\FireTV\repositories_installer.zip /sdcard/Download
 
Luxferro
Old
#3  
Senior Member
Thanks Meter 326
Posts: 1,150
Join Date: Nov 2009
Location: Long Island, NY
don't forget you need to do:

Code:
adb connect fire_tv_IP_address
beforehand.
 
2fastkuztoms
Old
#4  
Senior Member
Thanks Meter 48
Posts: 205
Join Date: Jul 2010
Quote:
Originally Posted by archa1c View Post
After a bit more searching I found my answer.

It's quite simple.

If you're already accustomed to connecting to your FIre TV over ADB, to push a file to a directory on the Fire TV, the command syntax is as follows:

Code:
adb push <local pc path to file> <destination path on fire tv>
For example, I wanted to push an XBMC repository zip to the /sdcard/download folder on my fire TV for ease of installation from within XBMC.
The zip archive is named "repositories_installer.zip" and it exists in the following directory on my PC: C:\Android\FireTV\
To do so, my command was:

Code:
adb push C:\Android\FireTV\repositories_installer.zip /sdcard/Download
You can push xbmc xml for control remap like that, also you can use "adb pull" command instead of push to retrieve files from it.
 
jpage101
Old
#5  
Member
Thanks Meter 5
Posts: 36
Join Date: Dec 2012
Quote:
Originally Posted by Luxferro View Post
don't forget you need to do:

Code:
adb connect fire_tv_IP_address
beforehand.
I also noticed sometimes I cannot connect like this if I am in an app like XBMC. I must close the app before it will connect. Not sure why, just mentioning in case this scenario applies to anyone.
 
2fastkuztoms
Old
#6  
Senior Member
Thanks Meter 48
Posts: 205
Join Date: Jul 2010
just a tip, i was able to sideload apps directly from my phone to the ftv, using android terminal emulator app, so probable file push should work.

Sent from my Nexus 5 using XDA Premium 4 mobile app
 
lsdlsdlsdlsd
Old
#7  
Junior Member
Thanks Meter 3
Posts: 23
Join Date: Dec 2007
Quote:
Originally Posted by archa1c View Post
After a bit more searching I found my answer.

It's quite simple.

If you're already accustomed to connecting to your FIre TV over ADB, to push a file to a directory on the Fire TV, the command syntax is as follows:

Code:
adb push <local pc path to file> <destination path on fire tv>
For example, I wanted to push an XBMC repository zip to the /sdcard/download folder on my fire TV for ease of installation from within XBMC.
The zip archive is named "repositories_installer.zip" and it exists in the following directory on my PC: C:\Android\FireTV\
To do so, my command was:

Code:
adb push C:\Android\FireTV\repositories_installer.zip /sdcard/Download
If your goal was to install XBMC repos, why not just put the files on a SMB/NFS share and access from within XBMC?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Get Your Tasks Organized on Android Wear with Agenda Wear

Having a checklist of things you need to do is something we all can find useful at … more

Top 5 LG G3 MODs – XDA Developer TV

The LG G3 has been LG’s breakout hit of the summer. Using their knowledge frombuilding some … more

Make Your Calendar Widget Beautiful with Month

For some of us, summer vacation is alreadyover. For those getting ready to school, work, or … more

Integrate Social Networks Into Your Project With ASNE Library

Social network applications and services have developed into major parts ofour … more