yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
The wait was because at the time of writing, although we could proceed in due course, the best method of doing so, from a number of approaches available, had not been determined, although that is clearer now. Nor has it been determined whether it is necessary. Hence the 'Further information to be added.'

Current efforts continue on a number of different approaches. These include some progress towards extracting the existing ROM and the CE_Beep test program. Results from the third version of the test program provided, in attempt to access the functions by a different implementation, are awaited with interest.

If the third test program is unsuccessful, in the interim, it would aid the current extraction effort if the file size of buzzer.dll could be confirmed at the same time. Briefly, with that information, it would give an indication as to whether the current effort is on the right track and in turn an indication of how much further effort may be required.

An alternative method of creating a ROM image can then be attempted if required in due course.

In addition to the above, to address the editing of post 2085 to include EZBackUp after I had already responded above:

Briefly, for a number of reasons, most ordinary 'backup' utilities are unlikely to be of assistance. Not least that usually ROM files are excluded as they are intended to be secure and persistent. Usually only user added files and changes are backed up for restoration as required or after a hard reset to factory default.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
Sorry - no good idea to edit my post, when you've already answered. cu - WolWer
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello Blaustein / Klaus and WolWer / WoWe,

I have made substantial progress with extracting the existing Medion S3857 ROM. It may be possible with further effort to extract additional data, but in total so far 32.6MB size (33.1MB size on disk) of data, comprising 253 individual files, has been accomplished, as per the attached file list.

Analysis and comparison of the extracted MainShell.exe and ST.exe files, with those provided earlier, confirms them to be byte for byte identical, indicating extraction, at least of these files, is good.

Importantly, the extracted files include Buzzer.dll 6.57Kb size (8.00Kb size on disk) which was the object of the exercise. It would be useful if an S3857 owner could confirm this file size as previously requested in post 2086.

Note the B capitalisation of the file name.

Preliminary analysis shows the following commands therein, as per the attached screen grab:

BUZ_Close

BUZ_Deinit

BUZ_IOControl

BUZ_Init

BUZ_Open

BUZ_PowerDown

BUZ_PowerUp

Buzzer.dll is enclosed in the attached passworded .zip file. This is to safeguard against unwanted and undesired distribution, the purpose of the exercise being solely to enable developer analysis of S3857 buzzer hardware and supporting drivers for integration and utilisation in GPS Cycle Computer.

The CE_Beep test program could be adapted a fourth time to test implementing these commands accordingly.

Further information to be added.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] WolWer:
Hi, low.flying.pigs!

Great job - file size of buzzer.dll meets exactly that 8kb shown in filemanager on the S3857.

Tx & cu - Wolfgang
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello low.flying.pigs,

very great job! Thank you. I will see what I can achieve with Buzzer.dll.

One further question: would it be possible to operate your ROM extract in Device Emulator?

Does anybody know how Buzzer.dll is loaded as device driver

Regards Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Hi, Klaus!

Refer to post2074. It's listet in registry HKLM/drivers.

cu - Wolfgang
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Wolfgang,

I think these registry entries are a result from driver loading and not the (usual) way to load the driver.

I have another version of CE_Beep which tries to call the 7 functions exported from Buzzer.dll.

On my emulated devices this produces an exception pinvoke dll not found, although I have copied Buzzer.dll in current directory, root directory and windows directory. Maybe a further referenced dll (ANIMATION.dll) is missing.

Regards, Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Hi, Klaus!

I'm sure, that ANIMATION.dll isn't present in S3857.

[MENTION=4474489]low.flying.pigs[/MENTION]: Since my S3857 is off to repair (urgently required within warranty period), I can't assist anymore at the time. When it's back, I'll gladly perform anything to make that fuc... buzzer work!

cu - Wolfgang
[Touch Diamond, MDA Compact IV General] Blaustein:
new Beta

Hello friends of GCC,

attached is a new version 4.12beta10.

I have changed the algorithm to calculate the distance of current point to track2follow-line. It should now be completely independant of track points (whether there are multiple on the same coordinates or there are very long distances between them) and should only rely on the track lines.

I hope there are not too many new bugs ;)

Regards

Klaus
[Touch Diamond, MDA Compact IV General] ElfKaa:
Hello Klaus,

I have tested the GPS Cycle Computer on my new/old device HTC Cruise Pola100 - and I tried to set it as on my Omnia, I downloaded some older version I had previously backuped to my computer and replaced the old one with the 4.12 beta 8 there. I was surprised that it had problems with setting the correct folders for maps, language and tracks and also that downloading the map didn´t worked. It could be because of I had some system dlls from WM 6.5 inside the folder also, but even that I noticed that if I have only few folders in the map folders (from 12 to 16) it was not able to download another map levels. It always shown me NoMap message and blank screen. It also didn´t redownload tiles and crashed (sometimes it didn´t wanted to download the one tile where the arrow was) and sometimes it downloaded just black and did not show me anything.

I have saved the error message for you, please check it.. Maybe it is okay - now it is working well after adding the another folders named 1 upto 12 and 17 upto 20. And after removing the dlls from WM 6.5 from the folder..

Here is the error message I had:

GpsCycleComputer.exe

IndexOutOfRangeException

v GpsUtils.MapUtil.LoadTileFromSD()

v GpsUtils.MapUtil.FillOsmTiles()

v GpsUtils.MapUtil.DrawMaps()

v GpsCycleComputer.Form1.tabGraph_Paint()

v System.Windows.Forms.Control.OnPaint()

v System.Windows.Forms.Control.WnProc()

v System.Windows.Forms.Control._InternalWnProc()

v Microsoft.AGL.Forms.EVL.EnterMainLoop()

v System.Windows.Forms.Application.Run()

v GpsCycleComputer.Form1.Main()

I am still watching and testing the betas you are still releasing.. But to me it seems nearly perfect at all :o) I don´t see much differences - but I haven´t tested in real life.. I have never been at the trip yet with it.. But I enjoy it very much!

Thanks a lot!

Lukas

Aah - and I forget to tell that it also had problems with multimaps off - then it sometimes crashed with this error. The screen is only 320x200 on this device and the tiles are then probably too small or what.. :) If I set multimaps to 4x the tiles are very big - nearly one tile covering the whole screen.. I have now set it on 2x and it is working well to me.

And the idea: Can the zoom be adjusted to the display? (I mean the pixels of the map corresponds exactly with the pixels of the display?) Now it seems it is different and then - if you can make that the zoom can show (optionally) only the levels exactly - nothing between - so you press + button then the next level exactly adjusted to the screen is shown..
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Lukas,

long time nothing heared from you.

Missing directories with zoom levels is no problem. I also only have a few levels.

"MultiMaps off" with OSM-style maps is not meaningful. But you are right it is not handled correct. It produces no exception but selects highest possible zoom level and then searches back to highest available level, which produces unnecessarry computing power and many failing file accesses.

1:1 pixel representation is difficult, because it is realized in the opposite direction (from required distance or longitude for screen width). It is very complicated and deeply entangled. But it is for a long time on my todo list.

Regards, Klaus
[Touch Diamond, MDA Compact IV General] ElfKaa:
Hello Klaus,

- heh, you still do great job - I had nothing to tell, but still am watching this forum and downloading every beta you releasing :)

It should been because of the dlls from my another phone with WM 6.5 that I had included - I did no install there, but then I installed the latest cab of 4.12 beta 2 and replaced the newest exe, and now it seems working allright, I will for sure inform you if I will find anything freaky..

I am glad you know about this.. Well, okay..

Not much big problem.. I didn´t noticed it on my Omnia II as the display in it is very hires and it is not as visible as on the old 320x200 screen.

Thank you very much! And - you know - I will be still here and watching this great project! :)

Lukas
[Touch Diamond, MDA Compact IV General] WolWer:
Hi! I don't know, wether HaukeRun reads here - I presume, he's only at GoPal Forum. Since my S3857 is in repair, I can't assist you at the time. I'll ask HaukeRun via PM to proceed as described in your post. tx & cu - WoWe

p. s.: As I notice in GoPal-forum, you've already asked this matter there.
[Touch Diamond, MDA Compact IV General] HaukeRun:
Buzzer test with Device Tools on S3857

Hello low.flying.pigs,

I did what you asked for ...

Action:

I started TaskMgr from folder \My Flash disk\Device Tools\ on the S3857.

Result:

Error message: "Cannot find TaskMgr (or one of its components). Make sure the path and filename are correct and that all required libraries are available."

Not possible to select Devices, Services or RegEdit.

Action:

I copied CONSOLE.DLL from folder \My Flash disk\Device Tools\ to folder \Windows\ on the S3857.

And started CMD.EXE from folder \My Flash disk\Device Tools\ on the S3857.

Result:

No reaction. No command prompt. Same with the CMD.EXE from folder \Windows\ on the S3857.

Abstract:

Not possible to create S3857.reg or S3857.txt. Sorry.

Regards

Hauke
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello HaukeRun,

Welcome to the GPS Cycle Computer forum on XDA Developers.

Further to post 2098, unfortunately, since neither myself or Blaustein / Klaus currently have access to a S3857 device, we can only test in the Windows CE 5 Emulator. The procedure detailed, and tools provided, work without issue in the Emulator.

TaskMgr provides the functionality required in a single application that is relatively easy to use and works on Windows CE 5. Unfortunately, it would seem from your message that TaskMgr may have an issue running on an actual S3857. It may or may not be possible to resolve this.

From your description, it seems either it will not run from the location, and or there may be one or more of the following dependencies that are missing or incorrect:

aygshell.dll

ceshell.dll

commctrl.dll

coredll.dll

iphlpapi.dll

ole32.dll

oleaut32.dll

toolhelp.dll

ws2.dll

These dependencies listed, with one exception, have been extracted from ROM and therefore should be present on the S3857. aygshell.dll is known not to be included as standard.

As a starting point, ensure the same aygshell.dll currently used for GCC is present in \Windows and the same location TaskMgr is run from, which can also be tried from root as suggested. If there are any further missing or incorrect dependencies, TaskMgr will however still not function.

With regards to the file list, one instance in which no reaction and no command prompt occurs is when the registry entry that causes this is not 0 as required and detailed, which may be the issue in addition to any others that may exist on an actual S3857.

The above can be further investigated as required, and alternative approaches considered, if necessary.

Further information to be added.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] willpom:
Hi Klaus et al

I just copied the beta.exe over the one that was already installed on my HTC HD2 - I assume that is how it is installed. Took it out for a test ride last night so thought I'd give some feedback.

Seems to be functioning pretty much the same.

I see you've implemented the navigation where compass was as per my suggestion. This worked very well and kept battery usage down as I didn't have to look at map or flick between screens.

t2f - We stopped at the pub for a few during which time I stopped tracking and exited GCC. On restarting, opening track and reloading t2f it then tried to navigate to the closest part of the route near the start so not following the t2f from current position to end. Is this what the 'recalc min dist. to t2f' is for? I'll test next time I'm out.

I've never really used the navigation before just relied on main page and map so my next point may be stupid. When you get to a roundabout that you go straight on at or right (in UK) as you are following a route where you traverse the junction in a clockwise rotation the navigation first directs you LEFT quickly followed by RIGHTS and a LEFT to exit. I knew where I was going without using the navigation but believe this could be an area for mistakes; as if I was looking at the navigation doing so on a busy roundabout probably isn't the best idea, or I'd glance at it before and assume I was turning left then have to U Turn when realising I was going wrong. I expect this would be difficult to correct as sometimes junctions do come in quick succession and as the nav just reads the change in direction rather than there being a particular junction it would be hard to correct. I'll try again as I admit I was watching the approaching nav directions at this point and not the main navigation, perhaps this gives a better sense of overall direction at a junction.

I see mention of a buzzer. For what it is worth with the volume turned right up on my HD2 whilst moving above 5mph it is very hard to distinguish sounds coming from the phone with the air rushing past your ears. Add a bit of traffic, a friend talking etc and even my 'old phone' ring tone doesn't get through. I can't distinguish navigation voice commands.

I've had a couple of errors whilst starting the program regarding .gcc invalidity/error but resolve themselves by restarting program.

Great program, thanks for the continued work
[Touch Diamond, MDA Compact IV General] low.flying.pigs:
Hello willpom,

Thank you for your interesting feedback. I note you are also an HTC HD2 user. In specific response to the quoted sections only.

The starting point for installation of all GCC 4.12 betas to date is to install GCC 4.11 Final first, and then install the latest beta by replacing the .exe with that from the beta. As and when a 4.12 beta is released as .cab installation file, it then becomes the starting point of future 4.12 beta installations.

Environmental noise is a common problem and most devices have insufficient speaker output to sufficiently overcome anything more than minimal background noise. Usage of either wired headphones or wireless Bluetooth headset, where the device supports these options, offers a straightforward, simplistic, and readily available solution.

For testing purposes I use a Bluetooth headset, but otherwise my personal preference is not to use voice prompts or navigation at all, and instead simply consult the map and the Track to Follow thereon as required. Individual usage however varies and is to be respected, hence support and testing of features of no current personal usage for the benefit of the GCC project and users in general.

With regards to devices such as the Medion S3857 that do not have actual speakers or produce ordinary sound, instead having only buzzers which produces tones / beeps, given among the purposes for which these devices are marketed includes cycling, it is to be hoped the consideration of environmental noise has been taken in to account in the design.

low.flying.pigs
[Touch Diamond, MDA Compact IV General] HaukeRun:
Buzzer test with Device Tools on S3857

Hello low.flying.pigs,

here the results of my investigations ...

Info-1:

All in the list mentioned dll files are in folder \windows\ exept aygshell.dll.

Action-1:

Copied aygshell.dll (22k 10/24/13 16:57) from folder \GCC\ to folders \Decice Tools\ and \Windows\.

Running TaskMgr.exe from folder \My Flash Disk\Decice Tools\.

Result-1:

Error Message: "TaskMgr is not a valid WinCE application"

Info-2:

HKLM\Driver\Console\OutputTo=4294967295

Action-2:

Tried to change this key to HKLM\Driver\Console\OutputTo=0.

Result-2:

Using the Regedit from Ralf25-Startmenu I dont have an Input Panel to change the value.

Info-3:

WinCE Explorer, View, Options: hidden and protected files are NOT hidden.

Action-3:

Searching with Total Commander 2.5 for ANIMATION.DLL from root\.

Result-3:

No file found.

Action-4:

Copied folder \Decice Tools\ from folder \My Flash Disk\ to folder root\.

Running TaskMgr.exe from folder root\Decice Tools\.

Result-4:

Same Error Message: "TaskMgr is not a valid WinCE application".

Action-5:

Running CMD.exe from folder root\Decice Tools\.

Result-5:

No reaction. No command prompt.

Abstract:

For me the buzzer is not so important. I wouldn´t rely on the buzzer. When you are riding on a bike in traffic or even in nature I doubt that one will hear the low beep of the S3857. So I decided for me all the time for the testing is not worth the effort. I am using GCC 4.12beta10 and its realy a great programm. I am happy with it and I don´t miss a buzzer. Maybe a more motivated S3857 user can take over the time-consuming buzzer testing.

@ Klaus and low.flying.pigs:

Thanks a lot for your great job to optimize the excelent GPS CycleComputer.

Best Regards

Hauke
[Touch Diamond, MDA Compact IV General] WolWer:
A virtual keyboard is available in CE5 resp. may be added (e. g. in GCC settings for changes in upload adress. Since my S3857 is off to repair I can't tell, how to activate/deactivate it.

It happened quite a few times to me to miss branches. Thus I think buzzer sound to indicate approach to a branch quite essential, since then it's easier to pay required attention to the environment/traffic. cu - Wo(l)We(r)

p. s.: I'll assist in this matter again, when my S3857 ist back.
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Willpom

Yes, therefore and for similar cases is this menu point.

BTW: it should be enough to stop logging and switch off GPS to safe battery. Don't leave GCC in map display, because this mode uses the most energy (besides GPS). Switch to main or even better to menu page. If you switch off display this should be of no concern (as long as gps is off).

If you don't exit GCC and don't load a new t2f, navigation should keep the current point.

A roundabout is difficult to handle.

Regards, Klaus
[Touch Diamond, MDA Compact IV General] WolWer:
Since repair (no warranty cause of mechanical damage on display) is more expensive than actual worth of unit, I tried to install GCC on my Medion E3240 (it's running on WIN CE 5, too).

First prob: MyBoot doesn't work "menu.exe or component not found". Thus, I've installed startmenu Ralf25, and it's working fine - quite a few very useful tools "on board". But GCC doesn't start (same prob as MyBoot). Dependence walker shows three missing dll: efsadu.dll, ieshims.dll and wer.dll. May be I haven't got the right version(s) of the libraries - no effect anyway.

No wonder - .NetCompactFramework is missing on E3240 - no libraries. And there's not enough memory available for installation. I hope to find out how to change this matter.

Ouuh - installation of .net compact framewor V2 fails. relevant logs:

- Delete GAC list file: failure

Despite of that quite a few dll's are added to GAC list file. But finally

- Run: '\Windows\cgacutil.exe /silent /id \Windows\Microsoft .NET CF 2.0.GAC', error code: 0 (00000000), exit

code: -2147483648 (80000000)

- GACing: failed.

Any idea?

cu - WolWer
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi WolWer,

did you use the correct .Net-version for your device? The framework is at least processor dependant, maybe even more dependant on the device.

Klaus

PS: I think the buzzer story is obsolete now.
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello friends of GCC,

attached a new beta version 4.12beta11.

New features in advance of beta10:

- aygshell.dll no longer required on WinCE (drawback: no animation)

- kml files from gpsies.com load correct -> please test your kml files, if there are any issues

- improved map display quality for osm style maps (for best results use multimap off or 1:1 zoom)

osm tiles are now displayed 1:1 in pixel.

Regards, Klaus
[Touch Diamond, MDA Compact IV General] ElfKaa:
WOW, the maps looks great now on my old HTC device 320x200 display! Perfectly clear, no blur and nicely readable!

Thanks Klaus!

---------- Post added at 03:40 AM ---------- Previous post was at 03:09 AM ----------

Hi Klaus,

I have some issue of freeze with 1:1 map :( But it also happen while I am using the old styled display..

Tested to create the track while I have not all the maps yet downloaded on all levels (automatic downloadings of maps disabled).

At first I created a Waypoint (no name), then I selected edit t2f (all by longpress menu), I created some track trying to zoom in to make the track precise, then I tried to zoom out and the application at first slows down very and then after a few presses to the minus button totally freezed. I have selected 1:1 zoom but it freezed on some blured tile of the map and showing me 17-2 level. It seems to me it is wrongly loading tiles while the map is not completely downloaded and while on the track editing (zoom in with plus button worked always alright (I am also not sure because sometimes I seen just black - but it may be because I have not downloaded any tile there - but even that it should show me zoomed some previous - simply freaky..) but the zoom out has always problems while editing - if editing is off then it seems to works alright..)

Now I tried if it yet reacting and it seems it is not completely freezed, but it does nothing for very very long time (I mean minutes). But I tried to disable editing the track while it again started to react and then the screen has been redrawn with good tiles and the application is working now alright again..

Lukas
[Touch Diamond, MDA Compact IV General] WolWer:
I did - logfile contains an entry "cpu type - matches" or something like that (ARM V4i). E3240 and S3857 only differ in RAM: 64 resp. 128MB. Thus it seems to be a lack of RAM, as indicated in failure-notice.

Since me to be the only one interested in opreation of buzzer, it's really not worth while all those efforts.

cu & tx - WolWer
[Touch Diamond, MDA Compact IV General] ElfKaa:
Another problem on the map:

Show Waypoints selected/unselected has wrong behavior.

Selecting to Show/Hide Waypoints by longpress menu on the map and select to hide (to deselect) by tap to Show Waypoints will still remain showing the Wayipoints. The second time you will do the same the Waypoints will be hidden and the Show Waypoints status will change to unselected. Next time you press it will be back selected.

So it cycles between Selected/Selected/Unselected.
[Touch Diamond, MDA Compact IV General] Blaustein:
Hello Lukas,

this is a feature, not a bug.

It cycles between: waypoints with name / wayponts without name / no waypoints.

Your other issue, I will examine. Do I understand right: it also happens on 4.12beta10?

Regards, Klaus