Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2011-08-04, 23:55
Xlab Xlab is offline
 
Join Date: Oct 2010
Location: Russia, Moscow
Posts: 14
Thanks!: 3
Thanked 49 Times in 6 Posts
Send a message via ICQ to Xlab Send a message via Skype™ to Xlab
Default [Announce] Changing Nokia's logo colors in NOLO

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, 255 views)

Last edited by Xlab; 2013-02-06 at 22:18. Reason: Minimum color value now is 01 for bars.
Reply With Quote
  #2  
Old 2011-08-05, 00:22
Radicalz38 Radicalz38 is offline
 
Join Date: May 2010
Posts: 1,042
Thanks!: 146
Thanked 430 Times in 275 Posts
Default 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?
Reply With Quote
  #3  
Old 2011-08-05, 00:29
Mentalist Traceur Mentalist Traceur is offline
 
Join Date: Jun 2010
Location: Florida
Posts: 2,225
Thanks!: 5,582
Thanked 3,821 Times in 1,273 Posts
Default Re: [Announce] Changing Nokia's logo colors in NOLO

That's a tiny step towards revese engineering NOLO, which is inherently a good thing.
Reply With Quote
The Following 7 Users Say Thank You to Mentalist Traceur For This Useful Post:
  #4  
Old 2011-08-05, 00:33
MINKIN2 MINKIN2 is offline
 
Join Date: Mar 2010
Posts: 1,326
Thanks!: 2,125
Thanked 1,524 Times in 656 Posts
Default Re: [Announce] Changing Nokia's logo colors in NOLO

I'm quite liking this image, even if it was an earlier test result



Like Mentalist Traceur, it is one small step closer
Reply With Quote
The Following 2 Users Say Thank You to MINKIN2 For This Useful Post:
  #5  
Old 2011-08-05, 00:37
Radicalz38 Radicalz38 is offline
 
Join Date: May 2010
Posts: 1,042
Thanks!: 146
Thanked 430 Times in 275 Posts
Default Re: [Announce] Changing Nokia's logo colors in NOLO

Quote:
Originally Posted by MINKIN2 View Post
I'm quite liking this image, even if it was an earlier test result



Like Mentalist Traceur, it is one small step closer
+10 to this mind making a patch for this also?
Reply With Quote
The Following User Says Thank You to Radicalz38 For This Useful Post:
  #6  
Old 2011-08-05, 01:04
Xlab Xlab is offline
 
Join Date: Oct 2010
Location: Russia, Moscow
Posts: 14
Thanks!: 3
Thanked 49 Times in 6 Posts
Send a message via ICQ to Xlab Send a message via Skype™ to Xlab
Default Re: [Announce] Changing Nokia's logo colors in NOLO

Quote:
Originally Posted by Radicalz38 View Post
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

Last edited by Xlab; 2011-08-05 at 01:15.
Reply With Quote
The Following 9 Users Say Thank You to Xlab For This Useful Post:
  #7  
Old 2011-08-05, 01:08
Xlab Xlab is offline
 
Join Date: Oct 2010
Location: Russia, Moscow
Posts: 14
Thanks!: 3
Thanked 49 Times in 6 Posts
Send a message via ICQ to Xlab Send a message via Skype™ to Xlab
Default Re: [Announce] Changing Nokia's logo colors in NOLO

Quote:
Originally Posted by Radicalz38 View Post
+10 to this mind making a patch for this also?
Ok

P.S. zoom:

Last edited by Xlab; 2011-08-05 at 01:11.
Reply With Quote
The Following 2 Users Say Thank You to Xlab For This Useful Post:
  #8  
Old 2011-08-05, 04:29
Radicalz38 Radicalz38 is offline
 
Join Date: May 2010
Posts: 1,042
Thanks!: 146
Thanked 430 Times in 275 Posts
Default Re: [Announce] Changing Nokia's logo colors in NOLO

Great! Thanks! Will look into this very2x soon.
Reply With Quote
  #9  
Old 2011-08-05, 05:13
ivyking ivyking is offline
 
Join Date: Jul 2010
Posts: 237
Thanks!: 2,020
Thanked 274 Times in 111 Posts
Default 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.

Last edited by ivyking; 2011-08-05 at 05:23.
Reply With Quote
The Following User Says Thank You to ivyking For This Useful Post:
  #10  
Old 2011-08-05, 05:17
Alfred's Avatar
Alfred Alfred is offline
 
Join Date: Oct 2010
Location: Germany
Posts: 855
Thanks!: 713
Thanked 612 Times in 290 Posts
Default Re: [Announce] Changing Nokia's logo colors in NOLO

Молодец!!!
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
Reply With Quote
The Following User Says Thank You to Alfred For This Useful Post:
Reply

Tags
nolo bootloader, patch


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. The time now is 19:09.