Remove All Ads from XDA
Honor 9 Lite

USB Host and OTG, i've gone crazy!

103 posts
Thanks Meter: 12
By yousefs, Senior Member on 20th March 2014, 03:32 PM
Post Reply Email Thread
From what i know,
OTG: A Port that can Be Both a client so it can be connected to PC and Host to Plug Some flash Drives, etc.
USB Host: They're just like the PC One's, They only Act as USB Host

However, Nexus 5, Supports Both USB OTG And USB Host..
I don't understand how? is there two USB ports one OTG and the other Host?
20th March 2014, 03:50 PM |#2  
vin4yak's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 2,528
In order to connect a flash drive to your device, you need to connect the flash drive to an OTG cable and then connect the cable to your device.
20th March 2014, 04:17 PM |#3  
Alex240188's Avatar
Senior Member
Flag Hull
Thanks Meter: 702
Host and otg are essentially the same thing.

You have host and client modes.
A USB fish drive / keyboard etc... Are all clients
A USB hub / computer etc.. Are hosts. They manage their clients.
Your phone when connected as a storage device is a client.
Your phone plugged in with an otg cable switches your device to host mode so it can then utilize other clients.

For your purposes treat otg and host mode as the same thing.

The main difference between host mode and otg you will find on xda are for devices that don't have otg support by default.
From my past, the early days of the HTC one x and the nexus 4 did not support USB otg.
While the devices where both capable. The phones themselves could not supply power to connected USB devices.
Developers modified android and the kernels to enable host mode. From there you required an externally powered hub to power the client devices and all worked well.
So the main aspect of OTG(on the go) could not be fulfilled because the phone was not powering the clients which meant you needed an external power source.

Host mode - allowing connection of external devices
OTG mode - same as host but is all powered by the device itself

Sent from my Nexus 5 using xda app-developers app

---------- Post added at 02:17 PM ---------- Previous post was at 02:15 PM ----------

Just to clarify your post.
Both host mode and otg can change between host and client.

Sent from my Nexus 5 using xda app-developers app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes