View Full Version : Beta: WM5 ROM editing tool
mamaich
30th November 2005, 02:25 AM
I've made a set of tools that can assist in cooking your own WM5 ROMs. These tools were tested only on BlueAngel devices. They should also work on Himalaya. Universal and Wizard support is also present, but it is untested, so the tools may crash or turn your device into brick. But it is possible to extract files from universal/wizard ROMs and use them on other devices.
I've attached 2 archives - make_hv.rar, a tool from Platform Builder that can be used to recreate .HV files (they contain default and boot registry), and imgfs_tools.rar - these tools should be used to edit WM5 IMGFS partition.
With these tools and http://forum.xda-developers.com/viewtopic.php?t=33321 (it can edit WM5 boot XIP partition) it is possible to replace/add/delete any file in WM5 ROM.
Usage:
prepare_imgfs.exe
Splits nk.nba into imgfs_raw_data.bin and imgfs_removed_data.bin.
imgfs_raw_data.bin - contains raw IMGFS data
imgfs_removed_data.bin - contains extra data (something like FAT table).
Usage:
prepare_imgfs.exe nk.nba [-nosplit] [-mpx200] [-acer]
Use "-nosplit" for HTC Wizard and Universal ROMs that don't contain extra
blocks of data. In this case imgfs_removed_data.bin would be empty.
make_imgfs.exe
Reverse of prepare_imgfs. Combines imgfs_raw_data.bin and imgfs_removed_data.bin
into nk.nba file. Use -nosplit if it was specified for prepare_imgfs.exe.
Usage:
make_imgfs.exe nk.nba [-nosplit]
The nk.nba file would be used as a template, its contents would be overwritten.
viewimgfs.exe
Dumps the contents of imgfs_raw_data.bin to "dump" subdirectory. Files are
dumped as is, modules as directories. File time and attributes are preserved.
If RecMod.exe is present in the current directory, all modules are
reconstructed as working DLLs/EXEs and placed in the corresponding subdirectory.
Tool creates dump_MemoryMap.txt with address ranges occupied by modules.
Usage:
viewimgfs.exe imgfs_raw_data.bin
RecMod.exe
Reconstructs a module dumped as directory to a working state. Rebuilds
relocations information, and tries to guess section names.
Usage:
RecMod.exe [path to module directory]
BuildImgfs.exe
Reverse of viewimgfs. Reconstructs imgfs_raw_data.bin and imgfs_removed_data.bin
from files in "dump" directory. Overwrites contents of imgfs_raw_data.bin/imgfs_removed_data.bin
files. Does not check for errors or end of free space. Approximate free space
left is displayed when program is finished. In case of error contents of bin
files is undefined.
Usage:
BuildImgfs.exe
It would overwrite imgfs_raw_data.bin/imgfs_removed_data.bin in current directory.
DelFile.exe
Deletes one file or module from imgfs_raw_data.bin. Wildcards are not supported.
Usage:
DelFile.exe filename.ext
Uses imgfs_raw_data.bin from current directory. Does not check for errors.
AddFile.exe
Adds one file to imgfs_raw_data.bin. Would reuse space freed by DelFile.
Usage:
AddFile.exe filename.ext
Uses imgfs_raw_data.bin from current directory. Does not check for errors.
The typical process should be:
prepare_imgfs.exe nk.nba
viewimgfs.exe imgfs_raw_data.bin
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
or
prepare_imgfs.exe nk.nba
DelFile.exe filename.ext
AddFile.exe filename.ext
...you may add/delete as many files as you need...
make_imgfs.exe nk.nba
Of cause you'll need a tool to convert NBF<->NBA files. SD-card images can be also used instead of NK.NBA file, but this was not tested!
Troubleshooting.
In case of invalid ROM the tools would crash without saying anything. In this case they may destroy the contents of input files.
Use these tools at your own risk! They may make your device completely unusable! Always make an SD-card backup of your ROM and Extrom!
The worst case I had during tests was complete destroying of DOC partition on my device. I had to flash WM2003 OS, repartition DOC from there and this fixed the device. Of cause this method cannot be used on Wizard or Universal.
I've published these tools so that someone could integrate BA patches into a ROM or play with cooking own ROMs.
edited 12.12.2005. AddFile/BuildImgfs should work on Universal/Wizard ROMS (i.e. roms with empty imgfs_removed_data.bin file).
edited 15.01.2005. Fixed a major bug found by TofClock. Short name of files with filename length 24 chars or longer (like "instmsgrresources.96.dll") was incorrectly generated and in some cases they were inaccessible by OS.
edited 05.02.2005. Added several checks so that viewimgfs.exe does not crash on incorrectly patched ROMs (MPX200). Don't use buildimgfs.exe on such ROMs.
edited 30.03.2006. Added RecMod tool that reconstructs modules dumped as directories to a working DLL. So reusing modules from other ROMs is now much easier. Added updated prepare_imgfs.exe with support of ACER N300 ROM (thanks to Tuatara).
edited 12.07.2006. Added source code of prepare_imgfs/make_imgfs tools, so anyone can add the support of new devices.
edited 25.10.2006. Published the source code on my site. The code is ugly and is not commented at all. Don't ask me how to compile or use it!
I've stopped working on this project. There would be no updates.
Complete source code is available on my site.
clustered
30th November 2005, 02:47 AM
mamaich,
can this be done on Alpine device??? Alpine that known as faster Himalaya also should be running WM5.....
thanks
baniaczek
1st December 2005, 12:47 PM
Looks nice :)
Some questions:
1. AddFile:
Can I add single file like
AddFile something.exe
or have I use 'modules as directories' [like directories dumped with ViewImgfs]
2. AddFile:
Is it possible to add files into directories not in \Windows? For example: "\Program Files\Something\something.exe"
3. Is it possible to modify the kernel? Can I extract and replace \Windows\fatfsd.dll?
Thanks in advance.
efjay
1st December 2005, 02:36 PM
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? Or are extra dll needed? Also is it necessary to use the other tool you linked to as it appears your tool can add and delete files itself? thanks
Edit: Forgot to add, thanks for your hard work.
ramram
1st December 2005, 03:12 PM
mamaiiiiichhhhh I was waiting those tools gr8 work mate, can you upload the modified rom that you already customized for testing it?
mamaich
2nd December 2005, 07:17 AM
1. AddFile:
Can I add single file like
AddFile something.exe
You can use both methods, but subdirs can be used only if you are really know what you are doing (i.e. you know all addresses of each section and 100% sure that they don't overlap some other modules and you've edited .VM and .ROM files). In most cases you should add EXE/DLL files as normal files.
Is it possible to add files into directories not in \Windows? For example: "\Program Files\Something\something.exe"
All files are placed into \windows dir and then moved by coldinit to subdirs according to instructions in initflashfiles.dat. Of cause you can modify that file as you like.
3. Is it possible to modify the kernel? Can I extract and replace \Windows\fatfsd.dll?
Boot part can be edited with http://forum.xda-developers.com/viewtopic.php?t=33321
ramram
There is no ROM I can release for public testing. I would not integrate my patches into the ROM, I'm working on adopting Wizard's ROM for our devices. But everything is on too early stage, I have to combine registry settings, ROM files, find and patch drivers for ROMs to work, etc. And Wizard's ROM is larger than ours, some files should be removed.
mamaich
2nd December 2005, 07:18 AM
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...I don't have any problems with IE.
ramram
2nd December 2005, 10:42 AM
mamaich,
I'll wait you then until you finish the wizard rom adoptation, I'll be glad trying it on the BA if you don't mind, consider my device for development purpose and beta testing if needed.
Concernig the IE, I have the same problems as Efjay mentioned earlier.
Thank you
baniaczek
2nd December 2005, 02:09 PM
@mamaich
Thank you for the answer. And thank you for your hard work [sinze Siemens SL45i].
efjay
2nd December 2005, 07:11 PM
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...I don't have any problems with IE.
mamaich, the problem is with viewing gif files. On this site using PIE i cannot see the quote button and other buttons below a post. Even manually opening a gif file on the BA opens PIE with a blank page.
buzz_lightyear
2nd December 2005, 08:00 PM
go mamaich!!!
;o)))
buzz
ramram
2nd December 2005, 09:45 PM
go mamaich!!!
;o)))
buzz
And GooO BuzZ ;)
zohaer21
2nd December 2005, 09:53 PM
how about buzz if you can with your know how get a bare minimum rom version of universal not having alot of crap like the various silly tsk files and other pictures and videos that serve as demos on the rom and not do anyting else..im sure alot of us use our own file explorers (resco,tc) so that can be removed aswell.. what do you think...??/
zohaer21
3rd December 2005, 06:22 AM
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
thanh_lam
7th December 2005, 11:48 PM
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
you can use this tool xda3nbftool.exe download from ftp for BA or Xda2nbftool.exe for Himalaya.
@Maimach
All the module files are Directory ??? How can I use these for my purpose ? But it Great work Maimach , go on!!!!!!
efjay
10th December 2005, 06:31 AM
I tried to use this tool to add two modules and then flash the finished nbf file but i get an error file is corrupt if i use BaUpgradeUt.exe. If i use MaUpgradeUt_noID.exe it seems to initialise but no rom info is shown on the upgrade screen. Continuing the rom upgrade nothing then happens then a message comes up that the upgrade is finished. Soft reset and back to normal. I followed mamaichs instructions and everything seemed to go ok. Any idea why it didnt work for me?
KTamas
10th December 2005, 05:56 PM
Yeah, go Mamaich, you rock. After the Wizard ROM on the BA, the next step could be a complete ROMkitchen (á lá Wallaby...).
KTamas
10th December 2005, 06:17 PM
Stupid question, where can I find the NBF<->NBA converter? (Yes, i did search the forums)
gimpdog
11th December 2005, 01:49 AM
ftp://xda:xda@ftp.xda-developers.com/BlueAngel/Tools/UpgradeTools.rar
and this page for info
http://wiki.xda-developers.com/index.php?pagename=BA_GettingStarted
gimpdog
11th December 2005, 01:57 AM
@efjay
did you use the -sd -sl -so and the -c -u options in xda3nbftool? Thats where i went wrong first time.
efjay
11th December 2005, 05:04 AM
@gimpdog, yes that is what i used. What should be the correct command to issue? Thanks
KTamas
11th December 2005, 07:32 AM
ftp://xda:xda@ftp.xda-developers.com/BlueAngel/Tools/UpgradeTools.rar
and this page for info
http://wiki.xda-developers.com/index.php?pagename=BA_GettingStarted
I completelly forgot xda3nbftool :oops: Thanks.
KTamas
11th December 2005, 07:42 AM
Mamaich, how much free space are there exactly in your Himalaya WM5 ROM ported to BA?
Topogigi
11th December 2005, 11:27 PM
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?
mamaich
12th December 2005, 12:49 AM
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.
mamaich
12th December 2005, 01:34 AM
I've updated tools, they should not crash on Universal ROMs
gimpdog
12th December 2005, 01:55 AM
@efjay look in the editfix.bat file as it tells you what to use. My exact commands wouldn't work for you as I've got the Harrier.
efjay
12th December 2005, 04:55 AM
@gimpdog, this is what i ra
xda3nbftool -x nk.nbf nk.nba 0x20040521
xda3nbftool -sd PH20B -so O2___001 -sl WWE nk.nba
xda3nbftool -c -u NK.nba
xda3nbftool -x nk.nba nk.nbf 0x20040521
I also tried
xda3nbftool -x nk.nbf nk.nba 0x20040521
then
xda3nbftool -x nk.nba nk.nbf 0x20040521
and then ran the first set of commands again to fix the nbf. I still get the same error. I would appreciate if you could tell me where you think im going wrong. Thanks
Topogigi
12th December 2005, 08:47 AM
I've updated tools, they should not crash on Universal ROMs
....and they really do not crash anymore. Thanks, Mamaich! :D
milklok
12th December 2005, 09:20 AM
Does anybody sucessfully modify the Wizard ROM and flash back to their Wizard? Any thing to concern?
I would like to try to cook my own Wizard ROM but am afraid that I will turn it to brick... :roll:
Topogigi
12th December 2005, 01:24 PM
I succeeded in modifying the Universal QTEK WWE rom (added all the .dll.mui from an italian dump) and flashed the rom back to the device. All the files are in ROM, now and all worked flawlessly.
Many thanks to Mr. Mamaich, this is the beginning of a new era. Everyone could customize its WM5 native environment! :)
@ Mamaich: I used your tool to dump the content of the \Windows directory of a friend's device to achieve all the .dll.mui I needed to localize my device. Some of them are archived as files, some as modules. Looking into the content of the original WWE rom, I discovered that most of the .dll.mui are modules.
When I flashed my modified ROM back to the device, I noticed that some .dll.mui are really doing their job, the others being simply ignored from the OS (you can easily test that by opening a program and trying to delete the corresponding .dll.mui while the program's running: if a .dll.mui is in use it cannot be deleted!)
Now the question: is the last version of your WM5 file dumper capable of extracting a .dll.mui correctly or since it is a module it needs a bit of hacking before you can us it as a file? Hope that my question is clear enough... :roll:
buzz_lightyear
12th December 2005, 01:57 PM
[quote="Topogigi"]
When I flashed my modified ROM back to the device, I noticed that some .dll.mui are really doing their job, the others being simply ignored from the OS (you can easily test that by opening a program and trying to delete the corresponding .dll.mui while the program's running: if a .dll.mui is in use it cannot be deleted!)quote]
Hi Topogigi,
not all mui files are loaded after boot.
You can attach your device to PlatformBuilder via KITL to see, why those mui files are not loaded.
buzz
Topogigi
12th December 2005, 02:11 PM
Hi Buzz,
I'm sure that some .dll.mui are not loaded neither at boot time neither at runtime, cause I manually copied the italian .dll.mui extracted from a dump in the \Windows directory. Then I launched the correponding application and tried to delete the .dll.mui when the application was still alive and running. When the .dll.mui is loaded in memory, you simply cannot delete it (it's in use).
So, my problem is: Why some .dll.mui extracted from a dump do work and some others do not work even if they are injected into the rom?
My answers actually are:
1) Some .dll.mui are dumped from the \Windows directory not correctly and they are not exactly the same as the original.
2) Some .dll.mui are modules and they have to be modules to be correctly recognized from the related application. If you load them in ROM as files, they are simply ignored by the OS.
What do you think about it?
Thank you very much for your answer!
baniaczek
13th December 2005, 01:19 AM
@Topogigi
I think your MUIs are not perfect from technical point of view.
I'm trying to do the same, but using polish localization.
I've got *.0415.mui from buzz_lightyear [many, many thanks, buzz]. I think, they are extracted from Wm5 PLK emulator.
They are good enough to put them into \windows, but nothing more.
I cann't edit them. Only "Resource Hacker" and "eVc [open as resource]" are able to open my MUI. Other resource editors fails.
Nor "Resource Hacker" nor "eVc" can properly edit and save MUI.
Even modified and saved - MUI files are destroyed.
Try this: open MUI, edit any string from any stringtable, save, deploy and try it. I've got a lot of garbages.
Do the same with MUI extracted from CAB. For example "WirelessMgr.exe.0409.mui (2.0.0.0)" from http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Patches_142 - no problems.
I've decided to rebuild all MUIs from scratch, using [old] extracted MUIs as a template only.
gimpdog
13th December 2005, 02:31 AM
@efjay everything looks good. the only thing i see is that your -so and -sl are backwards from the editfix.bat example but i don't think it should matter. sorry i couldn't be of more help.
efjay
13th December 2005, 03:06 AM
@gimpdog, yeah i think im just out of luck with this. Thanks for the help anyway.
mamaich
13th December 2005, 05:19 AM
When I flashed my modified ROM back to the device, I noticed that some .dll.mui are really doing their job, the others being simply ignored from the OS (you can easily test that by opening a program and trying to delete the corresponding .dll.mui while the program's running: if a .dll.mui is in use it cannot be deleted!)If you add new modules to ROM (which are dumped as directories), you should check that they don't overlap any of the other modules - look into dump_MemoryMap.txt. Otherwize the behaviour is undefined, in the best case the DLLs would not load, in the worst - the device would not boot. You can try to reconstruct directories as normal DLLs, this is possible, but I never had time to write such tool. Or you can dump MUI DLLs with my "TestWM5" tool posted somewhere on this forum. It would produce invalid modules (they would not load on device), but they can be opened in any resource editor, resources can be extracted correctly and placed to working DLLs.
KTamas
13th December 2005, 06:23 AM
I have a few questions...
1. What happenes if i change the ROM version from XDA3NbfTool with -sv? A different version appears at the bootscreen and at device information and that's it?
2. Do I have to use -sd -so -sl when i re-make the cooked ROM?
3. Can I edit the registry of the dump somehow?
Topogigi
13th December 2005, 06:38 AM
If you add new modules to ROM (which are dumped as directories), you should check that they don't overlap any of the other modules - look into dump_MemoryMap.txt. Otherwize the behaviour is undefined, in the best case the DLLs would not load, in the worst - the device would not boot. You can try to reconstruct directories as normal DLLs, this is possible, but I never had time to write such tool. Or you can dump MUI DLLs with my "TestWM5" tool posted somewhere on this forum. It would produce invalid modules (they would not load on device), but they can be opened in any resource editor, resources can be extracted correctly and placed to working DLLs.
Thanks, Mamaich, for your reply. But the .dll.mui I tried to insert into the new rom I cooked were already extracted with "TestWM5" form an original italian device. So I added them to the ROM as files and not as modules.You do confirm what i supposed, i.e. some of the .dll.mui extracted are not good (probably the ones that were modules on the original device). I'll try the resource editor way and report the results...
Asukal
13th December 2005, 06:44 AM
ya ya! thanks! mamaich, it was not crashed and can be replaced file on my universal rom!
and i am trying to flash it to mime!
split nk.nbf to nba file with alpinenbfdecode.pl as Mamaich's recture.
then proceed ROM Editor to replace wince.nls(original 240kb and rplaced to 1.5MB)
but it can boot! miracle! thanks mamaich! this rom will help many asian poeple, such like a Chinese / Japanese / Korean /Thailand!
I wanna kiss you mamaich very much! :D :D :D :D
Topogigi
13th December 2005, 06:45 AM
@Topogigi
I think your MUIs are not perfect from technical point of view.
I'm trying to do the same, but using polish localization.
I've got *.0415.mui from buzz_lightyear [many, many thanks, buzz]. I think, they are extracted from Wm5 PLK emulator.
They are good enough to put them into \windows, but nothing more.
I cann't edit them. Only "Resource Hacker" and "eVc [open as resource]" are able to open my MUI. Other resource editors fails.
Nor "Resource Hacker" nor "eVc" can properly edit and save MUI.
Even modified and saved - MUI files are destroyed.
Try this: open MUI, edit any string from any stringtable, save, deploy and try it. I've got a lot of garbages.
Do the same with MUI extracted from CAB. For example "WirelessMgr.exe.0409.mui (2.0.0.0)" from http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Patches_142 - no problems.
I've decided to rebuild all MUIs from scratch, using [old] extracted MUIs as a template only.
Thank you very much, I'll try this way!
zohaer21
13th December 2005, 08:06 AM
is there any chance i can end up screwing my device up (harm the bootloader) with these tools...i wanna experiment but dont wanna end up in a situation where i cant flash the original rom onto the device via usb method
mamaich
13th December 2005, 08:36 AM
...You do confirm what i supposed, i.e. some of the .dll.mui extracted are not good (probably the ones that were modules on the original device). I'll try the resource editor way and report the results...More info is here - http://forum.xda-developers.com/viewtopic.php?t=34560
mamaich
13th December 2005, 08:44 AM
is there any chance i can end up screwing my device up (harm the bootloader) with these tools...i wanna experiment but dont wanna end up in a situation where i cant flash the original rom onto the device via usb methodMy tools don't touch bootloader. But something can go wrong in a modified OS and it can trash everything on your device. The worst case I had - my DOC was completely destroyed (it was a fault in a trueffs driver). I cannot guarantee that you would not destroy your device with ROM images produced with my tools! Even the official ROM upgrade can potentially kill bootloader.
TofClock
13th December 2005, 09:12 AM
hello mamaich , very good work ...
It appears , when i use viewimgfs.exe , a file called "dump_MemoryMap.txt" that contains offset of modules in rom , isn't it ?
but not all modules ...
i've tried to do this in 1.62c.07 (XDAII) and replace module "bbres.dll.0804.mui" directly by "bbres.dll.0409.mui" ....
but there is a problem ....
0.409 is bigger than 0804 and if i use DelFile>AddFile , begin of 0409 file is in place of 0804 file (offset #DDxxxxh in .nba) but the end is at #18CxxxxH .....
if i try to change directly the module , with viewimgfs ... how to change offset or modify the module sizy in rom ?
buzz_lightyear
13th December 2005, 12:16 PM
hey TofClock!
where have you been?
:o)
buzz
KTamas
13th December 2005, 04:44 PM
Just finished my very first cooked WM5 ROM :) Worked very well, althought i have just removed some stuff from the ROM for the first step...step two, adding custom stuff, coming up...
Asukal
13th December 2005, 05:32 PM
i tired to make many vesions of ROM,
Biggest one is 8.4MB font and 1.5MB wince.nls can be injected and
able to flash to rom. of course my Universla could be bootable.
The Total Storage and Program memory was 43.72MB and around 50MB.
Just same as before.
The free momory also same. this means the ROM has very wasted space
in it.
Now spurprised! so much!
KTamas
13th December 2005, 06:21 PM
WARNING: It seems that this tool is not perfect yet...serveral files in the cooked ROM were damaged...for me, it was:
instmsgrresources.96.dll (this causes that MSN messenger can not load at all...I manually extracted this .dll from the Pocket MSN install CAB and copied back to device, now it works)
PACE_3GPDEMUX_FILTER.DLL
PACE_FileDump_Filter.DLL
PACE_MP4VEncoder_DMO.DLL
PACE_NBAMRDec_Filter.DLL
PACE_WBAMRDec_Filter.DLL
(I assume these PACE* stuff some sort of codecs for the OS, but i have tried to play mp4 files with TCPMP and it worked)
Edit: I found this about PACE: http://www.pace-softsilicon.com/products/Products.htm
...and two files I've added. I had something like this at the first cooked rom too (this was my second).
Asukal
13th December 2005, 07:19 PM
i have found follows
i injected same Japanes font into 2 different ROM image.
Qtek900 and O2,
And also i placed cab files which can edit fontregistry automatilay,
also small aplications from ExtROM
But result was different.Of course used same edited Extrom.
On the Qtek, the registry and small aplli can enable,
But on O2 ROM, everything ignored at all!
Tried to many times, got same result!
SO i think O2 has heavy security in Defaul.
This was one of reasons that mui or some dll can not used , ???
mamaich
14th December 2005, 12:58 AM
It appears , when i use viewimgfs.exe , a file called "dump_MemoryMap.txt" that contains offset of modules in rom , isn't it ?
but not all modules ...It contains only "modules". I.e. files that are fixed in memory and are dumped as directories. Im 2003SE they were called XIP, I don't know how they are called in WM5.
KTamas
Probably these files overlap some other files in dump_MemoryMap.txt
Dump your modified ROM and look for the output of viewimgfs. It would write "Ram Address: %08X (%s) overlapps '%s'" in this case.
Topogigi
14th December 2005, 08:36 AM
i have found follows
i injected same Japanes font into 2 different ROM image.
Qtek900 and O2,
And also i placed cab files which can edit fontregistry automatilay,
also small aplications from ExtROM
But result was different.Of course used same edited Extrom.
On the Qtek, the registry and small aplli can enable,
But on O2 ROM, everything ignored at all!
Tried to many times, got same result!
SO i think O2 has heavy security in Defaul.
This was one of reasons that mui or some dll can not used , ???
Qtek rom ships with security prompts disabled by default. All the other ROMS i used need the tool attached to this post to load .mui correctly.
TofClock
14th December 2005, 09:00 AM
hey TofClock!
where have you been?
:o)
buzz
A lot of work buzz , and no time to play with my phone :)
Asukal
14th December 2005, 09:00 AM
i have found follows
i injected same Japanes font into 2 different ROM image.
Qtek900 and O2,
And also i placed cab files which can edit fontregistry automatilay,
also small aplications from ExtROM
But result was different.Of course used same edited Extrom.
On the Qtek, the registry and small aplli can enable,
But on O2 ROM, everything ignored at all!
Tried to many times, got same result!
SO i think O2 has heavy security in Defaul.
This was one of reasons that mui or some dll can not used , ???
Qtek rom ships with security prompts disabled by default. All the other ROMS i used need the tool attached to this post to load .mui correctly.
@Topogigi
Thanks! but i already have it.
on The O2
the problem is, the CAB of my original Registry from Extrom / Appli CAB i located from Extrom will be not allowed to install or reconizedafter hard reset
no chance to use this program amoung the time after hard reset.
(some of them can installed, but once i try to excute that, the eror will come, but i install same cab manualy, those cab can be usefll on the O2)
Exaple, i injected Japanese FONT into OS ROM, then font registry to register this as SYstem font is from ExtRom.
on the QTEK ROM i can see the DATE on Today in Japanese perfectry.
on the O2 ROM i couldnt see the date in Japanese.and check the registry,
no regsitry was imported from ExtRom.
TofClock
16th December 2005, 08:43 AM
Hi Mamaich
I want to inject a new boot.rgu in a rom file , how to do this ???
buzz_lightyear
16th December 2005, 09:20 PM
Hi Mamaich
I want to inject a new boot.rgu in a rom file , how to do this ???
boot.rgu is not enough. it is just used to generate boot.hv which is then used at boot.
So you need to have both on your device.
boot.rgu is a plain text file, which you can edit to your liking.
boot.hv is a 'hive' file in some new database format and must be generated.
I can generate boot.hv for you out of your boot.rgu file on monday.
mamaich can do the same for you, if he has time to.
also bare in mind, that boot.hv is just for initial boot phase.
once boot phase 0 is completed and some basic set of drivers are loaded + compressed filesystem is mounted, there is default.hv loaded and this can (and it will) override your settings from boot.hv
buzz
KTamas
17th December 2005, 07:55 AM
How can I re-generate default.hv with rgucomp.exe? I'm able to export it ("rgucomp.exe -o dump\default.hv -nologo > default.rgu"). I even put "REGEDIT4" in the first line of the file, but RGUcomp gives me the following error:
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
ExtractPackageFiles: (RGUComp) !ERROR unable to find packages matching ".\Packages"
GenerateDefaultHives: (RGUComp) !ERROR unable to extract all .rgu files from packages
wmain: (RGUComp) !ERROR failed building DEFAULT hives
I've also tried to put default.hv/default.rgu/boot.hv/boot.rgu into a "Packages" folder; same error.
zohaer21
17th December 2005, 09:58 AM
hi
what command should i use to convert nk.nbf into nk.nba using xda3nbftool.exe
thanks
KTamas
17th December 2005, 10:14 AM
hi
what command should i use to convert nk.nbf into nk.nba using xda3nbftool.exe
thanks
xda3nbftool.exe -x nk.nbf nk.nba 0x20040521
Then fix your country/device/language code, dump, edit, etc., but before you convert back your nk.nba to nk.nbf, do this:
xda3nbftool.exe -c -u nk.nba
then do
xda3nbftool.exe -x nk.nba nk.nbf 0x20040521
bepe
19th December 2005, 07:18 AM
is there any chance to dump Windows Mobile 5.0 Emulator Images
TofClock
19th December 2005, 09:43 AM
I know how to change boot.rgu file and how to generate the boot.hv file , but i don't know how to inject it on nba file ....
Another thing ... when we flash the phne , how is generated the registry ??
i've think that the registry is generated by all the rgu file :
0cf44-112-44-....rgu and other ....
i've tried to modify them and reinject in nba file , but after flash , the file in /windows are changed , but not the registry ....
buzz_lightyear
19th December 2005, 09:50 AM
How can I re-generate default.hv with rgucomp.exe?
try to rename default.rgu to boot.rgu.
Then run it through rgucomp to get boot.hv.
Rename boot.hv to default.hv.
hmm..maybe it will work...
buzz
bepe
19th December 2005, 04:42 PM
is there any chance to dump Windows Mobile 5.0 Emulator Images
(B000FF)
D:\prepare_imgfs.exe D:\PPC_GER_GSM_VR.BIN
returns: Searching for IMGFS start... Not found!
D:\viewimgfs.exe D:\PPC_GER_GSM_VR.BIN
returns: Unable to load compression DLL!
and after splitrom.pl the same
dumprom.exe works but I need the modules
or is anyone in possession of a German ROM(WM05)? I cant finde one :cry:
Is it posible to convert .hv to .rgu
the other direction is simple -> thanks to mamaich
TofClock
19th December 2005, 05:03 PM
try this in a dos prompt :
rgucomp.exe /?
you have 3 options for rgucomp
-b to generate a .hv file with a .rgu file
-nologo is to not display the copyright of rgucomp
-o is to extract the rgu file of a .hv file ...
KTamas
19th December 2005, 06:01 PM
try this in a dos prompt :
rgucomp.exe /?
you have 3 options for rgucomp
-b to generate a .hv file with a .rgu file
-nologo is to not display the copyright of rgucomp
-o is to extract the rgu file of a .hv file ...
I've done this...Gonna try what buzz said.
bepe
19th December 2005, 06:35 PM
:oops: ok that is simple too
now the same question: How to inject
I think you allready know
RegistryHiveROMDependency (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50conRegistryHiveROMDependency.asp)
but it was interesting for me
I cant find anything about .rgu files
KTamas
19th December 2005, 06:48 PM
Okay, renamed default.rgu to boot.rgu, then ran rgucomp -b, and got this error:
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
InitRegistry FAILED in file ".\boot.rgu" within a few lines of line 1.
BuildBootHive: (RGUComp) !ERROR failed importing ".\boot.rgu"
wmain: (RGUComp) !ERROR failed building BOOT hive
KTamas
19th December 2005, 07:21 PM
How can i make the ROM perform an action after a hard reset? I mean executing a specified file (it is importing a .reg file via TRE via command line options, but i want to do it after a hard reset, automatically)
bepe
19th December 2005, 08:33 PM
@KTamas
your .rgu format is wrong
MS-Editor "Save As..." and select Unicode
KTamas
19th December 2005, 08:37 PM
@KTamas
your .rgu format is wrong
see the two files, both have the same content in MS Editor
but different filesize
open those files in a hex-editor
So i need them in unicode...thanks.
Edit: YES! Finally working! Thank you very much :) I can now integrate everything straight into the ROM, the patches, the apps...anything! woohoo! :)
bepe
19th December 2005, 09:05 PM
@KTamas
how did you dump your .hv files
and how to put them back?
KTamas
19th December 2005, 09:06 PM
@KTamas
how did you dump your .hv files
and how to put them back?
To dump:
rgucomp -o dump\default.hv -nologo > default.rgu
Put "REGEDIT4" into the first line, then add your registry keys, etc.
rename default.rgu to boot.rgu, then:
rgucomp -b
Then rename the generated boot.hv to default.hv.
bepe
19th December 2005, 09:09 PM
sorry,
how did you get them out of the nba image
and how to put them back
KTamas
19th December 2005, 09:29 PM
sorry,
how did you get them out of the nba image
and how to put them back
With mamaich's tools:
(From the readme)
The typical process should be:
prepare_imgfs.exe nk.nba
viewimgfs.exe imgfs_raw_data.bin
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
KTamas
19th December 2005, 09:33 PM
Right now I've finished building a ROM with almost all patches included and serveral applications, edited initflashfiles.dat and registry, gonna flash it now.
(gosh, i hate reinstalling my PDA every day...but it is worth it for playing with ROMs, lol)
bepe
19th December 2005, 09:46 PM
:roll: Ok the file was hidden
I'm still searching a german WM5 ROM or a way to dump Emulator Images
buzz_lightyear
19th December 2005, 10:00 PM
:roll: Ok the file was hidden
I'm still searching a german WM5 ROM or a way to dump Emulator Images
what exactly do you need from german wm5?
buzz
KTamas
19th December 2005, 10:14 PM
Whoops, I guess i messed up my initflashfiles.dat file somehow, cause the rom I've flashed had some, uhm, problems (read: initflashfiles.dat was not executed, no welcome screen, etc., empty start menu with only "today" and "coldinit" items, etc....). Flashing again :roll:
Edit: okay, now it works, restored the original initflashfiles.dat. Now, time to reinstall some applications :roll:
KTamas
19th December 2005, 10:29 PM
Okay, now i have a ROM with 98% of the patches (everything except midi, currently) and some additional software. If i figure out what went wrong in initflashfiles.dat, i will have some custom shortcuts in the start menu as well.
bepe
19th December 2005, 10:35 PM
I nead all german files (.mui, .htm, .txt, .dat, .hv)
and a working TranRecoDeu.dll v2.0
(@buzz_lightyear: I PM'd you)
Asukal
19th December 2005, 10:41 PM
I nead all german files (.mui, .htm, .txt, .dat, .hv)
and a working TranRecoDeu.dll v2.0
(@buzz_lightyear: I PM'd you)
to dump the emu image
you'll need any windows port of perl. I use ActivePerl -
http://www.activestate.com/Products/ActivePerl/
B000F to the NB format with the command:
perl splitrom.pl PPC_USA_GSM_VR.BIN -wo ROM.BIN -oe 0x82000000
and then dump it as a normal rom:
dumprom.exe ROM.BIN -5 -d C:\ROM_DUMP
mr,mamaich teached me in past
bepe
19th December 2005, 10:55 PM
dumorom.exe tries to reconstruct .dll and .exe files with a standard part at the beginning, this works to get the resurses.
I tried to transfere the TraRecoDeu.dll, extracted with dumorom.exe, from ENG-emu-image to GER-emu-image, but it didn't work
so I nead them as module
Asukal
19th December 2005, 11:02 PM
dumorom.exe tries to reconstruct .dll and .exe files with a standard part at the beginning, this works to get the resurses.
I tried to transfere the TraRecoDeu.dll, extracted with dumorom.exe, from ENG-emu-image to GER-emu-image, but it didn't work
so I nead them as module
i did dumped all of mui, .htm, .txt, .dat, .hv from bin-emulator image with this way. chinese emu, japanese, english.
if you couldn't, i will do for you. pls send me a german Emuimage.
bepe
19th December 2005, 11:07 PM
mui, .htm, .txt, .dat, .hv are working.
.dll and .exe files are the problem.
but thanks
Asukal
19th December 2005, 11:13 PM
mui, .htm, .txt, .dat, .hv are working.
.dll and .exe files are the problem.
but thanks
i see.
celiruss
19th December 2005, 11:58 PM
well.. this is driving me insane...
I've been trying to convert my edited default.rgu back to hv... tried the renaming to boot.rgu, and keep getting errors...
I also made sure it's unicode w/the REGEDIT4 line on top
C:\WINCE500>rgucomp -b
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
BuildBootHive: (RGUComp) !ERROR unable to mount hive file ".\boot.hv"
wmain: (RGUComp) !ERROR failed building BOOT hive
celiruss
20th December 2005, 12:02 AM
nevermind.. i'm an idiot
celiruss
20th December 2005, 02:52 AM
well.. i successfully used these tools and have my nk.nba ready to go, but for some reason, when I try to use xda3nbftool to create the nbf, it gives me an error
xda3nbftool -e nk.nba nk.nbf 0x20040521
WARNING: this does not look like a nbf header
WARNING: checksum is not ok
I personally am very new at this and would appreciate a little push in the right direction.
Thanks
TofClock
20th December 2005, 09:07 AM
try to run first :
"xda3nbftool -c -u nk.nba" to update the checksum file
and after
"xda3nbftool -x nk.nba nk.nbf 0x20040521"
celiruss
20th December 2005, 07:58 PM
thanks.. that worked great, although the edit I made didn't help trying to get the BA wm5 rom to the cdma version...
anyone happen to know what the .dsm files are? It seems as if they're a binary version of the rgu files in the wm5 dump
celiruss
20th December 2005, 08:08 PM
once again, i found my answer... i should really search before posting :roll:
buzz_lightyear
20th December 2005, 09:19 PM
once again, i found my answer... i should really search before posting :roll:
to which one of your questions you've found the answer?
THANX
buzz
celiruss
20th December 2005, 09:22 PM
regarding the dsm and rgu's.
I edited the rgu w/a text editor, rgu w/a hex editor.
I'm currently backing up my device and am about to try to flash it to wm5 and see if i get the no gsm error *crosses fingers*
buzz_lightyear
20th December 2005, 09:25 PM
regarding the dsm and rgu's.
...and the answer is... ???
thanx and good luck
buzz
celiruss
20th December 2005, 09:28 PM
i'm not quite sure what the answer is, but it looks like all the rgu's and dsm's in the windows dir get added to the registry on boot, which is why editing only the system.hv didn't work.
buzz_lightyear
20th December 2005, 09:36 PM
i'm not quite sure what the answer is, but it looks like all the rgu's and dsm's in the windows dir get added to the registry on boot, which is why editing only the system.hv didn't work.
i'm asking, coz I have no idea, what the .dsm files are exactly.
but my guess is, that they are some signatures/certificates or checksums of the packages.
well, i'm not quite sure, what do they call packages, but my guess is, that instead of XIP blocks (wm2003), we have now packages, where each package has it's own registry part (.rgu) and can be upgraded independent from the rest of OS/packages over the air (OTA) using imageupdate feature.
but as I said... just guessing...
buzz
celiruss
20th December 2005, 09:43 PM
yeah.. i'm just guessing as well..
how long does it take for the white screen to go away after you hit the mail icon?
buzz_lightyear
20th December 2005, 09:49 PM
some info regarding .hv files:
http://blogs.msdn.com/ce_base/archive/2005/09/22/472807.aspx
buzz
celiruss
20th December 2005, 09:52 PM
yeah.. i already read that... right now i've got the rom loaded, changed the options in the stripe screen, hit the mail icon, i got the white screen, but it seems to be sitting there for quite some time... don't know if it's hung or not.
KTamas
20th December 2005, 09:58 PM
yeah.. i'm just guessing as well..
how long does it take for the white screen to go away after you hit the mail icon?
I think max. 10-15 secs, maybe 20. If it is still white after a minute, it is definatelly not right. I've created some ROMs not for testing, and one had wrong data in .VM and .ROM (I've basicly combinded the Himalaya-to-BA port ROM with BA WM5 v3's .VM and .ROM), it ended up that it hanged on the white screen forever after pressing the mail icon. So be very careful with .VM and .ROM, also with combining ROMs.
(Of course, i could still get into the bootloader and flash an another ROM)
buzz_lightyear
20th December 2005, 10:02 PM
some info regarding .hv files:
http://blogs.msdn.com/ce_base/archive/2005/09/22/472807.aspx
actually the last paragraph of that blog is very interesting...
how about to have empty default.hv and user.hv?
if I got it right, system.hv and user.hv will be generated on coldboot out of the .rgu files.
The Image Update technology in Windows Mobile 5.0 includes a mechansim for updating the ROM registry hives without destroying the contents of the "RAM" hives on persistent storage. This registry update consists of 3 basic steps:
1) Export the existing RAM hive contents to a text file. This would be dificult to mimic programatically since there is no way for an application to enumerate only the RAM hives without enumerating the ROM hives, as well.
2) Rebuild the ROM hives based on .rgu registry files (just Unicode .reg files, used by WM in the past). This is essentially equivalent to just replacing the .hv files in ROM, or updating to a new nk.bin.
3) Import the text file exported in step #1 into new RAM hives. This could be done with a simple application that runs on early boot after an update.
Again, it would be difficult to mimic this process exactly because there is no way to perform a RAM-hive-only export in step #1 (especially if you want to somehow export deleted keys and values, which can't be enumerated at all).
buzz
celiruss
20th December 2005, 10:04 PM
yeah.. i'm just guessing as well..
how long does it take for the white screen to go away after you hit the mail icon?
I think max. 10-15 secs, maybe 20. If it is still white after a minute, it is definatelly not right. I've created some ROMs not for testing, and one had wrong data in .VM and .ROM (I've basicly combinded the Himalaya-to-BA port ROM with BA WM5 v3's .VM and .ROM), it ended up that it hanged on the white screen forever after pressing the mail icon. So be very careful with .VM and .ROM, also with combining ROMs.
(Of course, i could still get into the bootloader and flash an another ROM)
what do you mean by .vm?
I pretty much took the v3 nbf and edited the hv's, and added the rilphone.dll from the alpine ... but yeah.. it took over 2 minutes for the white screen, so i'm back at a 2k3 rom for now
KTamas
20th December 2005, 10:06 PM
Also, at these days of hard resets (I'm constantly playing with ROMs now...) I've mastered the technique how to reinstall and configure my BA in 30-40 mintues :lol: But now I have a ROM, that has:
- Camera works by default (the 2003SE app)
- Patches (Album, files, backlight etc... i had a little problem with midi, so it is not working, but i don't use midi ringtones anyways)
- Removed File Explorer, added Total Commander 2.0
- Removed Calculator, added Eval Calculator
- Removed Download Agent (useless...)
- Added couple of freewares i use frequently
- All the registry speed tweaks
- Created shortcuts for custom apps
The last step is now editing the initflashfiles.dat for putting the shortcuts into the start menu, then editing initflashfiles.dat with some hexa editor, cause notepad puts two bytes at the beginning the file, and WM5 does not likes it (i got once a ROM with an edited initflashfiles.dat with notepad, the OS could not recognize it....i got an OS with an almost empty start menu, etc.). The fix is that (according to mamaich, have not tried yet), you have to delete the first two bytes of the file, or modify to be 3B 00 (";" - a comment), using any hex editor. Gonna do that tomorrow i guess. Now I have ROM where i only have to configure the control panel and install like 6 or 7 cabs and configure the apps, and i don't have to apply the patches at all.
Two known bugs:
1. MSN messenger is not working by default. I have to manually copy a .dll to \Windows, then it works.
2. Messaging is not working at all, not sure why. When i press "new", the "X" button changes to "OK" for a sec, but nothing happens, no new window to type in the message etc. If I recive an SMS, i get the notification, i can read it, but if i try to read a message in inbox, i can't. I can read the messages thru pocketBreeze though. I'll try WebIS Mail and see if it works, cause i have it (though not touched it since a while), and it works with SMSes, as far as i know.
celiruss
20th December 2005, 10:07 PM
some info regarding .hv files:
http://blogs.msdn.com/ce_base/archive/2005/09/22/472807.aspx
actually the last paragraph of that blog is very interesting...
how about to have empty default.hv and user.hv?
if I got it right, system.hv and user.hv will be generated on coldboot out of the .rgu files.
The Image Update technology in Windows Mobile 5.0 includes a mechansim for updating the ROM registry hives without destroying the contents of the "RAM" hives on persistent storage. This registry update consists of 3 basic steps:
1) Export the existing RAM hive contents to a text file. This would be dificult to mimic programatically since there is no way for an application to enumerate only the RAM hives without enumerating the ROM hives, as well.
2) Rebuild the ROM hives based on .rgu registry files (just Unicode .reg files, used by WM in the past). This is essentially equivalent to just replacing the .hv files in ROM, or updating to a new nk.bin.
3) Import the text file exported in step #1 into new RAM hives. This could be done with a simple application that runs on early boot after an update.
Again, it would be difficult to mimic this process exactly because there is no way to perform a RAM-hive-only export in step #1 (especially if you want to somehow export deleted keys and values, which can't be enumerated at all).
buzz
Yeah.. I read that, but if i've edited the .hv and the rgu/dsm that have the entries that I want, they should have the correct reg entries, don't you think?
I'm wondering if there's something else that's pointing to the gsm radio...
I should open up the alpine rom, but i can't find the password for it unfortunately
celiruss
20th December 2005, 10:09 PM
Also, at these days of hard resets (I'm constantly playing with ROMs now...) I've mastered the technique how to reinstall and configure my BA in 30-40 mintues :lol: But now I have a ROM, that has:
- Camera works by default (the 2003SE app)
- Patches (Album, files, backlight etc... i had a little problem with midi, so it is not working, but i don't use midi ringtones anyways)
- Removed File Explorer, added Total Commander 2.0
- Removed Calculator, added Eval Calculator
- Removed Download Agent (useless...)
- Added couple of freewares i use frequently
- All the registry speed tweaks
- Created shortcuts for custom apps
The last step is now editing the initflashfiles.dat for putting the shortcuts into the start menu, then editing initflashfiles.dat with some hexa editor, cause notepad puts two bytes at the beginning the file, and WM5 does not likes it (i got once a ROM with an edited initflashfiles.dat with notepad, the OS could not recognize it....i got an OS with an almost empty start menu, etc.). The fix is that (according to mamaich, have not tried yet), you have to delete the first two bytes of the file, or modify to be 3B 00 (";" - a comment), using any hex editor. Gonna do that tomorrow i guess. Now I have ROM where i only have to configure the control panel and install like 6 or 7 cabs and configure the apps, and i don't have to apply the patches at all.
[/list][/list]
nice... i'm just trying to get wm5 to boot on the cdma blue angel... which is seemingly a bit more difficult than i thought ;)
celiruss
20th December 2005, 10:54 PM
since i'm already polluting this thread, do any of you know if ril.dll varies from cdma to gsm?
buzz_lightyear
20th December 2005, 10:55 PM
nice... i'm just trying to get wm5 to boot on the cdma blue angel... which is seemingly a bit more difficult than i thought ;)
i guess, you'd need different ril dlls
buzz
celiruss
20th December 2005, 10:57 PM
excellent.. i'm going to try that out once i get back from lunch
buzz_lightyear
20th December 2005, 11:04 PM
excellent.. i'm going to try that out once i get back from lunch
it's not healthy having lunch so late in the night... :o)))))
buzz
celiruss
20th December 2005, 11:18 PM
it's only 2:20pm my time :D
bepe
21st December 2005, 12:38 AM
found this in default.hv
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpd ate]
"packages.sof"=hex:C0,D2,F7,B4,41,81,71,EE,4E,4C,5F,9B,18,09,92, 54
"dceeb73d-873e-4f6d-a112-5680183f217a.rgu"=hex:9D,97,12,B5,09,95,25,8E,BE,DA,D2,AE,5C,86,24, 25
...
"boot.rgu"=hex:1D,A1,1D,65,60,66,B1,0A,E7,70,0F,95,D9,ED,0A, EC
celiruss
21st December 2005, 12:42 AM
what exactly does that mean?
bepe
21st December 2005, 12:55 AM
All .rgu are listed there.
maybe we will be able to add our own packages.
unless we know what packages are :?
celiruss
21st December 2005, 12:58 AM
oh. gotcha.. i've already looked through all of them and edited the needed ones trying to find the file that might be preventing wm5 to boot on cdma..
bepe
21st December 2005, 01:18 AM
I dont know what cdma is but preventing wm5 to boot on ... can be found in the default.hv
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ ...]
"MountFlags"=dword:6
"Folder"=""
"PartitionDriver"=""
"Name"=""
"DefaultFileSystem"="FATFS"
MountFlags is the interesting part Storage Manager Registry Settings (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedata5/html/wce50oristoragemanagerregistrysettings.asp)
celiruss
21st December 2005, 01:23 AM
What I'm trying to do is load the BA rom on a harrier which is the cdma version of the BA.
It starts booting, then gets an error saying that it cannot find the gsm radio at the bottom of the boot screen... so... yeah.. I'm on the 5th rom i've built today, and am currently at 82% of the flash.
I've replaced about 5 or 6 dll's, mostly the ones that said something about the himalaya in the properties of the file..
oh.. speak of the devil.. the flash is done... let me reboot.
still says no gsm... ugh.. this is frustrating.
I should try to decode the apache rom and see if i can compare contents.. but I don't know the password to the rom :(
KTamas
21st December 2005, 05:25 PM
I ran into a problem that i just can't solve and i'm not sure what it is. I just can't read or write messages, including text messages. Of course i can read my messages via PocketBreeze's Mail tab, or when one arrives but i can't read from tmail.exe (Messaging) or write one....and it only happens when i cook a ROM.
zohaer21
21st December 2005, 08:57 PM
hi using imate jasjar with o2 rom
these are the two probs im having (note they are the first two steps aswell :)
1) i used xda3nbftool.exe to convert the o2 rom nk.nbf into nk.nba but i got an error : something like doesnt look like header the password maybe wrong but it generates a nk.nba file anyway after that error !!!
i used the command as given by KTamas earlier to my post
2)i use the prepare_imgfs command but it ends by giving an error message IMGFS start NOT FOUND
all the files are in the same directory including the nk.nba
what is going wrong?
thanks
TofClock
22nd December 2005, 11:34 AM
your nk.nba generated by xda3nbftool is corrupted because the password is bad ....
i don't know the password to decompress universal roms ... sorry
buzz_lightyear
22nd December 2005, 11:54 AM
your nk.nba generated by xda3nbftool is corrupted because the password is bad ....
i don't know the password to decompress universal roms ... sorry
you can decrypt Universal ROMs with aplinenbfdecode.pl
no need for a password.
buzz
buzz_lightyear
22nd December 2005, 03:15 PM
your nk.nba generated by xda3nbftool is corrupted because the password is bad ....
i don't know the password to decompress universal roms ... sorry
you can decrypt Universal ROMs with aplinenbfdecode.pl
no need for a password.
buzz
oh well,
for the complete procedure, how to decode and encode Universal OS ROMs, check HERE on buzzdev.net (http://buzzdev.net/index.php?option=com_content&task=view&id=65&Itemid=1)
I've made couple of nice pics there as well... :o)))
So, Merry Christmas friends!
THANX bal666
buzz
TofClock
22nd December 2005, 06:49 PM
Yeah , great :)
Merry Christmas :)
he he , in a few time , a new rom for XDAII
i've translated the 1.62.07CHS in english TOTALLY , including all help files , including english keyboard , and english block and letter reconizer :)
i'll named this new rom 1.65a.96WWE ... 96 because , of course , 32 Mb Storage folder PERSISTANT integrated ....
a great great innovation .....
Be patient , this rom will be downloadable in a few hours ...
bepe
22nd December 2005, 08:38 PM
@TofClock: sorry it was a mistake, PM in state of Post a reply
This are the German, English and French Transcriber files V 2.0 !!!!!
Because Microsoft has only published V1.5 I builded them with Platform Builder 5 for my translated ROM.
Perhaps somebody has time to make cab files with the nessasary registry entries...
Tested on a HTC Himalaya (English ROM WM5 + German Transcriber).
TofClock
22nd December 2005, 10:24 PM
ok , thanks for this files ...
i'll upload the rom during the night , i'll integer the transcriber in a 1.65b.96WWE ...
bepe
23rd December 2005, 12:19 AM
Small selfmade tool to compare and edit registry files. (for translations)
-input: unicode
-output: unicode
-can hide identical entries (default.hv takes nearly one minute)
-edit entries (only of Device.txt)
CAN NOT add new entries.
REQUIRES Download details: .NET Framework Version 2 !!!!!!!!!!!!!!!
example: How to find and copy the localised entries in default.hv from a German ROM to that of my Himalaya (English ROM)
1. extract the default.hv of the English ROM to Device.txt
2. extract the default.hv of the German ROM to Compare.txt
(both files without something else than [...] and the entries)
3. put both into the same folder as RGUEdit.exe
and run RGUEdit.exe
KTamas
23rd December 2005, 12:23 AM
Small selfmade tool to compare and edit registry files. (for translations)
-input: unicode or ansi files
-output: unicode
-can hide identical entries (default.hv takes nearly one minute)
-edit entries (only of Device.txt)
CAN NOT add new entries.
REQUIRES Download details: .NET Framework Version 2 !!!!!!!!!!!!!!!
example: How to find and copy the localised entries in default.hv from a German ROM to that of my Himalaya (English ROM)
1. extract the default.hv of the English ROM to Device.txt
2. extract the default.hv of the German ROM to Compare.txt
(both files without something else than [...] and the entries)
3. put both into the same folder as RGUEdit.exe
and run RGUEdit.exe
Thank you...will you make the source avaible too?
celiruss
23rd December 2005, 12:24 AM
nice!
bepe
23rd December 2005, 12:50 AM
please reload the RGUEdit, some changes (input: unicode)
TofClock
23rd December 2005, 02:04 AM
Wow , RGUEdit ... i'm going to test it :)
zohaer21
23rd December 2005, 11:43 AM
Yeah , great :)
Merry Christmas :)
he he , in a few time , a new rom for XDAII
i've translated the 1.62.07CHS in english TOTALLY , including all help files , including english keyboard , and english block and letter reconizer :)
i'll named this new rom 1.65a.96WWE ... 96 because , of course , 32 Mb Storage folder PERSISTANT integrated ....
a great great innovation .....
Be patient , this rom will be downloadable in a few hours ...
hi is it uploaded yet????
thanks
bepe
23rd December 2005, 12:59 PM
How to rename a rom,
and what are the numbers for?
1 :?
65 :?
a :?
96 :?
WWE :that's clear
are there any rules for naming a new rom?
zohaer21
23rd December 2005, 01:53 PM
hi
i encoded my modded rom by bal666 tool and flashed it to my device...
during the upgrade the maupgradenoid utility showed me the rom version which i changed to 2.22.22 ..but after upgrade i see that the rom version is 1.13.83 and the files i deleted off the dump rom folder were back in the universal? how can i delete files before encoding tthe rom back to nbf so that the files i delete are gone (like i deleted the fileexplorer and all the alarm and other wave files along with guava windows theme) but are all back in the flahsed device???
thanks
KTamas
23rd December 2005, 01:55 PM
There is a parameter for changing the ROM version in xda3nbftool but i think it is not working, cause after i tried to change the version, I've checked nk.nba, and it still said 5.03.02
zohaer21
23rd December 2005, 09:16 PM
yeahhhhh i flashed my first custom rom (actuall afterwards flashed like 6 different roms with different things...just messin and seeing)
anyways i noticed the following things
1)the sms doesnt work??? is there anyway to get it to work???
2) i cant seem to get more free os rom space even if i delete major stuff off it and even if i add more apps to it ...it always remains the same( starage memory)
3)i cant seem to get icons to be changed/...like i edit and put my own images (for volume,siganal,message icon, connection and disconnected icons) but after flashing it always shows the default images ....does anyone know which files have to rigged to get my own images ( i can change application icons thats not what im talking about here)
4)ive also modded the welcome screen but dont know how to put my own splash screens????
thanks ...thought id share my experiences...
thanks to all the guru's (mamaich,bal666,buzz and more)
KTamas
23rd December 2005, 09:23 PM
yeahhhhh i flashed my first custom rom (actuall afterwards flashed like 6 different roms with different things...just messin and seeing)
anyways i noticed the following things
1)the sms doesnt work??? is there anyway to get it to work???
2) i cant seem to get more free os rom space even if i delete major stuff off it and even if i add more apps to it ...it always remains the same( starage memory)
3)i cant seem to get icons to be changed/...like i edit and put my own images (for volume,siganal,message icon, connection and disconnected icons) but after flashing it always shows the default images ....does anyone know which files have to rigged to get my own images ( i can change application icons thats not what im talking about here)
4)ive also modded the welcome screen but dont know how to put my own splash screens????
thanks ...thought id share my experiences...
thanks to all the guru's (mamaich,bal666,buzz and more)
Only 6? :P
Anyways...
1) Same question here, this is the only reason I went back to the original Himalaya-to-BA ROM...I just can't figure out what goes wrong with sms in the custom ROM.
2) Modifying the CE (OS) ROM won't gain you any free space. Storage space will remain 60 MB, no matter how much do you delete from the OS ROM. You do gain free space by deleting stuff from the OS ROM -- but you can only use it to put in some other stuff.
3) No clue, but i think it is pretty much deep within the OS...
4) No clue either
TofClock
24th December 2005, 10:50 AM
i'll upload the today
in france it's 11h00
i'll upload it around 15h or 16h
the rom is 1.65a.96WWE
1.65 because evolution of 1.62 CHS
a because this is my first release
96 because 96 Mb of ram
WWE because is it full english
this rom is a base of 1.62.07CHS with this features :
- No cert patch integrated
- 96 Mb of ram with 32 Mb Storage PERSISTENT integrated
- English keyboard
- English Letyter reconizer
- English Block reconizer
- PsShutXP integrated
- Full Localization of rom (help and templates files , time zone , system language)
There is ONE know bug ...
in every soft or hard reset , the chinese keyboard is activated ... there is just to choose english keyboard , and that's cool :) i'va not found how to completly remove the chinese keyboard ....
Be patient , this is a lot of hard work :)
zohaer21
24th December 2005, 03:31 PM
so anyone know why the sms doesnt work in custom roms?
is there any solution for it????
thanks
KTamas
24th December 2005, 03:40 PM
so anyone know why the sms doesnt work in custom roms?
is there any solution for it????
thanks
I guess it is related to the registry somehow...I might do some test at the next days...
zohaer21
24th December 2005, 04:25 PM
i guess its not related to registry only...cos i resotred my old registry (where sms was working) and it still didnt work for me
TofClock
24th December 2005, 05:14 PM
The new rom is here !!!!!
1.65a.96WWE for XDA II
1.65 because evolution of 1.62 CHS
a because this is my first release
96 because 96 Mb of ram
WWE because is it full english
this rom is a base of 1.62.07CHS with this features :
- No cert patch integrated
- 96 Mb of ram with 32 Mb Storage Folder PERSISTENT integrated
- English keyboard
- English Letter reconizer
- English Block reconizer
- PsShutXP integrated with trayicon enabled
- Full Localization of rom (help and templates files , time zone , system language and dictionary !!! )
There is ONE know bug ...
in every soft or hard reset , the chinese keyboard is activated ... there is just to choose english keyboard , and that's cool Smile i'va not found how to completly remove the chinese keyboard ....
A BIG BIG THANKS TO :
- BuzzLightyear for a lot of tips and tricks and to
- mamaich for the tools that permit me to make this rom !!
You can download this rom here :
http://tofclok.free.fr/WM2005/new/XDA2_WM2k5_1.65a.96.WWE.rar
Please , report me if you're encountered any bug !!!!!
and post here if you want more stuff ...
a 1.65b.96WWE rom will appears in a few day with transcriber 2.0 and ArcSoft MMS Composer integrated :)
TofClock
25th December 2005, 11:34 AM
hey , bepe ...
i'm not able to work with RGUEdit ...
i've downloaded .NET Framework v2.0 Beta2
but whan i run RGUEdti.exe , i've got the error message :
"This application can't start because the configuration is incorrect . Reinstall the application should be solve the problem"
Any idea ?
KTamas
25th December 2005, 11:47 AM
hey , bepe ...
i'm not able to work with RGUEdit ...
i've downloaded .NET Framework v2.0 Beta2
but whan i run RGUEdti.exe , i've got the error message :
"This application can't start because the configuration is incorrect . Reinstall the application should be solve the problem"
Any idea ?
There is .NET Framework 2.0 (non-beta, the final) out there too, you should try that...
ramram
25th December 2005, 05:26 PM
TofClock,
I wanted to congratulate you about your work, the rom rocks I tested it on my friend HIMA,it's perfect, I guess you missed patching the camera regs, and puting in the Windows>Start Menu>Progams the simupload shortcut.. I didnt check if there's any other thing, I didn't have time to play with it more than 3 minutes..
Donc, gardez le bon travail, j'attends le prochain rom dégagement.
Merci beaucoup.
TofClock
25th December 2005, 07:32 PM
Great thanks , i'll put a Simupload shortcut in the next release .....
thanks for your support ... :)
Asukal
27th December 2005, 05:09 PM
@KTamas
how did you dump your .hv files
and how to put them back?
To dump:
rgucomp -o dump\default.hv -nologo > default.rgu
Put "REGEDIT4" into the first line, then add your registry keys, etc.
rename default.rgu to boot.rgu, then:
rgucomp -b
Then rename the generated boot.hv to default.hv.
Help! i tried many times, but following error is comming every time!
and the size of created boot.hv was just 28kb....
Whats wrong,,,,,,,,
TofClock
27th December 2005, 05:18 PM
2 things very important ....
you have to respect this :
REGEDIT4 ----> no blank line after this
[HKEY .....
.....
......
BLANK LINE at the end of file
this is very important to verify all double-quote
@="" --> good
@=" --> bad
"ddd"="ddd" ---> Good
"ddd="ddd" ---> bad
run your make_boot_hv in dos prompt , when you have error message , chek the line number and go to your file at this line .... herre is the error
Asukal
27th December 2005, 06:47 PM
2 things very important ....
you have to respect this :
REGEDIT4 ----> no blank line after this
[HKEY .....
.....
......
BLANK LINE at the end of file
this is very important to verify all double-quote
@="" --> good
@=" --> bad
"ddd"="ddd" ---> Good
"ddd="ddd" ---> bad
run your make_boot_hv in dos prompt , when you have error message , chek the line number and go to your file at this line .... herre is the error
thanks! id followed your way, and tired many times, still cant.
so i tired to rgucomp -b with boot rgu which has not modified, just add the REGEDIT4 and blank line in bottom.
still have problem, i guess i took wrong way to do.
Now i am blind coz many time,,,,,,
what can you guess what i was wrong???
bepe
27th December 2005, 07:13 PM
@Asukal
the boot.rgu has to be in Unicode format
TofClock
27th December 2005, 11:34 PM
2 things very important ....
you have to respect this :
REGEDIT4 ----> no blank line after this
[HKEY .....
.....
......
BLANK LINE at the end of file
this is very important to verify all double-quote
@="" --> good
@=" --> bad
"ddd"="ddd" ---> Good
"ddd="ddd" ---> bad
run your make_boot_hv in dos prompt , when you have error message , chek the line number and go to your file at this line .... herre is the error
thanks! id followed your way, and tired many times, still cant.
so i tired to rgucomp -b with boot rgu which has not modified, just add the REGEDIT4 and blank line in bottom.
still have problem, i guess i took wrong way to do.
Now i am blind coz many time,,,,,,
what can you guess what i was wrong???
if you just use rgucomp.exe -b , you may hay an error message that says you a environment variable is not set ...
you should use "make_boot_rgu.bat" in make_hv.rar mamaich archive ....
try to encode this :
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
@="Test Software"
"Version"="0.2.0.0"
[HKEY_LOCAL_MACHINE\Software\Again]
@="Again Software"
"Version"="0.3.0.0"
just write this text in notepad and save it on boot.rgu , in UNICODE mode and then , put the file in same directory as make_boot_rgu.bat and run the .bat
this should be work ...
Asukal
28th December 2005, 12:07 PM
2 things very important ....
you have to respect this :
REGEDIT4 ----> no blank line after this
[HKEY .....
.....
......
BLANK LINE at the end of file
this is very important to verify all double-quote
@="" --> good
@=" --> bad
"ddd"="ddd" ---> Good
"ddd="ddd" ---> bad
run your make_boot_hv in dos prompt , when you have error message , chek the line number and go to your file at this line .... herre is the error
thanks! id followed your way, and tired many times, still cant.
so i tired to rgucomp -b with boot rgu which has not modified, just add the REGEDIT4 and blank line in bottom.
still have problem, i guess i took wrong way to do.
Now i am blind coz many time,,,,,,
what can you guess what i was wrong???
if you just use rgucomp.exe -b , you may hay an error message that says you a environment variable is not set ...
you should use "make_boot_rgu.bat" in make_hv.rar mamaich archive ....
try to encode this :
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Test]
@="Test Software"
"Version"="0.2.0.0"
[HKEY_LOCAL_MACHINE\Software\Again]
@="Again Software"
"Version"="0.3.0.0"
just write this text in notepad and save it on boot.rgu , in UNICODE mode and then , put the file in same directory as make_boot_rgu.bat and run the .bat
this should be work ...
thanks a lot, your test TEXT / boot.rgu can be generated to hv.w/o any error,
now i am doing this with Exec ROM. , i couldnt......
this default.hv was taken with Mamaich's ROM editor,,, used imgfsview.exe.(size of default.hv is 676kb)
and also i did try with Dumprom.exe to get another default.hv from same rom.
but it couldnt.....
Dumprom.exe is terminated with error, and dumped just kernel files.
and size of default.hv is very small.....just 60kb.
so i would like to know what kinds of tool you took the default.hv?
also did someone tried to make defaul.hv with Universal ROM?
my proccedure....
@default.hv to default.rgu
@add REDIEDIT4 on the 1st line on default.rgu,then remame it to
Boot.rgu.(follow your instruction)--nothing add the line for the test
@proceed to rgucomp -b, then error comes.
all of them were in same directry with Mamaich hv tool.
Am i so stupid?????
asking bymyself :oops:
I tried anotherway to edit another RGU files, but no effect....some like rgu files
d0a2c4be-04e0-4754-bf71-a62d5278d34d.rgu
TofClock
28th December 2005, 12:53 PM
default.hv , ok , but if your default.hv come from chinese rom , it contains specials caracters
i give you an example ...
- english rom default.hv :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"
To rgu :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"
That's good to reconvert to .hv
- chinese rom default.hv :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet CHINESE CARACHTERS"
chinese carachters are not translated by rgucomp , so
To rgu :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet
The double quote are not present so ,
That's bad to reconvert to .hv
you have to verify all line in your rgu files to correct the quotes ....[/code]
Asukal
28th December 2005, 01:10 PM
default.hv , ok , but if your default.hv come from chinese rom , it contains specials caracters
i give you an example ...
- english rom default.hv :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"
To rgu :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet at home"
That's good to reconvert to .hv
- chinese rom default.hv :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet CHINESE CARACHTERS"
chinese carachters are not translated by rgucomp , so
To rgu :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet
The double quote are not present so ,
That's bad to reconvert to .hv
you have to verify all line in your rgu files to correct the quotes ....[/code]
So kind you are! but ,,,i am editing Exec english ROM, not chinese or japanes,
i want just add follows
[HKEY_CURRENT_USER\keyboard layout\Preload]
@="e0010411"
[HKEY_CURRENT_USER\keyboard layout\Preload\1]
@="e0010411"
[HKEY_LOCAL_MACHINE\nls]
"DefaultLCID"=dword:411
"DefaultACP"=dword:3a4
"DefaultOCP"=dword:3a4
"SystemLCID"=dword:411
"LegacyLocaleMode"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internationa l]
"ACP"=dword:3a4
"LCID"=dword:411
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Ski pTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Courier New"="005c"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Sys temLink]
"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"
"Arial"="\Windows\mUnifontM.ttf,mUnifontM"
"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"
"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"
TofClock
28th December 2005, 01:22 PM
ok , so , try to do this ....
you have to add HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT to default.hv and HKEY_CURRENT_USER to user.hv
after , add your registry like this in default.rgu :
REGEDIT4
[HKEY_LOCAL_MACHINE\nls]
"DefaultLCID"=dword:411
"DefaultACP"=dword:3a4
"DefaultOCP"=dword:3a4
"SystemLCID"=dword:411
"LegacyLocaleMode"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internation al]
"ACP"=dword:3a4
"LCID"=dword:411
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Sk ipTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Courier New"="005c"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Sy stemLink]
"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"
"Arial"="\Windows\mUnifontM.ttf,mUnifontM"
"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"
"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"
in user.rgu
REGEDIT4
[HKEY_CURRENT_USER\keyboard layout\Preload]
@="e0010411"
[HKEY_CURRENT_USER\keyboard layout\Preload\1]
@="e0010411"
every keys lines start without space ... every value line start with 2 spaces
don't forget the blank line at the end of file
save your file in unicode mode , name it boot.rgu
open a dos prompt and run make_boot_hv.bat
if it gives you an error , check the line number and go to the boot.rgu at this line to correct the error ...
Asukal
28th December 2005, 06:24 PM
Thanks so many times!
But sorry still cant.
Fo r tes with boot.rgu in mamaich tool,
it wa no error and generate to the boot.hv
but for my defalt.hv can not......
this is my default.hv and my registry i want to add.
would you help me to test, if you have a time......
TofClock
28th December 2005, 06:41 PM
i test that directly :)
bepe
28th December 2005, 06:47 PM
\ -> \\
"Symbol"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Arial"="Windows\\mUnifontM.ttf,mUnifontM"
"Courier New"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Tahoma"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\\Windows\\mUnifontM.ttf,mUnifontM"
TofClock
28th December 2005, 07:04 PM
yes bepe , yes yes yes ...
i've not seen that ... this is your error asukal ...
to define a path in the registry , you have to spcify "\\" instead of "\"
i give en archive ... contains your original default.hv , your regs , and a boot.rgu file ...
this your file already modified :)
buzz_lightyear
28th December 2005, 08:05 PM
hi guys,
cool stuff is happening here...
I wish I have that much time as you do... :o(
buzz
Asukal
28th December 2005, 08:39 PM
\ -> \\
"Symbol"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Arial"="Windows\\mUnifontM.ttf,mUnifontM"
"Courier New"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Tahoma"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\\Windows\\mUnifontM.ttf,mUnifontM"
@Bebe and TofClock! you save my life! thanks!
and i got flash it on my universal! and got it! :D :D
But,,,,,,,,,, regostry of [nls] and [international] were active in my registry,
the font link is not registered!
should i add the line of
[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink]
before follows?? any way, i am trying this now! almost 4 oclock morning here!!! but i cant stop!
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Ski pTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Courier New"="005c"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Sys temLink]
"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"
"Arial"="\Windows\mUnifontM.ttf,mUnifontM"
"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"
"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"
thanks thanks!
Asukal
28th December 2005, 09:16 PM
\ -> \\
"Symbol"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Arial"="Windows\\mUnifontM.ttf,mUnifontM"
"Courier New"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Tahoma"="\\Windows\\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\\Windows\\mUnifontM.ttf,mUnifontM"
@Bebe and TofClock! you save my life! thanks!
and i got flash it on my universal! and got it! :D :D
But,,,,,,,,,, regostry of [nls] and [international] were active in my registry,
the font link is not registered!
should i add the line of
[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink]
before follows?? any way, i am trying this now! almost 4 oclock morning here!!! but i cant stop!
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Ski pTable]
"Tahoma"="005c,00a5,007e,0391-03c9,2026,2116,221a,25a0-25ff"
"Courier New"="005c"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\Sys temLink]
"Symbol"="\Windows\mUnifontM.ttf,mUnifontM"
"Arial"="\Windows\mUnifontM.ttf,mUnifontM"
"Courier New"="\Windows\mUnifontM.ttf,mUnifontM"
"Tahoma"="\Windows\mUnifontM.ttf,mUnifontM"
"Times New Roman"="\Windows\mUnifontM.ttf,mUnifontM"
thanks thanks!
i got the reason! i got!
just one blank,,, i will repot lator!
bepe
28th December 2005, 10:03 PM
BETA!
-open, save and convert *.rgu and *.hv files
-hide identical entries
-edit entries (No input check!!)
-copy entries from one file to another
REQUIRES .NET Framework Version 2!!
CAN NOT open *.hv with chinese carachters!!
CAN NOT add new entries!!
(rgucomp.exe implemented)
buzz_lightyear
28th December 2005, 11:15 PM
@bepe
c# || c++ ?
buzz
bepe
28th December 2005, 11:24 PM
c++
Asukal
29th December 2005, 05:54 PM
i did convert rgu to hv file according to your lectures......
now i can do much more modify,,,to localize the Universal!
thanks so much! :D
bepe
29th December 2005, 09:17 PM
knows somebody how to get the arguments from the exports of a dll?
The dll of the first post in the 'make_hv.rar' -> cereg400.dll
can't find something in Google or MSDN
the exports are:
CEREG_RegCloseKey
CEREG_RegCompactHive
CEREG_RegCreateKeyEx
CEREG_RegDeleteKey
CEREG_RegDeleteValue
CEREG_RegEnumKeyEx
...
RegSetValueEx
RegTrimHive
RegUnmountHive
@mamaich Where is this file from? in Platform Builder 5 is one but not the same size (did not work with rgucomp.exe). And I cant find the rgucomp.exe.
buzz_lightyear
29th December 2005, 11:36 PM
default.hv , ok , but if your default.hv come from chinese rom , it contains specials caracters
.....
chinese carachters are not translated by rgucomp , so
To rgu :
[HKEY_LOCAL_MACHINE\Comm\Conn Mgr]
@="Internet
The double quote are not present so ,
That's bad to reconvert to .hv
you have to verify all line in your rgu files to correct the quotes ....
you can maybe write those chinese characters as Unicode codes.
buzz
bepe
30th December 2005, 10:14 AM
Sorry, I mixed the source of RGUEdit up!
I edited the post and replaced it with that one that is able to open .hv files.
TofClock
30th December 2005, 10:37 AM
thanx bepe , this looks great :)
TofClock
4th January 2006, 08:13 AM
Ok .
i can't install any development tool on my pc and i need a little thing .
I've seen that AddFilee.exe or Builimgfs use cecompr_nt.dll to compress the dll before inject in the new rom ....
Can anyone please send me only one dll compressed with this method and attach it to a post here ?
For example lap_pw.dll
Can anyone compress it and resend me please ?
Fefe
7th January 2006, 01:02 AM
Hi there!
I'm a newbie and trying to figure out how to modify my Universal (QTEK 9000) to norwegian. I have the WWE-edition, and the mui-files for the norwegian WM5 (from the emulator). Can't figure out how to load these muis. The language code for norwegian is 414.
Can anybody help?
A million thanx if you will! :)
psneddon
7th January 2006, 04:55 AM
Great work guys. I extracted the os rom from my MDA Compact II and it seemed to go all ok. However after I've dumped and edited the rom and rebuilt it, I re-extracted the files and even though the files seem to come out ok the memory map file is very different and the image seems corrupted as if I then try to extract it again it crashed?
Paul
Asukal
7th January 2006, 02:02 PM
Ok .
i can't install any development tool on my pc and i need a little thing .
I've seen that AddFilee.exe or Builimgfs use cecompr_nt.dll to compress the dll before inject in the new rom ....
Can anyone please send me only one dll compressed with this method and attach it to a post here ?
For example lap_pw.dll
Can anyone compress it and resend me please ?
i dont know how??
but i tried,
this was the lap_pw.dll after added to new rom and dumped.
the sieze was same as previouse. no work for u?? :lol:
TofClock
8th January 2006, 12:33 PM
yes , if i built and dump , the previous and the dumped are same ...
but i've found a problem with some dll
in example , transcribersip.dll and instmsgrresources.96.dll ...
i can add them as file or as module , after built the rom , the headers of file is mmissing in rom ....
when we dump the rom , all modules have a imageinfo.bin
when we built the r'om , this imageinfo.bin of each module is present in nba file ... but not for transcribersip.dll and intmsgrresources.dll ...
This is the cause of on each rebuilded rom , msn messenger and transcriber don't work ...
i don't know why , but i'm searching ..
psneddon
8th January 2006, 01:18 PM
When I rebuild its even worse than that - the mapping seems to get totally screwed and all the modules get the wrong location and size? Also the header information (the short name that is listen when dumping files) becomes corrupt too.
Paul
qing84
8th January 2006, 02:48 PM
Can someone tell me how I can put the extracted bin dump DLL Folders back into *.dll format? I am totally new to this. Thanks alot! :o
psneddon
9th January 2006, 09:48 AM
I've had success editing the rom for the charmer using the addfile/delfile method. I first use aWizard tools to extract the rom, then I use the edit tools to add/remove files. then I use aWizard tools to flash it back. Points to look out for are..
1) If you use -noslipt to get the img make sure you use the option again when rebuilding it. I forgot to do this the first few times and it leads to a dead OS, wont boot.
2) When flashing the OS back, dont do anything on the device and even if you get an error about replog just ignore it, dont press "ok".
These tools are great as I now have a rom with almost no HTC or t-mobile or 3rd software on it and only 3MB of storage used.
The way I see it is you can always add software, but you cant remove it once its in the rom. So it makes sense to clear everything out :)
Paul
ahlok_hk
9th January 2006, 02:58 PM
Hi mamaich,
I have been using this tool for a while and it works great!
But I just found that some file is missing during the extract process of the Wizard nba file. Here's the detail:
nba file:
http://forum.xda-developers.com/viewtopic.php?p=207752
1. I load it to my Wizard and found out that there are files called boot.hv and boot.rgu
2. I use the prepare_imgfs.exe and then viewimgfs.exe with the nba file. Then look at the output dump folder. I cannot find boot.hv and boot.rgu and some more files.
3. I use the "dumprom.exe -5 -d test qtek.nba" to dump the nba files to test folder. And I found the boot.hv and boot.rgu files. On the other hand many more other files that can be dumped using WM5 ROM Editing Tool are missing here.
So I suspect that there are some files in the nba that this WM5 ROM Editing Tool not able to see but dumprom can see. Can mamaich try fixing the problem? I really hope that it can be solved as I also suspect that the boot.hv is the reason why the latest Qtek ROM locks the extended rom, that I want to try changing the file to unlock the extended rom.
Thanks a lot!
psneddon
9th January 2006, 03:02 PM
Hi,
The boot.hv file (and a few other files) are in a seperate area of the rom (XIP type). Thats why you cant see those files, the program only dumps the files in the imgfs partition. If you look at the first post you will see a link for a tool that lets you edit this section.
Paul
ahlok_hk
9th January 2006, 03:16 PM
Hi,
The boot.hv file (and a few other files) are in a seperate area of the rom (XIP type). Thats why you cant see those files, the program only dumps the files in the imgfs partition. If you look at the first post you will see a link for a tool that lets you edit this section.
Paul
Wow! Thx Paul for your prompt reply and help! Let me take a look at the tools now! 8)
bepe
9th January 2006, 05:38 PM
boot.hv is the registry file and dose not exist in shiped ROMs.
On the first start WM5 puts default.hv, user.hv and the *.rgu files together to build the boot.hv and boot.rgu.
TofClock
9th January 2006, 06:03 PM
Hey mamaich !!!
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
i've understood the encode process of files and modules ...
there some parts in imgfs_raw_data like this :
Size in hex , offset , file name , file section , size , offset , etc ...
like here
0084C2D0 00 00 00 00 00 00 00 00 1F 85 00 40 00 00 00
0084C2E0 FB FE FF FF 54 00 72 00 61 00 6E 00 73 00 63 00
0084C2F0 72 00 69 00 62 00 65 00 72 00 53 00 69 00 70 00
0084C300 2E 00 44 00 6C 00 6C 00 00 00 00 00 00 00 00 00
0084C310 00 00 00 00 FD F6 FF FF 00 00 00 00 48 C3 84 00
0084C320 04 00 00 00 53 00 30 00 30 00 30 00 A4 27 00 00
0084C330 40 1F 85 00 40 00 00 00 00 00 00 00 00 00 00 00
0084C340 00 00 00 00 00 00 00 00 FD F6 FF FF 00 00 00 00
0084C350 7C C3 84 00 04 00 00 00 53 00 30 00 30 00 31 00
0084C360 D0 01 00 00 80 1F 85 00 40 00 00 00 00 00 00 00
0084C370 00 00 00 00 00 00 00 00 00 00 00 00 FD F6 FF FF
0084C380 00 00 00 00 B0 C3 84 00 04 00 00 00 53 00 30 00
0084C390 30 00 32 00 40 01 00 00 C0 C3 85 00 40 00 00 00
0084C3A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0084C3B0 FD F6 FF FF 00 00 00 00 E4 C3 84 00 04 00 00 00
0084C3C0 53 00 30 00 30 00 33 00 04 00 00 00 00 C4 85 00
0084C3D0 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0084C3E0 00 00 00 00 FD F6 FF FF 00 00 00 00 00 00 00 00
0084C3F0 04 00 00 00 53 00 30 00 30 00 34 00 90 00 00 00
0084C400 80 C4 85
00 1F 85 00 is like this : # 85 1F 00 h --> offset where we can find real offset of imageinfo.bin file in dumped transcribersip.dll
40 1F 85 00 is like this : # 85 1F 40 h --> offset where we can find real offset of S000 file in dumped transcribersip.dll
80 1F 85 00 is like this : # 85 1F 80 h --> offset where we can find real offset of S001 file in dumped transcribersip.dll
C0 C3 85 00 is like this : # 85 C3 C0 h --> offset where we can find real offset of S002 file in dumped transcribersip.dll
00 C4 85 00 is like this : # 85 C4 C0 h --> offset where we can find real offset of S003 file in dumped transcribersip.dll
80 C4 85 00 is like this : # 85 1F 00 h --> offset where we can find real offset of S004 file in dumped transcribersip.dll
But ther is a mistake on building the rom , the imageinfo.bin file is incorrectly inserted in the rom ...
i'm trying to replace it manually and add some FFFF on end of each sections ...
Fefe
12th January 2006, 08:31 PM
I apologise if this is a stupid question, but I have to ask...
Is it possible to use mui-images from a QVGA-device on a VGA-device?
The problem is that I'm trying to figure out how to make a norwegian WM5 Phone Edt-rom for the QTEK 9000, and it seems that it does not exist any norwegian shipped ones for VGA (just for QVGA, the QTEK 9090). :?
And it's still not a solution for using the emulator-images, right?
3space
13th January 2006, 11:55 PM
Hey guys,
Just wondering whether any of you have achieved a lower program/storage memory usage by streamlining your ROMs.
Comments?
Thx.
ady
14th January 2006, 12:22 AM
Hey mamaich !!!
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
i've understood the encode process of files and modules ...
there some parts in imgfs_raw_data like this :
Size in hex , offset , file name , file section , size , offset , etc ...
like here
0084C2D0 00 00 00 00 00 00 00 00 1F 85 00 40 00 00 00
0084C2E0 FB FE FF FF 54 00 72 00 61 00 6E 00 73 00 63 00
0084C2F0 72 00 69 00 62 00 65 00 72 00 53 00 69 00 70 00
0084C300 2E 00 44 00 6C 00 6C 00 00 00 00 00 00 00 00 00
0084C310 00 00 00 00 FD F6 FF FF 00 00 00 00 48 C3 84 00
0084C320 04 00 00 00 53 00 30 00 30 00 30 00 A4 27 00 00
0084C330 40 1F 85 00 40 00 00 00 00 00 00 00 00 00 00 00
0084C340 00 00 00 00 00 00 00 00 FD F6 FF FF 00 00 00 00
0084C350 7C C3 84 00 04 00 00 00 53 00 30 00 30 00 31 00
0084C360 D0 01 00 00 80 1F 85 00 40 00 00 00 00 00 00 00
0084C370 00 00 00 00 00 00 00 00 00 00 00 00 FD F6 FF FF
0084C380 00 00 00 00 B0 C3 84 00 04 00 00 00 53 00 30 00
0084C390 30 00 32 00 40 01 00 00 C0 C3 85 00 40 00 00 00
0084C3A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0084C3B0 FD F6 FF FF 00 00 00 00 E4 C3 84 00 04 00 00 00
0084C3C0 53 00 30 00 30 00 33 00 04 00 00 00 00 C4 85 00
0084C3D0 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0084C3E0 00 00 00 00 FD F6 FF FF 00 00 00 00 00 00 00 00
0084C3F0 04 00 00 00 53 00 30 00 30 00 34 00 90 00 00 00
0084C400 80 C4 85
00 1F 85 00 is like this : # 85 1F 00 h --> offset where we can find real offset of imageinfo.bin file in dumped transcribersip.dll
40 1F 85 00 is like this : # 85 1F 40 h --> offset where we can find real offset of S000 file in dumped transcribersip.dll
80 1F 85 00 is like this : # 85 1F 80 h --> offset where we can find real offset of S001 file in dumped transcribersip.dll
C0 C3 85 00 is like this : # 85 C3 C0 h --> offset where we can find real offset of S002 file in dumped transcribersip.dll
00 C4 85 00 is like this : # 85 C4 C0 h --> offset where we can find real offset of S003 file in dumped transcribersip.dll
80 C4 85 00 is like this : # 85 1F 00 h --> offset where we can find real offset of S004 file in dumped transcribersip.dll
But ther is a mistake on building the rom , the imageinfo.bin file is incorrectly inserted in the rom ...
i'm trying to replace it manually and add some FFFF on end of each sections ...
I haven't look at the actual code but I have a question. why not simply concatenate all the sections while dumping the rom insteat of taking all this pain?
mamaich
14th January 2006, 07:44 AM
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
I've fixed the bug and uploaded a new version.
KTamas
14th January 2006, 08:28 AM
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
I've fixed the bug and uploaded a new version.
Where did you upload it? :shock:
mamaich
15th January 2006, 05:06 AM
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
I've fixed the bug and uploaded a new version.
Where did you upload it? :shock:I've fixed the bug and introduced a new one. Now I've attached the correct version to the first post.
KTamas
15th January 2006, 08:56 AM
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
I've fixed the bug and uploaded a new version.
Where did you upload it? :shock:I've fixed the bug and introduced a new one. Now I've attached the correct version to the first post.
Ah....thanks.
TofClock
15th January 2006, 02:31 PM
I've found the problem with builimgfs and somme dls like instmsgrresources.96.dll and transcribersip.dll ...
I've fixed the bug and uploaded a new version.
Where did you upload it? :shock:I've fixed the bug and introduced a new one. Now I've attached the correct version to the first post.
Great thanks Mamaich ... this version works fine :)
judycao
16th January 2006, 06:09 PM
does WM5 ROM editing tool support T-Mobile MDA compact II,is there someone can teach me how to use T-Mobile MDA compact II's Camera drivers replace Dopod 818 Pro's,thanks very much.
judycao
19th January 2006, 08:49 AM
I've had success editing the rom for the charmer using the addfile/delfile method. I first use aWizard tools to extract the rom, then I use the edit tools to add/remove files. then I use aWizard tools to flash it back. Points to look out for are..
1) If you use -noslipt to get the img make sure you use the option again when rebuilding it. I forgot to do this the first few times and it leads to a dead OS, wont boot.
2) When flashing the OS back, dont do anything on the device and even if you get an error about replog just ignore it, dont press "ok".
These tools are great as I now have a rom with almost no HTC or t-mobile or 3rd software on it and only 3MB of storage used.
The way I see it is you can always add software, but you cant remove it once its in the rom. So it makes sense to clear everything out :)
Paul
hi psneddon
can you tell me how to editing the rom for the T-Mobile MDA Compact 2 using the addfile/delfile method,i want to replace it's Camera drivers use Dopod 818 Pro's.
my method:I first use aWizard tools to extract the rom
step:
prepare_imgfs.exe nk.nba -nosplit
viewimgfs.exe imgfs_raw_data.bin -nosplit
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
, then I use the edit tools to add/remove files. then I use aWizard tools to flash it back. but T-Mobile MDA Compact 2 hold at splash screen .
dherrero
25th January 2006, 11:53 AM
Hi,
I want to extrack the file \windows\kbbdrv.dll but it dump a directory with some files inside. Whay can i do?
thanks
harlemyin
26th January 2006, 09:45 AM
Hi,
I want to extrack the file \windows\kbbdrv.dll but it dump a directory with some files inside. Whay can i do?
thanks
this dll is as module saved in the nbf.
i think u can just put the folder into ur new nbfs dump folder, then BuildImgfs.exe , it should work.
harlemyin
26th January 2006, 09:51 AM
I've had success editing the rom for the charmer using the addfile/delfile method. I first use aWizard tools to extract the rom, then I use the edit tools to add/remove files. then I use aWizard tools to flash it back. Points to look out for are..
1) If you use -noslipt to get the img make sure you use the option again when rebuilding it. I forgot to do this the first few times and it leads to a dead OS, wont boot.
2) When flashing the OS back, dont do anything on the device and even if you get an error about replog just ignore it, dont press "ok".
These tools are great as I now have a rom with almost no HTC or t-mobile or 3rd software on it and only 3MB of storage used.
The way I see it is you can always add software, but you cant remove it once its in the rom. So it makes sense to clear everything out :)
Paul
hi psneddon
can you tell me how to editing the rom for the T-Mobile MDA Compact 2 using the addfile/delfile method,i want to replace it's Camera drivers use Dopod 818 Pro's.
my method:I first use aWizard tools to extract the rom
step:
prepare_imgfs.exe nk.nba -nosplit
viewimgfs.exe imgfs_raw_data.bin -nosplit
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
, then I use the edit tools to add/remove files. then I use aWizard tools to flash it back. but T-Mobile MDA Compact 2 hold at splash screen .
there are 2 ways to edit the rom
1.
prepare_imgfs.exe nk.nba
viewimgfs.exe imgfs_raw_data.bin
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
2.
prepare_imgfs.exe nk.nba
DelFile.exe filename.ext
AddFile.exe filename.ext
...you may add/delete as many files as you need...
make_imgfs.exe nk.nba
if u use 1. way to add and delet files, u need not to use 2. way.
just add the Camera drivers into ur MDA Compact 2s dump folder, then BuildImgfs.exe.
but i think u can not use this drive by ur mda compact 2. are they the same model from htc?
cmartin
30th January 2006, 03:51 PM
first off thanx for the gr8 work!!
Since I hate the fact that T-Mobile in Germany have placed the carrierlogo.gif within the image and I don't want a static carrier display, I decided to take a look at my possibilities of removing this file. I have an MDA Pro.
Well, I ended up decoding and dumping the ROM of the latest T-Mobile Update. After removing quite a few unneccesary gifs, jpegs, and media files I realized you can get more 1.5 MB space just from that.
Now since I was involved in OpenEmbedded Development a while back, I thought maybe it would be possible to create an Image an their "minimalistic" guidlines. What I mean is - create an image only with the "bare necessaties" and create CABs for the rest. This way you can just install the apps you really need. I, for instance never need IM or the such, so I don't like applications like that robbing my flash space.
So now to my question, would it be possible to remove a package and create a CAB of it for later installation?
If this is possible, how would the legal situation be for publishing these CABs for download? That's a community question ;-) I wouldn't want this work to just be for my own usefullness. I think others could be interested in installing a minimal image and then install the sofwtare the really need.
Another question is, is it possible to edit the registry in the dumped image?
Thanks in advance for your advice.
mamaich
31st January 2006, 01:45 AM
So now to my question, would it be possible to remove a package and create a CAB of it for later installation?
This would be possible for some addon programs like java, mms client. I.e. these programs that have relocations information in their DLLs (they are dumped as files and not as directories).
Another question is, is it possible to edit the registry in the dumped image?Yes. The tool is in the first post.
cmartin
1st February 2006, 09:08 PM
Thanks for the answer.
Can you explain how to do the following:
1. Extract a package from a dumped image and create a CAB of it.
2. Install a given CAB into the dumped image.
Another more important question:
Does removing files from the image create more usable memory or does it make no difference? Meaning that removing files from the image only makes sense if they're replaced by other more usefull files.
mamaich
2nd February 2006, 02:31 AM
Can you explain how to do the following:
1. Extract a package from a dumped image and create a CAB of it.
What can be difficult here? Just copy files from dump directory, create a CAB file with them and that's all. I recommend WinCE CAB Manager.
2. Install a given CAB into the dumped image.
I dont't understand what do you need. You may place the created CAB into extended rom or install it manually.
Another more important question:
Does removing files from the image create more usable memory or does it make no difference? Meaning that removing files from the image only makes sense if they're replaced by other more usefull files.This would not free any memory. This would only free space in ROM that can be used for adding more files.
cmartin
2nd February 2006, 02:30 PM
2. Install a given CAB into the dumped image.
I dont't understand what do you need. You may place the created CAB into extended rom or install it manually.
I meant installing different software from a given CAB into the dumped directory so that it is already installed in the image. This I would only do if deleting files from the image wouldn't give me more space for installing software later.
Another more important question:
Does removing files from the image create more usable memory or does it make no difference? Meaning that removing files from the image only makes sense if they're replaced by other more usefull files.This would not free any memory. This would only free space in ROM that can be used for adding more files.
OK, maybe this is what I mostly need clarified. Of course I meant space in ROM and not in RAM. But, what I don't completely understand is if the saved ROM space is usable after the image is installed.
Maybe an example could make it more clear what I'm interessted in:
Say I removed 2MB of files from the ROM. If I create a ROM from the remaining files will I have 2MB of space available to install software I want after the image is installed or is this 2MB of saved space waisted, because I didn't make use of it before creating the image.
I want to make the best use of the available Flash. So if I remove something from the image I want to make use of this space. And that's done either by filling that space before I create the image or by being able to make use of the space after image installation (for example, by installing software later).
Basically I'm saying "does it make any sense to create a minimal ROM image and install the software I want later (after the image is installed)".
I just don't want to go and remove something like 10MB from the image when after installation I still only have around 45MB of available Data Memory.
mamaich
3rd February 2006, 01:44 AM
...
I meant installing different software from a given CAB into the dumped directory so that it is already installed in the image. You should manually extract all files from CAB, edit registry, initflashfiles.dat so that all keys and files would be placed into the right place. Lots of manual editing.
Or you can place the CAB into ROM and force OS to run it after hard reset. This is easier, but it would not save any space in RAM/storage (this is identical to placing the same CAB to extended ROM).
Does removing files from the image create more usable memory or does it make no difference? ...
Basically I'm saying "does it make any sense to create a minimal ROM image and install the software I want later (after the image is installed)"....Removing files would not free any RAM/storage for installable programs. This space would not be used by OS at all. It is wize to place as much programs into ROM as possible, so that you would not need to install these programs and waste space in your persistent storage or storage card.
cmartin
3rd February 2006, 04:25 PM
thanx, now I understand ;-)
I want to add the MS Radio Patch so that I can have a handsfree profile on my universal. Is that possible? Sadly T-Mobile didn't add that support to their last update. If it's possible maybe you can give me a hint how I can do it.
pueneto
6th February 2006, 07:53 AM
This is great!!!
shahzadkhan15nov
11th February 2006, 06:22 AM
Hi guys,
As you know that Wizard has AKU2 (unofficial) release available for them and they are enjoying all the luxury (esp A2DP, streaming audio to BT HS). I have that ROM file, the NK.nbf is ~70MB and of course, it is unlike Magician where you see three separate files (nk.nbf, ms_.nbf and radio_.nbf). In wm5, they seem to have only one file (nk.nbf).
The thing is I want to extract the A2DP profile (wireless streaming service) for BT stack. How can I do it?
Thanks for your help
TiBiSMART
11th February 2006, 09:32 AM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
KTamas
11th February 2006, 09:45 AM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
I think you can add modules (dlls) just like every other file. It might just get dumped in the other way next time. Now, replacing modules, that is an interesting question...
TiBiSMART
11th February 2006, 10:51 AM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
I think you can add modules (dlls) just like every other file. It might just get dumped in the other way next time. Now, replacing modules, that is an interesting question...
thx for your fast answer, so i'd like to implement a WM5 rom the .NET2, so i have to change cgautil.exe and mscore.dll module a newer...
i don't know how. :cry:
KTamas
11th February 2006, 10:54 AM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
I think you can add modules (dlls) just like every other file. It might just get dumped in the other way next time. Now, replacing modules, that is an interesting question...
thx for your fast answer, so i'd like to implement a WM5 rom the .NET2, so i have to change cgautil.exe and mscore.dll module a newer...
i don't know how. :cry:
You should just delete the original ones and add the new ones as files. It is worth a try....
TiBiSMART
11th February 2006, 11:12 AM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
I think you can add modules (dlls) just like every other file. It might just get dumped in the other way next time. Now, replacing modules, that is an interesting question...
thx for your fast answer, so i'd like to implement a WM5 rom the .NET2, so i have to change cgautil.exe and mscore.dll module a newer...
i don't know how. :cry:
You should just delete the original ones and add the new ones as files. It is worth a try....
I have tried it but is't working...
bepe
13th February 2006, 06:29 PM
Hi,
I have some problems with translating the CHS Himalaya ROM specially with Transcriber.
After the first selection of Transcriber I get an error like "nodes.exe is not a valid PPC Application" if I try to run nodes.exe, pword, pexcel, PowerPoint or Sim Tool Kit
Transcriber works in fine in other programs like Internet Explorer.
German Keyboard works fine.
Any idea?
If somebody can use them, some tools I wrote:
--DEVDesktop--
".\Add Files\" - Insert files or moduls to add them to the ROM
".\Delete Files\" - Insert files or moduls to delete them in the ROM, this files or moduls MUST also exist in ".\ROM\dump\"
".\ROM\" - Must contain imgfs_raw_data.bin, imgfs_removed_data.bin, NK.nba and the "dump" folder with all files and modules of your ROM
".\Temp\" - Is the output folder (NB.nbf)
xBuild:
Restore ROM -> delete ".\Temp\dump\" and copy ".\ROM\dump\" to ".\Temp\dump\"
Delete Files -> Delete Files in ".\Temp\dump\"
Add Files -> Add Files to ".\Temp\dump\"
Create Hives -> Convert .\default.rgu and .\user.rgu to ".\Temp\dump\*.hv"
Create ROM -> Convert ".\Temp\dump\" to ".\Temp\NK.nbf"
RGUComparer:
Delete, edit (DoubleClick on entry), rename and add (Keys and entries)
File MUST be unicode and the first line MUST be 'REGEDIT4'
<Full source code included>
ady
14th February 2006, 12:34 PM
Hi mates!
I have two stupid questions.... :shock:
What is the different beetween file mode and module mode in imgfs_raw_data.bin?
I can make s000,s001...etc sections but how can i make imageinfo.bin, txt?
I think you can add modules (dlls) just like every other file. It might just get dumped in the other way next time. Now, replacing modules, that is an interesting question...
thx for your fast answer, so i'd like to implement a WM5 rom the .NET2, so i have to change cgautil.exe and mscore.dll module a newer...
i don't know how. :cry:
You should just delete the original ones and add the new ones as files. It is worth a try....
I have tried it but is't working...
Modules (dumped directories) and files are not interchangable. To replace a module, you need a module with exact size sections (very difficult) whereas files can be replaced easily... A module is a file as it is while loaded in memory... the purpose is to make is executable directrly from ROM without loading it into RAM consequently the header information and other section which are require for the operating system to load that file into memory are missing from these modules.
mamaich
15th February 2006, 12:46 AM
Modules (dumped directories) and files are not interchangable. To replace a module, you need a module with exact size sections (very difficult) whereas files can be replaced easily... A module is a file as it is while loaded in memory... the purpose is to make is executable directrly from ROM without loading it into RAM consequently the header information and other section which are require for the operating system to load that file into memory are missing from these modules.
You are a bit wrong. You can replace any module (i.e directory) with a file. Just delete the directory and add the file with the same name.
ady
15th February 2006, 07:24 AM
but then it won't be executed directly from rom but will first be loaded into RAM and then executed.
mamaich
16th February 2006, 01:16 AM
but then it won't be executed directly from rom but will first be loaded into RAM and then executed.Yes. Theoretically they load a bit slower then XIP dlls, but this is completely unnoticeable. By the way all DLLs in IMGFS (stored as modules or as files) are loaded to RAM. The real XIP DLLs that are executed directly from ROM are only nk.exe, coredll and several other that are in first XIP section of ROM.
ady
16th February 2006, 12:13 PM
I am curious... why are these certain DLLs/EXEs have the information stripped and are divided into sections if they are to be loaded in RAM anyways? or is it that only a particular section of these files is loaded into RAM and the code section is executed from ROM?
mamaich
17th February 2006, 12:46 AM
I am curious... why are these certain DLLs/EXEs have the information stripped and are divided into sections if they are to be loaded in RAM anyways? or is it that only a particular section of these files is loaded into RAM and the code section is executed from ROM?In old days DLLs were made XIP (code executed from ROM and only writable data sections were copied to RAM, only writable data sections were compressed). In WM5 there still exists one XIP partition with NK, coredll and some more files needed to boot device. Everything else is in IMGFS partition, and everything there is compressed (including code sections, and that is why they need to be decompressed to RAM before execution).
The only idea I have why MS decided to make DLLS from IMGFS based on a fixed address, is probably to reduce holes between loaded DLLs on the device and also to save virtual address space of a process. As far as I remember in WM5 these DLLs are loaded outside process address space, and fixing them to specified addresses makes this easier to OS. But I may be wrong.
KTamas
19th February 2006, 05:38 PM
Hmm. I was building a ROM and almost at the end I got two weird error messagebox (one empty "X" one and another one with some boxes as text) then bang, Blue Screen of Death. On the second time, it worked well.
mamaich
20th February 2006, 12:49 AM
Hmm. I was building a ROM and almost at the end I got two weird error messagebox (one empty "X" one and another one with some boxes as text) then bang, Blue Screen of Death. On the second time, it worked well.check your virtual memory settings and/or free RAM. There is a bug in cecompr_nt.dll (this is a Microsoft dll) so that it lose lots of RAM. Maybe later I'll fix that. On PC with 1Gb RAM or more (I have 1.5Gb) this never happens.
bepe
28th February 2006, 11:32 PM
I'm trying to dump an iPAQ ROM to extrakt some moduls for a himalaya
("iPAQ hx2700 Windows Mobile 5 German.nbf")
the rom is not encrypted!
prepare_imgfs.exe "iPAQ hx2700 Windows Mobile 5 German.nbf"
-Searching for IMGFS start... Found at 006417A9
-Dumping... Done!
viewimgfs.exe imgfs_raw_data.bin
...Dumps 13 moduls then...
Unhandled exception in DumpImageData!!!
Cannot create wzcsapi.dll\╚1
$
Unhandled exception in DumpImageData!!!
Unhandled exception in DumpXipData!!!
Header type: FFFFFEFB, Addr: 00001FAC
szName: wzcsapi.dll
Address: 000A2000, dwBlockSignature: D217E16E
dwNextHeaderBlock: F4680C73 (size: F45DEC73)
Header type: 502AA40A, Addr: 000A2008
Unknown header type, FS_DATA_TABLE??
Header type: FFFFFFFF, Addr: 000A203C
Empty header
Header type: 0110E068, Addr: 000A2070
Unknown header type, FS_DATA_TABLE??
...
is there any chance to dump this ROM?
mamaich
1st March 2006, 02:27 AM
the rom is not encrypted!Yes, it is not encrypted. But it has 0x89 bytes of some hash after each 0x40000 bytes of data.
So you should remove this trash before dumping.
I may be wrong in numbers, but you should understand the idea.
titi366
5th March 2006, 02:25 PM
Hello ,
I would need your help , please .
This my problem :
When i save my file "default.hv" with RGU.exe , it loses 40 Ko in any case , whether i change it or not . For instance , my file capacity is 644 Ko ; but when i save it , is only 604 Ko even without changing anything .
I tried with various "default.hv" from various ROM ( for tornado ) but it's always the same .
Moreover , i noticed something else , even if i don't change the file , after i save it there is a line wich changes :
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpda te]
"boot.rgu"=hex:37,FD,A0,81,1A,BF,53,DA,03,D9,98,48,F4,CB,25, 6D
to:
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpda te]
"boot.rgu"=hex:70,F7,4D,13,BD,8F,6B,EA,82,C4,B7,81,B6,FD,5B, 0D
Is there something wrong ?
I also compared my original "DEFAULT.HV" with the same .HV after i save it without chanching it and they are totally different with Ultraedit32 .
All the same , i tried to create a ROM by remplacing default.hv with that of saved with rgu.exe without changing it .
My mobile phone starts but there is a bug : it doesn't ask for the pin code and the mobile phone is lock in "flight mode" .
And i also tried with a personalized default.hv , my changes are taken into account but i've always the same bug....
Overwise , everything else is fine .
Is there anybody who can help me ?
Thanking you in advance .
stabal
5th March 2006, 03:58 PM
would using this tool help fix my 4 hardware buttons that don't work, the today, messaging, internet explorer, & ok button. I'm unable to format after installing a new rom messaging button won't work. I have a xda 2s. thanks
x-X-x
5th March 2006, 04:35 PM
Hi,
I upgraded my Wizard with latest iMate's ROM but...
1) "itsutils.dll" can't write anything to device but can read
2) TyphoonNbfTool.exe (pre 0.4 and 0.4) don't want to export neither encrypted nor decrypted data from nk.nbf
F1!!!
bepe
5th March 2006, 09:15 PM
@titi366
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpda te]
"boot.rgu"=...
is a timestamp
RGU.exe deletes empty keys! use DEVDesktop_RGUComparer.rar in state.
Iogansen
5th March 2006, 09:53 PM
I want upgrade my wm5.bin. I want insert there some files.
How can i convert my wm5.bin into nk.nba (and back)?
I find (1) http://wiki.xda-developers.com/index...5_RomStructure . Use it i can get all files .nb from my.bin, but i don't know what can i do next.
Can anybody help me?
p.s. Sorry, I can't speak english as vell as i want.
mamaich
6th March 2006, 01:18 AM
I want upgrade my wm5.bin. I want insert there some files.
How can i convert my wm5.bin into nk.nba (and back)?
I find (1) http://wiki.xda-developers.com/index...5_RomStructure . Use it i can get all files .nb from my.bin, but i don't know what can i do next.
Can anybody help me?
p.s. Sorry, I can't speak english as vell as i want.You don't need this. The tools would work on your BIN if it is in raw format (i.e. is not B000FF).
yifengling0
6th March 2006, 02:02 PM
use these tools can I replace the WM5's key driver(keybddv.dll) with 2003se keybddv.dll file?
Iogansen
6th March 2006, 04:34 PM
The tools would work on your BIN if it is in raw format (i.e. is not B000FF).
How can I convert my.bin into raw format?
titi366
6th March 2006, 09:32 PM
@titi366
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpda te]
"boot.rgu"=...
is a timestamp
RGU.exe deletes empty keys! use DEVDesktop_RGUComparer.rar in state.
Hi bepe ,
Could you have a look at my default.hv files and tell me what's wrong ?
Because i've the same problem with DEVDesktop_RGUComparer ...
Please :roll:
bepe
6th March 2006, 11:11 PM
the empty keys are missing
dont use RGU.exe to convert the files to text.
hv to txt:
Drop one file to "HV to TXT (Drop a .HV file).bat", this converts filename.hv to filename.txt in the same folder as filename.hv
then convert filename.txt to unicode (MS Editor->Save as)
txt to hv:
rename filename.txt to boot.rgu and put this file into the same folder as "make_boot_hv.bat"
then doubleclick at "make_boot_hv.bat" and rename the new boot.hv to filename.hv
size is the same but "boot.rgu"=... has a new timestamp
titi366
7th March 2006, 11:10 PM
the empty keys are missing
dont use RGU.exe to convert the files to text.
hv to txt:
Drop one file to "HV to TXT (Drop a .HV file).bat", this converts filename.hv to filename.txt in the same folder as filename.hv
then convert filename.txt to unicode (MS Editor->Save as)
txt to hv:
rename filename.txt to boot.rgu and put this file into the same folder as "make_boot_hv.bat"
then doubleclick at "make_boot_hv.bat" and rename the new boot.hv to filename.hv
size is the same but "boot.rgu"=... has a new timestamp
Thank you for your help ! All is OK now !
:lol:
le_toubib
8th March 2006, 09:59 PM
hello there
wonderfull work but i tried it on my "JASJAR_WWE_11353_137_10301" i could prepare_imgfs and viewimgfs succesfully. but i failed to buildimgfs and delfile .... any clue.
p.s : i could delete 8MB of dogbarking and multimedia crap from windows folder, i really wish i could cook this one
thanks a lot
the shrink
Hades77
10th March 2006, 09:42 AM
is there a chance to get real dlls from the dumped dll-folders?
Thanks,
Hades.
taxist
12th March 2006, 04:25 PM
Has made all about what has read through above on BA (2005) all superb.
I have a question:
With what help of tools to make too most on BA (2003SE)?
ROMMaster.exe Does not work,
The method from itsme is very difficult for me: (
Excuse for bad English
nedge2k
13th March 2006, 02:41 AM
is there a chance to get real dlls from the dumped dll-folders?
Thanks,
Hades.
i also need to convert a dll folder to a dll.
i tried to copy the dll out of the raw rom .bin using winhex and the start/end offsets (from dumpmemorymap.txt) for the dll and then paste it into a new file and save it as the dll but it didnt work.
01760000 - 01765FFF ( 24575 bytes): usbmsfn.dll
so far the imgfs tools are the only ones that have allowed me to "access" this dll as its from a g-smart.
i'd appriciate any help with this as if i can do what im hoping to do it'll benefit us all ;)
TiBiSMART
15th March 2006, 06:22 PM
this tool doesn't work with himalaya for me...
why?
TofClock
15th March 2006, 07:28 PM
what tool ?
TiBiSMART
15th March 2006, 09:03 PM
So i am stupid it's working perfectly of course....
saman-cz
22nd March 2006, 08:27 PM
I've problem dumping Wizard AKU2 ROM from i-mate,. For decoding OS.nb i use typhoonnbfdecode.pl. But viewimgfs dumps only a several XIP files and then fails.
bepe
22nd March 2006, 08:32 PM
You have to use: prepare_imgfs.exe nk.nba -nosplit
saman-cz
22nd March 2006, 08:38 PM
Ohh, sorry :oops: , now i've remebered that option :oops:
Asukal
29th March 2006, 04:16 PM
accroding to my (low) knowledge and experience,
we can inject the files into "Windows folder" by mamaich's addfile.exe.
we can not make any directries or folders, also can not inject files another directries except Windows.
I am just talking of possiblity, not tested coz my exec have been stucked in Splash Screen after ROM update with i-mate 1.30 ROM.
Today i found one file named initifiles.dat, and open it with editor.
the folder informations of files directries were written on that.
Examples.
================================================== ========================
Directory("\My Documents\My Pictures"):-File("Birthday_gift.gif","\Windows\Birthday_gift.gif")
Directory("\My Documents\My Pictures"):-File("Heart.gif","\Windows\Heart.gif")
Directory("\My Documents\My Pictures"):-File("Photo.gif","\Windows\Photo.gif")
Directory("\My Documents\My Pictures"):-File("Pond.jpg","\Windows\Pond.jpg")
Directory("\My Documents\My Pictures"):-File("Utah.png","\Windows\Utah.png")
Directory("\My Documents\My Pictures"):-File("1-nature_15fps.mp4","\Windows\1-nature_15fps.mp4")
Directory("\My Documents\My Music"):-File("Alouette.mid","\Windows\Alouette.mid")
Directory("\My Documents\My Music"):-File("ding.amr","\Windows\ding.amr")
Directory("\My Documents\My Music"):-File("Dogbark.wav","\Windows\Dogbark.wav")
Directory("\My Documents\UAContents"):-File("CannedText.txt","\Windows\CannedText.txt")
Directory("\My Documents\UAContents\Templates"):-File("0.dat","\Windows\0.dat")
Directory("\My Documents\UAContents\Templates"):-File("0.jpg","\Windows\0.jpg")
Directory("\My Documents\UAContents\Templates"):-File("1.dat","\Windows\1.dat")
Directory("\My Documents\UAContents\Templates"):-File("1.jpg","\Windows\1.jpg")
Directory("\My Documents\UAContents\Templates"):-File("2.dat","\Windows\2.dat")
Directory("\My Documents\UAContents\Templates"):-File("2.jpg","\Windows\2.jpg")
Directory("\My Documents\UAContents\Templates"):-File("Custom.jpg","\Windows\Custom.jpg")
Directory("\My Documents\UAContents\Templates"):-File("MMSTemplates.inf","\Windows\MMSTemplates.inf")
Directory("\Windows\Help"):-File("MMS Composer.lnk","\Windows\MMS Composer.lnk")
------------------------------------------------------------------------------
;Directory("\My Documents\Templates"):-File("magazine.gif","\Windows\magazine.gif")
;Directory("\My Documents\Templates"):-File("Clothes-Line.gif","\Windows\Clothes-Line.gif")
;Directory("\My Documents\Templates"):-File("Totem.gif","\Windows\Totem.gif")
;Directory("\My Documents\Templates"):-File("Totem2.gif","\Windows\Totem2.gif")
;Directory("\My Documents\Templates"):-File("Totem-Heart.gif","\Windows\Totem-Heart.gif")
Directory("\Windows\Help"):-File("Camera.lnk","\Windows\Help_Camera.lnk")
Directory("\Windows\AppButtons"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
------------------------------------------------------------------------------
like above,
@so i think(or hope) we can add files into ROM not only windows folder, but also our specified folder
by editing this "initflashfiles.dat".(or can meke folders with short cut)
Example;
1;addfile.exe asukal.exe
2;edit or add the lline in "initflashfiles.dat"
Directory("\root\Sweat"):-File("asukal.exe,"\Windows\asukal.exe")
this initflashfiles.dat was from Universal WWE rom.
i also get same file from another japanese WM5 Device, and found thier files of own application
also specified thier directries with this Dat file.
@PLS see follows.(some long sentece is the CODE of japanese Chalactors)
----------------------------------------------------------------------------------
Directory("\Program Files"):-PermDir("Picsel")
Directory("\Program Files\Picsel"):-PermDir("File Viewer")
Directory("\Program Files\Picsel\File Viewer"):-PermDir("Help")
Directory("\Program Files\Picsel\File Viewer"):-PermDir("history")
Directory("\Program Files\Picsel\File Viewer\Help"):-PermDir("0000")
Directory("\Program Files\Picsel\File Viewer\Help\0000"):-File("app.html","\Windows\app.html")
Directory("\Program Files\Picsel\File Viewer\history"):-File("history.txt","\Windows\history.txt")
Directory("\x005C\x0057\x0069\x006E\x0064\x006F\x0077\x0073\x 005C\x30B9\x30BF\x30FC\x30C8\x0020\x30E1\x30CB\x30 E5\x30FC\x005C\x30D7\x30ED\x30B0\x30E9\x30E0"):-File("Picsel PDF Viewer.lnk","\Windows\picselifv.lnk")
------------------------------------------------------------------------------------
do any body have a information or experience about this?
bepe
29th March 2006, 04:30 PM
my experience about this...
you can edit this file with editor but if you save it the resulting file will not work.
The problem is that the editor will add an Unicode header, this file is unicode but it must not have a header.
Solution:
Edit with editor -> save -> edit with a HEX-editor and delete the first two bites (something like FF FB)- this is worging: tested
Asukal
29th March 2006, 04:58 PM
my experience about this...
you can edit this file with editor but if you save it the resulting file will not work.
The problem is that the editor will add an Unicode header, this file is unicode but it must not have a header.
Solution:
Edit with editor -> save -> edit with a HEX-editor and delete the first two bites (something like FF FB)- this is worging: tested
thanks for your attention to my post.
also thanks your instruction, so it means it will work as i said if follow your advice??? glad to hear that!
Now i am writng this for making Japanese SHell folder..... :D
someone45
2nd April 2006, 12:48 PM
First congrats on excellent tools for editing the rom.
I'm trying to edit a typhoon WM 5 rom using mamaich's tools and I always get to a point where I'm stuck :( The problem is with the checksum of the file, I already now where it is stored, but I don't know how to calculate new one after editing the rom. I wouldn't bother, but it is required to flash the rom - it always says the checksum is wrong while flashing the phone with edited rom. Please, can anyone help me?
bepe
2nd April 2006, 01:39 PM
Try TyphoonNbfTool.exe it calculates the CRC32 (tools menu).
someone45
2nd April 2006, 01:51 PM
Thanks for the answer. I've tried it already, but it calculates completely different CRC than it is needed by the flashing tool (looks like it doesn't work with .bin not .nbf files).
milanvot
6th April 2006, 05:28 PM
I'm trying to dump an Universal ROM (JASJAR_WWE_11353_137_10301) to extract some dlls I'm interested in.
1. I've decoded the ROM (nk.nbf -> nk.nba) using HTC64 Extended ROM Tool.
2. Then I ran:
prepare_imgfs nk.nba -nosplit
(IMGFS found at 00600000)
3. I tried to run
viewimgfs imgfs_raw_data.bin
but the viewimgfs returns (crash?) immediately without any work done. There is no 'dump' directory, nothing.
Any idea what am I doing wrong?
TofClock
6th April 2006, 08:33 PM
i also need to convert a dll folder to a dll.
i tried to copy the dll out of the raw rom .bin using winhex and the start/end offsets (from dumpmemorymap.txt) for the dll and then paste it into a new file and save it as the dll but it didnt work.
so far the imgfs tools are the only ones that have allowed me to "access" this dll as its from a g-smart.
i'd appriciate any help with this as if i can do what im hoping to do it'll benefit us all ;)
Do you say that you have a .bin of g-smart rom ???
le_toubib
6th April 2006, 09:02 PM
"""""""""""I'm trying to dump an Universal ROM (JASJAR_WWE_11353_137_10301)"""""""
i tried the same thing, on the same rom , and created dump folder but failed to rebuild it . :?: :?: :?:
any help
milanvot
7th April 2006, 01:46 AM
"""""""""""I'm trying to dump an Universal ROM (JASJAR_WWE_11353_137_10301)"""""""
i tried the same thing, on the same rom , and created dump folder but failed to rebuild it . :?: :?: :?:
any help
Check you PMs please :-)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.