PDA

View Full Version : [PRJ]Lighting PhoneCanvas


mondilv
14th August 2008, 04:32 AM
Stupid situation, when the skin eat so much phone memory.
Tried convert big *.bmp files from PhoneCanvas & PhoneCanvas_0409.
To png, gif, jpg... (size about 10 times smaller)
Funny, the dialpad is invisible, but it works:)
And the memory consumption smaller about 4M.
I'm not the programmer and can't find solution for this problem.
Just one thing - use compressed graphic files.
Is it possible, anybody knows?

And little trick for skin: reversed dialpad. (only)
More interesting for black diamond, I think:)

Blazeitup123
14th August 2008, 05:00 AM
screenshots maybe?

simpleparab
14th August 2008, 08:22 AM
i think so this post belongs to Diamond Forum inspite of diamond rom development.


Request moderator is i m right then move it please.

tnyynt
14th August 2008, 08:35 AM
i think so this post belongs to Diamond Forum inspite of diamond rom development.


Request moderator is i m right then move it please.

I'll leave it here for now, as it can be usefull in gaining some more space while cooking ROMs.
We'll see how it develops!

mondilv
14th August 2008, 09:55 AM
I'll leave it here for now, as it can be usefull in gaining some more space while cooking ROMs.
We'll see how it develops!

I think same:)
But I'm talking about OPERATIVE memory at first. Not only rom size.
Effect is similar for "HKLM\Security\Phone\Skin" Enable=0
And interesting, that another part of skin's images - "png".
So question - how to hack PhoneCanvas package for use "png" images for ALL.

About screenshots... hm, nothing special, just reversed:

tnyynt
14th August 2008, 10:01 AM
I think same:)
But I'm talking about OPERATIVE memory at first. Not only rom size.
Effect similar for "HKLM\Security\Phone\Skin" Enable=0
And interesting, that another part of skin's images - "png".
And question - how to hack PhoneCanvas package for use "png" images for ALL.

About screenshots... hm, nothing special, just reversed:

I know what you are talking about.
And here is your solution: save to png and rename to gif.

mondilv
14th August 2008, 10:40 AM
And here is your solution: save to png and rename to gif.

Wow, thanks!
Going to try.

mondilv
14th August 2008, 01:14 PM
Pity, the trick doesn't work:(
Same result - invisible dialpad.
May be any special parameters for png or gif?

ZeuBug
14th August 2008, 01:36 PM
Interesting idea! :)
We have to work for this...

I'm starting to work on it too! :)

ZeuBug
14th August 2008, 02:04 PM
For the image, it's work for me (dialpad is visible!)
With these images: http://rapidshare.com/files/137260968/Canvas_Remani__ZeuBug.zip.html

But no memory is saved.. :mad::(:confused:
I think we have to change all files: L_bg.bmp, EdBtnUp_Land.png, TkBtnUp_Land.png, etc...

So we know it's not these images who make problem...

mondilv
14th August 2008, 03:00 PM
So we know it's not these images who make problem...

I only convert .bmp images (it's enough - png have compression already)
Memory consumption change from 49 to 42 %.
No bad, isn't it?
I took a look to the original skin now:)
It use gif/lzw, so...
May be this route? Change skin directly.
SYS\Phone_dpi_192_resh_480_resv_640

ZeuBug
14th August 2008, 03:25 PM
I only convert .bmp images (it's enough - png have compression already)
Memory consumption change from 49 to 42 %.
No bad, isn't it?
I took a look to the original skin now:)
It use gif/lzw, so...
May be this route? Change skin directly.
SYS\Phone_dpi_192_resh_480_resv_640

I have not this difference of memory consumption. (no change!)
I have converted bmp to jpeg with a big compression setting.
I have missed something...:(

mondilv
14th August 2008, 06:01 PM
All *.bmp to compress in folders PACKAGE_Diamond_TaskManager & PACKAGE_Diamond_TaskManager_0409 -> about 4M economy.
But another way - make something to MS original skin.
I don't like it. Even not know why.
May be the buttons too small - will try edit a bit .
Gradient background take about 1M of memory - out.
Monocolor.
Work for evening:)

mondilv
15th August 2008, 12:00 AM
Sure, using jpg as bmp - visible dialpad.
But memory consumption didn't change.
If canvas invisible - economy of memory.
When bitmap loaded... Same result jpg & bmp.
So just rom size smaller. No bad too, but...
I'll use original skin, may bit changed.

ZeuBug
15th August 2008, 06:05 AM
Sure, using jpg as bmp - visible dialpad.
But memory consumption didn't change.

It is only that I want...:(
I have disabled phonecanvas and maybe I will enable it when I will need video telephony! (one click on a reg file and soft reset! ;) )

Maybe someone will find a solution in the future!
There is too much work for not a lot of things... I'm very happy with phonecanvas disabled (could be enabled!)

mondilv
16th August 2008, 01:02 PM
Resources in the PACKAGE_Diamond_PhoneCanvas\phcanOverbmp.dll looks nice (start dialpad for PIN enter, while use PhoneCanvas).
Will try to change standard MS bitmaps. Need be patience - long work:)
Or anybody can do it faster? Photoshop is not my favorite route.

dajudge01
17th August 2008, 08:33 PM
I guess the effect of no difference in memory consumption despite JPG compression is that the application still needs the bitmaps in uncompressed format to display them...

So instead of making things better in terms of memory requirement that factor doesn't change at all - things get even worse since you add the overhead of JPEG decompression to the whole process of loading the dialpad...

This is just a theory however :-) I'd love to see the memory consumption of the dialpad to decrease significantly!

Cheers,
Alex

mondilv
18th August 2008, 03:31 AM
I guess the effect of no difference in memory consumption despite JPG compression is that the application still needs the bitmaps in uncompressed format to display them...

So instead of making things better in terms of memory requirement that factor doesn't change at all - things get even worse since you add the overhead of JPEG decompression to the whole process of loading the dialpad...


I think the same. So now want to try change "light" default MS phone skin.
(look the post upper)

aydc
18th August 2008, 08:30 PM
Someone's done it:

http://forum.xda-developers.com/showpost.php?p=2365614&postcount=16

This takes around 5MB RAM and looks exactly the same as the 10MB version.

dajudge01
18th August 2008, 09:50 PM
*nice* Looks pretty real and indeed seems to require less RAM!

ZeuBug
19th August 2008, 06:13 AM
Someone's done it:

http://forum.xda-developers.com/showpost.php?p=2365614&postcount=16

This takes around 5MB RAM and looks exactly the same as the 10MB version.

Oups...The phone is not very stable after installing this cab...less stable than with the original! less memory consumption but less stable! :mad:

Big difficulties for uninstall it (impossible...): HARD RESET !!!!!!!!!!!!!!!!!:mad::mad::mad:

aydc
19th August 2008, 09:35 AM
What do you mean "less stable"? How much less? How? Why? I don't think your report is very accurate.

On my system, the new phone skin is running since yesterday and I've not had a single crash or instability. It is very very stable.

ZeuBug
19th August 2008, 01:14 PM
What do you mean "less stable"? How much less? How? Why? I don't think your report is very accurate.

On my system, the new phone skin is running since yesterday and I've not had a single crash or instability. It is very very stable.

My system "was" very slower and less (a lot!) reactive. That's all! :D

vibecatalin
19th August 2008, 01:51 PM
For the image, it's work for me (dialpad is visible!)
With these images: http://rapidshare.com/files/137260968/Canvas_Remani__ZeuBug.zip.html

But no memory is saved.. :mad::(:confused:
I think we have to change all files: L_bg.bmp, EdBtnUp_Land.png, TkBtnUp_Land.png, etc...

So we know it's not these images who make problem...

Can you please tell me how to put the reversed images on my phone? I've tried the files from you ... rename them reversed... then copy to windows directory... nothing happend... any ideas?

Ups , my bad, forgot to soft reset... but after that the dialpad is screwed up when I press 8 it presses 5 ... ???

Solved Problem... I've used a photo editor program and inverted the colors of the files and now I have a black dialpad.... Thanks.

Yodajr
19th August 2008, 08:14 PM
Someone's done it:

http://forum.xda-developers.com/showpost.php?p=2365614&postcount=16

This takes around 5MB RAM and looks exactly the same as the 10MB version.
Thank you, it work very well :)
I don't think that it "looks exactly the same as the 10MB version"... it is different, but very nice anyway ;)

mondilv
21st August 2008, 03:25 PM
Someone's done it:
http://forum.xda-developers.com/showpost.php?p=2365614&postcount=16
This takes around 5MB RAM and looks exactly the same as the 10MB version.
Anybody could explain: how it works?

I found the way to change big *.bmp files to *.png (hex edit phcanhtc.dll).
Now the skin works to .png directly, but profit - no more, then 2-3% of RAM.

Need to know the principle.
Ready canvas is not the best way (different versions of rom, etc)

Need to change all plugin structure?
(phcanOverbmp.dll is ~1.2M & contain images, which uses one time only - at the start)

mondilv
21st August 2008, 07:10 PM
Forgot one info:
Change the original MS skin haven't big reason: impossible to change size of buttons. (Need to change coordinates of down-right corner of every button, - I don't know how).
Color scheme only.
Few examples are below:

vibecatalin
23rd August 2008, 11:13 AM
If I want to invert the colors of the dialing screen ( the one with Answer , Reject etc) where to find the files? thanks.

mondilv
23rd August 2008, 12:33 PM
If I want to invert the colors of the dialing screen ( the one with Answer , Reject etc) where to find the files? thanks.

OEM\PACKAGE_Diamond_PhoneCanvas
OEM\PACKAGE_Diamond_PhoneCanvas_0409 - first dialing screen of canvas.

for MS (default) dialpad:
Phone_DPI_192
Phone_dpi_192_resh_480_resv_640

and long time with photoshop:D

vibecatalin
23rd August 2008, 04:49 PM
OEM\PACKAGE_Diamond_PhoneCanvas
OEM\PACKAGE_Diamond_PhoneCanvas_0409 - first dialing screen of canvas.

for MS (default) dialpad:
Phone_DPI_192
Phone_dpi_192_resh_480_resv_640

and long time with photoshop:D

I want to change the Answer Reject Screen .. not the dialpad ( I've done that ) ... and can't find OEM\PACKAGE..... ? where is located?

mondilv
24th August 2008, 02:01 AM
PACKAGE_Diamond_PhoneCanvas\phcanOverbmp.dll -
If I understand right, what do you need.