Max size of OS.NB? - 8125, K-JAM, P4300, MDA Vario Software Upgrading

What is the maximum size (in Bytes) of OS.NB for the Wizard? What happens, if the file is to big? Will I get an error in NB2NBF-Programm or in RUU or will it just convert and flash and overwrite stuff on my phone?
Thank you for your help!

So many cooks but noone knows how big the os.nb may be?

The maximum size of the os.nb is “59,768,832” bytes

Related

.bin and files created on SD by d2s

If I am in the wrong section or web site please let me know.
I used the boot loader command d2s to dump the boot loader and OS:
d2s 80000000 02000000
I am not sure if the addresses are only valid for the Himalaya and/or BA. This device is a BA.
I have a bin file image that I am wanting to apply to the device.
In looking at the bin file it begins with the B000FF header. The image created by the bootloader command d2s has B000FF at address 00004a50.
Are the bytes that follow B000FF the same for both files? Since the images are different what I see is not the same.
In short can I merge the files are this point to replace the OS and reapply using one of the itsutil tools like psdwrite.exe.
Am I on the write path? Or am I way off base?
BCB said:
Are the bytes that follow B000FF the same for both files?
Click to expand...
Click to collapse
No
B000FF - is one of the formats MS uses to distribute ROMs. It should be converted by splitrom.pl to a raw binary format and then manually to normal NBA/NBF format and then flashed with himaupgradeut. This is the easiest method.
By the way, where have you got such ROM?
Thanks for the reply. I will look for the script. Where can I learn about the rest of the manual conversion?
This is an image created with MS PB. It is nothing fancy.
The splitrom.pl script is in mkrom_136.zip by itsme. You can convert B000F to normal BIN, then paste it into NBA file just after the header, update checksum with xda3nbftool and reencrypt to NBF. Read wiki for info on xda3nbftool.
If you are using demo version of MS PB to create ROMs - you'll definitely kill your device. Unless you have obtained somewhere magneto BSP for BA.

Modifying Splash.nb

I extracted 92000000-Splash.nb from my nk.nbf using Typhoon tools, but can't find how to edit it.
24-bit BMP is 225 kb size but splash is 192 Kb :S
How can I edit this splash?
If I must use WinHex, what BMP format should I use?
Hi,
Search for logoconvert.exe...
I believe is 'part of the' aWizard tools.
Cheers,
Cacti
Ok, I converted it using logoconvert.exe and got a .nb file with 154 654 bytes size. Original was 196 608 bytes :S
NBF File is 154 654 bytes. (orig. was 197 632 bytes).
I'm afraid to flash it :shock:
Is it ok?..
Search for custom splash screen. I wrote tutorial, it is in here somewhere.
Later; Lew
Thanks!
EDIT
It works
Here's the link:
http://forum.xda-developers.com/viewtopic.php?p=303097#303097

Change all 3 splash screens (new tut and scripts included)

This is a howto for editing all the splashscreens of your Wizard.
There are several tutorials however none of them deal with all 3 of them.
I myself had a lot of searching before I found the way to change HTC Logo.
All info is already on this forum, I only wrote this little tutorial, changed a tool and created some scripts to ease your work..
I have changed a few steps (just to make it easier)
I have included every program and file used.
WARNING:
DO NOT PROCEED IF YOU DON'T UNDERSTAND THE STEPS.
Do not blame me if you brick your phone, your house burns down, your girlfriend gets pregnant and all other catastrophies..
1st step: Splashscreen1 the HTC Logo
The HTC logo is the first splash screen you see (its the screen without the IPL/SPL ETC data).
It is a 240 W x 320 H 24 bits bitmap, but it is compressed..
In order to make a HTC_Logo Splash screen do the following:
1a) Create a 240x320 (Portrait!!) bitmap save it as 24 bits bitmap.
1b) Call this file htc.bmp and copy it to the folder with my files.
1c) Doubleclick htc-compres.bat -> Now a file called "HTC_Logo.nb" is created. The size of this file should be exactly 65536 bytes *
2nd Step: Splashscreen2 the Splash Screen
The Splash Screen is the second splash screen you will see when booting the phone
It is again a 240 W x 320 H 24 bits bitmap.
2a) Create a 240x320 (Portrait!!) bitmap save it as 24 bits bitmap.
2b) Call this file splash.bmp and copy it to the folder with my files.
2c) open nb_image_converter.exe; load your splash.bmp and click save .nb; call this file signed.002 ( not signed.002.nb )
2d) doubleclick splash2.bat. A file called signed-splash.nb is now created. The size of this file should be exactly 196608 bytes
3rd Step: Create the splash-installer.
3a) run nbfsplash-tool.exe (this file has been modified by me in order to simplify the process)
3b) Model ID is wizard (don't change)
- Choose the language of your rom (eg. WWE)
- leave OEM version; Operator version and CID empty ( So don't change!!!)
3c) Check File #1 and add the signed-splash.nb file; select the image name "Splash screen" and click the start address
-it should read "92000000" don't change!!
3d) Check File #2 and add the htc_logo.nb file file; select the image name "HTC Logo" and click the start address
-it should read "9D000000" don't change!!
3e) Click translate. a file called nk.nbf is created.
3f) open RUU_SPLASH.zip and drag and drop the nk.nbf.
3g) rename RUU_SPLASH.zip to RUU_SPLASH.exe
Now you are ready to flash your splash files.
doubleclick the RUU_SPLASH.exe and follow the well known actions (it will be done in less than a minute).
4rd Step: Splashscreen3 the Welcomehead.96.png
It is the third splash screen you will see when booting the phone
It is a 240 W x 320 H png file.
4a) Create a 240x320 (Portrait!!) bitmap save it as a 24 bits bitmap.
4b) Call this file welcomehead.bmp and copy it to the folder with my files.
4c) doubleclick welcomehead.bat, now a file called welcomehead.cab is created.
4d) install the cab on the phone.
Have Fun.
EqX
Attached: tools you need.
*
In order for this to work you need the MSVC 8.0 runtimes:
http://www.microsoft.com/downloads/...EE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
Note: If your own bitmap is compressed and the HTC_Logo.nb exceeds the 64K limit, the bitmap is too complex. The Lz compression can't handle it.
Save the BMP as a gif file, then open the gif and save it again as a bmp. The compression of gif is enough to simplify the bitmap.
Then try 1b-1c again.
If it still is not enough, then you'll have to convert to jpeg (try lowest compression first!) and re-convert it to BMP, after that try 1b-1c again..
created some more scripts
I have added some scripts in order to eliminate the use of a hex-editor.
Made a cab-creator to change the welcomehead.96.png.
Modified the tut (simplified).
Htc Prophet
do you know this method is compatible for G4 prophet
thanks
AbuYahya said:
do you know this method is compatible for G4 prophet
thanks
Click to expand...
Click to collapse
As far as I know it is NOT compatible with the prophet.
wow great work! This will come in useful ! Many Thanks!
the-equinoxe said:
1a) Create a 240x320 (Portrait!!) bitmap save it as 24 bits bitmap.
1b) Call this file htc.bmp and copy it to the folder with my files.
1c) Doubleclick htc-compres.bat -> Now a file called "HTC_Logo.nb" is created. The size of this file should be exactly 65536 bytes
Click to expand...
Click to collapse
Following your instructions I have created the file [htc.bmp] then clicked the file [htc-compres.bat] nothing happens.
section 2 works fine.
Sugestion for where I'm going wrong?
andy_morgan said:
Following your instructions I have created the file [htc.bmp] then clicked the file [htc-compres.bat] nothing happens.
section 2 works fine.
Sugestion for where I'm going wrong?
Click to expand...
Click to collapse
yep same here. i guess i got to use the old way.
andy_morgan said:
Following your instructions I have created the file [htc.bmp] then clicked the file [htc-compres.bat] nothing happens.
section 2 works fine.
Sugestion for where I'm going wrong?
Click to expand...
Click to collapse
It's not your fault!
I forgot to include a file.
Now it has been included in the zip file in the first post.
[edit]
removed the file because startpost had been updated some time ago..
[/edit]
the-equinoxe said:
It's not your fault!
I forgot to include a file.
It has been included in the zip file in the first post.
I also attached the file here so you dont have to download the whole zip.
unpack it and put it in the folder with my files.
Click to expand...
Click to collapse
Thanks for that, works a treat.
finally i can modify the HTC-Logo by myself! thanks a lot!!
I tried. Problems here:
I made a 240x320 24bit BMP file (htc.bmp, i double check its properties), after i run htc-compres.bat, a file named HTC_Logo.nb was created, so far so good? no, the file size WASN'T 65,535 but 119,004, any hints?
huangyz said:
I tried. Problems here:
I made a 240x320 24bit BMP file (htc.bmp, i double check its properties), after i run htc-compres.bat, a file named HTC_Logo.nb was created, so far so good? no, the file size WASN'T 65,535 but 119,004, any hints?
Click to expand...
Click to collapse
If your own bitmap is compressed and it exceeds the 64K limit, the bitmap is too complex. The Lz compression can't handle it.
I encountered it once, I saved it as a gif file, and then opened it again and saved it again as a bmp. The compression of gif was enough to simplify the bitmap.
It won't work always, in some cases you even have to convert to jpeg (try lowest compression first!) and than back again.
Superb - I love it whena plan comes together.
Great little tutorial, worked a treat.
Cheers
Matt
great work. makes my life easyer.thanks!!!!!
I'm using a wizard, i had no problems changing splash screen using other thread instructions, but theres something i can't get here; you guys talk about 2 or even 3 different splashes, i had only one;] seriously, first there goes the splash i uploaded, then after a few seconds, the same picture with rom, radio etc numbers on it... is it other than usually? enlight me;]
also... you may find it a bit funny, i havent ask anyone yet... my wiz. boots quite long... it's more then 2 minutes usually, sometimes it's longer... i seriously doubt it's normal, but haven't have time to hard reset yet... tell me please, how funny is it for you?
banannq said:
I'm using a wizard, i had no problems changing splash screen using other thread instructions, but theres something i can't get here; you guys talk about 2 or even 3 different splashes, i had only one;] seriously, first there goes the splash i uploaded, then after a few seconds, the same picture with rom, radio etc numbers on it... is it other than usually? enlight me;]
Click to expand...
Click to collapse
The 1st screen you see (without rom radio spl etc) is the HTC Logo
The 2nd screen you see (with rom radio spl etc) is the splash
The 3rd screen you see (again without rom radio spl etc) is the welcomehead of windows mobile 5.0
A lot of roms use the same picture for the first 2 screens.
Some may even use the same as welcomehead.
Excelent Work
Nice job,
Can I put this how-to on Molski.Biz?
Offcourse I will give you the credits for it
Molski
HI there,
I am a newbie and wanted just download the first file of this posting, but I am not able to download it due to access restrictions or something like that. I am able to download the BLC.EXE but I need the first file. Maybe someone can help?
molski said:
Nice job,
Can I put this how-to on Molski.Biz?
Offcourse I will give you the credits for it
Molski
Click to expand...
Click to collapse
That would be great.

How To Extracting Files From Rom Already Cooked

hi!!
i downloaded llbasha-WM5-AKU35pp16c3 rom
i want extract os.nb file from nk.nbf with typho5 utility (typhoonbftool_v5),i got this error:
unknow header format, and it abort work.
other way:
i want extract os.nb file from nk.nba with prepare_imgfs, and i got this error:
searching for IMGFS start.......Not found!!!
anybody know if it can extract some file from a rom already cooked ???
thank in advance

nbh file confusion

does anyone know how to use and splashscreen nbh file i tried using custom kaiser rru or something and it says invalid
and where do i find more splashscreen nbh
read more here
http://forum.xda-developers.com/showthread.php?t=334907
read that. ive already got nbh files ready to put on phone but customruu wont do it
and were can i get more nbh files
jayjay8585 said:
read that. ive already got nbh files ready to put on phone but customruu wont do it
and were can i get more nbh files
Click to expand...
Click to collapse
simple, find a photo, change its size to 240x320 pix save it as bmp file, load that file into nb_image_converter and convert it to a .nb file, open the splash tool and convert the .nb file that you just made into an .nbh, put that .nbh file into a folder with custom ruu. Run custom ruu and it will store the image onto your device as a splash screen.

Categories

Resources