USB drive is empty - Nexus 7 Q&A, Help & Troubleshooting

Hi.
Rooted Nexus 7 with Stickmount and a 32gb USB drive.
Drive is mounted and recognized
sdcard/usbstorage/sdh1 folder is present in file structure
copied an mp4 file to that folder
es file and astro file mgrs dont see the file and call the folder empty
ideas?
thanks.

Unmount your card then Reboot ur N7 and mount back its should work
Sent from my EVO using xda premium

With stick mount version 2 and android 4.2 you need to open the app that you want to use before you attach your USB stick! Read some of the stickmount threads!
Sent from my Nexus 7 using XDA Premium HD app

If I want to use different apps with attached otg storage, I open the first app, mount storage, use app, unmount storage, close app, open other app, mount storage, then I can see it in the 2nd app.

weehawk said:
Hi.
Rooted Nexus 7 with Stickmount and a 32gb USB drive.
Drive is mounted and recognized
sdcard/usbstorage/sdh1 folder is present in file structure
copied an mp4 file to that folder
es file and astro file mgrs dont see the file and call the folder empty
ideas?
thanks.
Click to expand...
Click to collapse
The file structure in 4.2 is emulated, fused, and symlinked, so many of the directory paths aren't consistently visible in different file explorers.
The one that always works for me is /storage/shell/emulated/0/usbstorage/sdn1
Try it, and let me know if it solves your problem.

You guys are awesome. I kept the otg cable out of the port, loaded my video app, put in the cable and viola, my files came up and played fine.
THANKS!

Related

Able to download and install APK files?

Can you still download APK files amd install them on the SGT 10.1 even though it does not have a micro SD card? If so, how?
Yes, it still has got up to 32gb of internal memory.
Yes you can. Make sure you enable side loading of apps. Go to settings, applications then check unknown sources.
Now you can download apps and install them. use a file browser to find your downloaded apk and just run it.
Sent from my GT-P7510 using Tapatalk
Like he said after u download them look them up. I use "file explorer" from market
Jardicel said:
Can you still download APK files amd install them on the SGT 10.1 even though it does not have a micro SD card? If so, how?
Click to expand...
Click to collapse
How do I sideload thee? Let me count the ways ...
1. Dropbox.
2. Mount Tab as MTP device and copy-paste to internal memory.
3. FTP from remote server.
4. Mount network drive through SMB and copy-paste to internal memory.
5. Email apk file to myself through Gmail as attachment.
6. Bluetooth file transfer.
7. Download directly to Tab through internet browser.
8. ADB file push.
9. Copy from thumb drive using USB adapter.
There's probably a few more, but I think I made my point.
(For what it's worth, using a SD card to transfer files to a device reminds me of the good-old days of using floppy disks to "network" files around the office. Its basically the same thing. Used a lot of floppy disks recently?)
its surprisingly easy
Sent from my GT-P7510 using XDA Premium App
If you use included 40pin to USB cable and attach to a computer, the tablet internal storage *should* show up as a drive. Not tried it myself.
Alternatively if you can download to tablet, you can use a file browser to find the /downloads folder and launch it to install.
Sent from my GT-P7510 using Tapatalk

[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

Use the files in flash drive

I can use an OTG adaptor to connect to a flash drive but do not know how to copy the files from flash drive to the Nexus 7 or vice versa. Do I need other apps and/or hardware?
ScottXe said:
I can use an OTG adaptor to connect to a flash drive but do not know how to copy the files from flash drive to the Nexus 7 or vice versa. Do I need other apps and/or hardware?
Click to expand...
Click to collapse
You need a file manager like es file manager. It will allow you to view, delete, copy and paste files between the stick and nexus 7. If your on 4.2.1 and using stickmount, you will find the contents of your stick in /usbStorage in the sdcard directory.
Sent from my Nexus 7 using xda premium
rebel1699 said:
You need a file manager like es file manager. It will allow you to view, delete, copy and paste files between the stick and nexus 7. If your on 4.2.1 and using stickmount, you will find the contents of your stick in /usbStorage in the sdcard directory.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I have ES File Manager in my Nexus 7. My Nexus is on 4.2.1 and where is stickmount? I did not find usbStorage under sdcard directory.
ScottXe said:
I have ES File Manager in my Nexus 7. My Nexus is on 4.2.1 and where is stickmount? I did not find usbStorage under sdcard directory.
Click to expand...
Click to collapse
You need stickmount in 4.2.1 to mount the flash drive. /usbStorage does not appear until the stick is mounted. Stickmount can be found in the market.
Sent from my Nexus 7 using xda premium
I got it from Google Play but it requires rooted. Thus I cannot use it.
ScottXe said:
I got it from Google Play but it requires rooted. Thus I cannot use it.
Click to expand...
Click to collapse
The Nexus Media Importer app lets you transfer files from the flash drive to your Nexus without root. It will also stream media files on the flash drive to some player apps e.g. to view movies stored on your flash drive. It does not allow moving files from your Nexus to the flash drive, however. Again, no root is required. I think the app costs $4.00.

[Q] USB Stick is Mounted by StickMount, but not Visible in Any App

Nexus 7, Android 4.3, Rooted with NRT 1.6.6, Stickmount app is up to date
I used to be able to access my USB drives, so I know it's not a model problem. Now though, inserting them will trigger Stickmount & show a notification that it was mounted as sda1. I can see it in StickMount, but when I open Astro, Gallery, VLC, or Videos, all I see is the on-board memory.
Anyone know what might be wrong?
With storage mounted, use a file manager other than Astro to navigate to /sdcard/usbstorage/sda1 where you will see the storage files. Astro quit working for me in terms of the external storage. Root Explorer or ES File Explorer will take you to the correct path. In your stickmount settings have you enabled 'Media Scan'? Gallery should find pics on external storage with that checked. I have been able to play music, pictures, and videos from external with stickmount, even ntfs formatted storage. I downloaded and installed the ntfs drivers from links in Play for the stickmount app description (expand Description). Stock rom, kernel, rooted, v4.3.
Still no luck
Groid said:
With storage mounted, use a file manager other than Astro to navigate to /sdcard/usbstorage/sda1 where you will see the storage files. Astro quit working for me in terms of the external storage. Root Explorer or ES File Explorer will take you to the correct path. In your stickmount settings have you enabled 'Media Scan'? Gallery should find pics on external storage with that checked. I have been able to play music, pictures, and videos from external with stickmount, even ntfs formatted storage. I downloaded and installed the ntfs drivers from links in Play for the stickmount app description (expand Description). Stock rom, kernel, rooted, v4.3.
Click to expand...
Click to collapse
I tried ES File Explorer and had the same result. I found the NTFS diver you mentioned and put the file in the /sdcard, but it didn't seem to have any affect. The driver is named ntfs-3g, so perhaps the problem is that I have a Nexus 7 with only a WiFi connection? I don't have Media Scan enabled since I'm currently using the free version of StickMount. It sounds like a good feature, but I'd rather get the basics to work before I buy.
The free version of Stickmount works just fine, you don't need Pro. Unless the Media Scan is a Pro only option. You only need the ntfs-3g script if your storage is formatted ntfs. You should still be able to navigate in apps to the external storage. I tried in the VLC nightly, but when I opened usbstorage\sda1 I got kicked out to the home screen. In Gallery, it took about 10-15 seconds to show the pictures on external storage, but once they appeared, I could navigate them just fine.

Kingston 64GB USB C to USB

I've just bought a 63GB flash drive. It's one of those which one side has USB C and the other USB 3.0. Although the 6p recognises the dive when plugged in i can't copy files across our create new folders etc. Using es file explorer.
Any ideas how to get this to work?
when its connected check the notification bar and set it to MTP
mo123456789 said:
I've just bought a 63GB flash drive. It's one of those which one side has USB C and the other USB 3.0. Although the 6p recognises the dive when plugged in i can't copy files across our create new folders etc. Using es file explorer.
Any ideas how to get this to work?
Click to expand...
Click to collapse
Need to download an app called nexus media importer to have full control.
Are you stock ?
What filesystem is on the card ?
6P seems to like only fat32 (though I haven't retested this with 6.0.1).
jfive74 said:
Need to download an app called nexus media importer to have full control.
Click to expand...
Click to collapse
I have this same drive. I didn't need an extra app to have full control. I can r/w and copy files back and forth from es files explorer. What exactly does media importer do?
Not sure what the problem was but after flashing 6.0.1 it seems to be working fine....
murphyjasonc said:
I have this same drive. I didn't need an extra app to have full control. I can r/w and copy files back and forth from es files explorer. What exactly does media importer do?
Click to expand...
Click to collapse
what folder are you seeing the Flash Drive?
gd6noob said:
what folder are you seeing the Flash Drive?
Click to expand...
Click to collapse
It doesn't give you a folder when you insert the flash drive. If you go to settings in ES while the flash drive is inserted you should see a setting to enable USB. When you check that it will show up in the local tab of ES.

Categories

Resources