about Qualcomm diagnose port in Dopod 838 pro - Windows Mobile Development and Hacking General

Hi,everyone
I want to handle the Qualcomm diagnose port in Dopod 838 pro.I find the com port name is MSM1:,which is list in Registry->HKLM->Drivers->Active->48.The key is Drivers\BuiltIn\QCT_DIAG.
Now i can write something to this port(such as dial a call use Qualcomm command format,and it dial ok),But the questions is i can not read anything form this port.The C++ code of handle serialport is be used in Xp and PDA base WM5 sucessfully.
Who can tell me the reason?
That is important for me and thanks you very much!!

Same issue
Forzx, were you ever able to resolve this issue. It seems that an DeviceIoControl command must be sent to the phone to allow reading the port. There is an example that sends the command IOCTL_QCT_REGISTER_EVENT but I do not know the proper value for this. Do you know anything more?

Related

xda2 flashing rom

Hi there,
First of all i really like your work, keep it up !
Second, i have a german mda2, if really would like to flash it with an english ppc2003 rom. I have read that u use a terminal program to talk to the xda2, i have an serial cable made from your great tutorial. I disabled the com1 infra red beam option. it still is a bug especially with serial gps units. But gps works fine now.
i dont know any commands to use, and what terminal program is best?
dont know where to start
pasword is BOOTLOADER
'rtask 7' gets you the GSM command mode.
'd2s' dumps the ROM to SDcard.
maybe d2s stands for Dump to sd
so maybe W2R (write to rom) flashes ?
i dont know
could you help me?
thanks

Using AT on a smartphone WaitCommEvent problem

Hello, I do know here is all about XDA, my problem is about smatphone. But at this moment i cann't find another place to ask my question, execuse me.
I have written a programm to send AT to gsm modem on xda1, i would like to let the program running on a smartphone, because the OperationSystems of both are fast same.
With Port "COM2" comes Error by CreateFile. I changed the Port to 9 and CreateFile runns like OK. But now by sending at- command, I use the WaitCommEvent function, and the smartphone is blocked on it.
Code:
if (!WaitCommEvent(hCom, &event, NULL))
{
return -12;
}
i have searched this problem on google, and many other people have the same problem. but I didn't find the reason and answer,yet.
So i would likt to ask here, what is the problem and how can I go through it?
thanks a lot
:?:
your first question: why you can not open com:2 ?
my answer: you can open com:2 ,but you have to set the second
parametre of createfile() to 0 which means you can not do any read or
write. So i think it may be useless for you.
if you know how serial driver is written, you will know that there are
two kinds of serial driver which are "Single access" and "multiple access".
If your serial driver is a "single access" one, and windows ce has already
open com:2 when you turn on your smartphone, i think you will not be
able to open com:2 anymore because your smartphone system had it.
solution: you might have to write a serial driver yourself. Because the
serial driver of your smartphone is not written by microsoft, it is written
by the OEM manufacturer of your smartphone, and it is part of the BSP.
//////////////////////////////////////////////////////////////////////////////
your second question: why your program block?
well, i do not know whether com:9 supports gsm AT commands or com AT
commands. if it does not, there will be no response, and your program will
block.

IDA Pro 5 Demo and WM5 Problems

I have been trying to get the new demo version of IDA to connect to my WM5 Qtek S200 with no luck.
When I click on attach it sends across wince_remote_arm.dll
then I get cannot invoke server.
If I add the reg key in HKLM\Security\Policies\Policies then it will connect and immediatly kill the ActiveSync connection and I have to unplug/replug in the USB cable. It also displays the following message.
irs_recv:An existing connection was forcibly closed by the remote host.
I can however debug .net apps and do the usual active sync transfer files etc.
Anyone have any thoughts on what to try?
Thanks
Pete
I think you have to enable RAPI, there is a cab for it on the forums or on the FTP, search for it, I think it is enable_rapi.cab.
^^ exactly... just run it on the device and it will connect
I have tried the above cab file and unfortunately still no luck.
It still dies when connecting, and the green activesync icon changes to grey and the "irs_recv:An existing connection was forcibly closed by the remote host." messagebox is displayed.
Strangely I can get it to connect to and debug the emulator.
Anyone have any other suggestions.
Thanks
Pete
I use full version of IDA (you can find it on chinese warez sites), ARM debugger extracted from demo version of IDA, cert.SPCS.cab, EnableRapi.cab, and HKLM\Init\RequireCertMods=0.
IDA connects and works.
mamaich said:
I use full version of IDA (you can find it on chinese warez sites), ARM debugger extracted from demo version of IDA, cert.SPCS.cab, EnableRapi.cab, and HKLM\Init\RequireCertMods=0.
IDA connects and works.
Click to expand...
Click to collapse
Uhhmm... which site exactly? And why doesn't it containt the debugger?
i have the same error "irs_recv...." anyone found a solution for it ?
Guybrush said:
i have the same error "irs_recv...." anyone found a solution for it ?
Click to expand...
Click to collapse
Solution is 2 posts upper.
I tried... Installed cert_SPCS.cab, EnableRapi.cab changed registry value but always same message
can you give me your security policies values under
HKLM/Security/Policies/Policies/
Thanks in advance.
I'm trying to run the IDA debugger on a Cingular 8125. It gives me the exact same error.
I have these values in the registry:
HKLM/init/BootVars/RequireCertMod = 0
HKLM/Security/Policies/Policies/00001001 = 1
HKLM/Security/Policies/Policies/00001005 = 40
HKLM/Security/Policies/Policies/00001017 = 144
I've installed EnableRapi.cab and Cert_SPCS.cab, but it still doesn't work.
Has anyone found a solution for this?
Same for me
I did all the same actions but it still doesn't work
Anyone?????
I think the problem is a result of some incompatibility of ida's debugger dll under OMAP 850 cpu...Therefore I use m$ deviceemulator which is VERY slow.
I had problems aswell with my devices... And after this last post.. i tried a WM device without a OMAP 850.. And it worked fine for me... on every OMAP850 device i tried .. i get the same error as you guys have reported..
So I must agree with george that OMAP850 is the problem
sashje, the problem is in IDA debugger's CPU detection routines. I've even reported this to IDA "support" but they paid no attention to my words.
Datarescue
you must download CE Debugger for windows ce if have it you must test another version of it you can download directly from datarescue
accepted, as far as I know even the latest versions of IDA 5 are bundled with an old ARM remote debugger dated from 2005...I bet that presently there is no such working version with OMAP CPU, but I would take my words back if only you could have pointed out the links for the downloads you meant.
if u changed your WM to unofficial WM
if u have any problem with pointers and breakpoints
if u have any connection error
you should test another version of CE Debugger On IDA PRO 5(my current version)
i have this problem with my device(Axim X30)
i changed CE debugger and work truth now
if you want some version of CE debugger i can give u
please use private messages
thanks
regards
accepted, your axim has Intel PXA270 (at 624MHz). We are speaking about Texas Instruments OMAP CPU problems lately here - so your remarks are quite incompetent. There is no version of this arm ida remote debugger dll that can work with OMAP CPU. If you have one (I'm sure you don't) please share it with all of us.
Texas Instruments
oh man i am sorry
i don't read carefully
IDA PRO do not support OMAP and only support ARm version
only support ARM(CE debugger)
sorry again

List of AT commands for HTC Wizard (Qtek 9100)

Hi,
Where can I find a list of AT modem commands for the HTC Wizard (a.k.a. Qtek 9100) ?
I would like to retrieve the cellid. The command "AT+CREG" returns "ERROR". I have found a list for HTC Hermes on this website, but they don't seem to be compatible.
Many thanks,
Niko
AT commands are standard, should be the same in all devices.
Make sure you are registered to the GSM network before you run AT+CREG.
This sequence should work on wizard too:
Code:
AT+CFUN=1
AT+CPIN=1234 <---- replace 1234 with your SIM PIN code
AT+CREG=2
Thanks for your help !
I tried it, doesn't work.
When I send "AT (enter)" I get an "OK" back.
When "AT+CFUN=1 (enter)" I get an "ERROR" back.
This is my test setup:
- on my windows xp notebook I run a program http://www.ircomm2k.de/ which connects my infrared (irda) port to COM8
- using Hyperterminal I connect to COM8 to manually type AT commands
- on my mobile device XDA Wizard (Qtek 9100) I use the program "Modem link" to connect "IrCOMM" (the infrared port) to the modem
My mobile device is connected to the GSM network. I can even send AT commands to call a number, that works.
Thanks again,
Niko
same problem here with HTC kaiser on mac OSX Leopard.
Did anybody solve this??

software help

hey I am hoping someone here can help me out
I just re-flashed to the energy rom series which fixed most of my software compatibility issues. The problem I currently have is this I have aprogram that was wrote for wm5/6.1 what it does is creates a virtual comport to allow the phone to be controlled my AT commands. According to the log file it is creating a virtual comport of COM7 however when I do search the services of the phone there is nothing listed other than the activesync service port.
I am hoping there is someone here that can help me debug and sort this out I just am not up on debugging the WM OS
Thanks,
yonu
is there no one that can at least give me an idea It does create a serial port on the HD2 named com7 but it doesn't become available under bluetooth services
Any advice would be great
Thanks,
yonu

Categories

Resources