PDA

View Full Version : DetectorTools: Good News!



RanEnRui
07-28-2008, 06:17 PM
I received my 9500ix today, anxious about both the detector itself and the software updating process. I am a computer programmer (by profession and hobby), so I was very curious about the program and files that Escort would be employing.

I noticed that the installer (DetectorTools.zip) contained a DotNetFX folder, meaning that the program itself is definitely written using the .NET runtime, probably in C#.

I am a C# programmer of 5+ years, and the .NET runtime is easily decompiled into its code using a variety of tools, the one I prefer being .NET Reflector. What does this mean? I can see, line for line, the code that Escort is using for Detector Tools.

So why is that helpful? I can see exactly how their software uses the files and interacts with the 9500ix via USB and can write my own program to interact with it, possibly extending the functionality of Escort's and providing advanced features to our 9500ci/ix users (and myself of course!).

Once I figure out how the location files (.LCD) and software update files (.SWU) work, I will post a file specification for each to aid any other developers that want to use these files. I will also document the process for USB communication for all those that may be interested (other developers or curious folk alike).

The bad news? Escort's own program is ridden with bugs, typos, and just plain ugly design. Fortunately, I'll get a ton of time to work with this and fix it so we have a usable, hopefully bug-free, program for our 9500ci/ix users.

This whole thing leaves me curious of how their firmware itself is written. If I can hack up some of the software update files, I might be able to figure out what they are using in their and maybe... just MAYBE able to get 'custom firmwares,' but that is a long way off in both development and possible legal issues. However, adding custom features/tweaks in "Prefs," like Ramp-Up modification/settings and whatever would be pretty awesome.

I'll keep you guys updated as I rumage through this code and see what extra features and data I can salvage from the 9500ix!

Lucky225
07-28-2008, 06:21 PM
Sounds cool, but prolly not a good idea to post that you intend on violating DMCA. Besides there's already freeware on this forum, you could probably contact that poster and ask questions and help improve the freeware or make your own.

QuickCummins
07-28-2008, 07:14 PM
intresting!

RanEnRui
07-28-2008, 08:09 PM
Ewwww, slight update. :( They DID take somewhat of a countermeasure for the likes of my types! ;) Their code is 'obfuscated' meaning that they've garbled it and have some program that descrambles it and puts it back together when it is run.

They are using a fairly popular vendor's program, which also has a product that can descramble it, so I'll see if I can get my hands on that program.

It's kind of strange, all the functions are clearly defined and constants are labeled, but functions all are 'blank' (which of course is not true). Looking at a few of the constants, this very same code library is used to program the 9500i/ci/ix RDs themselves as it has some veryyyy interesting functions like reading and writing to the EEPROM/Flash/Firmware. :eek:

There are also some functions that I believe may be a little... 'unethical' to use, such as 'SetSerialNumber,' although there always is the printed serial at the bottom.

I'll have to 'sniff' some of the USB traffic using USBSpy to see what is actually sent/received to the RD, but this is looking like a very interesting (read: difficult) project now. ;)

statusquo
07-28-2008, 08:30 PM
I was wondering about that serial info earlier.

Seems they'd have to lock the software, at least for the traffic data, so someone couldn't share it or exchange it between units (since I'll own 2 ix units) much less when the subscription ends and you can no longer load anything new.

It might be interesting if you could dump the info into a KMZ file to see in Google Earth and modify as needed (like adding to or deleting info) and resending to the unit(s).

I wonder if the software is really Escort's, or that of the Traffic Data/Speed people?

sq

happya$$
07-28-2008, 08:55 PM
that would be awesome if you can make custom stuff

thestaton
07-28-2008, 08:59 PM
:) Where do I send donation money? If I had the ability to upload my own tones and tweak the ramp up this would be priceless.

Also how fantastic would it be to edit, the auto sensitivity settings? Right now I feel that 45MPH is a little fast for X & K to go to full strength. I'd love to have it at 35MPH.

Your my hero.

cedareden
07-28-2008, 11:15 PM
DetectorTools has to be the fugliest software ever written! On my widescreen laptop, all of the program elements overlap each other, making it virtually unusable. And without any real documentation, it is not even clear how to upload new databases to the radar detector. I had to assume "Merge" was the right choice, since it was the only button that made any sense. But there is really no way to go into the detector and see what is actually there.