Using usb external drive and ADB at the same time - Nexus 5X Q&A, Help & Troubleshooting

Hello,
I have been able to successfully connect an external flash drive to my Nexus5x, using an USB-C OTG cable.
I was wondering if there exists any sort of Y-cable I could use to connect BOTH an external memory AND my pc (to use ADB) at the same time.
In particular I would need this to work in the TWRP recovery.
Any idea/suggestion?
Thank you.

Related

[Q]GN is not supported by OTG connection USB flash drive

Why I use OTG after you connect the USB flash drive, USB disk could not be found in the phone directory?
USB Host (or USB OTG, On The GO) is a documented feature in the manual but it does not appear to work. Someone figured out how to eneable it if you are rooted but I can't find the thread.
USB Host is working with stock 4.0.2. However, this is only for things such as mice and keyboards. If you want to access USB storage, root your device and install Stickmount from the market.
I can confirm that my GN GSM with the stock 4.0.1 rom doesn't recognize my keyboard and mouse using an OTG USB cable. A bluetooth keyboard does work however.
you need a true OTG cable, root and stickroot from the market. Also sometimes a custom rom, but usually not.
This is my setup and i've tested a usb microsd reader, 4 and 8gb flash drives, 2 mice and a usb keyboard.
Like I said, USB host was enabled by Google in 4.0.2. If you have an earlier firmware version, it won't work without a custom kernel.
Google did not however provide the ability to access USB mass storage. To do this you'll have to root your Nexus and install Stickmount.

How to make it find the usb drive i plugged via OTG

I'm using this:
http://www.ebay.com/itm/15065901735...X:IT&_trksid=p3984.m1497.l2649#ht_1342wt_1396
to plugin usb flash drive to my galaxy nexus. When i plug it, nothing happens. I read that it's supported but how to get to the contents of the flash drive?
The USB host feature is enabled in the stock ROM, however it will not automatically mount a filesystem. You need to use an app like StickMount (requires a rooted device), which will automatically mount the filesystem on the flash drive so you can access the files. Hope this helps!
thanks, i'll have root my phone now

[Q] Cannot mount SD Card via USB OTG and stickmount (root) - works on Galaxy S2

Hi,
I recently bought a USB OTG cable and an "Integral USB 2.0 Single Slot SD Reader " so that I could use my Nexus 7 to view photos from my camera.
At first I tried using Nexus Media Importer to view files on the device, but this did not work. I have successfully been able to use this application to mount a USB thumb drive via the USB OTG cable.
I then rooted the device and installed stickmount. This did not seem to work either and there were no signs that the device was recognised by the tablet (the red light did not come on). I configured stickmount in SuperSU so that it has root access. I did not copy any data or apps back onto the device after unlocking it, and I am using the stock android 4.4.2 ROM.
I tried mounting the SD card using the card reader and USB OTG cable with my Galaxy S2 running Cyanogenmod. This mounted as soon as I plugged it in so I doubt there is a problem with any of the components.
I have tried mounting the drive both with USB debugging enabled and disabled. Is there anything else that I can try?
Thanks,
Ciaran
Reboot your device while keeping the OTG cable connected.
Sent from my Nexus 7 using Tapatalk
gnotelover97 said:
Reboot your device while keeping the OTG cable connected.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Thanks, this does allow the drive to mount successfully; however, if I remove the drive then re-insert it it does not remount, nor does it show up in Stickmount. Is there a way to remount the drive on-demand - just like my Galaxy S2?
You can press the 'thanks' button if it helped. Till now, I have not come across any such method to mount the OTG cable on demand. It's a cheap ploy by Google and Asus that they do not allow native OTG support on the Nexus 7 2013. Just to promote the cloud services. Mounting OTG cable is so easy on the Moto G and Samsung devices. It's a given these days.
Sent from my Nexus 7 using Tapatalk
ciaranhearne said:
Hi,
I recently bought a USB OTG cable and an "Integral USB 2.0 Single Slot SD Reader " so that I could use my Nexus 7 to view photos from my camera.
At first I tried using Nexus Media Importer to view files on the device, but this did not work. I have successfully been able to use this application to mount a USB thumb drive via the USB OTG cable.
I then rooted the device and installed stickmount. This did not seem to work either and there were no signs that the device was recognised by the tablet (the red light did not come on). I configured stickmount in SuperSU so that it has root access. I did not copy any data or apps back onto the device after unlocking it, and I am using the stock android 4.4.2 ROM.
I tried mounting the SD card using the card reader and USB OTG cable with my Galaxy S2 running Cyanogenmod. This mounted as soon as I plugged it in so I doubt there is a problem with any of the components.
I have tried mounting the drive both with USB debugging enabled and disabled. Is there anything else that I can try?
Thanks,
Ciaran
Click to expand...
Click to collapse
It's gotta be the connections your using. Either the Integral SD Card Reader, or the OTG cable you are using. I never have any issues using stickmount with my Meenova MicroSD card reader. Have you tried other adapters?
charesa39 said:
It's gotta be the connections your using. Either the Integral SD Card Reader, or the OTG cable you are using. I never have any issues using stickmount with my Meenova MicroSD card reader. Have you tried other adapters?
Click to expand...
Click to collapse
^This, stickmount mounts my meenova as well as my OTG+USB thumbdrives on demand, no issues whatsoever, no need to reboot or anything, it just automounts and it's ready to go.

[Q] usb otg mounting usb storage?

Been trying to mount a usb hard disk and usb stick but no luck.
Are you using a compatible kernel? With a OTG Y Cable?
Whosat said:
Are you using a compatible kernel? With a OTG Y Cable?
Click to expand...
Click to collapse
Using FAK kernel 1.3.6 and yes using Y cable, usb hub, keyboard, mouse, gamepad all working.
I'm also forced to reboot after using otg else I cannot charge or access files on the phone.
Does that mean you can now access your USB storage devices?
Whosat said:
Does that mean you can now access your USB storage devices?
Click to expand...
Click to collapse
No - other devices work fine. but not usb storage devices.
Even rebooting does not allow me to access or mount usb storage devices.
If i have a usb storage device connected and I reboot some random apps disappear... until I disconnect otg and reboot again.

best usb otg cable?

so guys, what's the best usb otg cable to use to backup my currently flashed rom via twrp?
wulfie66 said:
so guys, what's the best usb otg cable to use to backup my currently flashed rom via twrp?
Click to expand...
Click to collapse
First of all why do u need usb otg cable to backup existing rom ?just backup in yr ext sd or internal memory .
By the way usb otg cable is just to connect to another usb drive or use to wake up dead device into download mode .
This usb otg commonly is generic type no brand (in my country )
nainaabd said:
First of all why do u need usb otg cable to backup existing rom ?just backup in yr ext sd or internal memory .
By the way usb otg cable is just to connect to another usb drive or use to wake up dead device into download mode .
This usb otg commonly is generic type no brand (in my country )
Click to expand...
Click to collapse
twrp allows one to backup to usb otg, I personally would find it easier to backup to a usb flash drive and leave the space on my ext sd and internal memory for 'other' things
@wulfie66 Any that work are the best kind
Seriously though, I have found no difference between a budget one bought for £1 and a branded one for £5.
I use one of these without any issue http://www.ebay.co.uk/itm/Micro-USB...267?pt=LH_DefaultDomain_3&hash=item2a399909d3
But, my preferred OTG backup / file transfer means is a micro SD in one of these puppies http://www.meenova.com/ which needs no cable and is much tidier IMO.
:good:

Categories

Resources