Reply
Thread Tools
Posts: 84 | Thanked: 1 time | Joined on Jan 2006
#1
I've been trying to customize my boot process. The default boot process goes like this:

1. Nokia logo on white background

2. Nokia logo with blue progress bar at the bottom of the screen

3. Nokia "hands" picture w/sound (wav file)

4. Clear white screen

5. GUI is loaded

I have been able to change steps #2 and #3.

Step #2 runs via a shell script in /etc/init.d called fb-progress.sh. This is a shell script front end for a binary called fb-progress. I assume fb stands for framebuffer, since the program access the framebuffer directly.

fb-progress is an interesting little program; you can even use it after boot, if you don't mind messing up your display until you can refresh the screen with another app.

fb-progress.sh loads the logo from:
/usr/share/icons/hicolor/scalable/hildon/qgn_indi_startup_nokia_logo.png

Modifying that logo, or changing the filename in the script, is reflected by changes in steps #2 and #3, not #1. The image in step #1 appears to be an image embedded in a binary, since the qgn_indi_startup_nokia_logo.png doesn't appear to be called in any other /etc/init.d scripts.

Other info...

- That same Nokia logo from step #2 is also used in the shutdown process, with a white surround.

- You can modify the sound that displays during the "hands" picture, but the picture during that step only seems to display as long as the sound is playing.

I would really like to change the image in step #1 if anyone has any information on that, I'd appreciate it.
 
Posts: 48 | Thanked: 1 time | Joined on Jan 2006
#2
Well, the image for Stage 1 appears to be before the InitFS is loaded, which suggests that trying to modify it would be a "Bad Thing<tm>".

Step 2b: At about 7/10ths progress, the PIN pad appears, existing 7/10ths of progress disappear, last 3/10ths finish accruing in the background.

Step 2c: PIN is entered, if valid the device is allowed to continue to Step 3.

Step 4 may actually be a result of the screen-clearing and vt switch executed as Step 3 completes.

Step 5 I think is the switch from the boot vt (vt #1?) to the runtime vt (vt #2).

*****

`/mnt/initfs/usr/bin/fb-chaimage` is the binary which displays a progress bar and a background .PNG.

The progress bar displays as a Nokia-blue (default color) pixel block (size of 8W 20H) updated at 50ms intervals (I think dyn-tick screws with this) using top-left as the physical and virtual screen zero point, virtual screen size of 800W 600H (bottom 120H is truncated off-screen) at 16bpp, a zero-point corner of 0W 460H, and a final-point of 792W 460H.

It appears to run on vt #3 (at least if run during normal operation and called from vt #2) by default.

Caution, running this binary can confuse the hardware input sensors, and leave you temporarily crippled. :-P
 
Posts: 4 | Thanked: 0 times | Joined on Jan 2006
#3
Originally Posted by Supergeek
- That same Nokia logo from step #2 is also used in the shutdown process, with a white surround.
Because the same screen "NOKIA" shows when starting and shutting down, sometimes is difficult to say if the device is opening or closing. Now the same info on the screen is used for two different statuses. Could these screens look different, too? Already W......98 had separate screens at startup and shutdown.
 
Posts: 66 | Thanked: 3 times | Joined on Dec 2005
#4
I had previously chnaged qgn_indi_nokia_hands.png with a custom picture (800x480) png that works. Based on this post I copied that image to qgn_indi_startup_nokia_logo.png. Now when I boot I get a plain white background during the "progress box".

does the qgn_indi_startup_nokia_logo.png file have to be a special size? under a certain file size? Idea?

-Jason
 

The Following User Says Thank You to Chainsaw76 For This Useful Post:
Posts: 60 | Thanked: 0 times | Joined on Nov 2005
#5
Originally Posted by Chainsaw76
I had previously chnaged qgn_indi_nokia_hands.png with a custom picture (800x480) png that works. Based on this post I copied that image to qgn_indi_startup_nokia_logo.png. Now when I boot I get a plain white background during the "progress box".

does the qgn_indi_startup_nokia_logo.png file have to be a special size? under a certain file size? Idea?

-Jason
Yes, it has to make room for the progress bar at the bottom. So leave a few pixels for that.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:34.