[Q] I9000 UART DIAG Connection ?

Search This thread

123unlock

Member
Nov 30, 2005
30
12
Apeldoorn
www.123unlock.nl
when i try to enter UART mode on i9000 it's asking about an "7 CDCs" driver
i tried all the drivers i could find, but none of them is compatible

enter UART mode with *#9090# > Log via UART
then
enter *#7284# > UART MODEM - USB PDA
 

123unlock

Member
Nov 30, 2005
30
12
Apeldoorn
www.123unlock.nl
well...

was more thinking of making an normal sim-unlock solution for this model
i already found an uart connection on the phone PCB but for this you have to open the complete phone and work with the testpoints.. not suitable for normal users :)

on older android models you can enter the uart mode via diag driver over the usb port (for example on i5700, T939, i7500 etc with swallowtail driver) but this one uses a different driver
 
Last edited:

123unlock

Member
Nov 30, 2005
30
12
Apeldoorn
www.123unlock.nl
thats what i already tried, but it keeps popping up with the "7 CDCs" device and asking for drivers with i switch the USB to MODEM with *#7284#

I need to have the Android Diagnostic port available to make some checks

as USB ID i get:
USB\VID_1519&PID_0020
 

NotBillable

Senior Member
May 9, 2010
151
0
Calgary
If you know the manufacturer (or chipset) of the modem or if modem is integrated to the motherboard, then you can probably get the drivers from the manufacturer vendor site.
 
Last edited:

Jan_1

New member
Oct 4, 2010
3
0
This is exactly what I want to do. I'd like to enable Diag mode on the Samsung I9000 in order to use it with QPST.
I tried out the following procedures:
-sending at$susbc=1 on the modem port
-*#782872# does not work
-*#9090# => neither "log via usb", "log via uart" nor "log via ipc" works
Nothing helped.
Any hints are more than welcome.
 
Last edited:

Jan_1

New member
Oct 4, 2010
3
0
But isn't Snapdragon a Qualcomm chipset?
I'd like to get radio trace out of it.
I tested the Dalvik Debug Monitor (dump radio state) and logcat but these tools deliver very little radio information.
 
Last edited:

davidFR

New member
Oct 14, 2010
1
0
Hello Jan_1,

I expect the same answer, i want to do some radio trace with this type of mobile phone (i9000 and i7500),

If I find something, I will notify you here.

Thanks
 

tech128

Senior Member
Oct 14, 2012
177
118
Just thought I would finish this off, since no one has posted the way to the diag port.

For starters, you need to enable the weird comneon suspend device and the 7 acm cdc usb com ports.

This can be done thru the commands previously mentioned, *#7284# and *#9090#

Leave the top part alone, where it says MODEM. Change USB to MODEM.

In the 9090 menu set the speed to 115200

After doing that, you should get the devices I mentioned in the device manager.

Download the appropriate bit via drivers from this thread: http://xdaforums.com/showthread.php?t=1696621

You can also enable the weird comneon suspend device and the 7 acm cdc usb com ports by using that little script in thread above in case you don't have access to the 7284 or 9090 menus like me.

You want to use the one that says USB MODEM.

Then you need to extract the drivers to a folder. Then after that you need to extract the files from the msi.

I used the latest unofficial version of uniextract for that.

Now go into the VIA_USB_MDM directory and edit the VIA_USB_MDM.inf file

Basically you want to create 7 different lines in there for each one of your ports.

What I did was edit the BC.MDM line and replace it.

There's 3 sections in my inf file. You want to replace the all the BC.MDM lines with several.

Like so:
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_0a
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_08
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_06
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_04
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_02
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_00
%BC.MDM% = AcmInstall, USB\VID_1519&PID_0020&MI_0c

After modifying the driver, I right clicked on each unknown device, clicked on update driver software, then clicked on locate driver software manually.

Enter the full path to the VIA_USB_MDM folder, then click ok.

It should create a BR-something modem complete with a com port.

I used realterm to open each port at various baud rates and typed AT
into each port and checked for any response.

There was one port that gave strange responses back, so I thought that might be the right port, but it was actually the next port I tried that gave correct responses back.

And there you have it, AT command access to the modem.

But keep in mind, this is not direct access to the modem. It is still going through one or more hals (Hardware abstraction layers) somewhere.

The best way to talk to the modem is with ril commands or ipc commands.

You can use ipctool and logcat -b radio to talk to the modem with ipc commands.

Ril command injection is possible, but damned annoying. I recommend ipc unless there's a really good reason.

These 2 threads are really good sources of info I used to help me get this far:
http://xdaforums.com/showthread.php?t=1483053
http://xdaforums.com/showthread.php?t=1471241
 
Last edited: