yashsingh1/xdaforums huggingface dataset:
[JAMin, XDA Neo, S200 General] ikarus:
Re: BatteryStatus-Plugin, DeviceLock and Overclock for XDA N

I'm sorry for the late reply..

Thanks a lot for all the feedback !!

First of all, to clear some things. Maybe with formal methods.

Definition 1: Let d be a prophet-device and S be a set of states... joking :lol:

I think part of my description is unclear.

1. When you do a hardreset, all your data is lost and you have to completely install all applications or use backup... (of course with your device :D )

2. A softreset is, when you use your stylus and push the reset button. Afterwards your device needs a while (1-3 Minutes) to boot up. This should not be needed very often (even though it's windows ;-) ). If you really do a softreset more than 3 times in succession very often, i mean several times the day, please let me know.

3. A wakeup is, when you push the power-button to let your device sleep (standy-mode) and an event (sms, power-button, calender, etc...) happens.

The new functions pertain the softreset (2). The wakeup-behaviour (3) works as always.

The bad thing of such a freeze/reset-loop is following. The only thing you can do is a hardreset (1) and ALL your data is lost. All your sms, emails, etc.. are lost then.

Is this really worth to have an overclocked device after a softreset?

Again, if the device wakeup, it will be overclocked (if the option is checked in Options-Dialog).

There are several reasons why to detect a possible freeze/reset-loop is better than an emergency-file.

I'm sure most of the users didn't read the manual and didn't prepare a sd-card with the emergency-file. This is for sure ...

I'm not sure how the access to the sd-card affect the boot-process, i mean you can't be sure that the sd-card-driver is loaded when access the emergency-file. And if not, the boot-process needs to load the driver and i think this could affect the boot-process in a negative way... there are more reasons, but i don't want to write them all hehe

To automatically detect such loops is very convenient for the user. The device needs at least 3 softresets in succession for the detection, that is not before the 4th softreset. This should happen rarely when you use your device, but who knows ...

Furthermore if your device executed 3 softresets in succession and your device have no softreset for more than 8 minutes afterwards, then you need again 3 softresets for the detection to detect a possible loop. okay, the latter one could be a bit confusing hehe

There is more about that but all this is done only to prevent data loss and that's only good for you...

so, give me feedback :)
[JAMin, XDA Neo, S200 General] TOD:
So if I understand better, the device will be overclock after a soft reset but not after 3 soft reset if they happend in 8 minutes :D

If this is what you will implement that's OK for me. But I will always do backup to prevent data loss... 8)
[JAMin, XDA Neo, S200 General] cidriver:
My feedback: I used to make every day at least one Soft Reset, why? I'd like to keep my device funcionlly and clean, the SR, helps me to do that.
[JAMin, XDA Neo, S200 General] TOD:
I do a soft reset after my every day backup. My device is keeping clean and I always have a recent backup 8)

Ikarus : can I be beta tester for the new version (with the phone call counter) ? :P
[JAMin, XDA Neo, S200 General] ikarus:
Overclock after softreset

hm... i think it's at least fair to give the chance of using BatteryStatus as in version 0.02.403, so there will be an option to overclock after a softreset further on (but change the emergency-file to the automatic detection because it's better for most of the users).

The calltimes option is not a big deal, it only shows what the registry holds for that. What currently needs testing are some other not mentioned things. What's important to me is to make the code efficient to need as less cpuload as possible (and thus battery) :D (This is quite interesting to me)

I will post a beta or pre-release soon for the brave of you to test ;)

btw. because of BatteryStatus pertains the remaining batteryload, the following article at http://blogs.msdn.com/windowsmobile/archive/2006/08/04/689069.aspx is very interesting. It's about smarphones but most of the content is also valid for pocketpc. Maybe the mAh-Values could be different.
[JAMin, XDA Neo, S200 General] Matterhorn:
Re: Overclock after softreset

I'm also quite interested in the power consumption of my device. As I said before, TodayWarrior allowed me to constantly monitor the power usage of my Magician. It also showed me how busy the processor was at any given time just by seeing the amount of power usage change. It is amazing to see how some programs can affect these two things. I think a power consumption addition to your plugin would be a logical addition :)
[JAMin, XDA Neo, S200 General] niall0s:
love this plugin, i think the power consumption value being added would make this a killer app :)
[JAMin, XDA Neo, S200 General] ratdog:
I downloaded the most recent version today (v. 0.02.403). It appears to work fine, but when I switch to landscape mode and back (HTC Wizard/ K-jam), the CPU speed is now off the screen.
[JAMin, XDA Neo, S200 General] rockmanneo:
Is it possible to add cpu utilization graph like rhinostats and lose the battery meter? We already have too many battery meter plugins.

And probably add information like such program uses such and such cpu and memory when you single click it.
[JAMin, XDA Neo, S200 General] :
Nooooooooooo......I need the battery meter....... :lol:
[JAMin, XDA Neo, S200 General] ikarus:
Hello ratdog, yes this behaviour was discussed some posts earlier. It is because the operating system gives wrong data for clientarea when calling GetClientArea() in Paint-Handler. Of course only if you switch to landscape and back.

If you switch to landscape and back by means of the controlapplet in System->Settings... then everthing works fine (at least with the xda neo). This is why i decided not to do workarounds.

It would be a great help if you can post your aku-version here. You can find it in the registry HKLM\System\Versions\aku.

hm... i must think about, but BatteryStatus is the name of this plugin and this is the function by design. That's the fact. I must change the name if remove the batterymeter.

Attached is a very early pre-release of 0.02.500. Anyone can try it and look for bugs and help testing.

This version uses internal clocking without OmapClock.exe. Please be cautious with it. If you encounter bugs, please switch back to 0.02.403.

Maybe it's a good idea to disable overclock on wakeup over night (longtap on the MHz-Text).

THIS IS A TESTING VERSION !!!

Description will come soon...

Don't use WM5-API for DeviceLock if you have a prophet !

Don't install it if you have no time for bugs...

You need to disable/uncheck the plugin before installing the new cab.

Update: 0.02.500 pre17 available

greets,

ikarus
[JAMin, XDA Neo, S200 General] GerooTech:
i have installed and testing , i will feed you back .......
[JAMin, XDA Neo, S200 General] rockmanneo:
I propose the name CPUStatus! :lol:

You can make batterymeter optional.
[JAMin, XDA Neo, S200 General] :
How about a separate app. A CPU Status app and a Battery Status App - then you takes your choice. :wink:
[JAMin, XDA Neo, S200 General] :
Thanks for that, I wondered how to find out. I now know that my device has AKU 2.0 :wink:
[JAMin, XDA Neo, S200 General] rockmanneo:
That will work too :wink:

But I know what doesn't work. And that's my phone now :cry:

My Wizard apparently doesn't like overclocking. It crashes at Windows entries.

It happened with Smartskey lately, and now it's happening with BatteryStatus.

Is there anyway to completely clean uninstall BatteryStatus?
[JAMin, XDA Neo, S200 General] ikarus:
Hello rockmanneo, for uninstall BatteryStatus look at the first post of this thread. It's updated with this information.

Overclock after softreset is a critical thing and i'm still observing this...

b. regards

ikarus
[JAMin, XDA Neo, S200 General] rockmanneo:
ikarus,

is there a way to delete the registry using activesync?

My wizard crashed before I had a chance to access to it

I was able to delete devicelock.exe and omapclock.exe but nothing else.
[JAMin, XDA Neo, S200 General] ikarus:
I think your device is in such a bad loop. BatteryStatus does detect this at the earliest with version 0.02.500...

i guess you have not read the manual.

The manual describes how you can prevent overclocking by means of an emergency-file on the sd-card.

If you don't have a cardreader you have a problem.

You can remote access the registry with programs like the "Remote Registry Editor" within the "Visual Studio Remote Tools", but i don't know how you can get this without buying "Visual Studio" or get it from the university.

If you can remote access the registry and delete the keys in time, you should poweroff/poweron the device to assure that the registry is flushed to the flash (you should hope, that the os does it).

Maybe another user can help with any other ideas?
[JAMin, XDA Neo, S200 General] ikarus:
hm... strange. it does work on my device, so if there are more users having this problem, then we could try looking for the reason.

For now i can only recommend to set the cpuload-interval to 0 and live without that reading.
[JAMin, XDA Neo, S200 General] xander803:
Just wanted to say thanks for the great application. Been using the extended version on my P4350 the last few days and it has worked flawlessly as well as eliminated the need for 3 other programs. I sent along some money yesterday...it's not much but it should buy you a few rounds. :D
[JAMin, XDA Neo, S200 General] ikarus:
you're welcome :)

thanks a lot. got it and will have a few rounds :D
[JAMin, XDA Neo, S200 General] YoLoLo:
Ok, here are my own few "rounds"... ;)

Here is the translated French file for BatteryStatus !
[JAMin, XDA Neo, S200 General] kull:
Build 0184 doesn't even show any of the Cell Broadcast. Even when I have enabled channel 050 on the phone settings. Nothing.

In fact this build kind of messed up my calling out. I couldn't make calls after a while. Maybe because I tampered with CBMs settings. I don't know or if there is a conflict with Auto SMS reply-I don't know. But after I uninstall and soft reset phone works. Anyway the CBM never appeared.
[JAMin, XDA Neo, S200 General] Kemill09:
Hey I'm new to this so can someone tell me how to do this. I have Resco Registry just don't know where to go and how to do it.. Please help
[JAMin, XDA Neo, S200 General] redandr:
What is "city-zone" in new builds and how can it be activated?

And yes, i have o2 genion, so i guess it must be an useful feature for me :)
[JAMin, XDA Neo, S200 General] mjuti:
sorry, deleted answer, not really corresponding to your post....
[JAMin, XDA Neo, S200 General] eagle3x:
Thanks for the info nostramo

Here a capture of my custom battery status, but unfinished. really is very hard for me work with bmp files to apply the best transparency.

best regards.
[JAMin, XDA Neo, S200 General] ikarus:
many thanks for the language-file YoLoLo ;) perfect

i've updated the french-file at project-site

thanks for the feedback. I will test it again.

you have to ask o2 to sell you a plan with city-zone. If you have such a contract, then simply install the homezone. Anything else will be done by the extension.

looking great ;)

btw. Paint.NET is a very good freeware tool for handling bitmaps.

ikarus
[JAMin, XDA Neo, S200 General] ranasrule:
love this....thanks a bunch
[JAMin, XDA Neo, S200 General] redandr:
Hello, ikarus, thanks for the answer. What i didn't understand: does the "cityzone"-function do the same as your separated downloadable "homezone"-cab?
[JAMin, XDA Neo, S200 General] Nostramo:
Hi, Ikarus

Here is the last BSLanguage.dll translated into spanish and tested.

Regards.

Nostramo
[JAMin, XDA Neo, S200 General] ikarus:
yes, it's just an extension. If you're in the city-area, then "city" will be shown instead of the mobile operator name.

To get support in custom-xml, use the class "mobile_operator_homezone"

thanks a lot ;)

will update the project-site as soon as my server is working again..

don't know why, but seems to be down for some reason...

btw. with my current provider there are downtimes of 1-2 days each 3 months... so are there tips for good virtual server offers (german providers prefered)? should be cheap but with less downtimes...

ikarus
[JAMin, XDA Neo, S200 General] WilbertW:
Dutch Translation

Hi Ikarus,

Been away a while.

See the translation for French and Spanish has been updated.

If you want you can mail me or post the Dutch translation file, I will update it asap.

Gtx,

WilbertW
[JAMin, XDA Neo, S200 General] Nostramo:
You could find it in the first post of this thread.

Regards.

Nostramo
[JAMin, XDA Neo, S200 General] ikarus:
try build 0185

welcome back wilbert :)

here it is. see attachement.

ikarus
[JAMin, XDA Neo, S200 General] crazyd:
Hi,

i've got a litle problem again. It's because of the key-lock.

I'm using Mort Player, which has got the possibility to switch of the screen and locking all keys (you can switch on/off the screen by pressing one user-defined button). The problem is, that BS also locks the screen when the display is turned off by MortPlayer and it's then nearly impossible to unlock the keys again. When you press the button, the devices switchs on for half a second but turns off before one is able to unlock the screen...

Is it possible to deactivate the keylock when just the display is switched off?

I saw a new function (?) which is labelled as "Sperren == Bildschirm aus" what does it do?

CiaoCiao!
[JAMin, XDA Neo, S200 General] ikarus:
hello crazyd,

thanks for reporting. There was indeed a bug with this option, because of another unreleased option in test.

The option you've mentioned is supposed to do what you're asking for.

Try build 0186.
[JAMin, XDA Neo, S200 General] YoLoLo:
Well, today, i'm trying to replace the text of my mobile operator to a BMP i've created...

I've nearly succeed, thanks to Ikarus and Nostramo's examples...

Well, errr... Nearly !

See screeshot !

I've put this in the mobile operator field

<!-- second content box -->
<!-- <hbox class="mobile_operator" > -->
<Item type="iconvalue" class="mobile_operator" >
<image src="ORANGE.bmp" transparent="020202" vga="0" />
<label align="left" left="0" top="0" width="66" />
</Item>

:confused: What am i coding wrong ??

It seems that the bmp is display, but with the text of the operator...

If you need my entire xml, i can post it there...

Thanks in advance for the future help ;)

[Edit : I see that i've choosen the wrong value : iconvalue is a static one... :(

What should be the right value to display the mobile operator as an image ???]
[JAMin, XDA Neo, S200 General] ikarus:
well, there are several ways..

the not so clean way is to set width="0" for the label.

the more clean way is to set type of item to "icon".

iconvalue means the item contains an icon (bitmap) and a value.

if you want the icon (bitmap) only, then use type="icon".

does it work?
[JAMin, XDA Neo, S200 General] YoLoLo:
Thanks for the quick answer ! :D

What i'd like with this is to replace the text "mobile operator" by the image "orange.bmp"... So, when the phone is on, the logo should appear, when the phone is off, the logo should vanish...

With your solution "icon", there is always an icon (even if the phone is switched off...)

With the second solution, iconvalue + width=0, the logo is also static, and the text is hidden, but takes the "normal" room, so the field with CPUspeed is overwritten... :(

Hope i'm a little bit clearer... Instead of the code, i've put in in words... ;)

TIA
[JAMin, XDA Neo, S200 General] LordDeath:
with the newest build the devicelock does not shut off the screen anymore.

how can i reenable it?
[JAMin, XDA Neo, S200 General] ikarus:
oh okay. It's implemented with build 0188.

btw. from now on a custom.xml should have an attribute version="1" in Window-Tag...

click one page back to 180 and search for "Sperren == Bildschirm aus" ;)

But be aware that Display off does not mean Device off.

Display off needs more battery than Device off (Power Button).

ikarus
[JAMin, XDA Neo, S200 General] mst46:
Hi Ikarus,

great program of yours - wouldn't wanna miss it.

I would like see my operator's logo in addition to the "city" tag.

Also I would like to see the operator's logo additional to the "home" logo,

when at home. Both without the operator's tag.

Is that possible and how would I go about that ?

Thanks, mst46
[JAMin, XDA Neo, S200 General] ikarus:
great :D

hm... i will think about that. maybe with a new class..

you mean: operator-bitmap - home/city ?

btw. you can manually add two more zones (coordinates+radius+name) to your sim and have them diplayed on the today-screen.

SimSpy can do this, but i can also supply a tool to write them to the sim. e.g. bavaria-zone, bw-zone, munich etc..
[JAMin, XDA Neo, S200 General] ikarus:
ok. here you go.

try build 0189 and use the class "sim_zone_info" instead of mobile_operator_homezone. You need to have homezone-option enabled!

modify the default.xml like:

<Item class="sim_zone_info" >
<image src="YourOperatorLogo.bmp"/>
</Item>

For further howto's have a look at the howto.

good luck! Maybe you can share your customization ;)
[JAMin, XDA Neo, S200 General] LordDeath:
i did not understand that really. do i have to enable the "lock if display is off and vice versa" option in the "tools" menu? that is not good, because i don't need a device lock on wakeup.

but when i enable this option on device lock it tries to shut off the device but then it enables itself immediately.

i know that. i need this while listening music. otherwise i don't need a device lock, i just put the phone in standby mode.

damn, now when switching back to build 184 the devicelock's screenoff feature is not working anymore like with your 189 build. it tries to disable the screen but the screen immediately enables again :( but the device gets locked.

and a softreset did not help :(

edit: i applied a backup from the 19.4 with build 184 on it and the screenoff feature work well again. in the past somewhere i had this bug also, but with an other devicelock application. has anyone an idea, what can affect this? i am sure, that this is not a batterystatus problem.
[JAMin, XDA Neo, S200 General] xander803:
Hi quick question. Overall I find the scaler extremely useful but I don't quite understand what the "Remember last speed" option does. I recall a while back you mentioned it was broken and told people to uncheck it. Is that still the case? What is the intended functionality of this option?

On a different but perhaps similar note. When I have my reminders go off the alarm often has a slight pause half way through playing the alarm. I'm wondering if this is because as the device wakes up the scaler kicks in and starts scaling right away. I'm just wondering if this could be in any way related. Thanks.
[JAMin, XDA Neo, S200 General] YoLoLo:
:D :cool:

You da boss ! (As they says in NY city)

IT IS WORKING !!!

Now, i can have the image "operator" instead of the text one !

Just some more graphic to correct (sharpen text...) and it will be perfect !!!

Thanks a million !
[JAMin, XDA Neo, S200 General] mst46:
Thanks for your fast response Ikarus :-).

I just tried what you suggested with Build 189 and it works well with city

mode, since I am at work I am not able to test with home as of now.

I also attached the modified default.xml and with O2 logo - nothing fancy though.

Two small problems I did find

* when using sim_zone_info and the phone switches to "city" I see

"<logo> city T" - don't know where the "T" comes from ?

* with build 189 when I use the standard skin files (with

mobile_operator_homezone) and the phone switches to city I now see:

"T:01:35.40,M:" instead of "city"

Any fix for that ?

mst46
[JAMin, XDA Neo, S200 General] Joao Oliveira:
Hello,

I'm trying to use the extended version of Battery status on a trinity but it makes the device freeze.

The normal version works ok, so is this version only for omap devices? actually i only want this version for the operator logo display.

is there any change of having the operator logo on the normal version?

all the best,

OliveiraJMR.
[JAMin, XDA Neo, S200 General] ikarus:
if you don't want the device locked, then uncheck this option.

really strange.. i don't know what's the cause.

either use the conventional overclocking (omap-tab) or use the CpuScaler (CpuScaler-tab).

They are almost independent, that's why i've used two tabs.

For a detailed description have a look at the manual. If the manual isn't good understandable, then let me know..

good question.

What i can tell you is that the scaler is executed within a thread which priority isn't very high, that is it doesn't affect audio at all (audio has a very high priority).

Maybe another user had the same observation?

great :D

hm... strange... i've added a null-character to the zone-info-strings in build 0190. Does it work with build 0190?

Hello Joao,

thanks for your feedback. Does your device freeze with only the default-settings checked, that is only batteryindicator?

Do you mean the normal version 0.04.201 build 0190?

no there is no way. The dll-size of normal version is about 58 kB and that's close to the limit.

58 kB doesn't sound like much code, but it actually is a lot of code hehe

We can produce a debug-trace if you want.

ikarus
[JAMin, XDA Neo, S200 General] Joao Oliveira:
Freeze

Hello,

Looks like it freezes after i select it to show the pda clock and /or mobile operator. those are the only two options i use.

Yes by normal version i mean 0.04.201 build 0190.

One thing i noticed and this is on both versions is that when i turn off my phone, on wake up the battery metter shows -1% after like 2 or 3 seconds gets back to normal.

keep on the good work

Joao Oliveira.
[JAMin, XDA Neo, S200 General] ikarus:
hm... very good hint.

If you have some time, then send me your email-address by pm and i'll send you a version for tracing the code.

Maybe we can solve this.
[JAMin, XDA Neo, S200 General] pencilcase:
Has anyone managed to get batterystatus extended beta3 to do the following:

activate traylaunch

press wifi - turn on

so it actually turns on ? mine just does nothing ...

Id basically like to know how batterystatus tries to activate wifi (what command?)

anyone have any ideas or would be able to test this with the 10-button com manager?
[JAMin, XDA Neo, S200 General] ikarus:
yes it works like a charm on mine hehe

some details could be useful (btw. good question for the faq):

it makes use of windows-api and the api seems to need the driver to be loaded on boot.

For some reasons, e.g. saving memory and system resources the driver isn't loaded on each device, but can be loaded by oem-code.

For the prophet i know how to do this, but unfortunately (for any other device) i have only a prophet :D ...

If you know how to do this on your device, then let me know..

that's it.

ikarus
[JAMin, XDA Neo, S200 General] mst46:
class sim_zone_info

Well I just tried with build 191 and get worse results.

The logo does not show up anymore when city kicks in it first says "city"

without the "T" (success here ;-) ) now but city vanishes shortly after

leaving blank space.

When using the old skin-files (i.e. default.xml) I still get T:01:35.40,M

instead of city.

Last night I tried still with build 189 the "home" funktion and it does not

show up at all. I only got the logo showing. The home-logo did show up with

the original default theme.

Also as mentioned by somebody before I see the operator-logo even when

I am not logged in to the provider via phone. This is potentially dangerous

as one might overlook to login.

One more suggestion, would it be possible to show 2 logos instead of 1 logo

and text ? I think about operator-logo + home-logo when in home zone,

operator-logo and city-logo when in city zone and operator-logo only when

in any other zone. That would make a great feature.

Rgrds, mst46