MSCEInf Version 2.4 - Windows Mobile Development and Hacking General

Contributions of version 2.4
1) In Tab « Files », if SETUPDLL present ("setup.dll") :
- This dll is now in the ListView (Properties - Context Menu - and Drag and Drop are allowed on this DLL)
- The SETUPDLL is marked in red
- An icon is shown in StatusBar to show its presence
- The Hint of the StatusBar specifies its presence
2) Other Bug Corrections for column sort and especially in XML window.
And now :
- If never clicked on a column -> alphabetic sort
- If clicked on the same column -> reverse sort
- If not in the same ListView or not clicked on the same column -> alphabetic sort
3) Help and History are now available by clicking on the System Menu (Top Left on the Caption)
Thanks again to Le Sage (CodePPC forum moderator) for his help and advices.

MSCEInf file-copy glitch...
Hi Benoît,
Thank you for such a useful application. I genuinely would have little-to-no clue what was going on during the tirade of CAB installs on my Diamond without this splendid tool.
Just one small bug for hopeful resolution in the next release...
The InfCEOpen and InfCEView directories that are created in the %temp% directory are not cleared when a new .CAB is directly loaded in to the program.
The user would have to completely close then re-open the app to clear these folders before processing a new .CAB accurately.
A example of this issue would be as follows:
Two .cab files 'cab1' and 'cab2' contain a file with the same filename (testfile.exe), but each cab has a different version of 'testfile.exe'.
The first loaded cab1 will create the InfCEOpen directory and write the 'testfile.exe' (Version-cab1) both into the directory and then to the drag/drop location.
The cab2 file is directly loaded into the same MSCEInf session window and appears to load correctly with all new listed files displaying fine.
The new testfile.exe from cab2 is now dragged and appears to write a new file to the drag/drop location. This should be the testfile.exe (Version-cab2), however it is still copying the initial testfile.exe from cab1 (Version-cab1).
Looking in the InfCEOpen directory shows the cab-internal named file such as "000CABB2.004" which is the correct version, however it was unable to rename it prior to the drag/drop copy as the initial cab1 file still exists in the InfCEOpen directory.
Hope this detail is all useful and once again the application is superb, so thank you for all your work and effort.
Best regards,
Adam R. Hirshfield
T-Mobile (UK) Ltd.
Core Networks

Thanks for your comment Adam ! There is not a lot of comment for this program so I appreciate it (I have lost my hairs on this program !)
I have already seen this bug before but I have forgotten to find something to correct it !
Maybe in future version...

Feedback for bug-fixed version.
BenThon said:
Thanks for your comment Adam ! There is not a lot of comment for this program so I appreciate it (I have lost my hairs on this program !)
I have already seen this bug before but I have forgotten to find something to correct it !
Maybe in future version...
Click to expand...
Click to collapse
Your personal attention and support in resolving this issue was fantastic. No issues with the version supplied with new 'temp blanking' code. We have been using it daily (if not hourly) since you kindly supplied it and works exactly as expected - and for unexpectedly great value!
I would suggest it is certainly safe to release the new version for anyone who may be unknowingly caught out by the issue I was experiencing. Now using the ThemeGen software too which is also highly recommended...
Looking forward to continued feature expansions and updates. We would gladly pay/donate for this product instead of being forced to use the existing OCP "WinCE CAB Manager" or "CabWUZ", which is currently our only CAB-building solution. Are you at any time in the future considering adding CAB creation (file additions/editing) or 'REG/XML --> CAB' conversion features to this product.
It is already superb for viewing and would be a welcome competition to the OCP products.
Please keep me in mind for any required preview/beta testing assistance and I will be delighted to provide feedback.
Best regards,
Adam

Thanks for your encouragements Adam !
ahirshfield said:
Are you at any time in the future considering adding CAB creation (file additions/editing) or 'REG/XML --> CAB' conversion features to this product.
Click to expand...
Click to collapse
I have no more hairs on my head ! So, I do not think that I will tranform MSCEInf in a Cab Builder. Nevertheless, you can do this with MSCEInf :
Put the Cab in MSCEInf and get the rebuilt INF file.
Extract all the files with the program (with tree folders).
Modify the INF File as you want.
Change the files you want in the folders where MSCEInf put extracted files.
And use CabWiz to build your own Cab !
To mimic OCP software (99 $ ...) I have to write a parser and a syntaxic corrector... and so on... Really, a hard piece of work !
Thanks again for your feedback, Adam !

If I manage to awake the webmaster of CodePPC, I would publish the new version of MSCEInf with the corrections (the version I sent to you, Adam).

Related

New Soft! ConfigCreator & Restorator

Wazzzzzzzzaaa???
This is my first C# util!
It facilitates ExtRom update process. All you need to do is to put your cab files to Ext and run this utility, then the utility will create Config.txt at Ext with all cabs specified as "CAB: path2cab". If you need to get your original Config, then check ConfigOld at Ext
C# Programmers let's unite!!! ))
ps: the utility is not verbose one, so you won't see any messages & lame stuff. If you see something, then there is a problem
that's good boy! will try it l8r..
THANKS!
Man, wher z feedback?? Did u try it?
Yo,
boobee said:
that's good boy! will try it l8r..
THANKS!
Click to expand...
Click to collapse
Boy, hope you finaally tried it! And try this one also. This is my 2nd C# util
Shortly what it does:
UnZips your files with consecutive registry values (reg V4) import and splash writing
It means that you can zip all your files to one file called Setup.zip and place it anywhere (storage/ext). After hard reset, the utility is called and it extracts all your files and restores your favorite registry settings (saved to Setup.reg) and writes your splash.
btw: read za manual !
ps: the concept is the same, if u see somethin' then there is a trouble
Re: Man, wher z feedback?? Did u try it?
Attention!
The file was re-uploaded, so there mustn't be any CRC errors now
System Requirements
Regarding system requirements, the program needs old version of ER\Autorun.exe that understands ER\Config.txt
Program was not tested on XDA1! It was partially tested (w/o hard-resets on XDA2 / 1.72TM
Version 1.1
Wazzza!
Here is a new version of Restorator utility. The new features are:
+ now it deletes content of \My Documents;\Windows\Start Menu;\Windows\Startup folders (as people wanted
+ TimeZone offset is not resetted anymore
Note:
Make sure you have prepared your customized Start Menu (!!!) and Startup (!!!) folders, otherwise you won't be able to see Programs after hard-resetting your device. Please, check the attached sample to prevent yourself from having problems with this utility or use version 1.0 that don't delete anything
Umm... could anyone translate this into English for me?
I don't even understand the title of the thread.
In another thread, SP says that one of these downloads will retrieve data back on hard resets. Sounds like a useful tool, if only I understood what the hell these posts mean. :lol:
For Ben
sublimatica said:
Umm... could anyone translate this into English for me?
Click to expand...
Click to collapse
Here we go...
(assuming that you downloaded 'RestoreItV1_1_PPC.ARMV4.CAB' & installed it to your device)
This program is designed to restore your files, folders and registry settings from a ZIP-format archive and it can also write some splash screens
For this purpose, you need to make a ZIP-format archive with files & folders you want to get restored after hard-reset. Just run your favorite pocket zip archiver (for instance PocketRAR) and archive those files & folders that you want to see after hard-resetting device. Name your archive "Setup.zip" and place it to one of the following places: storage, storage card or extended rom.
Before doing further instruction make sure you have unlocked your ExtendedROM using ExtUnlocker.
If your rom is unlocked try to run the utility from \Storage\RestoreIt. If you had no messages after running it, then the utility installed itself successively. And your files & folders placed to 'Setup.zip' will be restored on next hard-resets.
If you're interested in restoring registry settings, then you need to get pocket registry editors that support exporting/saving to .reg files. After saving your favorite registry settings you will need to combine them to one .reg file and name it 'Setup.reg'. Then, you will need to place it to your archive's root folder (aka '\') So, you will have a file 'Setup.reg' placed to the root folder of your 'Setup.zip'. That's all folks
I strongly recommend you to see sample 'setup.zip' & 'manual.txt'
DON'T FORGET TO PUT YOUR CURRENT '\WINDOWS\STARTUP' & '\WINDOWS\START MENU' FOLDERS TO YOUR SETUP.ZIP!!!
You're welcome to ask me questions anytime!
Aaah, OK. That makes more sense
Sounds like a handy little tool then. Might have a play later.
Thanks, SP!
RAR-support
Is there anyone who is interested in rar-support for restorator?
Attention: Restorator v1.0 & 1.1
Attention: Restorator v1.0 & 1.1 are originally supported by I-Mate 1.72! All you need to do here is to use Extended ROM unlocker prior to running the utility
Feedback
Any feedback so far?
SP,
Restorator seems like a winner!!! I have been hitting my head on the rocks for a while trying to script a recovery using nscriptm as a scripting tool to call cab files which I keep on a storage card. Looks like using your tool a lot of the tedious scripting can be simplified by simply copying the files where they need to go. The challenge is knowing exactly what to copy & where... Is it possible to add the ability to call CAB files to your already excellent utility?
I am imagining putting all the CAB files in say a folder like \CABs in the Setup.zip and then having Restorator calling them one by one after finishing off with all else that it does. Can this be done? Additionally can you add ability to call registry imports at two points? You may wish to call registry import at the beginning and once more at the end after all cab file execution has been completed. This would be useful to restore application settings etc which the cab execution would overwrite to default. You would obviously need to keep two .reg files in the zip file. Does this make sense?
Thanks once again for all your efforts. Regards
Hi Mate
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
SP, thanks for continuing to work on this utility. I am waiting eagerly for your next update. I will set it up and test it with a hard reset so we can see real outcome. Let me know when ready please. Thanks
Re: Hi Mate
SP said:
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
Click to expand...
Click to collapse
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Re: Hi Mate
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Click to expand...
Click to collapse
Unfortunately I don't have an XDA 1 device at my disposal and I'm unfamiliar with its tech info.
What happens when your xda1 is hard resetted? Does it install cab files? or does it run any configuration software?
If there is a such software (on XDA2 it is autorun.exe placed at ExtendedROM), then you must specify in the runner (which starts on hard-resets) the call to the restorator utility
Looking forward to assist you in porting restorator for XDA1 devices
Cheers
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Restorator V1.2
k_kirk said:
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Click to expand...
Click to collapse
Sorry for the delay...
I'm having lack of time now, thus I couldn't test it very well . Just let me know if you found some bugs...
Now you can create "\CABS" folder and place your cabs there. They will be processed after extraction and before registry import. So, you don't need to have two .reg files then.
I'm looking forward to your new ideas!
ps: another attachment is a set of registry settings splitted by .reg files. I'm using them to get my setup.reg. Just change what you need, delete some of them and run "make.bat". It will create setup.reg with all your settings.
btw, check out "Usher_-_Yeah_[44k].wma" & "Maroon5_-_This_Love_[64k].wma". Home-made ringtones ;-)))
for those who hadn't used Restorator before. !!! DON'T FORGET TO PUT YOUR "START MENU" & "STARTUP" FOLDERS TO THE SETUP.ZIP !!! AND READ DA MANUAL!!!
Cheers
SP,
I tried the Restore-It utility today and found that the earlier functionality of copying files & importing registry etc from setup.zip works quite well.
The \CABS folder was also restored onto my device so I guess thats an indication that my setup.zip file was contructed properly. I am sad to report that none of my cab files were triggered by Restore-It though. I think there is a small bug thats holding back this behaviour.
Your kind assistance to check & correct this will be most appreciated.
Thanks & Best Regards

OEM and CAB Requests?... Let this be your source thread..

Hi.
can some one upload User OEM for the new WM6 Kitchen for these programs..
1. LG Menu (LG Prada Today Plugin)
2. Pocket CM 0.19
3. Vicsoft UI Tweaker
4. MT Software Today Agenda V1.1
5. Pocket CM Keyboard 0.13
6. FtouchFlo 1.4.1
I wanna include these programs into my kitchen for future flashing...
thanks
if u can send me the download link for all of them i will turn them to OEM packages for u
hi thanks.. here they are
Mod Edit: Pocket CM links removed per Pocket CM website instruction:
"Is it free?
Yes it is free, for your personal use only (in short: you can use for anything you want, you can't just redistribute it... however you can point anybody to this website). Even more if you want it to stay free, please make donation. Anything is appreciated and will encourage me to continue the development of it as a freeware. To make a donation please use:
Can I post this application to my website?
If you want to post information about this application, please reference this website. Do not provide direct download link.
Also because feedback and comments is important to me, please drop me a mail (qpouplard // gmail.com).
If you want to publish this application on your site, please contact me first. "
So, go here to get it:
http://www.pocketcm.com/
here's the lg plugin
http://forum.ppcgeeks.com/showthread.php?t=14326
alright then..will start making them now
okay.. thanks
Lets keep this thread open for any one who needs to get help on OEMs.. rather than waiting for the new OEM package to come out..
thanks for your help
pocketCM 0.19
download here: http://pocketcm.com/phorum/read.php?18,8733
2 xda2jj: read first act then - for next time and dont change posts w/o notifying "poster". At first i posted direct dwn, but then i changed it to Quentin's site.
PCM
today agenda
PCM keyboard
touchflo
these are in the OEM.rar for the 6700 helmi kitchen. Not sure what else you are needing.
I know they are already in the kitchen.. But i want the updated versions.. unless there is already an updated OEM package that i dont know about.. the OEM Package I have was released 12-17-2007..
Well, I can tell you this much. The BuildOS that is in the works now will actually pull updated OEMs from the web. So, I guess you could learn to update OEMs which really isnt that hard once they are setup or hang tight for the new BuildOS.
Holy Crap!
That's great news!
The new builld os is capable of accessing the web to get OEM updates?.. thats Friggin awesome!
Would it be able to look for new OEMs as well as Updating current OEMs?
I can't wait.. can you give us a clue on when this new BuildOS would be available?
can any one attach the new BuildOS here please...the oems will take time as im running Vsita and ill have to setup my lappy as it has vista..sorry
Here are some of my OEM packages
http://forum.xda-developers.com/showthread.php?t=333359
Hi guys, Not so sure Tene wants his cabs posting, maybe check.
Have someone the program "Notes" from WM6 as a cab. file ?
i doubt it - it's in OEMapps(i think) with everything else, and to take only one app and properly check all Reg.Keys for it..... Not worthy even to think about it
Here it is. credit to Dutty Throy.
phsnake said:
i doubt it - it's in OEMapps(i think) with everything else, and to take only one app and properly check all Reg.Keys for it..... Not worthy even to think about it
Click to expand...
Click to collapse
Anyone with cab files can now build their own packages - thanks to Ervius! And Alex!
This attached tool is part of Alex's Kaiser Kitchen but it'll create OEM packages that can be used across all kitchens...
ather90 said:
can any one attach the new BuildOS here please...the oems will take time as im running Vsita and ill have to setup my lappy as it has vista..sorry
Click to expand...
Click to collapse
Moe5508 said:
Anyone with cab files can now build their own packages - thanks to Ervius! And Alex!
This attached tool is part of Alex's Kaiser Kitchen but it'll create OEM packages that can be used across all kitchens...
Click to expand...
Click to collapse
something is wrong with your file it will not extract. its only 26 k is that possible? well let me know as I have several programs I want to turn into OEM and most of the other programs Ive tried dont work.
hey thanx for this..its works on vista ultimate..but i cant make it open CAB files..it only re-makes prev built packages
EDIT :-
Got it to work..it uses a CAB manager to analyse cab files..its available by the name MSCEInf
the package creater looks for MSCEInfen if the settings are in english or it will look for MSCEInfit if the language is in italian
im attaching the required file..its by default named to MSCEInfen
Here are the Orignal Instruction by the developer :
Converting Cabs to Packages with Ervius Package Creator
If you haven't read someone elses guide before and tried their method of making an OEM package, consider yourself lucky. The manual processes described by some, going through the lengthly process of extracting a CAB file, converting SETUP.XML to registry formats, creating an INITFLASHFILES.TXT manually and so forth takes A LOOONG TIME and I applaud all of those OEM Package builders who used the old methods, because those methods for creating an OEM package was truly an error prone exercise in futility and patience!!!
The method I describe below is semi-automated and uses Ervius Package Creator & Benthon's MSCEInf.exe. Everyone should thank Ervius & BenThon, because we now can convert a cab to an OEM package in a matter of minutes instead of hours...
Setting up & running for the first time
You can skip this entire step if you're using the Kaiser ROM Kitchen w/ Alex's latest updates, as I've included all the files for you. Go ahead and select 'p' from the ROM Kitchen menu and then jump down to 'Steps to convert cab to OEM package'.
All of the files below, plus the cab or the OEM package folder must be in a folder on your C: drive! If not, you will have problems running this program. It's a limitation created by Ervius, not me...
Download and uncompress BenThon's MSCEInf.exe and Ervius Package Creator to the same directory
Rename MSCEInf.exe to MSCEInfen.exe
Run packages creator 5 4.exe. When running for the first time, you will see the following two error messages:
"Error reading Settings file. I delete it!!!" - Click on OK.
"Unhandled exception has occurred in your application..." - Click Continue.
Check the following boxes (settings will be saved in settings.ini for future execution)
Select 'ENG' to change to English.
Check 'Prefix files for duplicate in package subfolders'
Check 'Enable options'
Steps to convert cab to OEM package
Click on 'Open CAB file' and select a cab file to convert.
Click on the 7th icon from the left, 'Extract CAB files with original names in a folder'.
When the folder selection menu comes up, click on 'OK' regardless of the location shown. It will create a folder named after the cab in the same directory where the cab is located.
It will seem like nothing happened, but be assured that the files have been extracted. Click on the X to close the window.
If you really forgot to click on 'extract' and nothing was extracted, an error message will appear - "U've cancelled creating package from cab analyzer... exit!"
The next window that appears, known as the 'initflashfiles tab' is for executable and help file links. Select which files you want your links and the folders to place them. Select and apply for each link and when finished, click done to proceed.
You're now back to the main menu. The UUID for DSM and RGU has been pre-generated. You have the option of going back to 'open initflashfiles tab', creating option.xml with a group, or completing the package.
Once you have chosen the appropriate options.xml category, click on 'Complete Package.
Your cab has now been converted to an OEM package in a subdirectory where the original cab resided.
Click to expand...
Click to collapse

USA "Nearly Anywhere" Weather for Manila

I know there are other hacks out there for this, but they have left something to be desired - like not working for newer Kaiser builds. Specifically, HTC used a CNAME to one of their own DNS servers and thus the previous patch that has been distributed here would not fit in the available string space.
The other method, using "Pocket Hosts", does not appear to work on either my Kaiser or Wizard to redirect HTC Home or Manila2D - not sure why, but it doesn't do anything - I tried that as well. My system never sees any packets coming from the mobile when I use the "hosts" soltuion - so it appears that actually patching the string is required, at least in modern (WINCE 6.1) builds.
Anyway, I registered a different domain, then "rolled my own" on that quite-short URL to allow patching some of the Manila2D.exe files that otherwise would not fit, using the existing script from Not2advancd (with a few changes to suit my environment, which is apparently very different than his) and some additional back-end hackery on my systems.
The site is at http://htcwx.org, and there are links there for two ZIP files (attached to this post as well) for two different versions of Manila2D.exe - one that is cooked into the HyperDragon Kaiser build, and the other for a build (OpenTouch V7.7) on the Herald. Both have been personally verified as working. Instructions for modifying the XML file that controls Manila's Weather program are included at the above URL - the short form is that you simply replicate an existing US city in the correct alphabetical order and using the same format as what's already there, recognizing that this is an XML file and thus may (and in fact does) contain some non-ASCII characters (that is, use something like Notepad to edit it, not something like "Wordpad" that will attempt to interpret what's in there instead of just editing the character stream.)
If you have a Manila2D.exe that is not compressed (that is, its approximately 1MB in size - if its ~400kb or so it IS compressed and I can't work with it) I will make an attempt to patch it for you. Just attach it to this thread (make it a ZIP file and upload it) and I will look at it, comment back on this thread, and if it CAN be patched add it to the master list at the above URL so everyone can get to it. Other versions of Manila (e.g. the newer "3d") version) should also be patchable - again, assuming the executable is not compressed.
The weather server on that URL is on a high-bandwidth commercial connection that I control and is at no material risk of going away. It is available to all who wish to use it.
I ask (but obviously don't require) that Chefs that wish to cook a Manila copy into their work and use this weather server let me know, and if possible let me verify that their cooked version is working properly before releasing it so I can verify that all is well on this end. Doing so should not take long; you can reach me by PM here and I will normally be able to get back with you quickly.
Comments and questions on this welcome, along with requests, but please keep them to THIS THREAD.
Enjoy.
Request
Hi!
I'm an Italian Chef for Niki
I use new manila 2D from iolite (v 1_00_19111733_00), but I can't add my city
Can yuo try to patch this exe for me? (it's not compressed)
Thank yuo very much!
The URLs are not in that file.
What you want to do is change the URL to "http://htcwx.org", leaving the entire rest of the string AFTER that alone (that is, you have to "move down" the parameters on the command that is sent.) Once you've changed the file you have to re-sign the file using the code-signing tools (a self-signed certificate is fine) otherwise it will be detected as having a corrupt signature and refuse to run.
A hex editor such as XVI32 is necessary to do the modification; the code-signing tools are available on the net.
I tried uing that hex edior you mentioned... now I need glasses.
even tried comparing a patched file to the one I am trying to patch.. um still confused. finally found the (maybe, but I am willing to try) HTTP//htc..... but then I still had no idea what to do.
Could you please help me figure it out
when I edit the url do I need to have the boxes between the characters? I am asuming yes.
Do I need to "make space" for http//HTCWX.org/acuweather....
sorry. have no ____ing clue what I am doing... and I think I just lost some brain cells trying.

[TUT] Beginers guide to cooking for the TG01

Welcome to my tutorial in cooking for the TG01.
I shall no longer be updating this thread, so please feel free to post and make any contribution you see fit.
This is meant to be a very simple, plain English guide to cooking.
With this in mind i will not be showing you how to port a new sys/xip or any of the more advanced features like sense
lets just see if we can dump, modify, build then flash a working, booting ROM for now.
This tutorial is only what i have learnt whilst beginning to cook my own ROM, so if you find a mistake or have something to offer feel free to post
If you have a question that your going to post, please please search the forum first, i learnt a lot of what i know from threads that have nothing to do with the TG01 or even the type of kitchen we're using. So as the rules state - Search before posting, Thank you.
Modifying the ROM of a Windows Mobile is dangerous to your devices health. If you mess it up it can be fatal.
The information contained in this tutorial is only as far as i am aware. Don't blame me if you brick it.
Having said that, i have never had a problem the short pin method couldn't fix.
You will need the attached .zip file, it contains the kitchen and associated applications.
In this tutorial i am using L3V5Ys kitchen, cab converter by Jason8, Package converter by Total Fire and Package Creator by Ervius.
So thanks to them and everyone in the XDA community for making this kind of thing possible.
1. Dump a ROM
1.1. Download the ROM you wish to modify. I suggest Miros miROM4, its clean and fast without any clutter.
1.2. Extract the ROM and place the resulting .tsw file in the BASE folder in the kitchen. Then rename it "TG01WP_5005000176.tsw"
1.3. Run dump.bat and wait for it to finish, this could take a little time depending on you PC, it may be worth making a tea as it seems to take longer if you watch it.
1.4. You should now have some new folders in your kitchen, for now the only one were interested in is SYS.
2. Modify a ROM (Removal of packages)
2.1 Open your kitchen folder then open the SYS folder,
2.2 You should now be faced with a window with lots of folders in it. The folders are called packages.
2.3 Delete the package Entertainment and its associated packages (Entertainment, Entertainment_DPI_192, Entertainment_Lang_0409 and Entertainment_Lang_0409_DPI_192)
2.4 This has effectively deleted the games that ship with your chosen ROM,
2. Modify a ROM (Adding packages)
2.1 Open your kitchen folder then open the SYS folder.
2.2 Copy the package from its source to the SYS folder. Remember that for this kitchen it must be an OEM\old type package (see post #4)
2.3 Thats it, you added software to your custom ROM.
2. Modify a ROM (modify existing package)
2.1 Open your kitchen folder then open the SYS folder.
2.2 Open the folder titled "Redist_dpi_192_resh_480_resv_800"
2.3 Replace welcomehead.192.png with the one in the downloaded zip.
2.4 That's it, when you boot your new ROM it should show the new welcome screen.
3. Building and flashing a ROM
3.1 Run "2. build no XIP port_no auto.bat" (this is the original build.bat, modified by myself to skip the port xip and BuildOS/auto parts)
3.2 When the cmd prompt opens press any key
3.3 When BuildOS opens check the packages you wish to install then click the green arrow in the top left.
3.4 When BuildOS has finished, close it and the cmd window will carry on opening and closing other programs as it goes. You do not need to touch any thing till it has finished and it asks you to hit enter.
3.5 Assuming you pressed enter when it asked, the cmd window will have now closed.
3.6 Go into your kitchen folder and you should have a new file called "TG01WP_00.tsw" This is your ROM.
3.7 Copy "TG01WP_00.tsw" to a folder called PRG on your storage card (if its not there then create it) and then run SDDL+ or use the short pin method to flash it.
3.8 That should be it, you should now have the rom you started with but minus solitaire.
The Kitchen:
In your "Kitchen" you will find some folders and some files. They all relate to either the ROM ityself,
or the tools used to edit/dump/create the ROM.
BASE - This is the folder in which you put the rom you are dumping
OEM - This is the folder where the Toshiba part of the ROM would be if it was an official Rom that was being dumped,
however when dumping a cooked ROM this folder will be empty as a cooked ROM cannot be dumped correctly by the tools available
and all packages are put in the SYS folder. This will not affect the output, and the OEM packages can be left in the sys folder.
If you dump a cooked ROM you will need to create the OEM folder as BuildOS panics without it, even if its empty it needs to be there.
SYS - This folder contains the dumped ROM separated into packages
ROM - This folder contains the xip, boot.rgu and boot.hv. For this tutorial we won't be working with anything here.
TOOLS - This is where the exe's are that make up the kitchen, you don't need to touch these, the .bat files do it all for you.
Temp - This is the kitchens working folder, you don't need to go here unless there are problems building the ROM but that is beyond the scope of this tutorial.
Packages: (there are 2 types, EXT and OEM, our kitchen can only handle OEM so thats what i'll be discusing)
Each package contains an element of the ROM. For example the BROWSING package contains the parts of the ROM required for internet browsing.
For a package to be usable it requires certain things
Required:
.dsm file - This is to complicated for the scope of this tut so for now just accept that this file is necessary and should never be deleted. All dsms must have a unique name.
That is all a package needs to be a package, though without any files in it won't actually do anything.
Optional:
.rgu file - This file contains the reg entries for the package in question and its name will be the same as the .dsm file in your package.
initflashfiles.txt / initflashfiles.dat - This file tells the PPC where to put the files that are within the package, ie. a short cut to a program in the start menu.
NOTE without an initflashfiles.txt all items within the package will go to the Windows folder.
option.xml - Holds information relevant to the package
The files you wish to install, without them its pretty pointless.
Packages often have other packages associated to them, for example the Entertainment package also has Entertainment_DPI192, Entertainment_Lang_0409 and Entertainment_Lang_0409_DPI_192.
Where Entertainment is the package, Entertainment_DPI_192 has the files specifically for our screen size, Entertainment_Lang_0409 has the files for our language (0409 is WWE)
and Entertainment_Lang_0409_DPI_192 has files that are for our lang and our screen size.
Modifying a .rgu file:
.rgu files contain registry information for the package they are in. If you wish to modify this data then you can do so with notepad, though i recommend downloading Notepad2. If you open a .rgu file and don't understand what's in it then you need to go learn about windows registry editing first. I am assuming that if you are looking at building a custom ROM you already know about reg editing.
CAB Converter:
This program is used to convert a .cab file into a package to be cooked into a ROM
1.Open CAB_Converter.exe
2.Click "add a cab" and browse to your cab or drag and drop your cab into the window
3.Click on the text representing your cab at the top of the window so its selected.
4.Click CAB->OEM, and wait till its finished. Should only be a few seconds.
5.Your package will be in the CAB Converter folder in the converted OEM folder
Package Converter:
Our kitchen only supports OEM\Old type packages, so what if we want to use an EXT\Visual type package? Well Total Fire kindly made and distributed a tool that converts from one to another.
The program is fairly self explanatory but i'll quickly cover converting from a visual to an old package.
1.Open the converter, then click "select" where the greyed text say package,
2.Browse to and open your visual package.
3.click "Convert VTO", now wait till you see "Conversion Complete".
4.Your now usable package will be in the same directory as the visual package with the text "PACKAGE TF" added to the title.
Package Builder:
If you wish to create your own packages, this is the tool to do it.
1.Create a folder named whatever you want your package to be named
2.Add to it the files you want
3.Add to it a .reg file if required
4.Open package Creator, in the bottom right you can choose ITA or ENG.
5.Click open package and browse to the folder you created.
6.Now the initflashes.txt options page appears, here you can select the .exes in your package and choose where to create short cuts. You will need to click apply on each one.
7.Now click complete package.
8.The creator will now create a .dsm file, a .rgu file with your .reg file settings in, an initflases.txt file and an option.xml file within the folder turning it into a package.
9.This package can now be used in your kitchen.
Reserved...
Reserved....
leeston2379 said:
CAB Converter:
This program is used to convert a .cab file into a package to be cooked into a ROM
1.Open CAB_Converter.exe
2.Click "add a cab" and browse to your cab or drag and drop your cab into the window
3.Click on the text representing your cab at the top of the window so its selected.
4.Click CAB->OEM, and wait till its finished. Should only be a few seconds.
5.Your package will be in the CAB Converter folder in the converted OEM folder
Click to expand...
Click to collapse
Thanks for a lovely tutorial! Makes sense!
I am continuously facing this attached error! Any ideas how to solve this! :s
Wich cab do you use ?
What is your Operating System ?
EVEALEX62 said:
Wich cab do you use ?
What is your Operating System ?
Click to expand...
Click to collapse
I used Opera.cab (opera 10) and with windows 7
EVEALEX62 said:
Wich cab do you use ?
What is your Operating System ?
Click to expand...
Click to collapse
chek property of your folder in c: or test to reinstall this program with administrator right (clic right).
Can you send me MP with your cab, I'll test tomorow morning
Have a good night
drupad2drupad said:
Thanks for a lovely tutorial! Makes sense!
I am continuously facing this attached error! Any ideas how to solve this! :s
Click to expand...
Click to collapse
Its better to grab hold of one of the existing opera packages on the forum, I never successfully converted it to a working package. Just seemed to be the opera cab as i have no problems with any other. I think ninjaduck does a nice version with flash and the like already in.
I never saw that particular error myself though. Sorry I can't be more help.
So long and thanks for all the fish.
I will no longer be updating this or any of my ROM threads as its upgrade time and I've got a shiny new Desire HD, my trusty TG01 has been retired and i'm off to have a bodge with Android.
The TG01 forum is a nice little place with only a hand full of regular contributors/posters but its always friendly and development seems to move along at a steady pace, so thanks to all its members for that.
To those who PM me, feel free to continue as i will still be around here somewhere and will help in anyway i can.
See you later.
leeston2379 said:
I will no longer be updating this or any of my ROM threads as its upgrade time and I've got a shiny new Desire HD, my trusty TG01 has been retired and i'm off to have a bodge with Android.
The TG01 forum is a nice little place with only a hand full of regular contributors/posters but its always friendly and development seems to move along at a steady pace, so thanks to all its members for that.
To those who PM me, feel free to continue as i will still be around here somewhere and will help in anyway i can.
See you later.
Click to expand...
Click to collapse
i have one samsung galaxy tab and next week i get also one HTC Desire HD of my company. Android is really good- but more fun i have with WinMo.
today i have get my second "new" tg01!
you were ever friendly and helpful. thank you for your activity and cooking for our tg01 community.
i wish you all best, good luck and cheers, miro
leeston2379 said:
I will no longer be updating this or any of my ROM threads as its upgrade time and I've got a shiny new Desire HD, my trusty TG01 has been retired and i'm off to have a bodge with Android.
The TG01 forum is a nice little place with only a hand full of regular contributors/posters but its always friendly and development seems to move along at a steady pace, so thanks to all its members for that.
To those who PM me, feel free to continue as i will still be around here somewhere and will help in anyway i can.
See you later.
Click to expand...
Click to collapse
Hi Lee!
TG01 community will miss your contributions! In case your retired TG01 lures you back to development, I will keep my eyes peeled. I hope you like your new android, but in case, Winmo is missed (I wish!), do come back!
Hi.
Leeston2379 will not be doing any changes here any more so I allow myself to upload my version of his kitchen here without creating new thread.
What has been changed ?
"Virgin" kitchen was only for packages modification without any pagepool changes or xip porting. Leeston2379 was basing on l3v5y kitchen which have certain bug. Interestingly this bug was "not active" as far as old ( original ) xip.bin was taken in .tsw file creation.
There are 4 batch files for new system building:
a) 2. build_without_xip_port.bat - the same as original leeston2379 batch but with fixed bug although here it is not "active"
b) 2. build_without_xip_port_pagepool_set.bat - allows to set pagepool size
c) 2. build_with_xip_port.bat - like original but allows to port new xip
d) 2. build_with_xip_port_pagepool_set.bat - like original but allows to set pagepool size and port new xip
I did not utilize automatic execution via for example
AutoExecAndClick.exe /launch "xipport.exe" /clickbutton "dump xip.bin" /clickbutton "write maps" /clickbutton "make pkgs" /kill
In my oppinion it is buggy . There are any timing races or something other causing any strange errors from time to time. User has to like in original l3v5y kitchen press different buttons in xipport software.
Thanks Mangasora for his post concerning porting xip
Regards
fxdjacentyfxd
fxdjacentyfxd said:
Hi.
Leeston2379 will not be doing any changes here any more so I allow myself to upload my version of his kitchen here without creating new thread.
What has been changed ?
"Virgin" kitchen was only for packages modification without any pagepool changes or xip porting. Leeston2379 was basing on l3v5y kitchen which have certain bug. Interestingly this bug was "not active" as far as old ( original ) xip.bin was taken in .tsw file creation.
There are 4 batch files for new system building:
a) 2. build_without_xip_port.bat - the same as original leeston2379 batch but with fixed bug although here it is not "active"
b) 2. build_without_xip_port_pagepool_set.bat - allows to set pagepool size
c) 2. build_with_xip_port.bat - like original but allows to port new xip
d) 2. build_with_xip_port_pagepool_set.bat - like original but allows to set pagepool size and port new xip
I did not utilize automatic execution via for example
AutoExecAndClick.exe /launch "xipport.exe" /clickbutton "dump xip.bin" /clickbutton "write maps" /clickbutton "make pkgs" /kill
In my oppinion it is buggy . There are any timing races or something other causing any strange errors from time to time. User has to like in original l3v5y kitchen press different buttons in xipport software.
Thanks Mangasora for his post concerning porting xip
Regards
fxdjacentyfxd
Click to expand...
Click to collapse
2. build_without_xip_port_pagepool_set.bat is my mod based
on leestone 2. build_without_xip_port.bat. bug?
please explain a little bit better: what you have do, what changed, the method for xip porting and how works? i hope is testet from you

[APP] Final Customization for Chefs! - Downoad now!! - New video too!

Final Customization
What is it?
It's another chef application for having a final step on customizing their ROM. Final Customization runs after AutoRun, SDAutoRun, UC has finished and made a soft reset to the phone.
Basic Flow
First Boot
--> Screen Calibration(skipped in other ROMs)
------> Customize
----------> Soft-Reset
--------------> Final Customization 1st run and will popup application choices
--------------> and the installation begins. Then after the isntallations, it will
--------------> ask if the user want's to soft-reset or not.
--------------> if YES, the phone will soft-reset. If NO, Final Customization exists and
--------------> show the final message.
Why need such another Customization?
Final Customization gives users a chance to decide what application they want to install from the ROM and "from" the ROM means a CAB or REG that is cooked in the chef's cooked ROM.
But why they have to decide which application they need to install?
Simply because not all users like the application we included in our ROM. Me my self is a Chef, and I know some users don't like my application, so I'd like to give them a chance to decide if they want to install that application.
Another benefit for the chefs is you can control the Manila/Sense.
- You can Stop the Manila/Sense then install the cooked cab or reg and Start the Manila/Sense.
- You can Restart the sense after you installed the cooked cab.
So what does it support?
Final Customization can install CAB and REG(requires dotFred Task Manager) and you can execute any files as long as your ROM supports it like running a Mort Script if you have Mort Script included in your ROM, or you can execute EXE files, Play an audio, video, etc!
How does it execute these files?
Final Customization can understand some commands such as:
reset
soft-reset the device. Final Customization knows if it's not yet done installing the user selected apps.
has_manila
Some of your CABs or REG entries might require Manila/Sense to load first. So I made a way to monitor the Manila/Sense if its already loaded and running.
stop_manila
This of course is associated with has_manila command. You can stop the Manila/Sense then install the CAB or execute a REG then start the Manila/Sense after the installation.
start_manila
After you the CAB or REG installed. You can start the Manila.
restart_manila
You might want to execute some REG that doesn't really requires the Manila/Sense to stop and start before and after the installation. You can just execute the REG and restart_manila.
Click to expand...
Click to collapse
SAMPLE COMMANDS
Code:
S3VideoDrivers.cab!|Install 3D Drivers;
reset!|Soft-Reset and Apply Video Drivers;
WiMoSpeed_614mhz.lnk|Overclock CPU to 614.4Mhz;
paint.cab|MSPaint Like Application;
gremotesetup.cab;
reset|Soft-Reset but optional;
has_manila;
stop_manila;
DefaultSenseWallpaper.CAB|Default Sense Wallpaper;
InstallSenseQuickLinks.reg;
start_manila;
these commands (not case sensitive) are saved in a file called cablist.txt. As you can see, they all had semi-colon at the end that acts as a separator between the commands. You can also add TAB or Spaces to make your code cleaner..
Other thing you'll notice is the PIPE character which separates the command and the friendly name that will show in Installation Choices window.
and the "!" after the file, which means, the file is important and cannot be unselected from the choice lists.
format:
command|Friendly Name
or
command!|Friendly Name
The .CAB, .REG, and .LNK you saw there are files.
Click to expand...
Click to collapse
Okay, so how do I really use it?
I will provide the EXT package which contains the initial files needed from Final Customization then you can add whatever you want to include such as CAB or .REG or probably .PROVXML but make sure your ROM supports .PROVXML file types.
cablist.txt file is also included then you can just update it.
another file is included named FinalizeSetup.app.config which contains the parameter used by WCELOAD.exe and your final message after the installation is done. Be careful on WCELOAD parameters! Here are some WCELOAD parameter informations.
Code:
<appSettings>
<add key="wceload_param" value="/delete 1 /noui /silent "{0}""/>
<add key="final_word" value="Installation is done. Have fun!"/>
</appSettings>
AHA! Finally the preview. I just made a sample video for you guys to watch. Sorry but I have to keep silent (again)
A possible issues of Final Customization.
It cannot respond to custom actions when installing a CAB. In regular CAB installation, some installation popups a window aobut agreement and stuff and you have to accept the agreement. So Final Customization cannot handle that.
If you think you can handle that via WCELOAD parameter. Please let me know.
Final Customization can also execute control panel applets such as running Regional Settings but the problem I saw was when executing 2 applets, Final Customization did not wait for the 1st one to finish but instead, it executes the next applet.
Sending a bug report
Final Customization has a logging feature for bug hunting references. It is located in \GambitLogs folder. Please send all the contents to me
and finally, the download file!!
zz_FinalCustomization.7z
RELEASE INFO
Version 1.2.1 - October 02, 2011
- GUI fixed again.
-- fixed the left position of that lists
-- DOWNLOAD HERE
Version 1.1 - September 26, 2011
- GUI fixed. DOWNLOAD HERE
September 24, 2011
- initial release
Doing a test with your setup without cooking it
Basic Registry Information
HKEY_LOCAL_MACHINE\Software\GambitCreativeSoftware\FinalizeSetup.DoFinalSetup
FinalizeSetup.exe will terminate immediately if ran for the 1st time because it will try to read a key in the registry to check if it's ready for final setup.
if FinalizeSetup.DoFinalSetup has a value of 1, then FinalizeSetup will show. So if you're running it for the 1st time, run it again to show up the Final Customization window.
HKEY_LOCAL_MACHINE\Software\GambitCreativeSoftware\FinalizeSetup.cablist
FinalizeSetup.exe stores all the cablists.txt script in the registry. So, if you have some updates in your cablist.txt, make sure to delete that key first
HKEY_LOCAL_MACHINE\Software\GambitCreativeSoftware\FinalizeSetup.IsDone
if FinalizeSetup.IsDone has a value of 1, then FinalizeSetup.exe will terminate because the final setup was done.
HKEY_LOCAL_MACHINE\Software\GambitCreativeSoftware\FinalizeSetup.Status
values:
FinalizeSetup.Status = 2, means the phone soft-reset
FinalizeSetup.Status = 1, FinalizeSetup.exe is installing.
Running FinalizeSetup.exe
1. Copy all the necessary files somewhere in your SD or Main Storage and put them in one folder.
<folder>
-- FinalizeSetup.exe
-- Gambit.Runtime.dll
-- Gambit.IO.dll
-- Gambit.Configuration.dll
-- FinalizeSetup.app.config
-- cablist.txt
- and other required files (.lnk, .exe, .cab, etc)
2. Running FinalizeSetup.exe
Check the registry key HKEY_LOCAL_MACHINE\Software\GambitCreativeSoftware and delete these 3 NVP.
FinalizeSetup.IsDone
FinalizeSetup.cablist
FinalizeSetup.Status
Hi Nullstring
Congratulations for a brilliant idea, let's hope all cooks will adopt it
Thanks for sharing this, as a Chef I know how useful this actually is
Sadly, not sure if that many WM chefs are still around.
But nonetheless thanks for sharing this !
madnish30 said:
Thanks for sharing this, as a Chef I know how useful this actually is
Sadly, not sure if that many WM chefs are still around.
But nonetheless thanks for sharing this !
Click to expand...
Click to collapse
hopefully this is not really late I just started making my own ROM for WM
download now!!
GUI Patch update.
Check download file Post #2
any feedbacks?
Thanks for this Nullstring, working well and it definitely allows users to customize more to their liking.
New Relase
Version 1.2.1 - October 02, 2011
- GUI fixed again.
-- fixed the left position of that lists
added new tutorial in Post #3
hello, sorry if I have not yet updated this thread about the development progress of this app. The app is already using JSON as it's configuration and data and there is already an desktop application that can be use to build your setup configuration.
anybody want it?

Categories

Resources