Related
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:
Code:
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.
mamaich,
can this be done on Alpine device??? Alpine that known as faster Himalaya also should be running WM5.....
thanks
Looks nice
Some questions:
1. AddFile:
Can I add single file like
Code:
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.
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.
mamaiiiiichhhhh I was waiting those tools gr8 work mate, can you upload the modified rom that you already customized for testing it?
baniaczek said:
1. AddFile:
Can I add single file like
Code:
AddFile something.exe
Click to expand...
Click to collapse
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"
Click to expand...
Click to collapse
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?
Click to expand...
Click to collapse
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.
efjay said:
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...
Click to expand...
Click to collapse
I don't have any problems with IE.
Ic
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
@mamaich
Thank you for the answer. And thank you for your hard work [sinze Siemens SL45i].
mamaich said:
efjay said:
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...
Click to expand...
Click to collapse
I don't have any problems with IE.
Click to expand...
Click to collapse
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.
go mamaich!!!
;o)))
buzz
buzz_lightyear said:
go mamaich!!!
;o)))
buzz
Click to expand...
Click to collapse
And GooO BuzZ
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...??/
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
zohaer21 said:
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
Click to expand...
Click to collapse
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!!!!!!
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?
Yeah, go Mamaich, you rock. After the Wizard ROM on the BA, the next step could be a complete ROMkitchen (á lá Wallaby...).
Stupid question, where can I find the NBF<->NBA converter? (Yes, i did search the forums)
ftp://xda:[email protected]/BlueAngel/Tools/UpgradeTools.rar
and this page for info
http://wiki.xda-developers.com/index.php?pagename=BA_GettingStarted
@efjay
did you use the -sd -sl -so and the -c -u options in xda3nbftool? Thats where i went wrong first time.
Platformrebuilder - New ROM Kitchen
Features:
- Full support for all HTC devices
- Easy XIP porting
- Does not depend on rgucomp anymore, instate building its own hives
- Native c++ (means faster)
- EXT packages (Extended packages)
- Support for building multiple languages and editions of a rom with a single Kitchen
- More configurable paths
- Using packages in XIP now
Extended Packages Structure:
* .\My EXT Package\
The Package itself can be named as you like
* .\My EXT Package\files\
All files that you put into this 'files' folder will be added to the OS
* .\My EXT Package\app.reg
The reg file can be Unicode or ANSI and contains the Package registry
* .\My EXT Package\app.dat
Same as the reg file, but content will be added to initflashfiles.dat
This part is for the local part of the package, like language dependent reg entries or files:
* .\My EXT Package\0409\files\
* .\My EXT Package\0409\app.reg
* .\My EXT Package\0409\app.dat
It works exactly the same way as 'files', app.reg, app.dat in root of the Package, but it will only be added to the OS if you are building a WWE rom
...
* .\My EXT Package\<LOCALE>\files\
* .\My EXT Package\<LOCALE>\app.reg
* .\My EXT Package\<LOCALE>\app.dat
You can add as many local folders as you like, this is EXTREAMLY useful if you like to build more than one language of your ROM
Summary:
+ Files and RGU file is not in one folder anymore
+ DSM file is not needed anymore
+ Possible to make packages that support multiple languages
+ There will be a tool that converts OEM packages automatically to EXT packages
+ .reg and .dat files can be Unicode or ANSI
+ reg files dont need REGEDIT4 and the empty line anymore
+ The language to use is selected inside the .bat file by: set LOCALE=0409
Skip files:
One very important new part are the skip files, you can place this skip files inside SYS, OEM, EXT packages.
In build_rom.bat you will find this two lines:
set LOCALE=0409
set BUILD=Premium
LOCALE should be set to the language you want to build the ROM for
BUILD is some custom value like Premium/Basic/Lite (you can call it however you like, 高级/基本/建兴 would be working too)
* _skip
This package will be skipped always.
* _skip_0409
This package will not be included to the OS if you set LOCALE to 0409.
* _skip_Lite
This package will not be included to the OS if you set BUILD to Lite.
* _only_0409
This package will only be included to the OS if you set LOCALE to 0409.
* _only_Premium
This package will only be included to the OS if you set BUILD to Premium.
Example:
We are building:
Languages: 0409, 0407, 0404
Editions: Premium, Basic, Lite
OEM\Package 1\_skip_0409
OEM\Package 1\_skip_0407
OEM\Package 2\_skip_Lite
OEM\Package 2\_skip_Premium
OEM\Package 3\_only_Premium
Package 1: Will only be included if you are building a 0404 rom.
Package 2: Will only be included if you are building a Basic rom.
Package 3: Will only be included to a Premium build.
- As you can see there can be more than one skip file in one package.
- A skip file is just a file (like an empty text file) that is renamed to "_skip_xxx", important is that this file MUST not have an extension, only filename!
- In EXT packages put the skip file into the root of the package.
Important to know is that skip files are ignored if you are explicitly referring to a package path... just continue reading...
The following might sound a little complex, but it really is not and you might not need it in case that you are only building a one language rom...
... anyway, there is a sample Diamond Kitchen with multilingual support in the download section.
Paths and Patterns:
This Kitchen is using free configurable patterns for XIP, SYS, OEM, EXT.
Patterns can have wildcards or can be explicit, like this examples:
* set EXT_PATTERNS=EXT\*
This will search for all packages inside .\EXT\ folder. e.g.:
Kitchen\EXT\Package 1\
Kitchen\EXT\Package 2\
... (all packages inside EXT will be added)
* set EXT_PATTERNS=EXT\My Package
This will explicitly add only one package. e.g.:
Kitchen\EXT\My Package\
* set EXT_PATTERNS=EXT1\* ; EXT2\* ; EXT3\Settings
This will explicitly add all packages inside EXT1 and EXT2 and at the end EXT3\Settings. e.g.:
Kitchen\EXT1\Package 1\
Kitchen\EXT1\Package 2\
...
Kitchen\EXT2\Package 1\
Kitchen\EXT2\Package 2\
...
Kitchen\EXT3\Settings\
* set EXT_PATTERNS=EXT\*\*
This is very special, it means you can group your packages into collections like this:
Kitchen\EXT\<collection>\<package>
e.g.:
Kitchen\EXT\Original Diamond\<packages>
Kitchen\EXT\From Raphael\<packages>
Kitchen\EXT\From HD\<packages>
Kitchen\EXT\Own Apps\<packages>
...
* set EXT_PATTERNS=C:\EXT\* ; d:\My Packages\debug apps
This should just show that the packages do not have to be inside the Kitchen anymore
In build_rom.bat you will see this lines:
set ROMHDR=ROM\romhdr.bin
set XIP_PATTERNS=ROM\XIP\*
set SYS_PATTERNS=SYS\*
set OEM_PATTERNS=OEM\*
set EXT_PATTERNS=EXT\*\*
Use your creativity for example for multilingual builds:
* set SYS_PATTERNS=SYS\%LOCALE%\*
This line will use SYS\0409\* in case that you are building with LOCALE=0409, but if you set LOCALE=0407 it will use SYS\0407\*
... you should really try to understand this line, so here an additional explanation:
set LOCALE=0409 is declaring a variable called LOCALE with the value 0409. If you write %LOCALE% somewhere in the bat file it's the same as writing 0409 directly, but if you change the LOCALE variable now, it will automatically change the meaning of %LOCALE%.
This means you can switch the language of your ROM Kitchen by just changing the value of set LOCALE=0409
* set SYS_PATTERNS=SYS\COMMON\* ; SYS\%LOCALE%\*
This line will use packages inside SYS\COMMON for all languages and it will add only the local packages from SYS\0409 if you are building LOCALE=0409
SYS.png
* set OEM_PATTERNS=OEM\* ; OEM\OEM_Lang_%LOCALE%
The idea behind this line is to have all the OEM_Lang_xxxx folders inside OEM:
OEM.png
But right now it would create a list of packages to add to the OS like this:
OEM_Lang_0407
OEM_Lang_0409
OEMDrivers
OEMMISC
OEM_Lang_0409 (<- You see in this case LOCALE was set to 0409, so this package was added for OEM\OEM_Lang_%LOCALE%)
Problems are now that all OEM_Lang_xxxx folders inside OEM have been added and that OEM_Lang_0409 has been added two times.
We solve that using the skip files, we just place a "_skip" file inside all the OEM_Lang_xxxx packages.
The clue is that skip files are ignored if you are explicitly referring to a package, so this will create us the list that we always wanted:
OEMDrivers
OEMMISC
OEM_Lang_0409 (<- Added because of OEM\OEM_Lang_%LOCALE%, but ignored by OEM\* because of the skip file inside the package )
http://forum.xda-developers.com/showthread.php?t=467488
Read that at DarkForces forum. It's good news that Bepe still works for us, but the bad news is that only some advanced users will be able to use his work for cooking. It is not mentioned, but my feeling is that Bepe once and for all left the diamond cooking. Bad for the comunity.
sorry to hear that.
Why has bepe gone to promote a fairly new forum (darkfoces)? Any ideas?
ayl said:
Read that at DarkForces forum. It's good news that Bepe still works for us, but the bad news is that only some advanced users will be able to use his work for cooking. It is not mentioned, but my feeling is that Bepe once and for all left the diamond cooking. Bad for the comunity.
Click to expand...
Click to collapse
This kitchen is not meant for advanced users only, it makes cooking much easier.
Watch the video tutorials at my Kitchen release post
The new kitchen automatically creates the XIP section based on packages, this was a task that before only top cooks where able to do by hand.
And I'm not gone, just needed a time out to work on some projects like PreB, GNes2 and a new AutoInstall tool.
Carty said:
Why has bepe gone to promote a fairly new forum (darkfoces)? Any ideas?
Click to expand...
Click to collapse
I'm member of DF for very long time now, so it was time to contribute something to that forum ... apart of that it would not have been possible without them to create such a kitchen.
Evening bepe
glad to see your still around
i have also notticed that Bepe is preparing new ROM for our diamonds:
http://www.darkforcesteam.com/showthread.php?t=613
i hope i am not wrong.
Jack_89 said:
i have also notticed that Bepe is preparing new ROM for our diamonds:
http://www.darkforcesteam.com/showthread.php?t=613
i hope i am not wrong.
Click to expand...
Click to collapse
Next generation of Drivers from a Diamond 3.06.xxx.xx Base ROM
thanks cyron_at for making me aware of !!
registered and bookmarked ;-)
Jack_89 said:
i have also notticed that Bepe is preparing new ROM for our diamonds:
http://www.darkforcesteam.com/showthread.php?t=613
i hope i am not wrong.
Click to expand...
Click to collapse
yep, look like bepe is busy cooking
Little help on romhdr.bin ?
Looks like a great new Kitchen - thank you bepe .
Trying it with a new ROM as we speak - it's just that it seems to need
a file called 'romhdr.bin'. I never came across that one ...
Looking at search gives some hints as to it being something generated
by dumping the *.nbh ROM or OS.nb.payload file.
But my simple kitchen basing on Kaiser Kitchen has never generated
a file like this.
Can anybody give me hint on how to generate it and what it actually is?
Thanks,
/mst
Edit: I just found the answer to my question - for reference: you have to use bepe's
dumpxip (included in the packages) on xip.bin to get romhdr.bin and the xip.bin dump
in the XIP directory.
(Formerly "Dump Sorter" and "XipDumpSort")
New and Improved - Much more functionality than the old one!
I'm trying to make this a general cleaning\sorting\worker app for processing dumped folders. If you'd like a feature added, please let me know.
What is it?
This is a simple program designed to take the hard work out of rearranging, cleaning and merging dumped ROMs with Kitchens.
What can it do?
Clean - Removed all files with the same name as their directories (This is very useful when converting files to modules)
Sort - Files and Folders can be sorted by:
Ervius Kitchen's folder format
osKitchen's folder format
By comparing to a donor folder (should work with any kitchen)
Unsort from:
Ervius Kitchen's folder format
osKitchen's folder format
Merge missing file and folders from a donor directory (useful when the dump is missing files\folders) (SVN Directories are ignored ('.svn' and '_svn'))
How to install
Click the 'Install' button at http://vidmes.com/dumpsorter/publish.htm
(In order to use the 'launch' link, you need to be using IE)
(Alternatively, just use the zip below)
Notes
Merging is done last, so if the donor directory is 'dirty', this 'dirt' will be copied across
This requires .NET 3.5
Also attached is the source code (for anybody interested) - the project was built using Visual Studio 2010, so it may not open in older versions of VS
Known Issues
Things to do
Get a logo\icon
Ability to pull data from archives (eg zip, rar and 7 zip)
Changelog
Version numbers: <installer version> (<executable version>)
* 0.3.0.3 (0.3.3796.19478)
Fixed: Settings in ComboBoxes would not save (e.g. language, resolution, etc)
WARNING: Upgrading to 0.3.0.3 will wipe any of your current settings
* 0.3.0.2 (0.3.3789.38088)
Fixed: Bug where the 'Browse' button for selecting the donor folder to clone didn't do anything
* 0.3.0.1 (0.3.3734.42067)
Added: Support for OndraStar's osKitchen (sorting, unsorting, creating blank folders)
* 0.3.0.0 (0.3.3733.25038)
Added: Ability to unsort from Ervius format
Added: Ability to only sort DPI\RES\LANG that you actually want
* 0.2.0.1 (0.2.3518.38275)
Added: Ability to invert log
Added: Update log on the fly (instead of at the end)
Fixed: Progress bar go to 100% when complete (or reset afterwards)
* 0.2.0.0 (0.2.3516.36999)
Added: Ability to create a default folder layout for Ervius SYS
* 0.2.3516.24314
Added: About box
Fixed: Merger now ignores SVN directories ('.svn' and '_svn')
* 0.2.3516.23053
Added: Cleaner (remove files with same name as directory)
Added: Sorter for Ervius SYS format
Added: Merger (file and folder)
Fixed: Sorter now removes 'unsorted' directory if it is empty
* 1.0.3509.31117
Fixed: Browse buttons now re-enable after sorting is complete
* 1.0.3497.39310
Initial release
thanx Mr Moderator
its very usefull
WOW!! This is an awesome tool. I'm definitely gonna be giving it a try. Thanks
EDIT: Works perfect
This thing is awesome. It's perfect for organizing SYS folders for any kitchen based on ervius's visual kitchen.
Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :
Code:
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
txtLog.Text = (string)e.UserState;
pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
Code:
//old : bgwDoSorting.ReportProgress(workDone * 100 / workTotal);
bgwDoSorting.ReportProgress(workDone * 100 / workTotal, result);
I also reverse the log to have latest lines on top (log+newline instead of newline+log)
Thanks for the great job!!
very nice, thanks for sharing!
DarkAngelFR said:
Hello,
Thanks for this tool, it's really nice!!!
Just small thing added to your code :
Code:
void bgwDoSorting_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
txtLog.Text = (string)e.UserState;
pgbrStatus.Value = (e.ProgressPercentage > 100) ? 100 : e.ProgressPercentage;
}
and :
Code:
//old : bgwDoSorting.ReportProgress(workDone * 100 / workTotal);
bgwDoSorting.ReportProgress(workDone * 100 / workTotal, result);
I also reverse the log to have latest lines on top (log+newline instead of newline+log)
Thanks for the great job!!
Click to expand...
Click to collapse
I was considering that, but I think you'll find it will run a bit slower (due to having to constantly update the log box). Then again, if you have a dual processor machine (and who doesn't?), you probably won't notice a difference.
Any chance someone would also be interested in writing a batch file or simple program to delete duplicate files inside of a folder? ie: if there happened to be files inside of the module folder as well as the actual module files. So for example "tapres.dll" module folder for some reason has "tapres.dll" file inside. Would need to got hrough whole SYS though.
I am testing it now....
Pretty cool set of resources...thanks
Point of Sale.
jmckeejr said:
Any chance someone would also be interested in writing a batch file or simple program to delete duplicate files inside of a folder? ie: if there happened to be files inside of the module folder as well as the actual module files. So for example "tapres.dll" module folder for some reason has "tapres.dll" file inside. Would need to got hrough whole SYS though.
Click to expand...
Click to collapse
Sure
Maybe I can change my sorter into a cleaner as well...
Any other 'common tasks' I should include?
Perhaps a tool to merge missing folders into the sorted folder? (eg if the new SYS or OEM is missing stuff from the old one)
TehPenguin said:
...Any other 'common tasks' I should include?...
Click to expand...
Click to collapse
Good ideas...
Maybe I add one : default template folder, for example specify DPI, RESV/H and Lang code(s) then go should be usefull when adding a new language to an existing kitchen who don't have the full folder structure yet for the new language
If you need help do not hesitate!
PS: about performance, as you said everyone have dualcore computers at least so backgroundworker + log refresh is not slowing the process, and if it is it's not really visible (I'm not working on 1000000 files for 1000 languages so...)
I've rebuilt the backend to be more 'flexible' (ie custom workers and sorters).
I will build the cleaner and the extra sorter some time soon and have it posted up - don't expect anything too soon though...
Attached is the updated source code
(You should be able to tweak the .sln file to work in Visual Studio 2008)
Very good application but I can not use it, can you set it to work with .NET 2 ?
sIiiS said:
Very good application but I can not use it, can you set it to work with .NET 2 ?
Click to expand...
Click to collapse
I suppose....
Although why not install .NET 3.5?
TehPenguin said:
I suppose....
Although why not install .NET 3.5?
Click to expand...
Click to collapse
Because .Net3.5 has big size for me and members like me to download and install and if I install it, can I remove my .NET2 and .NET1 or need them too for other programs?
Now I have .NET1,2,3 but not .NET3.5
.Net 3.5 include 2.0 but you don't need to remove 2.0 before installing 3.5...
If you use windows update it will be big but not as big as if you download the full package from microsoft (it will just take kind of missing parts)
I like the way microsoft made all this framework, you can setup 3.5 without any problem to your existing 2.0 (or 1.1) applications.....more and more programs are using it so it's not a time loosing install for me..
New version released!
Dump Sorter now has all of the features requested.
From the changelog:
* 0.2.3516.24314
Added: About box
Fixed: Merger now ignores SVN directories ('.svn' and '_svn')
* 0.2.3516.23053
Added: Cleaner (remove files with same name as directory)
Added: Sorter for Ervius SYS format
Added: Merger (file and folder)
Fixed: Sorter now removes 'unsorted' directory if it is empty
Nice i saw your announcement in the release and came to see it... downloading and testing in the next release i seton the kitchen... maybe the tutorials will be useless ... Thanks a lot man!!!
hey there
Thanks for this update, will test today...
Missing screenshots on 1st post lol
what about using ClickOnce so we can have auto updates of the program? If you need help hosting I may help.... I love programs I like to be auto updated and it's really a small thing to do with VS (never tested with 2010)
Keep the good work, looks like we are coming to a complete "pre-kitchen tool"....
UPDATED 29.02.12
htcrie v.0.8.1.85
+ added an updated extract function[gui][com]
+ dumped ROM support (*.D000FF file format)
+ support partitions with unlimited data sector count
download
UPDATED 02.12.11
Some good news.
It is possible to convert all not direct map partitions to partition with FLASH_PARTITION_FLAG_DIRECT_MAP flag.
This gives us increased speed and reduced boot time.
Two days ago, we have successfully tested it with Barin.
How to use:
1. Download htcrie 0.8.1.82
2. Extract partitions:
Code:
htcrie extract /P your_folder\OS.nb
for HD2 users it will be part04.bin
3. In the outputfolder will be created parttbl.cfg text file.
Open parttbl.cfg file in the notepad.
All partitions have DIRECT_MAP value.
It can be 0 or 1 (fo direct map).
4. Change this value for IMGFS, User, or USP partitions.
DIRECT_MAP=1
Save parttbl.cfg file
5. Drag and drop parttbl.cfg file on htcRIE
Will create a new OS.nb file.
UPDATED 27.11.11
htcrie v.0.8.1.82
+ added d000ff to bin extract function [com]
+ support images which was updated via ms update tool [gui][com]
(f.e. all dft freedom roms)
Now we can create your own partition layout for os and set any size of partitions.
We don't need os.nb anymore.
download
How to use:
1. To extract all partitions from a D000FF image file (OS.nb):
Code:
htcrie extract /P <inputfile> [<outputfolder>]
All partitions and parttbl.cfg will be in the output folder.
You can extract IMGFS partition, which was updated via ms update tool (f.e. dft freedom roms).
2. To build a D000FF image file:
Code:
htcrie <parttbl.cfg> (for Drag and Drop)
htcrie build /D <inputfolder> [<outputfile>]
All partitions (logo.bin, ... user.bin) and a parttable.cfg text file must be in the input folder. As option, you can use a parttbl.bin file (first block of the original os.nb) too.
To set a new size of any partition - simply change the BlockCount and Reserved values in the parttbl.cfg file.
THIS TOOL ALLOWS TO BUILD d000ff FILE LIKE ORIGINAL OS
GUI MODE
3. To view and extract contetnt of IMGFS/BLDR/SLDR/NK/LOGO:
Files:
Code:
Select IMGFS -> Select All Items (Click One Item -> Ctrl+A) -> Save selected files
Partition:
Code:
Select IMGFS -> Save selected files
Packages:
Code:
Select IMGFS -> Select SYS/OEM/Packege(s) -> Save selected files
Now You can extract IMGFS content, which was updated via ms update tool (f.e. dft freedom roms).
htcrie v.0.8.1.69
Unlocked Replace function. Support any size of IMGFS. Full version.
How to use:
Code:
htcrie replace /I <imgfs.bin> <os.nb>
download
Thanks a lot to ted973, Football, MagLight for helping me to test this feature, because I do not have any wp7 device.
1. To extract contetnt of IMGFS/BLDR/SLDR/NK/LOGO use htcRIE
Files:
Code:
Select IMGFS -> Select All Items (Click One Item -> Ctrl+A) -> Save selected files
Partition:
Code:
Select IMGFS -> Save selected files
Packages:
Code:
Select IMGFS -> Select SYS/OEM/Packege(s) -> Save selected files
2. To edit default.hv and user.hv use HVEdit_v.2.0.112
You can use drag-and-drop. Create shortcut first.
3. To rebuild IMGFS use imgfsfromdump (or other tool), but don`t forget a new cecompr_nt.dll (with XPH compression type support).
You can use cecompr7_nt.dll from htcRIE.zip, but rename to cecompr_nt.dll first.
4. To replace IMGFS:
Code:
htcrie replace /I <imgfs.bin> <os.nb>
First WP7 Custom ROMs:
HTC Leo - Project "moon light" [WP7] [RUS]
HTC Leo - Project WыньPhone7 [WP7], HTC HD2 / HTC T8585
Release history:
---------------------
V. 0.8.1.82
+ added d000ff to bin extract function [com]
+ new extract function with support images which was updated via ms update tool [gui][com]
(f.e. all dft freedom roms)
V. 0.8.1.79
+ added bin to d000ff builder [com]
V. 0.8.1.69
+ unlocked Replace function [com]
Support any size of IMGFS. Full version.
V. 0.7.0 46
+ added the ability to increase the size of IMGFS partition
(MaxDataSize: 244 Mb)
+ user Partition not present in ROM more
(640 Kb+ )
+ custom Logo
V. 0.7.0.35
+ added IMGFS partition write support (WP7)
V. 0.7.0.19
+ support Samsung OMNIA 7 (.nb0 file format)
+ support htc OS.nb rom part (only WP7)
V. 0.7.0.15
+ extract LOGO partition from OS
+ extract .bmp(s) from LOGO partition
V. 0.7.0.14
+ extract SLDR1 (SLDR2) partitions from OS
+ extract files and packages from SLDR1 (SLDR2)
V. 0.7.0.11 (Test) Only Read and extract functions
+ Initial WP7 Support
II. WinCE Registry Editor (mRegEdit), v.0.5.5
An application to work with registry files with MDI graphic interface.
- supported files: .hv, .rgu
- not supported yet: .reg, .provxml, .fdf
Release history:
---------------------
V. 0.5.5
+ Support .rgu files
V. 0.5.4
+ Added search function
V. 0.4.0 (Beta)
AnDim
your the man , cool cool
AnDim said:
New version with WP7 Support.
htc ROM Image Editor V. 0.7.0.11 (Test) Only Read and extract functions.
+ Support WP7
AnDim
Click to expand...
Click to collapse
I test this tool, for me working good, thanks Bro
WOW , 50 views and only 2 thanks
Here is my thanks!!!
This type of programs really helps we (advanced users) to get more from the stock ROMs.
ceesheim said:
WOW , 50 views and only 2 thanks
Click to expand...
Click to collapse
I was afraid of this happening when it was introduced (people complaining about being thanked).
Thanks hope we can make roms
Sent from my GT-I9000 using Tapatalk
thx andim
Small Info:
-> Not working/support for old/first image system WP7.... (Mondarian/Spark, maybe this os only is test)
do you think writing will be possible?
indiekiduk said:
do you think writing will be possible?
Click to expand...
Click to collapse
Yes, if only I get source code from this program, and mod. any options
indiekiduk said:
do you think writing will be possible?
Click to expand...
Click to collapse
Done, but not tested ...
AnDim
thx i'm waiting for the tools for HD2,a fans of WP7
Great! Thank you!
Great, just what we need. More proprietary (closed source) Russian crap.
WithinRafael said:
Great, just what we need. More proprietary (closed source) Russian crap.
Click to expand...
Click to collapse
isn't that a little bit rude to say to someone that just made a tool to dump parts of a rom ?
but what do you think of making one your self and make the source open ?
ok I wait for your tool then and the source code, when you are on it you could also make use a tool to recmod modules from a wp7 dump (ofcourse open source)
WithinRafael said:
Great, just what we need. More proprietary (closed source) Russian crap.
Click to expand...
Click to collapse
Complaining about closed source, marginally reasonable. Complaining about Russian-ness, not cool. Keep it friendly and good.
Thanks
These are the steps we need to get the chefs in action.
Updated.
v.0.7.0.14
+ Added functions to the Os editor:
extract SLDR1 (SLDR2) partitions from OS;
extract files and packages from SLDR1 (SLDR2);
AnDim
Good work bro
Keep it up dude, to all those who are complaining, better do it yourself, this bro is taking his time and helping us, and he deserve respect. thx brother.
Hi,
I start this thread because a couple of people asked my to upload the WP7 Rom Tools by AnDim. I don't know what happened to AnDim. About a month ago suddenly all his posts were deleted. The forum admins recovered all the posts and locked the original thread, which can be found here. After the thread was recovered it was closed and AnDim's account was disabled. Unfortunately the attachments were not recovered. So AnDim's work is lost. I got a copy of the latest htcRIE, but not from HVEdit. So I will copy the original post from AnDim here and attach his htcRIE. But I don't plan on maintaining his code or support this program or anything, because source code is not available and he coded in C++ so it can't be easily reversed. I just hope he will return some day, so this thread can be closed again and the original thread will be resurrected. All credits should go to AnDim for his great work. Info below is a copy of the original thread.
UPDATED 30.03.11
htcrie v.0.7.0.46
Now we can:
- change the content of imgfs and use 244 Mb of free space
- edit registry
- create and replace custom Bitmap (first Logo)
- extract all partition(s), file(s), package(s) and s.o.
Thanks a lot to Football and Mag Light for helping me to test this feature,
because I do not have any wp7 device.
1. To extract contetnt of IMGFS/BLDR/SLDR/NK/LOGO use htcRIE_0.7.0.46
Files:
Code:
Select IMGFS -> Select All Items (Click One Item -> Ctrl+A) -> Save selected files
Partition:
Code:
Select IMGFS -> Save selected files
Packages:
Code:
Select IMGFS -> Select SYS/OEM/Packege(s) -> Save selected files
2. To edit default.hv and user.hv use HVEdit_v.2.0.112
You can use drag-and-drop. Create shortcut first.
3. To rebuild IMGFS use imgfsfromdump (or other tool), but don`t forget a new cecompr_nt.dll (with XPH compression type support).
You can use cecompr7_nt.dll from htcRIE_0.7.0.46.zip, but rename to cecompr_nt.dll first.
4. To replace IMGFS use htcRIE_0.7.0.46 again.
Code:
Select IMGFS -> Add File -> Choose a new *.bin file (save command don´t need)
5. To replace custom Bitmap use 24-Bit-Bitmap (480x800)
Code:
Select Logo0 -> Add File -> Choose a new *.bmp file (save command don´t need)
First WP7 Custom ROMs:
HTC Leo - Project "moon light" [WP7] [RUS]
HTC Leo - Project WыньPhone7 [WP7], HTC HD2 / HTC T8585
Release history:
---------------------
V. 0.7.0 46
+ Added the ability to increase the size of IMGFS partition
(MaxDataSize: 244 Mb)
+ User Partition not present in ROM more
(640 Kb+ )
- The command line is not supported by more in the public version
+ Custom Logo
Not all images support yet.
V. 0.7.0.35
+ added IMGFS partition write support (WP7)
V. 0.7.0.19
+ support Samsung OMNIA 7 (.nb0 file format)
+ support htc OS.nb rom part (only WP7)
V. 0.7.0.15
+ extract LOGO partition from OS
+ extract .bmp(s) from LOGO partition
V. 0.7.0.14
+ extract SLDR1 (SLDR2) partitions from OS
+ extract files and packages from SLDR1 (SLDR2)
V. 0.7.0.11 (Test) Only Read and extract functions
+ Initial WP7 Support
II. WinCE Registry Editor (mRegEdit), v.0.5.5
An application to work with registry files with MDI graphic interface.
- supported files: .hv, .rgu
- not supported yet: .reg, .provxml, .fdf
Release history:
---------------------
V. 0.5.5
+ Support .rgu files
V. 0.5.4
+ Added search function
V. 0.4.0 (Beta)
AnDim
HVEdit_v.2.0.112
here you go:
HVEdit_v.2.0.112
Phew ! Thanks a lot, I thought these tools were lost.
I could only find them on Russian forums, needing a subscription... But I'm not really at ease with Cyrillic !
Could you give me the ROM that can edit by this tool please? I try to extract some ROM such as RUU_Schubert_hTC_Asia_SEA_WWE_1.57.728.02_Radio_5.52.09.16_22.33a.50.10_Signed_SCHUBERT_TEST but I can not add new IMGFS to it because menu "Add File" is not enabled.
Could you tell me What is the word "RUU" means?
Thank you very much.
varavut said:
Could you tell me What is the word "RUU" means?
Click to expand...
Click to collapse
RUU = Rom Update Utility
Soooo ... is this for HTC devices only ??? Or is there any love for Samsung's ?
minori_aoi said:
Soooo ... is this for HTC devices only ??? Or is there any love for Samsung's ?
Click to expand...
Click to collapse
Also, I can see Omnia7 mentioned but how about Focus?
Adding a Logo doesn't work in a WP7 Mango Rom...I open OS.nb, go to LOGO, click on Logo0 and the "Add file" option is gray (what means I can't use it)...Any other way to replace the boot logo?