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 ?
Hi,
I would appriciate if somebody could help me with the following.
Currently I'm trying to build my own wm6 rom and conversion off roms is no problem for me anymore.
Next step is changing and comparing registry hives but I'm stuck a little!
The registry hives I'm talking about are:
-default.hv
-user.hv
I downloaded RGUCOMP and also have the Registry workshop.
What I'm trying to figure out is how can I convert *.hv files to files to working registry string so that I can edit and compare them with the Registry workshop.
I do know this but don't understand:
dump default.hv:
1. SET _FLATRELEASEDIR=.
2. RGUCOMP -o default.hv -nologo > default.txt
3. Add 'REGEDIT4' (first line)
4. Last line MUST be empty
5. Save as UNICODE
... edit the txt file ...
build default.hv:
1. rename default.txt to boot.rgu (same folder as RGUCOMP.exe)
2. SET _FLATRELEASEDIR=.
3. RGUCOMP -b
4. rename boot.hv to default.hv
Enter this: "RGUCOMP -o default.hv -nologo > default.txt
", 'you should not see the reg entries, because "> default.txt" redirects the output to default.txt '.
Is there no solution to convert a *.hv file to a working registry string *.reg?
Or maybe there is a solution to export the registry from my device and convert it to a *.hv
I'm new to this and any help would be higly appriciated!
Greetings, Leo
after :
RGUCOMP -o default.hv -nologo > default.txt
you'll see default.txt contain all the regkey.
since default.txt doesn't contain the first line 'REGEDIT4',
so you need to add it.
it's same in user.hv
Won't get it
Hi Leies,
Thank you for your reply,
still don't understand, do I have to name the file REGEDIT4 .txt after created, or the first line in the opend textfile must be REGEDIT4, and what about the empty line, do I tab twice [ENTER] to have that and save the textfile in unicode? Sorry I'm stupid, but I just don't get it, it stays blank, weird? Can you send me a sample so I can see please?
Greetings Leo
Leies said:
after :
RGUCOMP -o default.hv -nologo > default.txt
you'll see default.txt contain all the regkey.
since default.txt doesn't contain the first line 'REGEDIT4',
so you need to add it.
it's same in user.hv
Click to expand...
Click to collapse
one more question
Can I create a subdirectory for this c:\hv files\.. and place the boot.hv and user.hv together with rgucomp files in here, or should it be in c:\..
Thanks,
Leo
not name the file, it's add at the first line..
did you got the dump folder already ?
default.hv and user.hv are in dump folder after you have extracted imgfs_raw_data.bin by viewimgfs.exe . (maybe different when you use other tool)
rgucomp -o dump\default.hv -nologo > default.rgu (or default.txt as you like)
then, default.rgu will stored in rgucomp.exe same folder, not at dump folder.
It may help, just try for dumping default.hv:
1. SET _FLATRELEASEDIR=.
1b. echo REGEDIT4 > default.txt
2. RGUCOMP -o default.hv -nologo >> default.txt
Click to expand...
Click to collapse
No need the 3rd original step and you should be able to open default.txt with notepad
Hi,
Thanks for your answer.
Still don't work, this is the error:
wmain: (RGUComp) !ERROR release directory ".echo REGEDIT4 " does not exist
What am I doing wrong?
Please, please, help.
Leo
naboleo said:
It may help, just try for dumping default.hv:
No need the 3rd original step and you should be able to open default.txt with notepad
Click to expand...
Click to collapse
*.hv
Hi thanks again
Will try tomorrow, today I'm having my birthday party
Greetings, Leo
Leies said:
not name the file, it's add at the first line..
did you got the dump folder already ?
default.hv and user.hv are in dump folder after you have extracted imgfs_raw_data.bin by viewimgfs.exe . (maybe different when you use other tool)
rgucomp -o dump\default.hv -nologo > default.rgu (or default.txt as you like)
then, default.rgu will stored in rgucomp.exe same folder, not at dump folder.
Click to expand...
Click to collapse
Did a bat command sample file. Just rename it *.bat instead os *.bat.txt and run it. It should create both user and defaut registry and open them directly in notepad.
Btw : happy birthday !
Found it
Hi,
Thank you Naboleo and Leies
1. set _flatreleasedir=c:\dump
2. RGUCOMP -o default.hv -nologo > default.txt
3. RGUCOMP -o user.hv -nologo > user.txt
Both added first line REGEDIT4, last line empty and saved as unicode!
Done
I'm sooooo happy
Greetings Leo
Again another question
Hi,
I'm making you grazy I know but this is realy important for me, Im almost there building the rom.
Currently I'm busy with RGUCOMP, I converted user.hv to a user.txt file and edited the strings (just some ringtones to delete), now I'm trying to convert back but it doesn't work, it gives some errors.
build user.hv
1. rename user.txt to boot.rgu
2. SET _Flatreleasedir=c:\dumphv (this is my dir)
3. RGUCOMP -b
4. rename boot.hv to user.hv
The errors:
Buildboothive: <RGUCOMP> !ERROR unable to find required source file "Boot.rgu"
ERROR C:\MacB\private\winceos\COREOS\filesys\reg\reghive \.hive c line 877: FS: Registry Exception Handler
wmain: <RGUCOMP> !ERROR failed building BOOT hive
It makes me grazy haha...
Any ideas
Thanks again,
Leo
Laurentius26 said:
Hi,
build user.hv
1. rename user.txt to boot.rgu
2. SET _Flatreleasedir=c:\dumphv (this is my dir)
3. RGUCOMP -b
4. rename boot.hv to user.hv
The errors:
Buildboothive: <RGUCOMP> !ERROR unable to find required source file "Boot.rgu"
ERROR C:\MacB\private\winceos\COREOS\filesys\reg\reghive \.hive c line 877: FS: Registry Exception Handler
wmain: <RGUCOMP> !ERROR failed building BOOT hive
It makes me grazy haha...
Any ideas
Thanks again,
Leo
Click to expand...
Click to collapse
did your rgucomp.exe and boot.rgu in c:\dumphv ?
if yes , just type :
set _FLATRELEASEDIR=.
rgucomp -b
it could be done .
since i'm lazy than u, so i have wrote a *.bat tfile to do extract and repack process .
* remember boot.rgu , you need to rename it to default.hv and copy to "dump" fiolder .
* if you can't directly copy in ( show error ), you may try this command :
attrib -s -r -h dump\default.hv
and then del it .
PS : Happy Birthday Man !
Converting back
@Leies
Thank you for your quick reply's
I love a vampire like you
It doesn't work yet
Two files I've I copied from the dump directory to compile:
-default.hv
-user.hv
Converted them to:
-default.txt
-user.txt
They are in c:\dumphv together with the tools:
-boot.rgu
-cereg400.dll
-make_boot_hv.bat
-rgucomp.exe
How to do this?
default.txt => default.hv
user.txt => user.hv
After that I can copy them back to the dump and start build_imgfs, would be great
I'm enjoying my birthday
Cheers, Leo
Hihi, i seen your post in universal , so i guess that you're cooking a uni rom and using helmi_c method , since i had cooked many for my uni , but not using helmi_c 's method , so maybe something differents ...
ok , let's go ,
when you use "rgucom -b" , the file name of default.hv should rename to boot.rgu , after rgucom success , it'll create a file "boot.hv" and copy it to dump\ and rename to default.hv ,
same as user.hv , should rename to boot.rgu when "rgucom -b" , after rgucom, it'll create a file "boot.hv" and copy it to dump\ and rename to user.hv ,
maybe you can use this to create a bat file and it will auto finish for you .
you can add "pause" if you like to see some information when batch runs.
cd\
cd temp
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
PAUSE
attrib -s -r -h dump\default.hv
del dump\default.hv
copy boot.hv dump\default.hv
del boot.hv
del boot.rgu
copy user.hv boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\user.hv
del dump\user.hv
copy boot.hv dump\user.hv
del boot.hv
del boot.rgu
PAUSE
BuildImgfs
PAUSE
make_imgfs nk.fat -nosplit
Your so helpful
I'm starting to love you.
That's dangerous isn't?
Anyway, thank you, thank you, thank you
Will let you know how rom is progressing if you like?
Leo
Leies said:
Hihi, i seen your post in universal , so i guess that you're cooking a uni rom and using helmi_c method , since i had cooked many for my uni , but not using helmi_c 's method , so maybe something differents ...
ok , let's go ,
when you use "rgucom -b" , the file name of default.hv should rename to boot.rgu , after rgucom success , it'll create a file "boot.hv" and copy it to dump\ and rename to default.hv ,
same as user.hv , should rename to boot.rgu when "rgucom -b" , after rgucom, it'll create a file "boot.hv" and copy it to dump\ and rename to user.hv ,
maybe you can use this to create a bat file and it will auto finish for you .
you can add "pause" if you like to see some information when batch runs.
cd\
cd temp
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
PAUSE
attrib -s -r -h dump\default.hv
del dump\default.hv
copy boot.hv dump\default.hv
del boot.hv
del boot.rgu
copy user.hv boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\user.hv
del dump\user.hv
copy boot.hv dump\user.hv
del boot.hv
del boot.rgu
PAUSE
BuildImgfs
PAUSE
make_imgfs nk.fat -nosplit
Click to expand...
Click to collapse
Last one
Hi Leies,
Must be something else!
Here's my story if you want to read.
My device: Universal
The rom I'm trying to build is WM6
I'm using a nk.nba ('Rom' folder) out of Helmi_C's kitchen.
The only thing I want to do is to take some ringtones out there!
So here it is:
cd\
cd\dump
prepare_imgfs nk.nba -nosplit
viewimgfs imgfs_raw_data.bin
dump directory created.
Take the ringtones out.
Maybe here I'm going wrong, I need to edit User.hv and default.hv to take the registry values out, wright ?
It works ok if I leave User and default.hv beside but when i look in my phone under ringtone settings the values are there but when I select them as ringtone the ringtones don't exist's, so that's uckly.
Yes, and I also edited the initflashfiles.dat in the responsable OEM
Next I copy to the dump directory:
boot.rgu
cereg400.dll
make_boot_hv.bat
rgucomp.exe
cd dump
set _flatreleasedir=c:\dump
RGUCOMP -o user.hv -nologo > user.txt
I edit the text and save it as unicode textfile.
Still in dump directory.
RGUCOMP -b
So know user.txt is in boot.rgu
I change the name to user.hv
Same for default.hv
batchfile's are coming later, I'm not so fast as you
Both I copy back to my dumped 'rom' (from here I took them in the first way, so I overwrite them with the new ones)
build_imgfs imgfs_raw_data.bin
make_imgfs nk.nba
Done, ready to use for kitchen. (but not when I edit the *.hv?)
Cheers, Leo
b.t.w. You builded some Roms before for the Universal isn't?
I need to no this please, because I've got the feeling that I'm close to rombuilding, this is the last key that has to suite.
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 ?
I'm trying to build a Rom using that XIP/SYS and I got it flashed but it wont boot. I want an up to date firmware with the Mega packages in it but its just sitting there at the smart mobility screen. any ideas would be fantastic.
XirXes said:
I'm trying to build a Rom using that XIP/SYS and I got it flashed but it wont boot. I want an up to date firmware with the Mega packages in it but its just sitting there at the smart mobility screen. any ideas would be fantastic.
Click to expand...
Click to collapse
If it didn't boot, it must the xip. which kitchen did you use for it?? did you port the xip manually??
I used the opal kitchen and i got the xip and the sys from http://forum.xda-developers.com/showthread.php?t=544445.
XirXes said:
I used the opal kitchen and i got the xip and the sys from http://forum.xda-developers.com/showthread.php?t=544445.
Click to expand...
Click to collapse
I read all sub forum at OPAL, and no one posting ervius kitchen (Platform Rebuilder).
does your kitchen has BuildOS.exe? if yes, you use old kitchen, you need to port the xip to use in OPAL. did you port the xip to use in Opal???
Yes my kitchen has buildos.exe, being the noob I am to cooking I don't know how to port the xip
edit: I toyed with it a little and I think I figured out how to port XIP
what does G'reloc do? I ask because it keeps spitting out an error:
Cannot open file
C:\OpalChef2\temp\dump\MyPhoneConsole.exe.0409.mui\S001
XirXes said:
Yes my kitchen has buildos.exe, being the noob I am to cooking I don't know how to port the xip
edit: I toyed with it a little and I think I figured out how to port XIP
Click to expand...
Click to collapse
You can use XIPPORTEX to port the xip. I will upload it for you
what does G'reloc do? I ask because it keeps spitting out an error:
Cannot open file
C:\OpalChef2\temp\dump\MyPhoneConsole.exe.0409.mui \S001
Click to expand...
Click to collapse
G'reloc can't use in WM 6.5, you need to use WMReloc, i will upload it to.
Thanks man, you have been very helpful.
XirXes said:
Thanks man, you have been very helpful.
Click to expand...
Click to collapse
Here is the link:
http://www.4shared.com/file/126792631/d003b1/OPAL_TOOL.html
pls read introduction.txt and introduction.doc.
in runme.bat it calls for buildos.cmd which is part of the .bat. there isn't anything about G'reloc in there.
Code:
:8
:8.BuildOS.cmd
BuildOS.exe
del s000-old\*.* /q /s
del s000-new\*.* /q /s
rd s000-old /q /s
rd s000-new /q /s
GOTO :EOF
:9
:9.CreateROMforOpal
copy ROM\OS.nb temp\OS.nb
pushd temp
rem ..\TOOLS\NBSplit -kaiser OS.nb
..\TOOLS\ImgfsFromNb OS.nb imgfs.bin
..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin os.nb os-new.nb
move os-new.nb ..
echo Ignore any errors while deleting files!
del boot.hv
del boot.rgu
del imgfs-new.bin
del imgfs.bin
del os-new.nb.payload
del OS.nb
del OS.nb.extra
del OS.nb.payload
popd
GOTO :EOF
:10
:10.HTCRomTool.bat
cls
echo -= HTC ROM TOOL =-
echo.
echo Click "Build!"
echo Click ... in System: and choose os-new.nb
echo Click Build ROM and choose .nbh filename
tools\htcrt.exe
GOTO :EOF
:11
:11.Cleanup.bat
if exist baserom\os.nb del baserom\os.nb
if exist baserom\0*.* del baserom\0*.*
if exist temp (
attrib -s -h -r -a temp\*.* /s /d
del temp\*.* /s /q
sleep 3
rd temp /s /q
)
GOTO :EOF
:12
:12.PagePool.Changer.bat
"tools\PagePool Changer.exe"
GOTO :EOF
:EOF
Thats the entire section for cooking. Im fairly certain that buildos.exe calls for G'reloc
Hi XirXes,
As request of my friend, he ask me to make a kitchen base on ervius multi languange kitchen, the build is 23017. I already upload it, but it seem he do not download it yet.
I can't test it because i don't have OPAL. If you want to try it, i will give you the link, but it has probability the ROM is unboot, but you can flash it with your another ROM.
If the ROM result from this kitchen can boot, it will be a good news for OPAL user, you as OPAL user will have an update kitchen and easy to use, because no need to port xip.
pls confirm.
XirXes said:
in runme.bat it calls for buildos.cmd which is part of the .bat. there isn't anything about G'reloc in there.
Code:
:8
:8.BuildOS.cmd
BuildOS.exe
del s000-old\*.* /q /s
del s000-new\*.* /q /s
rd s000-old /q /s
rd s000-new /q /s
GOTO :EOF
:9
:9.CreateROMforOpal
copy ROM\OS.nb temp\OS.nb
pushd temp
rem ..\TOOLS\NBSplit -kaiser OS.nb
..\TOOLS\ImgfsFromNb OS.nb imgfs.bin
..\TOOLS\ImgfsFromDump imgfs.bin imgfs-new.bin
..\TOOLS\ImgfsToNb imgfs-new.bin os.nb os-new.nb
move os-new.nb ..
echo Ignore any errors while deleting files!
del boot.hv
del boot.rgu
del imgfs-new.bin
del imgfs.bin
del os-new.nb.payload
del OS.nb
del OS.nb.extra
del OS.nb.payload
popd
GOTO :EOF
:10
:10.HTCRomTool.bat
cls
echo -= HTC ROM TOOL =-
echo.
echo Click "Build!"
echo Click ... in System: and choose os-new.nb
echo Click Build ROM and choose .nbh filename
tools\htcrt.exe
GOTO :EOF
:11
:11.Cleanup.bat
if exist baserom\os.nb del baserom\os.nb
if exist baserom\0*.* del baserom\0*.*
if exist temp (
attrib -s -h -r -a temp\*.* /s /d
del temp\*.* /s /q
sleep 3
rd temp /s /q
)
GOTO :EOF
:12
:12.PagePool.Changer.bat
"tools\PagePool Changer.exe"
GOTO :EOF
:EOF
Thats the entire section for cooking. Im fairly certain that buildos.exe calls for G'reloc
Click to expand...
Click to collapse
No G'reloc there, it seem the G'reloc is build in BuildOS.exe, you can't edit it.
yeah, give me the link, ill give it a shot.
XirXes said:
yeah, give me the link, ill give it a shot.
Click to expand...
Click to collapse
Check your PM, I am waiting your Report.
It built the rom successfully and is flashing it now. This kitchen is way better than the other one. If this works I'll immediately start working on 23403. It gave me a flash write error, I'll use custom RUU and try again.
XirXes said:
It built the rom successfully and is flashing it now. This kitchen is way better than the other one. If this works I'll immediately start working on 23403. It gave me a flash write error, I'll use custom RUU and try again.
Click to expand...
Click to collapse
OK, waiting here.
Custom RUU did the same thing. Thoughts?
XirXes said:
Custom RUU did the same thing. Thoughts?
Click to expand...
Click to collapse
can you open file htcrt.ini inside tools in your old kitchen, and give me the value for Opal or OPAL100**
These?
Code:
[Opal]
ModelId=OPAL10000
SignMaxChunkSize=1024
IPL1=$100
IPL1N=IPL
SPL=$200
SPLN=SPL
Splash1=$600
Splash1N=Splash
Radio=$300
RadioN=Radio
System=$400
SystemN=System
XirXes said:
These?
Code:
[Opal]
ModelId=OPAL10000
SignMaxChunkSize=1024
IPL1=$100
IPL1N=IPL
SPL=$200
SPLN=SPL
Splash1=$600
Splash1N=Splash
Radio=$300
RadioN=Radio
System=$400
SystemN=System
Click to expand...
Click to collapse
in your old kitchen, can you flash successfully with this?? althought unbot??