Help cracking software on Windows CE Device! - Windows Mobile Development and Hacking General

I'm not sure if I am in the right place to ask this, but here goes.
I work for a land surveying company and we have been using a software called C&G to collect data out in the field. The software runs on a piece of hardware called a data collector. To be more exact, it is an Allegro CX made by Juniper Systems. The device is loaded with Windows CE .Net 4.20 along with a program called PocketDOS. The C&G program runs inside of PocketDOS. The software is SUPER old and the company is no longer around to support it. We have no desire to purchase a new software package as this one works just fine for what we need and everyone is used to it.
We have at least 8 licenses for this software, but the problem is, it is coded to register based on the serial number of the Allegro data collector. We have had multiple data collectors go bad, so we are looking to purchase more units, but we will be unable to register the C&G software on these units because the serial numbers will be different.
So my question is, can anyone help me modify the C&G program and make it so that it does not check the serial of the data collector? That way, we can purchase new data collectors and load the software (that we have rights to) on the new units. If the company were around to support the software, we would be able to call them and they would generate new registration codes.
I can send links to download the software, along with any DLLs you might need from the data collector.
Any help on this would be greatly appreciated! Thanks for your time!

Related

Where can I get SDKs for XDA II?

I saw a lot of programs developed for XDA II, and they are for XDA II only. So it must be a SDK documents somewhere, otherwise no-one can write codes specific for XDA II, Am i correct?
If so, could anyone tell me where can I get the XDA II's SDK?
Thanks in advance
SDK is the PocketPC2003 SDK available free from Microsoft.
It really needs embedded Visual C++ 4, also available free from Microsoft.
http://www.microsoft.com/windowsmobile/default.mspx
They'll also send you all the tools on DVD for a small handling fee, as they are huge downloads.
andyclap said:
SDK is the PocketPC2003 SDK available free from Microsoft.
It really needs embedded Visual C++ 4, also available free from Microsoft.
http://www.microsoft.com/windowsmobile/default.mspx
They'll also send you all the tools on DVD for a small handling fee, as they are huge downloads.
Click to expand...
Click to collapse
Sorry, I didn't make myself clear.
I have the generic SDK from MS, what I need is the SDK for XDA II, it should come from XDA II's manufacture.
Thanks
well there are not xda2 stk
but there are a collection of stk's
one of them is ms's
another is the one which the cam program uses
another is the stk of the ati 2d chip
i think ati will give you their sdk if you reg at their site or something
dont think the cam's sdk is something they would let people get their hands on
a xda2 sdk would be like having a dell Latitude sdk
it dont work like that
Rudegar said:
well there are not xda2 stk
but there are a collection of stk's
one of them is ms's
another is the one which the cam program uses
another is the stk of the ati 2d chip
i think ati will give you their sdk if you reg at their site or something
dont think the cam's sdk is something they would let people get their hands on
a xda2 sdk would be like having a dell Latitude sdk
it dont work like that
Click to expand...
Click to collapse
Thanks, where is the website for ATI? could you post a link please?
BTW, what I need to do is to develop GSM related applications specific for XDA II, say, timed SMS sending. It is best if I can plug my apps into their build-in apps like SMS (it does not have timed SMS sending options)
Aha you're after the device SDK for the XDAII. You want to know what drivers are supplied and how to use them to control the specific hardware at the lowest level, e.g. ATI graphics, Radio hardware, Camera, Bluetooth, Buttons, comms, etc.
... unfortuantely HTC are an absolutely closed shop. Getting any information out of them is like getting blood out of a stone. A particularly hard and bloodless stone.
This site is really the closest thing we have, although as mentioned above you might have some luck with the specific hardware manufacturers such as ATI (although they are also notoriously unforthcoming). There's also sourceO2, who have similar level of knowledge about supporting low level development on the XDAII as a particularly stupid earthworm.
Usual rant follows... If only the device manufacturers would properly open up their products to developers, they'd see a wealth of applications developed that'd make their hardware a real "must have". They probably think it'd eat into their profits on the next device they produce, which is all they're interested in really.
Incidentally, you can both send SMSs, and use the notification subsystem to schedule an app to run at a particular time via the PPC2003 API. So it'd be fairly simple to knock up a client-side SMS timed sending application wihtout hacking RIL.
Hi, andyclap
Thanks a lot for your informative reply.
I am not actually developing very low level applications. What I planned to do is to develop some value added little programs that could be a plug-in or such a kind.
To make myself clear, I can use an example to explain what I might want to do:
The build-in SMS program does not have the feature the let you send a timed (scheduled) SMS. I am wishing to do is:
insert a menu item into its original context menu (tap-and-hold on SMS message body), you can choose to send at specific time
Anyone have an idea?
build in sms programs are not something which would make it a special xda program
all pocketpcs would be able to use that
that is unless you want to block your application somehow from being used on other pocketpc's then the xda then i suppose you need to access some reg indentifier or something
you want me to give your the link to ati ?
well if you are too lazy to type it then i suppose I must
http://www.ati.com/products/handheld.html
Hmm this may be quite hard to do, as I the messaging system is quite unextensible. It's fine if you want to create a new format from scratch, but extending an existing form handler is, I think, impossible.
Some low level dirty tricks (subclassing windows etc) might work, but would be pretty tricky to do, and very hacky.
I just wish somebody would give the PocketPC team a Symbian SDK, Symbian really got it right when it comes to messaging.
Yes, i can write a new SMS program, but it will need me to deal with Contacts object. I mean, I have to write code for fetching data stored in the build-in contacts database. If I can just plug my function into its contextmenu, I will only need to implement a simple function program (setting date/time, save phone number and message text, create a notification, etc).
Using SetWindowLong can hook into the *****, but this program model is some kind of fragile, very easy to crush the system or the apps itslef, not really stable if not tested thoroughly

Someone to write a program

I know this is for programmers only but since I am looking for a programmer I figured it would be okay for me to post this here.
MODS - If it belongs someone else then please feel free to move it...
I own a HTC Universal (Cingular 8125) and I am also a diver. For a few years I looked at various Palm based dive logging software (when I had a Palm) but never bought one because I like to write longish descriptions of the dive and didn't want to do that in Graffiti or bring both a Palm and a portable keyboard on a dive trip. The desire to minimize electronic gadgets (and weight) is also why I never bring a laptop along with me. However, with the 8125 I have one device that I can bring with that lets me watch movies on the plane, listen to music on the beach, check my e-mail if I find find a wifi hotspot, and has the full keyboard and can use as a phone since it is GSM!
That being said, most dive comptures have the capacity to download information about the dive (depth, temperature, etc) to a computer. This information is very useful when you combine it with a log since it allows you to see what is called your dive profile and if you have the right logging software you can then combie this profile with your comments and create a really neat electronic log book.
However, the logging software for my computer, and I believe most computers, will not download to my device to any device running WM5. I had pretty much given up and figured I would have to wait awhile until these silly companies ralized there was a demand for WM5 and hopfully created software so you could download your computer information directly into your phone. However I recently found this device http://reefnet.ca/products/sensus/ which is very different. It is more of a logger than a dive comuter in that you do not interact with it during the dive and it does not give you any guidance about dive limits. One of the biggest things that makes it different is that they, "realizes the benefits of publishing the technical details of its data recording devices. If you're a software developer, dive organization, or just curious, you may download our free Developer's Guides. In them we carefully detail everything you need to know to be able to download data from Sensus recorders. The Sensus Ultra Developer's Guide is AVAILABLE NOW!"
So what I was thinking is that someone might be able to create software for WM5 so that we could download the information directly into a Pocket PC. This could then perhaps be combined with a program like this
http://blackwave.com/products/DiveAssistantPocketPC/index.aspx or this http://www.dreamdives.org/en/products/products1.htm to create the full package.
I think this would be a killer app that could make someone a few bucks. All I would ask for would be a free copy. I will even do the testing for free. the only big hurdle that I know of, and why they currently do not support download to WM5 is that the downloader uses serial ports.
Here is the link to their developers guide
https://secure.reefnet.ca/downloads/public/doc/sensus_devguide_ultra.pdf
If any one has any questions please feel free to PM or e-mail directly at bigcatdiving at gmail dot com
dcdivenut: why do they sell Palm software? What does the Palm software do? Presumably it doesn't link directly to the logger? Although, IIRC, the Palm does have a kind of serial port built in.
Your biggest hurdle here clearly is the physical lack of a serial port.
Basically you've got a logger, and want to connect it to the phone? Converting the data into a universal format should be straight forward, most logging is done in clear and easy to manipulate text.
So, how do you get around the hardware limitation? You could wire together a serial to IRDA converter and blast the logs directly into the infra red port. But is that the kind of thing you want or need?
V
Or you could use a bluetooth to serial converter. It may actually be more stable and easier to use than IrDA.
J-Man5
vijay555 said:
dcdivenut: why do they sell Palm software? What does the Palm software do? Presumably it doesn't link directly to the logger? Although, IIRC, the Palm does have a kind of serial port built in.
Your biggest hurdle here clearly is the physical lack of a serial port.
Basically you've got a logger, and want to connect it to the phone? Converting the data into a universal format should be straight forward, most logging is done in clear and easy to manipulate text.
So, how do you get around the hardware limitation? You could wire together a serial to IRDA converter and blast the logs directly into the infra red port. But is that the kind of thing you want or need?
V
Click to expand...
Click to collapse
I !think! the palm software allows you to download directly to the Palm via the serial port.
As far as an infrared port to get the data into the PC that is more or less exactly what I am looking for. Here is a long discussion on a scuba forum that involves a programmer from the company that might gove some additional information.
http://scubaboard.com/showthread.php?t=140213&highlight=sensus+ultra
I guess there are two challenges
1. Getting the data from the logger to the device either via some sort of serial/USB converter or serial/IRDA converter. I found this out there which would "seem" to work http://www.usbgear.com/IR-210S.html
2. Then having a program to take that data and with a decent GUI turn it into something displayable a la the palm and windows software on their website. Then possibly taking it a step further and integrating that into "dive log" software so that in addition to the profile information gathered from the logger you can record where you were, who you were with, what you saw, what equipment you had, etc. a la the blackwave or sharkpoint software.
Why not try styletap to run the palm software on the pocketpc windows mobile?
J-Man5

Pocket Mechanic (AntonTomov) - Installation problems

Hi,
I purchased the latest version of AntonTomov's PocketMechanic via Handango and received the registration key immediately after finished purchase procedure.
Installation on my TyTN seemed to work out first (the program accepted the key with a message box and a sound).
But only moments later a message box popped up, telling me I use a pirated version and should turn to the manufacturer, which I did (also mailed Handango).
Meanwhile tried to install PM several times (always removing all traces from both PC and TyTn incl. Registry and rebooted) - to no avail.
Meanwhile received a new serial, but same story again: first accepted and immediately afterwards aborted with Piracy message.
A new complaint mail is on ist way.
Meanwhile I'm asking here if anybody had similar problems in getting the Pocket Mechanics to work on a TyTN.
Appreciating feedback and will let te community know how it worked out for me.
I would not use or buy Tomov's products out of principal.
Found a lot of threads about earlier version doing a hard reset without asking, when inputted a "pirated" serial. So be glad it only shows a box nowdays.
While software piracy is not a good thing, at least for people developing propietary software. Tomov has used a bit too drastic measures to fight
back.
jeezus said:
I would not use or buy Tomov's products out of principal.
Found a lot of threads about earlier version doing a hard reset without asking, when inputted a "pirated" serial. So be glad it only shows a box nowdays.
While software piracy is not a good thing, at least for people developing propietary software. Tomov has used a bit too drastic measures to fight
back.
Click to expand...
Click to collapse
This does not make me too comfortable :-(
I also read a few note about that on the net and a reply by Tomov, complaining that this is not true and only a campaign to cut him off his revenues.
Well, I do not know what to believe, however this uncertainty is also not too comfortable...
Well the Pocket Mechanic way of uses some hardware dependent functions and - if you dare to take use of such - you have to either be very careful and also prepared that they might not work on untested and after all very new (such as the TyTN) devices.
I was prepared for all of that but not that I receive a piracy mail (which somewhat alsmost accuses you of being a software pirate and telling you to mail to [email protected]) when I purchased the software (which I can also prove).
Maybe he uses some hardware related mechanism to check eligibility of the serial and as he hasn't tested yet the TyTN (which he admits) this software won't allow being registered at all. I do not know.
But isn't such a meachanism pure over-kill ?
Actually something like that must be going on as I receive this pop up also after a new install and having purged all remnants from the PC, the PDA and the registry.
If I'd be trying out serials just at random, would anyone think that I'll millions of times do that complete procedure just to find any working key at the end of my life maybe ???
(And if I'd be a professional hacker I'd disassemble the code and be able to work around even these barriers.)
So, applying over-kill measures like that only brings problems to decent users, risking to run into problems when using special configurations or ne devices.
+++
Apart from that I must say that Tomov's applications seem well coded and also graphically very nice (one wonders how graphically nice application you can program for PDAs; shame upon Microsoft for their pre-installed poor applications !!!).
Also I see no real alternatives for some functionality he provided within one software, that's why I purchased the PM.
Finally again my question:
Has anyone encountered the same problems with the PM on a HTC TyTN ?
(btw: Thanks "jeezus" for your feedback.)
Might I inquire which funktionality you need?
Maybe we can find an alternative solution.

IMEI changer for Polaris available?

need one to change my IMEI to fit the GPS software runs on specific IMEIs..
AFAIK, changing IMEI is illegal...
windirt said:
need one to change my IMEI to fit the GPS software runs on specific IMEIs..
Click to expand...
Click to collapse
It's away much easier to change GPS software than IMEI.
The IMEI is likely hardcoded into the hardware and WM reads directly off the hard code..Good luck!
you can change the imei of your device but it will cost both in time and money and you have to get your self a golden box( check infinity) but it's going to be easier for you to change your GPS software.
windirt said:
need one to change my IMEI to fit the GPS software runs on specific IMEIs..
Click to expand...
Click to collapse
Its easyer to use mr google to find a new GPS software then change the imei, and i dont think u can do that at all, the net is full of softwares... just pick one
No, the IMEI is not hardcoded into the device. It can be overwritten/changed but its a very dangerous process and if you're not an absolute pro you'll most likely brick your device. And this would be a final brick, not recoverable.
Appart from that: it's absolutely illegal in most countrys in the world. I actually don't know a single country where it isn't. In the countries I know the punishment wouldn't just be a fine but definitifely prison. And even if it's legal in your country, if you'd enter another country with a modded device you'd be guilty if caught at the border.
In the end it's easier to get a pirated copy of a GPS software including maps for your region, activators, keygens and cracks, all that USING GOOGLE ONLY, than changing your IMEI.
I've never programmed for WinCE but on WinNT I would go the following way:
1. Read MSDN to get an idea where from IMEI is to be obtained (I don't think every user space application reads hw registers, there should be some interfacing library (dll) which provides required functions).
2. Look for articles on dll injection (google for this trick) on WinCE.
3. Build custom dll providing all but IMEI query functions tunneled from original dll, IMEI retrival functions should be handled by your library, providing preprogrammed constants to user level app.
4. Program dll injector for putting hook into the specific app.
actually believe it or not it is not illegal to change your imei number here in canada but reasons for changing it end up being not so legal!
i hate fido
they locked me into a 3-yr contract and trick me into signing up for the $15 "unlimited surfing option" and only to tell me they have to bill me $120 extra backdate to my previous two invoices claiming my phone is not compatable with their "unlimited surfing option" and hence have to bill me by $/kB and claiming i had used over $2000 worth of data (WTF?!?!) over the past two month which i already paid my invoices in full & on time and there was nothing mentioned about any data usage whatsoever!
hence, i would very much like to change my IMEI to screw them back. Appreciate any help.

Programming a database-driven application

Hey guys,
I've been contracted to write software for a company who is looking to have their Windows mobile phones access data on a company database. We are starting this system brand new, so the server has not been purchase, we have not decided on a DBMS, and even the programming language has not been determined (leaning towards .NET). We are in the first planning stages.
I will be using Visual Studio 2005 because they will be using Crystal Reports and because I figure it might be a little easier developing for the WM6 environment.
I would like to know if there are certain types of databases that are easier to program for WM6 .NET. We won't be implementing this feature until the rest of the system is up and running, but we want to make sure that once the company is ready, we can go ahead and write the software.
So, what type of database does everyone recommend to use for WM6 programming? Also, how exactly does the phone connect to the database? I don't suppose there's some sort of ODBC settings?
I've never programmed for WinMo before, so I appreciate everyone's help and patience!

Categories

Resources