IDA Pro 5 Demo and WM5 Problems - Windows Mobile Development and Hacking General

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

Related

HaRET don't bootup linux :(

Hello ,
I'm a newbie and have used the introductions on http://wiki.xda-developers.com/wiki/HimalayaLinuxBooting to boot linux on my himalaya. Unfortunatily the pops up dialog "Launch a script file. Default ..." when i tap on HaRET-0.3.2d.exe . I can't connect to port 9999, too.
Please Help me
Thanks
Hi snowdrop,
the dialog means that your prepared scriptfile hasn´t been found and executed. This could be because you misspelled the name. Keep in mind that all filenames have a 3-letter extension which is not visible in windows. I.e. if your FileExplorer says "startup.txt" the filename is "startup.txt.txt".
Or maybe you installed the startup script in a different directory than HaRET. IMHO it´s easiest to install all 4 files (haret, startup, kernel, initrd) in a separate dir unter \Storage where you don´t have to reinstall it after a reboot.
Don´t hesitate to ask further if this doesn´t anwer your question.
Matthias
Hallo noone,
thanks for your reply. I copied all neccessary file under "\Storage Card\". The filename is "setup.txt" (the filexplorer says startup without extention but i'm sure it is named startup.txt through my activesync under Windows). All files are under "\Storage Card\", (also the HaRET-0.3.2d.exe and startup.txt files). :roll:
Greets
Hi snowdrop,
I'm not really sure about that. It works for me all the time.
Maybe you can track down the problem with a network connection. You have to disable ActiveSync on your host PC and to start a connection with SynCE. This requires usbserial and ipaq as well as ppp loaded into the kernel. When you cradle the himalaya you should get a message from usbserial about the attached device (usually /dev/ttyUSB0).
After synce-serial-configure (root), dccm (user) and synce-serial-start (root) the Himalaya should display the connection sign in the bottom bar. Be careful: ActiveSync on the Himalaya may or may not try to start a GPRS session. This can become expensive sometimes
After establishing the PPP connection from PC to Himalaya you connect to port 9999 (refer to SynCE's documentation about the IP addresses). Then you can enter the commands of the startup.txt script line by line.
HTH
Matthias
Hello Matthias,
what is SynCE? I'm using Windows as host PC.
Are synce-serial-configure (root), dccm (user) and synce-serial-start Linux Tools??? :?:
Thanks
Ok,
i after some hard work (and hardware reset), i'm now able to see the penguin(with red eyes and red thermometer) . But then nothing will be done
Actually I thought, that there is also a graphical user interface for linux. Now my question:
Do you ONLY remote login into your linux and have JUST a console application? Or have you also GUI applications and a desktop under linux for himalaya at the time.
Thanks for your answers
it will of cause never run any linux applications not compiled for it
like windows CE will not run pc windows applications
if you can find a kernel compiled for it
you can use it otherwise you'll have to compile your own
the same goes for a version of x11 and any other applications you may wish to run
though in the world of linux sourcecode is much easier to come but and compile yourself then they are under windows
Hi,
can you give some usefull links about linux application on PDA?
I want too much to run linux under my himalaya .
havent really messed with it
here is another distro for xda not sure if he ever got finished with it
http://www.pigeond.net/photos/xda-linux/
havent kept up on it really
what you have to look for is pretty much
applications for the arm cpu
and you can also look for linux of ipaq and other pda's which use the arm cpu they would also run on the xda
but i havent really kept up todate about the whole project
so i dont know how long any of the project have gotten
and i dont know how many applications can be portet because of graphical limits in the desktop manager like glib
but i'm sure there must be others in this forum who mess around with these things
Maybe the guys at handhelds.org could give you some more info, got lots of help getting linux running on my ipaq 5550 (never quite got it working to my liking though)

Sinchronizing Magigian on Linux with Synce

I followed both steps (usb and bluetooth) with no success...
are there any brave persons that are able to sync this device on Linux?
http://synce.sourceforge.net/synce/howto.php (USB)
If yes, could you please tell me which kernel did u use and yours secret tips? :wink:
What's exactly the problem you encounter? I use Raki and synce on one debian machine, but just to connect, show the magicians screen on the pc's screen and copy files between them, not to sync any data (appointments, etc.).
Greetings,
BGK
Which guide did you follow to set it up?
The device is recorgnized by dmesg but i can't connect to it with pppd
Have you tried multisync? It should be the bridge between synce and evolution
I have also successfully used RAKI on KDE desktop (Debian Testing) to connect to the Magician. It transfers files back and forth, with the right iptables masquerading entry (done manually) I can use the Internet, but I cannot sync anything either
I forget exactly what I installed, but everything should b plug&play.
Kernel 2.6.10, Hotplug, Synce-KDE...kernel installed manually, the rest from the Debian dselect program. There are certain things you have to set up with the kernel config.
What distro are you using? Any other details?
Re Multisync; I really do want to get synch'ing going like ActiveSync. I installed it, tried various configs, but I do not get anything in the program... Can anyone else help?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
If you made raki work you should install multisync and the evolution plugin..
it's already in http://www.multisync.org/files/multisync-cvs-snapshot.tar.gz
Hi metnik, sorry for the late reply.
My device is an O2 Mini (aka Magician), information at Settings => System => About, is
Windows Mobile 2003 Second Edition
Version 4.21.1088 (Build 14235.2.0.0)
I did not have to pass any arguments to ipaq module. It did everything auto; I guess it is because of the 2.6.10 kernel.
I have installed Multisync from Debian Testing, and it has SynCE and Ximan Evolution 2 plugins. I have created the synchronization pair with these, but NOTHING happens when I press the "Sync" button.
Raki, on the other hand, works nicely with the USB cable; even the KCeMirror works very nicely (window of the device on your desktop).
The only problem with Raki is the synchroniztion setup errors with "No Synchronizer found for (Contact)..."; i.e. I don't know how to get synchronization working with that either... It really would be nice to have a copy of my address book on my Linux partition somewhere. So far it is only on MS Outlook, which I don't use...:-(
Also, I have bluetooth transfers working between the Mini and my laptop, however, I havent figured out how to get bluetooth working with Raki. It would be rather nice.
Any clues?

What programs can the Dopod Run?

I find some freeware programs for the dopod but every time i execute them it get the message "not a valid pocket pc program".
When downloading these apps, which one will work on the Dopod?
ARM? XSCALE?
I know .cab files work but finding the apps i want as a .cab has proven difficult.
XSCALE is the name that intel gave their arm compatible cpu
"not a valid pocket pc program"
is the typical error msg people who try to run pc activesync install applications directly on their pda rather then run them on their pc
Try the following sites:
http://ppcwarez.org
http://www.pdalink.org
Regards!

Debugging Windows Mobile Applications

Hi there. What I am looking for is a functional debugger for Windows Mobile Applications. I does not have to run on Windows Mobile - I'd rather have a sort of emulator with included debugger for Win Vista. I need to be able to set Breakpoints and view the code being executed of course. I don't think it will be x86 ASM, but I suppose some Asm of whatever architecture these QUALCOMM CPUs are.
IDA Pro
I'd recommend IDA Pro v5.x
You can try the demo version which comes with ARM/Windows CE debugger.
http://www.hex-rays.com/idapro/
crc64 said:
I'd recommend IDA Pro v5.x
You can try the demo version which comes with ARM/Windows CE debugger.
http://www.hex-rays.com/idapro/
Click to expand...
Click to collapse
Downloaded it but I does not work very well. How would you properly load a program? What I tried was copying the Exe to my PC and open it - fail of course. WHen I try to run it, it asks me whether I would like to copy it to my phone. SO that's what I do. Then the program starts but it closes immediately because language files are missing. So I copy the contents of the program folder to the folder where IDA copies the file. Now when I click Run nothing happens. And it prompts me all the time for bthutil.dll - I think that's the Bluetooth driver. But no idea what do to with this, I only click cancel.
Anyone? I really need this
Are you debugging a native or a .NET app?
Check
http://msdn.microsoft.com/en-us/library/bb158521.aspx
I can't tell by this time. If it's .NET, then it's NOT .NET 3.5. I do NOT have the sourcecode readily available.
Anyone? Hey, I think about 60% of all keygenners/crackers/etc for WinMo are registered users here. You MUST know!
0 get the ide debugger for every non system dll app this thing works on the X1
1 find the registry values to set to allow the IDA debugger to work
2 read the documentation provided @ hexrays for exactly your project.
0x41414141 said:
0 get the ide debugger for every non system dll app this thing works on the X1
1 find the registry values to set to allow the IDA debugger to work
2 read the documentation provided @ hexrays for exactly your project.
Click to expand...
Click to collapse
Sorry I don't fully understand you, can you go in a little bit more detail?
Firefall! said:
Sorry I don't fully understand you, can you go in a little bit more detail?
Click to expand...
Click to collapse
0 ida doesn't let you set breakpoints on system dll's
1 Key: 'HKLM\Security\Policies\Policies001001'
change to value DWORD:1
Key: 'HKLM\Security\Policies\Policies00100b'
change to value DWORD:1
2 http://www.hex-rays.com/idapro/wince/index.htm
ljankok said:
0 ida doesn't let you set breakpoints on system dll's
1 Key: 'HKLM\Security\Policies\Policies001001'
change to value DWORD:1
Key: 'HKLM\Security\Policies\Policies00100b'
change to value DWORD:1
2 http://www.hex-rays.com/idapro/wince/index.htm
Click to expand...
Click to collapse
Thank you very much, will try this Much appreciated!

WLMMessengerPlugin.dll

Hi. So I just got a dump of my iPAQ 110, and I found this file. Earlier i stumbled onto this article:
http://www.ekhoury.com/2006/04/21/how-to-make-msn-messenger-add-ins/
Unfortunately this doesn't work for the latest messenger on the PC, but I was wondering if i can do something similar to make plugins for the mobile messenger. I tried to start a "Smart Device" project in VS2008 (I already have the wm6.0 sdk refresh installed), and then add this dll as a reference, but I get "A reference to "WLMMessengerplugin.dll" could not be added.", and when i click the help button it links me to an article saying this:
The project you are trying to load targets a device platform that your Visual Studio installation is not configured to support.
To correct this error
Install the platform that supports the project you want to load.
Anyone had any success with this?

Categories

Resources