[Q] XBMC Stickmount Path Substitution - Fire TV Q&A, Help & Troubleshooting

I have setup XBMC to start from a launcher using the xposed method on the wiki. I have also setup stickmount for my USB thumb drive. I was hoping to use it as a path substitution for thumbnails so the internal sdcard does not fill up with cached files. However, it would appear that stickount does not have enough time to mount the drive before XBMC has come up. So this causes the path substitution to fail.
Does anyone know what I could do to speed up the stickmount process or to stall XBMC for a few more seconds to allow stickmount to finish mounting the USB device?
Thanks for the assistance.

Not sure about the XBMC launcher, if it allows you include any scripts or it allows you to tweak the scripts that it runs for the launcher to work.. If possible, you can put a sleep command before the the launcher fires... But on my FTV, the stock launcher always shows up first before I see the StickMount notification...

Related

[Q] CM11 w/ Ouya Everywhere & XInternalSD

I have been running CM11 with Ouya Everywhere on my Ouya for sometime now and have been very pleased with the results. Other app have helped increased space and performance. Those being...
Ramexpander, Tegra Overclock, Startup Manager, Shutdown Menu, OUYA Mod Collection, Stickmount, and Xposed w/ KK SD Card Full Access, GEL Settings, and XInternalSD modules.
XInternalSD is the recent one installed which allows me to redirect the default install to an external device. (i.e - from sdcard to usbdisk). A minor issue encountered would be the unpacking of older games that are side loaded. Recent Games or games from Google Play and Amazon would install to the "usbdisk" with no assistance needed.
The issue that has me stumbled is with the Ouya Launcher would crash ("Unfortunately, OUYA Launcher has stopped.") on download of something from the Discovery store. After some investigation, I found it was because it had an issue with with the internal SD path. Upon using XInternal SD and changing back the path from usbdisk to sdcard everything was fine again, but then of course there is the limited space issue .
My question. Does anyone know or have a good theory as to why the Ouya Launcher is dependent on a specific location to download apks? If so, are there also any suggested solutions? I have placed all the Ouya Everywhere package names in the 'disable' parameter of XInternalSD, but the end result doesn't change.
Update 1/27/15: New XInternalSD build resolves issue. I can now download Ouya and Google games directly to the USB drive as well as toggle back and forth between the Ouya and Google frameworks on the Ouya.
Capt.Obvious said:
I have been running CM11 with Ouya Everywhere on my Ouya for sometime now and have been very pleased with the results. Other app have helped increased space and performance. Those being...
Ramexpander, Tegra Overclock, Startup Manager, Shutdown Menu, OUYA Mod Collection, Stickmount, and Xposed w/ KK SD Card Full Access, GEL Settings, and XInternalSD modules.
XInternalSD is the recent one installed which allows me to redirect the default install to an external device. (i.e - from sdcard to usbdisk). A minor issue encountered would be the unpacking of older games that are side loaded. Recent Games or games from Google Play and Amazon would install to the "usbdisk" with no assistance needed.
The issue that has me stumbled is with the Ouya Launcher would crash ("Unfortunately, OUYA Launcher has stopped.") on download of something from the Discovery store. After some investigation, I found it was because it had an issue with with the internal SD path. Upon using XInternal SD and changing back the path from usbdisk to sdcard everything was fine again, but then of course there is the limited space issue .
My question. Does anyone know or have a good theory as to why the Ouya Launcher is dependent on a specific location to download apks? If so, are there also any suggested solutions? I have placed all the Ouya Everywhere package names in the 'disable' parameter of XInternalSD, but the end result doesn't change.
Click to expand...
Click to collapse
Where did you get the Ouya Everywhere app? I see a lot of talk, but nowhere to get it.
Begin From this Link
xm41907 said:
Where did you get the Ouya Everywhere app? I see a lot of talk, but nowhere to get it.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=53936625&postcount=1

[Q] Path Substitution Not Working

I picked up a USB flash drive to use for my Kodi thumbnails so I wouldn't keep running out of space on my Fire TV. I mounted the drive using stick mount, then added the code below to my advancedsettings.xml file, but I don't believe it's working. I'm assuming that when I pop the flash drive into my computer, I'd be able to see a bunch of thumbnail files on there, wouldn't I? But my thumb drive is blank. Below is the code I'm using. Am I missing something? Is my path in the TO line not specific enough? (I created an "xbmcthumbnails" folder on my flash drive.)
<pathsubstitution>
<substitute>
<from>/storage/emulated/0/Android/data/org.xbmc.kodi/files/.xbmc/userdata/Thumbnails/</from>
<to>/storage/usb/drive1/xbmcthumbnails/</to>
</substitute>
</pathsubstitution>
I don't think StickMount mounts USB drives as "drive1". It should be mounted at "sda" or "sdb"... You can use the "mount" command to see how your USB is mounted. Nothing to do with your issue, but StickMount worked correctly for me initially, but it never unmounted drives and wrongly showed mounted USBs when no USB was hooked to FTV. Plus, I could never mount USBs using volume names (instead of sda..) with StickMount. There is another app that worked very good for me, USB OTG Helper. Last I checked a while back, USB OTG app didn't do that either.
On a related note, the "from" tag can use Kodi special paths to identify locations within its install. You can modify your "from" tag to
<from>special://masterprofile/Thumbnails/</from>
This holds if you have not created any profiles in Kodi. If you have, check "special://profile". For reference, see http://kodi.wiki/view/Special_protocol
dbdoshi said:
I don't think StickMount mounts USB drives as "drive1". It should be mounted at "sda" or "sdb"... You can use the "mount" command to see how your USB is mounted. Nothing to do with your issue, but StickMount worked correctly for me initially, but it never unmounted drives and wrongly showed mounted USBs when no USB was hooked to FTV. Plus, I could never mount USBs using volume names (instead of sda..) with StickMount. There is another app that worked very good for me, USB OTG Helper. Last I checked a while back, USB OTG app didn't do that either.
On a related note, the "from" tag can use Kodi special paths to identify locations within its install. You can modify your "from" tag to
<from>special://masterprofile/Thumbnails/</from>
This holds if you have not created any profiles in Kodi. If you have, check "special://profile". For reference, see http://kodi.wiki/view/Special_protocol
Click to expand...
Click to collapse
This will also work:
<advancedsettings>
<pathsubstitution>
<substitute>
<from>/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/</from>
<to>/storage/emulated/0/usbstorage/sda1/kodithumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
dbdoshi said:
I don't think StickMount mounts USB drives as "drive1". It should be mounted at "sda" or "sdb"... You can use the "mount" command to see how your USB is mounted.
Click to expand...
Click to collapse
he is likely using Busymount
which does mount as drive 1, again nothing to do with his issue though
jmerrilljr2 said:
This will also work:
<advancedsettings>
<pathsubstitution>
<substitute>
<from>/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails/</from>
<to>/storage/emulated/0/usbstorage/sda1/kodithumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Click to expand...
Click to collapse
This appears to have done the trick, thankyouverymuch! I've got a new folder on my thumb drive called kodithumbnails, which contains folders for every letter of the alphabet. So it looks like it's working.
The only snag is now movie cover art doesn't appear, just the text name and a blank space above it. Another gentleman on this forum told me that this was expected behavior, and that I'd need to go in and delete a file from my Fire TV in order to bring the movie covers back, but I was not successful in finding the file (using ES File Explorer) anywhere on my Fire TV. I was looking for a file called "textures13db." Might that have changed with the update to Kodi? Or how else might I go about bringing back the cover art?
From within kodi itself
Raymondo17 said:
This appears to have done the trick, thankyouverymuch! I've got a new folder on my thumb drive called kodithumbnails, which contains folders for every letter of the alphabet. So it looks like it's working.
The only snag is now movie cover art doesn't appear, just the text name and a blank space above it. Another gentleman on this forum told me that this was expected behavior, and that I'd need to go in and delete a file from my Fire TV in order to bring the movie covers back, but I was not successful in finding the file (using ES File Explorer) anywhere on my Fire TV. I was looking for a file called "textures13db." Might that have changed with the update to Kodi? Or how else might I go about bringing back the cover art?
Click to expand...
Click to collapse
You need to go to in Lodi itself settings/file manager/database/ highlight textures13.db and press c if using a keyboard or long press on your remote to bring up the context menu then press delete

Accessing an NTFS drive via Fire TV 4k

Hello!
Just purchased a Fire TV 4k to replace my WDTV Live and I've run in to a bit of a problem. I have successfully rooted the machine and I installed Stickmount to be able to access my NTFS-formated external hard drive but Stickmount appears to be unable to see the drive. The drive is a Seagate 4TB, powered by a separate PSU but it does not appear to turn on at all either when plugged in to the Fire TV or when trying to mount it.
Is there something silly that I am overlooking? Is there a known issue with some drives or perhaps I am just really unlucky and this one won't work? Are there alternatives to using Stickmount?
All I want to do is have a nicer looking, better performing version of the WDTV to play my media... Why must you make it so tricky Amazon?
Anyway, really appreciate your help and patience!
okay so, turns out switching off debugging via USB allowed the drive to power up but it still doesn't seem to be mountable or, perhaps, i can't see the drive's contents on kodi.
any idea where that stuff usually goes?
I only rooted two days ago. Stickmount hasn't been useful for me. Paragon exFAT, NTFS & EFS+ however has been great with my NTFS hard drives. It seems to run and do most stuff automatically, it does have a couple of options. If your drive is alive after installation this is the process to get things working in Kodi.
1) Go into KODI and select the Video menu then Files below it.
2) Select Files from the menu then Add videos. A window called Add Video source should appear.
3) Click the Browse button. Select External storage. You'll see a folder named ParagonNTFS If your drive is mounted.
4) Select or Open ParagonNTFS then click OK on the right side of the screen.
5) The Add Video source window appears, click Add. Then OK
From there it's straight forward. Kodi will ask how you have your files stored, index them and other fun things. So far with hard drives I've found that the Fire TV 2 wants them to be powered or connected to a powered USB hub.
NutterNatter said:
I only rooted two days ago. Stickmount hasn't been useful for me. Paragon exFAT, NTFS & EFS+ however has been great with my NTFS hard drives. It seems to run and do most stuff automatically, it does have a couple of options. If your drive is alive after installation this is the process to get things working in Kodi.
1) Go into KODI and select the Video menu then Files below it.
2) Select Files from the menu then Add videos. A window called Add Video source should appear.
3) Click the Browse button. Select External storage. You'll see a folder named ParagonNTFS If your drive is mounted.
4) Select or Open ParagonNTFS then click OK on the right side of the screen.
5) The Add Video source window appears, click Add. Then OK
From there it's straight forward. Kodi will ask how you have your files stored, index them and other fun things. So far with hard drives I've found that the Fire TV 2 wants them to be powered or connected to a powered USB hub.
Click to expand...
Click to collapse
ah fantastic, i shall look in to this. what's the easiest way to get ParagonNTFS onto the Fire TV?
May I make a suggestion if this doesn't work out? Your router might have a USB port designed to allow a hard drive's contents to be a network share. Not only will Kodi be able to access the drive easier, every computer/Fire TV will be able to access it, too.
Sizzlechest said:
May I make a suggestion if this doesn't work out? Your router might have a USB port designed to allow a hard drive's contents to be a network share. Not only will Kodi be able to access the drive easier, every computer/Fire TV will be able to access it, too.
Click to expand...
Click to collapse
unfortunately mine doesn't. i have found out that my old WDTV Live acts as a NAS server of some kind (i guess, it allows a harddrive to appear on the network anyway) so i am using that for now and able to view all my files. i will try out Paragon or otherwise buy the cheap usb-ethernet device i was linked to via Reddit.
Glad I found this thread.
Here's a Mac guide for this. It will cover formatting a drive in NTFS and the program you need on the Fire TV to mount the NTFS drive and how to make this work with Kodi.
http://marksmods.com/Hack-the-Fire-...e-Fire-TV-and-use-an-External-Hard-Drive.html
I'm loving this Fire TV more every day.
Just for hard drive?
Guys, being limited to fat32 and related file size < 4gb is the biggest issue that really sucks with ftv for me. I have some questions, as you already successfully removed this limt.
Does this way by paragon ntfs help even to mount an usb stick? Will stick be mounted as otg (as fat32 before) or do i will find it in the paragonntfs folder, same as the HDD?
What method you took for rooting?
If used kingroot, did you apply factory reset after finished , as i read of this recommendation?
Thanks and cheers
Meandi51 said:
Guys, being limited to fat32 and related file size < 4gb is the biggest issue that really sucks with ftv for me. I have some questions, as you already successfully removed this limt.
Does this way by paragon ntfs help even to mount an usb stick? Will stick be mounted as otg (as fat32 before) or do i will find it in the paragonntfs folder, same as the HDD?
What method you took for rooting?
If used kingroot, did you apply factory reset after finished , as i read of this recommendation?
Thanks and cheers
Click to expand...
Click to collapse
An external drive is an external drive. I don't see why there would be any difference to paragon whether you were using a flash chip or a spinning platter to contain your data files.
Rooted today and paragon app works well with flash chip. Anyone experience with CF stickmount? What's the difference to Paragon except it needs extfat formatted drives?
Paragon ntfs su notifications
Hi,
im on the latest prerooted rom on my 2gen fire tv with Paragon ntfs intalled.
But i always get these paragon su granted notifications on screen every 5-10min, which drives me crazy
Does anybody get the same notifications?
How do i get rid of them?

Fire Stick 4K Non-Rooted with USB OTG and mounting

Hello, I have a FTV 4K Stick non-rooted with an 8 GB USB stick connected to it via OTG cable and wanting to move few apps and some app files (without moving the app itself) to it. It seems there are couple of ways to do it, but neither approach "seems" to give me the entirety of what I would like to do. In both cases, I start out with the USB formatted as FAT32 using Rufus.
Approach 1:
I insert the USB. Next, I run " sm list-disks" which correctly shows my USB. Next, I run " sm partition disk:8,0 private". I reboot FTV and when I run "df -h" or "cat /proc/self/mountinfo" or "cat /proc/self/mounts", I see this USB change its format to Ext4 and the mount point is at "/mnt/expand/GUID". With this I can move apps with "pm move-package PACKAGE GUID" to the USB and all is good. The problem is, I cannot drill into this mount point to see what is inside. I am assuming it has similar structure like the internal storage (like /Android/Data...) As I cannot see what's inside, I don't know where I can put app files (but not the whole app itself). Is there any way to drill into this and see what files reside in it for the apps that I moved using the pm command?
Approach 2:
I insert the USB. I don't run any sm commands. When I run the "df" or the "cat" commands, I see the USB mounted at "/storage/UUID" instead of being mounted at "/mnt/expand" and the format of the USB stays as VFAT. In this case, the UUID is 8 characters long instead of a GUID that I get in the previous approach. I can now drill into this mount point and see the structure and move app files to it. The problem is, the "pm move-package PACKAGE GUID" command fails with error of "-6". In the command, the GUID is the 8 character long string that I get at "/storage/UUID".
So, to summarize, with Approach 1, I can move apps but not app files. With Approach 2, I can move app files, but not the apps themselves. I am missing something and there must be a way to combine the approaches. Any help is appreciated.
Expand Internal Storage On 4K Firestick with a USB Drive | TechDoctorUK
www.techdoctoruk.com
You can move apps using the instructions.
Got it, I had to learn about portable and adopted storage. All good!

Moving apps to USB storage and Official Updates, best way to do it?

Hi everyone,
On my 4k firestick and my firetv 3rd gen (dongle) I’m using an otg cable, and an external usb drive formatted using ADB partition command. In order to move the apps from the internal to external storage I either use de ADB move command or the MiXplorer, the downside on using the MiXplorer is that you have to copy the app to the downloader folder, uninstall it and then reinstall it from the folder and it goes straight to the usb partition, but this method looses al the login info, not a major drawback but nerveless a nuisance.
When it comes to update the apps from amazon’s official appstore we run in to an error if the app is located in the external drive, so the solution is either move it back to the internal storage, update it and move it back either by uninstalling it and downloading it again from the Appstore, moving with ADB command, or using the downloader app to find the newest version and install it over the old one, although this last method works it is prone to errors due to choosing the wrong apk version listed on those alternative sources (apkmirror and others).
So, my question is if there is an app with a graphic interface like MiXplorere that allows to move the apps to and from the USB storage in a similar way as the ADB command line? Is there a different method that I’m missing?
Thanks in advance,
London
london18 said:
Hi everyone,
On my 4k firestick and my firetv 3rd gen (dongle) I’m using an otg cable, and an external usb drive formatted using ADB partition command. In order to move the apps from the internal to external storage I either use de ADB move command or the MiXplorer, the downside on using the MiXplorer is that you have to copy the app to the downloader folder, uninstall it and then reinstall it from the folder and it goes straight to the usb partition, but this method looses al the login info, not a major drawback but nerveless a nuisance.
When it comes to update the apps from amazon’s official appstore we run in to an error if the app is located in the external drive, so the solution is either move it back to the internal storage, update it and move it back either by uninstalling it and downloading it again from the Appstore, moving with ADB command, or using the downloader app to find the newest version and install it over the old one, although this last method works it is prone to errors due to choosing the wrong apk version listed on those alternative sources (apkmirror and others).
So, my question is if there is an app with a graphic interface like MiXplorere that allows to move the apps to and from the USB storage in a similar way as the ADB command line? Is there a different method that I’m missing?
Thanks in advance,
London
Click to expand...
Click to collapse
Hey,
Not sure if you've tried apps2sd Pro?
To use this this app you will have to set partitions on the extsdcard USB first.
If I remember correctly one partition is made ext4 and one FAT32.
The ext4 partition becomes apps adopted storage when mounted and the FAT32 partition becomes normal storage for downloads etc.
Hope this helps
Regards
Unfortunately, Apps2sd Pro only works in rooted devices, not the case here.
Any how thanks for the suggestion, let's if there is some other solution in this line.
Cheers,
London
london18 said:
Unfortunately, Apps2sd Pro only works in rooted devices, not the case here.
Any how thanks for the suggestion, let's if there is some other solution in this line.
Cheers,
London
Click to expand...
Click to collapse
Hi,
Apologies I guess I just assumed you were rooted as most on here use rooted devices.
The only other (known) way is described here :
How To Increase Storage On Firestick & Fire TV in 2022
This post will explain how to Increase Storage on Firestick & Fire TVs. The Amazon Firestick is the most popular streaming device available on the
troypoint.com
Apart from that I know of no other way to use adopted storage on fireos without root.
Regards
Bertonumber1 said:
Hi,
Apologies I guess I just assumed you were rooted as most on here use rooted devices.
The only other (known) way is described here :
How To Increase Storage On Firestick & Fire TV in 2022
This post will explain how to Increase Storage on Firestick & Fire TVs. The Amazon Firestick is the most popular streaming device available on the
troypoint.com
Apart from that I know of no other way to use adopted storage on fireos without root.
Regards
Click to expand...
Click to collapse
This is basically the procedure that I used to format the USB drive, but to move the apps he suggests to use ES file explorer, that was banned due to security concerns, so I was looking for an alternative...
Thanks again for the patience and attention.
London

Categories

Resources