maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] Changing Nokia's logo colors in NOLO (https://talk.maemo.org/showthread.php?t=75504)

Xlab 2011-08-04 23:55

[Announce] Changing Nokia's logo colors in NOLO
 
1 Attachment(s)
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. :confused:

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

NOLO Logo Patcher v0.2 :cool:
http://i.min.us/ijqk0I.png
(Attached to this post)

It provides these main functions:
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
http://i.min.us/jjhzdQ.png
(3:0 -> 2:5)

Improved classic
http://i.min.us/jjlSgA.png
(0:15 -> 0:0)

My favourite logo :o
http://i.min.us/jjmye6.png
(128:128)

bars1 & bars2
http://i.min.us/jjqko2.png
(254:1 -> 56:199)

http://i.min.us/jl7IfM.png
(1:254 -> 199:56)

Gradient and color madness like that cannot be done with my utility (it hasn't any button for)
http://i.min.us/jjm8Jk.png
http://i.min.us/jjmvWy.png

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.

Radicalz38 2011-08-05 00:22

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Hi! Mind sharing also the manual way for us who wants to know how it was done?

Mentalist Traceur 2011-08-05 00:29

Re: [Announce] Changing Nokia's logo colors in NOLO
 
That's a tiny step towards revese engineering NOLO, which is inherently a good thing.

MINKIN2 2011-08-05 00:33

Re: [Announce] Changing Nokia's logo colors in NOLO
 
I'm quite liking this image, even if it was an earlier test result

http://i.minus.com/jjm42U.png

Like Mentalist Traceur, it is one small step closer

Radicalz38 2011-08-05 00:37

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Quote:

Originally Posted by MINKIN2 (Post 1064341)
I'm quite liking this image, even if it was an earlier test result

http://i.minus.com/jjm42U.png

Like Mentalist Traceur, it is one small step closer

+10 to this :D mind making a patch for this also? :p

Xlab 2011-08-05 01:04

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Quote:

Originally Posted by Radicalz38 (Post 1064337)
Hi! Mind sharing also the manual way for us who wants to know how it was done?

Ok. I recently found these files in jacekowski's repo:
http://maemo.jacekowski.org/binary/nolo/ .

I've found out, that pics 1-2-3 are in a "secondary" image and represent the RD icon, logo, usb icon respectively. So, now i'm know, where is NOKIA picture located in secondary.

Then i've C&P HEX representation in Notepad++ and started analyse.

Here is my little screencast:
It's impossible to change image entirely without disassembling NOLO binary.

+IRC log where jacekowski explained how to find location:
http://mg.pov.lt/maemo-irclog/%23mae...01-14.log.html

Xlab 2011-08-05 01:08

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Quote:

Originally Posted by Radicalz38 (Post 1064343)
+10 to this :D mind making a patch for this also? :p

Ok :D:D

P.S. zoom: http://clip2net.com/clip/m51162/1312...clip-550kb.png

Radicalz38 2011-08-05 04:29

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Great! Thanks! Will look into this very2x soon.

ivyking 2011-08-05 05:13

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Thanks a million !!
this looks interesting, I will look into it tomorrow ..
if the text can be made black, and the background made black for NOKIA word to be invisible that would be GREAT !

Can we replace the text completely ?

also, since you started doing that kind of stuff, can you disassemble the binary into arm assembly, we can study what initializations it does exactly.

Alfred 2011-08-05 05:17

Re: [Announce] Changing Nokia's logo colors in NOLO
 
Молодец!!!


All times are GMT. The time now is 20:50.

vBulletin® Version 3.8.8