| Versions |
 |
|
| Author |
Topic  |
|
Acrosser
USA
23 Posts |
Posted - 18 déc. 2006 : 10:00:57
|
I was somehow able to copy ceconfig.h to \HD\Updates then to my computer.
You can download it from here: http://www.spacetornado.com/get/ceconfig.h
I couldn't copy other files though, like .exe's and .dll's. I was able to reg rededit.exe to work, and followed these instructions: http://www.hpcfactor.com/support/cesd/s/0006.asp to AutoHide the taskbar. But it doesn't work, with either a 1 or 0 for the (Default) value.
On an unrelated note, I finally found a suitable means of transferring video to my PVP in a playable format. I use either Windows Media Encoder 9, or M2PMCEncoderZX (a free GUI/wrapper for WME9, search videohelp.com for it) and encode to WMV format: 200-400kbit/sec video rate, 96-128kbit/sec audio, resolution of 320width or less (doesn't matter what height is, as long as it is less than or equal to 240), 24 or 30fps. This bypasses the whole XviD/DivX problem. |
 |
|
|
TFGBD
67 Posts |
Posted - 18 déc. 2006 : 10:33:23
|
Yep. There are plenty of much better and free Task Managers for Windows CE. Here are a few of my favorites:
ITaskMgr - free/open source http://www001.upp.so-net.ne.jp/ishi/wince/itaskmgr/index.html ITaskMgr+NetMgr - Enhanced version with network stats http://homepage2.nifty.com/qta/tpn/index.htm
Buzz's Task manager. looks to be very nice and free. This one is a Pocket PC app so it will need the Pocket PC compatability dlls. http://buzzdev.net/index.php?option=com_phorum&Itemid=125&phorum_query=read,27,15027,page=4
Most of these will need the toolhelp.dll that was posted in the zip I posted earlier.
I have a few more questions about the device as well:
Why are you using showtaskbar.exe at all now? I'd imagine it will display normally if you just use the app I posted above without showtaskbar.exe at all. As I said, showtaskbar.exe seems to be mainly for Mitac devices where the shell is already booted along with the navigation app.
Does it have SIP support built in? Do you see the little soft keyboard icon on the taskbar when you first boot the shell?
As for the file list, here is an easy way for you to get me that. Simply download and install PocketConsole and Microsoft CMD.exe from here: http://www.symbolictools.de/public/pocketconsole/download.htm http://www.symbolictools.de/public/pocketconsole/applications/cmd/index.htm
Pocket Console will need Pocket PC MFCCE300.dll, aygshell.dll and doclist.dll to start, so be aware of that. Once everything is installed, run CMD.exe from where you installed it and change directory to windows. Now just type "dir >\filelist.txt" (without quotes) and you should then have a file you can upload for me to see the listing of files on the device. I hope this works for you and thanks for informing me about this device. :)
Of course you were able to copy ceconfig.h. Its not an executable like a DLL/EXE/CPL and so Windows CE will let you copy it just fine. Sometimes you can do the same with the OEM's own EXEs as they are sometimes put in the FILES section of the ROM image and thus are able to be copied. Try it with the PMP shell app! :P |
6 WinCE devices and counting... |
Edited by - TFGBD on 18 déc. 2006 10:42:19 |
 |
|
|
Acrosser
USA
23 Posts |
Posted - 18 déc. 2006 : 11:33:03
|
Good idea on using command line dir >\list.txt. Fortunately cmd.exe is already included and I didn't need PocketConsole. The list of files in \Windows is here:
http://www.spacetornado.com/get/DreameoE320PVP_File_List.txt
For whatever reason, when I run autorun.exe it just gives me Windows Explorer with no taskbar. Here's a picture I took of the display with just autorun.exe being executed:
http://www.spacetornado.com/get/DreameoE320PVP_ExplorerOnly.jpg
And here's after autorun.exe and showtaskbar.exe have been run (and View>Details):
http://www.spacetornado.com/get/DreameoE320PVP_ExplorerAndTaskbar.jpg
The soft keyboard icon appears only after I run showtaskbar.exe. Natively the main menu is very basic. It only has the following menu items: GPS, Video, Music, Photo, Audio Recorder, Settings and Files. The first 5 are self explanatory. The Settings menu has Power options, LCD settings, TV display format, Sound options, Storage (Hard Disk [selected] or Compact Flash), Language and About. The Files menu only lets you view files and folders under \HD.
And, natively, that's it. No start menu, explorer, desktop, keyboard icon, etc.
I was able to get ITaskMgr to work. For some reason it was the "PXA" CAB, not the "ARM" CAB, that installed successfully (whereas I had to use the "ARM" CAB to install WinamPAQ).
On a regular bootup, ITaskMgr shows the following processes: ITaskMgr.exe, FileView.exe, PMPBackground.exe, MainScreen, VolumeControl, explorer, gwes, filesys and NK. The only Task besides ITaskMgr is PMP Background.
Unfortunately when I run showtaskbar.exe, it doesn't start up any new processes (or at least any that show up in ITaskMgr). I think it's just part of explorer.exe, because when I terminate that process the taskbar disappears (just like in Windows NT/2k/XP).
So I guess I either need a hidetaskbar.exe or similar, or figure out how to make AutoHide work. |
 |
|
|
Acrosser
USA
23 Posts |
Posted - 18 déc. 2006 : 12:14:30
|
Thanks to some help from TFGBD and a lot of searching/experimenting I was able to install WinamPAQ on my E320 PVP. It runs significantly faster than the built-in audio player, including adding mp3s/folders to a playlist, switching between songs, scrolling, etc. Plus it includes many more features, such as custom EQ, sorting, adding folders recursively, etc. You can also run WinamPAQ in the background while you use other applications. There are a couple drawbacks, though. Read below...
Here's how I got it to work:
1. Download the following 5 files (note: I uploaded some of them from their original locations, some posted in this and other forums, to my personal web server so they won't disappear):
A. http://www.spacetornado.com/get/Dreameo_E320_PVP_autorun.zip B. http://www.spacetornado.com/get/showtaskbar.exe C. http://projecteam.org/new/download/winampaq.sigmarionIII.CAB - from http://www.winampaq.com/new/download.html D. http://www.spacetornado.com/get/itaskmgr.PXA.CAB
2. Connect the E320 PVP to your computer through USB cable. Extract the autorun zip file and copy all 5 files from step 1 (autorun.exe, toolhelp.dll, showtaskbar.exe, winampaq.sigmarionIII.CAB and itaskmgr.PXA.CAB) to the \Updates folder.
[Note: you may also need to copy aygshell.dll to \Updates\ and/or run netcf.all.wce4.armv4i.cab - both of which you can find at http://www.spacetornado.com/get/ ].
3. On the PVP, use the Files menu item to browse to autorun.exe and Play it. The Windows CE 4.2 Windows Explorer application should run.
4. Play showtaskbar.exe as well to show the Windows taskbar. The Start menu doesn't seem to work, but you can use the far lower-righthand icon to switch between open apps and the icon to the left of that to display the on-board keyboard (useful for renaming files and folders).
5. Use Windows Explorer to create a folder either in \HD or in \HD\Updates. Name it "Apps" or "Programs" or similar. This is where you can install WinamPAQ.
6. Use Windows Explorer (autorun.exe) to browse to \HD\Updates and run winampaq.sigmarionIII.CAB. It will ask you for an installation folder, choose the one you created in Step 5.
7. If it reports there is not enough free space, tap "No" and it will install in that folder anyway.
8. If you want to create a shortcut to WinamPAQ in \HD\Updates or \HD, Browse to \HD\Apps\ and select WinamPAQ.exe. Tap Edit then Copy. Browse to destination then tap Edit then Past as Shortcut. Use on-screen keyboard to rename if necessary.
9. Open Control Panel from Windows Explorer. Change the Power and Display settings so that the PVP doesn't go into User or System Idle (never). Otherwise even if WinamPAQ is running and playing a song the PVP will go into suspend mode and stop playback.
10. (reboot PVP to close taskbar if it is in the way) Run autorun.exe then WinamPAQ.exe. Tap EQ to hide Equalizer then use LOAD LIST button to add a directory (recursively to add subfolders). I just add the entire \HD\Music folder.
11. Use MiSC OPTS to sort if desired, then LOAD LIST to save the playlist. I saved mine as all.m3u in \HD\Apps folder. You'll need to run showtaskbar.exe to show the on-screen keyboard to name the file.
12. You can play a song, set it to shuffle, use the very bottom-right icon on taskbar to switch to Windows Explorer, then navigate to \HD\Navigation\ and run PVP_HOR.EXE to start the GPS software (you can make a shortcut to this, too, in \Updates).
13. You should have WinamPAQ running and playing songs in the background, with the NavMate GPS software running in the foreground, and the taskbar at the bottom blocking the GPS buttons. Also you should still have ITaskMgr running, which should show up as the familiar green Task Manager icon on the taskbar. Tap this to open ITaskMgr, then terminate explorer.exe. It will crash, but WinamPAQ and NavMate will continue running.
The only cons? First of all, tt takes a lot of button-pressing to get to this point. Secondly, you can't switch back to WinamPAQ to change songs/volume/shuffle/playlists/etc without closing NavMate. WinamPAQ does support mapping buttons to functions, such as Next/Prev song, etc. And you can uncheck a button in the preferences allowing you to leave these buttons mapped even when WinamPAQ is playing in the background. However you can only map the directional keys, up down left and right. So that means you wouldn't be able to use them for NavMate. Also you need the directional buttons to use the native GUI menu because it is not touch-screen capable.
All of this could be fixed if there was a program-switcher that could map a series of button-presses on this PVP to switching between apps, or if the taskbar could autohide to the very bottommost 2 or 3 pixels, activating on a tap.
Anyway I've spent way too much time on this whole thing today!
~Tony |
 |
|
|
logical1
USA
3 Posts |
Posted - 18 déc. 2006 : 16:28:26
|
Amazing results Acrosser! And not to leave out TFGBD for valuable knowledge and pertinate questions dealing with WinCE. I can't wait to get going on my machine! Perhaps this evening or next, must finish pack-and-ship for the Holidays first. Some refinements are yet needed, but, by golly it works! |
 |
|
|
caseyh
5 Posts |
Posted - 18 déc. 2006 : 16:53:59
|
THANK YOU VERY MUCH!!!! this is the coolest thing i have been able to do thus far with E320.
we just need away to add a shortcut to the main bootup menu now.
it is insane how much faster this is than the bundled player.
|
 |
|
|
TFGBD
67 Posts |
Posted - 18 déc. 2006 : 21:56:29
|
As far as I understand, showtaskbar.exe is a simple little app someone wrote for the Mios to show/hide the taskbar. I did not think it would even stay in the process list for more than a second...but I guess I should try it for myself. Did you try killing the PMP shell? Perhaps that is what is preventing the start menu from popping up. I notice some Pocket PC games and other fullscreen graphical apps like to do that on my other H/PCs.
Some thoughts: Cool. I notice that it uses the Windows XP-style UI skin by default. Interesting. Thats nice CMD.exe was already there. It made life much easier. 
Do you have any CompactFlash Wifi cards you can test? I'd love to see how Wifi is on this thing. They should just work after you install a Pocket PC 2003 driver. Did anyone figure out how good the battery life is when its not using the GPS CF card?
I noticed some really interesting file names in your file list. Here are some of the things that stand out to me: There is a file named replloga.exe as well as the real repllog.exe (Activesync). Due to its small file size, Its possible that the replloga.exe is some small app to switch between activesync and USB mass storage mode. Try running it! I also see a GX.dll (GAPI) there. Did you put that there or was that in the device's ROM when you bought it? udp2tcp.exe is another app related to Activesync. Its the program that allows you allows USB passthrough internet connections to a WinCE device while connected via Activesync. Its very possible this thing should be easy to sync. Oh, did you try copying any of the OEM's apps like VideoPlay.exe? I bet it will also be easy to hide the \Windows directory in USB mass storage mode. I bet there is something in the registry somewhere. [;P]
quote: Originally posted by Acrosser For whatever reason, when I run autorun.exe it just gives me Windows Explorer with no taskbar. Here's a picture I took of the display with just autorun.exe being executed: ... On a regular bootup, ITaskMgr shows the following processes: ITaskMgr.exe, FileView.exe, PMPBackground.exe, MainScreen, VolumeControl, explorer, gwes, filesys and NK. The only Task besides ITaskMgr is PMP Background.
Oh, I see! It seems Explorer is already running at bootup on your device. I assumed it was not running at all. If the Explorer shell is already running, running explorer.exe again will just open a new file explorer window. Since all autorun.exe does is call explorer.exe, it will do the same thing. Sorry, I assumed your device was like my SupportPlus device and was not running Explorer at bootup. If you say the taskbar is not shown, it sounds to me like its just not set to always on top. If you could get to the Start menu, you could simply got to Start>Settings>Taskbar & Start Menu and check "Always on top" so that other apps do not hide it. Again, try killing the PMP shell to see if it fixes the start menu.
Looking at your file list, I notice that it is missing some of the core networking components like Winsock.dll, etc. :/ But that should not be too big of a deal as they should be able to be added quite easily.(I can provide them if needed) Please come visit me on the EFNet IRC network in the channel #HPCDev to discuss this in more detail if you want or try http://chat.efnet.org/ if you prefer. :)
I also notice that there is a disk called "storage" in your screenshot. What is this? Can you get me a list of the files on this disk as well? Perhaps the other dlls needed for networking, etc that are not in \Windows are here in a system path or something... Are all those files you have in the Root directory like Aygshell.dll, autorun.exe, etc still there after you do a soft reset of the device?
BTW: Why use WinamPAQ? (other than looking nice ) TCPMP/CorePlayer plays way more formats and MortPlayer is a really nice variation of GSPlayer that has great finger friendly button skins! :P
Thanks and I hope I helped and you can answer some of my questions. I may pick up one of these guys if its not too huge and the battery life is at least decent without the CF GPS it comes with. |
6 WinCE devices and counting... |
Edited by - TFGBD on 18 déc. 2006 22:19:25 |
 |
|
|
Acrosser
USA
23 Posts |
Posted - 18 déc. 2006 : 23:35:20
|
I haven't tried killing the PMP shell, I'll try that and post results. I don't have a CompactFlash Wifi card. All the ones I see on Froogle are around $60. Do they make CompactFlash NIC cards? I could just plug it into my router.
Where's the Pocket PC 2003 driver? I've seen a lot of apps for Pocket PC 2003 but can't install any.
I think the battery wasn't fully charged when I first started using it, and that's why it wasn't lasting very long. It seems to be lasting longer now though. I'll charge it fully and see how long it takes to drain. The specs say 6 hours of music or 3 hours of video, so I'm guessing GPS (which is quasi-video/quasi-audio) would last ~3-4hrs.
Another interesting point is that the PVP seems to boot up faster than stated in the specs. It takes about 20 seconds cold bootup, whereas the specs say around 35sec.
\Storage folder is empty. Not sure what it is for.
I'll try repploga.exe and udp2tcp.exe later, too (at work now). And I'll try copying VideoPlay.exe, etc.
Another thing I noticed is that when using Control Panel and some other WinCE windows, the bottom parts of some of the windows are clipped because they run off the bottom of the 320x240 screen. And I can't figure out a way to "scroll" the screen down. So that might be why the taskbar isn't shown until I run showtaskbar.exe.
But if \Windows is in ROM, how will I be able to write files to it? Will an installer write them there or to a folder on the HD? What would be nice is if I could copy \Windows and the other system files to the hard drive, and have the device boot to the hard drive rather than ROM... probably not possible though.
The files that are in the "root" of the device (aygshell.dll, autorun.exe, etc) are actually in \HD\Updates. It seems that any files that are put in there will show up as in the root of the drive. And they stay there after hard reboot.
GX.dll was already in there, although I did install .NET Framework 1.0 so I'm not sure if that installed it.
I installed WinamPAQ because someone mentioned it and I didn't know of any others! :) Plus I've used Winamp on my PC for years and like it. But if there's something better for h/pc's I'll definitely switch. The only problem I've been having is installing apps on the device. Everything is Pocket PC 2000,2002,2003 / whatever - compatible, and the CAB's rarely install on the PVP. I guess I need more DLLs.
And about the size, it is a bit bulky (it's thick compared to a lot of modern devices like iPods/etc, like 2 inches deep). But you've gotta remember this thing is pretty cheap compared to fancy devices like GPS Nav systems and iPods, etc... and it does both GPS and multimedia functions. If it cost me $600 I would expect it to be faster, smaller, lighter, have more functions, allow use of the full native operating system, allow updates/upgrades/flash the firmware, built-in networking support, ActiveSync, etc. But for ~$200, including a GPS card, windshield car mount (which jiggles a bit when driving over bumps), A/V cables, cigarette lighter power adapter, it's a deal to me.
|
 |
|
|
Acrosser
USA
23 Posts |
Posted - 19 déc. 2006 : 11:02:12
|
With the [extensive] help of TFGBD and others from #hpcdev on Efnet (IRC), I was able to make even more progress in improving the usability of the PVP, by auto-hiding the start menu.
You need a keyboard with a "right click" button on it: http://www.yetanotherhomepage.com/j7xx/files/jotkbd.zip
Upload to \Updates and run it. Run showtaskbar.exe. Tap "Right click" on the keyboard, then tap the start button. A context menu should come up. Tap properties then check auto-hide. Now you can use the app-switcher on the taskbar to switch between media player and GPS, and the taskbar will autohide when focus is changed to GPS!
Also, check out these other media players, as suggested by TFGBD:
http://www.freewareppc.com/multimedia/mortplayer.shtml http://picard.exceed.hu/tcpmp/test/ |
 |
|
|
Acrosser
USA
23 Posts |
Posted - 19 déc. 2006 : 18:59:04
|
Further success in PVP hacking!
Run RegEdit.exe (can't remember where I found it.. one of these forums I think) on PVP. Navigate to following key:
[HKEY_LMACHINE\Explorer\Shell Folders]
In the bottom pane, scroll down to "StartUp." Change this from \Windows\StartUp to \HD\Apps\StartUp or similar (something on the hard drive so you can write to it and it persists through cold resets). Then copy shortcuts of executables to that folder and they will run when the PVP is booted! For example, I placed a shortcut to showtaskbar.exe in my own customer StartUp folder and now the start menu automatically appears when I boot.
We haven't been able to figure out how the PVP's OEM applications are running on bootup, as they aren't in the normal registry location that specifies startup apps (HKLMachine\init). These apps are PMPBackground.exe, MainScreen.exe, VolumeControl.exe, etc. Preventing these from starting on bootup and adding a shortcut to autorun.exe in your custom StartUp folder would give you more of a basic WinCE bootup, rather than the crappy OEM menu.
Also I haven't tried it yet, but you should be able to change the location of Desktop in the registry to a new folder on \HD, then you should be able to place icons in there and see them on the desktop. The PVP comes with a PMPMain.lnk (dead shortcut) inside the default Desktop folder, but I can't see it when all apps are killed and the desktop is shown (well, when that windows logo background is shown). |
 |
|
|
berezin94
5 Posts |
Posted - 19 déc. 2006 : 21:35:30
|
WOW!! Great work guys, I see that there is a lot of progress. :-) Right now I am currently working on getting a shell to work on the PVP that links to all the programs that I have installed. I have tried the customizable MIO shell that is posted in the forum, it works great but it relies on the .net Compact Framework V 1.0. I have problem getting the .net framework to stay persistent as right now I need to reinstall it after every reboot. For some reason, this does not seem to work as well as the other apps that I have installed. I have placed all the necessary files into /HD/Updates/Windows, so that it would be there on the bootup, but .net just won't work accordingly. I have sort of given up on that and switched on to work on modifying the default oem shell. I'm basically trying to replace the original .exe's (such as AudioView, VideoView, FileView) with the applications that I have installed. This is easy if I put all the programs into /Windows and rename the exe's, but this wastes a lot of the available ram. I have tried to make a new .exe which simply uses the api call (shellExecuteEx) to start the exe's that I have on /HD. The programs start, but it complains about missing files, so I am guessing the programs are started but using the wrong working directory. So again this still needs quite a bit of work.
It's interesting that you guys are working on getting the desktop to show as that would be great to have the desktop on startup. I have tried that previously, but got stuck as the blue "loading" screen would get run no matter what I tried or replaced in /Windows and would simply cover the desktop completely. Maybe you are right, there must be something in the registry somewhere that is controlling the startup processes. |
Edited by - berezin94 on 20 déc. 2006 07:07:40 |
 |
|
|
jfinnican
6 Posts |
Posted - 20 déc. 2006 : 00:35:35
|
| Hey Berezin, how about the 411 on the TomTom?? I have been killing myself trying to get this to work to no avail. Any suggestions? |
 |
|
|
Acrosser
USA
23 Posts |
Posted - 20 déc. 2006 : 08:14:52
|
Good to know you've made some progress as well, Berezin!
As for replacing the OEM GUI apps, TFGBD mentioned to me that you can change and/or add the folders that Win CE recognizes as system folders - kind of like the PATH environment variable in Windows NT.
I think the correct registry path is:
[HKEY_LOCAL_MACHINE\Explorer\Shell Folders]
You might find some luck modifying some entries in there. Ideally you could just copy out all the DLLs and EXEs in \Windows and place them in a folder on \HD. With some help I was able to dump the ROM to a file. You can find that and other PVP/WinCE related stuff at http://www.spacetornado.com/get .
TFGDB said you can extract files from it. Maybe you can extract the necessary DLLs/EXEs.
Maybe you can try installing Win CE .NET Framework 2.0, which claims to allow both 2.0 and 1.0 version .NET Framework apps to run.
|
 |
|
|
Acrosser
USA
23 Posts |
Posted - 21 déc. 2006 : 11:11:15
|
Dream'eo modified explorer.exe in \windows, heavily. It launches the OEM GUI apps (MainScreen.exe, PMPBackground.exe, VolumeControl.exe, etc). It also disables the start button.
You can fix this by doing the following:
1. Edit \HKEY_LMachine\Init in the registry, change explorer.exe to \HD\explorer.exe 2. Upload http://www.spacetornado.com/get/explorer.exe to \HD3. Reboot to load the new explorer.exe.
You'll find that the OEM menu doesn't load and the background is black (at least for me anyway). The Start menu should work. Also the screen should be rotated vertically 90 degrees.
However, the OEM explorer.exe (or an OEM app it launches) is the process that seems to copy \HD\Updates to \ (root). You can make an .exe (or maybe .bat) that copies the directory there.
You have to do ScreenRotate.exe 3 times to get back to normal viewing mode. But I tried putting 3 shortcuts to it in StartUp but for some reason it makes the taskbar unusable (you might have different luck).
Plus for some reason the desktop doesn't work. If you open an app, then close it, the process ends but the application remains painted on the screen until something else paints over it. And no Desktop icons are visible.
So I'm going back to the OEM GUI, with no working Start button. The Start button doesn't work because |
 |
|
|
Rypyr
3 Posts |
Posted - 21 déc. 2006 : 11:24:06
|
| Winampq is so much better of a mp3 player than that crap they sent on it, anyone got a better video player? The video player on here seems a bit laggy, maybe the refresh rate sucks, or the processor cant handle video that well? Please keep working on this thing =) |
 |
|
Topic  |
|
|
|
| This page was generated in 1,14 seconds. |
 |
|