Accessing Shields External Storage Via PC - Shield Android TV Q&A, Help & Troubleshooting

Very new to this, and am loving my shield tv so far.
I have a 16gb version with a 500gb external usb3 hdd attached. All working no problem.
However, when I access the hdd via my pc it will not let me create new, or delete folders.
The Shield shows up on the network, and when I click it, it shows the "internal" storage as a folder and my 500gb as a folder.
I can create new and delete folders on the "internal" drive no worries.
But, on the external, when i try to create a new folder a pop up tells me
"This is no longer located in \\SHIELD. Verify the item's location and try again.
Or when I try to delete a folder I get a message
"you require permission from S-1-1-0 to make changes to this folder"
what i am trying to do is add ROMS to my library on the external hdd from my pc without having to always unplug and plug the hdd into the pc.

Solved
I think I have found the solution.
I will put my ROMS in a folder in the NVIDIA_SHIELD folder.
UPDATE: A user on the Geforce forums HERE discovered this.
Now, although you still can not write to the root of external storage devices without an app being granted permission, you can write to a new folder that will be created on your drive called /NVIDIA_SHIELD. All apps will have full permissions in this folder including Kodi/SPMC and over SMB.
NOTE: If you are accessing your Shield from a PC, a external drive my appear as having root access. However, in reality it is only access to the NVIDIA_SHIELD folder. If you think that you are in the root of the external storage and are able to write to it over SMB then you need to check with a file browser on your Shield since the files will have most likely been written to the NVIDIA_SHIELD folder and not the root of the drive.
Click to expand...
Click to collapse

Related

How do I navigate to the USB drive?

I had it at one time but because I'm an Android newbie, I have no idea where to look.
Using Astro or ES.
rorytmeadows said:
I had it at one time but because I'm an Android newbie, I have no idea where to look.
Using Astro or ES.
Click to expand...
Click to collapse
It's ok, we all start somewhere right?
Load up astro hit home then up and your usb storage device is whatever is in usb_storage. Remember to give it a few secs to detect it and prepare the drive.
Your SD card (internal) is sdcard and your microsd is external_sd.
GL.
Hope this helps.
Neoprimal said:
It's ok, we all start somewhere right?
Load up astro hit home then up and your usb storage device is whatever is in usb_storage. Remember to give it a few secs to detect it and prepare the drive.
Your SD card (internal) is sdcard and your microsd is external_sd.
GL.
Hope this helps.
Click to expand...
Click to collapse
Excellent! Thanks.
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
at the moment i dont think this is possible but give it a few days and it might be a possibility.
tuffghost said:
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
Click to expand...
Click to collapse
You can purchase (I think it was a whole $1.50) an app called WiFi File Explorer. It sets your tablet with its own IP address from whatever source you are using for WiFi. Then you access your SD Card by entering in the IP address line in your browser. The app will give you the exact address line to enter into your browser.
Its like a virtual FTS server actually. Works like a charm. If you are worried about security, you can require a password.
Accessing external sd and usb drives
It is possible to access the SD and USB drives using a file manager such as Astro or Estrongs. The drives can be found in the main directory under subdirectory /mnt.
Hope this helps. I had the same problem at first.
Tam the Bam
tuffghost said:
Is it possible to access the micro SD card through a computer? When exploring the acer drive after plugging it in you can see all the stuff on the internal memory but can't get to the external_sdcard folder.
Click to expand...
Click to collapse
According to Acer, that isn't possible right now. Not that I'm inclined to believe them, but the manual is pretty thorough and I decided to go through every page and it clearly states "Transferring files from a microSD card to your PC.
Remove the card from the tablet and use a card reader or USB adapter to access the card as an external storage device."
I'm REALLY hoping they address this in an update. I thought it was a Honeycomb limitation due to the Xoom but Asus has addressed it by looping it as a folder in the internal storage so I mean, Acer and Xoom should be able to do that as well. Unless there are unforeseen problems with doing that? /shrug.
USB and a camera
Thanks for starting this thread! I'm also a newb and I have Astro and ES installed (now).
I am trying to read images from my camera (Nikon D3). When I attach the USB and turn on the camera the A500 says scanning for media. But none shows up in the photo browser (I'm sure I need a better viewer and suggestions are welcome!). When using ES or Astro and navigating to the usb_storage directory it shows as empty.
For background, the D3 holds 2 CF cards with the 2nd typically used as overflow and both are 8GB. Each card normally just has a DCIM directory with photos in one or more directories below that.
Once I connected up the A500, on one of the cards 2 additional directories were created (the one without any images currently) called .android_secure and LOST.DIR. I can't see any of these directories on the A500 or any of the images (all .jpg). I plugged into my laptop for this info.
I am trying not to have to carry my laptop anymore so any suggestions, ideas or research resources would be appreciated.
I've run into a HUGE issue. I wonder if anyone else has experienced this.
The files on my USB flash drives begins to get erased/deleted if it is still connected to the tablet when the device is activated from hibernation mode. I don't know if the file explorer apps are causing this bug. I've used Linda File Manager and Astro and 3 different USB drives to test this. I've even restored my tablet to factory settings.
Hello,
I have also problems navigating the usb drive.As mentioned above I found the dir but it shows (Directory empty).Im using a 8gb transcend flash drive.On 128mb flash drive there is no problem viewing and accesing the files.Any other have the same problem or solution?
I change the file system from NTFS to FAT32 and it works now(such a stupid user Ive become)

[Q] Question re: USB Disk drive

OK, I just downloaded and installed the 3.1 update, running stock OS.
CONFIG
I have a 32GB A500 which I assume is main memory / SSD. I also added a 32GB micro SDHC chip in it, and for testing, an 8GB thumb drive in the large USB port. They all show up in system Settings,
When I have had the A500 connected via the mini-USB port, the memory / SSD shows up, but not the sdhc card, and not a thumb drive if i plug that in (when I look at it as an extended drive)
Some applications can see memory / SSD, and the micro SDHC chip. For example, ES File Explorer has a tab which cycles between the memory / SSD file system, and that on the SHDC chip. It doesn't include USB storage.
QUESTION
First, I'd like to confirm that something (anything) can read the USB file system.
Next, I am looking for a utility that would allow me to see all three file systems: main/SSD, SDHC, and USB, and move things back and forth between them, and to/from my PC as well. Recommendations?
As far as I know there is nothing that will allow you to read the 'external' drives from PC. This was supposed to be fixed in 3.1 (just another thing borked..), so go figure when or IF it'll ever be available.
Incidentally, my 2.2 Archos 101 did all that perfectly, but the new android versions won't, funny eh?
Assuming he has the proper drivers installed, what if he went micro usb connected to pc and thumb drive in tablet. He could read/transfer files from thumb to tablet and have the pc read/transfer to/from the tablet. If that makes sense or helps.
Get a file explorer and go to the mnt directory. the internal, external and usb storage are all there.
I guess I'd be happy with an answer to the first question below, happier with an answer to the second:
1. Is there any app, running on the tablet, which will allow me to see the file system on a USB thumbdrive? Which one. It's odd to me that I can see the drive, apparently properly formed, in the tablet "system settings" app, but (so far) haven't seen how to get at it myself, and haven't found an app which access it either.
2. Is there an application, running on the PC, or an app running on the tablet, which let's me see the file systems on tablet, tablet's sdhc chip, thumb drive and PC storage in a unified way, so I can move things around without unplugging stuff? That is harder, but one of those networked file access utilities might do it.
GCurry said:
I guess I'd be happy with an answer to the first question below, happier with an answer to the second:
1. Is there any app, running on the tablet, which will allow me to see the file system on a USB thumbdrive? Which one. It's odd to me that I can see the drive, apparently properly formed, in the tablet "system settings" app, but (so far) haven't seen how to get at it myself, and haven't found an app which access it either.
2. Is there an application, running on the PC, or an app running on the tablet, which let's me see the file systems on tablet, tablet's sdhc chip, thumb drive and PC storage in a unified way, so I can move things around without unplugging stuff? That is harder, but one of those networked file access utilities might do it.
Click to expand...
Click to collapse
1) I use Root Explorer and I can see the USB Storage in the MNT directory in the root of the device.
2) from the PC, adb i assume, but i've never done this. For network, try Samba server - https://market.android.com/details?id=com.funkyfresh.samba&feature=search_result.
GCurry said:
I guess I'd be happy with an answer to the first question below, happier with an answer to the second:
1. Is there any app, running on the tablet, which will allow me to see the file system on a USB thumbdrive? Which one. It's odd to me that I can see the drive, apparently properly formed, in the tablet "system settings" app, but (so far) haven't seen how to get at it myself, and haven't found an app which access it either.
2. Is there an application, running on the PC, or an app running on the tablet, which let's me see the file systems on tablet, tablet's sdhc chip, thumb drive and PC storage in a unified way, so I can move things around without unplugging stuff? That is harder, but one of those networked file access utilities might do it.
Click to expand...
Click to collapse
To answer the first one, no, there is no application to read the external data drives.
As for the second, to transfer files between these, you need to get a file explorer like Root Explorer. The multimedia apps have the ability to access the external data drives so if you want to store music and/or movies on them, you do not have to use up your internal memory.
Hope that answered your question.
Does 3.1 add ntfs support??....if not can I make it support without rooting my tab??
Sent from my XT720 using XDA App
Root explorer works great, so does File Manager HD
GCurry said:
OK, I just downloaded and installed the 3.1 update, running stock OS.
QUESTION
First, I'd like to confirm that something (anything) can read the USB file system.
Next, I am looking for a utility that would allow me to see all three file systems: main/SSD, SDHC, and USB, and move things back and forth between them, and to/from my PC as well. Recommendations?
Click to expand...
Click to collapse
I use Astro, in Astro I see them all. Home, Up and you'll see all the storage areas.
Astro will allow you to move things back and forth between SD, USB and Internal storage.
Nothing that I know of, will allow you to directly view your USB or MicroSD using your PC, by directly I mean through the microusb connection.
There's an app called Wifi File Explorer Pro which may allow you to see them on the PC however I'm not certain as I never used it extensively and may be more trouble than it's worth as you'll have to open a port in your router for it to work properly.
Hope this helps.
Any file manager can access /mnt/external_sd and /mnt/usb_storage.
Drive mount or USB mount all can mount ntfs drives. Must be rooted.
Can only access internal memory front PC. End of story until google/Acer fixes it.
Sent from my A500 using Tapatalk
Euclid's Brother said:
Any file manager can access /mnt/external_sd and /mnt/usb_storage.
Drive mount or USB mount all can mount ntfs drives. Must be rooted.
Can only access internal memory front PC. End of story until google/Acer fixes it.
Sent from my A500 using Tapatalk
Click to expand...
Click to collapse
I am on 3.1 ota and I wanted to root it for ntfs support.....but don't want to void my warranty.....(weather here is too humid so generally all electronic devices don't work or something or the other happens to them)...so I will unroot later to claim my warranty.....what else can I do with root.....(no custom roms..).......
Sent from my XT720 using XDA App
1. Is there any app, running on the tablet, which will allow me to see the file system on a USB thumbdrive? Which one. It's odd to me that I can see the drive, apparently properly formed, in the tablet "system settings" app, but (so far) haven't seen how to get at it myself, and haven't found an app which access it either.
Click to expand...
Click to collapse
Any file system application (ASTRO, Root Explorer) can access all storage devices in your system. The location for the storage devices is /mnt.
Note that the /mnt/sdcard directory is actually a FUSE mount of /data/local
The directories related to storage are:
/mnt/sdcard - a FUSE image of /data/local. This is internal storage.
/mnt/external_sd - The microSD card. Must be FAT32.
/mnt/usb_drive - A USB drive of some sorts...can be a thumb drive or a hard drive. Not sure about 3.1, but 3.0.1 needed this drive to be FAT32.
2. Is there an application, running on the PC, or an app running on the tablet, which let's me see the file systems on tablet, tablet's sdhc chip, thumb drive and PC storage in a unified way, so I can move things around without unplugging stuff? That is harder, but one of those networked file access utilities might do it.
Click to expand...
Click to collapse
Answer...other than ADB, no (until Acer fixes that). When you mount your tablet to your PC, you are connecting to a FUSE partition, which is an image of /data/local. You can transfer files between /data/local (via FUSE partition) and your PC. Unfortunately, because you are accessing a FUSE partition, you are restricted to only /data/local (so you can't get to /mnt). ADB is a known exception (as it uses USB Debugging to access the tablet), but that isn't graphical at all (all command line, which means it is a lot of typing).
op mentioned ES file explorer
Use it myself - as I really like the interface and the LAN access works great for me.
You can see all your storage devices from es explorer
/mnt/sdcard = internal memory
/mnt/external_sd = microsd card
/mnt/USB_drive = USB based storage device
If you want to mount ntfs you need to root.

Nice Thinks you can do with a rooted A500 #1

Hi,
After I rooted my A500 via this thread http://forum.xda-developers.com/showthread.php?t=1307539 (read it ALL) I started making my A500 a tool for my business. As this is happening I will post thinks that you may find interesting and useful.
So this is my #1 think that I did with my A500
I make it a samba server
For those who don't know what samba is read here http://www.samba.org/. In short samba is a way to copy / move files between your A500 and your PC via the WiFi local network you may have. That is no cables, no sync problems, no extra software in your PC!
Steps
1. Download and install this excellent free tool https://market.android.com/details?id=com.funkyfresh.samba on your A500.
2. Run it and Accept the first screens.
3. Goto "Menu" --> Settings.
4. Click "Password" and set one (max 8 chars).
5. Click "Username" and set one.
6. Click "Workgroup Name" ans set it the same with your PC's workgroup name. Here is How you can find it http://maximumpcguides.com/windows-7/find-the-workgroup-name/.
7. Click "NETBIOS Name" and type a unique name for your network. For example "MYA500". It is better not to use spaces.
8. Exit the Settings and restart the program.
9. Wait until the message "Disabled - Not Running" appears right under the samba logo.
10. Now click the samba logo (the word "samba" at the top) and wait until a window appears that informs you about the service status.
11. If the message "Enabled - Running" appears then you are ready to go.
12. Open the run command on your pc (WIN KEY + R) and type \\<NETBIOS name> (for example \\MYA500) and press enter.
13. Enter the username and password that you set earlier and click OK.
Voila! Your A500 Internal's memory files at your disposal...
UPDATE:
ICONIA A500 SAMBA SERVER DELIVERED!!!
Make your A500 a Samba Server with the ability to share both Internal and External memory and even the root File System
Finally I made it happen. You can read a nice How to I prepared (It's a little bit long) here: http://www.chdcomputers.gr/en/mnu-kb-en/mnu-kb-android-en/mnu-kb-android-devices-en/mnu-kb-android-a500-en/258-art-kb000006-en
If you are an Advanced user who knows what he/she is doing then the trick is to replace the /data/data/com.funkyfresh.samba/files/samba-rc with the attached one and change its rights to rwxrwxr-x finally copy the 2nd attached file to the same directory and you are ready.
If you are not understand this then read the how to above it is very detailed and relatively easy to follow...
Thanks,
Christos
http://www.chdcomputers.gr
Nice!
Ty
works fine....nice to have this option...,.....cant access external sd though
Nice, thanks
@ bytemehard - you can see your external_sd card if you first use the market app "USB Mount All". When the mount all screen comes up just "mount" your external_sd card. Then you can see it on your PC through Samba.
bytemehard said:
works fine....nice to have this option...,.....cant access external sd though
Click to expand...
Click to collapse
Because this cames from the original samba project it is possible to see every partition on your device (including external sd) from your pc. The developer has enabled only the internal storage for safety reasons. You have to enable the other partitions from the configuration files of the app but this is an advanced task with security risks. However I am preparing a how to for this because I need to access my external_sd as well, when the tests are done I will post it here...
???
metpolds said:
@ bytemehard - you can see your external_sd card if you first use the market app "USB Mount All". When the mount all screen comes up just "mount" your external_sd card. Then you can see it on your PC through Samba.
Click to expand...
Click to collapse
Hmmmmm......Why would I have to mount a card with 'usb mount all', when its already mounted? Anyone else with usbmountall tried this?
@ bytemehard - with respect - your external_sd does not become "mounted" by default (this is just the way Acer chose to implement the sd card). If you use the app "USB Mount All" you will see that your card is not "mounted" so you have to click the "mount" button alongside your external_sd card which (along with any USB hard drives that you have attached) is displayed.
The fact that your external card is not "mounted" in the true sense of the word does not stop you seeing it's contents when viewed normally through your A500.
chrishohl said:
Because this cames from the original samba project it is possible to see every partition on your device (including external sd) from your pc. The developer has enabled only the internal storage for safety reasons. You have to enable the other partitions from the configuration files of the app but this is an advanced task with security risks. However I am preparing a how to for this because I need to access my external_sd as well, when the tests are done I will post it here...
Click to expand...
Click to collapse
I dont know if it is for safety reasons as you suggest or just unfinished business....I see a media scan tab but it does nothing that i can see.
Still a nice app....Good luck with your project
---------- Post added at 03:31 AM ---------- Previous post was at 03:23 AM ----------
@metpolds
If I hear what your saying, shouldn't drive mount or ntfs mount do the same. I did experiment with those with no luck.
See the external sd via Samba Server (Rough way)
A quick and rough way to "see" the external_sd in the samba shares is this:
1. Disable samba server and close the app
2. Open Terminal Emulator and type
su
mkdir /mnt/sdcard/externalsd
mount -o bind /mnt/external_sd /mnt/sdcard/externalsd
exit
3. Close Terminal Emulator
4. Open Samba Server and Enable it
Now you will be able to see your external's sd contents via the \\<your a500 NETBIOS name>\sdcard\externalsd directory in your pc.
This will not survive reboots and I don't think that is a good idea to put it in .rc files because if the external sd fails for some reason (or extracted by the user) it may have unexpected results...
bytemehard said:
I dont know if it is for safety reasons as you suggest or just unfinished business....I see a media scan tab but it does nothing that i can see.
Still a nice app....Good luck with your project
---------- Post added at 03:31 AM ---------- Previous post was at 03:23 AM ----------
@metpolds
If I hear what your saying, shouldn't drive mount or ntfs mount do the same. I did experiment with those with no luck.
Click to expand...
Click to collapse
Maybe you are right. My first test indicates that the program may has unfinished parts but I 'll give it another shot when I have the time...
BTW MediaScan option works. What it does is to rescan media files in your sdcard to make them available in media programs in the device. For example if you copy some images from the pc to the device and you want to see them with the android image viewer you can use this option to make them available...
@ bytemehard - no argument with what you are saying - "USB mount all" was one of the first apps I installed after rooting my A500 and it does everything I want it to - "Drive Mount" does all these things as well - they both look after drives that are formatted other than Fat32 and basically there is not much to chose between them. I chose usb because I had aso installed a couple of other apps by the same developers and they were working fine and I suppose I thought "......why eat oranges when you have a case of apples" - lol. As for "ntfs" where's it gone? seems to have vanished from the market.
Anyway I can assure you USB works in Samba and shows the contents of the external card and I am certain Drive Mount will do the same.
on your pc are you seeing 2 seperate drives? one being the sdcard and the other externalsd.......or do you have a symbolic link in the directory sdcard of the externalsd?
also what are your settings in usb mount all.....?
Hey finally got 10 posts...
@ bytemehard
Using Win7 64 bit.
1. In Win Explorer you see the left hand pane and I see for example....... Computer >
Network> HENDON1(My PC name)>PETEA500(The netbios name I called my Tab in Samba)
2.If I open up "PETEA500" I get "sdcard" (not teaching you how to suck eggs but this is very
misleading due to Acer's weird setup and file naming convention because this is NOT your
external card.
3. If I open up "sdcard" I have a list of folders in the A500. Mine start off with - .dataviz -
eachscape_tmp - .FileExpert - .mobo - pfs - Alarms - Android ...... etc.etc. Obviously you will
have some folders different to me.
4. Go down the list until you see DCIM - documents - Download - ext_sdcard (this really
is your SD Card)
5. If you open up the folder ext_sdcard you will see all the folders and files on your
external card.
This is dependent on you having already used "USB Mount All" or "Drive Mount" to
"mount" your external card. There are no settings to set in "USB" you just run the app
and the screen is self explanatory.
I'm using Samba Filesharing app, and Drive mount.
My external SD card is mounted in Drive Mount.
I can access my internal files just fine over WIFI but can't see the external card.
Any ideas on what I'm doing wrong?
Thank You
I also cannot access my external sd card files, but that is because the Samba Filesharing only shows what is on /mnt/sdcard. And yes, my external sd card is mounted. In order to access that, you would need to be able to access /mnt/"your_ext_sd_card".
I'm thinking you can probably create a shortcut to /mnt/"your_ext_sd_card", and then move that shortcut to /mnt/sdcard, where it should be viewable from the Samba Filesharing.
I'll have to wait to get home from work and test this, though.
Nice. Thanks for sharing.
Digil said:
I also cannot access my external sd card files, but that is because the Samba Filesharing only shows what is on /mnt/sdcard. And yes, my external sd card is mounted. In order to access that, you would need to be able to access /mnt/"your_ext_sd_card".
I'm thinking you can probably create a shortcut to /mnt/"your_ext_sd_card", and then move that shortcut to /mnt/sdcard, where it should be viewable from the Samba Filesharing.
I'll have to wait to get home from work and test this, though.
Click to expand...
Click to collapse
Since I mounted the card with Drive Mount I have two entries when I check using FileManager HD. One listed as External_sd and the second as is titled by DriveMount.
metpolds posted
3. If I open up "sdcard" I have a list of folders in the A500. Mine start off with - .dataviz -
eachscape_tmp - .FileExpert - .mobo - pfs - Alarms - Android ...... etc.etc. Obviously you will
have some folders different to me.
4. Go down the list until you see DCIM - documents - Download - ext_sdcard (this really
is your SD Card)
5. If you open up the folder ext_sdcard you will see all the folders and files on your
external card.
Click to expand...
Click to collapse
If that is correct one of the two listings for my SD card should appear on the internal list.
( I just checked details for both listings and they claim creation was December 31 1969.)
@GullyFoyle - I'm sorry to say that I have no idea why you can't see your external card. I note that you are using "DriveMount" which I don't have (as I've said I use "USB Mount All") so I don't know whether there are settings that should be set. Like you guys I only came to Samba as a result of this post and I can only say that my method was to switch on my tab, set up Samba as per OP's instructions and when I had it running I also could not see my external card but a couple of months ago while working with other apps I found the same problem and eventually realised I had to "mount" the external card in "USB Mount All" so last night that is what I did - restarted Samba and there it was.
@Digil - What I've said above applies to your problem in part, although I really don't know why you've got to change settings to get there. The "sdcard" folder (which is your Internal memory) shows through /mnt/sdcard but this is not your external card. Your external card is in the folder /mnt i.e. /mnt/ext_sdcard. As said above I can only really talk about using "USB Mount All". Sorry no suggestions. Perhaps someone with greater knowledge than me can explain it better.
For both of you - don't know if this affects anything? - I have not changed to HC 3.2 still running HC 3.1 rooted with Iconia Root._
USB Mount All
Yea, seems as though Drive Mount wont create a link to external sd in the sdcard directory .......It will create a link on the root directory and /mnt,
both not accessible using Samba fileshare.....
So Looks like usbmountall may be the way to go.
Thanks for the info

External storage directory

I've connected a usb thumb drive via otg cable, but I can't find the directory for the thumb drive. I've installed ES File Explorer, but I still can't find it. I would really like to play my ROM files, but I can't find them.
Just to be clear androidcentral claims it works. I haven't had any success yet http://www.androidcentral.com/about-nexus-player-and-usb-support#comment-form
It seems it has some type of size limit restriction. If I only put a few rom on the flash drive, the usb thumb drive is accessible from ES File Explorer, but I have to copy and paste the rom files onto the Nexus Player's hard drive to access them in the emulators. I'm running out of space on this device, and I would like to be able to access my files via the usb directory instead of moving those files onto the Nexus Player.
Once we have root ,apps like stick mount will solve these problems...
This should be possible...
If someone could figure out how to manually create a readable shortcut that points to usb://whatever_your_usb_is_called and put that link into your home directory, this would solve the problem for most of this.
I used to be able to do this, but I forgot how I did it. Maybe I can connect my usb to my phone and create the shortcut there and just copy that over.

Trying to move KODI / SPMC data to SD card or USB drive

I noticed on a few different occasions that my KODI (now using SPMC but they both behave the same way) app data growing to more the 6 Gigs thereby making my 16Gig shield run out of memory. I have been uninstalling and reinstalling to work around the issue.
I'd like to resolve it so I tried following the instructions in the thread below. :
http://forum.kodi.tv/showthread.php?tid=268766&pid=2319979#pid2319979
I'm not using adoptable storage and am trying to get this working with either an SD card (shown as /storage/4B2F-56AC) or a USB 3.0 thumbdrive (shown as /storage/98FB-2ABF).
I created a file in /sdcard called "xbmc_env.properties" (I also tried "spmc_env.properties" even though SPMC is supposed to recognize both).
I added the follow text in the file : xbmc.data=/storage/98FB-2ABF/
Unfortunately with this file sitting in the /sdcard location, SPMC refuses to run.. It just sits at a black screen. I force closed the app, restarted the Shield and it still does the same thing... Sits at a black screen.
When I remove the file SPMC returns to working normally so I know it's trying to process the file.. I'm just not sure why it's not working.. It's simply one line of code in a file so it's not rocket science but I simply cannot get SPMC to launch when the file is present.
Any ideas on what I'm doing wrong ? I'd still like to move the DATA to an external source so if it grows unexpectedly in the future it doesn't interfere with other SHIELD TV apps and functions.
On a side note...
I DID notice that the culprit files that were taking up all the space in the SPMC / KODI install were .cache files... I'm thinking I should just be able to delete them ( I actually did but SPMC was still acting up) to reclaim that valuable space ?
Hmmmm.. 57 views and no replies..
I guess this hasn't been attempted very often on the Shield.
If someone could successfully take a crack at this and post a how to it would be greatly appreciated.
I tried again yesterday on both an SD card and a USB drive w/o any luck. One thing I did notice though was that when I tried to actually write to both devices through the Shield using X-Plore, it failed. With the SD card it prompted me how to enable write access and I eventually was able to copy data over to it but with the USB drive it simply failed and I couldn't get copy anything to it while it was connected to the Shield.
I should lastly mention that I am NOT rooted and am fully stock.
Is this even possible using external storage ? I don't want to setup these device as "Internal Storage" as it's my understanding that when doing so you are replacing the current internal storage (my 16Gigs) with the SD (or USB thumb drive). I tried doing so with my SD card a while back but noticed periodic slow downs on the Shield so I undid the change.
It seems as though the "Adoptable storage" option has improved with the latest update.
I converted my USB drive to Internal Storage and let the Shield do it's thing.
When all was done I was able to goto the SPMC app settings and choose to have the app on the USB drive vs. the internal 16Gb storage. I made the switch and SPMC appears to be working ok. Time will tell if I see any noticeable performance impacts.
I already use a centralized SQL DB for all media info so I'm hoping performance will be the same.
Mods... You can probably close this thread.
the.teejster said:
It seems as though the "Adoptable storage" option has improved with the latest update.
I converted my USB drive to Internal Storage and let the Shield do it's thing.
When all was done I was able to goto the SPMC app settings and choose to have the app on the USB drive vs. the internal 16Gb storage. I made the switch and SPMC appears to be working ok. Time will tell if I see any noticeable performance impacts.
I already use a centralized SQL DB for all media info so I'm hoping performance will be the same.
Mods... You can probably close this thread.
Click to expand...
Click to collapse
You mention a change in performance when using your sd card. You do understand that you must use a class 10 or preferably higher class to make it the same or faster than current internal storage?
I was trying to do the same thing as you but in my case I chose to move internal storage to a 64gb usb 3.0 usb drive.
Then I noticed kodi's performance was absolutely ****ty. The reason for this is because it tries to read data from the usb drive, and somehow kodi doesn't handle that well. My solution was to let the app be installed to adoptive storage but let the .kodi data be read from the actual internal storage.
This eliminated all performance issues!
Don't you need a UHS Class 3 device?
I have since tried converting and testing out both my USB thumb drive and my Class 10 SD card by converting them one at a time to internal storage and moving SPMC over.
I honestly thought my 6 month old USB 3.0 thumb drive would have been faster than a 3 year old SD card but I was wrong.
I have noticed a small performance decrease but nothing near as bad as you mention that currently warrants me to revert to internal storage. Time will tell as I use it more.
shaggydiamond said:
You mention a change in performance when using your sd card. You do understand that you must use a class 10 or preferably higher class to make it the same or faster than current internal storage?
I was trying to do the same thing as you but in my case I chose to move internal storage to a 64gb usb 3.0 usb drive.
Then I noticed kodi's performance was absolutely ****ty. The reason for this is because it tries to read data from the usb drive, and somehow kodi doesn't handle that well. My solution was to let the app be installed to adoptive storage but let the .kodi data be read from the actual internal storage.
This eliminated all performance issues!
Click to expand...
Click to collapse
I decided to revert back to using internal storage only. I was getting intermittent pausing of videos that I was watching off my NAS with SPMC installed on both a Class 10 Samsung SD card and a USB 3.0 thumb drive.
the.teejster said:
I decided to revert back to using internal storage only. I was getting intermittent pausing of videos that I was watching off my NAS with SPMC installed on both a Class 10 Samsung SD card and a USB 3.0 thumb drive.
Click to expand...
Click to collapse
I am using adoptive storage but moved kodi data around for better performance.
I followed this official guide on how to move Kodi data folder somewhere else:
HOW-TO:Change_data_location_for_Android (wiki)
I used ES file Explorer for this.
Here are the steps:
turn on the option to show hidden files (it is the first option). On the root of your SD Card (path is /sdcard) create a file called: xbmc_env.properties.
Open the created file and add only this line:
xbmc.data=/storage/emulated/0/InternalStorage/
You can point to another folder inside InternalStorage folder but you need to create it first. It will not be created automatically by Kodi.
Start Kodi to verify that it works. Kodi will start with the clean profile. Quit Kodi.
Using ES file explorer to erase the new contents of the /sdcard/InternalStorage folder. This is where you want your kodi data.
Using ES file Explorer and go to /sdcard/Android/data/org.xbmc.kodi/files
Move everything to a /sdcard/InternalStorage. Or you can just copy it and keep the old files until you verify that everything works.
Now start Kodi. You should see your old stuff loading but now everything is fast again.
Thanks for the info.. I actually used this as the basis for what I was trying to accomplish except I wanted to have Kodi DATA on the external storage to prevent unforeseen growth end up chewing up all the valuable internal storage.
The problem is that you cannot write to external storage from the shield UNLESS it's setup as adoptable storage, hence the approach I tried which worked, but resulted in unacceptable performance in the form of periodic video freezing.
shaggydiamond said:
I am using adoptive storage but moved kodi data around for better performance.
I followed this official guide on how to move Kodi data folder somewhere else:
HOW-TO:Change_data_location_for_Android (wiki)
I used ES file Explorer for this.
Here are the steps:
turn on the option to show hidden files (it is the first option). On the root of your SD Card (path is /sdcard) create a file called: xbmc_env.properties.
Open the created file and add only this line:
xbmc.data=/storage/emulated/0/InternalStorage/
You can point to another folder inside InternalStorage folder but you need to create it first. It will not be created automatically by Kodi.
Start Kodi to verify that it works. Kodi will start with the clean profile. Quit Kodi.
Using ES file explorer to erase the new contents of the /sdcard/InternalStorage folder. This is where you want your kodi data.
Using ES file Explorer and go to /sdcard/Android/data/org.xbmc.kodi/files
Move everything to a /sdcard/InternalStorage. Or you can just copy it and keep the old files until you verify that everything works.
Now start Kodi. You should see your old stuff loading but now everything is fast again.
Click to expand...
Click to collapse

Resources