Beta: WM5 ROM editing tool

Search This thread

b_sphinx

Member
Apr 25, 2005
45
0
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
 

b_sphinx

Member
Apr 25, 2005
45
0
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

Never mind...

managed to use the perl & alpinebfdecode.pl method to convert.. :)
 

Lvballer06

Senior Member
Aug 3, 2006
64
0
Please read the first page of this thread. Complete instruction is stated there in extracting modules...


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?
 
Last edited:

Johnnnnnnnnnny

Senior Member
Jun 13, 2006
259
22
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:
"Error! Cannot map C:\rom\dump\imageinfo.bin"

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?
 
Last edited:

jiggs

Senior Member
Jan 27, 2006
953
4
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?

hex edit nk.nba to change os value...
 

xplode

Senior Member
Dec 9, 2005
1,963
3
Nesebar
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
 
Last edited:

llbasha

Senior Member
Jan 7, 2005
166
1
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

*********
*********
 

Oki

Senior Member
Jul 6, 2006
1,009
1,871
East Coast
*********
*********

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

*********
*********
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
 

konker

Senior Member
Jan 9, 2006
325
2
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!
 

llbasha

Senior Member
Jan 7, 2005
166
1
best tools to edit initflashfiles.dat

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

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
 

Attachments

  • EDITPAD.zip
    381.6 KB · Views: 392

shantzg001

Inactive Recognized Developer
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.
 

pencilcase

Senior Member
Jan 18, 2006
617
16
Frankfurt, Germany
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?
 

Mr. Vi

Senior Member
Sep 23, 2006
204
0
31
Berlin
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.
 

Attachments

  • woot.jpg
    woot.jpg
    10.6 KB · Views: 139
Last edited:

nandlal_mk

Senior Member
Oct 24, 2006
179
0
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.

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

http://forum.xda-developers.com/showthread.php?t=297027

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

http://forum.xda-developers.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
 

d4blue

New member
Mar 23, 2007
3
0
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
 

Max.V

New member
May 1, 2007
1
0
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 :)
 

Attachments

  • error.JPG
    error.JPG
    15.5 KB · Views: 91

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Topogigi said:
    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?
    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.
    1
    @KTamas

    your .rgu format is wrong

    MS-Editor "Save As..." and select Unicode
    1
    hdubli said:
    I hv dump(from mamaich tool) for Atom...and want to extract or locate Media Plus App...Can anyone tell me how to find..I hv checked the modules..but it is unclrear...files do not contain anything related to media plus.
    This application may be in extended ROM. So look there for a CAB file.
    1
    Mamaich,

    Looking at imgfs_removed_data.bin in hex we have 0x82 blocks of 0x1000 bytes looking approximately like one below,

    80 04 00 00 FF FF FB FF 81 04 00 00 FF FF FB FF 82 04 00 00 FF FF FB FF 83 04 00 00 FF FF FB FF 84 04 00 00 FF FF FB FF 85 04 00 00 FF FF FB FF 86 04 00 00 FF FF FB FF 87 04 00 00 FF FF FB FF 88 04 00 00 FF FF FB FF 89 04 00 00 FF FF FB FF 8A 04 00 00 FF FF FB FF 8B 04 00 00 FF FF FB FF 8C 04 00 00 FF FF FB FF 8D 04 00 00 FF FF FB FF 8E 04 00 00 FF FF FB FF 8F 04 00 00 FF FF FB FF 90 04 00 00 FF FF FB FF 91 04 00 00 FF FF FB FF 92 04 00 00 FF FF FB FF 93 04 00 00 FF FF FB FF 94 04 00 00 FF FF FB FF 95 04 00 00 FF FF FB FF 96 04 00 00 FF FF FB FF 97 04 00 00 FF FF FB FF 98 04 00 00 FF FF FB FF 99 04 00 00 FF FF FB FF 9A 04 00 00 FF FF FB FF 9B 04 00 00 FF FF FB FF 9C 04 00 00 FF FF FB FF 9D 04 00 00 FF FF FB FF 9E 04 00 00 FF FF FB FF 9F 04 00 00 FF FF FB FF A0 04 00 00 FF FF FB FF A1 04 00 00 FF FF FB FF A2 04 00 00 FF FF FB FF A3 04 00 00 FF FF FB FF A4 04 00 00 FF FF FB FF A5 04 00 00 FF FF FB FF A6 04 00 00 FF FF FB FF A7 04 00 00 FF FF FB FF A8 04 00 00 FF FF FB FF A9 04 00 00 FF FF FB FF AA 04 00 00 FF FF FB FF AB 04 00 00 FF FF FB FF AC 04 00 00 FF FF FB FF AD 04 00 00 FF FF FB FF AE 04 00 00 FF FF FB FF AF 04 00 00 FF FF FB FF B0 04 00 00 FF FF FB FF B1 04 00 00 FF FF FB FF B2 04 00 00 FF FF FB FF B3 04 00 00 FF FF FB FF B4 04 00 00 FF FF FB FF B5 04 00 00 FF FF FB FF B6 04 00 00 FF FF FB FF B7 04 00 00 FF FF FB FF B8 04 00 00 FF FF FB FF B9 04 00 00 FF FF FB FF BA 04 00 00 FF FF FB FF BB 04 00 00 FF FF FB FF BC 04 00 00 FF FF FB FF BD 04 00 00 FF FF FB FF BE 04 00 00 FF FF FB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF .......
    always ending with
    FF FF FF FF FF FF FF FF 06 21 55 C1 D5 29 9C DF B8 EA B8 BA F3 F9 D3 82 47 8A 43 3B E6 2A D9 A9 31 67 39 09 53 67 BF 12

    followed by 0x164 empty blocks (FFs),(TFAT16?)

    then followed by 2 blocks of interchanging multiple FFs and multiple B2 BA sequences looking like this

    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A B2 2A FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

    and ending with the last 1 block of 0x00-s.

    At this point my conclusions are:
    1. there are 0x82 sequential x40000 blocks of data - so, there no hole in this ROM.
    2. last block of 00 is probably signalling the end of ROM or end of TFAT.

    What the 2 blocks with 2AB2 stand for, maybe remainder of FAT TABLE?

    What those 504 bytes long sequences of

    80 04 00 00 FF FF FB FF 81 04 00 00 FF FF FB FF 82 04 00 00 FF FF FB FF
    stand for, maybe they need to be in imgfs_raw_data.bin?

    I look also at imgfs_raw_data.bin - it has slightly different structure
    -there is also 0x82 sequential 0x3F000 long blocks of data,
    -followed by only 20 blocks of FFs (instead of 0x164 blocks of FF in removed_data.bin)
    -here the TFAT16 image begins - one block is filled mainly with 0x00-s and then it is follwed by the rest of blocks filled with FFs.
    -last 2 blocks contain those BA B2 sequences again. FAT table? Is it incomplete because part of it is removed? Does it affect work of viewimgfs?

    Sorry for so many questions. :roll: