![]() |
[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)
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. |
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?
|
Re: [Announce] Changing Nokia's logo colors in NOLO
That's a tiny step towards revese engineering NOLO, which is inherently a good thing.
|
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 |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
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 |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
P.S. zoom: http://clip2net.com/clip/m51162/1312...clip-550kb.png |
Re: [Announce] Changing Nokia's logo colors in NOLO
Great! Thanks! Will look into this very2x soon.
|
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. |
Re: [Announce] Changing Nokia's logo colors in NOLO
Молодец!!!
|
Re: [Announce] Changing Nokia's logo colors in NOLO
one step forward to get the post screen :D
kernel-power v48 incl framebuffer support and a other bootloader with post screen :D go forward wish ya good luck |
Re: [Announce] Changing Nokia's logo colors in NOLO
That's cool. Can't wait for a black background + white/blue NOKIA text NOLO.
On a side note, anyone think we can get an open/piggybacking-on-nolo non-kernel dependent bootloader sometime down the line? |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
Quote:
|
Re: [Announce] Changing Nokia's logo colors in NOLO
UPDATE - VERSION 0.2
Now with "bars" support :D |
Re: [Announce] Changing Nokia's logo colors in NOLO
Oops, don't use 00 values for bars! Updated first post with version, where values are capped to minimum 01, when using bars. Sorry :)
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Xlab, can you pretty please poke around for the background color value?
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
BTW, if you set color to 255 255 (white), then you'll see, that there is some garbage around white chars on white background. |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
You CAN have a u-boot that'll boot you off SD-card by default. Or you could compile u-boot to boot Maemo 5 off the kernel partition by default. Back when I had u-boot installed, I had one that would boot normal Maemo 5 off the rootfs if you booted up with keyboard in, and would try to boot meego if you started it with keyboard out. (That's the version that doesn't work on some of the rarer hardware versions of the N900, for whatever reason.) |
Re: [Announce] Changing Nokia's logo colors in NOLO
how can i extract nolo image in windows?
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
Quote:
P.S. or you can get vmware/virtualbox Ubuntu image and play with 0xFFFF. |
Re: [Announce] Changing Nokia's logo colors in NOLO
hello all.
im new to this subject.. i was searching for logo flashing for nokia n86.. i guess these processes i've seen in this thread are no use for me, right ? does nayone know if it is possible for nokia n86 (symbian s60v3 FR2 OS9.2) system ? i couldnt find a good source yet.. by the way i liked these two very much ! http://i.minus.com/jjm8Jk.png and http://i.minus.com/jjmvWy.png :) but i wish we could change that white screen colour behind the nokia logo too. ! hihi! human mind never gets satisfied ! yay ! :) |
Re: [Announce] Changing Nokia's logo colors in NOLO
Hey, oha. I don't remember it precisely anymore since the last time i modded and hacked symbian was almost 2 years ago.
But this will give you the idea. Search the latest method to hack N86. Download the open4all, domainsrv and c2z4bin patches for ROM patcher. Add a custom splashscreen.mif into C: drive which the system will read on boot instead of the one at Z: (ROM) drive. The boot image fills the entire screen. You could also change the shutdown screen except it's easier. Anyway, you better register at some symbian forum like http://www.symbian-freak.com/forum |
Re: [Announce] Changing Nokia's logo colors in NOLO
Cool, nice to see some hacks coming about.
|
Re: [Announce] Changing Nokia's logo colors in NOLO
What do you think about this? :)
http://youtu.be/Qr8FVLHZ2Zc |
Re: [Announce] Changing Nokia's logo colors in NOLO
What do you think about this?
http://www.youtube.com/watch?v=Qr8FVLHZ2Zc |
Re: [Announce] Changing Nokia's logo colors in NOLO
What do you think about this?
http://www.youtube.com/watch?v=Qr8FVLHZ2Zc |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
|
Re: [Announce] Changing Nokia's logo colors in NOLO
I can't post a solution because my posts are blocked :/
upd: Wow, i was wrong, strange. I will try make FAQ tomorrow. |
Re: [Announce] Changing Nokia's logo colors in NOLO
Xlab, seems like nokia image located in 1289C-14299 and not 100% correlated with picture2.bin.
|
Re: [Announce] Changing Nokia's logo colors in NOLO
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: http://i.imgur.com/OK9ews.png 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. |
Re: [Announce] Changing Nokia's logo colors in NOLO
1 Attachment(s)
Exuse me, that i am so long don't post the FAQ and sorry for my not so good english :)
FAQ: Changing boot logo * All in this FAQ tested on N900 with hw-revision = 2101, but all offsets are the same for other revisions (thanks to hxka for this info). If you don't know your revision - "flasher-3.5 -i" will help you. 1. What you need - RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin - flasher-3.5 - logo_compress.elf (attached to post) - image file you want to use (it should be 416x72 pixels) You need to unpack RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin. There will be a lot of unpacked files - better if you will make this in some empty folder. Unpacking: Code:
flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -u And try to don't forget this files, we will need them later. 2. Preparing source image Better if you convert your image to 16bpp BMP image. In this step you can see how your logo will look like :) You can convert your image using this: Linux: ImageMagick Windows: PixelFormer Check yourself: in this step your image must be ~59970 bytes. 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 Check yourself: in this step your "rawbmp.bin" must be 59904 bytes. 3. Creating compressed logo Put "logo_compress.elf" and your "rawbmp.bin" somewhere into your phone. (For example: /home/user/logo) And all you need is run this elf: Code:
cd /home/user/logo Code:
./logo_compress.elf 4. Check "logo.bin" There is some limitations for result logo. The maximum size for "logo.bin" is 6646 bytes. If size of your "logo.bin" is more than needed, you must go to step 2. Preparing source image and edit your BMP. You must reduce the number of groups with non-recurring pixels. It is mean you must make smooth transitions of colors more sharper, for example. If size of your "logo.bin" is less than needed, you can go to the next step. 5. Patching "secondary.bin" Do you remember your "secondary.bin" and "xloader.bin". Put them in some folder with. Upload your "logo.bin" from your phone and put it in this folder too. Now we can start patching. Patch "secondary.bin" with your "logo.bin": Code:
cd /path/to/some/folder * In this example image size is 6646 bytes (in hex it is 0x19F6), you must write your size in the command. Code:
echo -ne '\xBF\xF8\x3E\x61' | dd of=secondary.bin bs=1 seek=33240 conv=notrunc In first command change bytes '\xFF\xFF\xFF\xFF' to needed color. Color must be 16 bit depth and bytes must be reversed and doubled :) Example: 0xF800 is RED , it is meen you must write '\x00\xF8\x00\xF8' 0x07E0 is GREEN , it is meen you must write '\xE0\x07\xE0\x07' 0x001F is BLUE , it is meen you must write '\x1F\x00\x1F\x00' Code:
echo -ne '\xFF\xFF\xFF\xFF' | dd of=secondary.bin bs=1 seek=36836 conv=notrunc And finally all we need is flash your new "secondary.bin" to device. Code:
flasher-3.5 -s "secondary.bin" -x "xloader.bin" -f Code:
flasher-3.5 -R If somethings go wrong and your phone bricked, remember about Cold Flashing. |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
Amazing. It's 416x72. Cool. Got it working. My boot logo's now a sexy white NOKIA on black background, integrating nicely with u-boot-bootmenu and hildon-startup-progress. |
Re: [Announce] Changing Nokia's logo colors in NOLO
1 Attachment(s)
Don't know is there some people who interested in it, but why not. Maybe later, in my free time, i will post how to use icons and logo with custom width and height.
A couple of weeks ago i had a little upgrade my elf :) Let it be version 1.1. Now elf can compress any files (first version work correct only with files that have 59904 bytes size). For what? Now it is possibble to compress images for changing USB and R&D icons :) You can find elf in attached archive. General FAQ about changing Nokia logo Fast FAQ for changing USB and R&D icons (If have questions - go to general FAQ) 1. Preparing icons Format of icons must be the same as in general FAQ (16bpp BMP) Icon sizes: - 40x40 for USB - 64x54 for R&D 2. Compress icons Your actions for compress the same as in general FAQ: - get RAW from your images - rename RAW to "rawbmp.bin", run elf and get compressed image in "logo.bin" 3. Checking size of compressed images There is limitations for size of compressed image: - "logo.bin" for USB icon must be less or equal to 1089 bytes - "logo.bin" for R&D icon must be less or equal to 3954 bytes If all ok - next step, if not - edit your image for decreasing it's compressed size. 4. Patch "secondary.bin" for USB icon: Code:
dd if=logo.bin of=secondary.bin bs=1 seek=82596 conv=notrunc * In this example size of "logo.bin" with USB icon equal to 1089 bytes, it is 0x441 bytes, that mean '\x41\x04' Code:
echo -ne '\x41\x04' | dd of=secondary.bin bs=1 seek=33598 conv=notrunc Code:
dd if=logo.bin of=secondary.bin bs=1 seek=71976 conv=notrunc * In this example size of "logo.bin" with R&D icon equal to 3954 bytes, it is 0xF72 bytes, that mean '\x72\x0F' Code:
echo -ne '\x72\x0F' | dd of=secondary.bin bs=1 seek=33596 conv=notrunc Thats all, flash your phone with new "secondary.bin" :) |
Re: [Announce] Changing Nokia's logo colors in NOLO
With help of raandoom, I created a script what can easily change boot logo and background color directly from N900..
Guys, respect for still supporting our baby n900. I always thought that n900's black overall background color is depressing, always wanted to make it white-red, white-pink or some white with bright color. How can I change it? Thanks. |
Re: [Announce] Changing Nokia's logo colors in NOLO
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. :) |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
I meant the black background in the settings menu, conversations or contacts, etc (in the whole phone pretty much) as well as the top menu, I was wondering if I could change it to anything but black, wanted to do it for 2 years now... http://s17.postimage.org/5zem043cf/screenshot02.png This is my settings menu, I pointed with arrows to explain what do I mean with background colors. Do you know the way to change them? Much appreciated. |
Re: [Announce] Changing Nokia's logo colors in NOLO
Please, stop offtop. This topic not about this.
|
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
First of all mate you are just awesome. I totally missed the news in this thread. And I always wanted to change my bootsplash as I did on my old phones before... So my deep respect to you. And second: How many bytes is the header of bmp, because the ffmpeg command errors out with Code:
[bmp @ 0x8408a10]unsupported BMP file, patch welcome ffmpeg -formats doesn't list bmp support either. Thanks in advance... J4ZZ |
Re: [Announce] Changing Nokia's logo colors in NOLO
Quote:
Code:
wrong height, must be 72. It's definetely 72 px high, I tried with Pixelformer, Photoshop and Gimp... Any ideas what's the issue here? Regards, J4ZZ |
All times are GMT. The time now is 09:41. |
vBulletin® Version 3.8.8