[Q] Modem / COM port Access on G1

aaronb1138

Member
Oct 24, 2010
24
8
23
Is there a way to get a G1 into a diagnostic mode so the Qualcomm modem will show up over USB to a PC. I've tried various USB HTC drivers, including ones which include COM port over USB drivers (namely sync/diagnostic stuff for the Hero) but haven't had any luck getting anything but ADB composite device to show up.

I'm sure I'm getting the drivers to install, as the composite device changes its name depending on where the USB/ADB driver came.

Is there something I am missing here?
 

aaronb1138

Member
Oct 24, 2010
24
8
23
Thanks

I'm not steady handed enough to try your ribbon cable approach, though I think for a total investment of about $12 with shipping I can have a full homebrew cable. Much cheaper than the suggested component parts are by themselves.

I will update if the following work, I'm going off of supposition here:

This should be sufficient for getting the ExtUSB connector. Great part in my opinion is it already has wires going to a break out box.

www_amazon_com/HTC-Multifunction-Adapter-T-Mobile-Shadow/dp/B001QD3MQE/ref=lh_ni_t_

For the 3.3v CMOS compliant serial cable, I'm going to try this:

www_amazon_com/Data-Cable-Nokia-3585-CA-42/dp/B000BI4HQY/ref=pd_cp_cps_1

(replace _ in www_amazon_com with .)

Thanks for getting me started down the right road Xsite_01.

I know serial interfacing with most HTC phones isn't a top priority with ADB/ActiveSync (and JTAG for the hardcore), but someone should get Xsite's links added to the Wiki.
 

saidelike

Member
Apr 29, 2009
19
0
0
Diagnostic mode is entered from blue led mode using htc extusb to serial cable.
Qualcomm modem will show but with serial cable not regular usb. Here is the link on how to build one. If you need info on how to build it from home parts click here to view my tutorial, or contact me.

You acces serial port using serial cable and putty. Also you can acces the phone using PSAS/QMAT, Link 1, Link 2 for how to do it. But be wery careful accesing this, some command might damage the phone. I suggest that you read more about it before atempting anything.
You should not atempt this with regular usb cable becouse you can send the phone in some boot mode that can only be accessed using serial cable and you will be stuck(until you build serial cable).
I would like to communicate with the HTC Dream (G1) using the (qualcomm) diagnostic mode. By this, I mean the one that the QPST/QXDM softwares are using to talk to the baseband (radio). As I understand, it is possible to build the serial to USB cable (using the ExtUSB adapter needed for the G1) to do so. I would really appreciate if someone could confirm that he tested that for this purpose. I tried to build one by myself (using your instructables tutorial, great by the way, thanks Xsite_01 !) but did not managed to use it in diagnostic mode (neither in other mode actually, I may have broken some part of the chips so I would need to double check what I did and/or rebuy components to try again. The procedure is not difficult by itself, it is just the soldering pins that are really small...).

What I tried is to go to fastboot mode (default bootloader mode for the G1), issue the "fastboot oem rtask c" command (using the HTC standard USB cable). The command never returns so I disconnected it and plugged the serial cable (the one I made) but I did not see any diagnostic mode.

To compare, I managed to use the diagnostic mode on the HTC Desire Z using the following procedure:
* issue the "fastboot oem rtask c". The command returns an error but it is ok, it is because it gave the handling of the USB content to AT interpreter of the baseband
* issue the AT$QCDMG command to the AT interpreter of the baseband. You now get the diagnostic mode.

If someone has some hints, don't hesitate. I will come back as soon as it is working...
 
Last edited: