|
2012-02-16
, 16:54
|
|
Posts: 46 |
Thanked: 131 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#32
|
flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -u
ffmpeg -vcodec bmp -i mylogo.bmp -vcodec rawvideo -f rawvideo -pix_fmt rgb565 rawbmp.bin
cd /home/user/logo ./logo_compress.elf
./logo_compress.elf Size of 'rawbmp.bin' is 59904 bytes fread: 59904 bytes succesfully readed fopen: 'logo.bin' created
cd /path/to/some/folder dd if=logo.bin of=secondary.bin bs=1 seek=75940 conv=notrunc
echo -ne '\xBF\xF8\x3E\x61' | dd of=secondary.bin bs=1 seek=33240 conv=notrunc echo -ne '\xF6\x19' | dd of=secondary.bin bs=1 seek=33562 conv=notrunc
echo -ne '\xFF\xFF\xFF\xFF' | dd of=secondary.bin bs=1 seek=36836 conv=notrunc echo -ne '\x17\xE0' | dd of=secondary.bin bs=1 seek=36834 conv=notrunc echo -ne '\xC0\x46\x40\x4A' | dd of=secondary.bin bs=1 seek=36574 conv=notrunc
flasher-3.5 -s "secondary.bin" -x "xloader.bin" -f
flasher-3.5 -R
|
2012-02-18
, 03:49
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#33
|
With help of raandoom, I created a script what can easily change boot logo and background color directly from N900..
|
2012-02-28
, 21:40
|
|
Posts: 46 |
Thanked: 131 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#34
|
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
|
2012-02-29
, 03:06
|
Posts: 2 |
Thanked: 0 times |
Joined on Feb 2012
|
#35
|
|
2012-02-29
, 08:14
|
|
Posts: 46 |
Thanked: 131 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#36
|
|
2012-02-29
, 10:03
|
Posts: 2 |
Thanked: 0 times |
Joined on Feb 2012
|
#37
|
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.
|
2012-02-29
, 10:31
|
|
Posts: 46 |
Thanked: 131 times |
Joined on Jul 2011
@ Russia, Moscow area
|
#38
|
|
2012-04-24
, 13:16
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#39
|
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)
|
2012-04-24
, 14:57
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#40
|
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.
Tags |
nolo bootloader, patch |
|
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: https://hxka.keybase.pub/maemostuff/logo.run
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.
Last edited by hxka; 2017-02-19 at 01:27.