yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] jiggs:
I'm really sorry if I missed out that part. If it isn't too much to ask, could you possibly show us how to store files on a different subfolder other than the default \windows when we add files to the WM5 ROM? IF it would be difficult and tedious for ordinary ROM cookers like us, please accept our apology for asking.
[Windows Mobile Software Development] mamaich:
This was also already answered. Use initflashfiles.dat to place files where you need.
[Windows Mobile Software Development] jiggs:
Actually, we have read about the use of initflashfiles.dat. However, initflashfiles.dat makes duplicate (copies) and not move the files from \windows to the location where its supposed to be. This wouldn't have been a problem if our himalaya were not limited with persistent storage space. We noticed that if we run the applications we added to the ROM from \windows where it is automatically placed, we save a lot of space, BUT it becomes very tedious in converting references to \windows for all applications we intend to incorporate.

Now, our question, really is, can you show us a way to cooked the files into ROM other than the default \windows OR is it too cumbersome as well that we are better off converting references of the applications to \windows. Hope you understand us and thank you for being patient with me.
[Windows Mobile Software Development] phoniex_8848:
How to edit modules?

I have got modules,such as abc.exe,abc.dll.

But they can't be Edited with Mul.:confused:

Which tool should I use to edit them??

thk u
[Windows Mobile Software Development] jiggs:
What do you want to do with abc.exe and abc.dll? When you say modules, do you only have folders named abc.exe in dump folder? If you look at the contents of these folders you will see the file itself abc.exe otherwise you need recmod.exe to convert the module to files.

i.e. recmod abc.exe abc.exe
[Windows Mobile Software Development] phoniex_8848:
thk u!

But there comes 'Error!Cannot map zlib.dll\imageinfo.bin'!~:(

WHY?

How to do?
[Windows Mobile Software Development] b_sphinx:
How do i change .nbf to .nba using xda3nbftool.exe for universal rom?

Tried,

xda3nbftool -x ms_.nba ms_.nbf 0x20040522

xda3nbftool -x nk.nba nk.nbf 0x20040521

xda3nbftool -x radio_.nba radio_.nbf 0x20040523

doesn't work, i guess something 2 do with the password??

anyone..??

thx
[Windows Mobile Software Development] jiggs:
Please read the first page of this thread. Complete instruction is stated there in extracting modules...
[Windows Mobile Software Development] b_sphinx:
Never mind...

managed to use the perl & alpinebfdecode.pl method to convert.. :)
[Windows Mobile Software Development] Lvballer06:
I get the same error and I have read the first page.....when it says path to module how should that be formatted? to the folder? the file? or what? An example would be nice :D

Thanks for any help in advanced,

Mike

Edit: I got it to not give me the error, but it didnt go anything just went to a new line in command prompt...

And how do I make a .hv file for the ROM? Anyone know?
[Windows Mobile Software Development] Johnnnnnnnnnny:
RecMod

HI,

I want to use RecMod, but It doesnt work me. I have dumped ROM and I use:

recmod.exe C:\ROM\dump and it doesnt work - It fail just on start

but the error shows:

SO, the original question: What I doing wrong?

And 2. I can change Aku version, but I dont know, how to change os value. Do you can help me?

some help to me?
[Windows Mobile Software Development] jiggs:
hex edit nk.nba to change os value...
[Windows Mobile Software Development] xplode:
Some questions

How the change the WM5 coredll.dll?

I understand that it is in XIP section of the rom, it has done before old os core was 5.1.1700 and the current one it 5.1.195, there are newer core for WM5 now, again I am talking for blueangel rom

I just need someone to point me to the right direction and i will do this
[Windows Mobile Software Development] rockmouse:
Thanks.

^^
[Windows Mobile Software Development] llbasha:
best way or tool to edit initflashfiles.dat

*********

*********

What is the best way and tools to use to edit initflashfiles.dat

This file is very important and we need step by step clear guide with example

*********

*********
[Windows Mobile Software Development] Oki:
Without any doubt, the best tool is NOTEPAD.EXE. The way you use it depends on what you want to do with that file. Be more specific with your question since it is more or less like asking for the best way of editing the registry.

Regards,

Oki
[Windows Mobile Software Development] konker:
How to unpack Dopod C720W ROM?

Hi...I'm trying to unpack the Dopod C720W ROM I downloaded from the Dopod Asia website.

However, I have not managed to get it to completely dump the contents.

Here's what I did:

1. Using NBHextract.exe, I ran the command on RUU_signed.nbh & the contents of this ROM file produced a collection of files.

2. Using prepare_imgfs.exe, I managed to extract the .bin files from the 04_OS.nb file & got two output files imgfs_raw_data.bin & imgfs_removed_data.bin.

3. I proceeded to ran viewimgfs.exe on imgfs_raw_data.bin & was hoping to see the ROM dumped into the dump folder but within a second, the process completed without any specific message nor dump folder.

So, what am I doing wrong? How come I cannot dump the .bin file as claimed to extract specific files.

Please advice me on what else I might have missed out.

Thanks!
[Windows Mobile Software Development] xplode:
try this

http://wiki.xda-developers.com/index.php?pagename=Hermes_NBH
[Windows Mobile Software Development] llbasha:
best tools to edit initflashfiles.dat

Thank you for the response. All I wanted to know is the file type. I now understand it is a unicode file. I find that the best way to edit this is by using an old program called editpad (copy attached - free version) that allows to do, among many other things, to convert unicode to ansi and back to unicode without destroying the file structure. I feel sure many will find this very useful. Also it can be used as direct replacement for notepad by just rename it notepad.exe and over write your window one (or rename it before copying).

Regards

llbasha
[Windows Mobile Software Development] shantzg001:
I've been trying to use the tools for building an HTC wizard ROM. Now, before starting out on any modifications, I simply tried to break apart and rebuild it. So, I extracted a ROM using typhoondecode_v5, then followed this:

1. prepare_imgfs.exe OS.nb -nosplit

2. viewimgfs.exe imgfs_raw_data.bin

3. BuildImgfs.exe

But then my imgfs_raw_data.bin is not rebuilt and stays at its original self. The buildimgfs tool does not give me an error, however the last 3 lines of its output reas something like :

total sectors: 0000

used: <some number>

free: <some number>

I searched the forums but couldn't find an answer. Saw a couple of posts having the same prob but no answer. Since I havent done any modifications to the ROM and have tried with both AKU2.3 and AKU 3.3 (and custom ROMs as well as official Qtek ROMs), the ROM that i am using is also not an issue.

Now, since there are so many custom wizard ROMs out there and ppl swear by mamaich's tools so there must be a solution. Please help me out.

Thanks in advance.
[Windows Mobile Software Development] pencilcase:
Hey, this is probably the most stupid question ever but I have been searching for hours on this and seem to be unable to find a hint...

how can i pre-modify the registry of my dumped rom?
[Windows Mobile Software Development] Mr. Vi:
Little (or big?) problem...

Hi guys!

I just started to cook my own roms for my wizard and added some executables and some shortcuts to the underground rom.

I made those changes like that:

## Extracting OS from nk.nbf

typho5.exe -x nk.nbf

prepare_imgfs.exe 80040000-OS.nb -nosplit

viewimgfs.exe imgfs_raw_data.bin

Now, I just put "AltTab.exe" and "AltTab.lnk" into the "dump" directory. After that, I edited the "initflashfiles.dat" (just added one line, to put the shortcut into the Start menu folder)

BuildImgfs.exe

make_imgfs.exe 80040000-OS.nb -nosplit

Using the tool "nb2nbf.exe" I created the new kn.nbf file and flashed my wizard. (is it correct, that I change the start address from "82040000" to "80040000"?)

Now, have a look at the output (woot.jpg)

Please tell me what's going wrong...

Hope you can help me! Vi

ps: when i hardreset the device, it doesn't show the align screen to me.
[Windows Mobile Software Development] nandlal_mk:
Hi ,

im using molski pack for cooking my own rom for prophet. see

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

im getting similar image n situation on 3rd splash screen.

read it

http://xdaforums.com/showpost.php?p=1168384&postcount=59

Nobody is guessing whts going wrong, even not molski--the thread starter

is the situation same like me ?

thanx

nandlal
[Windows Mobile Software Development] mun_rus:
Probably you have wrong iniflasfiles.dat

Check it once more
[Windows Mobile Software Development] d4blue:
Cooking ROM 02 atom exec

hi..does anyone coul help me cook 02 Atom Exec ROM without any software like sms plus, sprite backup, jeyo extender, etc?

best regards,

eddie
[Windows Mobile Software Development] Max.V:
I have problem with using BuildImgfs.exe.

When I execute this utility, errors hapens :(

I want to edit Tornado ROM.What do I do wrong?:confused:

P.S> I shall be grateful to any advice :)
[Windows Mobile Software Development] roozbeh:
is this normal that i dont have initflashfiles.dat?

it seems some kitchen tools require this?

is it safe that i create a null one?
[Windows Mobile Software Development] naoki66:
D:\tt2\os\TOOLS>viewimgfs.exe imgfs.bin

guidBootSignature: F8 AC 2C 9D E3 D4 2B 4D BD 30 91 6E D8 4F 31 DC

dwFSVersion: 00000001

dwSectorsPerHeaderBlock: 00000001

dwRunsPerFileHeader: 00000001

dwBytesPerHeader: 00000034

dwChunksPerSector: 00000008

dwFirstHeaderBlockOffset: 00000200

dwDataBlockSize: 00001000

szCompressionType: LZX

dwFreeSectorCount: 00002B22

dwHiddenSectorCount: 00000100

dwUpdateModeFlag: 00000000

Address: 00000200, dwBlockSignature: FFFFFEFE

dwNextHeaderBlock: 00000000 (size: FFFFFE00)

Header type: 00000270, Addr: 00000208

Unknown header type, FS_DATA_TABLE??

Header type: 00760070, Addr: 0000023C

Unknown header type, FS_DATA_TABLE??

Header type: 000002A4, Addr: 00000270

Unknown header type, FS_DATA_TABLE??

Header type: 000002D8, Addr: 000002A4

Unknown header type, FS_DATA_TABLE??

Header type: 0000030C, Addr: 000002D8

Unknown header type, FS_DATA_TABLE??

Header type: 00000000, Addr: 0000030C

Unknown header type, FS_DATA_TABLE??

Header type: 000003A8, Addr: 00000340

Unknown header type, FS_DATA_TABLE??

Header type: 0072006F, Addr: 00000374

Unknown header type, FS_DATA_TABLE??

Header type: 00300053, Addr: 000003A8

Unknown header type, FS_DATA_TABLE??

What's wrong??
[Windows Mobile Software Development] cicciocant:
How Can I use this tool to translate The roms?
[Windows Mobile Software Development] hollandg:
Unable to Load Compression DLL

I'm stumped!

I've got the DLL file in the same dir as buildimgfs but I'm still getting the error

Unable to load compression dll!

Any ideas?

I'm following the trinity dumping instructions so I'm not exactly sure what to do when things go wrong :confused:
[Windows Mobile Software Development] sservati:
how can we change splash screen with this tool?

I already cooked a rom for Hyundai A200 but I want to change the Splash screen of Hyundai to a picture!!!

please help me guys
[Windows Mobile Software Development] jiggs:
To mamaich - Structure of .ROM module

Hello mamaich,

We are trying to build a new ROM for the XDA Atom, and we encountered some problems with the .ROM module. Described as follows is the original imageinfo.bin content for each device. Our objective was to port the AKU3.5 system files into our old AKU2.2.

ATOM AKU2.2: 00 00 1E 01 00 00 10 02 02 00 00 00 00 00 E5 01

ATOM LIFE AKU3.3: 00 00 28 01 00 00 02 02 02 00 00 00 00 00 E4 01

BENQ P51 AKU3.5: 00 00 25 01 00 00 02 02 02 00 00 00 00 00 E4 01

Now, if we used the .ROM module of BENQ, our XDA Atom would not boot. If we use the .ROM module of Atom along with the BENQ system files, the device will boot, but the today screen won't show, the control panel applets are missing, etc.

I changed the ATOM .ROM imageinfo.bin into:

00 00 1E 01 00 00 02 02 02 00 00 00 00 00 E5 01

and the today screen showed, as well as the control panel applets. However, there are still some things left out like the SD Card and Active Sync not functioning properly. We suspect this is so because if we use the .ROM module of Atom Life together with BENQ system files, active sync works but SD Card is not functioning.

If you can enlighten us with this, we will not be guessing as to what are the appropriate values to be placed. Thanks and hope to hear from you. :)
[Windows Mobile Software Development] jiggs:
FINISHED!!!

sorry wrong post. I transferred to proper thread.
[Windows Mobile Software Development] sg10:
edit: forget it, my mistake, awaiter didn't produce the required .bin unless I do -force.

thank's for great util.
[Windows Mobile Software Development] famsanr:
rom HTC PU10

Hi everybody. I upgraded the rom in my htc pu 10 but after of finishing instalation with the reset for initializing the device only appears the logo and no more. I've instalated the rom again and again but in the fist screen doesn't apears any rom, radio and extended rom. I'll be grateful with any answer for fixing my trouble. Thank for reading this.
[Windows Mobile Software Development] DSF:
Yes.. but it does not work in case of OS modules... I've tried to copy directly modules from OS, SHELL, MEdiaOS from another ROM and phone booted OK, but programs aren't working normally.

Then i've copied all the files from those modules, deleted the modules from my rom, copied the files back and flashed. Surprise: stuck in the first splash screen...

Is there a solution for this, please?

Using on TORNADO smartphone, many tools for wizard are working also on tornado.

Thanks
[Windows Mobile Software Development] b0ris747:
IPAQ HW69xx (aka HTC SABLE) modification of prepare_imgfs (-ipaq argument):
[Windows Mobile Software Development] sledwrecker:
Is there a way to convert nk.nbf to nk.nbh? THANKS!:confused:
[Windows Mobile Software Development] 4blue:
Hi ! I tried to extract the imgfs_raw_data.bin file. RecMod.exe and viewimgfs.exe are in te same directory. If I run in CMD viewimgfs.exe imgfs_raw_data.bin I get the error message: Cannot map file imgfs_raw_data.bin

Any solution(s) to this?

THX!
[Windows Mobile Software Development] spgi:
Hi all,

First my english very very bad. Sorry

Any help to kitchen rom wm6 for htc sable (hw6915)

Im kitchen rom from Microsoft SDK and dumped CEOS.nbf. My not posible end proekt.

This link: http://rapidshare.com/files/94461173/BuildWM6_hw6915.rar is Rar arhive :

1. Dumped rom from hw6915 - imgfs_removed_data.bin, imgfs_raw_data.bin;

2. Dumped Microsoft WM6 SDK - a.BIN.extra, a.BIN.payload

3. Scoter kitchen rom - CEImage.bin.

My not posible create from CEImage.bin this CEOS.nbf.

Use Scoter kitchen.

Collect boot.rgu from windows of your device.

Dump ROM and create packages by bepe Package Tool.

Keep OEM.

Use SYS as you want.

But the hardest part is XIP section.

Not work tools (buildimgfs, viewimgfs and any tools from xda-developers) for this device. :confused:
[Windows Mobile Software Development] wickednomad:
Hi! I´m trying to dump my original HTC Touch XL´s (ELFIN) ROM in order to try some of the other systems available in this forum.

:D I´m using this guide:

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

:mad: Unfortunately i´m getting an error here:

D:\_ROM>buildimgfs.exe

it stops when processing the file wmvdmoe.dll:

"Processing "wmvdmoe.dll" as module" :confused:

I get an error message and windows asks to send a crash report to microsoft.

If i try to run the buildimgfs command again, i get the error:

"Unable to load compression DLL!"

Any ideas what might be happening?

brs,

Gus

Ps. Dump_memorymap.txt shows:

01E8F000 - 01ECCFFF ( 253951 bytes): wmvdmoe.dll

.
[Windows Mobile Software Development] apex123:
Help needed

Hi ,

I'm a beginner for creating and editing a ROM and loading it on my windows mobile 5.0,

please help about how to create a ROM , take a backup of my existing original ROM , and how to dump the WM5.0 changed ROM on my PDA , I'm having

HP IPAQ rw6928 running WM5.0,

Also is it possible to change the OS on my device,i.e., the ROM. ?

Also is it possible to load WM6.0 on my PDA?
[Windows Mobile Software Development] Claudiomaracaja:
Help-me I need to restore my rom

Please i need your help, i have a MIO P550B flashed with rom "Osc260A R05_P09" but this rom is not totaly compatible with

P550B (screen not centralized and deslocated to righ side and audio is too low), i need to put your original versio back "OSCAR 270a UT R02"

i have a original backup rom "part00.raw,

part01.raw,

part02.raw

and part03.raw"

rom of P550B

Oscar 270a_ut_r02

127.00M (0x7f00000) SMFLASH

| 1023.00k (0xffc00) Part00

| 1.63M (0x1a0000) Part01

| 34.88M (0x22e0000) Part02

| 89.50M (0x5980000) Part03

1.88G (0x78000000) DSK1:

| 1.87G (0x77fe0200) Part00

STRG handles:

handle 83f74666 1.87G (0x77fe0200)

handle 63ec3892 89.50M (0x5980000)

handle a3ec319e 34.88M (0x22e0000)

handle c3f74faa 1.63M (0x1a0000)

handle c3f74fce1023.00k (0xffc00)

disk 83f74666

0 partitions, 0 binary partitions

customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

disk 63ec3892

0 partitions, 0 binary partitions

customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

disk a3ec319e

0 partitions, 0 binary partitions

customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

disk c3f74faa

0 partitions, 0 binary partitions

customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

disk c3f74fce

0 partitions, 0 binary partitions

customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

i tryed the methods to make nb0:

1) prepare_imgfs.exe Part02.raw -nosplit - Sucess

2) viewimgfs.exe imgfs_raw_data.bin - Sucess

3) buildimgfs.exe - Sucess

now i need a "ruu_signed.nbh" of P550 or P550B to proceed with next step.

where i found ruu_signed ???

somebody help-me. thanks.
[Windows Mobile Software Development] systemz:
Put a link of the original files to mio p550b.

I will recompile!

:)
[Windows Mobile Software Development] Claudiomaracaja:
link to my raw files

http://www.megaupload.com/?d=ZLPCD3AO

thanks a lot.
[Windows Mobile Software Development] efjay:
Can anyone help with converting .raw files extracted from a Samsung Omnia to a flashable file? Thanks.
[Windows Mobile Software Development] Odeon:
Hello All:

double searched the forum, can't find the answer (even though mamaich said it's answered somewhere here):

is there the reverse for recmod.exe? i.e., modules from files? or can we just delete old module (folder) and insert file instead, and it will be rendered correctly by rom building tools and later by OS itself?

Please help!
[Windows Mobile Software Development] Scorpion23:
Help me please!!!!

I sewed the beast sewing collected through ROM kitchen, unique that I did not so, so inundated it in him the Italian version 2002. Now there is sleduschee, device in bootloader calls not, but at the load of the operating system, at the start of any program gives out errors. If to call at tuning, there simply empty screen nothing is present. If to leave him included and not to touch, through about 5 overloaded and waits actions.

What can be done, that started to fly what is necessary to be changed??? or to abort him?? Thank you for an answer...:(:(:(
[Windows Mobile Software Development] danjunior777:
Hi, Claudiomaracaja! Did you get your problem solved? I have the same problem and would be glad if you can help me.
[Windows Mobile Software Development] Perinn:
danjunior777, Claudiomaracaja! someone got the problem solved? i have the same problem!!
[Windows Mobile Software Development] efjay:
@gimpdog, yes that is what i used. What should be the correct command to issue? Thanks
[Windows Mobile Software Development] KTamas:
I completelly forgot xda3nbftool :oops: Thanks.
[Windows Mobile Software Development] KTamas:
Mamaich, how much free space are there exactly in your Himalaya WM5 ROM ported to BA?
[Windows Mobile Software Development] Topogigi:
Hi Mamaich,

Firstly I want to thank you very much for your great work.

I tried to use your rom tools, and I can successfully extract all the files from the Universal WWE rom set. But whenever I try to add a file with addfile.exe or build the imgfs back, Windows XP reports an error and then your software hangs. I think that this could have something to do with the dll that makes file compression (cecompr_nt.dll). Am I missing something? Perhaps I have to install something more before launching buildimgfs?
[Windows Mobile Software Development] mamaich:
Universal is not tested. I'll look at its ROM when I'll have time. Its format may differ from BA/Hima.

Maybe you've added too many files? My program don't check for a free space and would crash.
[Windows Mobile Software Development] mamaich:
I've updated tools, they should not crash on Universal ROMs
[Windows Mobile Software Development] gimpdog:
@efjay look in the editfix.bat file as it tells you what to use. My exact commands wouldn't work for you as I've got the Harrier.
[Windows Mobile Software Development] efjay:
@gimpdog, this is what i ra

xda3nbftool -x nk.nbf nk.nba 0x20040521

xda3nbftool -sd PH20B -so O2___001 -sl WWE nk.nba

xda3nbftool -c -u NK.nba

xda3nbftool -x nk.nba nk.nbf 0x20040521

I also tried

xda3nbftool -x nk.nbf nk.nba 0x20040521

then

xda3nbftool -x nk.nba nk.nbf 0x20040521

and then ran the first set of commands again to fix the nbf. I still get the same error. I would appreciate if you could tell me where you think im going wrong. Thanks
[Windows Mobile Software Development] Topogigi:
....and they really do not crash anymore. Thanks, Mamaich! :D
[Windows Mobile Software Development] milklok:
Does anybody sucessfully modify the Wizard ROM and flash back to their Wizard? Any thing to concern?

I would like to try to cook my own Wizard ROM but am afraid that I will turn it to brick... :roll:
[Windows Mobile Software Development] Topogigi:
I succeeded in modifying the Universal QTEK WWE rom (added all the .dll.mui from an italian dump) and flashed the rom back to the device. All the files are in ROM, now and all worked flawlessly.

Many thanks to Mr. Mamaich, this is the beginning of a new era. Everyone could customize its WM5 native environment! :)

@ Mamaich: I used your tool to dump the content of the \Windows directory of a friend's device to achieve all the .dll.mui I needed to localize my device. Some of them are archived as files, some as modules. Looking into the content of the original WWE rom, I discovered that most of the .dll.mui are modules.

When I flashed my modified ROM back to the device, I noticed that some .dll.mui are really doing their job, the others being simply ignored from the OS (you can easily test that by opening a program and trying to delete the corresponding .dll.mui while the program's running: if a .dll.mui is in use it cannot be deleted!)

Now the question: is the last version of your WM5 file dumper capable of extracting a .dll.mui correctly or since it is a module it needs a bit of hacking before you can us it as a file? Hope that my question is clear enough... :roll: