yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Accessories] its.mahmud:
Hi. Thanks for reviewing :) I am using us galaxy s3 and just the stock touch wiz rom android 4.1.1.

And I received my mhl adapter. But when I am connecting it the tv screen going all black. Any suggestion about that?
[Galaxy S III Accessories] Logunn:
I'm pretty sure your buying the wrong MHL adapter. The Note II and the s3 have a different micro usb than any other phone and require the samsung

MHL adapter.
[Galaxy S III Accessories] schneid:
Not sure what you are trying to do?

Amazon sells a combo cable so you can use OTG and charge the device at the same time. I use it to connect a 1TB portable drive to my S3 and Tab 2 10.1.

I bought the official Samsung HDMI adapters for both devices. They are powered and stream over HDMI to my TV just fine. Works with just about everything I've tried although some services require some workarounds. Copy protection crap.

What you are trying to do sounds risky. You might fry the phone.

I apologize if I haven't grasped your intentions but I'm kind of slow.

Edit: I think I may get it now. Are you trying to power, feed external data through OTG and then stream out to an HDMI display?

Dumb question as I said I'm slow but, how about the official Samsung HDMI adapter and use the power in port with a powered OTG combo cable?

This one:

http://www.amazon.com/gp/product/B003WV5DMO/ref=oh_details_o04_s00_i00?ie=UTF8&psc=1
[Galaxy S III Accessories] its.mahmud:
i used a 11 pin to 5 pin convertor. but i guess i did something wrong while connecting the wires .

i will order new 11 pin to 5 pin adapter bcz i messed up this one :D
[Galaxy S III Accessories] its.mahmud:
what i am trying to do is, use otg , charge the phone and use hdmi at the same time. i thought it would be easy bcz samsung made new 11 pin connector in Galaxy s3 . so apparently its supposed to work ,as they are not using same pin for transferring data. But i dont have any idea about internal proses. while charging and otg at the same time is possible, dont you think we can connect hdmi with it in any way?

well all this is just guessing from my little knowledge. i want some suggestion from those who worked on this and correct my mistakes :)
[Galaxy S III Accessories] jlook73:
Maybe... it's a HDCP problem...

If your TV don't support HDCP function(or authentication failed), then MHL chipset will show a black screen

(HDCP : High-definition Digital Content Protection)
[Galaxy S III Accessories] Amanoo:
I was going to this topic, being all hopeful that I finally might get my S3 in OTG+Charge mode. And then it turned out it only worked on a phone still running 4.1.1. I have 4.1.2, and OTG+charge did work for me before, but it seems Samsung broke it in 4.1.2. It is probably the fault of the kernel that came with the XXELLC (a stock 4.1.2 ROM) update, but how to fix it is beyond me.
[Galaxy S III Accessories] its.mahmud:
Are you serious! I won't update mine then. I need to use that together! !! :(

Thanks for the information
[Galaxy S III Accessories] voyager20021:
Original mhl resistor was standard 1kohm just like the 5 pin cable is using. And like all other guys i removed that smd entirely and relaced it with 40.2 (actually just 40) ko resistor. So i guess if i shorted sense and ground the phone can't read the resistor anymore which makes it impossible to go into smart dock mode. Thats why i think we are not into smart dock mode and phone isn't charging? But we'll have to test that and i don't have the time. So please guys, post your results.
[Galaxy S III Accessories] voyager20021:
2-You must be right! In otg mode you cannot charge the phone because you need to power the device you connect to the phone via otg adapter. So shorting sense and ground makes our cable an otg adapter hence no power for charging even if we connect the wall charger. This must be software. This is why sammy needed a new mode, smart dock mode, with a different power management.

3-Enabling mhl mode too by connecting the tv without power means we have a hybrid state which is definitely not smart dock mode. In this otg+mhl mode is it possible for the phone to power our mhl cable? Is this why the mhl mode worked even after i unplugged the charger?

If all that is correct, how can we get to charge the phone at the same time? Cause if we can't the phone will discharge while connected and this is not what we want, right?

Well, it seems everything in that smart dock is power management related. If we crack this we can have a fully working smart dock mode.

The usb ports on the samsung smart dock must be powered from the wall charger too, like the phone is. This would solve the problem. But not for us.

So we get back to the old problem: how to enable the smart dock mode?
[Galaxy S III Accessories] Diim:
According to that pining (taken from there)

Pin 1 - Vcc

Pin 2 - USB - (Slave)

Pin 3 - USB + (Slave)

Pin 4 - Sense (40.2K Ohm)

Pin 5 - Gnd

(extended USB Part)

Pin 6 - ? (Audio/USB host?)

Pin 7 - ? (Audio/USB host?)

Pin 8 - DP (MHL +)

Pin 9 - DN (MHL -)

Pin 10 - MHL ID (connected to ID Pin of MHL Adapter)

Pin 11 - Gnd
​

There are 2 sense pin: 1 for USB, and 1 for MHL.

The USB sense pin which must be tied to ground in order to recognize the cable as an OTG one. Necomer has replaced the original short resistor by a 40.2K, in order to get into Smartdock mode)

The MHL ID pin. I have read there that this pin must be tied to ground with a 365K resistor.

What does the 11-to-5pin adapter do ? I assume it just passes through the 5 MHL pins of the 11pin connector to the MHL output connector (and I guess that is the case for the ID pin). (I haven't that adapter, so necomer, could you please confirm ?)

Your setup seems to be different from necomer's setup, since necomer use an external MHL to HDMI adapter which should include that 365K resistor.

Since you directly modify a 11pin MHL to HDMI adapter, I guess you should keep the 365K resistor.

That would be great if necomer and you could confirm that, since after the reading of many threads regarding that subject, it seems that most of people are confused about what we are talking about with the sense pins and the resistor.
[Galaxy S III Accessories] voyager20021:
How about this:

http://xdaforums.com/showthread.php?p=43964621

I didn't touch the 6 pin mhl side of the 11 pin connector. So if there is a 365 k resistor it should be there.

Another problem could be my resistor is only 40k and not 40.2k. I was hoping for some tolerance to be accepted. Maybe this is also an issue.
[Galaxy S III Accessories] Diim:
Ok, here are some news.

I have completely taken apart my smart dock (wasn't that easy), roughly analysed the PCB and performed some measurements on the MHL connector.

The MHL connector is soldered on a semi flexible ribon pcb, which is connected on the back side of the main PCB through a flat connector.

Here is what I can say for the MHL connector pining:

Pin 1: Vcc, coming directly from the wall charger input

Pin 2: Data pair n°1

Pin 3: Data pair n°1

Pin 4: Not connected !

Pin 5: Not connected !

Pin 6: Data pair n°2

Pin 7: Data pair n°2

Pin 8: Measured 914 Ohms to ground

Pin 9: GND

Pin 10: Measured 40.4K to ground

Pin 11: GND

For the number of each pin, I relied on the marking on the flexible ribon pcb at the connector end.

So either the marking on the connector ribbon cable is wrong, or the pinout given just above is false...

EDIT: Finally, I think the pin numbering on the ribon pcb is wrong.

If I reorganize the pin number with a more logical order, I get the following:

Pin 1: Marking=1: Vcc, coming directly from the wall charger input

Pin 2: Marking=2: Data pair n°1

Pin 3: Marking=3: Data pair n°1

Pin 4: Marking=10: Measured 40.4K to ground

Pin 5: Marking=11: GND

Pin 6: Marking=4: Not connected !

Pin 7: Marking=5: Not connected !

Pin 8: Marking=6: Data pair n°2

Pin 9: Marking=7: Data pair n°2

Pin 10: Marking=8: Measured 914 Ohms to ground

Pin 11: Marking=9: GND

So that seems to be more consistent.
[Galaxy S III Accessories] Diim:
In fact, according to my measurments, I think that should be a 1K resistor. But if you haven't touched this part, that does not matter.

Yes, that seems the right method.

Shorting D+ and D- is a method to inform the phone that a wall charger is connected so that the phone can take the current it needs (see the maxim application note I provide a couple of posts ago).

The sequence to let the phone charge while in OTG is described there as well.

And I can see on the smartdock board that the USB data pair goes to a small component (marking CWAX) which seems to switch between regular data pair and charger data pair. So that is probable the smartdock is doing that kind of sequence when plugging to the phone. In addition, switching the data pair to the charger as another benefit: In case of an intelligent charger, that let the charger tell the phone how much current the charger can supply during the sequence.

Another good thing

: As I sad in my previous post, the VBUS of the charger is directly forwarded to the phone. So that tends to confirm that power conflict between MHL adapter and USB OTG is not a real problem. (That was one of my concerns).

Perhaps you should update your plugging sequence:

1. Connect charger to MHL adapter

2. Connect MHL adapter to phone

Then both charger and HDMI out should work.

3. Then connect the USB device
[Galaxy S III Accessories] voyager20021:
I cannot connect usb otg and mhl separately. The usb wires are soldered on same 11 pin connector as mhl. I could only connect last the hdmi end to my tv which enabled mhl. So if i do that first and connect the 11 pin micro usb to the phone both mhl and otg will be connected at the same time to the phone. Connecting hdmi end on tv only enabled mhl (probably soft related or the hdmi end which also has the usb for charging on it's pcb does more).

Question: so if i short and unshort d+ with d- otg while mhl and otg working, would this enable charging too?

Anyone else messured the 40.2 resistor on their smart dock? I see Diim got 40.4 kohm so either this is the right value or tollerance is admitted. Necomer, can you confirm? I want to eliminate my 40 k resistor problem.

[MENTION=3725176]Diim[/MENTION]: could we use a variable resistor to test around the 40.2 k value, and if yes what should be the specs of that var resistor so we can have a larger marge to work with around that value?
[Galaxy S III Accessories] Diim:
I believe that on real MHL cable with MHL-enabled TV or with a MHL to HDMI adapter, the behaviour is the same.

I think the only difference from our setup is the 40.2K resistor.

As for the 40.4K value I measured, I believe the difference comes rather from the multimeter (and parasitic contact resistance during measurement) than from the resistor itself...

I don't think that will work. As stated in the routine detection (link in my previous post), the condition seems checked only at the beginning: VBUS and short between D+ D-. So if you do that later, that won't work (at least that is what is written).

But, just got an idea:

Just get a standard USB male plug and solder D- and D+ (you could take it on a standard USB cable). Leave GND and VBUS not connected on it (I'll suggest to insulate them to avoid unexpected short-circuit with other wires).

1. Then First plug that shorted plug on your adapter USB OTG port.

2. Plug charger on your adapter

3. Plug the adapter to the phone

4. Once the phone has started to charge remove the shorted usb plug (and eventually connect a device)

As for the HDMI cable, I believe you can plug it at any time...

If you can give that a try, I guess that should work...

---------- Post added at 10:46 AM ---------- Previous post was at 10:32 AM ----------

Just got another idea:

Since the only difference between normal MHL to HDMI adapter and our setup is the 40.2K, why not putting a switch on it ?

With that solution:

1: Disconnect 40.2K

2. Plug wall charger on MHL adapter

3: Plug MHL adapter on phone

4: Plug HDMI -> you've same setup as a regular MHL to HDMI adapter -> TV display + phone charging

5: Connect 40.2K and connect USB device -> There you've got OTG

So it seems we have 2 solution that are likely to work !

Note

: I think we should be carreful when shorting D- and D+ lines. I guess shorting USB transmitter chip outputs (either in phone or in USB device) is not so good, unless that is done during specific phases.
[Galaxy S III Accessories] voyager20021:
40.2 k resistor doesn't give me otg mode on the phone. Only shorting sense and ground does. If i leave just the resistor only mhl is enabled.

Mhl is enabled on the phone (the phone sees mhl cable and goes into mhl mode) only when hdmi is connected to tv. If only micro usb end is connected to phone there is no mhl mode on the phone.
[Galaxy S III Accessories] Diim:
So perhaps you are right, your resistor value is not precise enough. But at least, something is detected, since the behaviour is not the same with another resistance value.

However, when you plug the mhl adapter with the wall charger connected, the phone charges, right ?

Because that is the case for me, whether I plug the charger first or not, and that even when the HDMI cable is connected or not.
[Galaxy S III Accessories] voyager20021:
I don't think you understood right. I keep the resistor but the short is before it. So from what know in this case only the short is seen by the phone. Exactly like otg. The short is on the microusb. I practically bended together both ends of the resistor. So the resistor is not read at all. That's why i said someone should test without the resistor completely. So no smartdock mode if no resistor right?

If we enable smart dock mode problem solved. But we can't. This is some kind of otg+mhl mode because we don't have the charging working.

And the cause must be the .5 sec shorting sequence we talked about. If we could mimic that we probably could trigger smart dock mode. It's not only the resistor.

If someone wants only otg+mhl without charging then we probably have it!

---------- Post added at 08:24 AM ---------- Previous post was at 08:14 AM ----------

Have you shorted sense and gnd on the microusb connector or on the usb?
[Galaxy S III Accessories] Diim:
AHHHH OK. Sorry, I missed that detail for a couple of posts. Ok then I have read the thread again from your post #178.

So to sum it up from that post, if I understand right:

With your 11pin MHL to HDMI adapter, modified by truly shorting the USB sense pin (4) to Ground (0 Ohms), and soldering a cut standard USB OTG cable in parallel to the 11 pin connector (pins 1, 2, 3, 5), you have both HDMI and USB OTG outputs working simultaneously, and that without plugging the charger. (You are right, since the resistor is directly shorten at its ends, it does not come into play any longer).

The problem is the fact that you do not manage to charge the phone in any manner with the charger when your mod adapter is connected.

You truly shorted your 40K resistor, since you haven't managed to have the USB OTG output working with that resistor.

[=> But perhaps the value of your resistor was not precise enough to required 40.2K value ? Sorry, I haven't the time to open and modify my official samsung 11pin MHL to HDMI adapter, so I cannot test the range value with a potentiometer. But could anyone do that ? A potentiometer shouldn't be that hard to find (taking it from an old electrical appliance, or buying it at the local electronics component stores (or even on internet)).

I how right now ?

But some questions there:

Before you modified your 11pin MHL to HDMI adapter. Did it work ? I mean:

- Was that possible to charge the phone with it ? (that is the case with mine)

- Was that possible to use the HDMI output without plugging the charger (that is

not

the case with mine)

Because there were a 1K resistor tied to ground on the pin 4 right (before you replaced it by a 40K resistor) ?

So that is almost like a real short to ground, and thus there is no difference with your current setup with a real 0 Ohms short to ground.

[EDIT:] Actually, the difference between 0 Ohms and 1K matters (according to that post)

Have you tried to to short USB D+ and D- on the USB OTG connector at the beginning, as I suggested in that post.

Make sure first the D- and D+ pins of the 11pin connector are not connected to the MHL to HDMI adapter internal circuitry.
[Galaxy S III Accessories] voyager20021:
Now we are on same page!

I asked you before about using a potentiometer and which would be it's specs. You didn't answer.

11 pin mhl cable did charge before shorting sense and ground. And still does if i use the 40k resistor, but that means no otg. This is why i said otg and mhl at the same time won't allow charging except in smart dock mode. And if shorting the pins wont allow to use the resistor we cannot enable smart dock.

My resistor is only 40k not 40.2. It's the closest i could find. So if anyone can test with the exact 40.2 value please post.

Did not try to short d+ and d-.

Yes, mhl and otg work at the same time without charging when sense and ground are shorted and follow the sequence i posted. Unfortunately i don't have the time to test some more. If someone else could...
[Galaxy S III Accessories] Diim:
Correction of my previous post: actually the difference between a real short to ground and 1K resistor matters, according to that post:

I've just done some measurement on my MHL to HDMI adapter (samsung official 11pin for GS3/GN2) connector (with a small needle).

- 1K to ground on pin 4.

- Pins 2 and 3 (D- & D+) seems not connected (no pin). => So if that is also the case for you, you can short D+/D- at the beginning without any conflict.
[Galaxy S III Accessories] voyager20021:
1k resistor=mhl mode

Short=otg mode

Tried again to short/unshort both ends of the resistor while connected to the phone and i heard the connecting sound then the phone froze. Twice.

Tried to short d+ d- while connected and nothing happened. In fact i could not enable again both mhl and otg. It seems my "can of worms" is the fault. Too long wires and i think i have some touching each other. This is definitely not stable.
[Galaxy S III Accessories] agentfusion:
I just made my own diy dock... well, sort of. What I actually did was gut my old Samsung oem dock for the captivate and sure enough, it tripped dock mode perfectly.

Because of the pin changes, usb audio doesn't work, but that bypasses the DAC anyway so USB audio is a freaking joke. I took the small board, cables, connectors, and blue charging led out of the captivate dock and built a pretty ugly replica of it with the right dimensions for the s3. It's ugly as sin, but not bad with just one tiny Philips screwdriver, some electrical tape, and a huge box of leftover business cards from when I worked in the AT&T corporate office. I'd say it was a success.

Again, hideous as hell but it works. Charges my s3 just as fast as a wall wort, trips dock mode, and holds the phone well. I also put a Velcro strip on the bottom to stick it on my dash with the ratcheting part of a car dock to keep it from bumping loose, and with the audio port on the phone exposed, I still get to listen to my tunes!
[Galaxy S III Accessories] voyager20021:
This would be just a simple charging dock, right? No mhl or otg. If so, you're on the wrong thread mate!

---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------

Oh, and the photo is ugly too!
[Galaxy S III Accessories] agentfusion:
I'm waiting on my otg cable now to add otg functionality, but it can be used for data transfers, charging, etc. It's not a "multimedia dock" (yet) but honestly, I'm not sure what the point of MHL is on a dock anyway. That seems a rather cumbersome alternative to a simple usb->hdmi adapter, most adapters even including a mircoUSB port for charging while using it.

You are right though, I *was* meaning to post that in a completely different thread altogether. Opened the wrong tab in Opera on my phone.
[Galaxy S III Accessories] jmelan:
not sure if it would be helpful, but the resistor values in here look very familiar. Also seem to describe options for activating different modes:

http://cache.freescale.com/files/analog/doc/data_sheet/MC34825.pdf?pspll=1

...nevermind the link above is really old, although the resistor values must be standard

here is what i found for the resistor values for the i9300 (must be the old version) and i9505

from: /drivers/misc/max77693-muic.c

i9300

enum {
ADC_GND	= 0x00,
ADC_MHL	= 0x01,
ADC_DOCK_PREV_KEY	= 0x04,
ADC_DOCK_NEXT_KEY	= 0x07,
ADC_DOCK_VOL_DN	= 0x0a, /* 0x01010 14.46K ohm */
ADC_DOCK_VOL_UP	= 0x0b, /* 0x01011 17.26K ohm */
ADC_DOCK_PLAY_PAUSE_KEY = 0x0d,
ADC_SMARTDOCK	= 0x10, /* 0x10000 40.2K ohm */
ADC_CEA936ATYPE1_CHG	= 0x17,	/* 0x10111 200K ohm */
ADC_JIG_USB_OFF	= 0x18, /* 0x11000 255K ohm */
ADC_JIG_USB_ON	= 0x19, /* 0x11001 301K ohm */
ADC_DESKDOCK	= 0x1a, /* 0x11010 365K ohm */
ADC_CEA936ATYPE2_CHG	= 0x1b, /* 0x11011 442K ohm */
ADC_JIG_UART_OFF	= 0x1c, /* 0x11100 523K ohm */
ADC_JIG_UART_ON	= 0x1d, /* 0x11101 619K ohm */
ADC_CARDOCK	= 0x1d, /* 0x11101 619K ohm */
ADC_OPEN	= 0x1

i9505

ADC_GND	= 0x00,
ADC_MHL	= 0x01,
ADC_DOCK_PREV_KEY	= 0x04,
ADC_DOCK_NEXT_KEY	= 0x07,
ADC_INCOMPATIBLE1_CHG	= 0x08, /* 0x01000 10.0K ohm*/
ADC_DOCK_VOL_DN	= 0x0a, /* 0x01010 14.46K ohm */
ADC_DOCK_VOL_UP	= 0x0b, /* 0x01011 17.26K ohm */
ADC_DOCK_PLAY_PAUSE_KEY = 0x0d,
ADC_VZW_USB_DOCK	= 0x0e, /* 0x01110 28.7K ohm VZW Dock */
ADC_SMARTDOCK	= 0x10, /* 0x10000 40.2K ohm */
ADC_INCOMPATIBLE2_CHG	= 0x11, /* 0x10001 49.9K ohm */
ADC_AUDIODOCK	= 0x12, /* 0x10010 64.9K ohm */
ADC_CEA936ATYPE1_CHG	= 0x17,	/* 0x10111 200K ohm */
ADC_JIG_USB_OFF	= 0x18, /* 0x11000 255K ohm */
ADC_JIG_USB_ON	= 0x19, /* 0x11001 301K ohm */
ADC_DESKDOCK	= 0x1a, /* 0x11010 365K ohm */
ADC_CEA936ATYPE2_CHG	= 0x1b, /* 0x11011 442K ohm */
ADC_JIG_UART_OFF	= 0x1c, /* 0x11100 523K ohm */
ADC_JIG_UART_ON	= 0x1d, /* 0x11101 619K ohm */
ADC_CARDOCK	= 0x1d, /* 0x11101 619K ohm */
ADC_OPEN	= 0x1f
};
[Galaxy S III Accessories] verynoob:
Can you charge the i9300 using the mhl + otg?
[Galaxy S III Accessories] its.mahmud:
Sorry for very late post. Was been busy with work and school . Final test all that.

Btw I rebuilt the cable and tested.

I tested the cable in a new way which works with galaxy s4

I connected sence pin and gnd pin with 40.2k resistor and also keep extention to sort them together. So when you sort them together it will work as usb otg. And when you unsort them, it will read as 40.2k. With this cable, I was able to get smart dock mode in galaxy s4.

Few days ago I tried in one of my friends galaxy s3 4.1.2 and it didn't work.

Idk why. Even 4.1.2 is not detecting anything when I connect 40.2k resistor only.

I have no idea why.

So this way won't work with galaxy s3 4.1.2

Probably This will be my last reply in this post. Cz I dnt have enough time and also knowledge to work with the cable ;)

______________________________________________

if you think i helped you. Don't forget to hit that magic button ;)
[Galaxy S III Accessories] Diim:
Not surprising, S3 and GN2 use MHL v1.0 standard whereas S4 has MHL v2.0.

But one question, when you are in smartdock mode do you see an half second lag between your phone screen and your TV ?

Because I do, and to me the smartdock lost much of its advantages, since my main use case was to plug my phone on a TV, connect several USB controllers and play some epic games with friends wherever I could go.

But that half second delay make that just impossible.
[Galaxy S III Accessories] pyraxiate:
11 Pin MicroUSB Breakout board

Id like to give something like this a shot for my Note2, but havent seen an 11 pin breakout board anywhere. Anyone here have any ideas on where else to look? Its something like this :

http://www.cooking-hacks.com/index.php/shop/shields/usb-microb-plug-breakout-board.html

Ive messaged them to see if they will make an 11 pin version. Something like that even at 5 bucks a pop would be awesome as far as building our own docks. Take something like that, build in a USB hub to gain 2-3 more USB ports, break out the hdmi + power, and we are all set to use our phones as mini computers :D