Related
Hi XDA-Developers!
First of all: you did a really great job and thanks a lot for ROM 1.1!!
I just want to ask you to explain initobj.txt, files1-dir and files2-dir a little bit more, so i can make my own ROM, and maybe a german ROM.
i'm little bit confused with the format of initobj.txt corresponding to the files in dirs files1 and files2. not every file in the file dirs is listed in initobj.txt. Why? How are these files arranged in the filesystem? ie. how do your scripts know where to put 'vxutil_cl.htp' - it's not in initobj.txt in cfg.
Maybe you could explain it a little bit more....maybe there is already some manual beside 'readme' ???
Thanks a lot.... Jabba
all files in rom can be found in the \windows directory. the initobj.txt files specifies for certain files that copies to other places should be made..
so if a file is not mentioned in initobj.txt, it is only visible in \windows.
also the name of a file in \windows does not nescesarily correspond to the name in wherever it was copied to by initobj
initobj.txt has 2 types of lines ( there are more, but I never looked at them )
Code:
Directory(..dir..) :- Directory(...subdirname...)
to create a subdirectory in 'dir'
Code:
Directory(..dir..) :- File(..filename.. , ...source...)
creates copy of 'source' as 'filename' in directory 'dir'
the reason there are 2 'files' directories, is that there are 2 empty spaces in the rom (1M before the bootsplash, 5M after the bootsplash). I could have made the mkrom script more advanced, and have it automatically figure out how to optimally sqeeze files in either space 1, or space 2. but I didn't , so I'll leave it to the rombuilder to decide how large to make each region.
thanks for your answer!
will it be a true copy from source ? I mean will there be two identical files in the rom then or is it more like a link to the source-file?
another question: is there something in your scripts which is language-dependant ? like the altered welcome.exe ??
in the german rom there are some dirnames different - so i would have to alter the reg-file and the initobj to fit them. Do i have to alter other files as well? Like operator or the welcome.exe ?
Jabba
By the way, would be developers so kind to explain the ways how to extract initobj.txt and default.reg files from the ROM? Or perhaps "original" Qtek ROM files could be published?
I would be of a great help in my ROM-building...
thanks
we based everything on an english qtek rom. if you start with a german rom, you will have to pay attention to differing directory names.
you can get initobj.txt from initobj.dat, by converting the file from unicode
to plain ascii. I usually load it in vi, then do ":%s/^@//g" to strip all NUL characters, and then save it as .txt.
the default.reg you get by converting 'default.fdf' found in the rom, with
Code:
perl fdf2reg.pl default.fdf default.reg
and I wrote this tool (bottom of page) to extract files from a rom image. for most roms you type
Code:
dumprom nk.nbf -d files >nkinfo.txt
to extract the files to the directory 'files' ( which must exist ), and dump lots of info about the rom to nkinfo.txt
Hi folks,
I wasn't going to release these until I'd finish the help file, but as they've already filtered out - I thought I may as well; and this thread will contain the latest release(s).
Firstly, as always when playing with ROMs be careful as you may end up killing your device - use these tools at your own risk!
These tools are Windows GUI based and allow you to:
• View and modify ROM file header information
• Decode Extended ROM files (e.g. ms_.nbf)
• Extract FAT16 image from ROM files
• Extract embedded splash screens
• Remove extraneous data surrounding FAT16 images
• Encode FAT16 images to ROM files
• Insert splash screens into new ROM files
But you'll find not all functionality is available for all devices.
I'll post the help file (with a user guide) when it's ready, but in the meantime feel free to have a play and help me test the apps :wink:
Bal
We at here very proud of you bal666!
great job.....keep it up!
I'm not doing a Windows GUI again ... had to learn MFC ... and yuck!
But thanks for the vote of confidence!!
By the way, if anyone knows what the ROM header fields called Unknown really are, I would very much like to know.
And yes, I've recently realised that the field I call "Device ID" is actually the memory location the ROM should be dumped to (well that's my current thinking anyway)...
Cheers
Bal
Your a star Bal66
Thanks
great app!
thank you bal!!
s
Hello bal666,
Thanks so much for this great program .. I tried it with my imate PDA2K and it encodes the files and decode it correctly .. The thing is , how I can modify the .fat file or edit it ?! ,, I found a program to unpack .fat files but not to pack it back again .. I hope you can tell us how we can manage the *.fat file m8
Thanks again m8 for this nice program and best wishes & regards :wink:
Great Tools
Great....great tools bal666!!!
hawk_mate
You can add or delete cab file and modified Ext ROM by your own using *.fat files, you can mount it using extra drive pro, and use lika other disk....
Is this a tool for exposing the Extended ROM on my magician? Sorry for the n00b question, but i dont get the start post.
Hawk_mate,
cornelius is right - use Extra Drive Creator Pro (you can download a demo version), or if you use linux then you can mount the file as a fat type.
If you use extra drive creator then turn off the recycle bin for the mounted drive - otherwise you'll have fun deleting files from it!!
I will finish the help file, and it contains all of this info...
Yzord,
nope, it won't expose the extended rom - it will allow you to modify the image file (ms_.nbf) that's used when flashing new roms to your device.
I think there may be a program around that will allow you edit the extended rom on your device (do a search, cause I don't really know!).
Have fun
Bal
Before Help file from Bal
Maybe before bal release the help file i'l post my experience while using his tool, ( I'm using for Magician and alpine ). I hope it will help newbie like me to learn more.Once again it newbie guide sorry if look basic but it's from newbie to newbie.
First, my own opinion say "THIS IS THE EASIEST WAY TO EDIT YOUR EXT ROM" thanks to bal!!! (even for newbie like me)
Maybe the tools you need is:
1. Bal's ROM editor (Ofcourse)
Tool to encode you EXT ROM ( Contains programs that installed
auto when we do hard reset.
2. Extra Drive pro
To mount ms_.fat file after we decode our EXT rom...
3. MaUpgradeUt_NoID
To update your ROM
For extra:
1. nb_image_converter_859_418
To create your own splash screen ( Only need 320x240, jpeg/bmp file)
2. comdlg32_901
Don't know what..but if you didn't run it,nb_image_converter_859_418
will fail to run
Now take a journey:
1. Just extract bal's ROM tool and you can run it....chose decode...
2. Browse your ext rom (ms_.nbf),press next
3. just leave option.... but if you want you can extrak the splash screen
(so you can keep the original, who knows you'll miss it)
4. Then run your Extra DrivePro...
5. Chose file to drive, browse your ms_.fat file, mount...
6. Turn of recycle bin on that drive!!!
7. Edit your Ext ROM...( add or delete app ) Don't for get edit txt file...
8. Cole it and dismount but dont delete container...
9. If you want to edit your splash screen go to step 14 first
10. Run bal's ROM tool again, chose encode
11. Browse your *.fat file, (and *.nb file if you want change splashscreen)
12. Run Encode, move your ms_.nbf to update file of ROM...
13. Ready to update using "MaUpgradeUt_NoID", first you'll get
"Country ID Error", DON'T WORRY JUST RUN IT ONCE again...
14. Get your image file, must 320x240 sized
15. Run "comdlg32_901" just one time only
16. Run "nb_image_converter_859_418" browse your pict
17. Save as nb....
18. Back to step 10
Hope those step by step will help newbie like me...
Yup even you newbie don't be affraid to try .if affraid, you'll never find something new....
My suggest just: Have a original ROM back up...so if you have a trouble just go to bootloader, and install the original ROM
Ok... have nice try...
Anyone tried this on the main rom yet, the nk_.nbf? I don't w
nt to sound dis-respectful, the tool is marvelous, but I'd like to hack the camera for instance with the updated one. I'm havin BS, so why cook my ext_rom as i'm not even using it. Just want to create a rom that can doesn't need any patches anymore. Know what I mean
Cheers, M
Excellent app :lol: thanks
Cornelius,
nice instructions! Always worth having a quick guide - thanks.
oltp,
you can use the tool to decode the nk_.nbf file - but the result isn't a fat image. I'm sure I've seen tools on this forum somewhere which allow you to extract and insert files into this file ... have a look around - please do post your results as we'd all be interested to know how it goes.
Bal
Bal I will, only not sure when. It can take some time & takes some serious amount of courage to flash my own magician with a cooked os-rom.
Cheers, M
Absolutely - I'm a coward at heart!!
Many thanks for this collection of excellent tools. Already use a few of them for my own cooking
hawk_mate said:
The thing is , how I can modify the .fat file or edit it ?!
Click to expand...
Click to collapse
Use WinImage from here:
http://www.winimage.com/download.htm
Regards, NiTeSHiFT
Not working for me....Help....
I tried to open the .nba file with WinImage...
But it said "You are trying to open a hard disk image without a FAT or FAT32 partition"
Then wrror came up...
What shall I do then?
How can I add this Universal_CHT dump to the OS ROM..
And where to find this Universal_CHT dump?
Thanks
Re: Not working for me....Help....
parkertseng said:
I tried to open the .nba file with WinImage...
But it said "You are trying to open a hard disk image without a FAT or FAT32 partition"
Click to expand...
Click to collapse
I tried it only with the extension ROM and that one worked. The OS-ROM doesn't work it seems. I tried that too and got the same error.
Sorry.
Hi,
My first post here, hope to don't broke any Forum Rule.
I'm running an emulation of Windows Mobile 6 (SDK) taken from Microsoft,
and I've the necessity to study and extract system dlls (such as for PDB)
and looking for certain Undocumented Functions.
My question is, Is possible/necessary to make a dump of this Emulated WM6?
If yes can you please point my to the right links and threads?
Regards,
Giuseppe
Hi,
How can I extract DLLs and other resources from PPC_ITA_GSM_VR.BIN ?
I've tried with splitrom.pl but does not recognizes that format ( hash MD5 does not match)
I've also seen that there is another Suite of Tools ImageFsToolKit I've to use it? if yes can you point me how?
Hope in a Reply
Have a Nice Day,
Giuseppe
Check out this Emulator Kitchen thread
Many thanks for your precious help!
I've runned 1_UnpackEmuROM.cmd and the process worked correctly
\OEM
\SYS
\ROM
Now my question is, every dll have a directory that contains imageinfo.bin and various S00x files, which tool I've to use to assemblate it in the final DLL?
I've also seen a little bug into BuildOS.exe, the crash is caused by a not Catched Exception, precisely is caused from an unhandles System.IO.DirectoryNotFoundException all you have to do to avoid that is to implement a try/catch block for this exception
Regards,
Giuseppe
Download the attachment
Unpack that
Place the folder of the dll (or exe) in the unpacked one. Note: The folder, not just the files.
Run ReversRecMode.bat
Look into the folder
It worked!
Many thanks!
- Michy's Installer -
Have you ever got an "Installation Unsuccesfull" message? Or a "Uninstall failed" message? Or worst thing an "Missing privileges" while installing a cab?
Now this messages are gone. With my installer, which is a complete Wceload and uninstaller replacement, any installation will complete without any problem
Main features:
Full repleacement for winceload
Select if you want or not to run setup dlls
Avoid failing for missing privileges
Get the space that an'installed app consumes after installing too
Search within your device the cabs you have and select what you want to install
Analyze FB_Install folders
Batch cabs installation
Installation processes can be aborted any time
If you are overwriting exes, they will be automatically terminated before installing
Advanced cab analyzer (view files contained, shortcut, regs, extract them......etc)
- MichyPrima_UC -
This system will let you to install:
.reg
.cab
.rgu
.xml
.provxml
.exe
Putting them in your SD/Microdrive/Diamond internal storage in the folder FB_Install. And them will be installed at first boot.
Information about files you can install:
- Files .cab -
For a base installation of cabs you can put them in the folder FB_Install. Setup DLL will not be executed to avoid setup freezes. Anyway, there are ways to customize how your cab will be installed:
Installation to SD
Installation to MD
Activating Setup DLL
Possibility to use wceload to install (not advised)
For using them:
If your cab is mycab.cab and you want to install it to sd, simply create a file called mycab.tosd. if you want to install to MD, the name will be mycab.tomd, if you want to enable setup dll, the name will be mycab.enabledll. If you want to install using wceload... use .old extension.
- Files .reg, .rgu, .provxml e .xml -Simply put them to FB_Install directory
- Files EXE - For a simple execution put them in FB_Install folder. If you need command line arguments, simply put them in a file called as your exe, but with .arguments extension.
- All files - All files can be skipped using .skip extension. eg if your file is mycab.cab , create a file with mycab.skip and it will not considered
- Other special functions: -
File/folder structure restore
Creating the structure on SD it will be reversed into storage. We have more than only one folder where we can put our files (in FB_Install):
CopyInWindowsFolder (\windows)
CopyInProgramsFolder (\windows\start menu\programs)
CopyInProgramFilesFolder (\program files)
CopyInFavoritesFolder (\windows\favorites)
CopyInFontsFolder (\windows\fonts)
CopyInStartupFolder (\windows\startup)
CopyInRootFolder (\)
So, for copy/overwrite files in windows folder, only thing you need is to create a folder in FB_Install with name CopyInWindowsFolder. This is a recursive copy, so all subfolders will be copied.
Shortcut restoring
You can specificate the shortcut to create in shortcuts.txt file and put it in FB_Install folder. Each line will be a shortcut to create. The first part of the line contains where the shortcut will be, 2nd where the shortcut will point. The two parts are separated by ":".
We have ids there to:
%SD% (\storage card)
%PROGRAMS_STARTMENU% (\windows\start menu\programs)
%PROGRAM_FILES% (\program files)
%STARTUP% (\windows\startup)
%MYDOCUMENTS% (\my documents)
Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
This line will create a "Test.lnk" in programs which points to \storage card\myprogram.exe.
Possibility to avoid final reset (not advised)
Just create a file with name NoResetAtEnd without extension in FB_Install folder.
Possibility to temporarily skip customization
Just create a file with name SkipCustomization without extension in FB_Install folder.
Do you want to process config lines to runcc?
Create a file with name AddToConfig.txt and there put your config lines.
Possibility to delete files or folder
Create a file with name Delete.txt. Each line is something to delete. You can use IDs as shortcuts
All I have to say is
Wow, sounds extremely "will have it now"!
Cool
Michy,
This shold be a nice addition to the tool box.
cheers
BR
Attempt of graceful recovery from dbl post
Cool
Michy,
Very nice work. I can't wait to see this released.
Cheers
BR
Michy, you are great!!
Wow, this must have been a LOT of work. Tnx a lot for your efforts!!
Sounds great!
Sounds very useful for those of us that change roms often.
Good work.
PS
My personal holy grail would be an APP that records changes as apps are installed to a point where I am happy then be able to gather all of the changes and build an install routine! Am I dreaming?
Wow sounds awesome and a gui, can't wait & thankyou
SIMPLY AMAZING!!!! cant wait...this should save me tons of time, and unlike other appz this seems easy 2 use and great!!!....thanks for ALL the hard work! ..waiting patiently
ehi my friends! good job, I'm sure that this program is excellent as the other your developments!
Put it online
This sounds amazing!!!
Italians do it very well!!!
Translators needed!!!
Please if anyone interested translating my application, this is the english file to translate and post back:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Language>
<FormMain>
<ListviewColumn1>File</ListviewColumn1>
<ListviewColumn2>Dest</ListviewColumn2>
<ListviewColumn3>Instl.Size</ListviewColumn3>
<ReadyMsg>Ready.</ReadyMsg>
<AbortSoftKey>Abort</AbortSoftKey>
<InstallingMsg>Installing </InstallingMsg>
<AddItemBtn>Add item</AddItemBtn>
<RemoveItemBtn>Remove item</RemoveItemBtn>
<InstallSoftKey>Install</InstallSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Exit</MenuItem1>
<MenuItem2>About</MenuItem2>
<MenuItem3>Clear list</MenuItem3>
<MenuItem4>Enable setup dll</MenuItem4>
<MenuItem5>Get cabs from storages</MenuItem5>
<MenuItem6>Load FB_Install folders</MenuItem6>
<MenuItem7>Uninstaller</MenuItem7>
<MenuItem8>Cab Info</MenuItem8>
<Msg1>Not enough space for this cab: </Msg1>
</FormMain>
<SearchCabsForm>
<Title>SearchCabs</Title>
<ListViewColumn1>File</ListViewColumn1>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Refresh</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SearchCabsForm>
<SelectCabDialog>
<Title>Select cabs</Title>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Up</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SelectCabDialog>
<SelectDestinationDialog>
<Title>SelectDestinationDialog</Title>
<OkSoftKey>Ok</OkSoftKey>
<CancelSoftKey>Cancel</CancelSoftKey>
</SelectDestinationDialog>
<Uninstaller>
<Title>Uninstaller</Title>
<ListviewColumn1>App</ListviewColumn1>
<ListviewColumn2>Mem.Usg.</ListviewColumn2>
<UninstallSoftKey>Uninstall</UninstallSoftKey>
<RefreshSoftKey>Refresh</RefreshSoftKey>
</Uninstaller>
</Language>
the filename should be Installer_CID.xml where cid is your cid. eg for italian: 410, english 409.
Edit: of course the italian one is already made by me
Thst is a great tool, anxiously waiting for release! Thank you sooo much!
Looks like a great tool ,and tools like this make other phones look primitive
Russian?
I might do a Russian translation. as soon as I have the time. in any case, I wanted to subscribe, so I made a post.
Looking forward to the release. when is it?
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Wow, nice release!! simple but powerful =)
benoahriz said:
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Click to expand...
Click to collapse
Should work fine on CDMA devices. A CAB's a CAB, CDMA or GSM
Dave
Hi all.
I have a Touch Diamond (bought in Denmark).
I have tried many cooked roms now and the best I have found than runs blazing fast is this one: httpREMOVE://forum.xda-developers.com/showthread.php?t=483539 - with danish language (hurray).. (cannot post links yet)
But, I find the apps that are preinstalled quite old and I would really like to update them (and maybe completely remove some apps).
Is this possible? I don't know anything about cooking roms. I downloaded Gen.Y's kitchen but with this I can't open a .nbh fil - only .erv can be opened.
I hope someone can help me. I have finally found a rom that suit my needs (well almost), but it is just a bit outdated..
Best regards from Denmark.
Use this to open the .NBH file
cdynu said:
Use this to open the .NBH file
Click to expand...
Click to collapse
Thank you very much for your reply.
I can open the nbh file with htcRIE.
I have found some programs in OS>IMGFS>SYS> and in OS>IMGFS>OEM that I would like to remove/update.
But that doesn't seem possible in htcRIE? I cannot delete any files..
Maybe this is harder to do than I thought?
Best regards from Denmark
Some .nbh files (roms ) are protected for delete ,change some files ; others no .
I am so close (I guess)..
I downloaded "Surface Kitchen" and got the rom file extracted.
I removed som apps.
I build a new rom - but here it goes wrong. Under the process it reports missing "boot.rgu" and something with XIP?
It builds the rom but it doesn't boot up on my phone, guess the boot.rgu file is some crucial
How can I extract the boot.rgu from the rom? Or can I use a boot.rgu from another rom??
Best regards from Denmark