How do you push emulator roms to the device? - Fire TV Q&A, Help & Troubleshooting

All I know how to do is adb install an APK.
Since I can't use the external device anymore after the update I can't play my emulators so I need to push the files to the built in storage.

adb push <local pc path to file or folder> <destination path on fire tv>
eg: adb push advancedsettings.xml /sdcard/android/data/org.xbmc.xbmc/files/.xbmc/userdata

Just thought of a kickass idea!
1. Take all of the files you want to put on your Fire TV.
2. Compress them in a zip which you can call "games" or any other easy filename. (best/smallest filesize is Windows built-in zip compressor)
3. Then simply push that one file to your Fire TV and use ES File Explorer or any other file exploring app with zip support to extract the files.
4. After doing so,you can delete the zip to free up the space it takes.
I recommend that you sideload/install 7Zipper 2.0 for its extensive support of 7z and rar files.

retroben said:
Just thought of a kickass idea!
1. Take all of the files you want to put on your Fire TV.
2. Compress them in a zip which you can call "games" or any other easy filename. (best/smallest filesize is Windows built-in zip compressor)
3. Then simply push that one file to your Fire TV and use ES File Explorer or any other file exploring app with zip support to extract the files.
4. After doing so,you can delete the zip to free up the space it takes.
I recommend that you sideload/install 7Zipper 2.0 for its extensive support of 7z and rar files.
Click to expand...
Click to collapse
Why though? What's to gain when you can push folders?

Didn't know that was possible...

roligov said:
adb push <local pc path to file or folder> <destination path on fire tv>
eg: adb push advancedsettings.xml /sdcard/android/data/org.xbmc.xbmc/files/.xbmc/userdata
Click to expand...
Click to collapse
That was easier than I thought it would be! Forgot you could drag and drop files into the CMD and it auto does the path. Thanks a lot man!

Locating the folder for roms
Hi I am so glad I have found this forum and realy hope you can help me out, looking at the questions/answers in this thread I think I may be in the correct place.
I have ADB on my PC and also Mame4droid installed on my Amazon fire tv.
I have not managed to locate the folder where roms need to be pushed to.
I know that I can push the files by using ADB on my PC but when I select "Push" I do not know how find the directory I need ?
When I open Mame on Amazon fire tv it tells me to put the roms in ------ /storage/emulated/0/MAME4droid/roms
Please please please can you help/guide me to locate these folders / directory using ADB so that I can then transfer the roms to the above.
Thank you so much and hoping you can help , can`t wait to have this up and running on my Amazon fire tv box.

i have the same problem here....can anyone help??

just paste /storage/emulated/0/MAME4droid/roms in the "ad hoc directory" box in adblink (no spaces in front or behind)

Related

[Q] Edit hosts file

Hello,
After reading theads about this universal problem.
I'm still looking for a solution to edit hosts file.
I don't want to pay for root explorer app (sorry).
I've tried AdFree but it adds only "127.0.0.1 localhost"
is there a way to edit this f*** file. I've a hosts file to use but no possibilies to use it...
If someone can help me, (s)he will be very kind....
re Hello,
I've seen a thead a patch to make a link to a file on the sdcard (I don't know where on the forum exactly)
Is there someone to help me ?
I recently have been looking into changing my own hosts file. I use Astro with the root option enabled to copy the hosts file in /system/etc/ to my SD card. With Astro you can change file extensions. Rename your SD copy to hosts.txt and you can edit it with ThinkFree. As for copying that back over, I'm not sure if it's as direct. I would suggest using an Android terminal to do the edits because you can edit without having to use ADB (I found all this out through other threads). Make sure you're root(ed) as well (su command). Also you might have to reboot after copying over your new file. My PC has trouble with my hosts file.
Basically what I've seen is that there's a line in the file that the device can't "understand" (or find) perhaps. My PC file has a couple groups of sites that I copied from a website (after checking for loopback). All in all there was a box or something somewhere because the encoding wasn't the right one. (If you add the .txt extension on the device ThinkFree will ask you what encoding. I use the suggested but that's probably my issue on my PC.) My PC kept making a new, blank copy of my hosts and turning my custom one into an iCal file (?).
Hope this helps a little, even though you're only adding one line...
Sent from my SPH-M910 using Tapatalk
Hello
Thanks for the info.
I've manage to do a link to a hosts file located in the sdcard using adb when I'm in recovery mode.
Now When I use AdFree, the app can update without problem the file
Lol you could do adb shell
cd /etc/
cat hosts
and see what it outputs. If it's wrong just do echo urlhere 127.0.0.1 >> hosts
Indirect said:
Lol you could do adb shell
cd /etc/
cat hosts
and see what it outputs. If it's wrong just do echo urlhere 127.0.0.1 >> hosts
Click to expand...
Click to collapse
It's Ok,
when I do this, it outputs all the adress associated with 127.0.0.1
It displays the content of /sdcard/etc/hosts file.
Easy Host File
I have been able to change my hosts file with no paid apps,adb, or recovery. This will work with Astro or ES File Explorer.
Find and download the hosts file you wish to use; I use mvps. If you want to edit it or add entries do so now. To save it with no file extension on Windows under tools-->folder options enable "show file extensions for known types". Control click and select "rename"; rename "hosts.txt" as "hosts". Window will warn you about changing the extension but clear the warning. Copy this to the root of your sdcard.
On your rooted phone open your file manager (Astro or ES) and click menu. Allow root permission. You will see a legend that says your app has been granted superuser privileges. Navigate to sdcard and copy your desired hosts file. Go to root directory and paste the new file in /system/etc. You will get a warning that files will be overwritten/folders merged. Allow. Now you're done, easy money!
---------- Post added at 06:21 PM ---------- Previous post was at 06:15 PM ----------
To avoid a "blank" you have to show file types for known extensions. Editing is easy in Notepad++. This way you can add new annoyances at will. There's no place like 127.0.0.1!
I Understand the good side of your method.
Just a question. Can we do a link (ln -s....) via ADB with the original recovery ( the unrooted one) ?

adding files to obb folder

never found a answer for this is there a way to instal obb files to AFT ?
..
ok thanks for the info
JJ-KwiK said:
Use adb to push the OBB file into that location, or use an apk like 3cx droiddesktop to either ftp or web ftp the files and folder to the proper location.
Sent from my SGH-I337M using XDA Premium HD app
Click to expand...
Click to collapse
I found that pushing to the /Android/obb folder runs with no errors but doesn't actually write the files. So you can push to the /download folder, then use a file manager and move it to the obb folder/ I think it is /mnt/storage/legacy/download. Not in front of the firetv to doublecheck.
kairnage said:
I found that pushing to the /Android/obb folder runs with no errors but doesn't actually write the files. So you can push to the /download folder, then use a file manager and move it to the obb folder/ I think it is /mnt/storage/legacy/download. Not in front of the firetv to doublecheck.
Click to expand...
Click to collapse
I've had no problems using the push command to get files into /sdcard/Android/obb/.

[Q] How to get lego fusion town master app/game working on amazon fire tv

Trying to install Fusion Tower Master app on amao fire tv via root and side loading
But i keep getting ""Downlad Failed Beause You May Not Have Purchased This app"
I got the apk file from online. It was 2 files in this folder com-lego-fusion-townmaster
1) main.1222.com.lego.fusion.townmaster.obb
2) com_lego_fusion_townmaster-1222.apk
Then i adb install the apk. Not sure where to place obb file which is like 110 MB
I
Is there any workaround to get this fix or working to play the game on amazon fire tv
itsthrills said:
Trying to install Fusion Tower Master app on amao fire tv via root and side loading
But i keep getting ""Downlad Failed Beause You May Not Have Purchased This app"
I got the apk file from online. It was 2 files in this folder com-lego-fusion-townmaster
1) main.1222.com.lego.fusion.townmaster.obb
2) com_lego_fusion_townmaster-1222.apk
Then i adb install the apk. Not sure where to place obb file which is like 110 MB
I
Is there any workaround to get this fix or working to play the game on amazon fire tv
Click to expand...
Click to collapse
Reason it's saying that is because that *.obb file isn't put where it needs to go, so it wants to download it, and thinks it's not paid for.
I don't know the location on the AFTV as my ES File Explorer won't get off the SDCard. But it's generally ../android/obb directory.
Also, you need to copy the *.obb file over before installing the *.apk file, or it will error out with the same error.
Thanks for response. I tried that but didnt work. Here's my location of where the OBB file is
\Xperia Tablet Z\Internal storage\Android\obb\com-lego-fusion-townmaster
itsthrills said:
Thanks for response. I tried that but didnt work. Here's my location of where the OBB file is
\Xperia Tablet Z\Internal storage\Android\obb\com-lego-fusion-townmaster
Click to expand...
Click to collapse
hmm, okay. Well, I'm getting my usb stick tomorrow and will have to deal with this myself, so give me a few days and maybe I'll have an answer for you.
Great! Hope you can figure this out. Thanks again
okay, what I have found out so far is that the obb directory is /sdcard/Android/obb and I needed to turn on root access in es file to see it.
Copying the directory of stuff into there, and then you install the *.apk
If you installed the *.apk first, then uninstall it, then copy the stuff over, then install it.
Should work for most stuff, but I haven't played with it much. Been busy.
Was really hard to find at first, the location. But I didn't have root enabled in es file.
Where did you find it?
Where did you get this obb file I've search the internet for it and all I get is this same exact post on 20 different website's.
Thanks
nyder said:
okay, what I have found out so far is that the obb directory is /sdcard/Android/obb and I needed to turn on root access in es file to see it.
Copying the directory of stuff into there, and then you install the *.apk
If you installed the *.apk first, then uninstall it, then copy the stuff over, then install it.
Should work for most stuff, but I haven't played with it much. Been busy.
Was really hard to find at first, the location. But I didn't have root enabled in es file.
Click to expand...
Click to collapse
jdmiami said:
Where did you get this obb file I've search the internet for it and all I get is this same exact post on 20 different website's.
Thanks
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.lego.fusion.townmaster
it's free, I didn't try it on my Amazon TV though.

Pushing folders to aftv fire/stick

Is there a way to push a folder to the sd card or downloads folder on the aftv or stick I wanted to push the xbmc backup folder i made from my amazon fire tv to the stick.
danknasty said:
Is there a way to push a folder to the sd card or downloads folder on the aftv or stick I wanted to push the xbmc backup folder i made from my amazon fire tv to the stick.
Click to expand...
Click to collapse
The adbFire app works great for this and many other tasks.
http://forum.xda-developers.com/showthread.php?t=2786505
smokie75 said:
The adbFire app works great for this and many other tasks.
http://forum.xda-developers.com/showthread.php?t=2786505
Click to expand...
Click to collapse
I know it's great for pushing a single file at a time but how can I push a full folder. So that I can move all my backup files.
if you have es file explorer on both devices, you can select a folder and then do "send".
just make sure es explorer is already running on the target device too. and once you send, you will have to accept/confirm on the target device.
is there anyway to do it from a computer?
also very easy, using es file explorer.
sorry if these are noob questions but I don't see any way to transfer a file in es file explorer I have it installed on my fire stick and I can view folders on my computer via lan but thats about it.
In ES File Explorer, navigate to the folder on your PC you want to copy to your FTV stick.
Select the folder, then press and hold the center button on your remote until a check mark appears on the folder. Select "Copy" on the bottom of the screen, then navigate to where you want to copy it on the FTV stick then select "Paste".
danknasty said:
Is there a way to push a folder to the sd card or downloads folder on the aftv or stick I wanted to push the xbmc backup folder i made from my amazon fire tv to the stick.
Click to expand...
Click to collapse
yes, I have adb installed on my C:\adb location on my computer. I then make a folder on my computer in the C:\ADB called Plugins. Open a command prompt in the C:\ADB location and type this: adb push plugins /sdcard/
this will move all of those files into the sdcard location, type this if you want them in a folder on the firetv: adb push plugins /sdcard/plugins/
You could then use file explorer to cut and paste to make it easier to place where you want once they are copied to the firetv.
if you want to navigate within the firetv by command line, connect to the device using adb connect "your firetv IP address" then type adb shell, then you can use "cd /sdcard" and "ls - l" to see the files, "cd .." will take you back a folder.
If you want to grab files off the device you can use the adb pull command
This works great for making picture backgrounds in XBMC with the amber skin. Set some favorites in amber, such as kftv launcher and put it on the Home Menu. I ended up putting them all in the Media folder of XBMC using command line and copying the folder, but I believe the adbFire program can push to the same location if you are adding them one by one.
Here is an example of my bootscreen using elmerouse's build and rbox's xposed mod.
I also placed a USB Install for stickmount with instructions on the screen for those that aren't familiar with the device. If they follow this then they can swap USB sticks in the future with our videos on them.
simple solution to push whole folder at command line is below, note (.) after slash for all items within directory.
adb push directory/. /sdcard/directory/
I'd rather recommend you install ftp server on fire tv, and start the server and then connect to it using any ftp client or winscp, so you'll have windows explorer like gui for easy navigation.
good luck.
YoColdRain said:
simple solution to push whole folder at command line is below, note (.) after slash for all items within directory.
adb push directory/. /sdcard/directory/
I'd rather recommend you install ftp server on fire tv, and start the server and then connect to it using any ftp client or winscp, so you'll have windows explorer like gui for easy navigation.
good luck.
Click to expand...
Click to collapse
Thanks I knew it could be done with the command line entries just not too good with all that. Surprised they didn't make this possible in either of the programs.
thanks

[Q] spmc thumbnails to ext USB help

Hi could you clever folks help a guy out, I'm trying to do what it says in the thread title but I do not have a PC, I use agk fire and es file explorer.
can anyone do a quick idiots guide on how I can do this.
Many thanks.
Just go to you SPMC foldr and delete the thumbnail folder, and make sure you also delete the texture database file too. The thumbnail folder will auto recreate itself. If you do not delete the textures DB file iit will take a long time for Kodi to make new thumbnails.
porkenhimer said:
Just go to you SPMC foldr and delete the thumbnail folder, and make sure you also delete the texture database file too. The thumbnail folder will auto recreate itself. If you do not delete the textures DB file iit will take a long time for Kodi to make new thumbnails.
Click to expand...
Click to collapse
Thanks for the reply.
Yes I already know how to delete thumbs and textures 13.dB.
I'm trying to redirect thumbs to external flash drive. It can be done but I have no PC.
Think this is for kodi
from ftv news
how can I do this manually using esfile explorer for spmc
Guide
Ensure that your USB drive is connected to your Fire TV, that Kodi is installed on your Fire TV, and that you’ve launched Kodi at least once before proceeding with this guide. It does not matter if Kodi is installed on the Fire TV’s internal storage or on external USB storage.
Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
Connect to your Fire TV via ADB.
Open a Fire TV shell prompt by running the command:
adb shell
Create a directory called kodi on your USB drive where we will move Kodi’s thumbnail files by running the command:
mkdir /storage/extUsb/kodi
Copy Kodi’s thumbnail files to your USB drive by running the command:
cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/extUsb/kodi/
This may take a while depending on the size of your Kodi installation and the speed of your USB drive.
Create a blank Kodi configuration file by running the command:
touch /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
Fill the configuration file by running the command:
echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/extUsb/kodi/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
Launch Kodi and verify everything is working correctly.
Delete Kodi’s thumbnail files from your Fire TV’s internal storage by running the command:
rm -rf /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
Can anyone please help
astro77 said:
Hi could you clever folks help a guy out, I'm trying to do what it says in the thread title but I do not have a PC, I use agk fire and es file explorer.
can anyone do a quick idiots guide on how I can do this.
Many thanks.
Click to expand...
Click to collapse
I have a Mac and a PC and I've never tried but unless someone corrects me....android terminal is very similar to Mac as it applies to Unix. So you can install android terminal on your device and run the same commands in the aftvnews guide. I'm not even 50% certain it works. Your android might need to be rooted but not certain there either.
Its just I noticed your notngetting many answers. At the very least I'm sure itnwont hurtnto try. And, I'm very curious to see if it would work.
As I understand it there are definite limits, thats why the guides usually say Mac, PC or linux. But we can connect with adb (actually that's much simpler to do with android) so its might be worth a shot.
You will need to Google if you don't know manually copy and paste paths but this isnpretty simple too. Hope it works. And if someone knows of a reason this won't work hopefully you'll let both of us know.
Thank you a lot
Downloaded the terminal on my android tablet but have no idea how to connect to fire TV over WiFi using the terminal app.
Was going to just create a "text" XML file containing the correct path then just put it in the right location on my fire TV with esfile explorer and maybe copy a few folders from spmc to flash drive........
I'm sure its simple when you know how lol.
If that works for you that's even simpler. You can still use the terminal to adb push your XML. Place it in userdata. Then you'll probably need to delete textures13db from the database and restart kodi. Before the new updates this was how I stored thumbs and it worked as well as it does now. Once you verify advanced settings and it works you can delete the thumbnails from your internal sdcard.
Good stuff :good:
just don't know what to name the XML and the contents path for spmc.
As you can tell I'm not very experienced at this stuff.
edit:
something like
<advancedsettings\>\<pathsubstitution\>\<substitu te\>\<from\>special://thumbnails/\</from\>\<to\>/storage/extUsb/kodi/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\>
please someone help
if you have done this by whatever method could you please open up your advanced XML file and copy and paste it here please.
Cracked it
made a text file using esfile explorer on my tablet named:
advancedsettings.xml
then put this in the file:
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails/</from>
<to>/storage/extUsb/Thumbnails/</to>
</substitute>
</pathsubstitution>
connected my tablet to aftv using esfile explorer over WiFi and moved the file to spmc userdata
opened spmc and deleted textures and thumbs folder, close spmc, restarted and it worked.
thanks too all that replied

Categories

Resources