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,
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
So I want to connect but I cant seem to add port in QPST config. I have usb debug turned on and have entered the service menu with 3845#*801#. I am wondering if it is because of the LG ADB Sooner driver that is causing the problem? Or is there another configuration I need to enable. I had no problem doing this with all of my old phones once I found out what the heck needed to be changed. Thanks.
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
I really need to change something