yashsingh1/xdaforums huggingface dataset:
[8125, K-JAM, P4300, MDA Vario General] bredita:
New version (v0.4) available.

changes from v0.3 to v0.4

- changed it to use application folder in paths instead of hardcoded 'Bredita' path

- changed it to save uptime.txt in application folder

- changed minimum OS version to 1.0, i guess this will let you install it on earlier windows versions. I don't know if it will run well on older versions. please tell me if you successfully use it on anything earlier than windows mobile 5

- added menu item: "About" and removed version number from main screen

- added menu item: "Help" and removed help button from main screen

- added menu item: "Fix startup shortcut"

- moved "Uptime.txt" to the application folder (The folder where B_Uptime is installed) instead of the root folder

- it no longer exits when it looses focus (or you click the X), but it does stop the screen from updating every second

- added exit button which stops the program (does not keep it running in the background)

- aware of screen rotation (works in landscape mode too)

- the time of last boot/last hard reset/first install is shown next to the date, in landscape mode

- better method of calculating the "last boot" timestamp the first time b_uptime is installed

B
[8125, K-JAM, P4300, MDA Vario General] clustered:
works on other than WM5????

thanks :D
[8125, K-JAM, P4300, MDA Vario General] bredita:
I made a colleague at work try if it was working on 2003SE. It worked, but The cab file would not work (some complaint about incorrect windows version or something), so I had to (beam the exe file to him via infrared and) install it for him manually. It worked once we got it installed. (this was version 0.3)

I hope that the new cab file will at least let you install it on all PPC windows versions, but if the program works is another question. My best guess is that it works on CE with at least compact framework 1.0. It does not require compact framework 2.0. And it needs a memory card. Try it and please tell me if it works :)

BTW: I just corrected a little bug (i had swapped "Idle time" and "processing time" in portrait mode). The 4 people who managed to download the 0.4 cab file before I corrected this bug should download and install again. Sorry about this mistake.

B
[8125, K-JAM, P4300, MDA Vario General] bredita:
Version 0.5 is out:

- the time part of the last boot timestamp, the last hard reset timestamp and the first install timestamp all showed the time from last boot. Fixed.

Shame on me

B
[8125, K-JAM, P4300, MDA Vario General] bredita:
Confirmed working on my friends Ipaq 4700 just now (2003SE).

I haven't done any detailed checking (he's in plymouth, I'm in oslo ;) ) but it runs and seems OK.

(I had to switch off compression in the cab file, because 2003SE don't like compression. Re-download the 0.5 version and give it a go...)

B
[8125, K-JAM, P4300, MDA Vario General] clustered:
thankssss :D
[8125, K-JAM, P4300, MDA Vario General] GerooTech:
Call Timers

Can you add a track for call durations, this will be greate
[8125, K-JAM, P4300, MDA Vario General] bredita:
Re: Call Timers

Yes it seems lika a good idea to have an app that tracks how many calls you make etc.

My employer pays my phone bill, so I'm not too interested in counting it myself, but I made a little MortScript to "prove that I could" show the call timers from the registry once, and OffBeatMammal translated it into a proper application. The thread is here:

http://xdaforums.com/viewtopic.php?t=43547&highlight=call+timers

I see the need for also "remembering" the values even if you hard reset, and it is not too difficult to save the values to a "logfile" like I do with B_Uptime. Maybe OffBeatMammal would be interested in adding this feature. Ask him in the thread :)

B
[8125, K-JAM, P4300, MDA Vario General] bredita:
New version v0.7 can be downloaded from my webpage.

This version maintains a bootlog, and lets you enter a description/reason for each reboot:

Changes from v0.6 to v0.7

- changed the layout of the bootlog, added boot number

- added B_Bootlog.exe (a little app to view/edit the bootlog).This was added as a separate program, in order to kep the B_Uptime.exe as small as possible

- removed the menu entry to open the bootlog in word

- added menu entry to open bootlog (in B_Bootlog.exe)

- updated help file

Changes from v0.5 to v0.6 (not released)

- added more info in the help file

- added a logfile which will be a log of Reboot Time, What type of reboot (Soft/Hard) and a description field (where the user can add his comments about the reboot.

- added menu entry to open the logfile in word

B
[8125, K-JAM, P4300, MDA Vario General] elempe:
Hi!

Seems a greate piece of software :D

Maybe it wood be greate idea to make it possible to add a litle item for Today. Let's say showing time in days hours and minutes since last soft reset.
[8125, K-JAM, P4300, MDA Vario General] Appu:
cant access ur webpage :(
[8125, K-JAM, P4300, MDA Vario General] bredita:
Thank you :)

I'll look into it, I "clicked past" a tutorial somewhere on how to write today plugins and I'm very interested in learning how to do stuff. Guess I could leave it up to the user to enable it if he wants it... I will post here if I decide to and manage to make one...

(But... I don't really like today plugins myself, so it may take some time ;) )

B
[8125, K-JAM, P4300, MDA Vario General] bredita:
Yes I know, it was down a few hours today (dns trouble).

Sorry about that.

Fixed it about 12 hours ago. Should be working now.

B
[8125, K-JAM, P4300, MDA Vario General] elempe:
I found this one:

http://www.geocities.com/tomgigear77/Software.html

Seems this Today plugin has great features, but it doesn't work correctly on my Wizard. For example: I restarted my device yesterday (actually just to test this plugin) at about 7pm and it shows that currently since last soft reset is only 3:50 but really more than 12 hours. :?

I'm not strong in programming, but seems any wm2003 plugin related to uptime doesn't work correctly on wm5.0 at least on my. :D

bredita: If you get till some plugin programming and it is possible it would be nice to hove something like this plugin.

Personally I am most interested in uptime since last soft reset and since last full charge :D

There of course can be more features :wink:
[8125, K-JAM, P4300, MDA Vario General] bredita:
I'm about to give up on the today plugin....

The tutorial says to "Perform a Release build of both the TodayScreenDataMgr and TodayScreenPlugin_NETCFHost projects" in step 3. It looked easy when I read it, but I haven't managed to actually do it.

I need help building the two dll files, and I have searched the web and newsgroups but I mostly find this kind of help, which isn't really helpful.

B
[8125, K-JAM, P4300, MDA Vario General] ZeBoxx:
bredita - have you tried any of the today screen item bits that have full source code? There's at least one on MSDN, and there's a few other tutorials out there on the web (ppc developer network website, for example) that may be more informative as well.
[8125, K-JAM, P4300, MDA Vario General] bredita:
I was hoping for an easy solution (the idea of a "plugin host" that I could just feed my html-formatted today info to seemed very tempting at first). But it turns out theres problems with that (apart from the fact that I can't build it) - no transparent background for example. This wouldn't make my "customers" happy ofcourse. Nobody wants a today screen plugin that obscures the picture of the half naked woman they have put on their otherwise too cluttered today screen ;)

I tried a few other examples as well, but havent really got anywhere.

I finally broke down and I have decided to do things the proper way. Which means writing my own today plugin in C++ (by stealing lots of bits from others examples ofcourse).

So I got myself a copy of "C++ for dummies" (yes, you're allowed to laugh now) yesterday and I am currently on page 195. Less than 200 pages left. I have actually done a little bit of C++ programming "many" years ago, so there has been no big surprises yet, but it's been a good way to refresh my memory.

I want to finish reading the book, then (maybe) read another book that targets .net programming, and then (maybe) rewrite B_Uptime completely in Embedded Visual C++, and then have a go at the today plugin.

So it won't be done tomorrow. Maybe it won't be finished at all. But you can't say that I'm not trying ;)

B
[8125, K-JAM, P4300, MDA Vario General] ZeBoxx:
haha... well that's further than I got - I'd love to get into the programming, but between sleep and work there's only so much 'personal time' I have, and right now that's going to things I love even better :)

Good luck!
[8125, K-JAM, P4300, MDA Vario General] bredita:
Quick "Today status update":

- Have managed to make a today plugin by copying from others and guessing a lot, but its full of problems and not good enough for release.

- Have ordered a book from amazon to learn more, it should arrive within a couple of weeks.

Will get there in the end, but the end is NOT near ;)

B
[8125, K-JAM, P4300, MDA Vario General] elempe:
Progress...

Hello!

Is there some luck? :lol:
[8125, K-JAM, P4300, MDA Vario General] bredita:
Re: Progress...

I have been busy with other things, but I expect to get started on the today plugin again as soon as I get the book from Amazon.

And yes, 800+ downloads and no complaints, I do think I'm lucky :)

B
[8125, K-JAM, P4300, MDA Vario General] bredita:
I got the book a couple of weeks ago (and the book has updated source code for the today plugin example :)), but the weather is too good to spend all evening in front of the PC, so I haven't gotten much further with the today plugin.

But whatever time I spend programming is spent on the today plugin. I tried a bit and have made one that sort of works, but it's got a memory leak and it also doesn't work on reboot (since it tries to read the datafile before b_uptime is finished writing it). Needs a lot more work before I can release it.

I know how to solve it, and will get to it, some day.

At the moment I'm busy enjoying the weather and will also be a bit busy with my new toy (radio scanner) when it arrives in a couple of days.

So I just wanted to tell the ones who are waiting for a today plugin that it will probably take a long time.

The attachment shows my actual uptime. For some reason it either runs (almost) out of memory after 6 days, or I have to reboot for some other reason. It would be interesting if anyone managed to keep it alive longer than that :)
[8125, K-JAM, P4300, MDA Vario General] Cardcaptor_RLH85:
You're on! As soon as Cingular releases their next 'official' ROM I'm gonna see how long I can keep this thing going without a hard reset. Right now it's average uptime is about the same as my desktop's (I need to get more RAM eventually >_<). I hope to see more people try to push the Wizard to its uptime limits ^_^
[8125, K-JAM, P4300, MDA Vario General] sunnycheng:
Hi, can anyone answer this?

I am using this program, and I have my phone on standby, so the idle time should be counting right? But when I look at my phone 3 hours later, it only shows Idle time to be 4 minutes...and process time is still counting. Why is that? I think may be this is the reason why my battery is draining so fast?
[8125, K-JAM, P4300, MDA Vario General] andrewilley:
I don't know what's cuasing your Wizard to keep running, but for the record, when it's in Standby it should be counting as idle time (mine does).

Andre
[8125, K-JAM, P4300, MDA Vario General] bredita:
I'm quite sure that it works, and if it doesn't then its because your cpu isn't idle. I get the "processor time" from the OS, and calculate the rest based on the lastboot_timestamp in the logfile.

This is how it works:

UpTime = the number of seconds between Lastboot_timestamp and now.

ProcessorTime = Int(Environment.TickCount / 1000)

Idle Time = uptime - processor time

Try this:

1. start b_uptime, write down or remember the idle time.

2. Close all running programs.

3. do a short press on the power button (to put it in standby)

4. wait 2 minutes

5. do another short press on the power button (to get it out of standby)

6. start b_uptime, and compare the idle time to the time from step 1.

You should see an increase in idle time.

If you dont, then try to reboot, and try doing step 1-6 again :)

My idle time never increases, because i never use the power button.

I switch off the screen (using mortsaver, many other tools can do the same), but I never put it in standby.

Why?

Because... One day I was downloading podcasts via WIFI, and the phone decided to go into standby. This was exactly what I had told it to do, since I set the power settings to "Turn off device if not used for X minutes".

But:

When the phone goes in standby, it switches off WIFI. At the same time, in order to download the rest of my podcasts, it connects to GPRS (EDGE) and downloads the rest (~130MB). I ended up having to explain that (rather expensive) GPRS traffic to my employer who pays the phone bill, and I don't want that to happen again.

Thats what I think happened anyway. And thats why I decided to not use standby again :)

Edit:

It is possible for Idle time (and processing time) to be calculated incorrectly:

If you have installed b_uptime and not rebooted afterwards for example,

or if you have messed with the datafile,

or if you have had the phone running for so long that the "Tick counter" in the operating system has "wrapped around" and started on 0 again.

"The value of this property is derived from the system timer and is stored as a 32-bit signed integer. Therefore, the elapsed time will wrap around to zero if the system is run continuously for 24.9 days."

So its not totally accurate, and I don't care, because I've never managed to keep my phone alive for more than 6 days ;)
[8125, K-JAM, P4300, MDA Vario General] sunnycheng:
Ok, I have just tried, and the same thing happens. It seems even if I put my phone into standby, the CPU still keeps processing for some reason. My battery dies in 12 hours, and I think this is the cause. Can anyone help me or help me on how to fix this? I have nothing installed right now, and using Newest Qtek ROm.
[8125, K-JAM, P4300, MDA Vario General] bredita:
I agree that "no standby mode" may be a reason for higher battery drain. But I never use standby either, and my battery life is reasonable, much better than 12 hrs, as long as I remember to switch of the screen and wifi when its not in use...

If you switch wifi on and then switch the phone to standby, is the left LED still blinking green?

If it is then i think your standby mode isnt working.

If you cant get standby mode to behave the right way i suggest you try a hard reset (since you dont have anything installed anyway ;)) and if it doesnt behave after a hard reset i would try to install the rom that belongs to the phone, and if it still doesn't behave, send it back for repairs.

But first - ask someone who knows what theyre talking about, i'm in no way an expert, i'm just trying to help :)

(Is your phone brand new? These types of batteries improve a lot after theyve been charged a few times. )
[8125, K-JAM, P4300, MDA Vario General] MrCyberdude:
I would just like to say,

Thanks Bredita for you work on this.

Very much appreciated Mate.
[8125, K-JAM, P4300, MDA Vario General] jpflaw00:
idle time news...

Ok so i have installed this cab file to see if my phone goes into standby, but it does not. I read in another forum that your mini sd card runs at different voltages depending on which brand you get, so I figured I might as well test the the card to see if this was the problem. Bingo! the idle time started to tick as the card was removed from the device. When I place the card back into the machine the idle time stops.

BTW, I did this because my battery does not last as long as it use to. Hope this information can help in finding a solution to the battery drain issue.
[8125, K-JAM, P4300, MDA Vario General] bredita:
Thats very interesting. I guess im lucky (again) since standby works fine even with my new (apacer) 2gb card inserted. It also works with my old 512MB (twinmos) card.

jpflaw00: What type of card (manufacturer) is yours?

Sunnycheng: Have you tried without the minisd card?
[8125, K-JAM, P4300, MDA Vario General] sunnycheng:
Re: idle time news...

jpflaw00, so after removing the sd card, is the battery drain issue fixed or what?
[8125, K-JAM, P4300, MDA Vario General] sunnycheng:
ok, I have just tried pulling the SD card out, and it KINDA works! It only works when I take the card out, and let it turn itself off after 1 minute. If I manually press the power button, and then turn it back on again, the idel time still will not increment.

Did you just let it go on standby or did you also tried pressing the power button? So I guess the problem is not fixed for me.

I am using a Kingcap 1gb Mini SD, what about you guys?
[8125, K-JAM, P4300, MDA Vario General] andrewilley:
I've got a SanDisk 2Gb card in mine, and apart from the fact that the unit reboots about once a day (different issue, T-Mobile ROM-version related I believe) it goes into idle standby fine.

Andre
[8125, K-JAM, P4300, MDA Vario General] jpflaw00:
I am using the Kingston 1gb mini sd card. I put the phone on standby and the idle timer seems to run, but sometimes I put the card back in and then push it out and the counter does not run. Maybe this is because I am going into standby too quickly? As far as the battery issue I only take out the card when I know I need the battery life, otherwise I just keep the card in. Usually I charge my phone regularly; so battery is not too much of an issue for me. When I did keep my card out one night, I did notice my phone to have more power than I would usually have at that point. I was showing around 85% vs 55% percent in the morning. Keep in mind these numbers are guesses, but the fact that I do save battery life is still in effect. I tried to use my screenlock program instead of the standby button, and my results are that you do seem to save more battery life. As for roms, they don't seem to affect my battery life (unless my original T-Mobile rom was the ideal battery saver). I have the AKU2.3 update (although I have not changed the info on my signature) and the battery life drains real quick as usual.

Ok sig updated, anyways, bredita are you having a battery issue as well. If so, then the memory card is only the beginning of our problem then (seeing that you don't seem to have a memory card issue). If not, then maybe the memory card issue needs more attention.
[8125, K-JAM, P4300, MDA Vario General] MikeProcter:
Bredita

Great program, thanks.

I recently installed it and it has been running without a reset now for 5 days & 13 hours.

When I had a look at the bootlog it said that the device had hard reset (no. 97) having missed 94 through 96.

I don"t understand why it said that I had this hard reset, as at the time it specified I was using Tom Tom Navigator going through central london!

So, two questions, why did it say I had a Hard reset when I didn't,

and

why does it miss out reboots of what type I have no idea, numbers 94, 95 & 96?

PS I did install the Qtek 2.17.7.2WWE rom earlier that day.
[8125, K-JAM, P4300, MDA Vario General] bredita:
you're welcome. 5 days isn't bad...

this is posted from work on my k-jam so I haven't had the chance to check the source code. but this is what I think happens...

when you insall a new rom everything in the registry is reset, just like when you make a hard reset. this is why b_uptime logs it as a hard reset.

during this rom install process the device will be rebooted a few times. this happens before you get the chance to reinstall b_uptime, and b_uptime does not know when they happened. therefore these reboots will not be logged. but they will be counted in the registry, and that's why you have a few missing loglines.

so what you're seeing is perfectly normal. so far.

not sure about how a logline could have been written while you where tomtoming around town though. maybe a time zone issue? maybe the phone was in another time zone the first time you ran b_uptime after the rom upgrade. and maybe you corrected the time or timezone afterwards?
[8125, K-JAM, P4300, MDA Vario General] jpflaw00:
bredita i'm having problems using this on the mobiz edition aku2.3 rom...don't know if the program is compatible with this rom...just letting you know...
[8125, K-JAM, P4300, MDA Vario General] MikeProcter:
The longest my Qtek 2.17.7.2 rom has gone without NEEDING a reset is 7 days 20 hours and 55 minutes.

For what ever reason after that length of time the device needs a soft reset which I perform. Since I updated the Rom on the 1st June my Vario hasn't once reset of its own accord!
[8125, K-JAM, P4300, MDA Vario General] bredita:
still 6 days here... I am not a very patient person, so when the phone is slow i reboot to see if it helps. I dont have any spontaneous reboots, and very very few actual crashes or hangs.
[8125, K-JAM, P4300, MDA Vario General] bredita:
There's no official 2.3 rom for my i-mate k-jam yet, so I havent tested this.

I dont understand what the problem could be though? What exactly is the problem? Doesn't run at all, or calculates idle time incorrectly or what?

(I am currently refurbishing the house, so the computer isnt "accessible" very often. and I'm going on a little vacation too, so I cant promise any quick fixes ;))
[8125, K-JAM, P4300, MDA Vario General] bredita:
I must have overlooked your question, so i thought i'd answer now:

No I dont have, and have never had, bad battery life (anything over ~18 hrs is acceptable to me as i recharge every night).

With the first rom I had (in january or so) the battery life was not as good as with the rom i'm using now, but even then it was acceptable to me.

(And I do have an issue with the memory cards - sometimes it "looses" all data. But I think that was related to the egress (demo) rss reader i was using, or it could be that I popped out the memory card when i was too impatient, or because it sometimes pops out by accident when the phone is in my pocket. And yes I know, most of the data is still there, and I could find some of it by running "disk repair tools", but I couldnt rescue it all. It was easier to restore a backup. But it was very annoying anyway...)
[8125, K-JAM, P4300, MDA Vario General] bredita:
I upgraded to the "mr clean 2.24a" rom yesterday (this is also aku 2.3), and b_uptime seems to be working fine on that rom.
[8125, K-JAM, P4300, MDA Vario General] Nooner:
Just checked and am currently on 8d 16:33:59 and counting, running fine and not planning on resetting... A record? :shock:
[8125, K-JAM, P4300, MDA Vario General] bredita:
I guess so...

My average is currently 7 hours... Not very impressive ;)

I'm playing with Navizon these days, and I have to do lots and lots of reboots because of trouble with not having enough memory for a virtual com port ...

B
[8125, K-JAM, P4300, MDA Vario General] Nooner:
Bredita,

Is there any way to reset all the counters and begin from fresh?

I got my 2Gb miniSD yesterday and on inserting it something got confused, as my battery uptime was 159d 21:33:44 :!: :!: :shock:

Anyway to reset all the counters?

Cheers.
[8125, K-JAM, P4300, MDA Vario General] bredita:
I guess you have the record then! ;) I don't know why it does that. But I'll put it on my list to figure it out the next time I look at the source code.

To delete all data:

1. Stop B_Uptime if it's running.

2. delete uptime.txt from

\program files\bredita\ and from \storage card

3. You can also delete bootlog.txt from the same locations, if you want to get rid of that one too.

4. Reset your device, and the files should be re-created automatically.

To just reset the longest uptime, and keep the soft and hard reset counters and the dates:

1. Stop B_Uptime if it's running.

2. edit the file \program files\bredita\uptime.txt (using total commander for example)

3. Find MaxUptime_seconds, and set it to 0

4. Find MaxUptime_since_hr_seconds, and set it to 0

5. Save the file.

6. Copy the file to \storage card\uptime.txt, overwrite the one that is there already.

7. Start B_Uptime and check if it looks OK.

B