Prev Previous Post   Next Post Next
Old 12-20-2008, 11:38 PM
Soaa Soaa is offline
Join Date: Jan 2008
Posts: 251
Default Research and development: custom fonts.

One of my biggest wishes for BlueWave updates was custom font support. Now Samsung obviously isn't adding this in for us, so we'll have to work this on our own.

I've confirmed that the P2 uses fonts in TTF format, and that these fonts are not encrypted in the firmware update images. Have a look at these screenshots.

Here's Bitstream Vera Sans, in normal style:

And here's an offset within YPP2.RSC:

See the similarity?

We can probably just overwrite the P2's default fonts with custom fonts and reflash. As long as we don't change the file size and move things around, it should be a fairly safe mod.

I'll give it a shot and let you know how it goes.

Update 1:

I tried replacing the first font with Deja Vu Sans, but when I tried flashing it, it threw an error 'Invalid Resource'. I'm thinking there might be a CRC check somewhere.

Update 2:

It seems like the hash they're using to check YPP2.RSC isn't standard: I tried CRC32, md5 and SHA-1, as well as others, and the digests haven't been found in YPP2.ROM. However, looking through YPP2.ROM, I found the string 'Invalid resource' along with some binary code around it. If I can dissassemble it and bypass the check, we might get a YPP2.ROM that allows flashing of custom resources.

Last edited by Soaa; 12-21-2008 at 10:10 AM.
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:41 PM.