[Cooking] About XIP and initflashfiles.dat - HTC Excalibur

I'm triyng to cook a wm6 ROM, only for fun.
I extracted the XIP with this command:
Code:
RomMaster os.nb -v 0 -w 5 -b 0x00217800 -x -o xip.bin
mk xip
dumprom xip.bin -5 -d XIP >NUL
strangely I found the initflashfiles.dat in XIP section and not in IMGFS section.
This send in error the buildos.exe.
How Can I solve?
I've to move initflashfiles to OEM/OEMLANG?
Another question.
THe newest utility from Bepe (Buildxip) Does it work fine with excalibur?

Anyone can help me?

Related

Problems on editing a rom of ASUS P525! Help!

Sir,
Are there anyone who can tell me how to change the CRC checksum after i had edited the rom (galaxy.cap) of ASUS P525 ?
xda3nbftool -x galaxy.cap nk.nba 0xA87BC0DF
prepare_imgfs.exe nk.nba -nosplit
viewimgfs.exe imgfs_raw_data.bin
*****add files*****
BuildImgfs.exe
make_imgfs.exe nk.nba -nosplit
xda3nbftool -c -u NK.nba
xda3nbftool -x NK.nba galaxy.cap 0xA87BC0DF
However it stop on checksum unit . "CheckSum Error! upgate fail "
Are there any misktakes i had made?
please do help me !!
Please Help
Hi,
I´m trying to learn how to cook my own Asus P525 ROM, and it´s very difficult, because some people don´t want or don´t like to share his knowledge.
Well, I´ve tried to do the same process as you but when I put this:
xda3nbftool.exe -x Galaxy.cap nk.nba 0xA87BC0DF
I received a error message with tell me tha ist not a nbf header or the password in not correct.
Can you help me?
Thanks in advance
Fernando

a problem with dumprom and HTC (Windows Mobile 6 Extract)

HI
i downloaded WM6CB and extract it now i have 2 nbf file
nk.nbf 64MB Size
ms.nbf 10MB Size (Empty_Extended_rom)
i want to extract these
I tested dumprom.exe and HTC64 Extended ROM Tool.exe but i can't extract these
if i use dumprom then i can't extract it when i use HTC64 and i use dumprom with nk.fat file argument then i can extract some files and get this error
Code:
9073265c - 907338b6 L0000125a o32 region_2 rva=00042000 vsize=000027f0 real=01f9
2000 psize=0000125a f=40002040 for coredll.dll
907338b8 - 907351b9 L00001901 filedata boot.hv
907351bc - 907380a4 L00002ee8 filedata default.hv
907380a4 - 907380a4 L00000000 rom_00 end
907380a4 - 9443fc00 unknown
i used this arguments
For NBF File
dumprom nk.nbf -d mydirectory\
dumprom -5 nk.nbf -d mydirectory\
For FAT File
dumprom -5 nk.fat -d mydirectory\
dumprom nk.fat -d mydirectory\
And I can't Extract Empty Rom with this way
I want to extract windows mobile 6
Please help me for further information
Thanks
Regards

Uni Rom kitchen problem

after I've edit the rom of Wm6 , it'll auto off at slashscreen after flash
please correct me if anything wrong ..
here's my steps :
HTC64 Extended ROM Tool , decode the rom and then...
prepare_imgfs.exe nk.fat -nosplit
viewimgfs imgfs_raw_data.bin
BuildImgfs
set _FLATRELEASEDIR=.
rgucomp -o dump\default.hv -nologo > default.rgu
rgucomp -o dump\user.hv -nologo > user.hv
then I've added other wince.nls and fonts in "dump" directory .
and edit default.rgu , user.hv by ultraedit . added "REGEDIT4" at the first line , added some lines on initflashfiles.dat.
then repack :
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\default.hv
copy boot.hv dump\default.hv
attrib -s -r -h dump\user.hv
copy user.hv dump\user.hv
BuildImgfs
make_imgfs nk.fat -nosplit
use HTC64 Extended ROM Tool encode again . and flash .
any problems in these step ? Please correct me , Thanks alot !!
Building roms
Hi,
Ha... here you are,
will try this tomorrow.
Leo
Leies said:
after I've edit the rom of Wm6 , it'll auto off at slashscreen after flash
please correct me if anything wrong ..
here's my steps :
HTC64 Extended ROM Tool , decode the rom and then...
prepare_imgfs.exe nk.fat -nosplit
viewimgfs imgfs_raw_data.bin
BuildImgfs
set _FLATRELEASEDIR=.
rgucomp -o dump\default.hv -nologo > default.rgu
rgucomp -o dump\user.hv -nologo > user.hv
then I've added other wince.nls and fonts in "dump" directory .
and edit default.rgu , user.hv by ultraedit . added "REGEDIT4" at the first line , added some lines on initflashfiles.dat.
then repack :
copy default.rgu boot.rgu
set _FLATRELEASEDIR=.
rgucomp -b
attrib -s -r -h dump\default.hv
copy boot.hv dump\default.hv
attrib -s -r -h dump\user.hv
copy user.hv dump\user.hv
BuildImgfs
make_imgfs nk.fat -nosplit
use HTC64 Extended ROM Tool encode again . and flash .
any problems in these step ? Please correct me , Thanks alot !!
Click to expand...
Click to collapse

Is there som cookers here?

In the past I cooked some ROM for my old device Trinity P3600 like this:
http://forum.xda-developers.com/showthread.php?t=367317
Now I want to buy an excalibur and i want to try to cook a ROM for this device.
is there any body with wich I can exchange ideas and experiences?
for examples. How can I extract the XIP in this device?
There is already some cooked rom for this device?
I'm tryng to port the last Vox ROM (ake 0.4.4) in the excalibur.
Some cookers come here?
Ok.
I discovered something
For extract IMGFS:
With NBHTool extract Windows.nb afther with Tadzio tool:
Code:
rename windows.nb os.nb
copy Os.nb Os.nb.payload
ImgfsFromNb os.nb.payload imgfs.bin
ImgfsToDump imgfs.bin
For extract XIP:
Code:
RomMaster os.nb -v 0 -w 5 -b 0x00217800 -x -o xip.bin
mk xip
dumprom xip.bin -5 -d XIP >NUL
Someone interested?

RELEASE: ImgfsToDump v3 (and v3.3 beta3)

Here a new version of that very important tool.
First of all, thanks to mamaich and tadzio for creating the versions before!
And also for Da_G for helping and testing with this version.
WARNING: I've added a more WM like handling of files. That might mean that some of the dump protections are not working anymore, did not try myself yet... but if the OS can read the files, why should this tool not be able to do it? :$ ... was not my intention anyway, and I really didn't try it yet.
Intention was to make the tool faster and it is now! Different algorithms and different way for decompression does the trick.
ImgfsToDump v3
Code:
ImgfsToDump.exe imgfs.bin
this does the same job as the old one, but faster
Code:
ImgfsToDump.exe os.nb
... ok, that is new ... can dump from OS.nb, OS.nb.payload with auto detection and without extracting imgfs.bin
Code:
ImgfsToDump.exe -v os.nb
-v[erbose] ... yeah, there is an option now to simulate and so to only show file names on screen
Code:
ImgfsToDump.exe -w *.mui os.nb
-w[wildcard] ... most useful part I think... this will only extract all the mui files from the ROM
Code:
ImgfsToDump.exe -v -w flashlite.dll os.nb
this is useful for quickly check if a rom contains a specific file.. it will only show the result on the screen if the file exists, but not dump the file
Also added some bat files that work with drag and drop... just drag an os.nb and drop it onto one of the bat files
Code:
Wildcard: *.cpl
IMGFSTODUMP 3 Copyright (c) 2009-2010 bepe Oct 16 2009 14:07:12
cplmain.cpl
historyui.cpl
ipsecvpnui.cpl
MyPhoneLauncher.cpl
AGPSSettingsCPL.cpl
ConnectionSetup.cpl
TaskManager.cpl
MyCpl.cpl
Done!
ImgfsToDump v3.1 Beta
ADD: It's working with packages now, check out the bat files
FIX: Wildcards ignore case now
ADD: New option: [-build] extract files into packages
ADD: New option: [-type <OEM|SYS>] extract only SYS or OEM packages
ADD: New option: [-pkgwildcard <wildcard>] Wildcard for filtering packages
Code:
ImgfsToDump.exe -b os.nb
- Extract into packages
Code:
ImgfsToDump.exe -b -t OEM os.nb
- Extract only OEM packages
Code:
ImgfsToDump.exe -b -t OEM -p *adobe* os.nb
- Extract only OEM packages that contain 'adobe' in the package name
ImgfsToDump v3.2 Beta
ADD: HTC NBH support
ADD: New Layer system
REMOVED: -l -n option
ADD: XIP extraction .... don't tell me that the exe name is not fitting anymore :$
ADD: OS version and build output (only if you are building packages and only with .nbh .nb .xip)
ADD: Some Device information (only for .nbh .nb)
ImgfsToDump v3.2 Beta 2
ADD: Emulator ROM Support
ADD: options for XIP and IMGFS... IMPORTANT: allmost all options have been changed!
ImgfsToDump v3.3 Beta 2
FIX: XIP modules are working now
ADD: Extract compressed XIP sections
ImgfsToDump v3.3 Beta 3
ADD: LZX working now
xidump v1.0 Beta
ADD: Fix for invalid OEM certs
best regards
bepe
Great update bepe, thanks!
Thanks bepe.
As always, great work bepe. Testing now...
very nice !!!
Thanks bro
Tom
Sounds good, thanks bepe
Thanks Bepe again. Is it compatible with your platform builder?
Wow cool
Speed is actually what we need when got a new 200+ Official ROMIMAGE
Thanks bepe for the update
nice
very nice !!!thx
Thank you to share
awesome!
thanks bepe
nice update
thanks
I‘m a chinese ,and thank's for your software .
wonderful Bepe. many thanx.
Nice work! ths
Great update bepe, thanks!
new Beta
A bit early... but here is a new version to try.
It's still a beta, but has some new options for building packages.
thanks again bepe
i will give it a try as well.
EDIT: the tool works fine, but don't you think you need to add "/D" switch in the batch files here
Code:
cd /D %path_arg%
Grest tools, thanks

Categories

Resources