Windows Vista Tips

Windows Vista Tips > Newsgroups > ActiveSync > Retrieving Windows CE files from GPS device

Reply
Thread Tools Display Modes

Retrieving Windows CE files from GPS device

 
 
Franc Zabkar
Guest
Posts: n/a

 
      10-20-2008
I have a GPS device running Windows CE 5.0 build 1400.

I'm running ActiveSync ver 3.8 on a Win98SE box.

I'd like to be able to backup all the WinCE executables on my desktop
PC, but the EXE, DLL, and CPL files are protected in some way (Access
Denied). Furthermore, there are many more hidden files which I can't
see via ActiveSync but which are visible when I hack into the GPS OS.

I have a lot of beginner's questions in regard to WinCE, but I can't
find an active WinCE newsgroup. Can anyone suggest an appropriate
forum?

Here is the information I have collected on the GPS device so far:
http://www.users.on.net/~fzabkar/GPS/PWM-3501_Tevion/

The GIFs are screenshots of the GPS files that are visible from the PC
side.

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a

 
      10-20-2008
Files in ROM are not stored there as files, usually, but as
directly-executable images. You can never copy those to the PC, but they
shouldn't be a problem as far as losing them, since they're in ROM.

Other files might be parts of running programs and you can't back those up
for obvious reasons (they're in use).

I'm not sure what's happening with GIFs, but the most-likely cause of
problems is that they're open.

Paul T.

"Franc Zabkar" <> wrote in message
news:...
>I have a GPS device running Windows CE 5.0 build 1400.
>
> I'm running ActiveSync ver 3.8 on a Win98SE box.
>
> I'd like to be able to backup all the WinCE executables on my desktop
> PC, but the EXE, DLL, and CPL files are protected in some way (Access
> Denied). Furthermore, there are many more hidden files which I can't
> see via ActiveSync but which are visible when I hack into the GPS OS.
>
> I have a lot of beginner's questions in regard to WinCE, but I can't
> find an active WinCE newsgroup. Can anyone suggest an appropriate
> forum?
>
> Here is the information I have collected on the GPS device so far:
> http://www.users.on.net/~fzabkar/GPS/PWM-3501_Tevion/
>
> The GIFs are screenshots of the GPS files that are visible from the PC
> side.
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.



 
Reply With Quote
 
Franc Zabkar
Guest
Posts: n/a

 
      10-21-2008
The main reason I want to copy the files to my PC is so that I can
analyse them to determine which of them are involved with particular
hardware and software aspects of my GPS device. I currently have my
GPS operating as a crude PDA.

The GIFs I was referring to are screenshots of the files in the GPS
Windows folder that are visible from my Win98SE PC via ActiveSync. I
would have preferred to capture the directory listing to a text file,
but I don't know of any way to do this in WinCE.

BTW, I found this remote registry editor very helpful:
http://ceregeditor.mdsoft.pl/index.php?id=3&lang=en


On Mon, 20 Oct 2008 14:50:45 -0700, "Paul G. Tobey [eMVP]" <p space
tobey no spam AT no instrument no spam DOT com> put finger to keyboard
and composed:

>Files in ROM are not stored there as files, usually, but as
>directly-executable images. You can never copy those to the PC, but they
>shouldn't be a problem as far as losing them, since they're in ROM.
>
>Other files might be parts of running programs and you can't back those up
>for obvious reasons (they're in use).
>
>I'm not sure what's happening with GIFs, but the most-likely cause of
>problems is that they're open.
>
>Paul T.
>
>"Franc Zabkar" <> wrote in message
>news:.. .
>>I have a GPS device running Windows CE 5.0 build 1400.
>>
>> I'm running ActiveSync ver 3.8 on a Win98SE box.
>>
>> I'd like to be able to backup all the WinCE executables on my desktop
>> PC, but the EXE, DLL, and CPL files are protected in some way (Access
>> Denied). Furthermore, there are many more hidden files which I can't
>> see via ActiveSync but which are visible when I hack into the GPS OS.
>>
>> I have a lot of beginner's questions in regard to WinCE, but I can't
>> find an active WinCE newsgroup. Can anyone suggest an appropriate
>> forum?
>>
>> Here is the information I have collected on the GPS device so far:
>> http://www.users.on.net/~fzabkar/GPS/PWM-3501_Tevion/
>>
>> The GIFs are screenshots of the GPS files that are visible from the PC
>> side.
>>
>> - Franc Zabkar


- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a

 
      10-21-2008
As mentioned, files in ROM are not files, so you can't copy them in any way,
shape, or form, usually (it depends on how they're marked when the ROM files
are built). If you had the original source folders (the Platform Builder
flat release directory), that were used to build the ROM file, you could
operate on the real DLLs and EXEs, but once they're in the ROM, you're done.

Microsoft ships a Remote Registry Editor as part of Visual Studio 2005/2008
and eMbedded Visual C++ 4.0 Service Pack 4.

You could write a simple program to capture a directory listing, although
it's not clear to me why that has anything to do with any of this (how does
a directory listing tell you anything about dependencies?) If the device is
based on generic Windows CE 5.0, as opposed to Pocket PC, there's a
reasonable chance that the MS-DOS console is there, in which case, 'dir *.*
> file.txt' would get the directory listing just as it would on the desktop.

It's up to the device developer, OEM, of course, to decide if having that
console makes sense or not...

By the way, virtually every microsoft.public.windowsce.* group is active, so
I'm not sure how you concluded that there was a problem. Sixty some
messages *today* in the Platform Builder group, for example,
microsoft.public.windowsce.platbuilder. Somewhere in the 20s for
microsoft.public.windowsce.app.development.

Paul T.

"Franc Zabkar" <> wrote in message
news:...
> The main reason I want to copy the files to my PC is so that I can
> analyse them to determine which of them are involved with particular
> hardware and software aspects of my GPS device. I currently have my
> GPS operating as a crude PDA.
>
> The GIFs I was referring to are screenshots of the files in the GPS
> Windows folder that are visible from my Win98SE PC via ActiveSync. I
> would have preferred to capture the directory listing to a text file,
> but I don't know of any way to do this in WinCE.
>
> BTW, I found this remote registry editor very helpful:
> http://ceregeditor.mdsoft.pl/index.php?id=3&lang=en
>
>
> On Mon, 20 Oct 2008 14:50:45 -0700, "Paul G. Tobey [eMVP]" <p space
> tobey no spam AT no instrument no spam DOT com> put finger to keyboard
> and composed:
>
>>Files in ROM are not stored there as files, usually, but as
>>directly-executable images. You can never copy those to the PC, but they
>>shouldn't be a problem as far as losing them, since they're in ROM.
>>
>>Other files might be parts of running programs and you can't back those up
>>for obvious reasons (they're in use).
>>
>>I'm not sure what's happening with GIFs, but the most-likely cause of
>>problems is that they're open.
>>
>>Paul T.
>>
>>"Franc Zabkar" <> wrote in message
>>news:. ..
>>>I have a GPS device running Windows CE 5.0 build 1400.
>>>
>>> I'm running ActiveSync ver 3.8 on a Win98SE box.
>>>
>>> I'd like to be able to backup all the WinCE executables on my desktop
>>> PC, but the EXE, DLL, and CPL files are protected in some way (Access
>>> Denied). Furthermore, there are many more hidden files which I can't
>>> see via ActiveSync but which are visible when I hack into the GPS OS.
>>>
>>> I have a lot of beginner's questions in regard to WinCE, but I can't
>>> find an active WinCE newsgroup. Can anyone suggest an appropriate
>>> forum?
>>>
>>> Here is the information I have collected on the GPS device so far:
>>> http://www.users.on.net/~fzabkar/GPS/PWM-3501_Tevion/
>>>
>>> The GIFs are screenshots of the GPS files that are visible from the PC
>>> side.
>>>
>>> - Franc Zabkar

>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.



 
Reply With Quote
 
Franc Zabkar
Guest
Posts: n/a

 
      10-21-2008
On Tue, 21 Oct 2008 14:21:37 -0700, "Paul G. Tobey [eMVP]" <p space
tobey no spam AT no instrument no spam DOT com> put finger to keyboard
and composed:

>As mentioned, files in ROM are not files, so you can't copy them in any way,
>shape, or form, usually (it depends on how they're marked when the ROM files
>are built).


That's my first point of confusion. Are the core WinCE files in mask
ROM or in flash? There is a directory named ResidentFlash which is
available to the user, but there are Windows files such as the
registry which can be written, and which persist after power cycling,
so these must be in flash also.

The fact that files are located in ROM doesn't alter the fact that
they are still files, so I can't see why they can't be copied,
assuming they are not in use. In fact I have retrieved all the files
in my router's firmware via FTP. Maybe WinCE has its own file
protections that prevent copying, but nothing in the files' properties
(read-only, hidden) would suggest that this is the case.

>If you had the original source folders (the Platform Builder
>flat release directory), that were used to build the ROM file, you could
>operate on the real DLLs and EXEs, but once they're in the ROM, you're done.
>
>Microsoft ships a Remote Registry Editor as part of Visual Studio 2005/2008
>and eMbedded Visual C++ 4.0 Service Pack 4.
>
>You could write a simple program to capture a directory listing, although
>it's not clear to me why that has anything to do with any of this (how does
>a directory listing tell you anything about dependencies?)


It tells me which subset of the WinCE OS is installed. This helps when
I'm looking for compatible applications, or when I'm conferring with
the author of a problematic application. At the moment I'm just trying
to find out as much as I can about the device ... without taking a
screwdriver to it.

So far I've tried 5 or 6 notepads and 2 calculators, but none are
fully compatible with my device. But then it was designed as a GPS
with a 320x240 touch screen so I can't expect too much.

>If the device is
>based on generic Windows CE 5.0, as opposed to Pocket PC, there's a
>reasonable chance that the MS-DOS console is there, in which case, 'dir *.*
> > file.txt' would get the directory listing just as it would on the desktop.

>It's up to the device developer, OEM, of course, to decide if having that
>console makes sense or not...


It doesn't, so it does not appear to have been included. Is the
console something like command.com or cmd.exe? Is it available for
public download?

>By the way, virtually every microsoft.public.windowsce.* group is active, so
>I'm not sure how you concluded that there was a problem. Sixty some
>messages *today* in the Platform Builder group, for example,
>microsoft.public.windowsce.platbuilder. Somewhere in the 20s for
>microsoft.public.windowsce.app.development.


I saw those groups but they sounded like they were targeted at
developers and programmers. I am neither. In fact I'm a raw novice
whose questions are likely to annoy people. I considered asking my
questions in the microsoft.public.windowsce group, but that is showing
no activity, and may no longer be a valid group at all.

I'll try posting to microsoft.public.windowsce.embedded. Hopefully the
regulars will be understanding.

>Paul T.
>
>"Franc Zabkar" <> wrote in message
>news:.. .
>> The main reason I want to copy the files to my PC is so that I can
>> analyse them to determine which of them are involved with particular
>> hardware and software aspects of my GPS device. I currently have my
>> GPS operating as a crude PDA.
>>
>> The GIFs I was referring to are screenshots of the files in the GPS
>> Windows folder that are visible from my Win98SE PC via ActiveSync. I
>> would have preferred to capture the directory listing to a text file,
>> but I don't know of any way to do this in WinCE.
>>
>> BTW, I found this remote registry editor very helpful:
>> http://ceregeditor.mdsoft.pl/index.php?id=3&lang=en
>>
>>
>> On Mon, 20 Oct 2008 14:50:45 -0700, "Paul G. Tobey [eMVP]" <p space
>> tobey no spam AT no instrument no spam DOT com> put finger to keyboard
>> and composed:
>>
>>>Files in ROM are not stored there as files, usually, but as
>>>directly-executable images. You can never copy those to the PC, but they
>>>shouldn't be a problem as far as losing them, since they're in ROM.
>>>
>>>Other files might be parts of running programs and you can't back those up
>>>for obvious reasons (they're in use).
>>>
>>>I'm not sure what's happening with GIFs, but the most-likely cause of
>>>problems is that they're open.
>>>
>>>Paul T.
>>>
>>>"Franc Zabkar" <> wrote in message
>>>news: ...
>>>>I have a GPS device running Windows CE 5.0 build 1400.
>>>>
>>>> I'm running ActiveSync ver 3.8 on a Win98SE box.
>>>>
>>>> I'd like to be able to backup all the WinCE executables on my desktop
>>>> PC, but the EXE, DLL, and CPL files are protected in some way (Access
>>>> Denied). Furthermore, there are many more hidden files which I can't
>>>> see via ActiveSync but which are visible when I hack into the GPS OS.
>>>>
>>>> I have a lot of beginner's questions in regard to WinCE, but I can't
>>>> find an active WinCE newsgroup. Can anyone suggest an appropriate
>>>> forum?
>>>>
>>>> Here is the information I have collected on the GPS device so far:
>>>> http://www.users.on.net/~fzabkar/GPS/PWM-3501_Tevion/
>>>>
>>>> The GIFs are screenshots of the GPS files that are visible from the PC
>>>> side.
>>>>
>>>> - Franc Zabkar

>>
>> - Franc Zabkar
>> --
>> Please remove one 'i' from my address when replying by email.

>


- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a

 
      10-22-2008
>>As mentioned, files in ROM are not files, so you can't copy them in any
>>way,
>>shape, or form, usually (it depends on how they're marked when the ROM
>>files
>>are built).

>
> That's my first point of confusion. Are the core WinCE files in mask
> ROM or in flash? There is a directory named ResidentFlash which is
> available to the user, but there are Windows files such as the
> registry which can be written, and which persist after power cycling,
> so these must be in flash also.
>
> The fact that files are located in ROM doesn't alter the fact that
> they are still files, so I can't see why they can't be copied,
> assuming they are not in use. In fact I have retrieved all the files
> in my router's firmware via FTP. Maybe WinCE has its own file
> protections that prevent copying, but nothing in the files' properties
> (read-only, hidden) would suggest that this is the case.


They aren't necessarily in an actual ROM chip, but the operating system
image comes in the form of a single file, nk.bin, in fact. This file
contains images of ordinary "files", bitmaps, html files, whatever.
Executable modules, however, can either be compressed into this ROM image as
modules, which are no longer files, or as files. Generally, executable
things that are built into the operating system are in the modules category
(this is under the control of the device builder), so they can't be treated
as ordinary files.

When Windows CE starts, the stuff that's built into this nk.bin file appears
to the user as though it's in the \windows folder. There may not be
anything really there, but the filesystem driver makes it appear that
everything built into the nk.bin file is in \windows.

So, no, your conclusion is completely false. They ARE NOT STILL FILES. They
are merely made to appear as though they are files by the filesystem.

Since it seems that this particular device also has a flash filesystem,
ResidentFlash, that's also a place where files can be stored, but it's not
the same filesystem as what drives \windows (it's like having two disk
drives on your PC, one of which doesn't allow the files to be read (or
written, of course), while the other one is just an ordinary hard disk,
ResidentFlash.

>>If the device is
>>based on generic Windows CE 5.0, as opposed to Pocket PC, there's a
>>reasonable chance that the MS-DOS console is there, in which case, 'dir
>>*.*
>> > file.txt' would get the directory listing just as it would on the
>> > desktop.

>>It's up to the device developer, OEM, of course, to decide if having that
>>console makes sense or not...

>
> It doesn't, so it does not appear to have been included. Is the
> console something like command.com or cmd.exe? Is it available for
> public download?
>


Yes, it's like cmd.exe, more or less. No, you can't download it. Third
parties have versions for Pocket PC devices that might work for you, I
guess, but it's been years since I used them.

>>By the way, virtually every microsoft.public.windowsce.* group is active,
>>so
>>I'm not sure how you concluded that there was a problem. Sixty some
>>messages *today* in the Platform Builder group, for example,
>>microsoft.public.windowsce.platbuilder. Somewhere in the 20s for
>>microsoft.public.windowsce.app.development.

>
> I saw those groups but they sounded like they were targeted at
> developers and programmers. I am neither. In fact I'm a raw novice
> whose questions are likely to annoy people. I considered asking my
> questions in the microsoft.public.windowsce group, but that is showing
> no activity, and may no longer be a valid group at all.
>
> I'll try posting to microsoft.public.windowsce.embedded. Hopefully the
> regulars will be understanding.


If you say who you are and what you're asking, I doubt that anyone will jump
on you for being off-topic. It's not clear to me why you're doing all this
when just buying a device that fits your needs better would save a lot of
trouble and might prevent you from getting to the end of the day and finding
that what you have just simply won't work at all for what you need. You
will not be able to build a new version of the operating system for the
device, unless you have a complete schematic and detailed information on how
the hardware works. Windows CE is not like desktop Windows where everyone's
hardware is basically the same. The operating system is customized for each
device by the device vendor.

Paul T.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WMDC not syncing Ben ActiveSync 19 04-25-2008 03:43 PM
How do you repair windows entirely using your Windows Vista DVD Jonathan Yaniv- Windows Live Butterfly Expert Windows Vista Performance 16 02-12-2008 06:28 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Install Failure On Ultimate chris gallacher Windows Vista Installation 1 03-07-2007 10:37 PM
ANN: Upcoming Windows Embedded Chats and Webcasts Nick White [MSFT] ActiveSync 0 08-25-2004 06:50 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59