yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] corkiejp:
Can confirm it works on the nexus 7 with 4.2.1 and using version 2.1!

The assigning of different mount points after re-attaching is gone!

Playing media from a file explorer works and the need to open apps before mounting is no longer required!

All you need now is some to test using external storage for game data! I don't know how its done!

Thanks for the update! Hope my comments above help is there anything else you need tested with it!
[Android Apps and Games] Jay Aristide:
Sounds like it's time for me to buy pro :)

I'm very adept at these things and I'll report back as soon as I've done some extensive testing.

Now, if we can just get SuperSU working right on multiple accounts ;)

---------- Post added at 04:24 PM ---------- Previous post was at 04:08 PM ----------

Purchased Pro and put the 2.1 test through it's paces. So far, so good. Reads and writes large files to ext4, fat32, and NTFS. Loads my PSX games with no issues... I think we're good :)
[Android Apps and Games] rubenyai:
Here! Works in nexus 7 android 4.2.1 stock odexed!!!! Thanks!

Enviado desde mi Nexus 7 usando Tapatalk 2
[Android Apps and Games] wolfboy1984:
Is this for nexus 4? Does it work?
[Android Apps and Games] DoesntPostAThing:
Not for Nexus 4, Nexus 4 doesn't support USB OTG of any form. At least not yet.
[Android Apps and Games] Jay Aristide:
Just bought Pro on my brother's 8gb, as well. So, that's no issues on PA2.99b6 or on stock and rooted 4.2.1

My psx games and my brother's very limited storage capacity both thank you :)
[Android Apps and Games] pr126:
Testing 2.01

New version of Stickmount tested and it works fine for now. :good:

Thanks for your efforts.
[Android Apps and Games] DoesntPostAThing:
StickMount 2.1 worked perfectly on PA 2.99.6 with franco kernel r335. Play Music has to scan media for a while, but after that, the music plays fine. Thank you very much :)
[Android Apps and Games] Chainfire:
Thanks guys, time to publish!
[Android Apps and Games] swieder711:
Installing v2.1 now on my custom 4.2.1 ROM.
[Android Apps and Games] klaydze:
Works perfect on my GNex. My usb stick was recognize and i can find all the files but in my 360GB HDD i need to plug the red usb in my computer to recognize by the app and content of the 360HDD is not showing. :)

Thanks
[Android Apps and Games] DANOFDANGER:
yea my hard drive still shows directory as empty.
[Android Apps and Games] Chainfire:
Harddrives require an external power source. If you're not using one, that's your problem. If you are, then something else may be the problem :)
[Android Apps and Games] ProfEngr:
Has to be something else. Will try 2.1 on the gt10.1 soon & report back. Previous version works fine on my ICS Kindle.

Sent from my Thunderbolt using one opposable thumb.
[Android Apps and Games] bohun11:
Mount and unmount?

Today I've purchased a Stickmount Pro v2.1 on my Nexus 10.

After I put a microSD card, it's beeing automatically mounted into /sdcard/USBstorage/sda and.. nothing is there.. the directory is empty despite there are some files on the card

Solution: I've to unmount it manually and mount it once again, it creates /sdcard/USBstorage/sda and /sdcard/USBstorage/sda1..

The files are now visible in /sda1 directory.

Is it possible to make it automatically ?
[Android Apps and Games] iElvis:
The new version is throwing up a virus warning in TrendMicro Mobile Security. It says it's identified a virus called "AndroidOS_Lootor."

TrustGo doesn't show anything, though.

Anyone know what's up with this?
[Android Apps and Games] Milamber33:
Probably heuristics picking up on whichever method it uses to make the shares accessible to other apps. If you downloaded it either here or from the play store, I'm betting false positive. I use Lookout myself and it hasn't complained.
[Android Apps and Games] iElvis:
There's nothing unusual in the permissions, which makes me think you're probably right. According to Google, that virus usually requests a bunch of high-end permissions when it's present as a trojan.
[Android Apps and Games] Chainfire:
TrendMicro ... ;)

I've been a developer for a long time on multiple platforms, and if there's one thing constant through the years, it's that TrendMicro will false positive any half useful app and will decline on detecting actual malware.
[Android Apps and Games] iElvis:
That's what I figured. Thanks. :D
[Android Apps and Games] swieder711:
2.1 Beta worked great on my Nexus 7 running Jelly Belly 11 (4.2.1 based).

Great work. Going to buy Pro now to show my support.
[Android Apps and Games] iElvis:
I'm able to access my portable hard drive using a usb y-cable, with one end connected to my N7 and the other to my USB backup battery.
[Android Apps and Games] bohun11:
Anyone ones how to fix it ?
[Android Apps and Games] iamelton:
i have checked the utf-8 option, but still couldnt read utf-8 directory/file names (chinese to be specific) on my FAT32 usb drive.. they showed as "??" when viewed..

im on nexus 7 with android 4.1.2..
[Android Apps and Games] Mudblood69:
Stickmount is not asking for root and doesnt appear to be mounting. my OTG cable works fine and my flash drive is formatted fat32
[Android Apps and Games] oneinch:
mount.exfat-fuse does not work
[Android Apps and Games] AlexGraves:
Using the latest Stickmount v. 2.1 Pro on rooted vanilla 4.2.1, and it works beautifully now. :thumbup::thumbup::thumbup:

Now the workaround of launching apps before mounting is no longer needed. :D

Great work, Chainfire!!

Now my Nex7 is back to its usefullness.

Sent from my Nexus 7
[Android Apps and Games] DANOFDANGER:
Mine is powered but still directory is empty, flash drives work fine. External is a 3tb WD
[Android Apps and Games] agung_gitaris86:
i tried to download it from playstore... but it says not compatible for my nexus 7 :(
[Android Apps and Games] oct_7:
Stickmount and CWM

Hi,

I have just recently used Stickmount. Tested it for one day on my GNex 4.1, before upgrading to 4.2. After which, I have been having issues. Stickmount itself works fine, as I can copy stuffs to and from an USB drive. However, whenever I run CWM to flash a new ROM or even just to run a NAND backup, my sdcard file structure became messed up. The first time I ran it, my sdcard became, sdcard/0. The next time I ran it, became sdcard/0/0. Another issue that I have, not sure if it has anything to do with the messed up file structure, is that Apollo and Play Music cannot play my musics. The files are listed, but whenever I want to play it, Apollo just doing nothing, and Play Music display an error saying that it cannot be played. If however, I used a file explorer, click on the file and select Play Music to run it, it works. Another minor issue is, MXPlayer does not update the movies that I have watched.

My questions:

1. Anyone is having issue with CWM and Stickmount installed?

2. Do I need to do something on Stickmount before running CWM?

3. Anyone is having issue with Apollo or Play Music?

Thank you
[Android Apps and Games] Chainfire:
SuperSU has just been updated to v0.99 . Among other things, that update may solve issues with StickMount using the updates to the Nexus devices of the past few days.
[Android Apps and Games] Milamber33:
The file structure thing has nothing to do with Stickmount, it's entirely because the version of CWM you have on there is not updated for the file system changes Google made with 4.2. Update your CWM to the latest version (or even better, swap to the latest TWRP), and this will stop happening.
[Android Apps and Games] iamelton:
turned out to be kernel-related.. was on leanKernel when this issue occurred.. now the issue was gone after changing to motley kernel..

sorry for raising it here..
[Android Apps and Games] bohun11:
Nexus 10

I've just updated the new SuperSU, upadted Stickmount to Pro 2.1 and after the drive is automatically mounted, I still have to unmount it and mount it once again to see the files.

Question to the developer: Can you fix it :cool: ?
[Android Apps and Games] bohun11:
ok.. I just changed the microSD reader.. the other one mounts properly
[Android Apps and Games] Chainfire:
Working fine on my own Nexus 10 ... as long as I cannot reproduce the problem, I cannot fix it.
[Android Apps and Games] sjf53t8i:
2.10 works smoothly on my Galaxy Nexus 4.2.1. Bought the pro version to support further development with one beer at the pub ;)

I wonder how you fixed the issue with 4.2 to see mount point in different apps. I struggle with some other mounts I do to see them in all my apps.
[Android Apps and Games] DANOFDANGER:
I get sda1 and sda2 for my large external hard drive, still no files visible... purchased paid version and the same.
[Android Apps and Games] jmark13:
My N7 tablet reboots when I unplug the OTG cable after unmounting. I am using Jelly Belly v11 (4.2.1) with Leankernel 5.1.1, as well as stickmount pro 2.1. Any suggestions. I've had this happen on other ROMs as well which I always clean install. Any idea how to fix?
[Android Apps and Games] oct_7:
My bad. Thanks for the info.
[Android Apps and Games] DANOFDANGER:
I get this too, cant leave the tab on with something plugged in otherwise it just turns off.
[Android Apps and Games] AlexGraves:
Does it happen on stock 4.2.1 as well?

I am running rooted stock 4.2.1 Android and never experience any of that.

Sent from my Nexus 7
[Android Apps and Games] Matchstick:
Is there an easy way to tell of the NTFS and exFAT binaries are being picked up ?

I've copied the ntfs-3g and mount.exfat-fuse files to the root of internal storage on my Nexus 7 but I'm still only getting read-only NTFS support and I'm not sure if that'a because the binaries aren't being picked up by Stickmount or if they just aren't compatible.
[Android Apps and Games] Chainfire:
This doesn't happen on my stock N7. Stuff like this is *usually* the kernel.
[Android Apps and Games] DANOFDANGER:
im on stock, still happens to me.
[Android Apps and Games] creeve4:
Galaxy Nexus running Stock Android 4.1.2 with franco.Kernel r300 and Stickmountv2.10.

I have a 64 GB Transcend flash drive formatted as FAT32.

I put a few mp3 files on the drive to test Stickmount. When I connect the drive, Stickmount recognizes it and the "Preparing USB storage" notification appears and runs for about 2 minutes. Then I get a popup notification from Stickmount telling me the drive is mounted, but immediately after I get another popup Stickmount notification telling me the drive is now unmounted and a notification which says "Removed USB storage." I then try manually mounting and unmounting neither of which have any effect.

Also, while the "Preparing USB storage" process is running, if my screen goes off I cannot wake my phone.

Faulty cable? Drive too big (there are only 10 mp3 files totaling ~100 Mb)? Hardware issue? Stickmount issue?
[Android Apps and Games] O2Blevel:
My tablet will freeze and reboot if after dismounting I remove the otg cable + usb stick. This happens to me on the LeanKernel and 4.2, but not with the LeanKernel and 4.1.2. The funny thing is it will freeze and reboot by removing just the otg cable by itself. This also happens with the trinity kernel, but not the stock kernel. I use the stock ROM.
[Android Apps and Games] creeve4:
Formatted the drive as ext2. Now Stickmount mounts it, but nothing is displayed on the drive. I triggered a media rescan, still nothing. Just an empty sdcard/usbStorage/sda1 folder.

The light on the USB drive turns on and blinks (indicating that it is being accessed).

I have the PRO version and have selected automatic media scanning and to kill processes that may be using the drive

My Nexus is rooted and running SuperSU.

UPDATE:

I was able to get the USB drive working after creating two ~32GB partitions on the drive. I guess 64GB is too much?
[Android Apps and Games] jmark13:
Chainfire, I am happy to report that after flashing the Franco Kernel, thus removing LeanKernel, I can now unmount and remove the OTG cable with no reboot. The kernel is most likely the culprit. Thanks for the awesome app!
[Android Apps and Games] tobbbie:
Automount used to work on Xperia Ray (sirkay - xKernel) no more :(

I use the external sticks only rarely but older versions of stickmount have well auto-mounted all my USB sticks.

Now I noticed that still stickmount is fired up (toast message) but it does not find a drive then. Manually starting stickmount and then pushing "Mount" will always work. Also if there is another mount-helper, so you have to choose which one to pick until you made a default selection, then selecting stickmount will also work with automount.

So it seems pretty clear that the initialization of the USB device may take some more time than stickmount is spending by default.

As older versions worked - can I get access to those? Or could you add a delay option before starting to search a drive on the USB?

BTW: Many of my simple card-readers (which look like a USB-stick) will not be hooked on USB correctly as they draw too much power from the line - at least they announce that to the device - and so they are not hooked right and subsequent program access (like from stickmount) do not succeed. You can check for the powerclass easily on your PC with Nir Sofer's USB DevView. For my device those with 100mA work, but 500mA do no more. This is sad, as the smallest good microSD reader I have from SanDisk (MobileMate Micro) claims 500mA and it fails :(
[Android Apps and Games] tobbbie:
utf8 support - this way it works for me

I noticed that all mounted sticks are not correctly supporting extended characters like German Umlauts (äöü). I can either have them on the device correct (read/write) or if the stick is on the PC (read/write). Cross-wise read/write never works right - neither side can read the encoding of the other :(

Obvious way-out: tick the utf-8 box in stickmount - but that did not change anything.

Cross-check: does it work right for my sdcard (also FAT32) in the device and if written from card-reader externally: YES it does!

So what is the magic that allows a vfat mount of the sdcard in the device work right, while the same device does not mount the usb-stick correctly?

I studied the mounts on the device and noticed that the sdcard is mounted like this:

/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

While the mount of USB Stick is done like this:

/dev/block/sda1 on /mnt/sdcard/usbStorage/sda1 type vfat (rw,nosuid,nodev,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

Checking a changed mount with a test like:

mount -t vfat -o utf8 /dev/block/sda1 /mnt/sdcard/usbStorage

delivers a mount like:

/dev/block/sda1 on /mnt/sdcard/usbStick type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

and finally correct special characters also for cross-wise read/write (as expected).

When searching for the "usual treatment" of the character set problem it seemed that it is advised to change the iocharset parameter, however this only works if the kernel supports it. It seems that mine does not but still the onboard tools permit to get the correct encoding via the "-o utf8" parameter.

Now my kind request is: Could you possibly include this "-o utf8" as another option (or even default) when mounting a FAT partition?
[Android Apps and Games] NoSubstitute:
What's missing to have working Write access on NTFS?

Yet another N7 with read-only support. Bricked 0.55 kernel with stock rooted ROM.
[Android Apps and Games] Chainfire:
Here's another test version, please let me know if this fixes some issues for you.

NTFS read-only

I have adjusted the mount order, that if ntfs-3g is present (which can mount r/w), it has higher priority than kernel based ntfs mount (which is r/o). To those having this problem, your kernel probably supports ntfs mounting and due to this ntfs-3g had been ignored. Let me know if this fixed the problem for you. (you still need ntfs-3g for this to work)

UTF-8

I've made some changes to the mount code and testing order during mount with UTF-8 enabled (which is now enabled by default). It seems to work for me with various German and Chinese characters. Let me know if this fixed the problem for you.

Mount delay

As there might be a timing issue between USB connection, StickMount launch/mount, and kernel device detection, I've added the mount delay option (1000ms by default). This is the amount of time StickMount will wait after being notified of a new device being connected before attempting to find and mount partitions. Let me know if this fixed missing mounts/partitions for you (and if so, which ms value you had to use)

This is a test version that may soon be removed and should be replaced by a Play release. Do not redistribute/post elsewhere.

Please comment in this thread, not on Twitter or whatever.
[Android Apps and Games] AlexGraves:
Reverting back to ver. 2.10...

2.11 test version didn't improve anything because I'm not using any special characters in my daily use, but it presented a new (small) problem.

Whenever it mounts or unmounts, it triggers an error message for my SwiftKey3 keyboard. It causes Swiftkey to unable to load its language module.

Sent from my Nex7
[Android Apps and Games] shaarky:
StickMount-v2.11-test-1.apk working fine (Czech characters with UT8 showing up correctly, with previous version it wasn't) ! Thanks :)
[Android Apps and Games] tobbbie:
For me things are partly ok now:

setting a delay has no impact, the toast comes immediately when connecting the stick and it finds nothing. I noticed that the delay entered is happening only when you push "mount" in the panel, but not when auto-started!

Mounting is done with utf8, but not by default as written. You have to set the relevant entry in the menu - not sure if the kernel remark is still valid here- Thanks!

Not sure why AlexGraves has a problem with his mounts. Does the USB mounted device later refer to a file located on the mounted device itself? Or is the delayed mount (which is not delayed for me) the problem there? For the former case, just deactivate the UTF8, for the latter set delay to 0.

---------- Post added at 05:54 PM ---------- Previous post was at 05:47 PM ----------

Another remark for the delay: maybe it is better to start finding partitions immediately but if none found, then to loop in an interval of e.g. 500ms (or shorter for the impatient) for "max amount" (to be specified) to find them after the stick is ready. This delivers fastest response for any stick and does not force you to wait for the slowest :)
[Android Apps and Games] sergialess:
Not working for me...

Hi,

As the USB-OTG function worked well in my old S2, it never won't on my Galaxy Nexus :(.

I can figure out that the cable is faulty, but the same cable works fine in my other tel.

Whenever I put the pendrive (16GB, Fat32), Stickmount gets crazy with the sequence: "searching... mounts 0... searching... mounts 0", and the led of the pendrive is always flashing.

With Android 4.2.1, the USB-OTG function is suppossedly supported natively. Not at least for me... :rolleyes:

Thanks anyway for your effort.
[Android Apps and Games] kar10s:
Hi,

(I think) I found a minor bug (both in v2.10 and v2.11) - when I connect several USB drives using USB HUB, all the usb are connected properly (as sda1, sdb1...), but there is also created one empty directory sda - there probably is a short delay after inserting second USB and before creating the sda directory (on one try I noticed that it was not here at first, but appeared after few seconds) - there also happens some name changing to sdb and back when the USB devices are disconnected and reconnected.

And one more thing (this one I was not able to replicate on neither version, but it happened to me vith v2.11) - somehow (probably because of the "rapid" usb stick switching) the StickMount stopped mounting the USB sticks. When I stopped the APP, deleted its cache and data, it started working again, but then sudenly my tablet rebooted, but I already experienced this kind of behavior (I mean the rebooting) when I disconnect the USB that was being used, so it probably has nothing to do with StickMount (I experienced this on v1.0 (or what was it) on Stock 4.1.2, now I have Stock 4.2.1)

Otherwise, the app is working perfectly. Thank you for your hard work!
[Android Apps and Games] qwerp_:
i have done a ls in /dev/block. it is sda, not sda1.

i am not sure what is wrong with my 4.0.2 the mount just doesn't seems to work. i will try a system flash again to see if it helped

because i got the same error message with my cifs.ko.
[Android Apps and Games] Chainfire:
If only sda is present, and not sda1, sda2, etc, the device does recognize the stick itself, but not it's partitions.
[Android Apps and Games] qwerp_:
chainfire.

this is the test i made.

if i run "mount -t vfat /dev/block/sda /mnt/sdcard/usbStorage" (it works now).

this is from terminal.

i guess there is another issue. the software is not asking for SU permission.

does your script only mount sdaX devices?
[Android Apps and Games] svenikus:
Cant mount too get this massage

Active Mounts:

None

i have the samsung usb gender cable
[Android Apps and Games] TRusselo:
with usb host functionality would it be possible to adb control or odin style flash other devices?
[Android Apps and Games] MontAlbert:
My $2 otg cables both work BUT I am having issue unmounting the usb.. When I click unmount it comes up with the toast saying there is an active mount... It stays mounted.

I have tried ending all apps I used the usb with but it still won't unmount..

Any ideas?

Thanks.
[Android Apps and Games] nosit1:
Working for me on 4.0.3, even tried one using it on my hub. Worked!
[Android Apps and Games] ericerk:
Same here if gender cable is the one that came in the box with the gnex (lte)
[Android Apps and Games] qwerp_:
can you try running this in terminal with su permission?

"mount -t vfat /dev/block/sda /mnt/sdcard/usbStorage"

make sure you have /mnt/sdcard/usbStorage before hand.
[Android Apps and Games] svenikus:
sorry but im a noob in this so i dont understand :S
[Android Apps and Games] ghost010:
okey i have 2 USB flash drives working. but 1(8GB sandisk cruzer edge 7,NO LED) isnt working :((its FAT 32 btw)
[Android Apps and Games] jkoljo:
I am pretty sure that you need sda1 (or any other partition number if multiple) in that command. "sda" is the device itself, sda1 and so on are partitions.
[Android Apps and Games] qwerp_:
mine USB stick only show sda on block, and when i mount with sda, it work with no issue.

i guess it all depends on how you partition the drive?
[Android Apps and Games] Skatedawg:
Where is a good place to buy these cables? Can you provide a link?
[Android Apps and Games] TheTomas:
First of all, this is awesome, thank you.

Secondly I have a few questions:

I got my cable today (This one) and it seems to work. This is why I'm a little confused.

However, I have several FAT32 sticks which work great and two which don't mount on my nexus. I realize you're only supporting FAT right now. But I'm wondering why FAT32 would work in some cases and not others.

Also, any plans for full FAT32 or NTFS support? Hope so.

Thanks again.
[Android Apps and Games] Se7enLC:
Works FANTASTIC!

This is the cable I'm using: USB OTG Cable

I'm using stock 4.0.2 Verizon LTE Galaxy Nexus, Build ICL53F

I tried with a 2GB Kingston DataTraveler stick and a sanDisk microSD adapter with the 16GB sanDisk microSD card that came with my Motorola Droid, both worked great.

Looking forward to being able to take photos with my real digital camera, pop the card into my GNex and upload the photos!
[Android Apps and Games] MrBig0:
I don't know for sure, but I imagine they won't be supporting NTFS. It's a proprietary Microsoft standard, which is why no other operating systems have stable NTFS support.