[dumped ROM support] WP7 Rom Tools [UPDATED 29.02.12] - Windows Phone 7 Development and Hacking

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.

Related

Cooking ETEN Romz

Hi
can anybody please help with decomiling ETEN Romz so that we can customise it and tweak it like HTC romz.
reo
Try this attach
Usage:
prepare_imgfs_eten.exe temp.dat
then mamaich viewimgfs
Hi
thanks i have this file, and yes it does work to disassemble rom. but i had a problem reassembling.
i am still testing this, i will fill everyone in.
regards
reo
OK, continue
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs_eten.exe temp.dat
hi
thanks, but my problem was actually this part. i should have been more clear. when i done a recompile with build the OS did not come out correct. it seems that it got damamged and when i loaded it to my phone it froze up on boot logo.
is there a limit on the amount of changes u can make in the OS part ? mayb it must not go higher than a certain file size ?
i however have successfully changed the startup logo, and extrom and created a new ROM. only the OS part has been a problem.
regards
reo
How Can I extract the ROM from Eten?
reo
These tools were tested on M500, M600, G500.
If you disassemble temp.dat to dump folder, and then built temp.dat without any changes in the dump folder, the resulting file temp.dat is working?
I tested this, but unfortunately after i reassemble it does not recombile identically. so when i compare there are differences.
however, i have noticed that if you do not have the PPM from itsme repository then you will get 652 files extracted, when you should actually recieve 1117 files
regards
reo
prepare and make imgfs works. when i open reassembled temp.dat again with prepareimgfs - viewimgfs extracts files normally (About 102mb). But comparing with hex editor, first 51,880,508 byte is ok then it changes. After every 513 bytes there is extra 7 bytes in orginal rom. I think Eten made some protection. For example in rom ver.230 bootscreen image (JPG) is located at first lines of rom. But every 512bytes of image there is FFFF FFFF. So i removed FFs and i got bootscreen image
uas, could you give me prepare_imgfs_eten source? i want to see how it works. i am not a programmer but i made a little perl code which adds FFFF every 512bytes of a file. For making bootimages for putting into rom.
Reo i couldn't start bootloader anymore after i made a modification on rom. Could you give me any suggesttions? Forgive my english if there is sth wrong....
All perl scripts for eten roms are in the Russian forum
http://forum.wce.by/viewtopic.php?p=78923#78923
(Registration required)
thanks very much..
can someone make a Eten G500 rom with a bigger page pool ?
UAS,
Thanks a lot for your tools. It works perfectly on my M600 and I am going to write up an tutorial how to customize the rom in detail
jackleung said:
UAS,
Thanks a lot for your tools. It works perfectly on my M600 and I am going to write up an tutorial how to customize the rom in detail
Click to expand...
Click to collapse
oh, please do.......i have been eagerly waiting for someone who are able to explain the extraction of eten rom in details, please jackleung.
sfliu said:
oh, please do.......i have been eagerly waiting for someone who are able to explain the extraction of eten rom in details, please jackleung.
Click to expand...
Click to collapse
My draft (not finished yet)
http://www5.discuss.com.hk/viewthread.php?tid=4127717&extra=page=1
jackleung said:
My draft (not finished yet)
http://www5.discuss.com.hk/viewthread.php?tid=4127717&extra=page=1
Click to expand...
Click to collapse
thank you very much for your effort, this really make my daylooking forward to your complete tutorial.
initflashfiles.dat you can get from the windows folder on your device.
It must be in Unicode but without the first two bytes FFFE Unicode sign.
Localized names must be like as:
Directory("\Windows"):-Directory("\x0428\x0440\x0438\x0444\x0442\x044B")
uas said:
initflashfiles.dat you can get from the windows folder on your device.
It must be in Unicode but without the first two bytes FFFE Unicode sign.
Localized names must be like as:
Directory("\Windows"):-Directory("\x0428\x0440\x0438\x0444\x0442\x044B")
Click to expand...
Click to collapse
But seem like Eten's PDA doesn't come w/ one. Use initflashfiles.dat from other as template and make one from scratch is quite time consuming and error prone (especially w/ Chinese rom w/ chinese file name and directory). For me, I just manually move the files and directories once. Do a SPB backup and use the backup files for initialization after ROM update.
How to custom build Eten Rom
Let me thanks UAS for the tools first
I put all require programs, and user.txt and default.txt (registry for *** Traditional Chiniese Rom ***) into a signle package. Here http://rapidshare.com/files/30073907/eten_rom_cook_package.zip.html
Steps
******************
U will find the steps are very similar to cooking Asus P525 here http://www5.discuss.com.hk/viewthread.php?tid=3788644&extra=page%3D2
***** Section 1: obtain the imgfs_raw_data.bin from the rom *****
1. Download my Rom edit and update package (addfile.exe, buildimgfs.exe .... etc.)
2. In File Explorer, put "%temp%" as address and it should bring you system temp directory probably "C:\Documents and Settings\<yr winodows user id>\Local Settings\Temp", U may want to do some clean up if lots of files there.
3. Run the Eten Rom update program (e.g.: EUU_M600_CHT_R22_101_0230HK_WinXP.exe)
4. No need to connect yr M600. Follow the update instructions step by step and you will eventually see a files: temp.dat (~73mb). Copy the Rom file (Temp.dat) to other folder and extract my package there.
5. create the imgfs_raw_data.bin file by "prepare_imgfs_eten.exe" ONLY
***** Section 2a (Modify Rom content by Add/Remove files) ******
This method is very easy and relative low risk
1. Remove files in the Rom by "Delfile.exe <file name in the rom>"
2. Add files to the Rom by "Addfile.exe <file in yr computer>" (If the program crash, the rom is probably full)
***** Section 2b (Modify Rom content by extract and re-package) *****
More complicate and BuildImgfs.exe take a long time to build a package. But this method ismore flexable and manageable.
1. extract the content by "viewimgfs.exe imgfs_raw_data.bin"
2. add/replace/remove files in the dump directory
3. package the content by back to imgfs_raw_data.bin by "BuildImgfs.exe" (take a shower then come back )
****** Section 3 (optional: Modify the registy content of the Rom file) ******
1. Get the default.hv and user.hv from 2b.1
2. do the following in DOS to convert the registry to readable format :
REM ****************************
SET _FLATRELEASEDIR=.
rgucomp -o default.hv -nologo > wwedefault.txt
rgucomp -o user.hv -nologo > wweuser.txt
REM ****************************
(note: If you are modifing Chinese Rom, rgucomp does not support Chinese Ouput and you need to manually fix the output file (or use mine in the package as yr template)
3. Add "REGEDIT4" in the beginning of the files, leave a blank line atthe end of the file and save the file as UTF-16 or Unicode format. (Ultra-Edit is very good editor for this)
4. Edit the files for registry setting
5. Do the following to replace the registy file w/ yr modification
REM *** Registry ****
Delfile.exe default.hv
Delfile.exe user.hv
attrib -h -s -r *.hv
SET _FLATRELEASEDIR=.
copy /y wwedefault.txt boot.rgu
RGUCOMP -b
copy /y boot.hv default.hv
Addfile.exe default.hv
copy /y wweuser.txt boot.rgu
RGUCOMP -b
copy /y boot.hv user.hv
Addfile.exe user.hv
REM *** Registry ****
******** Section 4 (Optional: Create Folders or copy files from \Windows to other directory)
1. initflashfiles.dat not present in Eten rom, U can create one and put it in the rom. But I can't make my M600 to boot properly w/ this
******* Section 5 Convert imgfs_raw_data.bin temp.dat***************
1. make_imgfs_eten.exe
******* Section 6 Update yr M600 w/ the modified rom***************
1. Copy the temp.dat and RUU.exe (from my package) back to %temp% directory
2. Connect yr M600 and wait for MS Activesync to connect first
3. Run RUU.exe and follow the instruction.
My customized M600 Hong Kong Rom
Don't ask me for M600+ rom since I don't have M600+, and I will not have time to customize build for others. So, take it or leave it (but I might do bug fix and update if there's any). Please feel free to give comment.
*** ROM based on Hong Kong 230 ROM (EUU_M600_CHT_R22_101_0230HK_WinXP.exe) ***
What's get removed from my customized rom:
1. Eten phone firewall (replaced by CALL SMS Blocker)
2. MSN & Msn messenger (replaced by MSN Live and Live Messenger)
3. Eten phone profile manager (Replaced by Pocketmax Phone alarm)
4. Calculator (replaced by Omega 1-Calc)
5. Pocket Excel (Install Softmaker Office if you need a REAL excel program)
6. Pocket Powerpoint
7. Mandarin Voice Command (replaced by Cantonese)
8. Error Reporting and Irda driver
9. Eten backup problem (Replaced by SMS backup Genius and SPB Backup)
10. Quick Link
11. Lots of other junks
What's buildin: (all the tricks I mentioned here: http://www5.discuss.com.hk/viewthread.php?tid=2505945&extra=page=1)
1. USB Host
2. Eten backup battery patch
3. Eten Skype Setting, and Skype
4. SPB Safe Mode and AltTab
5. AE Button Plus
6. Resco Audio Recoarder
7. Resco File Exploer 5.42
8. MemEmpty
9. Multipad.exe
10. No Plugins Today
11. TCPMP Player
12. Pocket Alarm
13. Resco Photo Viewer and screen capture
14. Task Manager
15. Celedial and CeleTask
16. WM5NewMenu
17. Wisbar Lite
(Not all the apps are registed or some of them registered under my name, you may need to look for the SN yrself)
To Install:
1. Follow instruction 6 on my previous post to load the rom
2. put the exe file on yr PDA and run it to have the needed files in place
Dowload link: http://rapidshare.com/files/30225309/eten.rar.html

[Released Translation TUTORIAL] - HOW to translate ANY ROM

Hi!
After a long time of trying to cook custom roms in greek language I am ready to post a small tutorial on how to translate your Rom to your Language using kitchens with a quick and dirty way .
Attention there is a better way to do so but this is what I Do to make my Greek ROMS
Step 1)
a)Download your language emulator Files from
http://www.microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&DisplayLang=en#filelist
(b) extract the files in a new folder.
Slumpolo 's suggestion:
-----
to extract files from the emulation rom follow this direction:
- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BINAnd that's all. Files are dumped in /Dump directory
-----
Click to expand...
Click to collapse
(c) Rename ALL the 4xx files to 409 (e.g. 0408.mui -> 0.409.mui) Apply this to all files and folders (an eyasier way to do that is to search from windows for all *408* files and then rename them)
Slumpolo's suggestion
----
For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.
----
Click to expand...
Click to collapse
Step 2)
Find your BASE ROM.
Step 3)
Download your Kitchen. I prefered Anichillus kitchen due to the fact that supports ROM dumping in an easy way
Step 4)
Dump ROM ( If you use Anichullus Kitchen , follow the manual but Stop BEFORE using Bepe's Package TOOL !
Step 5)
Go to DUMP folder ,(eg C:\core\extract\dump) and paste ALL the language files you have renamed from step 1c . ATTENTION you have to copy and paste ALL files from your language folder AFTER you have renamed them to 409 . REPLACE duplicate files
Step 6)
Continue with kitchen steps . For instance if you were to use Bepe's Package TOOL , go on and build the packages.
Step 7)
Edit Initflashes.dat file . Information on how to do that are in every cooking tutorial. In Intflashes.dat file you will have to translate all the links and directories according to your language files. CAUTION if you make mistakes in translation your WM6 will be crappy and programs may not start
->In order to make a good translation check your original rom, or try the WM6 emulator wth your language files and check the directory names (eg
folder Programs in Greek have to be Προγράμματα)
Step 8)
Save Initflashes.dat in unicode and remove first two bytes with a hex editor
Step 9)
Choose your OEM packages.
For GREEK USERS : If you need a greek software keyboard like the original one I have made an OEM package that allows you to do so
Slumpolo's suggestion
------
For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:
Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "Where 0410 is your country value.
------
Click to expand...
Click to collapse
Step 10)
build your rom according to your kitchen manual
I hope this helps
Good luck with your tries
I have used the same method for the italian version but you must translate also some parts of .hv files and .rgu or you must pay more attention during the translation of initflashfiles.dat because not all links and directories can be translated without .hv and .rgu editing.
My suggestion? Edit only initflashfiles.dat
Some add for your excellent tutorial:
----
For step 1b) to extract files from the emulation rom follow this direction:
- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BIN
And that's all. Files are dumped in /Dump directory
----
For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.
----
For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:
Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "
Where 0410 is your country value.
Next days I'll try to release an
Ciao
At last
Very good..now i can direct all people who ask this question here.
Great initiative
Thanks
Slumpolo
Updated
Tna said:
Thanks
slumpolo can you post info about the which parts of hv files you edit?
Click to expand...
Click to collapse
I'll post everything next week. All my files are in office
Ciao
btw. as far as i know only certain wm6 builds can be translated using EMU mui files. i dont remember build no's.
Why is that ? What are the restrictions?
does it work for Universal to ?
thats what i wrote above, as far as i know(consulted with bepe) 17913 build its not supported(latest uni) it must be build ???? i remember there is 4 in build no. cannot fint irc log with that conv. with bepe
Hi and thanks for your tutorial. I try to go a different way and want to port over a hermes mui cab to get german wm6. i have some trouble of getting it done.
- the file explorer draws no softkeybar, so it is not usable. does anyone know what files i need therefore?
- the free space when installing a cab isn't displayed correctly
what have i done?
- i took the cab from asukal and removed hermes specific things
- afterwards i copy the files from the emulator image to get newest versions of the files.
if somebody want to test it - here you go:
http://www.gsm-multifund.de/holg/Making_German_Wizard.cab
i would appreciate every help.
best greetings
holg
answer from midget about builds that can be translated:
Code:
the changes from 17740-5 are not language related so the mui's work for all of them
i tried a newer rom and also got no luck with the file explorer. does anybody know what file is responsible for translating the file explorer?
No i don't... since file explorer is the least used program i didn't really care about it ...
so sorry but i can't help in that ... why don't you leave it as it is ?
i think filesys.exe.0409.mui
I think that he has found the file. The problem is about the softkey .
Try using reshack tool (it can be found in most kitchens) and open the mui file. search for the softkey
But yet I am not sure ...
yeah thanks for the suggestions
i personally like the build in filexplorer, cause it is fast and has softkey control, it's good if you just browse and open a file.
filesys.exe.0407.mui is already inserted in windows directory, so i will test with reshack,but at the moment i am a little busy.
Doubt about Files
Hi people
About the translation... i have one question.
After doing the "IMGFSTODUMP IMGFS.BIN" command, and all files are in the Dump Directory... besides the files with 4xx names, there are also some folders with 4xx names... and inside those folders are some files also with 4xx names.
Do i have to rename the folders and the files inside those folders, or just the files... or just the folders.
And one thing more... for example the folder "bbcbres.dll.0816.mui" inside these folder, one of the files called "imageinfo.txt".. inside this txt there's something written on the first line : " Module name: bbcbres.dll.0816.mui" if i have to change the name of the file inside the folder called "bbcbres.dll.0816.mui".... do i have to change this line also inside the txt ???
Thanks
how about the hardware keyboard? because I am on a German MDA Vario, Wizard of course, since we are using QWERTZ instead of QWERTY?
Will this be fixed automatically as well?
Cheers.
PauloBarreiros said:
Hi people
About the translation... i have one question.
After doing the "IMGFSTODUMP IMGFS.BIN" command, and all files are in the Dump Directory... besides the files with 4xx names, there are also some folders with 4xx names... and inside those folders are some files also with 4xx names.
Do i have to rename the folders and the files inside those folders, or just the files... or just the folders.
And one thing more... for example the folder "bbcbres.dll.0816.mui" inside these folder, one of the files called "imageinfo.txt".. inside this txt there's something written on the first line : " Module name: bbcbres.dll.0816.mui" if i have to change the name of the file inside the folder called "bbcbres.dll.0816.mui".... do i have to change this line also inside the txt ???
Thanks
Click to expand...
Click to collapse
You have to change all the *0816*. There is no need to change the folders al long as you rename the *.816* files that are included in those folders. There is no need to change the imageinfo since your are not going to replace the original one.
After renaming All the files (including the language files inside the folders) then you shoud copy only THESE files to your dumped ROM .
4irm said:
how about the hardware keyboard? because I am on a German MDA Vario, Wizard of course, since we are using QWERTZ instead of QWERTY?
Will this be fixed automatically as well?
Cheers.
Click to expand...
Click to collapse
no ... look for hades language pack to fix that, too

[UTIL][24MAY10]PreKitchen Tool (Sort, Clean, Merge and create folders)

(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"....

[UTIL][UPG] Buildbldr UPETools [Test Version][Support WP7 Partition]

BuildBLDR Ultra Pro Edition Tools
The new tool, my production, the construction of the section BLDR/BOOT for ROM
WARNING: IF YOU USE THIS TOOL YOU USE IT ON YOUR OWN RISK
WARNING: THIS TOOL IS ONLY FOR PEOPLE WHO ARE ON THE KNOW
WARNING: THIS TOOL BUILDS THE MOST IMPORTANT, SECTION ROM
WARNING: WARNING WARNING WARNING!!!
Info:
In this moment, is a beta test tool. I testing this tool for me part from Tsunagi ROM. Based tools: BOOOFF by Haus(thx)
More info in TG01 Thread:
buildbldr for TG01
Download:
buildbldr v.1.0.0.0
Release history:
V. 1.0.0.0
-> dump partition: BLDR/NK/SLDR1/SLDR2
-> create Map's dump partition: BLDR/NK/SLDR1/SLDR2
-> build partition: BLDR/NK/SLDR1/SLDR2
-> support partition extract from htc ROM Image Editor
-> support library: compress.dll
WARNING: I did not test the correctness of the construction of NK/SDLR1/SLDR2.
The program - write files from the directory -> to Section BIN!!!
Best Wishes
Nokser
You say this supports WP7 NK partition, right?
Does it work with imageinfo.bin and romhdr.bin or does it need those .txt files?
OndraSter said:
You say this supports WP7 NK partition, right?
Does it work with imageinfo.bin and romhdr.bin or does it need those .txt files?
Click to expand...
Click to collapse
In this moment.. it's only test version.... support dump NK
Cool, good work.
Does it (will it) also handle possible relocations and (possible) change of JMP instruction on the beginning and different pExtension as kernel.dll changes? This part is a bit a mystery for me and Plax, so if you have more knowledge, share please .
OndraSter said:
Cool, good work.
Does it (will it) also handle possible relocations and (possible) change of JMP instruction on the beginning and different pExtension as kernel.dll changes? This part is a bit a mystery for me and Plax, so if you have more knowledge, share please .
Click to expand...
Click to collapse
in NK:
I'm working on it too ... This dependence of entry, a reference to the kernel.dll
in SDLR1/SDLR2/BLDR:
If port this sections fron old structure ROM(WM6.5), then must add in nk.exe, reference to an object in first lines...
-> BLDR called -> SDLR1, SDLR2, NK
Thanks buddy, great job

WP7 Rom Tools by AnDim

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?

Categories

Resources