Hi everybody,
I just bought me a TyTN and did the Rom reconstruction procedure, this all worked very well (thx for the great guides), but with this procedure only the Part02 file is transformed into a .nbh file.
Is it possible to fully reconstruct the rom including, splash screen and most import the extrom. I still have all the four Part00 - Part03.raw files but don't know how to convert them to usable .nbh files, I also don't know what the other three PartXX.raw files are.
Cause at the moment when I load the reconstructed rom, I have the extrom from the last rom I had installed which of course is not the extrom of the reconstructed rom.
Any help on this would be great. Thanks.
wwwwwwiiiiiiikkkkkkkkiiiiiiii
Please read exactly what I'm asking for
@peezy: before shouting wiki, you should read my post exactly. I already succeeded in building an OS.nbh from my dumped ROM.
What I'm asking for is a FULL rom reconstruction, especially the extended rom is a problem if missing and I'm quite sure the extended rom and maybe also the boot images are in the other PartXX.raw files but I don't know how to create the missing .nbh files for flash and extended rom. What's not such a big problem is the radio rom. But in case I have to repair the phone I'd like to go back to the OS I had before flashing the WM6 LVSW including boot images and extended rom.
I already found a thread on how to create the boot images, but the problem is I have to pull out the boot images from the dumped ROM and the even bigger problem is the extended rom which I also have to reconstruct from the dump files.
unhide extrom, copy the files and use AnDim ExtROM editor to create your new extrom.nb. See stickies in this forum for more info.
For splash screens see here:
http://forum.xda-developers.com/showthread.php?t=306896
http://forum.xda-developers.com/showthread.php?t=299049
stuck with splash dumps
@pof: Thanks for your help, I was able to create the ExtRom with AnDim ExtRom editor and I tried to extract to splash screens with mtty and usbmonitor.
But I got stuck there because USB Monitor is kind of strange to handle if you don't know what you're doing, so I tried to extract the dumps on my gentoo box. At first with your supplied 'cu' command but that fails for what reason exactly I don't know. So I used ser2net to made my ttyUSB1 accessible with telnet. And then I did a dump of my telnet session with the rbmc command one for each splash screen.
Can you please explain what I have to do in order to get the .bmp's out of the dump files? I assume at first I have to clear out the telnet command lines at top and bottom, but I don't know exactly up to where I have to cut the files and how to convert the resulting file into bmp. Cause I'd like to dump the images from a colleagues phone (which has special boot images and no downloadable rom upgrade).
or maybe you can give me a correct 'cu' command for dumping the stuff directly without having to capture the telnet session.
Thanks for you help
@marcelser: just remove everything before HTCS, and everything after HTCE. Then you have HTCS +262144 byte splash screen + 4byte checksum + HTCE.
So remove HTCS, 4byte checksum and HTCE and you have your splash screen in NB format
It worked
@pof: Thanks for you help. Made a little perl app which grabs only the portion between HTCS and HTCE minus 4 bytes at the end with a little regex and writes that to a new file.
Then used rombaker to make a new splash.nbh file and re-extracted the files in the new RUU_signed.nbh with nbhextract which also converts the extracted .nb splash images to .bmp and the .bmp's looked just fine.
Then I loaded a different wm6 rom which has other splash screens and flashed the RUU_signed.nbh with the created splash screens to the device and had the extracted splash screens back on the device.
I attached the perl file which converts any dump which has the HTCS and HTCE strings in it to splash .nb it should run on any perl version (win32 + linux) although its only tested on linux.
Related
...Third day I spend to find how to persuade mine i-mate to use it's extended ROM as backup image source ... Have some troubles, maybe someone will be interested:
1. I've started from filling extended ROM with .CABs needed by me. Great. It works but I want to have more. So for now I am "on research":
2. I have installed all needed software and configured mine device to consist of all needed soft and settings for me.
Than I made self extracted image of my device (registry, \Storage, \Windows, etc.) except of Storage Card, of course, by SPRITE SOFTWARE BACKUP.
I get about 10 megabytes self-extracting .exe, named (for example)
_install.exe and I have wrote it in ROM file and include in config.txt string like this:
EXEC:\Extended_ROM\_install.exe
but I meet some troubles, and stuck...
1. that self-extractor looking to place one runtime dll from itself in current directory where it is. Of course it can't (rom is readonly for it).
And it fails with the 'cant extract DLL...' error, and... That's it!
After that I need to install any RegEdit manually from SD card, change registry for Exteneded_ROM to be visible, manually copying file _install.exe from that ROM to \temp\, than run - and only after that I bring my backup image to life...
Does config.txt supports some kind of commands like COPY for me to copy that .exe from Extended_ROM to \temp\ and then run?
Or config.txt have no ability to make copies of files?
Than, hypothethically, I need another simple programm like copy.exe to do this manually from command line?
After all this I just expect to get restored image of mine Himalaya already packed with soft and configured for me...
Fellows, what you think about it?
One more: how to exclude config.txt from being visible in PocketWord if I want to left extended_ROM to be open? (for ex. I put there .exe's that don't require installation)?
Sorry for mine English
-------
BTW: GREAT LITTLE DEVICE, after first XDA it's like more oxygenic ... O3 (ozoned .
Yes, config.txt supports COPY commands, check this thread
http://forum.xda-developers.com/viewtopic.php?t=6648
To make the ext-rom visible you can also edit one of the cab-files which only updates registy settings with WinCE Cab - Manger and add the registry setting to make ext-rom visible ( I think it is :
HKLM\System\StorageManger\Profiles\TRUEFFS_DOC
MountFlag 0 : but check this... )
Alex
WOW! THANKS! I supposed about CPY1: CPY2: cause I saw them in autorun.exe with hex editor... So It is! great... Let's try...
I'll write results here.
Only weary thing that I neen every time to rewrite all ROMs (somewhy when I delete Nk.nbf & radio rom and left only extended rom - upgrade will not end normally and device after hardreset enters into bootloader...
IT WORKS!!!!!!!!!!!!!!!!
YES! From empty Himalaya after hardreset I now recieve FULLY LOADED MINE device! even with setted up today and all else !
Wow!. .
Here is attached make_visible_Extened_RAM.CAB sized in 400 bytes - it will just only modificate registry to make Exteneded_ROM subdir visible.
Maybe someone will need it.
I have begged my friend to dump the HK local ROM (from 838pro) for me. I have a Taiwanese CHT9000. After reading the previous articles, it seems that the files in my hand (3 raw files) cannot flash the ROM into my CHT9000. Is that correct? So, what's the purpose of dumping the ROM?
Sorry...I am the beginner here.
http://wiki.xda-developers.com/index.php?pagename=Hermes_UpgradeFAQ
Is it possible extract a ROM from a device and convert it to a flashable ROM? (to have a Backup or to flash it on another device)
Short answer: No, it is not possible.
Long answer: A ROM consists of 7 parts:
1. Extended ROM
2. OS Image
3. IPL (part of bootloader)
4. SPL (part of bootloader)
5. Splash screen
6. HTC Logo (normally uses the same image as the splash screen)
7. GSM radio code
You can dump the original rom, but only the things contained in the FLASH will be dumped, this does not include the IPL, SPL, splash and radio parts, so its unuseful for flashing it back.
Theoretically: if you would have the private keys for one of the 3 certificates stored in the bootloader, used to verify .nbh files, you would be able to create your own .nbh file, and flash it.
Click to expand...
Click to collapse
Hi pof,
Yes. I have read that. So, what's the answer? What does those raw files do? What's the purpose of getting the FLASH dumped? For development?
I used them mainly to see diffs betwen roms / vendors OS bundle and extract files from ROM. You can make a modified OS image out of a dumped OS rom, so when we will be able to flash our own code (see SD-image flashing on the wiki) you can delete unuseful files (help, images...) and add programs directly to the rom... but there's a lot of work to do until we reach that, and very few people can help in the research
Hi
I have another problem. I have dumped my MDA Vario II German ROM and extracted the Part02.raw.
If I try to use the extracted .cab files, the installation fails. Even I can't open the .cabs with Winrar.The files are damaged.
I've tested it with an other Part02.raw from the Developers FTP with the same result.
What's wrong ?
It semms, that the ROM dump ist useless.
Even, you can't use the midi and wave files.Also bmp and jpg files have the same problem.
Couriosity is, that some files work and most not.
I think it's the same problem with other parts of the romdump.
Hey guys
I dumped the black2.5 rom, hoping to make some modifications to the unlock app. Now I have a .raw image, but I am a little unsure as to reading it. I downloaded duttys koch, but I dont think that was the right approach. Im not seeing anything on the wiki, and my searching has brought me here. Can anyone point me in the right direction? Thanks.
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
pof said:
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
Click to expand...
Click to collapse
Hopefully a little humor won't get me in trouble, but with dutty's koch, tadzio's tool and bepe's package - you should have everything you need
@pof thanks a bunch!
@todd ahhhh yeeaaahh... <70's pr0n music.wav>
The primary purpose of this thread is so that you can post your WM06 (and WM05) themes and splash screens; we will link this in the wiki. Over the next several days, I will be posting some simple instructions on replacing your splash screen and boot graphics, however that information can already be found in the wiki. Feel free to attach any today themes, splash screens, instructions etc.
When you post, please attach a picture so we know what we are downloading and zip file of the graphics so they are not resized by the server.
To get started I have attached a template for making a windows splash, as well as my template I personally use on my device. The "silence of the lambs" style picture hopefully scares the person into returning my device if lost or stolen. I included the templates in the zip file; you can edit your name and contact info; portrait version only. More to follow.
-mix
How do I change my windows splash screen?
Create or download the splash screen of your choice, it can be up to 320x320 and 96 dpi. Save the file as welcomehead.96.png and save it to the /windows directory of your device. You may need Resco Explorer or a similar tool to overwrite the current file.
The image should appear when you reboot.
I will attach some splash images below over the next several days.
How do I change the boot splash? From this post: http://forum.xda-developers.com/showpost.php?p=1140696&postcount=6
A method for 1.01 MFG can be found on the wiki; if you do not want to SuperCID your device permanently though, you need to use SSPL-HERM.exe.
Requirements
nb_image_converter.exe, e.g. from Hermes SplashScreen_Pack.zip
nbhgen.exe, e.g. from this forum topic
any official ROM image
Full steps
Create a BMP file in paint, size must be 240x320.
Save it as BMP 24bit.
Load it on nb_image_converter.exe and save it as splash.nb
open a cmd.exe command prompt on the folder where you saved your splash
run this command
copy /b splash.nb+padding.nb finalsplash.nb
Check that filesize of "finalsplash.nb" is exactly 262144 bytes.
create a samples.txt with the following contents
HERM200
HTC__001
1.23.707.6
USA
600,finalsplash.nb
601,finalsplash.nb
You may need to adjust HERM200 to HERM100 or HERM300 based on your model).
And you can have a different subsplash if you repeat steps 1 to 5 with a different file.
run the following command on a shell in the same folder:
nbhgen.exe sample.txt
extract the ROM image, e.g. with WinRAR
rename the .nbh file inside that folder to .bak
move your newly generated RUU_signed.nbh into the same folder
put SSPL-HERM.exe onto your device
run SSPL-HERM.exe on the device
check that the Tricolor screen will appear and show SPL-1.09.ds
run ROMUpgradeUt.exe
List compiled from three different existing tutorials - credits go to those! - and tested successful yesterday From CCRDude
I have only included files that I have created in this first post. If you would like your files added, please let me know. Both the PNG and JPG are included in the zip.
-mix
How do I add today themes to my device?
You can simply drag and drop the .tsk files into the my documents folder on your device using activesync.
kyphur has a page loaded with great themes
Feel free to post your favorite today theme's.
-mix
This post left open for uploads.
Something from me
Hope some one likes it
Radical_MT said:
Hope some one likes it
Click to expand...
Click to collapse
The skull picture is exactly the same as one made by a moderator on a well known pocket pc warez site for use as a theme!
I wonder why some people are so obsessed with skulls.
Here is a welcomehead.96.png file (to replace the windows 96 startup screen) for all you Mac users who have to use windows for your mobile environment, (for now, at least).
backfindpost
sorry, just an ordinary bvp
m-unit said:
sorry, just an ordinary bvp
Click to expand...
Click to collapse
To quote Chris Farley: I'm sorry, I don't speak Japanese.
boz said:
The skull picture is exactly the same as one made by a moderator on a well known pocket pc warez site for use as a theme!
Click to expand...
Click to collapse
I took this skull pic from somewhere msn themes. Sorry if i'm stealing someone else pics. Lol. What about this one?
Hi there!
Liked a lot this Skull!
Can you provide in a CAB format?
thanks
Radical_MT said:
Hope some one likes it
Click to expand...
Click to collapse
Doubt...
Could someone help me?
I dind't understand what I have do to in this part:
(...)
run the following command on a shell in the same folder:
nbhgen.exe sample.txt
extract the ROM image, e.g. with WinRAR
rename the .nbh file inside that folder to .bak
move your newly generated RUU_signed.nbh into the same folder
put SSPL-HERM.exe onto your device
run SSPL-HERM.exe on the device
check that the Tricolor screen will appear and show SPL-1.09.ds
run ROMUpgradeUt.exe9
Click to expand...
Click to collapse
I'd like to create a new splash screen with HTC official logo:
I created a finalsplash.nb and the .txt, but now I don't know what I have to do... :\
Hi,
Look here http://www.molski.biz
Click on How to and search for the Molski development Kitchen ROM. You find answers to this and more doubts you may have!
Good luck!
hiroshi.rio said:
Could someone help me?
I dind't understand what I have do to in this part:
I'd like to create a new splash screen with HTC official logo:
I created a finalsplash.nb and the .txt, but now I don't know what I have to do... :\
Click to expand...
Click to collapse
Thanx a lot, but...
epimazzo,
Thanx a lot, but it didn't work...
I already read this tutorial here on forum, but the problem is: I wanna change only the first splash screen, not the 1st n 2nd.
Can I use this program to create only the first splash screen with HTC's logo? Cos the 2nd splash screen I'm using this:
I just made this for my 8525 startup animation.
Now all I need is a scary laugh to replace the standard wav..
hiroshi.rio said:
Could someone help me?
I dind't understand what I have do to in this part:
I'd like to create a new splash screen with HTC official logo:
I created a finalsplash.nb and the .txt, but now I don't know what I have to do... :\
Click to expand...
Click to collapse
This is what you have to do...
* YOU NEED BOOTLOADER 1.01MFG ON YOUR DEVICE FOR THIS TO WORK *
For full instructions see:
http://wiki.xda-developers.com/index.php?pagename=Hermes_BootloaderMFG
Hermes Splash Screen Howto
---------------------------
Create a BMP file in paint, size must be 240x320.
Save it as BMP 24bit.
Load it on nb_image_converter.exe and save it as splash.nb
open a cmd.exe command prompt, go to folder where you saved your splash
run this command:
copy /b splash.nb+padding.nb finalsplash.nb
Filesize of "finalsplash.nb" should be exactly 262144 bytes.
Now put your phone in bootloader mode (side ok + power button + softreset)
Connect to bootloader using mtty.exe and load splash screen using these commands:
For first splash screen (MainSplash):
USB> task 32
USB> lnb finalsplash.nb 500e0000
USB> task 8
For Second splash screen (SubSplash):
USB> task 32
USB> lnb finalsplash.nb 50140000
USB> task 8
You dont need BOOTLOADER 1.01MFG,
Read MrVanx's guide http://www.mrvanx.org/cms/index.php?option=com_content&task=view&id=20&Itemid=27
and follow it word for word.
If you dont want to replace the second splash then either dont include the SubSplash or use the existing one you have.
I followed his guide yesterday and it worked perfectly for me and ive got SPL:2.10.oli
I downloaded a screen splash on this thread:
http://forum.xda-developers.com/showthread.php?t=292014
I changed the second splash screen to WM crossbow only with a simple .cab. Can I create a .cab to install on device? It seems more easy... :?
was wondering if someone could tell me where to find the nk.nbf from dcd's 2.2.x roms...want to cook up some custom boot screens, but have NO idea where to find it (or get it from). thanks
You need to extract the nbh from the installer (you can use procmon from sysinternals.exe to find out where the installer extracts it).
After that you need to decompile the NBH using various tools, in which will present you with a 00_OS.nb.
After doing that, you need to extract the splash images from other roms, or create your own, then recompile the NBH.
EDIT: wow first post since 2006, you can tell ive been a leech, glad to give back to the community lol...
I was going to post the contents of the readme file that i'm trying to understand...in order for you to see what i'm being told to do, but I really can't decipher it all that well, so i'm going to attach it. This is what I'm being told to do...
Have you looked in to this: http://forum.ppcgeeks.com/showthread.php?t=16939
Yeah I read through that...
Thing is...with dcd's latest roms, the only file you get when you extract his nbh is 00_OS.nb
I have my splash.nb already made from the image i chose, but I'm not sure what to do with 00_OS.nb and splash.nb
Make an NBH from them.
You can use Dutty's NBH Tool patched for the Titan.
Since I can't find the original thread where I got it (took me forever to find in the first place) I uploaded it to fileshex.
Download here
I don't have to name my splash.nb something specific when creating the new nbh? It will just know that it's the splash?
Edit: nevermind, after opening duttys tool it's clear on how it works...thanks
Ahhh..one more question...
Is it possible to just take my splash.nb and make an nbh out of that. Then put it into the RUU and flash just the splash? Or must it be merged with the entire rom and flashed?
I have no idea.. I never did it. I want the original Verizon splash screen back instead of the static Verizon logo.
Try it and let us know if it works.
Can someone upload VZW_Startup.gif from \Windows somewhere I can download it?
I'd appreciate it very much
Confirmed.
Just took splash.nb and created an nbh just including the splash fields. I then inserted it into the RUU, flashed, and worked like a charm, no need to include any other part of the OS or anything.
Looks badass...for any help let me know...now that I know what I'm doing
P.S. It WILL hard reset the phone though upon flashing...
I put all the necessary files in a zip and I'm working on an easy step by step readme...so if anyone wants to change their bootscreen send me a pm.
http://code.google.com/p/htc-flasher/
HTCFlasher -formerly known as HERMflasher- is an open source tool which allows you to flash ROMs on most current HTC devices. It has some extra features that the original HTC RUU doesn't have, like for example it can present a serial prompt to the bootloader (replacing mtty).
YANG is Yet Another NBH Generator. A tool that allows you to generate custom NBH files out of ROM parts (.nb) files. You can choose the CID, ModelID, Language, etc. and also adjust the NBH signature size, thus making valid NBHs for all HTC devices. You need a way to flash custom/cooked ROMs (ie: HardSPL, USPL, SSPL, JumpSPL, etc...) to flash NBH files generated with YANG. YANG can also dump NBH file contents (.nb ROM parts), this is a command line replacement for windows tools like nbhextract or htcrt.
nbimg is a tool to convert NB splash screens to BMP images, it can also do the reverse, convert BMP images to NB splash screens. It can work with any resolution, and supports HTC PocketPC and Smartphone splash screen formats. This tool is command line only, I have not written a GUI for it yet.
Linux ROM Kitchen is a tool that allows you to cook your own Windows Mobile ROMs for HTC Windows Mobile devices. This means you can extract the contents of a Shipped or Dumped ROM, and add/remove files or Packages into the ROM.
See the Wiki for more information: http://code.google.com/p/htc-flasher/wiki/HomePage
So, no need for Windows anymore, some good news
Rottis said:
YANG is Yet Another NBH Generator. A tool that allows you to generate custom NBH files out of ROM parts (.nb) files. You can choose the CID, ModelID, Language, etc. and also adjust the NBH signature size, thus making valid NBHs for all HTC devices. You need a way to flash custom/cooked ROMs (ie: HardSPL, USPL, SSPL, JumpSPL, etc...) to flash NBH files generated with YANG.
Click to expand...
Click to collapse
Is it possible to pack a Linux zImage as .NBH, so it will be loaded into RAM and executed ? Something like that was possible to do before with the
SDcard update images on hima+.
Can someone please tell me how to use this to flash something more complex (specifically an HTC charmer) in BOOTLOADER mode using this tool?
People this info is already in a thread by the author of the software (pof). Please carry on the discussion HERE.