Extracting XIP.bin from NK.NBA (MPX200) - Windows Mobile Development and Hacking General

Hi All,
I am trying to extract the xip.bin portion from the NK.NBA file (mpx200).
When I use rommaster I get an xip.bin file which I can use with XIPPORT but I don't like the size of this file. I do get usable files as output from XIPPORT
I use:
ROMMASTER -w 5 -b 0x001000 nk.nba -x -o xip.bin
it produces:
C:\romtool\XIPtool>rommaster -w 5 -b 0x01000 nk.nba -x -o xip.bin
[Info] It is a common ROM.
[Warning] o32_rom(0x820c5ea0)'s o32_data at 0x00000000 is zero.
[Warning] Found dif-referenced region [OLD] Address=0x821732a0 Length=0x00
014e00 ObjectType=0x00200000
[Warning] Found dif-referenced region [New] Address=0x821732a0 Length=0x00
014e00 ObjectType=0x00008000
[Warning] Memory Block(0x80141000,0x8019ad0c) overlap with Block(0x80142d3
c,0x80142d68).
[Info] New rom filename is 'xip.bin'.
xip.bin is now 33.936.532 bytes ?? it should not be so big ??
Using the file with XIPPORT produces about 1,78 Mb of usable data. I can unpack and pack the modules and files just fine.. creating an xip_out.bin however is not the same size
xip_out.bin is 33.927.840 bytes ??
Any ideas what I'm doing wrong???
Thanks

Thanks to all the ROM Guru's for not keeping this secret
I thought that you guys would be happy when someone is still interested in supporting this old device ??
Anyway to answer my own question:
dump -o 0x140000 nk.nba xip.bin
use this xip.bin in xipport
dump / add / delete / modify as required
write address in xipport 140000
write back in nk.nba

For what you do it?
For istall WM 6.1 ?

Related

Problem with DumpRom

Hi,
I am experiencing some problems using dumprom. I downloaded it and extracted the content of an exe updater to get the "nk.nbf" os rom (w2k3).
After that, I tried ... :
Code:
dumprom nk.nbf -v -d toto
... to extract the content of this os rom but nothing happens ... dumprom seems to launch because the dos promt doesn't reappear and i need to quit using ctrl+c.
How can I extract files from 1.4x "nk.nbf" os rom (w2k3) ?
Thanks in advance,
Tristan
dumprom is working only with nk.nba files ...
you have to decompress nk.nbf in nk.nba with xda2nbftool or xda3 nbftool
First, thanks for your reply.
I tried to use xda3nbftool with the nk.nbf file I want to use but I got an error saying the password seems to be incorrect :
Code:
D:\HTC\ROMs\2003\BA_TMNL_14200_115_11300_Ship>xda3nbftool -x -t NK.nbf
xda3nbftool -x NK.nbf NK.nba 0xef29def0
WARNING: this does not look like a nbf header, possible you provided the wrong p
assword
xda3nbftool -x ms_.nbf ms_.nba 0x8e86c6cc
WARNING: this does not look like a nbf header, possible you provided the wrong p
assword
If I use the outputed nk.nba file, I got the same error ... dumprom hanging ...
I also tried to use the "Blue Angel Extended ROM Tool.exe" tool and got a nk.fat file but when I tried the dumprom tool on it, I got an error message :
Code:
D:\HTC\ROMs\2003\RUU_2.2_OrangeFR_v5.31.2.138_ship>dumprom nk.fat -v -d dump
unable to determine loading offset for nk.fat
I saw on Wiki that this tool only works with type I rom and the rom I am playing with is type II. They are talking about some tricks but I don't find them in the Wiki. If someone, know how to trick type II rom ...
No idea ?

How to extract/replace boot.hv [BA WM5]?

Sorry. I need some help. I can't fight more
First, using Wizards ROM. It's simple:
Code:
dumprom -5 -d BootFiles nk.nba
rommaster -w 5 -d boot.hv -a boot.hv -o new.nba nk.nba
Everything looks almost good.
The same, but using BA WM5 ROM [both mamaich wizard port v2a and tuatara] - nothing looks good. Both dumprom and rommaster produces tons of errors.
Can anybody help? Please.
Ok. I've found the way, how to extract boot.hv. Here: http://forum.xda-developers.com/viewtopic.php?p=105694.
But still can't replace. Please help.

Modify XIP

Hi, I am trying to modify the XIP of Hermes (e.g. modify boot.hv and FLASHDRV.DLL for big storage). Here's my steps:
>nbsplit -hermes os.nb
>RomMaster -w 5 OS.nb.payload -x -o xip.bin
Run the XIPPORT
"dump xip.bin"
"realloc P"
"build xip_out.bin"
write xip_out.bin to 00320000 of OS.nb.payload
>nbmerge -hermes os.nb
Although I haven't modified any file yet. But the reversed os.nb cannot boot after flashing. Anything I have missed? Any idea? Thanks.

NBHextract to nb , but just Htcrt.exe cannot flash rom

sorry for that , It seems solved
He everyone,
I try to use Kaiser_Kitchen to compile ROM ,
but finally found one thing.....
the first step extract OS.nb cannot flash ROM
1.NBHtract RUU_signed.nbh
2.use Htcrt , choose Polaris , Model POLAxxxxxx , System OS choose OS.nb
3.use Polaris CustomRUU flash ROM , but stop at "Smart Mobility" screen.
If I just use CustomRUU flash Rom , everything ok ,
If extract OS.nb then compact NBH , can't flash Rom
how can I do ?
ps. tool is from Swtos :
http://forum.xda-developers.com/showthread.php?t=373482&highlight=Swtos_WM6.1_polaris_kitchen
sorry for that , It seems solved , but I have problem dump XIP from other rom.(my ROM still fail , too)
still trying.............
..\tools\RomMaster.exe -x -w 5 -b 0x320000 OS.nb.payload -o xip.bin
this the error code:
[Info] It is a common ROM.
[Error] File is damaged, end address small than start address.
[Error] File is damaged, end address small than start address.
xip.bin: No such file or directory
RomMaster.exe -x -w 5 -b 0x020000 OS.nb.payload -o xip.bin
udK said:
RomMaster.exe -x -w 5 -b 0x020000 OS.nb.payload -o xip.bin
Click to expand...
Click to collapse
It works ..........
Thanks very much

A programe about XIP.BIN of Blue Angle?

I'm learning rom building.
I used Rommaster.exe to extract XIP.BIN from nk.nba.But nothing (had not xip.bin-no thing).I made Bat file with code:
Code:
RomMaster.exe -w 5 -b 0x001C0080 nk.nba -x -o xip.bin >nul
mkdir XIP
dumprom xip.bin -5 -d XIP >nul
But only XIP Folder was made.In XIP folder- no thing.
=>>>Please help me how to extract XIP.BIN From nk.nba???
Thanks a lot.
Please help me how to extract XIP.BIN From nk.nba???
I made XIP.BIN successfully.

Categories

Resources