I've been looking for a tool to extract a driver from the XIP ROM area on my phone. Does anyone know how to do this?
Related
Where can I found dumprom.exe? Why do I have to use Windows to extract files from rom? As I found I can use linux dumprom executable included in kitchen. It works with 4.00.10, but I can't get it work with 4.00.11, 4.00.16 and 3.17. The extracted file default.fdf is corrupted. :x
the linux version does not link to the compression library. that is why files seem corrupted.
Ok thanks,
I found it allready at http://www.xs4all.nl/~itsme/projects/xda/
I have a I-MTAE JAM.
I get a RIL.DLL by pmemdump and dumpmem and patch a RIL.DLL by IDA Pro.
I need to replace this dll to rom but i no know this work.
You can replace the DLL only if you'll find a version that contains relocations. Check different ROM builds (sometimes HTC forgets to make this DLL as XIP so it can be dumped in a working state), check extended ROMs of different Magician updates, maybe CABs there contain a working copy of RIL DLL. Or patch the ROM image so that RIL.DLL is named as RI_.DLL and insert there your own copy that would redirect all unhandled calls to RI_.DLL. Or you may patch the DLL directly in ROM image. Or you may replace RILGSM DLL, RIL.DLL uses it internally, and this DLL is always with relocs. But it is completely undocummented.
This depends on what are you doing.
Thanks for replay.
Can you describe this operation step by step?I mean I have a patched Ril.dll
now,and I want to replace it with the Ril.dll in my IMATE JAM ROM.I want the
exact steps to do this.I there any document that can help me for this?
In addition,I want to know Is there any deferent between DLLs that we see in
\Windows directory of PDA with what have been dumped by pmemdump?Because
the size of dumped file and the size of file that is shown in PDA are deferent.
sincerely yours
Read MSDN about XIP files (eXecute In Place)
Hi,
I would like to find why an apllication of mine is crashing on a device and I would need to locate the NK.exe.
So I have downloaded a ROM from HTc and uncompress it with ImgFS Tools Version 2 available here : http://forum.xda-developers.com/showthread.php?t=298327
So now I have a dump diretcory with all files in the ROM BUT I cannot find the Windows CE kernel NK.exe.
Where can I find it ?
Thanks
i think that NK.exe is located in OEM\OEMxipkernel. U can find it like module. But, if i have understand, u have uset imagetools. So u have only the dump of files. NK.exe is in the xip. So, u can use dumprom.exe for have the dump of xip and find the file.
Sorry for my english...
Hi All,
I have managed to split XIP.bin and imgfs.bin from the OS ROM of HW6915 G4-v.121UK, but failed to dump the imgfs due to unable to load compression dll, any one know the compression method or how to analyze the compression method of imgfs.bin?
If we have the way to dump and undump imgfs, then we can customize the rom of hw69xx.
I will uplaod tools, XIP.bin and imgfs.bin if anyone would like to give a shot.
you probably missing cecompr_nt.dll
keyx said:
you probably missing cecompr_nt.dll
Click to expand...
Click to collapse
I do have the cecompr_nt.dll file in the rom tool folder, maybe the hw69XX rom has a special compression method so current version of cecompr_nt.dll can't not recognize.
not likely as ther are only XPR/LZX compression for imgfs, may be the rom is encrypted..no idea sorry
Here's a tool to dump hw6900 series ROMs.
Just drag-n-drop CEOS.nbf in DUMP_hw6900_IMGFS.bat
You will get OEM and SYS folders.
PS. hw6900 series problem is that you can't get a working xip.bin from NBF file. As you said you got a xip.bin, but did you tried to dump it? Most likely you will get an error.
maybe this is off topic because this is about a wince device not a mobile device.
but may someone can help me to modify a nk.bin rom so a can flash the my device with those modifiecation.
to spacify it more; I would like just to replace explorer.exe with my program - shell.exe.
I extracted the nk.bin with dumprom - with help of Nkbintools.zip . but I cannot find any info about te create dumprom back again.
I tried binmod.exe from platform builder but it cannot find any explorer.exe while it exists. there are some threads about a patched binmod.exe but I cannot find any builded download link nor I can find any sources of it in my platform builder.