yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] mike2nl:
Hi gazsyka,

i am not the OP but what i have found in the log file is:

2010-11-06 11:33:55 -819884126 ERROR reading key: Clock

2010-11-06 11:33:55 -819884126 RegKey6: HKLM\System\Uptime\ClockSession

2010-11-06 11:33:55 -819884126 ERROR reading key: ClockSession

There must be something in your registry, because the app can't find the uptime info. On my side i have the value: 566333. But this is MY uptime value. You can chekc 1st is this key present in your registry.

2010-11-06 11:33:55 1808700562 percentBusy: 100

2010-11-06 11:33:55 1808700562 CPU id: : MSM7200A-528MHz

2010-11-06 11:33:55 1808700562 Frequency Mhz: : 0

You use the TP2? If yes it must be working, because i use a TPO2 as second phone too for developement.

Possibile ZuinigeRijder can check it too what's going on...
[Windows Mobile Apps and Games] gazsyka:
Hello,

The ClockSession does not exit in device registry.

MY device is HTC Touch Pro 2 (T7373)
[Windows Mobile Apps and Games] ZuinigeRijder:
It appears a bug in my code. I detect the CPU id (MSM7200A) as CPU type 1, but later on there is a wrong comparison.

} else if ((cpuType > 1) && (cpuType < 7)) {

This must be:

} else if ((cpuType > 0) && (cpuType < 7)) {

I will fix that in the next version.

Note that the CPU speed will be 528MHz, because this processor has not the possibility to lower the speed automatically.

The Wifi part is something already known:

2010-11-06 11:33:55 1808700562 SearchWlanDevice Adapter name: BCMSDDHD1

2010-11-06 11:33:55 1808700562 SearchWlanDevice Adapter name: WWAN1

2010-11-06 11:33:55 1808700562 SearchWlanDevice Adapter name: L2TP1

2010-11-06 11:33:55 1808700562 SearchWlanDevice Adapter name: PPTP1

2010-11-06 11:33:55 1808700562 SearchWlanDevice Adapter name: ASYNCMAC1

2010-11-06 11:33:55 1808700562 SearchWlanDevice: BCMSDDHD1

2010-11-06 11:33:55 1808700562 SearchWlanDevice: 1

The found adapter has a problem, see these posts:

post 1204

post 1200

I do not have a solution for this problem :(
[Windows Mobile Apps and Games] ZuinigeRijder:
For people where Wifi counters are not working

For people where Wifi counters are not working:

Can they show all keys below (e.g. export):

HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1

And post these here.

Maybe that gives me a clue.
[Windows Mobile Apps and Games] gazsyka:
Hello,

here is the reg key for this patch.

View attachment registry.zip

Thx your above answer.
[Windows Mobile Apps and Games] mike2nl:
Hi ZuinigeRijder,

and here is my key from HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for posting your registry settings.

Is Wifi counting working for you? I do not remember anymore.

Anyway, I saw some interesting differences, which may be related (if it works for you), below key:

HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms

"HTCTrafficMonitorMode"=dword:00000001

"HTCTrafficMinThresholdHits"=dword:00000005

"HTCTrafficMinThreshold"=dword:00000032

"HTCTrafficMaxThreshold"=dword:00000064

"HTCTrafficInterval"=dword:00000001

Those are not found for gazsyka.

And yes, it could be related that the statistics are not done when those settings are not set. But that is a wild guess.....
[Windows Mobile Apps and Games] Tokl:
Here you get mine HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1

(WiFi was enabled at this Time, and i had some traffic, but BC is not counting)

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Hmmm, you have those registry keys settings too:

"HTCTrafficInterval"=dword:00000001

"HTCTrafficMaxThreshold"=dword:00000064

"HTCTrafficMinThreshold"=dword:00000032

"HTCTrafficMinThresholdHits"=dword:00000005

"HTCTrafficMonitorMode"=dword:00000001

And for you it is not working too. So the wild guess appears to be a dead end......so no luck.

Is Wifi counting working for someone having BCMSDDHD1 adapter (HD2):confused::confused:
[Windows Mobile Apps and Games] gazsyka:
Hello Chef,

Many thanks your answer, and I will test the new version, if it ready.

I have a stupied question: How can you read the wifi traffic from device? from registry or how?
[Windows Mobile Apps and Games] ZuinigeRijder:
Wifi traffic is not a registry key, but you need to do that programmatically using NDIS. See Wiki Network Driver Interface Specification

For the apdapter in HD2 (BCMSDDHD1), it looks the statistics are not provided :mad:

My Touch Diamond has another adapter and that is working.

Below the code to get the statistics I use:

m_statistics.Size = sizeof(m_statistics);
m_statistics.ptcDeviceName = m_szWlanDeviceName;
if (
DeviceIoControl(
m_hNDIS,
IOCTL_NDISUIO_NIC_STATISTICS,
0, 0,
&m_statistics, sizeof(m_statistics),
&dwBytesReturned,
NULL)
) {
LOGDEBUG2("MediaState", m_statistics.MediaState);
LOGDEBUG2("Wifi BytesReceived", m_statistics.BytesReceived);
LOGDEBUG2("Wifi BytesSent", m_statistics.BytesSent);
if (m_statistics.MediaState == MEDIA_STATE_CONNECTED) {
wifiConnected = 1;
ULONGLONG wifiBytesReceived = m_statistics.BytesReceived;
ULONGLONG wifiBytesSent = m_statistics.BytesSent;
...
[Windows Mobile Apps and Games] Tokl:
Hi,

i did also have an BCMSD1 entry in the Comm...

Is it only the wrong adapter?

Attached you the full Comm Key, maybe you did see something in there?

Greetz Tokl

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for the registry keys.

Indeed you have 2:

[HKEY_LOCAL_MACHINE\Comm\BCMSD1]

"DisplayName"="Broadcom 802.11 Network Adapter"

"Group"="NDIS"

"ImagePath"="bcmsdio.dll"

[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1]

"DisplayName"="Broadcom 802.11 DHD Network Adapter"

"Group"="NDIS"

"ImagePath"="bcmsddhd.dll"

"Wireless"=dword:00000001

So I think the second one is the wireless one.

Till now I have only seen the BCMSDDHD1 adapter not giving back statistics and other adapters on other phone types (like my Touch Diamond) just work. So that is also why I am confused :eek:
[Windows Mobile Apps and Games] ZuinigeRijder:
[APP] [Updated 7-11-2010] BattClock version 3.1.1 *NEW* Wifi/Mobile counters editable

# Fixed problem that CPU speed was not shown for MSM7200 processor

# Added CPU speed monitor fallback for Acer with QSD8250 processor (e.g. Acer S200)

# Added different method for getting CPU processor info, including clockspeed, so for not supported processor still the maximum clockSpeed can be shown.

# Updated Hebrew translation thanks to Som30ne

# Updated German translations, thanks to Tokl
[Windows Mobile Apps and Games] gazsyka:
Hi Chef,

Now The program show the CPU clock in TP2. I used the OC 1.5 and it is shows the frequency changes. Thx.

I hope you will find the problem with wifi.
[Windows Mobile Apps and Games] track909:
In my Acer s200 the CPU speed don't go......
[Windows Mobile Apps and Games] ZuinigeRijder:
Ok, can you post a debug log again? Make sure that you restart BattClock for the log file.
[Windows Mobile Apps and Games] track909:
This is the file....
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks,

I see in the logging:

2010-11-07 17:54:31 1744146190 ProcessCore:

2010-11-07 17:54:31 1744146190 Vendor: QUALCOMM

2010-11-07 17:54:31 1744146190 ProcessorName: QSD8250-1GHz

2010-11-07 17:54:31 1744146190 ClockSpeed: 400

2010-11-07 17:54:31 1744146190 ClockSpeedMhz: 0

2010-11-07 17:54:31 1744146190 Frequency Mhz: : 0

I see the following different behaviour:

- My Touch Diamond shows the information in ProcessCore

- ClockSpeed is on Touch Diamond not in Mhz, so I compute it by dividing it by (1024*1024). So yours is in Mhz, so then the result will be 0.

- The fallback trick did not work, because the length of ProcessCore is > 0

So I have to make another fix for the Acer......
[Windows Mobile Apps and Games] track909:
Ok, thank you for your work
[Windows Mobile Apps and Games] ZuinigeRijder:
Here is a test version. Hope this one works for the Acer S200 :confused:

Just unzip the attachment, copy battclock.exe somewhere on your phone (or overwrite the existing one in the installed directory of BattClock, but then make sure BattClock is stopped first).
[Windows Mobile Apps and Games] track909:
Excellent work!!!

Now everything works perfectly!!!
[Windows Mobile Apps and Games] kroolas:
nice one...
[Windows Mobile Apps and Games] ZuinigeRijder:
[APP] [Updated 8-11-2010] BattClock version 3.1.2 *NEW* Wifi/Mobile counters editable

Ok, I made the new version with the Acer S200 Fix official.

It can be downloaded, as usual here:

http://touchlockpro.sourceforge.net/BDownloads.html#6

[APP] [Updated 8-11-2010] BattClock version 3.1.2 *NEW* Wifi/Mobile counters editable

# Fixed CPU speed monitor fallback for Acer with QSD8250 processor (e.g. Acer S200)
[Windows Mobile Apps and Games] jcmm:
Hello,

Thank you very much for continuing to develop Windows Mobile applications, not to abandon us like this operating system, Microsoft unfairly abandoned. Thank you very much again. :)

Regards,
[Windows Mobile Apps and Games] ephestione:
props for the thoughtful quotation :p
[Windows Mobile Apps and Games] zecxx:
First of all, great application!

I have 1 question though.

Is it possible to convert the KB into MB when the size gets too big.

Otherwise I'll end up with a million of digits after a while :p
[Windows Mobile Apps and Games] mike2nl:
Jesus ZuinigeRijder, that is very fast software release cycle. Uff, so i have work again today. Thank you to share this with us.
[Windows Mobile Apps and Games] mafesama1:
Tested and works flawlessly....

But I still have to understand how to use the BattClock Press Command.

Anybody has already use it?

I would like to launch the calculator, which is \windows\calculator.exe.

¿....?

Thanks.
[Windows Mobile Apps and Games] ZuinigeRijder:
Just fill in 1024 for Divide and change the display format to %dMB

If you want 1 digit behind the comma, use %.1fMB
[Windows Mobile Apps and Games] ZuinigeRijder:
Actually I am now at the TechEd of Microsoft in Berlin. They talk about Windows Phone 7 and not about Windows Mobile anymore :mad: But I just continue developing for Windows Mobile, as long as my Touch Diamond lasts :rolleyes:
[Windows Mobile Apps and Games] ZuinigeRijder:
When there are parameters for the command or when the command contains spaces, they must be enclosed by double quotes.

But that is not the case in your example. You can try:

/windows/calculator.exe

\\windows\\calculator.exe

"\windows\calculator.exe"

I did not check it myself. Otherwise just post a debug log file and reproduce the scenario
[Windows Mobile Apps and Games] mafesama1:
Thank you again....

So changing the bar inclination is something to give it a try ?

That is, / instead of \ ?

I will see...My HD2 is resting for a while....:):):):)
[Windows Mobile Apps and Games] mafesama1:
Tested. Does not work...

I have tried all those comnands, even with soft reset and are useless.

Even I chamged windows to Windows and calculator to Calculstor, but still nothing.

Any idea ?

Thanks...
[Windows Mobile Apps and Games] jcmm:
Hello,

We are many people who have Windows Mobile, and we're not going to change the operating system as we work well Windows Mobile, simply by giving the market lurches to make more money with these changes.

I have personally invested heavily in good applications for my Windows Mobile device, and I also work very well. I use a professional level, not on a whim. So I have no intention of changing device or operating system.

Thank you for continuing to develop for Windows Mobile, and give a score of zero ("0") to Microsoft for leaving many users of Windows Mobile. If you ever have to change the operating system ... not buy Windows Phone 7, not like, but I dislike the position it has taken Microsoft to its customers ... breakdown. :mad:

Regards,
[Windows Mobile Apps and Games] javamanden:
This is awesome... Thanks
[Windows Mobile Apps and Games] VeEuzUKY:
CPU Stripe Bug report...

Maybe this has been discussed before, but, just in case...

Running the latest version of Battclock 3.1.2 on my HD2, I have a stripe configured to meaure CPU activity. On the Manila Home page all animations stutter every time the stripe is refreshed (I think every second). I the CPU stripe is removed, all plays smoothly again. Not sure if this happens on other situations and phones but its very clear for every refresh on the CPU measurement/display, momentarily all comes to a split second halt. Very annoying specially during full screen events like weather animation. It renders the joy of having CPU measurement useless.

Also, if there is a possible bug fix for this in the future, Id like to suggest being able to change refresh rates. Personally, if the CPU stripe refresh was faster it would look much cooler and more real-time...

Either way, kudos for this unbelievably great software:)
[Windows Mobile Apps and Games] Tokl:
Hi,

on my HD2 i have noticed the same issue, but for me its not an big problem so far...

Im not sure WM can handle an basic priority for processes, but if so i think manila (sense) is running at an low priority, maybe this is the reason for stuttering...

hmm, im not thinking cpu refresh rate is an bug so far, for me its refreshing every second, think this is quite fast. what refreshing time would you suggest?

greetz tokl
[Windows Mobile Apps and Games] VeEuzUKY:
I use a program called TruelaunchBar for many years for WindowsXP:

http://www.truelaunchbar.com

I became friends with the developer many years and helped in many ways improve visual and functional aspects of his software. Im a graphic designer and graphics are many coder's worse nihtmare:):)::)

TruelaunchBar basically it does on a larger scale for the Windows taskbar to what some extent Battclock does on WM. TruelaunchBar also started as a very simple application adding functionality and overlay functions. Today is a fully fledged Taskbar replacement with dozens of plug-ins and thousands of possible configuration possibilities. It is one my favorites Windows app ever.

One of the functions of the app is a CPU/ Wireless/ Resource meter. Intially it also had a fixed refresh of about 1 second (its like a stripe displayed on the taskbar, very similar to Battclock's stripes). Ive eventually suggested a fully customized refresh rate setting for the meters. I have the CPU at 100ms which displays activity in almost real-time and is great. The same was added to th Wireless meter which measures the signal quality and this added an amazing functionality... at 50ms its almost like a signal radar so when you have low signal with your laptop, you can pick it up and move it around your location monitoring in real time the quality and strength of th signal. This became an amazing useful tool. Many times on public networks, internet cafes or hotels, signal is bad. However many times there is a perfect spot where signal is great, as much as moving the laptop a few inches from on spot to the other to go from 1 bar to 3 or 4.... this is how the radio waves and interferences work around walls and bounce-back corners. With a low refresh rate its not possible to scan these spots. Eventually the same was applied to a Internet meter that measures the upload/download speeds. At 100ms its great to see in almost real-time the flow of data in and out of the computer.

I would simply suggest the same. On stuff like a battery or memory meter, a low refresh rate... even 30 seconds is enough. But on stuff like wireless signal strength, CPU meter and network data rate flow, a configurable user setting refresh rate would be fantastic. Anywhere from 1 second to 50ms (if possible to implement) would be great. It would allow to have similar functionality on my phone as I have on my laptop and these are the indicators and meters I use and look to the most on my PC:)

Its a suggestion... if possible to implement, it would really be absolutely great!:)
[Windows Mobile Apps and Games] Tokl:
I remember ZuinigeRijder has wrote something he would be on the save side, because faster refresh rates could stress the adapter...

i also think it also depends on the wireless driver, it must support this fast updaterate.

its only an mobile version of windows and hardware, so you cannot compare it with an powerfull laptop.

i personally use wififofum for searching wifi networks, it updates the signal strange around every half an second.

maybe ZuinigeRijder will make shorter refresh rates possible?

i also think showing of wireless signal strange is an missing point in battclock.

greetz tokl
[Windows Mobile Apps and Games] VeEuzUKY:
Did not know about WiFiFoFum, looks interesting. Ill try it. Yes, one cannot compare the power of a laptop hardware to a cell phone's hardware. But things are changing fast, really fast. On the HD2 there is a 1GHz CPU and faster dual and quad core are coming next year. Things in the handheld device world are moving extremelly quickly.

I understand that ZuinigeRijder wants to be on the safe side but, adding an option for refresh rates doesnt change the safe side of things. If faster rates works on one's machine great, if not, the user can select back the lower default value. Really easy.

I think implementing a refresh rate option would be great (and probably easy) and adding a wireless signal strength meter/scanner would also be fantastic.

We can dream and ask,, at least the suggestion is here:)
[Windows Mobile Apps and Games] ZuinigeRijder:
Currently there is a 1 second loop for checking the changed values. Only the configured values are asked for. Only when there is a change in value, the display is asked to update (InvalidateRect). When the Windows UI thread is called, the actually update is drawn in as short as possible time (the values are already calculated). The (stripe) updates are buffered, so drawing them is optimized as much as possible already.

Why HTC Sense is stuttering, I do not know. All BattClock threads are running at normal priority. Looks like HTC Sense is not so efficient :rolleyes:

Increasing the refresh rate to more than once a second will even make the HTC Sense stutter more. So the only way to avoid the stuttering would be to make the refresh rate once per 2 or 3 seconds.

Adding an option for the signal strength is a good idea. I will put that on the wish list.

But I still searching for a solution for the Wifi counters. I have an idea to see of other statistics maybe are filled, like PacketsSent and PacketsReceived and use this for calculation. So I will make a test version which does extra debug logging to see if those are filled.
[Windows Mobile Apps and Games] ZuinigeRijder:
I checked on my Touch Diamond. There I do not have Calulator.exe, but I have:

\Windows\MobileCalculator.exe

And that is working :rolleyes:
[Windows Mobile Apps and Games] VeEuzUKY:
Yeap, you're right! Beautiful ad it is, HTC Sense sucks.. its slow, resource over-intensive & extremelly tagging on system performance! Im sure there are ways around its performance matters, but probably not something you can specifically dedicate too much of your available time to.

Thanks for replying & again, great work, awesome software & keep it up:)
[Windows Mobile Apps and Games] ZuinigeRijder:
Here is a test version, which will also debug log the PacketsReceived and PacketsSent. Hope these are filled in HD2 :cool:

How to test:

(make sure the installed version of BattClock is not running)

1. Unpack the zip file and copy the files somewhere on your phone

2. Make sure a Wifi counter is shown in a BattClock area

3. Enable debug logging by executing BattConfig -> About -> Debug

4. Start BattClock.exe

5. Enable Wifi and get some wifi data

6. Stop BattClock.exe (by executing it again)

7. Disable Debug logging in BattConfig

8. Post the debug log file BattClock.log.txt

Hope that at least PacketsReceived and PacketsSent are logged with sensible data.
[Windows Mobile Apps and Games] Tokl:
Sadly i am this week not at home, so i can test it not before weekend...

greetz Tokl
[Windows Mobile Apps and Games] ilordvader:
Any videos to see this - truelaunchbar in action
[Windows Mobile Apps and Games] wolfvinz:
Hi ZuinigeRijder,

a really good program, but BattClock does not support WLAN on the HD2.

Does anyone have a hint? :rolleyes:

Greetings

WolfVinz
[Windows Mobile Apps and Games] ZuinigeRijder:
See this post, requesting help from people to see if the HD2 adapter gives back other statistics.

Maybe you can help/try ;)
[Windows Mobile Apps and Games] griffo2010:
this is a great app! Cheers!
[Windows Mobile Apps and Games] qwerk:
battery icon

Hi,

i have an HD2, with WM 6.55

I really like battclock, but i am not satisfied with my home screen

I cannot get rid of the original battery icon

please advice
[Windows Mobile Apps and Games] Tokl:
Hi,

if i understand right, you will remove the original battery icon of windows mobile?

If so, that is not possible with BattClock.

The only thing you can do is to overlap the original icon with empty text or something like that generated by BattClock.

Greetz Tokl
[Windows Mobile Apps and Games] qwerk:
thank for the reply,

It is a pitty,

I hoped to remove the original icon, and put battclock icons on the left half of the status bar.

For as far as I can see, all the battclock items are displayed in 1 piece ( joint together)

otherwise I could put 1 battclock icon over my original battery and the rest on the left site of the bar.

regards
[Windows Mobile Apps and Games] VeEuzUKY:
Transparent background...

Is it possible with the current release of BattClock to have ful transparent background? I dont seem to find such setting. Solid colors only really look good when match certain wallpapers and detect background color for me at least never really works...

If not, will it be possible as a wish list feature for a future release?

Thanks much:)
[Windows Mobile Apps and Games] ZuinigeRijder:
You can use TouchLockPro in combination with BattClock.

If you do not want the locking features of TouchLockPro, disable all sensors and make sure it will not lock (e.g. due to power off/on).
[Windows Mobile Apps and Games] ZuinigeRijder:
You can use a background image "Back Image", where BattClock will draw the information over. If you point to the wallpaper image, BattClock will just take out the relevant part.
[Windows Mobile Apps and Games] Tokl:
Thats sadly true, its not possible to split the textual contend.

But you can use an Stripe for doing that.

Just create an stripe with same size like the battery icon and set all colors to black or what color preferred.

I know, its patchwork but it works...

Greetz Tokl
[Windows Mobile Apps and Games] VeEuzUKY:
Wifi Data Flow Count...

I have an HTC HD2 and configured the latest version of BattClock with 2 stripes. One measures Mobile KBits per second (for my GPRS Connections) and it works great, the other one measures WIFI KBits per second but it doesn't work. For whatever reason it cannot read or get the information of the WIFI Data from my hardware.

When going to BattClock's Index configuration page, under the MOBILE TAB I can see all the information gathered for KB received, Sent total, KB total and Connect Time total. However on the WIFI TAB, its all at zero:(

I also use SPB Wireless Monitor, an application that keeps track of my WIFI and GPRS monthly usage so I can track costs and traffic and that works perfectly and gathers correctly the information from my WIFI connection as well as the GPRS.

Anyone else experience this and is there a possible alternate configuration on BattClock to make it work?

Thanks in advance:)
[Windows Mobile Apps and Games] VeEuzUKY:
Yeah but I have a dinamic wallpaper Changer on every phone re-start so thats a lot of work:)
[Windows Mobile Apps and Games] VeEuzUKY:
Yes of course! Will do it today and post the results:) Thank you!
[Windows Mobile Apps and Games] Tokl:
@ZuinigeRijder:

Whats about this?:

You have already implemented the funktion of taking an screenshot for the color picker in Battconfig.

is it possible to use this screenshot as an taskbar-wallpaper for Battclock?

if so an option for the update time in minutes and/or "update only at startup of BC" would be great for changing/nonchanging Taskbar-wallpapers.

Greetz Tokl