yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] pudgedaddy:
So here's the deal on my ventures.

I've found out that although the excalibur is a 320 X 240 sozed screen the actual .bmp and .nbh files are 240 X 320 ... I verified this by extracting the .nb and .bmp files from the HTC ROGERS and TMO .nbh files the images looked fuzzy, but they work when they are injected into my phone. So here's what i did. I created a .bmp image from scratch using 320 X 240 attributes. the name of the file was 00_MainSplash.bmp. I then used pof's nbimg.exe file and typed in cmd window: nbimg.exe -F 00_MainSplash.bmp -w 320 -h 240 -n

. then it gave me 00_MainSplash.bmp.nb which i renamed and took off the extra .bmp in the middle. Then i did this .nb file in reverse by typing nbimg.exe -F 00_MainSplash.nb to see what the output .bmp file would look like. When i looked at the output .bmp file it was all distorted in the same way the official carrier .bmp files looked like. So i figure ok, i got it correct now. Here's where the issue occurs. I use the nbhgen.exe file and type nbhgen dash.txt (the .txt file is called dash.txt)

The text reads:

EXCA10000

1111111

1.11.0.0

USA

600,00_MainSplash.nb

so i execute it and it gives me the RUU_signed.nbh file . The file size is around 151kb I then use the RUU updater and execute that (after i run the USPL CID Bypass) Then after the updater states it's successful the phone reboots and gives me a green gradient screen as the first splash screen and not the file i created. I figured i must be going something wrong (obviously)

if i try and re-extract the .nb files out of my new .nbh file using NBHExtract.exe the only file that turns out is: 00_MainSplash.nb ... now when i ran that same utility on the Tmobile, Rogers and HTC official. nbh files the output files were 2: one was: 00_MainSplash.nb & 00_MainSplash.bmp,,, so it seems like the .nbh files should contain a .nb and a .bmp file somehow.

So i went back to my dash.txt file and changed it to read:

EXCA10000

1111111

1.11.0.0

USA

600,00_MainSplash.nb

600,00_MainSplash.bmp

i also tried:

EXCA10000

1111111

1.11.0.0

USA

600,00_MainSplash.nb

601,00_MainSplash.bmp

and tried using that output file with the RUU updater. Either way it gave me a flash error and kept that same green gradient screen upon first boot.

So if anyone can tell me where i fouled up i'd be indebted to you.

edit: ok a retract what i said about the nbhextract.exe not outputing 2 files when i extract the .nb file i created. So there must be something else im not doing right..... pof had mentioned something in another thread about using a hex editor to sighn the .nb file for smartphones. but i have no idea how to do that.

Edit2: I think one of two things are going on. 1. The .nb or .nbh file must be signed for smartphones like pof mentioned.... or 2. the nbhgen.exe is somehow malforming the format of the image ( such as converting it from 320x240 to 240x320 ) or the certificate doesnt work with the excalibur that nbhgen uses
[Windows Mobile Software Development] pof:
Wait a while and I will make it smartphone friendly :) and with option to directly generate NBH for you. I'll update the first post when its done.
[Windows Mobile Software Development] pudgedaddy:
friggin sweet! thanks a lot! i'll make sure to "spread the wealth" if i can get it workin on my phone.
[Windows Mobile Software Development] pudgedaddy:
any timeline on when you expect this development to be completed?
[Windows Mobile Software Development] pof:
Check the first post, I updated it.
[Windows Mobile Software Development] Nosferatos:
pof, please, check this thread http://xdaforums.com/showthread.php?t=404449&highlight=splash, for my problem
[Windows Mobile Software Development] farukb:
mucas gracias...or something like that:D

how do great roms always have bad(dumb) splashes...well not any more

thanks for the update
[Windows Mobile Software Development] canardwc:
Hi All,

What is the HTC Thouch Diamond MODEL ID ? Where can I found it?

Regards,

Sebastien
[Windows Mobile Software Development] WIzard200x:
Thanks Pof... :)

This little tool comes in way handy.

Look forward to trying this.

Great Work, Again :D
[Windows Mobile Software Development] pudgedaddy:
This still doesn't seem to work for smartphones ( or at least mine ). I have an HTC Excalibur 620 running on Kavana Wm 6.1 ROM. I have tried using your .nbh generator function but it doesnt work. to give you some examples of what i've tried here they are:

I first created a .bmp image with 320 X 240 dimensions

i named it MainSplash.bmp

then in cmd window, i typed c: nbimg -F MainSplash.bmp -w 320 -h 240 -n -s -t 0 -p 0 -D EXCA10000 -S 1024 -T 0X600

i've also tried : c: nbimg -F MainSplash.bmp -w 320 -h 240 -s -t 0 -p 0 -D EXCA10000 -S 1024 -T 0X600

and i've tried:

c: nbimg -F MainSplash.bmp -w 320 -h 240 -n -s -D EXCA10000 -S 1024 -T 0X600

Each one of these has generated either error 228: invalid file size or, error 226 flash write error. I've also tried just only creating the .nb file and using bot's .nbh generator. i've also tried dark simpson's ROM builder with the same results. B-4 ver 1.1 oh this software, i was at least getting some sort of change with my screen ( although it was a green screen and not what i created ) at least it wasn't giving me any errors. If someone can help me with what i might be doing wrong, i'd appreciate it.

BTW... i am running the spl CID bypass b-4 running the RUU
[Windows Mobile Software Development] pof:
The resulting NB file size must be equal to the original NB splash screen file size, in case of Excalibur, NB file for splashscreen is 262144, so you need to calculate the padding.

Try this:

nbimg -p 108514 -n -s -w 320 -h 240 -F MainSplash.bmp -T 0x600 -S 1024 -D EXCA10000
[Windows Mobile Software Development] mahsidi:
Hi how do i set up my splash screen i have made a .nbh file of just the splash screen using NBHUtil. what do i do next
[Windows Mobile Software Development] pof:
Flash it? :)
[Windows Mobile Software Development] mugglesquop:
hey,

whenever i try and run the nbimg.exe (either version), the DOS box appears, then closes quickly.

Any reason for this?

(trying to run off the desktop with Windows XP Pro)

cheers,
[Windows Mobile Software Development] pof:
@mugglesquop: Yes, it's a command line app. You need to run it from a cmd prompt.
[Windows Mobile Software Development] pudgedaddy:
Well i tried this code . and although i didnt get a flash error when running the RUU, the splash screen didnt change from the previous one. Basically, nothing changed after running the .nbh via RUU. IF you want to see the actual file i'm trying to use i will upload it if you want to see it.
[Windows Mobile Software Development] pof:
@donjuantip: this tool is for the HTC Splash screen that appears when you boot the device, and WinCE has not booted yet. Has nothing to do with the windows mobile splash screen, sorry.

@pudgedaddy: Feel free to send me the NBH so I can see what is wrong.
[Windows Mobile Software Development] ov2rey:
sorry do this software change the start up screen????

i mean as change the starting up pda image?
[Windows Mobile Software Development] pudgedaddy:
@ pof. PM sent with .nbh link
[Windows Mobile Software Development] pof:
You forgot the -T 0x600 in the command I told you before. Just in case you didn't, the "x" must be lowercase.
[Windows Mobile Software Development] pudgedaddy:
yup it was the upper X instead of the lower x that was the issue. This worked perfectly.... I'm going to write out an instruction manual out on the excalibur forum using your program (if you dont mind) and our RUU and CID bypass procedure..... if that's ok...
[Windows Mobile Software Development] pudgedaddy:
BTW.... is there a way to also change the second splcashscreen that comes up on the excalubir? basically what excalibur users see is first the splash screen that is usually your mobile operator's splash screen. then after that one the second is the splash screen with the windows mobile logo and background, then the phone shows the home screen. I tried doing this with the same command line, but with 0x601 and that just replaced the first screen and then i tried it with 0x700 and i got a flash error. so basically if you can tell me if that can be changed , or how then i'd appreciate it.
[Windows Mobile Software Development] pof:
Excalibur only has one Splash Screen in ROM, that is the 0x600 part of the NBH. The second splash screen you see (windows mobile logo) is part of the OS ROM, so you have to cook the OS ROM to change that, most probably it's called welcomehead*.png file in \windows\ folder.
[Windows Mobile Software Development] pudgedaddy:
weird.... i don't have that file and i've checked EVERY SINGLE IMAGE FILE i could find in the /windows root directory and none of them are the 2nd boot screen that i see.

this is the second boot image i see:

i have basically made a reg hack to include another boot screen, but it ends up giving me 3 boot screens. 1, first boot screen from your nbimg proggy, 2 the windows boot screen (shown above) 3, my other custom boot screen (using reg hacks) ... so i really don't know where this image would be located, but i figured since this was a cooked (kavana 6.1) ROM, that the OS boot image could have been omitted and instead a second flash .nbh image was used to emulate the 2nd ( OS BOOT) image.
[Windows Mobile Software Development] Liferepeat:
Unlock, bricking Dimond

Prof

You have already proved your talent. So let's cut the crap and concentrate on bricking and unlocking the thing as well as find how to operate the iGO on it.

Cheers genious.;)
[Windows Mobile Software Development] pof:
@pudgedaddy: This is for sure inside the OS rom, not a NB splash screen.

@Liferepeat: wtf?
[Windows Mobile Software Development] pudgedaddy:
you have any idea how i might change that screen then?
[Windows Mobile Software Development] pof:
Look in \windows\ for a Hidden file named "welcomehead.96.png". To change it on a running ROM you need a decent file browser like total commander, won't work with the default windows file explorer. Format is PNG and size cant exceed about 100Kb.
[Windows Mobile Software Development] mbarvian:
what do we put in for device_id for kaiser?
[Windows Mobile Software Development] mbarvian:
after doing this:

nbimg.exe -F splash.bmp

nbimg.exe stops responding

what now?
[Windows Mobile Software Development] natong:
how to calculate padding size ?
[Windows Mobile Software Development] mccune:
I had the same problem when I wanted to convert a BMP other then 24 bits. Might be your problem as well :)

----

I'm having a problem with my splash screen. It's completly white.

Used the tool from the first post to convert from BMP to NB.

After this I've used NBHUTIL to convert from NB to NBH.

One thing that happend was when I wanted to cook the NB file into my persnal ROM I got the message "File is larger than default, do you want to continue?". I chose "Yes". Thought it might be bigger because I used a different BMP.

Of course I flashed my device and now I can't get rid of the white screen.

This is what I've tried to fix it:

- hard reset

- flashed with users boot splash from this topic.

- flashed completly different ROM

- HardSPL again

- flashed with new ROM again.

Hope somebody can help me out here...

Small update:

My device: Touch Diamond (MDA Compact IV)

In another thread somebody told me to use the SplashTool. This seems to be for qVGA devices but I tried it anyway.

No positive result so far.
[Windows Mobile Software Development] mccune:
Update after one day.

I did discover what I must have done wrong.

For the splash screen I used a BMP file with dimensions 640x640 instead of 480x640.

The HTC ROM Tool gave the following message when I selected the NB file:

"Size of this file is greater than default. Do you want to assign this file?".

Since I thougt it was Ok I selected Yes.

I've tried multiple solutions but I just can't seem to get rid of this white splash screen :(

Also tried extracting an original splash screen and rebuild it to flash my device. No changes so far.

There are multiple topics about splash screens, so I was wondering where this problem should be placed?

So far I found the following topics:

Change Splash Screen (Diamond section)

htc rom tool: new software to deal with ROMs (NEW RELEASE 1.1.0)

I guess I will continue in the HTC Rom Tool thread since this is probably where I screwed up big time.

Moved this problem to THIS thread.

UPDATE: Problem solved!! Downloaded the latest HTC ROM Tool and rebuild my ROM using the original Splash screen. I'm one happy camper now :D
[Windows Mobile Software Development] ilkhan:
will this work for the CDMA diamonds?

What would the -D -S and -T arguments if so to go direct to .nbh?
[Windows Mobile Software Development] bennec83:
When i run the exe nothing happens, a small windows flashes up and disappears instantly.

I have my bmp created but this doesnt seem to work for me

please can someone tell me how to use this?
[Windows Mobile Software Development] freddy_krueger:
For me , same problem , i'm under vista 64sp1 and when i launch your program, it open window and close it immediately :o

I'm so sick , this app appeared too great
[Windows Mobile Software Development] tussi4711:
hi all,

interesting thread. As interesting, that I had to play a bit, because the magenta splash screen makes me sick. Oh, got my raphael today, flashed it with German HTC rom and still kept the t-mobile splash.

I took the org HTC logo found in the HTC rom, made a 480x640 image, converted it and let it run onto my new toy. Nothing went wrong and magenta is history. ;-)

might be someone of you will check the file, just to be sure, that there is nothing wrong.

many thanks to all.

cheers

tussi4711
[Windows Mobile Software Development] jlito:
First of all, thanks pof for this great tool, it really makes things easier...

Unfortunatelly I'm having some difficulties in getting this done. When I create the nbh file it keeps prompting that the file is too big and it turns out to be useless when I try to flash it.

Please, can you help me get this done with the right parameters ?

by the way, my phone is an elfin.

thank you.

-----------------------

nevermind, I ended up figuring out how to make it work....
[Windows Mobile Software Development] the_maker:
Hi Pof, i have a tiny question, i hope u can help. First i don't remember if on the first boot screen where it shows the R; G & D numbers, there is also an red H (just H). i had a problem of some sort, and now i have very low speaker quality, i don't know why :( and since then, i noticed the red H..

Can u help me? Thanks..
[Windows Mobile Software Development] Thimo83:
Im trying to maken my own splashscreen for my Elfin.

I used nbimg to convert a .bmp to .nbh

I tried the following command:

nbimg -F EARTH2.bmp -D T-MOB003

But when i try to flash the .nbh file with RUU, it is giving ERROR 228 (Invalid File Size).

The original splashscreen filesize is 192kb and the nbimg output .nbh file is 256kb.

My question is, how to change the filesize to 192kb?

Thanks in advance.
[Windows Mobile Software Development] el_gery:
Pof is a genius !

thanks for your work and patience, Pof.

your next beer is on me. ;)
[Windows Mobile Software Development] paolonio:
Thank you POF for this incredible tool!!!
[Windows Mobile Software Development] SomethingWicked:
you have to run it from within an already open dos command box! to get one on xp (i dont use vista - sorry) click [start] then [run] and type 'cmd' (without the quotes of course) into the run box. that will open a dos command line box with the 'c:\' prompt. thats where you use prof's tool.

hope this helps... --jesse
[Windows Mobile Software Development] Wolfpaxx:
First of all, thanks to POF! It's really a great, simple tool!

But I have one question: I tried to flash my HTC Touch HD with a bmp-to-nbh, but now I got a black bar at the bottom. The pixels in the last line are cut in the middle, it looks like it reached the end-of-file.

The BMP is not corrupted, I tried it with different images and the arguments:

nbimg -F test.bmp -D BLAC100 -S 64 -T 0x600

I think I missed out one or more arguments. Can anybody help me?

Thanks in advance!
[Windows Mobile Software Development] paolonio:
Please take a look here:

http://xdaforums.com/showthread.php?t=468444

and also in the wiki pages:

http://wiki.xda-developers.com/index.php?pagename=HTC_Blackstone

I made a quick guide for the HD splash screen, using this marvelous sw called nbimg :D

Cheers
[Windows Mobile Software Development] Wolfpaxx:
Thanks for your answer!

I already read your posts and all the others and I would love to follow your quick guide!

But besides my distaste of registering in all forums on the world, I couldn't register on htcforum.com because I simply don't speak Italian.

And if I'm guessing right, the guide is also in Italian?!?

And all other guides and the wiki are pointing back on this thread, your guide or non-nbimg-solutions.

So... I'm screwed! :eek:

...unless you would help me out by posting your guide here or sending it to me via PM. :rolleyes:

Thank you in advance!
[Windows Mobile Software Development] ramakrishna:
Same problem

tried several times with no sucess......pls helppppppp...........
[Windows Mobile Software Development] Celso Marques:
For all those are having troubles (like file size and/or ugly green splash instead your art) with this tool, I can reach the goal only after a big help of the chef !Aman!, thanks guy! :D

So, try this command (change the Splash.bmp with your .bmp file, of course):

nbimg.exe -p 0 [B]-s[/B] -F Splash.bmp

pay attention to the -s parameter, it did all difference for me. And forget the file size problems using the htcrt tool, the application will do the job for you!

I got it for an Elfin device, but I think it work for others devices, since you use the htcrt tool to create the .nbh image file.
[Windows Mobile Software Development] ramakrishna:
:)hey hai Celso Marques thankyou very much.I was looking for this for quite some time. yes -s has really made the difference and chnaging the splash screen became very easy and also i have seen ur gifts on onyx forum which were really cool

thnx again

)
[Windows Mobile Software Development] Celso Marques:
Yeah! Great news!

But please tell us which device it's yours.

And don't forget to thank to the chef !Aman!, he is the man behind our goal:D I only share the expience here.
[Windows Mobile Software Development] Lokosis:
I'm not exactly sure what my problem is as I've tried many command line options, but I always get "No padding added. Check file size." error and a .nb file size of 0kb. How do I 'add' padding or fix file size of .bmp?

EDIT: Fixed the problem with padding, had to help Photoshop save the bmp as 24 bit instead of the forced 8 bit it wanted.

BUT, after compiling and flashing, the splash screen does not change on the device.
[Windows Mobile Software Development] paolonio:
For those who are still facing the problem with the splash screen...

Here you can download the quick guide ITA + WWE and tools, I made it for the HD, but the basic concept should be applicable also for other devices

http://rapidshare.com/files/179849983/Splash_HD.rar
[Windows Mobile Software Development] 6Fg8:
awesome guide paolonio, gave it a try and worked out really nice!

Thanks!
[Windows Mobile Software Development] dundeal67:
I've been trying for hours and this still isn't working for me.

This is what I typed in cmd in vista:

c:\users\administrator\desktop\nbimg.exe nbimg -p 108512 -t 255 -w 320 -h 240 -F splash.bmp -T 0x600 –S 64 -D MAPL100

It would always return with

=== nbimg v1.1
=== Convert NB <--> BMP splash screens
=== (c)2008 Pau Oliva - pof @ xda-developers

[] File: splash.bmp
[!!] Could not open 'splash.bmp'

Can anyone tell me what I'm doing wrong here?

EDIT: I figured it out...the picture file wasn't in the same directory lol.....everyone make sure its in the same directory! cmd is very specific, and therefore tricky for a cmd virgin like me.
[Windows Mobile Software Development] alvin8088:
thanks a lot!!!!!

thanks a lot
[Windows Mobile Software Development] guanodude:
Thanks, this can help me make my own splashscreen!
[Windows Mobile Software Development] Badwolve1:
can't get it to work on win 7 Pro, build 7600 32bit

Error, Appcrash 01
[Windows Mobile Software Development] hobot39:
padding

how calculate padding? What size padding in my htc shift. Thanks:confused:
[Windows Mobile Software Development] 4D3:
Hi,

Is there a tool like this for WVGA screens like the HD2?

I used this for the diamond and it was great!

Thanks in advance

MG
[Windows Mobile Software Development] [★]:
Check out this thread, he has just released a splash screen for our HD2's (an actualy splash screen this evening) and he recomended this program, so I assume it works.

And btw this isnt opening, everytime I try to open it, it closes instantly (dos box appears and re appears in a flash) Im running win7 32bit which is probably the cause of my problems, but it didnt work when running it in compaibility mode for xp/vista
[Windows Mobile Software Development] 4D3:
you dont open it, you use it through the command line!! lol:D:D

MG
[Windows Mobile Software Development] [★]:
stfu T_T

Pfft... I knew that ¬_¬
[Windows Mobile Software Development] pathologo:
What would be the command line to create a NBH for HD2?

I guess we need the exact NBH arguments, because we cannot flash a NB.
[Windows Mobile Software Development] michyprima:
for hd2 you need to use:

-p 18400 -w 480 -h 800 -F file.bmp

then use a nbh generator.

Cheers
[Windows Mobile Software Development] Vosberg1:
Quick Question

OK, this is what i have done, i have just got the Leo (have not updated the specs in sig, so that is incorrect) but i am using the nbimg tool. As of yet, it is working, but one thing. I created the image threw Photoshop, saved it as a 480x800, and when i flash the .nbh, there is part of the image missing. I have tryed using differnt resolutions, and tryd to use the -w and -h commands, but when i use that, the tool does not create any .nb file. What am i doing wrong? Attached is the file that i am trying to use as the Splash Screen.

Update - I just tryed again after work, and now when i try to create the .nb file, Comand Prompt says that it cannot find the file. I have the .bmp in the same folder as nbimg, and file size is 1,126. I have tryed to resave the file, but to no avail, and i have tried moviung the file (but i dunno where to move it so that it can find it) Any ideas / help will be much appricated.

Update 2 - I have tryed yet again, successful to get the .nbh, now the splash screen is white, and i found an instruction,

Make sure you have HSPL instaled in your HD2 !!!

How to make the first Splash Screen:

1) First make a 480x800 pixel *.bmp picture for your Splash Screen.

2) In PC Windows Go to Start, Run and type cmd.

3) In cmd, go to where you extracted the tools directory and type nbimg -F *.bmp

4) Check the size of *bmp.nb . It must be 786.432 byte. If it's not, calculate by hand: 786432- *bmp.nb size and type again in cmd nbimg -F *bmp -w 480 -h 800 -p "hand calculation result"

5) Check again file size of *bmp.nb. It should be 786.432 byte.

6) Close cmd.

7) Open Htcrt.exe from Tools folder and go to ROM builder tab.

8) Go to Device and select LEO.

9) Go to Splash (... right side of window) and select your *bmp.nb

10)Click Build.

Tryd that, the pading size is above 18400 - but when i run the tool, it says unknown command. I am at wits end, what am i doing wrong? I attached a screen shot.

Here is the link to the image that i am trying to make as the splash screen -

http://yfrog.com/0zsplashrp

Thanks much.
[Windows Mobile Software Development] Vosberg1:
Upload

All is consalidated above
[Windows Mobile Software Development] Sookels:
I am also trying to get something simular done, but I am looking for the application to make the .nbh file. I did get a copy of htcrt.exe but it doesnt have the LEO inside, when I try to update it says I have an internet connection issue (I dont, I am posting now then ;)

I only got my HD2 2 days ago and this is all new to me. I have managed to flash custom radio's and ROMS's but now I want to make my own boot screen and flash that.

Please help.