View Single Post
Posts: 14 | Thanked: 49 times | Joined on Oct 2010 @ Russia, Moscow
#1
UPDATE 7 feb 2013: THERE IS A NEW VERSION OF THAT THING IS AVAILABLE, THANKS raandoom! http://talk.maemo.org/showpost.php?p...1&postcount=55

---------------------------------------------------------------
V This is my outdated thoughts and solutions V
---------------------------------------------------------------

Hi all. I've researched into NOLO's binary for two days and found out, how to change the main color of NOKIA's logo at boot. Also i've explored image format as deep as i could with only hex-editor and Notepad++. May be if i'll try to use IDA, i'll understand it all, but not now.

BTW, i threw out my laziness and wrote a GUI for patching "secondary" images, where NOLO is located.

NOLO Logo Patcher v0.2

(Attached to this post)

It provides these main functions:
  • Change solid color of logo
  • Make gradient
  • Write NOKIA logo or "bars" ()

Comment: In NOLO color is defined for a rows (not pixels), with two bytes (from 00 to FF each). I haven't figured out, how colors are computed by NOLO's code, but we can change that bytes and it works!

There is some examples and photos from earlier tests:

Greenie

(3:0 -> 2:5)

Improved classic

(0:15 -> 0:0)

My favourite logo

(128:128)

bars1 & bars2

(254:1 -> 56:199)


(1:254 -> 199:56)

Gradient and color madness like that cannot be done with my utility (it hasn't any button for)



HOW TO USE
(note: you may skip steps 1-2 if you are running Windows and can't use 0xFFFF)
  • Download NOKIA's FIASCO image named "RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin" (the last firmware image for n900).
  • Unpack it using the 0xFFFF utility:
    Code:
    ~# 0xFFFF -u RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin
  • You need to know your board's revision. Use -i key with flasher-3.5 (more info here)
    When do, browse the directory, where you unpacked FIASCO image and find "secondary", "2nd" and "xloader" part that contains your board's revision in their names. There should be three files. Rename them into something acceptable like "secondary-RX-51.bin", "2nd-RX-51.bin" and "xloader-RX-51.bin". You can remove others.
  • If you can't use 0xFFFF on your sysem, you should download this zip and unpack needed parts.
  • FINALLY patch secondary-RX-51.bin file with my patcher and flash it to a device:
    Code:
    ~# flasher-3.5.exe -s "secondary-RX-51.bin_patched" -x "xloader-RX-51.bin" -f
  • If something went wrong, you always can restore bootloader by doing the cold flash procedure. It works even if you wipe /dev/mtd0 partition entirely

    BTW, i done cold flash 50+ times from a total of 200+ NOLO's reflashes on my n900.

That's all.

I'll appreciate any suggestions and comments.

Many thanks to jacekowski! Files on his site helped me to locate pictures in secondary image.
Attached Files
File Type: zip nolo_patcher.zip (310.4 KB, 272 views)

Last edited by Xlab; 2013-02-06 at 22:18. Reason: Minimum color value now is 01 for bars.
 

The Following 33 Users Say Thank You to Xlab For This Useful Post: