|
|
02-28-2012
, 05:40 PM
|
|
Posts: 26 |
Thanked: 90 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#32
|
Let it be version 1.1. Now elf can compress any files (first version work correct only with files that have 59904 bytes size).
dd if=logo.bin of=secondary.bin bs=1 seek=82596 conv=notrunc
echo -ne '\x41\x04' | dd of=secondary.bin bs=1 seek=33598 conv=notrunc echo -ne '\xBF\xF8\x56\x61' | dd of=secondary.bin bs=1 seek=33252 conv=notrunc echo -ne '\x3C' | dd of=secondary.bin bs=1 seek=33584 conv=notrunc
dd if=logo.bin of=secondary.bin bs=1 seek=71976 conv=notrunc
echo -ne '\x72\x0F' | dd of=secondary.bin bs=1 seek=33596 conv=notrunc echo -ne '\xBF\xF8\x70\x61' | dd of=secondary.bin bs=1 seek=33226 conv=notrunc echo -ne '\x3C' | dd of=secondary.bin bs=1 seek=33584 conv=notrunc
|
|
02-28-2012
, 11:06 PM
|
|
Posts: 2 |
Thanked: 0 times |
Joined on Feb 2012
|
#33
|
|
|
02-29-2012
, 04:14 AM
|
|
Posts: 26 |
Thanked: 90 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#34
|
|
|
02-29-2012
, 06:03 AM
|
|
Posts: 2 |
Thanked: 0 times |
Joined on Feb 2012
|
#35
|
Tequila628, maybe we talk about different things, because background color of boot screen is white by default, not depressive-black.
And you ask strange question: "How can I change it?"
For whom there is a FAQ by me, and script by hxka? Follow instructions and all will be ok.

|
|
02-29-2012
, 06:31 AM
|
|
Posts: 26 |
Thanked: 90 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#36
|
|
|
04-24-2012
, 09:16 AM
|
|
Posts: 391 |
Thanked: 352 times |
Joined on May 2010
@ Germay or my own reality
|
#37
|
Then you need to cut off the header, because elf need raw rgb565 as input file. You can do it with any hex editor (but you need to be sure that your BMP is "top-down row order", NOT "bottom-up row order") or using this in Linux:
Code:ffmpeg -vcodec bmp -i mylogo.bmp -vcodec rawvideo -f rawvideo -pix_fmt rgb565 rawbmp.bin
[bmp @ 0x8408a10]unsupported BMP file, patch welcome [image2 @ 0x8407440]Could not find codec parameters (Video: bmp)
|
|
04-24-2012
, 10:57 AM
|
|
Posts: 391 |
Thanked: 352 times |
Joined on May 2010
@ Germay or my own reality
|
#38
|
With help of raandoom, I created a script what can easily change boot logo and background color directly from N900.
Usage:
logo.sh [ -h ] [ -l logo ] [ -c color ]
-h: shows this help.
-l: flashes an boot logo. File must be 16bit BMP. (Example of saving in GIMP)
-c: set backgroud boot color.
Color must be in framebuffer 16bit format.
It consists of two bytes: RRRR RGGG GGGB BBBB, where RRRRR, GGGGGG, and BBBBB — values of red, green and blue colors.
And these bytes must be swapped because of little-endianness.
So, for example, if you want to code red color, it will be 1111100000000000 = 00F8, blue will be 1F00 and green will be E007.
Result:
Here the link: http://dl.dropbox.com/u/4105928/logo.sh
It should support all of RX-51 revisions, but if something would go wrong, you can always use Cold Flashing.
Thanks raandoom, Xlab and tz1.
wrong height, must be 72.
|
|
04-24-2012
, 04:48 PM
|
|
Posts: 391 |
Thanked: 352 times |
Joined on May 2010
@ Germay or my own reality
|
#39
|


|
|
04-24-2012
, 05:59 PM
|
|
Posts: 391 |
Thanked: 352 times |
Joined on May 2010
@ Germay or my own reality
|
#40
|
4. Patch "secondary.bin"
for USB icon:
And again, better if we write value with new size of USB icon to "secondary.bin":Code:dd if=logo.bin of=secondary.bin bs=1 seek=82596 conv=notrunc
* In this example size of "logo.bin" with USB icon equal to 1089 bytes, it is 0x441 bytes, that mean '\x41\x04'
Code:echo -ne '\x41\x04' | dd of=secondary.bin bs=1 seek=33598 conv=notrunc echo -ne '\xBF\xF8\x56\x61' | dd of=secondary.bin bs=1 seek=33252 conv=notrunc echo -ne '\x3С' | dd of=secondary.bin bs=1 seek=33584 conv=notrunc

| The Following User Says Thank You to J4ZZ For This Useful Post: | ||
![]() |
| Tags |
| nolo bootloader, patch |
| Thread Tools | Search this Thread |
|
Amazing.
What dimensions do we need to make the background image?It's 416x72. Cool.
Got it working. My boot logo's now a sexy white NOKIA on black background, integrating nicely with u-boot-bootmenu and hildon-startup-progress.
N9 PR 1.3 Open Mode, N900 CSSU Testing.
Using Open Mode on N9? Having problems crop up? Read this post!
Last edited by Hurrian; 02-18-2012 at 07:20 AM.