[8125, K-JAM, P4300, MDA Vario Software Upgrading] lewcamino:
Custom Splash Screen (ROM 2.x AFAIK)

Alright guys. I thought I would write a tutorial on how to make custom splash screens.

This is not that hard but you have to pay close attention to detail.

Images are wraped in {} and are at the bottom of this post.

Tools Needed (All of these are in the zip file at the end of this post);

1. typho5

2. nb2nbf_tornado

3. nb_image_converter_859_418_826.exe

4. WinHex (or your favorite hex editor, but my tutorial uses winhex)

5. RUU NOID (I have included one in the zip file at the end of this post)

6. TyphoonNbfTool_04 (optional, it will allow you to double check your splash nbf before flashing)

Lets get started;

First thing you need is a known to be good nk.nbf (perferably extracted from the same RUU that you flashed your device from.)

Now run typho5.exe -x nk.nbf

It should extract some files for you.

80040000-OS.nb

96000000-GSM.nb

9b000000-Extension.nb

90000000-IPL.nb

91000000-SPL.nb

*92000000-Splash.nb (This is the one we need)

9d000000-HTC.nb

You can delete the others. We just need 92000000-Splash.nb

At this point please take a moment to gather some creative spirit, and may grab a soda.

Now you need the image you want to be your splash screen (make it something REALLY cool, or this is all for nothing ;) ).

BMP

240w x 320h

My horizontal and vertical resolution is 96dpi (don't know if it matters)

Bit Depth: 24

Once you have you BMP, put it in the same folder with nb_image_converter_859_418_826.exe and run nb_image_converter_859_418_826.exe.

Now click Load... and select your BMP and click open. Then click Save.nb and save with a name you will remember (in the same folder, somin like splash.nb)

{nb_image_converter1}

Now in that folder you should have 92000000-Splash.nb & splash.nb (amongst others)

Take note of the file sizes;

92000000-Splash.nb = 192KB (196,608 bytes) <-actual size

splash.nb = 150KB (153,600 bytes)

Lets open up winhex (Yay!) and open up those 2 files.

This is where you need that attention to detail.

You should be looking at something like this:

{winhex1.jpg}

In the upper left hand corner you can see the file size of splash.nb 153,600 bytes, this will change during this process.

However the files size of 92000000-Splash.nb (196,608 bytes) SHOULD NOT CHANGE from now, till we are done! If it does, you made an oops.

Now lets get to it. Look at 92000000-Splash.nb and copy this portion of the file, from 00000000 to 0000001D using Edit > Copy Block > Normally (just ctrl+c)

{winhex2.jpg}

Now go to splash.nb, you will notice that this file does not have the smart phone sinature, thus all this work =)

Put your cursor at offset 00000000 and got to Edit > Clipboard Data > Paste (or ctrl+v)

You will then get this warning;

{winhex3.jpg}

Click Ok, and now note the files size. It should be 153,630 bytes if its not, close these files without saving and start again.

Now go to Edit > Select All (ctrl+a) and then Edit > Copy Block > Normally (ctrl+c)

Lets go back to 92000000-Splash.nb

Now put your cursor at offset 00000000 then (THIS IS IMPORTANT) go to Edit > Clipboard Data > Write (ctrl+b)

You should then get this warning;

{winhex4.jpg}

click OK and note the files size. It should still be 196,608 bytes. If it is not close both files without saving and start again.

If all is well, then save 92000000-Splash.nb. You can save splash.nb if you like, but you really don't need it from here on in.

Close winhex (YAY!)

Open nb2nbf_tornado.exe

Here's what you need to enter;

{nb2nbf_tornado1.jpg}

Model ID: WIZARD

Language: WWE (not sure this matters)

The "OEM Version" and Operator Version is optional (AFAIK)

Make sure CID is blank.

Check File #1 and select your 92000000-Splash.nb you just made.

Start Address should be 92000000 and Image name should be Splash Screen (its in the drop down list, and if you select it in the drop down list it should set the start address to 92000000 for you =) )

Length should once again be 196608.

Your output file should be named nk.nbf

Now click Translate

You should get a message that it was successful and also a nb2nbf Status Report. If you get any type of error, close nb2nbf, reopen it and do it again, double check all settings.

your nk.nbf should be 193 KB (197,632 bytes)

To check that all is well, open up TyphoonNbfTool_04.exe

Go to File > Open and select the nk.nbf you created and click open.

Now in the bottom half of the window right click "Splash Screen" and click extract image. You can name it whatever you want (TESTsplash.bmp).

Now go open that BMP, does it look exactly like the image you made? Cause it should.

Now take the RUU_SPLASH.zip from the SplashScreenStuff.zip (its at the bottom of this post) file, open it up, and paste the nk.nbf into it.

Now change the name of RUU_SPLASH.zip to RUU_SPLASH.exe

Run the EXE and the rest should look familiar.

Remember this will only update your splash screen so it will go very quickly, plus if it fails your phone wont be a brick)

Also this does NOT require a hard reset (all your data will still be there)

Here is a zip of everything you need to do this.

ftp://xda:xda@xda-developers.com/Wizard/Splash_images/SplashScreenStuff.zip

Later; Lew

P.S. Please don't hesitate to post any comments about my tutorial, good or bad.