Questions tagged [usb-host-mode]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Force USB Host Mode

I am trying to use an USB-serial device that has USB-A connector via USB OTG. How do I "force USB host mode" so I can use USB-A to USB-C cable instead of using OTG adapter? OTG works fine with other ...
1
vote
1answer
2k views

How to read ext4 filesystem without mounting on a non-rooted device?

I perfectly know it is not possible to mount an ext4 partition from a USB key without root. But in my case, I just need to read a password inside a .txt file (I don't have a PC right now and in the ...
0
votes
0answers
326 views

Connect Android to OTG cable and PC

TLDR: I'm wondering if it's possible to connect a android device to a device(lets say usb flash drive) while staying connected to the computer. I'm developing a app that requires a ftdi chip to be ...
1
vote
0answers
663 views

Accessing a USB device in phone in absence of compatible drivers / modules

My android device has an MTK6797 Soc(Xiaomi Redmi note 4x mtk version), and the company never released the kernel source, now I want to connect a USB device through OTG and control it from a chrooted ...
1
vote
0answers
138 views

How to prevent external USB HID devices enable without confirmation

Android support USB HID devices like keyboard and mouse. If you have a USB-C keyboard, or connect via a USB hub. The USB keyboard will have control to the system, without on-screen confirmation. I ...
0
votes
1answer
840 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 ...
1
vote
1answer
1k 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
3k 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
1answer
161 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
129 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
952 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
804 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 ...
3
votes
1answer
2k 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
852 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
95 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
171 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
2k 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
601 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 ?
5
votes
4answers
13k 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
2answers
2k 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
910 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 ...
1
vote
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,...
1
vote
1answer
6k 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
2k 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
651 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
635 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
10k 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
2answers
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?
11
votes
3answers
76k 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/...
26
votes
1answer
126k 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
39k 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
13k 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
297 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
48k 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
3k 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
5k 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 ...
18
votes
3answers
76k 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.
3
votes
4answers
6k 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. ...
22
votes
2answers
77k 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
16k 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
95 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 ...