UberActive

…is neverMind

Archive for the ‘Windows Mobile’ Category

Blackjack 2 Firmware – Crippled (we have proof)

Posted by sleewok on 2008, January 16

We have proof. We’re putting together the results and will post soon. Not looking good for AT&T.

On a side note, I’m switching web hosts and having a little trouble. I’ll have the site running on uberactive.com soon (i hope).

Cheers AT&T!

Advertisements

Posted in Windows Mobile | Tagged: , , , , , , | Leave a Comment »

Blackjack 2 Firmware – Crippled RAM? An update…

Posted by sleewok on 2008, January 14

I put a lot of time looking into the problem over the weekend and I believe I have solid evidence to show that the firmware has crippled the BJ2 so that only 64MB of RAM is actually used.

WM_Hibernate

WM_Hibernate comes from the .NET CF 2.0 class MobileDevice. This class provides an event handler that is called Hibernate and provides access to the wm_hibernate message [2005-Wilson], .

Performance Implications

Obviously this will have a negative impact on the overall performance, but even greater impact on switching between applications. A message, call wm_hibernate, is sent at specific times once a certain amount of memory is in use. The closer you get to that memory threshold, the more frequently the message is sent to applications [2006-Derks]. Depending on the application, several things may take place. Resources in the application may be freed up/closed. It’s important to note that the threshold values can be modified by the OEM.

This can not only hurt performance when switching back to an application that has released resources, but can also affect the performance of your current application. If the response to wm_hibernate has been poorly implemented into an application, or the function performed is intense, you could see a slow-down for your entire system.

You may have noticed that many WM applications do not have the option to fully close or exit the application. Developers wanted to simplify memory management for application developers. After a period of time, if the memory has not been reduced enough the OS will close the least recently used application.

More Soon…

I plan on putting together a more organized report on my findings and a few more technical details within the next couple days.

Until then…

References:

2005-Wilson url
You Can Take It With you
wilson, J.
2005
2006-Derks url
How the Windows Mobile 5.0 Shell Handles Low Memory Situations
Derks, P.
2006

Generated on 2008.01.14 04:11:30 EST

1 John 4:20-21“If anyone says, “I love God,” yet hates his brother, he is a liar. For anyone who does not love his brother, whom he has seen, cannot love God, whom he has not seen. And he has given us this command: Whoever loves God must also love his brother.”Brought to you by BibleGateway.com. Copyright (C) NIV. All Rights Reserved.

Posted in Windows Mobile | Tagged: , , , , , , , , , , , , , , | 1 Comment »

Trick: Flexible Zooming in Opera Mobile 8.65 (Smartphone)

Posted by sleewok on 2008, January 13

Originally posted here.

Okay, this isn’t exactly as dynamic as the zoom function for operamini, but it works and makes browsing with Opera Mobile 8.65 a lot more acceptable.
When using Opera Mobile 8.65 I can now zoom to view an entire page width with a single button, and then zoom to a section as well. I have also altered the directional pad/scrollbar to actually scroll and remapped the traditional link navigation to another set of buttons.

Here is the new button Key Mapping:
a = zoom out to 25%
/  = zoom in to 100%
q = zoom in 10
w = zoom out 10
scroll wheel = scroll up and down
u = navigate up to link
j = navigate down to link
h = navigate left to link
k = navigate right to link

Setup Guide (link to download ini below):
This is done by modifying the opera.ini that is located in the /ApplicationData/Opera/ folder. You can edit that file yourself and configure the keys however you like. If you don’t want to copy the file to your desktop everytime, you can grab PocketNotepad (http://tillanosoft.com/ce/pnotepad.html and make the changes from your phone.
There are sections in the INI file defined by [Section] which controls when you are in various modes of the browser.

CHANGE/ADD the following code into the opera.ini file within the [Browser Widget] section:

Code:

h = Navigate left
k = Navigate right
u = Navigate up
j = Navigate down
Up = Scroll up
Down = Scroll down
Left = Scroll left
Right = Scroll right

CHANGE/ADD the following code into the opera.ini file within the [WinCE Application] section:

Code:

q = Zoom in, 10
w = Zoom out, 10
a = Zoom to, 25
/ = Zoom to, 100

For those of you that want it now, grab the INI file here (right-click save-as) and copy it to /ApplicationData/Opera/ folder on your device:
http://seyet.com/sleewok/input.ini

That about does it. I’m sure we could come up with even better tweaks, and I hope people will add them to this thread.

You can find a more comprehensive list of available actions here:
http://my.opera.com/community/forums/topic.dml?id=136316&t=1199834729&page=1#comment1547713

Posted in Windows Mobile | Tagged: , , , , , , , , | Leave a Comment »

The Blackjack 2 Firmware – Crippled Performance?

Posted by sleewok on 2008, January 13

I originally posted this here.

Has anyone noticed how Windows Mobile 5/6 (WM6) will close programs at seemingly random points in time? How do we get this to stop? I’m guessing it has to do with built-in memory management and it will close programs as memory reaches a certain point (see: http://blogs.msdn.com/windowsmobile/archive/2006/08/16/702746.aspx) . –Thanks Da_G for the link.

I have a Blackjack 2 (BJ2) and I can’t even come close to reaching the available memory (110MB as stated in task manager). I’ve tried running my phone without closing programs but WM6 always keeps me under 60MB. I’ve applied the registry settings for cache optimizations and even increased their values over the traditional settings for the BJI.

I went through and starting running every application on my phone, checking the task manager every few applications to see where the memory was sitting. The highest I have EVER seen is 60MB/109MB. Eventually the memory use always drops back down below 50MB. It seems like a couple of things may be going on.

Perhaps the system is not aware of the available RAM on the level that matters (for example if wm_hibernate is coded as a percentages of a static value for RAM). Another thought is that the wm_hibernate is initiated at static X or greater amount of memory use.

This base BJ2 WM6 setup is crap. If anyone has been able to see more than 60MB of memory used over an extended period of time on their BJ2, please let me know how you did it?

In summary, I have to say that AT&T/Samsung’s BJ2 WM6 release (in terms of optimization and performance) is seemingly ripped straight from the original Blackjack. I it doesn’t seem like they made any changes to optimize the system for increased memory. For one, this is most easily seen by the fact that registry settings related to mem/cache are the same as they are for the BJ1. If they are too lazy to simply change registry settings I’m pretty sure they haven’t changed the setting in XIP.

I don’t think this is good for AT&T. Particularly in the case where many BJ1 owners are quite convinced that ATT screwed them over by promising to release WM6 for the BJ1. I can say for certain, but this WM6 OS feels like it was pulled straight from the BJ1 and tossed in cause it would “work”.

Da_G, the Chef, is looking into this and I should be able to verify if the the software is indeed crippled.

Head over to the TxCaesar ROM Kitchen and Wares to find out how real firmwares for Blackjack phones are made

Posted in Windows Mobile | Tagged: , , , , , | Leave a Comment »