Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Starting with Android 3.1 and higher, the device USB port, if supported by the hardware, can be used in host-mode, which allows applications to manage connected USB peripherals such as audio devices. input devices, communications devices, and more.

0
votes
0answers
271 views

Huawei P20 Pro charging in USB host mode

I'm seeing several related questions here. However, most of them are ancient (as in 2012) and refer to micro USB and maybe the USB-C standards are different with regard to host mode charging. I'm ...
0
votes
0answers
54 views

Connecting portable hard disk to smart phone

I have Huawei Y5 and I want to connect my 1TB portable hard disk to it with sub y-cable. Is it okay to plug the portable to smartphone and a tv concurrently using TV as the power source or will I have ...
1
vote
1answer
489 views

Control UI with USB gamepad

How can I control the Android UI (especially back & home button) on Android 6 with a USB gamepad? I have the Docooler R39 Android TV Box (running 6.0) and a cheap generic USB gamepad with the USB ...
0
votes
1answer
1k views

How to enable USB host mode in Moto G4 Plus

I have Moto G4 Plus device. I have to do some stuff by enabling USB host mode on my device. I have enabled USB debugging and it is on charging. I am using USB cable. My device is non-rooted It shows ...
0
votes
0answers
37 views

How to auto-launch a SPK from a usb when inserting it

I would like to do the following, I have on a pendrive an SPK file and I would like that WHEN INSERT the USB stick, install the SPK and that it can work from the pendrive.
0
votes
1answer
117 views

Debug phone wihtout USB cable

How can I debug phone without usb cable even after phone restarts on non-rooted phone? Right now I lose all developer options on reboot and have to reconnect otg cable.
0
votes
1answer
112 views

“Route” USB to Android phone through computer

Is there any way to plug a USB drive (specifically a micro-sdCard to USB adapter) into my computer, plug my phone into the computer (also through USB), and make it appear to the phone as though I have ...
0
votes
0answers
600 views

Stream audio from external hardware to android phone via USB

What I have done till now I am able to connect an external hardware to my android device via USB. After detection of external hardware, I am establishing an USB connection. After connection I am able ...
0
votes
0answers
447 views

Preventing device wake up on USB

Is there a way of preventing an Android device from waking up/staying awake when a USB is device is plugged in? I know Windows allows this in device manager. Is there a similar setting in Android or ...
2
votes
1answer
689 views

Ethernet and charge via USB type C

I have an HTC 10 with the new USB Type C connector. As USB C is also the primary (or only) connector on some laptop style devices such as the Pixel C and new MacBook, there are many Ethernet and USB ...
1
vote
0answers
561 views

ADB: how to use it over TCP/IP during USB accessory development

I'm using an evaluation board from Atmel (based on SAM D21 Cortex-M0+ MCU) for developing a custom Android USB accessory and related app. I'm new to Android development, but I understood I need ADB ...
2
votes
0answers
87 views

Can USB host ports be dangerous in uncontrolled environments? Virus etc?

We have an Android device with 2 external USB host ports. Now I wonder what harm can be accomplished by an attacker with malicous intentions, provided that: The user can not access settings or any ...
1
vote
0answers
155 views

How to Plug and Play a USB Barcode-Printer in android devices

We are trying to print Barcode using USB Barcode Printer from an android device. The available printer model is GODEX EZ520, we used printer-share app from Playstore and it detected the printer-...
0
votes
1answer
1k views

Share Android cell phone network connection over USB OTG to Wifi Android tablet

How do I share my cell phone's network connection with a Wifi tablet? Specifically I'm using a Samsung Galaxy S6 and a Nexus 7. I bought a USB OTG cable. Which end do I plug the USB into, and which ...
0
votes
1answer
2k views

Configuring wired network connection with WiFi still enabled

I have a Nexus tablet and a USB-OTG + USB/ethernet connected. I have proved the hardware works by disabling WIFI and ifconfig'ing up eth0 with netcfg eth0 dhcp ping, traceroute all work as expected....
0
votes
1answer
2k views

Send data to usb port

i want to send data from my HTC Incredible S to my Arduino Uno. I want to do this by using the micr usb port. But it seems like my smartphone is not supporting the usb host mode. Will it still be ...
0
votes
1answer
422 views

music play back via USB connected to karaoke player

I am trying to play music on my Nexus7 via USB connected to a karaoke player. It does not play through karaoke player speakers. What should I do ?
4
votes
4answers
11k views

SD card readers don't work via USB OTG but USB thumb drives do, any ideas?

I have a Huawei Ascend G6 LTE (G6-L22) and bought a little USB OTG cable so I could read full sized SD cards while out and about. Only, it doesn't work, on either of the SD card readers I've tried - ...
1
vote
1answer
911 views

USB to ethernet not working on Samsung Galaxy S

I have Samsung Galaxy S Blaze with the following specs Samsung Galaxy S Blaze 4G SGH-T769 Android version = 4.0.4 Baseband version = T769UVMB1 Kernel version = 3.0.8-perf-T769ULVH5-CL990184 Model ...
0
votes
1answer
782 views

Creating USB connector cable using female-female adapter

In order to connect a pen drive to One M8, I tried using a female-female USB adapter with one end connected to my phone via the provided USB cable and a pen drive inserted into the other end.. however ...
0
votes
1answer
1k views

Unlocking Droid XT912 with a Fully Broken Screen/Digitizer

I am trying to pull data off a Droid Razr XT912 with a broken digitizer and screen from last summer which has been under pattern lock since then. I purchased a Micro-to-HDMI cable, which successfully ...
0
votes
1answer
3k views

Do all Android devices have USB OTG support?

I am using celkon A98. The specification of my device says it does not have USB OTG support .. I tried OTG troubleshooter app... it says USB host is supported ... Do I have USB host functionality **...
3
votes
2answers
3k views

Can I use OTG USB pendrive with Galaxy Nexus

I have a Samsung Galaxy Nexus. It is said to fully support OTG devices. However, I'm only able to use a mouse or keyboard through OTG USB cable. When I'm trying to connect my newly bought USB pendrive,...
0
votes
1answer
5k views

Must a USB OTG adapter be used to connect a DAC/amp to an Android or can I use a Micro USB to Micro USB cable?

I'm trying to connect a DAC/amp with a micro USB connection to my Android smartphone. Is it possible to get the DAC/amp to work without the larger "adapter" type OTG cable, and use something like this ...
1
vote
0answers
1k views

How can I revoke an app's permission to access USB after granting it permanently?

I have an app that requested USB access, and when prompted I selected "Yes, allow this app to use USB" and checked the "permanently" checkbox. Now I would like to revoke this permission so that the ...
0
votes
0answers
641 views

Stop device connected as host charging connected device

I am connecting a Nexus 10 to an Arduino board in host mode. The Arduino board has its own power supply, but is still drawing power from the tablet. This post suggests that this may happen if the ...
0
votes
1answer
618 views

rooting device stops usb-host-mode working

After I rooted a Nexus 10, the USB Host mode is no longer available. I have checked the original unrooted device with Chainfire's 'USB Host Diagnostics' tool and it recognises a plugged in Arduino ...
1
vote
1answer
9k views

Samsung Galaxy Ace 3 has USB OTG (On The Go)?

Samsung Galaxy Ace 3 supports USB OTG (On The Go)? I've dedicated a long time to research, both in Google and on specialized sites (rich in Technical features), but I could not figure out if this ...
0
votes
1answer
3k views

Suppress “autoplay” when external USB drive connected

On some phones, when an external USB drive is connected to the phone, there is sort of an autoplay function where it automatically brings up the "My Files" screen. Is there a way to suppress this? ...
0
votes
2answers
4k views

Does LG Optimus G (E-0975) support USB host mode?

Device: LG optimus G (E-0975) Android: 4.1.2 Does LG Optimus G (E-0975) support USB host mode? If yes, what can I do with that? How do I use it?
9
votes
3answers
71k views

How to use an USB-attached wired Ethernet adapter through USB-OtG on an Android smartphone?

Due to my profession I use to have to connect to wired-only LAN-attached devices (like managed switches, routers, set-top-boxes etc) frequently to access their configuration interfaces via Telnet/SSH/...
19
votes
1answer
97k views

What is the difference between USB On-The-Go (OTG) and USB Host Mode?

What is the difference between USB On-The-Go (OTG) and USB Host Mode? They seem to be more or less the same. Are they?
1
vote
2answers
36k views

Does the Samsung tablet 3 SM-T211 have USB host mode OTG support? [duplicate]

Does the Samsung tablet 3 SM-T211 have USB host mode OTG support? If not, is there a way to enable / support it?
1
vote
1answer
12k views

USB host mode not working on Samsung Galaxy S using CyanogenMod

I am using CyanogenMod 10.1.0-RC3 (Android 4.2.2) on my Samsung Galaxy S Plus (GT-I9001). I have read Android 4 supports USB on the go, so I wanted to give it a try. I bought a USB OTG cable, and ...
-1
votes
1answer
295 views

Using Micromax 353G Dongle with Penta IS701C tablet

I have purchased Penta IS701C recently. I have a Micromax 353G dongle, and want to know if it supports my Penta tablet. If yes, how could I use the dongle in the Penta tab?
2
votes
1answer
2k views

Host usb application not recognizing my usb devices?

I ran Chainfire's USB host diagnostics in my tablet. After completing the diagnostics, I got the following results: KERNEL claims support yes device detected no VERDICT ...
2
votes
2answers
43k views

Can Android tablet read external hard drive and if so which formats?

Can an Android tablet read external hard drives and if so which formats? I have a Samsung Note and tried accessing a hard drive but failed. I've been told that if I format my 1TB hard drive to FAT32 ...
3
votes
1answer
2k views

usb otg thermal printer interface to android tab with usb device

I have printer with USB OTG capability which I want to use with my Android Tab (as USB device). Is this possible -- and if so, will it work for all Android versions from 2.3 up? Is there any driver ...
1
vote
1answer
4k views

Since which Android version can you use Ethernet through the USB port? Which makes are repotedly work with CyanogenMod?

As far as I know Android supports Ethernet via USB, right? If yes, since which version of the OS? What are makes of Ethernet USB adapters which are reportedly work with CyanogenMod? What are makes ...
14
votes
3answers
54k views

Is it possible to boot an Android phone from a USB drive?

Is there any way to boot an Android phone* from a bus-powered USB drive**? If so, what are the steps to achieve this? * E.g. one with USB OTG functionality. ** E.g. a flash drive.
2
votes
3answers
4k views

Can I use an USB Ethernet adapter to connect Sony Ericsson Xperia Active to a wired Ethernet LAN?

Due to my profession I have to connect to wired-only LAN-attached devices (like managed switches, routers set-top-boxes, etc.) frequently to access their configuration interfaces via Telnet/SSH/HTTP. ...
19
votes
2answers
53k views

How to stop Android asking for permission before permitting access to USB device

I have an application running on a rooted no-name Android tablet running ICS 4.0.3 that controls a USB device via the USB host mode interface. The android.hardware.usb.host.xml file is present in /...
10
votes
1answer
15k views

How does MHL work?

I've done (quite) some googling, but I still don't get it. You need an MHL converter, or adapter, or something. On one end of the adapter, all resources say, there is a "standard micro-USB" port, and ...
1
vote
0answers
94 views

Is it possible to plug a thumbdrive / portable harddisk that have multiple partitions to a tablet

Is it possible to plug a thumbdrive / portable harddisk that have multiple partitions to a tablet (any generic tablet or tablets in general) or there is a need to use a Apps to perform such actions?
2
votes
2answers
15k views

Connecting a HDE keyboard to a Kindle Fire

I brought a HDE keyboard: Connects to your 7" tablet via USB 2.0 A-Type Male Adapter. Please make sure your tablet has a USB Type A Female to accept this plug type. Also, your device must have a ...
5
votes
2answers
2k views

Connecting Nexus 7 to external hard disk?

How can I connect a Nexus 7 (JB 4.2 rooted) to an external hard disk? I know I have to use a USB OTG cable, but what's the exact procedure to achieve this after connecting via OTG?
1
vote
1answer
2k views

Enabling Android as USB host on Galaxy Nexus or Nexus 10

I'm trying to develop applications that talk to USB devices, but nothing works. I installed a USB Host Diagnostics app, and it tells me that there's no OS support for device detection on the Galaxy ...
51
votes
1answer
425k views

How can I determine if my device has USB Host Mode (OTG) support?

Some Android devices can act as a USB host, so that you can use other USB devices attached to them. For instance, browse or import the photos stored on a camera from your phone, or copy files onto a ...
1
vote
0answers
1k views

Copy SD Card contents to USB HDD

I'm considering to buy an Android Tablet (e.g. Nexus 7). One of the things I would like to do is, copy some content of my SD Cards (e.g. camera, gopro) to a USB HDD. Can I do this with an android ...
5
votes
2answers
9k views

What are the limitations of USB On-The-Go on Nexus tablets?

I'm thinking about using USB On-The-Go to extend the rather limited space on the Nexus 10 tablet. I've read about it, but I'm not sure on where exactly the limitations of this approach are. I know ...