yashsingh1/xdaforums huggingface dataset:
[Android General] jucares:
Hi I am trying to build a Y cable for my xperia P but I can't get it work properly.

Firstly is there an specific order in connecting all the devices what should I connect first?

The power supply? the device (mouse, usb memory, keyboard, hub)? the android?

I tried different ways but no luck. (Actually the only thing working was the charging I also try

with 100K and 124K resistors)

By chance today i left everything connected and reboot my xperia ... and voila works

my android was charging and at the same time I can use a mouse :)

so my question is: I have to reboot my android every time I want to use a usb device??

Thanks
[Android General] My1xT:
does someone know which value I should use for my international Galaxy Note 2 (GT-N7100)???

and does OTG or charging still work if the other one isnt connected???
[Android General] SkeptikAlien:
Sony Xperia S

I don't understand something...I wanna' make a usb hub with OTG and charge, for SXS, but I don't understand why the hub has 5 connectors/pins in your diagram and where does the ID/SENSE pin, with the resistor, goes in the hub?

Another thing/problem is how to make an external powered hub from a non-external one, because I found a tutorial on the net with photos but it's not very clear(didn't understand how to bypass the power protection in the hub and reroute it.

Thanks and best regards

Hope
[Android General] My1xT:
it means that the ID and the GND have to be connected with the resistor, I think...
[Android General] SkeptikAlien:
Don't know what to say about that...maybe an update of the diagram would help...should help...:)...thanks
[Android General] My1xT:
there are other versions which show it correctly iirc one was @ p3
[Android General] sonic_boom:
Sorry i am busy as hell. I have 2 jobs, I don't have SXS anymore I don't even know where is my dock? .

In my case, my usb hub I didn't short pins 5 and 4 with resistor at the connector going to the phone. I just add another wire ( Id / sense pin normally us not in use). I connected ID/SENSE at the phone connector to ID/SENSE at the HUB connector. I plugged in - let it work and everything was working for me perfect. That's mean Pins 4 and 5 are shorten inside the hub.

I have got tons of email from people saying it was easy to make using diagrams. But there is also little group of people struggling to get this working, in some cases wrong resistor value is the problem. Wrong USB HUB probably without external power source may cause an problem. But the most common problem is HUMAN
[Android General] SkeptikAlien:
Sorry for my request...I didn't wanted to create a big fuss...

I guess there are usb hubs with 5 connectors(ID included), mine doesn't have so many...

These days I'm gonna' try to put it all together...and see what happens...

I want to make a portable usb hub(dock) with audio capabilities, OTG, 3 available usb ports and charging, powered by a solar battery backup for my phone...I already designed the case, speakers...almost everything...my only problem is the OTG on non-powered usb hub

PS

Sorry for my bad english...I'm romanian...:)
[Android General] tigger69:
I have a xperia s, could some please give me a diagram how to make a y cable please, one end micro to phone, one end to charger and a female connector for usb stick etc. I have tried but it dont work. It says scanning usb disc but i cant access it, though it does appear to be charging. I had a 100k resistor between pin 4 and pin 5 on the micro (phone) end.

Thanks
[Android General] tigger69:
Thanks, I tried from that diagram I found on the net, but it didnt seem to work. It just said scanning usb disk for errors and i couldnt access it, it did seem to be charging though. I tried with pin 4-5 shorted and my usb stick worked fine. I will check my resistor is 100k and faff around with it.
[Android General] giesse1996:
htc one s?

Hello everybody

also i wanna use your wonderful information and experience, i want to make a dock for my htc one s (ville), does anybody know what kind of ...K ohm i should use/try ?

Tanks for this awesome thing that made my day!
[Android General] My1xT:
has the one S a Dock like that in ratail???

if not it could be impossible doing this coz the values are set by the manufacturer...
[Android General] giesse1996:
pSeatio Principal

thanks for your fast reply! yes there is a docking station, there are also ones for the one x, whick also can be used for the one s. How can i get to know what ... ohm the manufacturer has set? do i need to google for docking mode resistor or something?

Greetings
[Android General] My1xT:
its not like you can lose anything from trying...
[Android General] giesse1996:
ok,

Again thanks for fast reply! I don't have ones around, i am planning to buy usb cables / connectors and stuff all in 1 purchase coz there is not much of a store around me. So could you please tell me how i can find out how much ohm? Does the resistor need to trigger dock mode or not or is is something completely else?

Greetings
[Android General] My1xT:
I meant you can't lose nothing from trying to google it...
[Android General] paladjacool:
do you think this will work on my Xperia Acro s?
[Android General] unit254:
I think it could work because it works on nearly every other phone from Sony and Sony Ericsson ;)
[Android General] paladjacool:
thanks man,more power to you
[Android General] Ramprasathdj:
can u explain me how you connected it? and will usb keyboard work with hub?
[Android General] sonic_boom:
USB keyboard working perfect, check my website use diagrams and enjoy, its easy
[Android General] Mr. Blobby:
Hi, is otg + charging possible with htc one x? i need help please!
[Android General] Ichigo8149:
Hey dude, i tried a 4x usb hub with my Xperia U.....but all i got was an error "USB devices disabled error"

the hub can be powered externally, i Used Zebronics zebM44HB

can u help me out, please?!?!?
[Android General] yoshihat:
This looks sweet! i bet if you were to use it to copy files from a flash drive itd be really slow though.
[Android General] Ramirez22:
I try with LG G2 (D802) and don't work :(
[Android General] KrameX:
Hi sonic_boom, thanks for your diagrams. I have a problem using usb-otg + charging cable in an asus memopad 7hd,

can you please read mi thread? http://xdaforums.com/showthread.php?p=47538603

thanks again.
[Android General] checo79:
I try to make this cable for my xperia p

it work i can cherge the phone and read an usb key at same time.

but when i ry to connect an hd not work

resitor is 100k i try 120k but wont work.

without resitor whit only y cabnle cell read hd normally.

any idea?
[Android General] stsaerox:
http://www.miniinthebox.com/usb-female-to-micro-usb-male-and-usb-male-otg-cable-for-samsung-cellphones-and-others_p501624.html

Is the cable supposed to work like this? I bought this and it doesn't charge my HTC one S while a usb flash drive connected at the same time is working... I tested also on my old wildfire and it charges it(no usb host support).
[Android General] |>/\nte:
I want to try this out on my xperia tipo, but I don't know for sure if it supports usb on the go, as I haven't seen anything about that on the phone's "white bible" in sony's website. Does it?
[Android General] balaji_imagine:
Will this work ?

otg y cable with power. Can i do like i attached in image.

port is female usb. and other cable is my mobile's power adapter cable.

Can i connect then with colors and make otg y with charging?
[Android General] new_mvivek:
OTG + CHARGING for HCL ME TABLET

hi...

i want to make my own OTG + CHARGING Y CABLE

i have tried 100k, 68k , 36.5k resistors between PIN 4 (OTG ID ) and Pin 5(GND) at 68k my tablet {HCL ME} stratrs charging but in device mode...not as a host...

i have tried 2 k also but its gives me only charging...NOT HOST MODE..

Please suggest me ..how can i get that resister value which gives me OTG + CHARGING..

PLEASE GIVE ME THE VALUES FOR D+ AND D- lines also...

Is there any software solution for this..?
[Android General] new_mvivek:
OTG +CHARGING CABLE for HCL ME

Hi...

I am using HCL ME tablet..

i tried to make OTG CHARGING Y CABLE..by connecting resistors between PIN 4 and PIN 5 ...resistor values used are 100k, 68k 36.5 k ....but it gives me only charging at the value 68k and 36.5 k...not HOST mode...

i tried 1k and 2 k values also..but it gives me only HOST mode not charging....

PLEASE tell me the correct resister value between pin 4 and pin 5...

is any resistor for D+ and D- pin required..?

is any software change required which will make this task easy...?
[Android General] rajelectron:
i am completely new bee here ...

can some one point me where will i get USB Y cable for using OTG and charging at the same time in india?

i have tried the usb y cable available in ebay india but no luck it's only accessing the flsh drive but it'snot charging.... :(

Is there any readily available dock for the same where i can buy in india?

My device is XPERIA s and it has been rooted.

Thanks in advance.
[Android General] darkfader:
If it is used as light indicator, please correct the polarity and add two small arrows to the symbol in the schematic? (There are some circuits in which a non-LED is put in reverse to limit voltage (/-spikes))

Depending on the LED type, a different resistor can be used. Lower value for blue LEDs, because less voltage should drop across the resistor.

I would like to try making a charge/OTG cradle for my phone, but I realized that MHL video uses up the USB port...
[Android General] SavedByGrace:
I don't think it should hurt anything to put a resistor between Pin4 and GND. If anything you may burn a resistor, but electrically if Pin4 is normally connected to ground, it should be able to handle a fair amount of current or at least have protection in the phone hardware.

What I'm wondering is, has anyone tried sticking a variable resistor between Pin4 and 5 to make a "universal" USB OTG + Charging cable? =]
[Android General] geraldine:
hi
[Android General] Hermosa:
Congratulations and thank you for your sharing.
[Android General] Cyboy:
great efforts!�??????☝?

---------- Post added at 01:13 PM ---------- Previous post was at 12:19 PM ----------

i visited also your site,you are a noticable and gr8 man!

Update: i will have some modification over it and rrport you back ;)
[Android General] stsaerox:
HTC One S OTG + Charging not working

I've bought an OTG + charging cable that works with samsung galaxy S3 but not on my HTC one s. It recognises usb but it doesn't charge. What might be the problem?
[Android General] markthwain1797:
Hey,

i'm really new here too.

I'm using a Nexus 5 and a Y-cable. And it works, but only with CyonagenMod. No chance with any other Rom or Kernel by now.

Is this normal?
[Android General] kartofen:
Does not work as HOST mode on MEDIACOM M-810 iPRO 3G (alias CHUWI VX8 3G ).

Charge only.

Thanks

[IMG="No Power return"]http://s4.postimg.org/5boi2kdzh/Y_OTG_CABLE.png[/IMG]
[Android General] Ereniemis:
OTG + CHARGING Galaxy S4 WORKING

Hey there.

So, I tried to make some OTG cable....

I used 40,2K ohm resistor to achieve state "ADC_SMARTDOCK= 0x10, /* 0x10000 40.2K ohm */" SMARTDOCK, which allows charging and OTg at the same time. It works brilliantly. With this mode your mobile phone can't be discharged, because, when you disconnect the "power supply", the cable loses power and USB shuts down, so it doesn't work as normal OTG and can't work like that.

So... here is how I've done it.

I took standard Samsung power cable and connected the fifth and fourth pin on cable (SENSE and GROUND) with 40k ohm resistor. In local shop, they had only 39k resistor, so I bought 1k extra and soldered them together. (see pictures below). Then I took female USB connector (i used the one for circuit boards) and soldered it on the cable. (look at scheme, I tried my best in MS paint).

When you plug the cable in mobile, it switches after like... 3 seconds to the "DOCK MODE" and voilá, you have achieved what u wanted.

Ask any questions if you need something.
[Android General] tonymynd:
Hey Dude, I'm about to build this.

Let's see how it goes.
[Android General] frozenkyle:
not charging

i had tried all the diagrams but my xperia z1 doesn't charge at the same time i'm using my hub... idk if i had the wrong resistor or what... pls advice im really stuck..... sorry for my english....
[Android General] nussbaum:
Try 40k resistor as stated above. I still did not try that.
[Android General] porche944:
micro usb

Hi, can someone please help me out?

I purchased an OTG cable plus charging, it did not work and after searching about I ended up here.

So I cut the micro usb end open carefully and found only 4 pins. Pin's 1 and 4 give me +5 and -5. Am I supposed to cut the black cable (pin 4) and solder the 100K resistor onto it an then attach the other end of the resistor to pin 4?

Many thanks.
[Android General] nussbaum:
You have to connect pin 5 to 4 with a 40k resistor. If there is really no unconnected 5th pin in the microusb plug, get another plug.
[Android General] ramon.hugo:
Nexus 7 2013 OTG and charging at the same time

I have a Nexus 7 2013 rooted, default kernel, and I wanted to charge and use the mouse and keyboard - and other stuff - all at the same time.

I've tried a lot of things, ****ed up my Nexus a few times, and then the great discovery: I use a multi-reader and lots of stuff plugged into a usb-hub and the nexus just charges.

I use it as my computer. The thing is, it does not say its charging, but just charges.

Then you just plug a wireless Miracast and you have a full computer.
[Android General] Spades2006:
thank you. i ordered a dx OTG y-cable supposedly for galaxy s4 specifically, which will be the 4th different model y-cable i've tried. if it doesn't work i will have to do this. just bought a soldering iron too!

from your diagram it looks like resistors is connected only to pin 5, but pin 4 and 5 are connected to each other before in between resistor and the female USB and power source USB. is this correct?
[Android General] Ereniemis:
Hi,

The pin 4 (ground) is connected to the pin 5 (sense) through these two resistors. So I have soldered resistors together, then soldered one side to pin 5 and the other side to the ground cable (as seen at picture no. 1). (I don't know exactly what u mean. My pin 5 wasn't connected to anything in my cable, so I just burned a hole into the silicone in which the micro USB is sealed and soldered resistor on the pin).

And then the female USB connector is soldered on the RED (+), and BLACK (ground) cables and WHITE (data -) and GREEN (data +) cables.

The RED and BLACK goes also to the "charger" or MALE USB connected to power supply, so don't cut them. Just cut the GREEN and WHITE.

PS: I think the diagram is good enough to understand. So really the pin 5 is connected through the RESISTORS to the BLACK (ground)

If you still don't understand, ask differently and I will try to answer you again ;)

EDIT: SH**! The diagram is false!!! :D I see it now. Yeah I have drawn these resistors connecting the GROUND pin (5), not the SENSE pin (4)... I see it now, sorry. I will edit the diagram
[Android General] aviwdoowks:
Anyone got this working on newer Moto PHONES?
[Android General] beloadjoker:
xperia mini

Hy!

I want to make a cable for xperia mini st15i.

What diagram i need?

Sorry for my bad eng
[Android General] atonalfilm:
Hi guys.....i hope to find my rescue here. ...first, I got a very high knowledge about Android OS, but not electronic....;-(

Have anyone build a cable like this for a Samsung Note 3,S4/5/6 or a Teb with Micro USB? My Problem is, i want to record audio , drivers of Android supports now the most audio interfaces, so low latency recording is possible. The Problem is : Most Intefaces get powered over USB, and they need much battery power........ i try out all adapters, but always one mode is running, charge or usb host.......

Anyone can help me to build a cable for? Or will build me one, i pay for ? ..........
[Android General] BLiapis:
Hi, how about OTG (Hub) + Charger + MHL?
[Android General] thelegr:
Why not working like that which implements automatic recognition of usb charger connection and mode changing??

http:**imageshack.com*a*img911*2313*el5HgQ.jpg

http:**imageshack.com*a*img661*1885*tp38kb.jpg

change * with / because XDA blocking me of posting external links...
[Android General] Wesley_NL:
hey guys im quite intressed in this , what i didnt found is, if i have no charger my usb stick wont work right ? is there away to have an auto switch that phone powers the usb stick instead ? and if charger gets connected that charger split power to phone ans usb stick ?

i found something like this

USB OTG Y Cable

but i have another problem, i own an galaxy s6 edge+ and its charger is 5 or 9v so i don't think this will work for flashdrives it probaly uses some difrent wiring then regular usb chargers right ?

s6 edge+ charger
[Android General] Wesley_NL:
is this treath dead ?
[Android General] Pepzki:
Use the 3,5mm audio jack?
[Android General] zorro58:
Hello everyone.

Do you think that i could use a powered usb hub with an otg cable connected? Without using the splitter...

Like this one?

Hub USB Logilink UA0114
[Android General] transfo47:
The OP is really old, but I just want to say, [MENTION=2592315]sonic_boom[/MENTION], you are amazing for this. It's great to see hacking and innovation like this to make our devices easier to use, and props for freely sharing the info. When I have the right equipment, I might try this on my S6 edge, I only have a microUSB to microSD OTG right now and hate not being able to charge.
[Android General] bascho:
Lenovo A3500H

First sorry for my English.

Hi I am solderig all day without success . A can not start OTG and charging at the same time on my Lenovo A3500H. I tried with 36k Ohm, 100k Ohm, 200k Ohm. Does someone make it work for lenovo device ? I used this . Tommorow I think to put and one 1N4001 on the red wire between phone and device. But accept ideas.
[Android General] webmaven:
40k resistor

Can you provide a link to Amazon for the correct resistor?

This is what I found its 40.2k ohm 1/4watt 1%. would this work?

http://www.amazon.com/Metal-Film-Re...455290937&sr=8-10&keywords=40.2k+ohm+resistor

Or would 3 of these work 10kohm 1/2watt?

https://www.radioshack.com/products...-carbon-film-resistor-pk-5?variant=5717282565

You don't indicate what the watts should be.

Thanks
[Android General] Ereniemis:
Hello,

Personally, I would go with the 40,2k from amazon, because it has significantly higher precision. 5% at 10k (that's range from 9,5 - 10,5, and it can be completely out of the way with 4 in a serie). I've never bothered with the 'wattage', because it doesn't have any impact in my opinion.

EDIT: I've solved all my needs with this (it has even hdmi and card reader so...) http://www.ebay.com/itm/5in1-MHL-HD...330086?hash=item58cae817a6:g:4CwAAOSw9N1VzLeQ

And yeah, it recharges the phone aswell.
[Android General] webmaven:
Thanks for getting back to me. The other device is too big. I need something very, very small. I work for a museum and need to connect a tablet to power as well as an Arduino board. All this needs to fit and a small frame.

Thanks
[Android General] sativa123:
phone crashing because of bad otg connection

Thank you sonic boom, your technique is working for my device, which is a Logicom S450 (french brand, not very well-known). I had to use a 100 k-ohms resistor, and the adapter I modified is a Samsung U2. To get internet on my smartphone, I have to use an android app simply named Ethernet. However I cannot use the system because the connection with the otg cable is not very good and each time it disconnects from the smartphone, it causes the device to crash and I have to reboot it. Would someone have a solution for this ? The only idea I have at the moment is to find a micro-usb extension cable which would have a good connection with my smartphone, but this cable should have connected five pins connectors at both ends and it doesn't seem such a cable exist, so any help would be appreciated.
[Android General] Ereniemis:
I'm not sure with your device, but for example for SGS IV the MHL HDMI cables have 11 pin connectors, and I think, that pretty much all the pins on the connector are wired, but it's pretty expensive to buy some sort of this cable or adapter just because you need the cable... The price starts at around 10$ on ebay.
[Android General] sativa123:
Thanks Ereniemis, it's true it's a bit expensive considering I don't even know if it would work, but it looks like a good option and I will consider it. I would need a MHL adapter with a 5 pin connector and I saw one on amazon. If I try, I will send a feedback to tell if it worked.

EDIT : After having searched for more informations on the web, I'm not sure at all that MHL cables have 5 wired pins... I really don't know if what I am looking for exists, I can't find informations about that. If sonic boom has used a standard micro usb connector, I suppose that's because he didn't find a better cable either.
[Android General] Ereniemis:
You didn't say, how is your cable wired at this time, when it 'disconnects a lot'. Personally, I took the original Samsung cable, which has pretty good connection and I've soldered extra wire to the 5th pin and the connection was strong enough. Maybe just try to get a good cable and solder it again?
[Android General] sativa123:
Yes you're right, it seems what I am looking for doesn't exist so I think I will just try again with a Samsung cable. I just disassembled the connector to look what I did and it doesn't seem very clean so the problem could simply come from short circuits due to bad soldering... It's quite a precise job. I thought it came from the type of connector itself because I am used to bad connection with some otg models, but I could be wrong.
[Android General] Ereniemis:
With my phone (SGS4) I had problem with the phone connector, I ordered the micro USB to HDMI cable but the connection between phone and cable wasn't good, whenever I picked up the phone from table the connection was lost, so I've bought on ebay new "phone connector" for me it is http://www.ebay.com/itm/29163991572...49&var=590673280042&ssPageName=STRK:MEBIDX:IT

for 5$ and the cable works flawlessly. Maybe the problem can be also there, but I would start with resoldering the cable :)
[Android General] sativa123:
If I had to change the phone connector, I think I could hardly find one as my phone is quite rare...

Anyway, I resoldered the cable and bought a new usb-ethernet adapter, it looks like it works perfectly well now :victory: I am pleased, I really wanted it, it's like I have a second computer now. I wonder if some day the phone makers will be nice enough to add such a simple and useful possibility. But maybe too many people prefer wifi, unfortunately.
[Android General] Ereniemis:
Good job!
[Android General] spon901:
I have an Onda V711 clone using AMLOGIC 8726-MX CPU. I tried to use OTG and charge in same time but without luck. I tried using resitor between pin 4 of microUSB and GND using values from 0 Ohm ti 100 KOgm, but it did not work.

Until around 10 K OTG works, but no charge, after OTG not works anymore but it charge. I assume something should be changed in the kernel as well, but I have no idea what and also don't have firmware source for this tablet .

The firmware is 4.1.1

Does anyone have luck with AMLogic tablets?
[Android General] el_pablo:
I know this is an old thread, but I've found this for my dell venue 8 pro.

http://www.dell.com/en-ca/shop/accessories/productdetails/470-abes
[Android General] madhogg:
Hi. I want to add GPS dongle to my Ulefone Be X (chinaphone, android 4.4.2) and charge at the same time. I have read this thread i got me a variable resistor and some usb cabels and determined that at a value of 32kohm -> 100kohm - charges and at a value of 0kohm -> 31kohm USB OTG is active. I have to mention that the two states are not simultaneous. When charging starts otg stops.

Isn`t there a filme in the android system wich defines at what resistence it charges and at what resistence its otg?

Thank you!