HTC WCDMA Capable Phone Diag Mode? - General Questions and Answers

Does anyone know of an HTC phone model (w/ Qualcomm chipset) that supports WCDMA and allows me to enter into diag mode such that I can see the phone on my desktop COM ports?
Tried this with a Droid incredible, but I could only get into diag mode locally on the phone; it did not show up as an HTC Diagnostic Interface on my desktop machine's device manager COM and LPT ports.
I have no problem doing this with a CDMA phone.
In short, I'm looking for the model of an HTC Qualcomm phone, WCDMA, and a DM that allows me to see it on my COM ports.
Thanks.

Most QC based WCDMA phones can be put in diag mode and expose diag interface via USB simulated COM port. Exposed functionality depends on radio ROM and whether the phone is security unlocked or not. Bottom line, it may not have the same features accessible in diag mode as CDMA phones do.
Kaiser is one of them:
http://forum.xda-developers.com/showthread.php?t=369754

Can anyone tell me that HTC Sapphire or Nexus one have QC Diagnostic mode or not?
I am struggling since a month but no luck...
Please help!!!
Thanks
SD

Related

Qualcomm eXtensible Diagnostic Monitor with the Raphael

Has anyone succeeded to use QXDM with the Raphael?
Doing this in the CDMA HTC phones is very easy, you just need to run dmrouter.exe
But the CDMA dmrouter app won't work with the Raphael.
If you use the Wireless Modem app found in some ROMs, the Qualcomm Diagnostics port will be added to your computer but it won't respond to anything, of course, because the diag mode is not turned on. But this is telling us the Raphael can be connected to QXDM.
Hi, I have been working on this on and off for some time;
The raphael appears to be missing some components in it's driver set to enable this functionality. If you use smd_com.dll from another msm7201a device with debug code, you can activate the diag ports.. but i've not been able to get any data out of it.
Da_G said:
Hi, I have been working on this on and off for some time;
The raphael appears to be missing some components in it's driver set to enable this functionality. If you use smd_com.dll from another msm7201a device with debug code, you can activate the diag ports.. but i've not been able to get any data out of it.
Click to expand...
Click to collapse
Yeah, I do have smd_com.dll in my ROM, I guess that's why the diag port was created when I used the Wireless Modem app. Did you try any other apps? Have you found something similar to the dmrouter from the CDMA phones?
I also don't get any data from the diag port, maybe it's something related to the rilphone, like there is some procedure that needs to be called to activate the diag mode? Or maybe the rilphone we got just don't put any diag data through.
Whoops, was wrong about smd_com.dll, it's serialusbfnmodem.dll that's needed, along with some others
From the top of my head you need to insert the proper reg entries to load windiag.dll on port WDG1:
Then you need to load the CompositeFn drivers which support multiple com ports over a single usb connection, and set up the registry for those sub com ports, which uses serialusbmodemfn.dll if i recall
Using wmodem.exe by itself only connects to the device's SMD9: port which allows a data connection, but it won't allow diag communications over that port.. serialusbfnmodem.dll, and compositeusbfn.dll with support allows opening of a DAG1: port (diag)
These entries will load windiag.dll:
Code:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WINDIAG]
"Dll"="windiag.dll"
"Prefix"="WDG"
"Order"=dword:500
"Index"=dword:1
"FriendlyName"="Windiag Driver"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WINDIAG\Settings]
"ServerIP"="169.254.2.2"
"ServerPort"=dword:9C4
"MaxRetryCount"=dword:32
"RetrySleepMs"=dword:2710
"Enable"=dword:1
Note server ip, that's the default client IP on a RNDIS connection that the phone would be using, i've tried to connect to it on that port though (2500) and not gotten a reponse..
I've been studying KS20's drivers/registry as they have a working diag connection, which uses the compositefn drivers etc. (ks20 is msm72xx as is raphael)
They have there a program EngineerMenu.exe, which has a menu option "USB Switch Diag" - that menu option runs SwitchUSB.exe, it seems to just switch the default USBFn driver from "RNDIS" (activesync hi speed) to "CompositeFn" - however when I trigger this change on raphael I never get a connection on PC side.. registry entry can be changed back to RNDIS and works fine again.
Recommend studying the KS20 ROM,

HELP! Touch Pro 2 in USB not showing up as COM# in QPST...QPST also not finding USB

I have a Sprint Touch Pro 2 and am trying to use QPST, Bitpim or CDMA Workshop with it. However, whenever I plug it in and it gets detected by windows mobile device center (I'm using windows 7) It places it as a Portable device in Device Manager and won't list it as a Port. Whenever I use QPST, etc. they won't detect the USB, and instead only look for COM1 or COM2. If I manually try to add a "COM3"..etc. It says it either isn't accessible or busy.
Is there ANYTHING i can do to fix this? I just want QPST to recognize my phone so I can change settings. I've been looking for fixes for a good number of hours...can't find any. =(
Before connecting to PC, open phone dialer type ##3424# Then connect to PC after abt 10 sec.

HTC Clic Diagnostics - F/T1 test mode

Hi.
I've come across a HTC Clic Diagnostics HBoot. Besides many other things, it has a test mode called "F/T1 Test". When selected, this options asks for a USB connection (from the Tattoo to a PC). Under Linux, this registers as a USB serial port, but I haven't been able to "talk" with the Tattoo yet.
As anyone ever come across such a feature ? Any tips on setting up the connection, so that I can talk to the Tattoo, from Linux ?
Thanks

Diag Mode Missing From Pixel?

I am trying to connect my Pixel to QXDM but am unable to establish a COM port. Looking through the USB configurations on the pixel it seems that the device does not support a USB diag mode. Am I missing something or is this really the case?
I attached the config files so someone else could take a look.
also want to know how to enable diag mode
Madscotsman said:
I am trying to connect my Pixel to QXDM but am unable to establish a COM port. Looking through the USB configurations on the pixel it seems that the device does not support a USB diag mode. Am I missing something or is this really the case?
Click to expand...
Click to collapse
Any updates? I'm looking for this too. For the Pixel XL people are saying this works:
"echo 1 > /sys/devices/virtual/android_usb/android0/f_diag/on"
However this just gets me "permission denied" on the Pixel, even as superuser, even after changing permissions on the f_diag directory to allow writes.
(nevermind, that turned out to be speculation based on the M8 -- still looking for a Pixel solution!)
https://forum.xda-developers.com/showpost.php?p=75252853&postcount=37

How to activate diag mode?

who knows how to activate diag mode on pixel? not pixel xl. using the method from this- https://forum.xda-developers.com/showpost.php?p=75252853&postcount=37 phone is defined as a diagnostic port, but not determined by the program QPST
I would like diag mode to use the DFS Tool to enable/disable LTE bands

Categories

Resources