USB OTG (On the go) - Samsung Galaxy R i9103

Galaxy R supports USB OTG (On the go). You just need a OTG cable.
You can also use a Nokia Usb OTG (On The Go) Cable.
You can get the Nokia Usb OTG Cable for less then 2 euro on Ebay and Amazon.
The Samsung Usb OTG Cable costs much more.
The Nokia Usb OTG Cable just has one disadvantage, it has a "micro usb type A" connector.
The Samsung connector is "micro usb type B" .
But the difference between "micro usb type A" and "micro usb type B" is just that type A is not rounded, type B is rounded.
So you have to "round" the Nokia type A with a File tool http://en.wikipedia.org/wiki/File_(tool), transforming it into a type B.
It works, I have done it.

legion1911 said:
galaxy r supports usb otg (on the go). You just need a otg cable.
You can also use a nokia usb otg (on the go) cable.
You can get the nokia usb otg cable for less then 2 euro on ebay and amazon.
The samsung usb otg cable costs much more.
The nokia usb otg cable just has one disadvantage, it has a "micro usb type a" connector.
The samsung connector is "micro usb type b" .
But the difference between "micro usb type a" and "micro usb type b" is just that type a is not rounded, type b is rounded.
So you have to "round" the nokia type a with a file tool http://en.wikipedia.org/wiki/file_(tool), transforming it into a type b.
It works, i have done it.
Click to expand...
Click to collapse
now we gona rock with galaxy r

~~~
I've done it too, next day after got my SGR. It works with mouse (just "laser", not "optical") and usb-flash (FAT, not NTFS). external keyboard works only with the English keyboard layout and other input languages ​​are not available

polomalkin said:
external keyboard works only with the English keyboard layout and other input languages ​​are not available
Click to expand...
Click to collapse
I've got Acer tablet with full-size USB and input language can be switched by Shift+space there. If this doesn't work for you, look for other software keyboard that supports hardware keyboards (sounds weird, but yes, SW keyboard needs to support HW keyboards).

ё
SW keyboard needs to support HW keyboards
Click to expand...
Click to collapse
yep. It is like using usb-keyboard with WM device. I tried many free/kracked keyboards from Market - no results for now.

Great stuff! How about MHL (HDMI adapter) support? Does it support?

~~~
I saw the cable which is compatible with models:
Samsung Galaxy S II i9100
HTC Sensation G14
HTC EVO 3D
HTC Flyer
Samsung Note
Samsung i9103
but some users said, that there is no image on TV, just sound.

can i just buy an otg cable for samsung galaxy s2 and instead use it for galaxy r???
will the otg cable for s2 work/compatible for R i9103???
thanks!!!

http://www.ebay.in/itm/Micro-B-USB-Host-OTG-Cable-Samsung-Galaxy-S2-SII-/320739400862#ht_5176wt_802
http://www.ebay.in/itm/NEW-SAMSUNG-...tDomain_203&hash=item2a17b23ae3#ht_1869wt_932
will this work for the galaxy r i9103?
sorry for being annoying
but i need to get a working otg cable asap.
thanks!!!

http://www.ebay.in/itm/260878476628#ht_6288wt_915
can i connect this USB PORT HUB with the OTG CABLE to my galaxy R.
m a bit confused on how would the USB PORT HUB get the required power?
would it draw it from the phones battery or i need an external supply?
thankss!!!

grv2, you'll need an external power for hub.

thanks buddy
can u suggest me a working usb hub with external power....
cos all m getting is usb hubs for laptops which obtains its power from the laptop alone....
thank u very much....

anybody tried MHL adapter that comes for SGSII in our SGR....??

ofabhishek said:
anybody tried MHL adapter that comes for SGSII in our SGR....??
Click to expand...
Click to collapse
MHL is NOT working, there are already several posts about it.
I use the original Samsung Galaxy S2 USB-OTG-Cable, and it's very fast
grv2 said:
...ebay...
can i connect this USB PORT HUB with the OTG CABLE to my galaxy R.
m a bit confused on how would the USB PORT HUB get the required power?
would it draw it from the phones battery or i need an external supply?
thankss!!!
Click to expand...
Click to collapse
You can connect everything that doesn't need too much power:
Camera, USB-sticks and even other Phones are working perfectly
For HDDs you would need extra power supply via USB-Hub with external power supply or even a USB-charger should do the job (but I haven't tested it yet!). You could connect the 2nd power only USB connector (which is shipped with many USB-HDDs on an Y-cable) to the powered hub or the charger. e.g i've won a portable USB-Charger from HP at VMWorld, i have to try to power an HDD with it - thank you for reminding me with our question !
grv2 said:
thanks buddy
can u suggest me a working usb hub with external power....
cos all m getting is usb hubs for laptops which obtains its power from the laptop alone....
thank u very much....
Click to expand...
Click to collapse
Just search for "USB-hub external power" or "self-powered" , gets me several results from Amazon
Like:
DIGITUS USB2.0 Hub 4-port 4xUSB A/F 1xUSB mini self powered
Sitecom CN-060 USB 2.0 Hub 4 Port

you r great!!!!!!!
it really helped
thank you very much....
---------- Post added at 10:52 AM ---------- Previous post was at 10:35 AM ----------
can this fone deliver enough power to the self powered usb hub to work???
i really doubt that....
thanks!!!

Self-powered means it needs no power from the main hub, but has all the power itself (from its own power supply).
There would hardly be any use for other hubs ;-)
Sent from my GT-I9103 using XDA App, typed with Messagease

samsung galaxy r
Does samsung galaxy r supports the otg cables
if yes then give me their links

yes it does ,I have got my usb on the go cable from market for only 200 rs in pune and everything works like a charm
pendrive
mouse
keyboard
card reader
Sent from my GT-I9103 using XDA App

Where to buy OTG in Pune, India?
NEO-xx said:
yes it does ,I have got my usb on the go cable from market for only 200 rs in pune and everything works like a charm
pendrive
mouse
keyboard
card reader
Sent from my GT-I9103 using XDA App
Click to expand...
Click to collapse
I am from Pune too. Can you tell where you got the OTG cable from?

NEO-xx said:
yes it does ,I have got my usb on the go cable from market for only 200 rs in pune and everything works like a charm
pendrive
mouse
keyboard
card reader
Sent from my GT-I9103 using XDA App
Click to expand...
Click to collapse
Dude can you confirm once again ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Keyboard ?
Mouse ?
Card Reader ?
Do all of these work without any issues & have you used them ?
I am asking cause I had read somewhere that only pen drives are working on R . . .

Related

USB Host/OTG without doc

For the "old" Atrix 4G, there is a thread regarding USB Host, without a dock.
http://forum.xda-developers.com/showthread.php?t=997187
Can the same be done with the Atrix 2 (buying the USB hub and the OTG adapter)? I assume getting WebTop app requires rooting? Can the USB OTG still be used without rooting?
If not using WebTop app, is there any advantage going this route, versus just using a bluetooth keyboard/mouse ? Maybe just so that I can copy files to a disk key?
I'm just envisioning using something like this while visiting a relative or staying at a hotel - hooking the phone up to a TV, to be able to do things.
Thanks
Yes, it works on the atrix 2. I've gotten usb mass storage, keyboards and mice to work. All before the root was available.
The only problem I have with it is minecraft pocket edition doesn't support remapping the input to keyboard+mouse.
Oh- also I had to shave a little plastic off the side of the OTG adapter for the HDMI cable to fit at the same time.
I would suggest going the bluetooth route unless you need usb mass storage or usb ethernet.
The mess of wires can get pretty bad...
Hmmm... I need help here.
I have this set up:
- Micro USB On-The-Go Host OTG Adapter
- The USB male split into two cables: power ( 5v + GND) and data (d+, d- , GND)
It's fully functional, on my Touchpad running CM9 and WebOS. But doesn't work on my atrix 2.
What the thread on the OP is suggesting is you have to put the 5v on the data cable too ?
-------------------
yeah, just did it. It works and still charges the cellphone! \o/
When I tested it, I used a hub. Thankfully the hub's included cable has a third lead coming off with only 5v and ground connected, so it was a perfect match.
I've spliced up a cable to test the way you have it. Unfortunately, even with 5v+gnd hotwired, I haven't been able to get it to work without a hub between the usb otg adapter and the usb device.
This suggests that Motorola only really wants you to use usb host mode with the official lapdock or docking station, etc.
Strange... The modified cable worked fine to me.
an usb keyboard worked with the cable and even an unmodified usb hub.
So you have a hub with a second cable only for power? Do you have a link ?
RogerThis said:
Strange... The modified cable worked fine to me.
an usb keyboard worked with the cable and even an unmodified usb hub.
So you have a hub with a second cable only for power? Do you have a link ?
Click to expand...
Click to collapse
Just tried it and you're right about the keyboard. It works when connected directly.
Till this point I had only been trying USB storage and mice.
This kinda makes me think this is just a software deficiency that could be worked around.
As far as the hub goes, it's just a 4 dollar hub I found at goodwill.
After a little research, I found out what it is but it's discontinued of course. Any usb hub should work, the trick is the Y cable.
The hub linked to on dealextreme in that Atrix thread is wired in a way analogous to this.
Can you guys explain a bit more about these modified cables and the Y adapter cable? Like, exactly what cables do I need, and what modifications need to be done.
Thanks!
moofree said:
Just tried it and you're right about the keyboard. It works when connected directly.
Till this point I had only been trying USB storage and mice.
This kinda makes me think this is just a software deficiency that could be worked around.
As far as the hub goes, it's just a 4 dollar hub I found at goodwill.
After a little research, I found out what it is but it's discontinued of course. Any usb hub should work, the trick is the Y cable.
The hub linked to on dealextreme in that Atrix thread is wired in a way analogous to this.
Click to expand...
Click to collapse
Man!, I use this site a lot and never saw this hub! Thanks!
The self made Y cable is fine, I just want a better solution without semi-naked wires hanging around. =)
extide said:
Can you guys explain a bit more about these modified cables and the Y adapter cable? Like, exactly what cables do I need, and what modifications need to be done.
Thanks!
Click to expand...
Click to collapse
To the Atrix act as a host all you need is that OTG adapter metioned earlier. But, mobile devices don't provide power to "guest" devices. So, you need to power the usb device with a external source.
You have 2 options:
- Self powered HUB. Actually that's not enough. You'll need to power the USB pin 1 on the cable connected to the atrix to active the Host mode. That's why that hack (wire soldered) on the atrix 1 thread.
- The Y cable. As I described before is a normal USB cable powered by other USB cable. Ex: http://www.amazon.com/Apricorn-Power-Adapter-Cable-AUSB-Y/dp/B000JIOHDE
On our scenario, one will provide the data communication and the other the power. So, the data cable you will connect to the atrix and the other to a PC or the atrix charger.
I hope I made myself clear in a not so bad english.
If you buy a Y cable, you'll only need the OTG adapter ( http://dx.com/micro-usb-on-the-go-host-otg-adapter-pair-50774 ) and any usb hub.
If you want to make the cable, only 2 USB cables.
If you want to modify an USB hub. Just any hub and a cable.
I'm modifying an USB hub, I'll post pictues and I get home.
Rechargeable battery powered usb hub with otg cable
I was able to make myself a battery powered usb hub with an otg micro end on the cable and its rechargeable. All for $10
Using the USB host adapter and a y splitter, which I power via USB to AC adapter I can use a keyboard / mouse. I am unable, though to access a USB memory stick or the like. Looking at the Atrix 4G forums of people who did similarly - pre the latest firmware, the Atrix 4G needed to use manually mounting - which I assume needs root. But, the latest Atrix 4G automounts. But, I have a Atrix 2 with the latest firmware... and no automounting. Any ideas?
Thanks
I have the Micro USB OTG Adapter ( product B005N55WHI on amazon ) + the Y cable ( product B003HHK576 on Amazon ).
I put on the red plug of the Y cable a portable USB battery (phone detects it and is charging).
On the end of the Y cable I have my camera.
When I check with USB Hostdiagnostic it detects the USB device (my camera) but not the app I want to use it with. The USB host diag shows that at Android API Claims support and Classes found is NO and Device detected is N/A .
What am I missing?
Update:
USB Mouse and keyboard works.
atrix2 - pendrive auto mount
dzr said:
Using the USB host adapter and a y splitter, which I power via USB to AC adapter I can use a keyboard / mouse. I am unable, though to access a USB memory stick or the like. Looking at the Atrix 4G forums of people who did similarly - pre the latest firmware, the Atrix 4G needed to use manually mounting - which I assume needs root. But, the latest Atrix 4G automounts. But, I have a Atrix 2 with the latest firmware... and no automounting. Any ideas?
Thanks
Click to expand...
Click to collapse
Like above, I too have same issue with Atrix2(pendrive not getting detected / mounting), whereas mouse & keyboard work fine. can anybody help.
You need to use a usb hub between the splitter cable and the usb drive.
pendrive works
moofree said:
You need to use a usb hub between the splitter cable and the usb drive.
Click to expand...
Click to collapse
Hi.................
It works, thanks a lot......
Hope same logic works for connecting USB printer as well .
I didn't have a female to female adapter. But I found an ancient internal USB hub that works just fine!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in fact, I am posting this through the ATRIX 2, typing this with keyboard!!
EDIT:
Anyway to get USB controller to work?? the generic dual-shock II clone.
i have drawn a simple diagram using paint which i have understood by reading through out this thread,
is it correct?
and i have spotted a question in the diagram which asking for a Y splitter. is this is the one which called Y splitter or something else?
thanks
EDIT
and for the records is this OTG cable will work this atrix 2?
sachi9121 said:
i have drawn a simple diagram using paint which i have understood by reading through out this thread,
is it correct?
and i have spotted a question in the diagram which asking for a Y splitter. is this is the one which called Y splitter or something else?
thanks
EDIT
and for the records is this OTG cable will work this atrix 2?
Click to expand...
Click to collapse
That cable is right. but diagram is not.
Here see this...
dzr said:
Using the USB host adapter and a y splitter, which I power via USB to AC adapter I can use a keyboard / mouse. I am unable, though to access a USB memory stick or the like. Looking at the Atrix 4G forums of people who did similarly - pre the latest firmware, the Atrix 4G needed to use manually mounting - which I assume needs root. But, the latest Atrix 4G automounts. But, I have a Atrix 2 with the latest firmware... and no automounting. Any ideas?
Thanks
Click to expand...
Click to collapse
i am using atrix 2 i did it and its automatically mounding the flash drive and mouse ,i don't have a usb keyboard so i didnt tried that, but flash drive is mounding automatic i am using stock ICS.
monichutti said:
i am using atrix 2 i did it and its automatically mounding the flash drive and mouse ,i don't have a usb keyboard so i didnt tried that, but flash drive is mounding automatic i am using stock ICS.
Click to expand...
Click to collapse
Yes. It auto-mounts for me too.
NHS2008 said:
That cable is right. but diagram is not.
Here see this...
Click to expand...
Click to collapse
oh i see..thanks for the clarification..i will try it as soon as i got the OTG & Y split cable..just now ordered!! :good:

[OTG USB] Using OTG cable and charging at the same time - SOLVED 29.08.12

UPDATE 30/08/2012
For "daily" updates, tutorials more videos visit my website
https://sites.google.com/site/sonicboomworld
Added more diagrams and pictures on my website --> https://sites.google.com/site/sonicboomworld/my-projects/otg-diagrams
Don't forget to check NEWS as well : --> https://sites.google.com/site/sonicboomworld/
OLD POST - HOW I STARTED
Firstly hi all
Secondly i want describe myself as a person who has only little knowledge about electronics etc. Also i am very busy at work and at home after work with kids, so to be honest with you i can test it only while i am actually working ( i do Testing and servicing medical devices )
At this moment i can't "afford" to buy SONY ERICSSON LIVEdock ( OTG MODE + CHARGING AT THE SAME TIME )
I just want to share my progress in making cheaper verision of LIVEdock, also i looking fore some smart arse to help me/us finish what i started,
I know this is little bit messy and don't kill me for my english please
Diagram:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
I made simple OTG CABLE with permanently shorted PIN 4 (sense) AND 5 (ground) on my microUSB. The i realized that phone battery must support power for phone and connected USB device such as keyboard, mouse, gamepad etc. Then i added ON/OFF switch between PIN 4 and 5 what i achieved ?
Now i can switch between OTG MODE and CHARGING MODE ( unfortunately both modes wouldn't work at the same time ). Then i added another two ON/OFF switches to cut off the power from the battery VCC (red wire) and GROUND (black) while you are in OTG MODE. I added another USB cable ( this one suply power from computer or charger or car charger ) but i used VCC and GROUND only i connected these wires to each switches and FEMALE USB ( one you connect keyboard ,gamepad etc ). What i achieved ? now Battery support only my phone but phone is still in OTG mode, and whole power goes to our device ( Keyboard, USB flash memory etc ) .
​
Now we know how to get external power source to our external device , but i still haven't find an solution how to get phone in charging mode or to do anything to prevent phone from discharging while we are in OTG MODE . I know that SONY instead of so many switches used just some simple electronics components. Also i still haven't try everything but if you have any idea please let me know.
Later on i will upload Video on YouTube ( HOW IT WORKS )
Regards
SUCCESS
BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )
OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...
regards
sonic_boom said:
BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )
OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...
View attachment 1264716
regards
Click to expand...
Click to collapse
This sounds awesome. Looking to do something like this with a nexus 7 in my vehicle. Looking forward to this.
Sent from my SGH-I777 using xda app-developers app
sonic_boom said:
BTW i got this working !!! ( USING HUB WITH 4X USB PORTS )
OTG AND CHARGING AT THE SAME TIME !!! should work for any device with OTG SUPPORT so far i can post screen shoot only , more details later on if you interesting...
View attachment 1264716
regards
Click to expand...
Click to collapse
Please do tell. Are you pretty sure it'll work for any OTG device? Regardless of its hardware. Specifically the nexus 7.
I hope will work for all devices . Successfuly tested on my Xperia S. I will test soon on Galaxy S2 and S3. Also I completely redesign everything. Forget about first post and crappy switches. I made docking station for my phone I just have to finish my it. I want to add some LED. Is all about right cables and resistors in right place. I think this should also work on simple Y cable.
Give me some time to get everything ready. I have two kids a home plus looking for new house plus I am working. But I will post instruction here soon
Sent from my LT26i using xda app-developers app
sonic_boom said:
I hope will work for all devices . Successfuly tested on my Xperia S. I will test soon on Galaxy S2 and S3. Also I completely redesign everything. Forget about first post and crappy switches. I made docking station for my phone I just have to finish my it. I want to add some LED. Is all about right cables and resistors in right place. I think this should also work on simple Y cable.
Give me some time to get everything ready. I have two kids a home plus looking for new house plus I am working. But I will post instruction here soon
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Interesting indeed.
Take you time. And you have the xda support, because this is something that we want also.
Thanks for the research and effort.
At this moment i can post some pictures with my crappy beta most ugly dock - but was design for testing only and i have done already so many transformations . Most important
OTG and CHARGING working at the same time !! ​
On the photos you can see LED ON , USB STORAGE CONNECTED NOTIFICATION and MOUSE CURSOR !
I connected same time :
- 8GB USB MEMORY STICK
- WIRED MOUSE
- WIRED KEYBOARD
- USB WITH POWER SUPPLY FOR MY SPEAKERS ( then i connected jack for AUDIO )
- and phone CHARGING SAME TIME
at work also i connected HUB - 1 USB ( WIRELESS MOUSE AND KEYBOARD ) - WORKING PERFECT !
Before i will post any information HOW TO GET THIS DONE i will post video on YOUTUBE - i should have video before MIDNIGHT ( current time 6:22 PM)
VERY IMPORTANT !!! ( i connected GALAXY SIII - unfortunately not working at all - but dont worry - in 99% i know where seems to be the problem)
Regards
sonic_boom said:
At this moment i can post some pictures with my crappy beta most ugly dock - but was design for testing only and i have done already so many transformations . Most important
OTG and CHARGING working at the same time !! ​
Click to expand...
Click to collapse
Dude! I must say: congratulations, and the beta dock is more beautiful than my wooden dock, homemade also hahahaha. I'm excited to see how is the modification to earn charge and OTG function. I wanna try also and share my tests!
Very nice and cool :good:.
I'm too curious...
I drew some scheme, is just what I'm wondering about what you did, and how can I do, or even you can use these pics when you explain .
Regards.
Hi again SONY USERS !
There is my final video + link to my website with INFO , DIAGRAM , PICTURES --> HOW TO GET THIS WORKING
Link to website ---> https://sites.google.com/site/sonicboomworld/
Great work sonic!
Let me ask: if i simply put the resistor at the id pin, the scheme what I drew, my last post, will work? If you can say just looking at the scheme....
Thanks again BTW.
GregórioAxiaMagno said:
Great work sonic!
Let me ask: if i simply put the resistor at the id pin, the scheme what I drew, my last post, will work? If you can say just looking at the scheme....
Thanks again BTW.
Click to expand...
Click to collapse
Hi. Go on my Google website there is pretty good scheme any question just ask
Sent from my LT26i using xda app-developers app
Nice find! Great work .
So.. are you pretty positive it'll work on a Nexus 7? Has anybody tried it?
I do not have any powered USB 2.0 hubs, but if it'll work, I'd definitely buy one, I'd just like to know beforehand, if possible.
Anyone tried this yet with a N7?
mvmacd said:
So.. are you pretty positive it'll work on a Nexus 7? Has anybody tried it?
I do not have any powered USB 2.0 hubs, but if it'll work, I'd definitely buy one, I'd just like to know beforehand, if possible.
Anyone tried this yet with a N7?
Click to expand...
Click to collapse
Hi . Hmm i am 99% sure this should work without powered USB HUB ! according to my 2nd stage DOCK STATION , DIAGRAM HERE --> LINK
where maybe the problem ? yellow wire going straight through from pin 4 to pin 4 from one connector to another with resistor in the middle to enable OTG MODE using my HUB ! if this method will not work for you i would try to short PIN 4 and PIN 5 with RESISTOR on microUSB male connector going to your phone/tablet ...
sonic_boom said:
Hi . Hmm i am 99% sure this should work without powered USB HUB ! according to my 2nd stage DOCK STATION , DIAGRAM HERE --> LINK
where maybe the problem ? yellow wire going straight through from pin 4 to pin 4 from one connector to another with resistor in the middle to enable OTG MODE using my HUB ! if this method will not work for you i would try to short PIN 4 and PIN 5 with RESISTOR on microUSB male connector going to your phone/tablet ...
Click to expand...
Click to collapse
so I just put 100 K ohm resister in pin 4, then add the external power?
what cables or adapters should I buy? what would be the easiest setup of cables/adapters to then modify? I'm drawing a blank.. thx
sonic_boom said:
Hi. Go on my Google website there is pretty good scheme any question just ask
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Thanks man, you are amazing.
I have a question: my hub don't have the Id/Sense pin, where can I short the phone Id/Sense with the resistor? All my hub ports have 4 pin, but I can use all ports with the moded otg adapter.
Regards.
mvmacd said:
so I just put 100 K ohm resister in pin 4, then add the external power?
what cables or adapters should I buy? what would be the easiest setup of cables/adapters to then modify? I'm drawing a blank.. thx
Click to expand...
Click to collapse
I would recommend you MicroUsb to normal USB SAMSUNG DATA CABLE. I damaged already so many data cables . But SAMSUNG cable got little board on MicroUSB side . Plug is easy to open. I will do diagram for you soon ok.
GregórioAxiaMagno said:
Thanks man, you are amazing.
I have a question: my hub don't have the Id/Sense pin, where can I short the phone Id/Sense with the resistor? All my hub ports have 4 pin, but I can use all ports with the moded otg adapter.
Regards.
Click to expand...
Click to collapse
Same thing I will draw another diagram for non powered hubs
Sent from my LT26i using xda app-developers app
Thanks for reply Sonic. Just to explain better, I'm uploading the diagram of my situation. I don't know where to connect the ID/Sense.

USB Host / OTG working (UPDATE: now self powered)

Update October 28,2012:
h8rift figured out how to enable full OTG support with 5V power, no need for y-cable anymore!
You need to use a modified kernel for self powered OTG. Stock kernel has OTG but needs a y-cable connected to 5V power source, as explained below.
To enable powered OTG, you will need to use one of the following:
CM10 Nightly builds: http://forum.xda-developers.com/showthread.php?t=1790032
King Kang ROM: http://forum.xda-developers.com/showthread.php?t=1959099
rohan.kernel: http://forum.xda-developers.com/showthread.php?t=1892108
For Sense ROMs: http://forum.xda-developers.com/showthread.php?t=1967897
______________________________________________
To use OTG with stock kernel:
Here's what you need:
-an OTG cable
-a USB Y-cable
-a usb perhipheral (eg: mouse, keyboard, thumb drive, etc)
The key to this working is 5V on the uplink to the phone. Most usb hubs do not supply 5V on the uplink! This is why I suggest a Y-cable.
1. connect the perhipheral device to the Y-cable
2. connect the y-cable to the AC power adapter that came with your phone
3. connect the other end of the y-cable to an OTG cable
4. connect the OTG cable to your One X
Here's a screenshot showing the mouse pointer:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notes:
-the OTG cable automatically sets the USB controller to host mode
-usb-hid seems to be built into the kernel, no modules need to be loaded
-usb storage works, but has to be mounted manually
-tested on stock kernel and scrosler's cleankernel
Cool. Kinda sucks that you need a separate 5v source.
^^yeah, there's not much you can do about that. I'm pretty sure there's no way the phone can supply the power.
Also, I can confirm usb storage works.
I attached a thumb drive and manually mounted it:
mkdir /mnt/usb
mount -t vfat /dev/block/sda1 /mnt/usb
Where did you get that clock?
Sent from my HTC One X using xda premium
flar2 said:
^^yeah, there's not much you can do about that. I'm pretty sure there's no way the phone can supply the power.
Also, I can confirm usb storage works.
I attached a thumb drive and manually mounted it:
mkdir /mnt/usb
mount -t vfat /dev/block/sda1 /mnt/usb
Click to expand...
Click to collapse
Any OTG cable is fine?
Sent from my HTC One X using xda premium
abhipati said:
Any OTG cable is fine?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Any proper OTG cable (I got mine for like $3 on ebay). In an OTG cable, pin 4 on the micro usb side is grounded. This is how the device automatically senses that it should enter host mode.
nightrainbow said:
Where did you get that clock?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Are you being serious? (It came with the phone)
But it has a brushed aluminum theme, no? So it's not stock.
Sent from my HTC One XL using Tapatalk 2
The Galaxy S II supplies power for USB host with a OTG cable ... stock
This is like the way you have to do it with a TouchPad, who carries around a portable USB power supply? If HTC wasn't going to give a MicroSD slot, you would think USB OTG would be officially supported.
Sent from my HTC One X
Does the phone at least charge in this mode so its somewhat useful?
ECEXCURSION said:
But it has a brushed aluminum theme, no? So it's not stock.
Sent from my HTC One XL using Tapatalk 2
Click to expand...
Click to collapse
Yeah, it's stock, part of the Aluminum theme.
Sent from my HTC One X using XDA Premium HD. In between Force Clo...
Vendetta-NY said:
Yeah, it's stock, part of the Aluminum theme.
Sent from my HTC One X using XDA Premium HD. In between Force Clo...
Click to expand...
Click to collapse
Oh.. didn't realise there was such a thing.
It doesn't charge while in host mode, but I think that function might be enabled with a little kernel hacking.
I'm not familiar with the hardware yet, I just got this phone a few days ago. The USB controller is likely part of the soc. There would be a phy between the main chip and the USB port. The phy is where voltages would be controlled. There are many different phy's available, each has different capabilities.
flar2 said:
It doesn't charge while in host mode, but I think that function might be enabled with a little kernel hacking.
I'm not familiar with the hardware yet, I just got this phone a few days ago. The USB controller is likely part of the soc. There would be a phy between the main chip and the USB port. The phy is where voltages would be controlled. There are many different phy's available, each has different capabilities.
Click to expand...
Click to collapse
can you please be more clear in your explanation as i don't understand
saketh91 said:
can you please be more clear in your explanation as i don't understand
Click to expand...
Click to collapse
I'm saying that the usb phy, which is a physical chip that controls the micro usb port, might be able to be programmed to allow charging while in otg mode by modifying code in the kernel. But I don't know enough about the phone's hardware.
I think, but don't know for sure, that there is a signal in the usb cable that tells the phone whether it's connected to a normal usb port or an AC adapter. The phone will draw a small current if it's connected to a computer usb port and a larger current (to charge quicker) if it's connected to the wall charger. Perhaps there is a resistor or short between D+ and D- lines? I don't know, more research is required. If anyone knows, feel free to contribute here.
What I do know is that when you connect the otg cable, a pop up comes up saying charging is disabled.
The at&t S3 supports USB OTG w/o external power. Plugged in a mouse, it worked. Keyboard same thing. Plugged in SD card reader, S3 mounted the card and file browser opened. It was pretty cool.
FreddieP said:
The at&t S3 supports USB OTG w/o external power. Plugged in a mouse, it worked. Keyboard same thing. Plugged in SD card reader, S3 mounted the card and file browser opened. It was pretty cool.
Click to expand...
Click to collapse
Basically all Samsung Android phones from Galaxy S2 onwards support USB OTG out of box.
HTC follows Google's route that doesn't support any USB OTG out of box (Nexus N7 doesn't have USB OTG OOB) for whatever reason.
The only reason I'm interested in USB OTG is to use an external storage when I'm traveling, e.g. on a flight. The requirement of an external 5v supply basically kills it for me. It would scare the heck out of fellow passengers when they saw me plug some wires to the phone connecting to some external battery pack and storage card
My reason for wanting otg is so I can backup and review photos from my DSLR camera when I'm on trips. The external power requirement is an annoyance, but I can easily deal with it back in the hotel room.
I wonder what the current threshold is to get the USB controller to think it is charging?
Would this work: attach a watch battery of the correct voltage and a resistor to limit current draw to one side of the splitter and have a device (battery, resistor, splitter, OTG cable) that's not all that big.
I too would like to access digicam SD storage via my phone for minor edits and uploading.
foxbat121 said:
The only reason I'm interested in USB OTG is to use an external storage when I'm traveling, e.g. on a flight. The requirement of an external 5v supply basically kills it for me. It would scare the heck out of fellow passengers when they saw me plug some wires to the phone connecting to some external battery pack and storage card
Click to expand...
Click to collapse
LOL that is worth doing just for the lol involved make sure you wear a turbin on the flight too for added effect and sit there speaking gibberish the whole time as well! Actually you should pull the battery supply from your turbin HAHAHA
On a serious note: I can't wait for OTG to hit our device either we really could use it and rohan32 is trying to work it into his new kernel possibly.

OTG Cable max length?

Hi
What is the maximum length can an OTG cable have?
if I make an OTG cable with a length of 1-2 meters, will it work? ,
the load is just a flash drive .
Thank you.
The length of the cable which you can create is only limited by your resources and by the ability for the electricity to go through it. Therefore, you could make a 2 mile otg cable if you knew how. So to answer your question, if you can make one yea it will work.
Thulfiqar92 said:
Hi
What is the maximum length can an OTG cable have?
if I make an OTG cable with a length of 1-2 meters, will it work? ,
the load is just a flash drive .
Thank you.
Click to expand...
Click to collapse
There already exists a wonderful awesome cable - check this out http://www.amazon.com/Aukey-6-6Ft-P...&redirect=true&ref_=oh_aui_detailpage_o00_s00
Matthew M. said:
The length of the cable which you can create is only limited by your resources and by the ability for the electricity to go through it. Therefore, you could make a 2 mile otg cable if you knew how. So to answer your question, if you can make one yea it will work.
Click to expand...
Click to collapse
today I made an OTG Cable (1 meter ), I attached it to my LG G3 but it was not recognized by the phone, I used the multimeter to check if there was any voltage coming out of the Red and black wires but there was 0 voltage?
is there something I should do in the Software of the G3 to enable OTG cables ?
Thulfiqar92 said:
today I made an OTG Cable (1 meter ), I attached it to my LG G3 but it was not recognized by the phone, I used the multimeter to check if there was any voltage coming out of the Red and black wires but there was 0 voltage?
is there something I should do in the Software of the G3 to enable OTG cables ?
Click to expand...
Click to collapse
No clue, this is a gs4 forum. The most likely problem if there was no voltage would be something wrong with the wires.
Sent from my SCH-I545 using XDA-Developers mobile app
Matthew M. said:
No clue, this is a gs4 forum. The most likely problem if there was no voltage would be something wrong with the wires.
Sent from my SCH-I545 using XDA-Developers mobile app
Click to expand...
Click to collapse
ok, So in your Galaxy S4 the OTG function is enabled out of the box (Plug n play) ?
yes, it is.
I think... I don't remember how stock is now LOL
Thulfiqar92 said:
ok, So in your Galaxy S4 the OTG function is enabled out of the box (Plug n play) ?
Click to expand...
Click to collapse
Yes, using the stock sammy ROM it worked with no extra software or messing about (probably with other roms too).
However, in the sammy rom UMS (usb storage when connected to PC) didn't work how I wanted it to, so I migrated to a CM rom where UMS will work.
However with CM, usb OTG needed a little "help", and I had to use chainfires Stickmount app to re-enable it, but having to option to use both (albeit with an enabler-app) is better than only one or the other.
Please i ve an OTG cable ba my s4 verizon hyperdrive ROM does nt recognize it. Pls help me awt
Joshsel said:
Please i ve an OTG cable ba my s4 verizon hyperdrive ROM does nt recognize it. Pls help me awt
Click to expand...
Click to collapse
I'm not familiar with the Verizon variant, but a quick search brought me to the XDA thread for Hyperdrive KK RLS21, and apparently it's pre-rooted, yes?
That being the case, I would try using either Stickmount, by Chainfire, or perhaps USB OTG Helper.
(I note one reviewer of USB OTG helper actually states that it only worked for him when he used both apps in conjunction, but doesn't state his specs so we can't make any real judgements there)
As root-only apps, when you try them, be sure that you grant them superuser permissions (you should also see a little notification of this after every reboot also).
Finally, be careful careful careful about letting the OTG cable disconnect, or fall out of the USB port of your phone... The device will see this as it being disconnected without unmounting, and it does not like this, not one little bit...
I've had a right hell of a time getting OTG to work on my device lately, so I don't speak from technical knowledge, only end-user experience, but once you get it working, be really careful to go into storage settings, and manually "unmount USB storage" every time you want to remove the OTG cable.
Hope some of this helps dude...
Thanks everyone, I got it to work, the 2 meter cable was faulty , The max length I managed to get is 1 meter, I didn't try any longer cables
Is there a limit to how many USB devices can be used at once?
For example: If I used a USB hub, would two controllers and a thumb drive all be recognized and work all at the same time?
Tommy807 said:
Is there a limit to how many USB devices can be used at once?
For example: If I used a USB hub, would two controllers and a thumb drive all be recognized and work all at the same time?
Click to expand...
Click to collapse
In theory it *should* work, I've seen examples of it being used like that before but I'm fairly positive it would need to be a powered hub...?
I have a cheap, non-powered 4-way USB hub, when I get home from work tonight I'll try it out with multiple USB devices and let you know.
This forum discussion seems to indicate using multiple USB devices could work, assuming your ROM supports OTG...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Pic of multiple devices being used at once - different Sammy phone but proof of concept
Game Controllers? I'm guessing you're thinking about storing games on the pen-drive and then using the controllers on your phone to make a gaming device?
I'd be very - very - interested to hear how you fair with that!
I know that some games, like San Andreas support joypads on android right out of the box, whereas others might want you to use a joypad/controller app such as USB/BT Joystick Center Gold (sorry, can't find a link to that right now).
As i said, I'd love to hear how you get on as it's something that interests me also - promise to come back & report what you find?
My purpose was to run two XBox 360 controllers via the USB hub via the OTG cable along with the thumb drive for a console game emulator. One might ask why not just try it, but I'm lacking some components currently.
Tommy807 said:
My purpose was to run two XBox 360 controllers via the USB hub via the OTG cable along with the thumb drive for a console game emulator. One might ask why not just try it, but I'm lacking some components currently.
Click to expand...
Click to collapse
Ok, that's annoying!
So I tried my device (rooted S4 i9505 using CM12.1, running Chainfire's Stickmount app to get OTG working).
Used my un-powered USB hub, with both a 32gb USB pend drive, and a microsoft USB mouse at the same time.
Each device (mouse and drive) works fine when directly connected via OTG.
However, hook them both up via the USB hub, and no dice.
If both devices are attached to the phone using the un-powered USB hub, then only the mouse is recognised - the USB pen drive is not recognised. Stickmount detects zero active mounts.
In addition, I had some strange behaviour from the phone when both devices are hooked up..
Loooong boot times, Novalauncher not wanting to draw to the screen, and to top it off, the phone no longer recognises my SD Card...
I don't actually have a powered USB hub to test with, so I can't really go any further for you on that score right now Tommy.
My initial "suspicion" is that you'll need a powered hub if more than one device is going to be used at a time.
I do happen to have two PS2 joypads, plus a joypad-to-USB adapter (so I can play emulator games on my PC)...
.... so later tonight I'll try hooking up 2x Jopypads>Adapter>OTG Cable>Phone & see if they can be detected.
BigJim.T32 said:
no dice
Click to expand...
Click to collapse
Thanks for taking the time.
@BigJim.T32
By the way, you seem to think power is the issue, I doubt it. If anything, the phone battery would die quickly, but devices should be recognized. More than one device should be recognized. In fact, the phone is lost and doesn't know what to do with all things connected (as you've said). That sounds like OTG limitations to me. OTG was never designed to run so many things at once is my guess.
OTG functionality was probably just a nice afterthought feature to allow one small connection. Anyway, what do I know? I'm just guessing based on your tests and statements. That doesn't mean that's the way it's going to always be, but that's probably the way it's going to always be with the GS4.
Tommy807 said:
@BigJim.T32
By the way, you seem to think power is the issue, I doubt it. If anything, the phone battery would die quickly, but devices should be recognized. More than one device should be recognized. In fact, the phone is lost and doesn't know what to do with all things connected (as you've said). That sounds like OTG limitations to me. OTG was never designed to run so many things at once is my guess.
Click to expand...
Click to collapse
I would have imagined you're correct; And you seem to hit the nail on the head with your analysis - when both devices were connected to the phone via OTG, the mouse took priority, over both the regular SD Card and the mounted USB pen drive, leaving the phone unable to detect either of the two storage options. Came as a surprise when I connected both deices to the phone, checked CM's file manager and couldn't even see my micro SD card in the list, even after a reboot...
The reason I initially suspected that a powered USB hub would be the next place to try (and I hasten to add it's only a suspicion, I have no experimental experience to go on) is only because I've seen photos of other, older Sammy phones simultaneously using both a mouse and USB drive connected via OTG on other sites/forums... And I figured, if they can do it, we *should* be able to do it too! :laugh:
Sorry, I've not had chance to test with my cheap-ass playstation 2 joypad adapter yet (been at the GF's all weekend - boo!) but I promise I'll test it soon as I can and report back here; hell, I want to know for my own benefit too.
Thulfiqar92 said:
Hi
What is the maximum length can an OTG cable have?
if I make an OTG cable with a length of 1-2 meters, will it work? ,
the load is just a flash drive .
Thank you.
Click to expand...
Click to collapse
Maximum length of USB 2.0 cable:
USB 2.0 Connectors (Plugs)
The 2.0 specification limits the length of a cable between USB 2.0 devices (Full Speed or Hi-Speed) to 5 meters (or about 16 feet and 5 inches). In other words, you cannot just connect a bunch of extension cables together (like taking a 6 foot cord and extending it with 4 other 6 foot extension cords) and run them 30 feet to another room. However, you can connect a 6 foot cable with a 10 foot extension cable for a total of 16 feet, which is below the maximum cable length for USB 2.0.
Back to Top
Maximum length of USB 3.0 / USB 3.1 cable:
USB 3.0 Connectors (Plugs)
The 3.0/3.1 specification does not specify a maximum cable length between USB 3.0/3.1 devices (SuperSpeed or SuperSpeed+), but there is a recommended length of 3 meters (or about 9 feet and 10 inches). However, the biggest limitation to the length of the cable is the quality of the cable. Results may vary, but with a high quality cable you should be able to go beyond 3 meters. However, to ensure you achieve the best results possible, use an active cable when going more than 10 feet (3 meters).
I got this from some website - Google is your friend! :good:

Ugreen USB C hub

Ugreen USB C hub
Hi guys,
I recently got this nice hub, so I thought I could share it with you, because it is really cheap compared to Samsungs' original parts. I got it for around 20$ from someone who was selling it new, but they go for around 25-30$.
It allows you to use DEX mode and it has all the necessary ports -> HDMI output, DC input, several USBs, some even have ethernet ports and SD card ports, but I don't care about them.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here are some example links, but it can be bought from different stores:
Ugreen USB C hub - Ebay
Another Ebay link
Aliexpress Link
I hope some of you find this useful.
xchatter said:
Ugreen USB C hub
Hi guys,
I recently got this nice hub, so I thought I could share it with you, because it is really cheap compared to Samsungs' original parts. I got it for around 20$ from someone who was selling it new, but they go for around 25-30$.
It allows you to use DEX mode and it has all the necessary ports -> HDMI output, DC input, several USBs, some even have ethernet ports and SD card ports, but I don't care about them.
Here are some example links, but it can be bought from different stores:
Ugreen USB C hub - Ebay
Another Ebay link
Aliexpress Link
I hope some of you find this useful.
Click to expand...
Click to collapse
Thanks does it charge the phone while in use ? Let's say your using Dex ??
N1NJATH3ORY said:
Thanks does it charge the phone while in use ? Let's say your using Dex ??
Click to expand...
Click to collapse
Hi there,
Yes, it has a charging port and it works.
Cheers!
This thread is pretty old, but I'm finally looking at upgrading and have some questions about the Ugreen UCB C / USB 3.1 + HDMI Adaptor.
I'm looking at the USB C - 5 Port Adaptor here:
https://www.amazon.com/UGREEN-Adapter-MacBook-Matebook-Chromebook/dp/B077FZQS95
In the notes it says that
USB C PD fast charging is only for laptops but not for phones. Phones only support normal charging.
Do NOT recommend you charge phone through USB 3.0 port as USB port only can only offer max 1.5A current and will charge your phone slowly
So I'm trying to figure out, is this like a powered USB hub that needs a PD brick to power the hub and then the hub powers the tabled (with 1.5A max), and separately powers the HDMI adaptor, UCB 3.1 devices etc., or is this a power-pass through that powers the tablet (slow) and then the tablet powers the USB devices?
In other words, is there an advantage to buying a $20-30 PD wall brick to power this hub, which the tablet doesn't support, or am I as good as I'm going to get with the original Samsung Lightning charger that came with the tablet?
Thanks,
Joe
Another possibility ...
https://www.amazon.de/gp/product/B07PWMDTFF/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
* charging OK
* DeX OK, you can use mouse + keyboard, or phone as trackpad
* HDMI video / audio out OK (or you can choose audio out via phone jack, sounds better)
* card reader
* NEEDS POWER SUPPLY!
PetrSP7 said:
https://www.amazon.de/gp/product/B07PWMDTFF/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
* charging OK
* DeX OK, you can use mouse + keyboard, or phone as trackpad
* HDMI video / audio out OK (or you can choose audio out via phone jack, sounds better)
* card reader
* NEEDS POWER SUPPLY!
Click to expand...
Click to collapse
So this is interesting in that the British version has a warning:
Please read carefully before use:
Use the original AC adapter of your device to charge your device via the USB-C Power Delivery Port on this hub
The Tab S4 (my device) original charger is NOT a 100W PD charter it is a Samsung Lightning Charger not quite QC 2.0.
Again, it isn't clear to me whether these PD powered hubs are acting as pass through for the power to the tablet/phone, and then the tablet powers the peripherals that are plugged in, or if it is a powered hub, that independently powers the peripherals and the tablet/phone - and is smart enough to power the tablet/phone with QC 2.0.
The UGREEN adaptor implies that PD is downconverted to QC 2.0, but doesn't say anything about the peripherals. This FLYLAND hub says not to use a PD charger at all.
This is So much more complicated than it should be!
Joe
I am using Tp-Links usb 3 hub, it works great. It uses external power source and its not draining too much power. Ugreen has only 10cm long cable. So pros and cons.
---------- Post added at 07:42 PM ---------- Previous post was at 07:41 PM ----------
Ugreen has good solutions also
I have used a number of different USB Type-C docking station with my Note 8 N950N and they all work with Dex Mode. It even worked using a official Lenovo ThinkPad Type-C dock station.
This update continues:
I've been using Hub Ugreen CM511 for 3 months. I connect (in addition to my laptop) monitor, speakers, mouse and keyboard, sometimes a flash drive. I'm satisfied, each input works, file transfer without lag and it doesn't heat up. Any questions?

Categories

Resources