Related
So, OTG works out the box with the cable.
Mouse plugged in, cursor appears.
Rooted device.
Installed stick mount.
Inserted 64GB USB (ntfs formatted) drive/stick in.
I get stickmount - chainfire 1.5 searching...then nothing.
Going into Stick mount itself, select mount
Active Mounts - none.
Any suggestions? I'm new to android, so not sure what the next trouble shooting steps are.
scorp888 said:
Inserted 64GB USB (ntfs formatted) drive/stick in.
Click to expand...
Click to collapse
Pretty sure the thumb drive needs to be FAT32 to work. Also, not all USB thumb drives work. try another one.
**UPDATE** Apparently NTFS can work, but again, not all USB devices are supported.
On this thread
http://forum.xda-developers.com/showthread.php?t=1800473
Member Badgered had problems with the cables. They even worked on his S3 but not the nexus 7 turned out it was the cables. He got a 4th one to work.
Paragon
scorp888 said:
Any suggestions? I'm new to android, so not sure what the next trouble shooting steps are.
Click to expand...
Click to collapse
Install the Paragon NTFS & HFS+ Beta app. I have no idea if the app is helping me, but I can read files off my 64GB flash drive just fine. One thing I noticed though, you sometimes need to unplug the whole adapter along with the USB flash drive. Simply unplugging the flash drive won't work, you might have to restart the Nex7 if it doesn't mount/unmount properly.
Just don't forget to un-mount from StickMount when you're about to unplug your flash drive, and when you're removing it, remove it with the whole thing (flash drive and adapter together).
Thanks for the updates.
Cable works with a mouse, is that a good enough test?
Hmm, I'll try with 3 or 4 other drives, see if it's that. FAT32 will be a problem though, as it's 4gb + movie files I want to watch
Works OK for me with a 32Gb Transcend stick this morning..
I have a SAN disk 16 GB usb drive. stick mount sees it, attempts to mount, says its mounted and creates a folder in /sdcard/usbmount/sda1/ but the drive is not mounted.....Im using ext4 and had to use busybox to manually mount using a terminal emulator.
You can try busybox mount, but its a bit of a pain to have to do every time, not too sure where to put an automount using the blkid value, but it could be done. typically in *nix its done in a simple line in /etc/fstab
what is the equivallent for android?
More of a "this combo works" than anything else...
Using this cable:
http://www.amazon.co.uk/gp/product/B004TJC1IM/ref=oh_details_o01_s00_i00
and this stick
http://www.amazon.co.uk/gp/product/B005KJJ50C/ref=oh_details_o02_s00_i00 formatted as NTFS I have had no issues, simply rooted and installed Stickmount, and it "just works".
r0zj0k3r: What was the commandline use to manually mount your usb storage?
---------- Post added at 03:24 PM ---------- Previous post was at 03:20 PM ----------
Found it block device is at /dev/block/sda1 now need to add it to vold.fstab
calmfury said:
r0zj0k3r: What was the commandline use to manually mount your usb storage?
---------- Post added at 03:24 PM ---------- Previous post was at 03:20 PM ----------
Found it block device is at /dev/block/sda1 now need to add it to vold.fstab
Click to expand...
Click to collapse
EDIT:
I'd didn't see your first question.. I just used a basic *nix mount command with busybox
busybox mount /dev/block/sda1 /sdcard/usb
it's not fun to type in every time (without a real keyboard) but it does work, with ext4/3/2. And since in a pinch it gets the job done I can use it. I just know there is a way, to set this up to auto mount. In any *nix flavor it too easy, and but since this is a bastardized Linux I don't know how/where everything works.
I found some stuff about vold.fstab but the syntax was a little confusing for me. Will these auto mount or do hdd's only mount on boot from that file?
Sent from my Nexus 7 using xda premium
Mount problem
Used to work well except for being unable to unmount, but a restart would fix that and anyway I would get a usb stick mounted as sdb do it still worked.
Now, I don't know if it started after upgrading to 4.1.2 but I've noticed it since. Not even a restart would unmount it, I found a file probably left open on sda (only one file, left behind after plugging out the stick), and I deleted it, as well as the folder it was in. From then on I always had sda mounted and plugging the stick in again had no effect, I can't get it as sdb anymore.
I tried reinstalling stickmount, then I saw somewhere here that I should delete the usbStorage folder manually. From that moment my active mounts says none, it appears again when I plug the stick in but still none. Tried my mp3 player too, it was recognized but wouldn't mount either. i also tried another usb mounting app, it also recognized my stick, but pressing mount had no effect.
Any ideas please, I'm desperate?
Plugging in stick+OTG sees the stick flash before 'None' lets me down.
'Busybox mount' needs 'su' ISO Nexus7 being rooted.
It then doesn't see the stick anyway
Uninstalling Stickmount and then 'su busybox mount'-ing mounts nothing, too.
All the above with 2 OTGs and 3 sticks.
Bummer.
Sent from my Nexus 7 using Tapatalk 2
celawi said:
Used to work well except for being unable to unmount, but a restart would fix that and anyway I would get a usb stick mounted as sdb do it still worked.
Now, I don't know if it started after upgrading to 4.1.2 but I've noticed it since. Not even a restart would unmount it, I found a file probably left open on sda (only one file, left behind after plugging out the stick), and I deleted it, as well as the folder it was in. From then on I always had sda mounted and plugging the stick in again had no effect, I can't get it as sdb anymore.
I tried reinstalling stickmount, then I saw somewhere here that I should delete the usbStorage folder manually. From that moment my active mounts says none, it appears again when I plug the stick in but still none. Tried my mp3 player too, it was recognized but wouldn't mount either. i also tried another usb mounting app, it also recognized my stick, but pressing mount had no effect.
Any ideas please, I'm desperate?
Click to expand...
Click to collapse
You must be rooted to use Stickmount. Did you break root when you updated?
Sent from my SGH-I717 using xda app-developers app
will stickmount work with any rooted phone with otg cable
You could uninstall stick mount and reinstalling it to remove that issue. It worked out for my nexus 7.
---------- Post added at 04:28 PM ---------- Previous post was at 04:17 PM ----------
Mayank T said:
will stickmount work with any rooted phone with otg cable
Click to expand...
Click to collapse
It depends on the phone if it has otg support and if the rom is able to create a mount in the system.
Stickmount stopped recognizing sdcard after the recent JB 4.2.1 OTA updade.
It worked before, but quite often ES File explorer reported directory empty when card was mounted.
Root restored with Voodoo OTA Rootkeeper after OTA update.
Checked root with Got Root, root OK
Not a cable problem, as Media Importer finds the card immediately every time.
Stickmount Pro uninstalled and reinstalled, no change.
Any suggestion?
I can't seem to get rid of two movie files that's on the Movie app. It's also visible on ES Explorer. It all started from using Stickmount. I've removed Stickmount app, and the files still shows up. The files can't be deleted. I can choose to delete it, but nothing will happen. Tried reinstalling Stickmount, and it keep stating the drive is mounted even when nothing is connected.
My N7 is rooted running 4.2.2 on CMD Roms. Had also tried restarting my N7.
Anyone got any idea cuz I really don't want to complete wipe and start from scratch again. Thanks
android phone restarts when pen drive mounted using usb otg.
my wt19i reboot when i pressed the mount button, the connected pen's light blink and the phone reboots.
but this happens in some times only, i think the problem may be in loaded modules.
please help me............:crying::crying::crying::crying::crying::crying::crying::crying:
Usually I would save my Nandroid backups in the ext sdcard on my SGS2 but on the N7 theres no sdcard slot.
Am worried that one day I might lose my Nandroid backups while doing some clean wipe install of ROMs.
Can the recovery mode access an OTG USB drive and save Nandroid backup there?
twrp can mount/unmount otg usb drives. it also can restore from and save directly to the otg usb storage
Sent from my Nexus 7 using xda premium
Is there a way in CWM 6.0.2.7 too?
TexasJake said:
twrp can mount/unmount otg usb drives. it also can restore from and save directly to the otg usb storage
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
How do you actually mount the otg usb drive ?
When I look in Mount in Recovery, there is no area to actually do this ?
screenoff said:
How do you actually mount the otg usb drive ?
When I look in Mount in Recovery, there is no area to actually do this ?
Click to expand...
Click to collapse
Actually, its the "Use external SD" toggle in TWRP in any of the Mount/Backup/Restore/Install menus. Kind of confusing terminology, for sure - but it works.
I tried it with a thumb drive formatted as fat32, ext3, and NTFS. TWRP mounted them all, but NTFS only mounts read-only. (I couldn't remount it in rw mode using TWRP's command-line facility)
If you need to check to see if it's mounted, use
cat /proc/mounts
from the TWRP command-line facility (Advanced->Terminal Command).
It should be mounted at the /usb-otg directory.
good luck
Thank you for assisting.
I know that it is just a "navigation" problem that I have because I can see the led on the usb stick light up, so it is definitely alive in TWRP.
I just think that I am reading something wrong and not giving the correct commands to reach the usb.
This is what I did, perhaps you can steer me in the right direction.
Firstly, do I reboot in recovery mode with the usb-otg attached or do I first go into recovery mode and only then plug the usb-otg in ?
I have Named the usb memory stick ext-otg, is that correct or does it not matter ?
I then entered Terminal Mode in Recovery and chose "Select" and then typed in usb-otg, is that correct or do I need to type this /usb-otg ?
screenoff said:
Thank you for assisting.
I know that it is just a "navigation" problem that I have because I can see the led on the usb stick light up, so it is definitely alive in TWRP.
I just think that I am reading something wrong and not giving the correct commands to reach the usb.
Click to expand...
Click to collapse
In my tests yesterday, the only thing I needed to do was to touch the "Use external SD" radio button; I didn't need to do anything else (note I was using TWRP 2.4.1.0, so ymmv). Also, TWRP seems to remember your settings (dunno where, perhaps in /data/media/0/TWRP/.twrps file?), so if you were to leave this setting this way I presume it would automount the drive as soon as it was plugged in for future sessions of TWRP.**
screenoff said:
Firstly, do I reboot in recovery mode with the usb-otg attached or do I first go into recovery mode and only then plug the usb-otg in ?
Click to expand...
Click to collapse
I don't know if it matters. In all my tests yesterday I only plugged in after TWRP was fully booted. I surmise that it would work either way.
screenoff said:
I have Named the usb memory stick ext-otg, is that correct or does it not matter ?
Click to expand...
Click to collapse
I presume you are talking about a Windows volume label - no, that should not matter one bit.
screenoff said:
I then entered Terminal Mode in Recovery and chose "Select" and then typed in usb-otg, is that correct or do I need to type this /usb-otg ?
Click to expand...
Click to collapse
Neither. You should be able to get the device to mount and dismount by using the onscreen touch controls of TWRP alone. (But see ** below). A person familiar with Unix/Linux administration can use that terminal command interface to do all sorts of things, but I can tell from your question that you are not there yet in command-line skills. However, I did give you precise instructions in my prior post on how to give a command in that interface to check if the device is mounted, namely
Code:
cat /proc/mounts
If the device is mounted you will see a line of output that starts with "/usb-otg"
good luck
** The TWRP touch UI presentation of the controls and current mount state of the USB OTG device leaves a bit to be desired (at least in v2.4.1.0, anyway). Anyplace you see "external SD" you should interpret as "USB-OTG drive". Also, note that the Mount menu toggle does in fact work correctly for mounting and dismounting, so long as you have the "Use external SD" radio button selected. To make matters worse, though, there seems to be a bug - when you use that mounting toggle control, it will indeed either mount or unmount the device - but the "X" check mark display may not correctly show the current mount status. That is why I suggested using the "cat /proc/mounts" command to check the mount status to be sure of the mount state.
bftb0 said:
** The TWRP touch UI presentation of the controls and current mount state of the USB OTG device leaves a bit to be desired (at least in v2.4.1.0, anyway). Anyplace you see "external SD" you should interpret as "USB-OTG drive". Also, note that the Mount menu toggle does in fact work correctly for mounting and dismounting, so long as you have the "Use external SD" radio button selected. To make matters worse, though, there seems to be a bug - when you use that mounting toggle control, it will indeed either mount or unmount the device - but the "X" check mark display may not correctly show the current mount status. That is why I suggested using the "cat /proc/mounts" command to check the mount status to be sure of the mount state.
Click to expand...
Click to collapse
There is no "USE external SD" radio button showing at all.
I also did notice if I rebooted into Bootloader with the USB OTG plugged in, it basically froze and said to remove USB.
Once I had removed the USB OTG cable, then I was able to carry on and boot into recovery.
I have 2 different USB-OTG connections, the one is not Powered and the other is Powered.
Both of these work without any problem when I am booted into the Phone, I can access the USB drive without any problems.
But, if I try to reboot with the Powered one into bootloader, it freezes until I unplug it, in fact, it recognizes it and prompts you to unplug it.
The Non Powered cable does not freeze when I reboot into bootloader.
I cannot understand this, I have full Root, I must be missing something ?
But thank you for your time, I really appreciate it.
@screenoff - what version of TWRP are you using?
It's easy enough for me to soft-boot whatever version you are using to have a look.
The bootloader freeze is interesting - I wonder if there is a possibility the USB port is for initial flashing of the devices at the factory. (The devices are certainly blank immediately after assembly)
[ Edit ] - I just soft-booted TWRP 2.5.0.0 - the UI has indeed changed, and now there is a "USB-OTG" in the Mount menu. That seemed to work correctly for me. I hot-plugged my OTG cable (as I had soft-booted TWRP using fastboot) and then used this mount menu.
Note there is a status bar which also functions as a toggle - it shows either:
- "Storage: Internal Storage (nnnnn MB)"
or
- "Storage: USB-OTG (nnnn MB)"
If you tap on that (above) status line, it will allow you to choose between the two options, and then all the other menus Backup/Restore/Install will reflect your choice. (I copied a few Nandroid backups onto my uSD card to be sure that this worked - sure enough, the backups that I put there (in TWRP/BACKUPS/<device-serial-number>/ where the TWRP directory is in the root folder of the SD card, so it shows up after the mount as /usb-otg/TWRP/BACKUPS/<device-serial-number>/)
In the interest of time, I did not repeat the re-formatting of my uSD card into ext3 or NTFS filesystems.
I guess I would say that if you are having trouble getting a mount to occur with this, it is something about:
- use of a powered hub
- partitioning of your usb key (I only used a single primary partition)
- choice of filesystem on your SD card?
I have tried all of these versions in the link below.
http://techerrata.com/browse/twrp2/enrc2b
None of these additional functions are available with my device.
Perhaps, my device which is an HTC One X Plus, does not allow access to these functions even when the phone is Rooted ?
I have also tried it with several different ROMS, from AOKP 4.22, CM10 and various other 4.1.1 versions.
One of the reasons that I want this function is that I am continually experimenting with different ROMS and to have the ability to not have to use SIDELOAD when I wish to do a Completely New Install will be helpful.
I also like to understand what I am doing and I am fascinated by this OTG function and how it works.
- use of a powered hub - I have tried it with the Non Powered Hub as well and although it does not freeze when booting into BootLoader, the end result is the same.
- partitioning of your usb key (I only used a single primary partition) - I have one single partition.
- choice of filesystem on your SD card? - I have used Fat, Fat32, I have not tried NTFS as I believe it only had read abilities.
Thank you for your interest and help, I really appreciate it.
screenoff said:
Perhaps, my device which is an HTC One X Plus...
Click to expand...
Click to collapse
I think you might have just convinced me to never offer help to a single XDA user ever again.
This is a Nexus 7 forum.
bftb0 said:
I think you might have just convinced me to never offer help to a single XDA user ever again.
This is a Nexus 7 forum.
Click to expand...
Click to collapse
I did not even notice that it was a specific Nexus 7 forum, I googled Recovery otg usb or something like that and this thread popped up.
I do apologise and although you may not feel happy about helping, you have indeed helped because now I have learnt how to find my way around in Recovery.
So your help is not all in vain and I will find a solution to this problem even though everyone is not as helpful as you are.
I can say that even if I had noticed this was not an HTC One X Plus forum, I would still have asked the questions because Recovery in common to all devices I suspect and I cannot understand why the HTC One X Plus cannot and does not give the same functions.
Had I known that this was not a HTC One X Plus forum, I would have said upfront that my device was an HTC One X Plus and I apologise once again for that oversight.
Thank you once again for your kind assistance.
Formatted USB stick in FAT32 with HP USB format tool, and now TWRP recovery can see my USB-OTG. (it was 0 mb before)
How do I mount an external USB stick? I thought it was under /mnt/usbdisk0, but it's apparently not. I can access this folder and create folders in it fine, but it's still there, and I can manipulate files on it even after I unplug the drive. Also, accessing this directory does not power on the USB light. How do I access external USB drives in OmniROM?
StickMount is one mounting tool that seems to work well.
---
Posted from whatever phone booted today
jeffsf said:
StickMount is one mounting tool that seems to work well.
---
Posted from whatever phone booted today
Click to expand...
Click to collapse
I tried StickMount, but it didn't do anything on my device. I have the drive formatted in FAT32, so it should be readable on anything. I tried plugging it into my wife's tablet, and it works fine there. I just can't seem to get it to work on my phone.
[Q] External USB drives (HDD/SSD) and mounting
How does the SATV decide what directory it will mount an external USB drive to?
/mnt/media_rw/usbdrive
/mnt/media_rw/usbdrive2
/mnt/media_rw/usbdrive3
I keep noticing mine will change from one to another each time I reboot. This is really messing with Foldermount. Does it matter what other devices are plugged in? How can I force it to a certain one? I am rooted so if this can be done from terminal, I assume it's *NIX like, I'm all ears
thanks
Mine is mounting the same every time. Make sure you are connecting to the usb port every time obviously.
I personally use stickmount to mount inside the sdcard directly.
In my situation I have a SSD in an external USB 3.0 chassis that is always plugged in, same port. I just allow the OS itself to perform the mounting and have never had an issue where it didn't mount, it just intermittently changes the mount location it is using.
The big problem here is when it switches it screws up any app that previously had the drive noted at the last known mount folder. Foldermount being the main app but others like emulators lose the last folder used too.
Is the mounting process on an Android device similar to Linux? Will I find some config file that I can edit to force the mount location every time? Although I'm not sure why it changes sometimes, not all the time, on restarts of the device. For now I've been trying to not restart unless really, really needed.
I also use the same setup minus the fact that I use stickmount also. The system will still do what you are discribing, but it will also mount within the SD card in the same place every time for me.
Hi!
I have some issues with USB OTG on my phone. I have CM13 nightly from 14th February.
I connect a USB-stick with my OTG-adapter and it shows up and I can browse it. However I can't write anything to it (which is what I want to do). I have tried like ten different apps for this and the one that comes the closes is Asus File Manager. However, it closes itself if I try to copy a file over to the USB. I first had it in exFat but then I saw that may cause some trouble. I reformatted it to Fat32.
Also, it doesn't show the proper size, it should say 14.9GB but it just says 0 http://i.imgur.com/U1gro0n.png
I have tried with a WD My Passport (exFat) as well and it is just the same, can browse files and copy from it to the phone but I can't write from the phone to the harddrive/USB.