Grant sd permission issues over a network drive on ttrorrent - Shield Android TV Q&A, Help & Troubleshooting

I have a rooted 2015 Shield 16gb on Oreo. My network drive is 1TB WD portable HD plugged into Netgear router using Readyshare with all access (confirmed using Windows 10). I mount it under Settings -> Storage & reset without problems. However, when I use ttorrent to select a directory in this network drive, it asks to grant sdcard permission. When I grant it to the root directory of the network drive, it just does nothing (back to the folder selected for ttorrent and still show read-only). When I try with ES File, it asks for root to grant the sdcard permission. However, it can only write but no delete using ES File. Same thing happens if I plug a NTFS USB into the shield. I even granted 777 for the network drive. I did some research and are aware of the SD fix, but it seems it is no longer working on Oreo. Any root method could help this?

Related

[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.

[Q] How do you unmount USB drives with stickmount?

Stickmount works fine as far as it goes. The catch is that I haven't found a way to *unmount* drives with it. When I press "unmount", it just pops up the box showing mounted drives. To make things worse, If I unplug the drive, the next time I plug it in, stickmount generates a new mount point (sda, sdb, sdc, etc).
USB Hub Controller from the market lets me mount and unmount drives, plus I can specify the mount point, but it wont automount.
Any ideas for either app?
I usually just look in the notification area where it says "tap here to unmount" or something similar.
Sent from my Nexus 7 using xda premium
tjupille said:
Stickmount works fine as far as it goes. The catch is that I haven't found a way to *unmount* drives with it. When I press "unmount", it just pops up the box showing mounted drives. To make things worse, If I unplug the drive, the next time I plug it in, stickmount generates a new mount point (sda, sdb, sdc, etc).
USB Hub Controller from the market lets me mount and unmount drives, plus I can specify the mount point, but it wont automount.
Any ideas for either app?
Click to expand...
Click to collapse
unmounting with stickmount works fine for me... do you have a single device plugged in, or multiples devices through a hub>?
Mine did this. Use your file explorer and navigate to your mount point. More than likely there is a file keeping it listed. I deleted the file (happened to be xbmc apk) and it unmounted fine.
Sent from my Nexus 7 using xda app-developers app
I was have the same problem, but couldn't determine if there were any open files. I had been using an older 1 gig Lexar drive, first formatted to FAT32, then tried EXT4, then back to FAT32. In all cases, it would mount automatically, and I could browse, copy & open files on it. However, as above, unmounting only brought up the box telling me the existing mounts. After waiting several minutes, I removed the flash drive from the OTG cable, but never got an error message, though the sda1 directory was still there.
Getting nowhere with this, with the Lexar drive not connected, I deleted the usbStorage/sda1 directory (no error messages), then connected a different flash drive, a ~3 year old HP 8 gig model. Surprise - it works correctly. I tried it 4 times or so, and no problems.
Don't know what's going on there, but I'm leery now of putting the Lexar back on, considering all the problems I came across.
I'll try some different flash drives this evening.
Questions go in the Q&A section
I had the same problem. I resolved it by making sure that my file explorer (ES File Explorer) and the Gallery app were closed. Just like Windows, a USB drive can't be unmounted safely if an application is still accessing that drive. In my case I used ES File Explorer to navigate to the contents of the USB drive, and I used the Gallery app to view photos I had stored on the drive. Therefore, I had to make sure that both of those apps were closed. Some apps have a true "exit" option, but not all do. I make a habit of either hitting the back button repeatedly, rather than the home button. Some apps have an exit option in their menus. You may need to go to the Apps Manager in the Android Settings and force close running apps that may have been accessing files from the USB drive. I took the extra precaution of force closing the cached apps (not running), that had been used to view the contents of the USB drive. After doing that, clicking on the stickmount item in the notification bar successfully unmounted the drive. When I plugged the drive back in, it retained the same mount point, and I was easily able to unmount.
GrillMouster said:
I had the same problem. I resolved it by making sure that my file explorer (ES File Explorer) and the Gallery app were closed. Just like Windows, a USB drive can't be unmounted safely if an application is still accessing that drive. In my case I used ES File Explorer to navigate to the contents of the USB drive, and I used the Gallery app to view photos I had stored on the drive. Therefore, I had to make sure that both of those apps were closed. Some apps have a true "exit" option, but not all do. I make a habit of either hitting the back button repeatedly, rather than the home button. Some apps have an exit option in their menus. You may need to go to the Apps Manager in the Android Settings and force close running apps that may have been accessing files from the USB drive. I took the extra precaution of force closing the cached apps (not running), that had been used to view the contents of the USB drive. After doing that, clicking on the stickmount item in the notification bar successfully unmounted the drive. When I plugged the drive back in, it retained the same mount point, and I was easily able to unmount.
Click to expand...
Click to collapse
+1 for this solution. I was running into the same issue intermittently, and discovered that by fully quitting ES File Explorer (Menu > More > Exit), the drive would unmount properly. I can't speak for the closing of other apps since I generally just use usb drives for copying things to and from my N7, but I'd imagine GrillMouster is right and that anything that is using files from the usb drive needs to be closed before it can be properly unmounted.
Edit: Also, I discovered that once the drive is properly unmounted, the various folders that are created (sda1, sdb1, etc.) are removed and the next time you mount a drive it will once again be on sda1. At least that's how it worked out for me.
Will no unmount even closing the apps
I have a Nexus 7 with Stickmount 1.5. It works fine except that it does not unmount the USB drive when I tap the unmount option (or even removing the drive altogether). I have tried closing the applications I used while the drive was mounted (ES File Explorer and MX Player), but it still will not unmount. I had to resort to rebooting the device for it to forget about the mount. Is there a background app I have forgotten to kill? Maybe Stickmount needs an "Unmount, damn it!" option to unmount the drives regardless of what apps have locks on files in the drive.
Thanks for your help.
FD
My solution...for now
Frederick Davies said:
I have a Nexus 7 with Stickmount 1.5. It works fine except that it does not unmount the USB drive when I tap the unmount option (or even removing the drive altogether). I have tried closing the applications I used while the drive was mounted (ES File Explorer and MX Player), but it still will not unmount. I had to resort to rebooting the device for it to forget about the mount. Is there a background app I have forgotten to kill? Maybe Stickmount needs an "Unmount, damn it!" option to unmount the drives regardless of what apps have locks on files in the drive.
Thanks for your help.
FD
Click to expand...
Click to collapse
I'm running Stickmount V1.5 on my Nexus 7 (PA2.17/EliteKernel). The only way I found to truly unmount my flash drive was to first click "unmount" in the Stickmount notification and then go to settings > Storage and wait for it to generate the results and you should see an option to unmount USB storage right there... click on it, press "ok" in the pop-up and it will freeze for a few secs and then give you a toast notification (or drawer notification not sure) that says you just unmounted USB... at that point you can unplug your USB drive and you will get no "unexpected removal" message and everything should be fine :good:
nexace said:
I'm running Stickmount V1.5 on my Nexus 7 (PA2.17/EliteKernel). The only way I found to truly unmount my flash drive was to first click "unmount" in the Stickmount notification and then go to settings > Storage and wait for it to generate the results and you should see an option to unmount USB storage right there... click on it, press "ok" in the pop-up and it will freeze for a few secs and then give you a toast notification (or drawer notification not sure) that says you just unmounted USB... at that point you can unplug your USB drive and you will get no "unexpected removal" message and everything should be fine :good:
Click to expand...
Click to collapse
I am afraid that that did not work on my Nexus 7.
FD
GrillMouster said:
I had the same problem. I resolved it by making sure that my file explorer (ES File Explorer) and the Gallery app were closed. Just like Windows, a USB drive can't be unmounted safely if an application is still accessing that drive. In my case I used ES File Explorer to navigate to the contents of the USB drive, and I used the Gallery app to view photos I had stored on the drive. Therefore, I had to make sure that both of those apps were closed. Some apps have a true "exit" option, but not all do. I make a habit of either hitting the back button repeatedly, rather than the home button. Some apps have an exit option in their menus. You may need to go to the Apps Manager in the Android Settings and force close running apps that may have been accessing files from the USB drive. I took the extra precaution of force closing the cached apps (not running), that had been used to view the contents of the USB drive. After doing that, clicking on the stickmount item in the notification bar successfully unmounted the drive. When I plugged the drive back in, it retained the same mount point, and I was easily able to unmount.
Click to expand...
Click to collapse
Thanks
This solution worked for me
Curious!
1) When I mount the USB drive and browse through it with ES File Explorer (rooted), no matter what I do afterwards (kill the ES File Explorer application and all the apps I used to access the files), I cannot unmount the drive unless I reboot the tablet.
2) But if I browse with Dual File Manager (not rooted), I can unmount even while browsing the drive.
3) And if I open the files in the drive directly with mVideoPlayer or MX Player, I can also unmount afterwards even without having to kill the apps.
4) But if I open the files in mVideoPlayer or MX Player through Dual File Manager, it requires a reboot again.
I think that there are some apps whose locks stop the Stickmount unmount (ES Player Explorer), while others don't (Dual File Manager, mVideoPlayer, MX Player); but if you open one app (video player) through another (file manager), it always stops the unmount.
I do not know what the above means, but I hope it provides info for the developers to know what is going on.
FD
Frederick Davies said:
Curious!
1) When I mount the USB drive and browse through it with ES File Explorer (rooted), no matter what I do afterwards (kill the ES File Explorer application and all the apps I used to access the files), I cannot unmount the drive unless I reboot the tablet.
2) But if I browse with Dual File Manager (not rooted), I can unmount even while browsing the drive.
3) And if I open the files in the drive directly with mVideoPlayer or MX Player, I can also unmount afterwards even without having to kill the apps.
4) But if I open the files in mVideoPlayer or MX Player through Dual File Manager, it requires a reboot again.
I think that there are some apps whose locks stop the Stickmount unmount (ES Player Explorer), while others don't (Dual File Manager, mVideoPlayer, MX Player); but if you open one app (video player) through another (file manager), it always stops the unmount.
I do not know what the above means, but I hope it provides info for the developers to know what is going on.
FD
Click to expand...
Click to collapse
If you would like to see what app has what file open on your USB disk, use lsof in ADB/terminal. needs root. First, what is the USB mount? type in
Code:
mount
and look for your device. If there are too many entries, you can try this instead:
Code:
df -h|grep G
when you have the mountpoint, perhaps it is /storage/sdcard0/usbdisk/, the key is usbdisk. Now you are ready to search the open files:
Code:
su
lsof | grep usbdisk
now, I don't have a USB drive mounted, but I opened a .avi in MX video, and searched for '.avi,' this is what it will look like:
Code:
com.mxtec 23194 u0_a141 80 ??? ??? ??? ??? /storage/sdcard0/Matt/video.avi
so here you can see com.mxtec has opened video.avi, and the PID is 23194.
If that file was on the usb disk, it would keep it from being umounted, so to get rid of it:
Code:
su
kill 23194
I had an issue that's been nagging me and the above info kinda resolved it but not really. Had created a folder on my usb drive using stick mount. After renaming the folder, etc.. Still for a couple of weks even after ejecting the drive... the folder still showed up.. Killed various apps, etc nothing listed showing usbStorage... So while I was doing my usual cleaning through recovery mode with cahces, etc. I hooked it up to my netbook and got into adb and navigated to where my offending folder was and deleted the folder that way. Once booted back into the system, folder wasn't there anymore.
hi all !!!
tjupille said:
Stickmount works fine as far as it goes. The catch is that I haven't found a way to *unmount* drives with it. When I press "unmount", it just pops up the box showing mounted drives. To make things worse, If I unplug the drive, the next time I plug it in, stickmount generates a new mount point (sda, sdb, sdc, etc).
USB Hub Controller from the market lets me mount and unmount drives, plus I can specify the mount point, but it wont automount.
Any ideas for either app?
Click to expand...
Click to collapse
stickmount has no unmount in my nexus 7 !!
please help me !! Y^Y
I think an earlier version had an unmount option if you touched the Stickmount notification icon. But I don't have that option anymore. I just make sure I'm not writing to external storage and unplug.
I removed the flash drive and then mount it still is. But then I was hit by unmount. (I'm using version 2.20 Pro).
Sent from my Nexus 7 using xda premium
Anyone use USB OTG helper? For me it works better than stickmount.
Sent from XDA app
gc84245 said:
Anyone use USB OTG helper? For me it works better than stickmount.
Sent from XDA app
Click to expand...
Click to collapse
Yes I've had the most success with OTG helper.
Swiped from my Nexus 10 using xda-developers app

Nexus Player Android 6.0 No USB Storage?

So i have a Nexus Player with Marshmallow 6.0 intalled (rooted). I have 2 usb sticks (16Gb & 32Gb) both are SanDisk USB 3.0 Sticks. Both are formatted using the Nexus Player "Storage & Reset" option.
With the latest ES File Manager and SuperSU i try to create certain folder within the USB sticks, but every time it says: "Please choose the root directory XXXXXX of ext-SDCard to grant ES permission to operate". I have StickMount installed and gave it grant permissions with SuperSU. Did not do any good..
From research on the internet i understand that marshmallow no longer allows external sd card nor USB sticks as external storage?
Is there a way to fix (bypass) this?
Did a search on this, but unfortunately without any success..
Both USB's are recognized when i start up ES File Manager, but as soon I want to create/copy a folder to one of the USB stick, is says sorry action failed.
ALso tried to start Root explorer from within ES File Manager but again it says: "Sorry, test failed. This feature cannot run on your device".
Anybody?
I would like to know this as well. I currently use two 1TB hard drives on my NP on 5.1.1. It would be really nice to be able to update to 6.0, but the last time I tried that I could not get my drives to work.
Not sure if this is a solution you are looking for, but I am my Nexus Player on Marshmallow 6.0. I have a 5 TB usb drive attached to my Netgear R7000 router. I have successfully network mounted (over wifi) my drive and all apps see it natively. No need to use the Nexus Player USB port. I wrote these instructions a little over a year ago and they still work for Android 6.0

Can't access external USB from within apps?

Just received a nvidia shield , updated to marshmallow I cant seem to access my external USB from within kodi or any emulator app I can see the USB within es file explorer does the shield allow access to the USB from within apps im trying to run things movies,music from the external USB stick but I can locate it.
Any help would be greatly appreciated.
Ok so the marshmellow update killed the ability to use external storage from kodi .
In order to use external storage from within an app 'besides a file explorer like ES" you need to root the console and install stick mount.

Accessing Shields External Storage Via PC

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

Categories

Resources