Reply
Thread Tools
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, 294 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:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#2
Hi! Mind sharing also the manual way for us who wants to know how it was done?
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#3
That's a tiny step towards revese engineering NOLO, which is inherently a good thing.
 

The Following 7 Users Say Thank You to Mentalist Traceur For This Useful Post:
Posts: 1,326 | Thanked: 1,524 times | Joined on Mar 2010
#4
I'm quite liking this image, even if it was an earlier test result



Like Mentalist Traceur, it is one small step closer
 

The Following 2 Users Say Thank You to MINKIN2 For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#5
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?
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 14 | Thanked: 49 times | Joined on Oct 2010 @ Russia, Moscow
#6
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.
 

The Following 9 Users Say Thank You to Xlab For This Useful Post:
Posts: 14 | Thanked: 49 times | Joined on Oct 2010 @ Russia, Moscow
#7
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.
 

The Following 2 Users Say Thank You to Xlab For This Useful Post:
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#8
Great! Thanks! Will look into this very2x soon.
 
Posts: 237 | Thanked: 274 times | Joined on Jul 2010
#9
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.
 

The Following User Says Thank You to ivyking For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#10
Молодец!!!
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 

The Following User Says Thank You to Alfred For This Useful Post:
Reply

Tags
nolo bootloader, patch

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:14.