[Tutorial][Cook]CAB Theme to OEM - Windows Mobile

Hi guys,
it took a lot of time but i figured out how to cook in a theme and make i default
What you need (would link, but i'm a new user and can't)
Theme as CAB-File
reg2provxml by ervius
package creator by ervius
What to do:
start the package creator, choose your theme-cab and convert it
inside the folder containing the cab file there ist a subfolder, named as the theme-cab (\folder with cab\folder named like cab\)
there u find a .tsk file, rename it to cab and convert this with the packagecreator
there will be an another subfolder, with has an rgu file (\folder with cab\folder named like cab\folder named like tsk)
rename the cab back to tsk
combine the rgu files and add the follwing line:
[HKEY_CURRENT_USER\Software\Microsoft\Today]
"Skin"="\\windows\\ThemeName.tsk"
convert the rgu with reg2provxml
rename the provxml file to "mxipupdate_themename_001.provxml"
cook in and you are done, theme is loaded by default

Nice work
It will be easier if u keep ur theme file *.*.tsk as it and include it in ur Config.txt file
WBR
Siemens Lover

Related

building cabs

hey guyz do any of u know how to make a cab from the setup.xml file..actually i made a cab file which has about 190 files..and i misspelled the name of the directory in them..now i cant change all of them so i extracted them with 7zip in a folder ..now i have a file called setup.xml..i opened it and then changed the spelling of the directory..now how can i make it to install..please help guyz
I think you'll want to extract all the files into the same directory then run cabarc.exe to make a cab file with all the files.
first extract the inf file from a cab using MSCEInf.exe (from the zip file i included)
Then u can edit the inf file and use cabwiz to make cab.
it is no use to extract the xml file, at least not to my knowledge.
WOW thanx alot

edit *.cab like *.zip or *.rar

Yall Know cab files Cant be edited on Win RaR but Found a Program That Lets You edit it take files add filed and modify _Setup.xml the Programs name is IZARc and i think its Free dats how i edit cab files anyWay i First Extract the Files Win Rar Then Modify them and Wen im done i open the cab file with IZArc And Drag All the files in the folder to IZarc and VoilA!! a edited cab file but for some reason cant install them via active sync but they install alrite on device
Nice find!
I've downloaded, and will definitely try it out.
WinCE Cab manager?
Just like 7-zip, correct?

How to implement new *.provxml in new ROM

Hi,
unfortunately I am not able to implement a new *provxml to a new ROM.
I know http://forum.xda-developers.com/showthread.php?t=398025
and some other threads, but all my entries (Mailaccounts, WiFi informations - which I got with rapiconfig) are not in my new ROM.
I am doing somewhere a mistake. It does not work:
I have done the following:
1. created an acconts.provxml
2. renamed to _setup.xml
3. Created an OEM package with Ervius Package Creator.
Have now 5 files in the OEM folder: _setup.xml, *.rgu, *.dsm (size 0k), option.xml and initflashfiles.txt
4. Moved option.xml out of the OEM folder
5. Drag and drop OEM folder over BuildDSM.exe. This creates a new *dsm (size 1k)
6. place back option.xml in OEM folder
7. copy OEM folder under \Packages - i have tested also the OEM folder
8. cooked and burned ROM
Does someone has a OEM package with a *.provxml (including email2 and wi-fi infos). All imported emai-addresses and wifi info van be deleted of course. ?
If I use "rapiconfig.exe /p _setup.xml" all my infos are ok.
Any help is welcome.
Regards
kuzco1
this is what works for me...
you have to name it:
mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml​
you can replace 'filename' with whatever you wish.
(there should be no space in provxml, this editor isn't working right for some reason)
let us know if this works for you...
joemanb said:
this is what works for me...
you have to name it:
mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml​
you can replace 'filename' with whatever you wish.
(there should be no space in provxml, this editor isn't working right for some reason)
let us know if this works for you...
Click to expand...
Click to collapse
Hello,
what do you really mean ?
I have renamed my _setup.xml to mxipupdate_zz_oemoperators_100_PPC+All_filename.provxml and put this file \OEM\OperatorPKG. After cooking and burning my Kaiser does not boot any longer - I have to reverted to my old ROM.
Regards
kuzco
have you tried creating a cab file with your _setup.xml?
see if that works, maybe your xml has errors.
as far as creating a dsm, all I did was drop the file into another oem folder that already had some provxml files.
the fact that your phone won't boot now would indicate to me that after the filename change the file is indeed being processed, but the xml has errors.
download the 'tmobileforromcooks.zip' file in the following post and compare the provxml files with yours.
http://forum.xda-developers.com/showpost.php?p=2237367&postcount=1
good luck
joemanb said:
have you tried creating a cab file with your _setup.xml?
see if that works, maybe your xml has errors.
as far as creating a dsm, all I did was drop the file into another oem folder that already had some provxml files.
the fact that your phone won't boot now would indicate to me that after the filename change the file is indeed being processed, but the xml has errors.
download the 'tmobileforromcooks.zip' file in the following post and compare the provxml files with yours.
http://forum.xda-developers.com/showpost.php?p=2237367&postcount=1
good luck
Click to expand...
Click to collapse
Thanks, but this zip does not work either. I will play more ....
kuzco1
hint hint: Try adding these settings to an already existing prov.
as i read somwhere you cannot add any provxml file in a dumped rom! but u can change and add reg edits in an existing provxml file. and theres another thing i think you should know: provxml files are the last reg based files that will get written in the cooked rom SO they have the ability to change and overwrite rgu files that you created if they both have the same reg path but diff values.

[SOLVED]Cooking themes into ROMs

Hi
How does one cook a custom theme into a ROM and make that the default theme? I've tried editing quite a few registry entrys and it still does not work.
Another question along the same lines, how do i cook in a custom today wallpaper? I've tried changing registry entrys here as well but it didn't work either
Thanks
Mod edit: Solved thread
well...
long history here...
First.. the themes for 6.5 and 6.5.X are not the same theme, so genereally if you want to cook inside a theme that you have made... simply be sure that you have a TSK that contains all the registry entries for images and the two images in JPG format with your size screen set them as "read only" and "archive" attribs then save the cab as winmo cab then rename it from .cab to .tsk then.... put it into a EXT pkg in your EVK kitchen or whatever you have EVK or OSK make a pkg called "my theme name" inside a folder called "FILES" inside that folder all images of the theme and the TSK too... then go to your RUNCC or autoinstall or however you have and set in the txt file this comand...
TSK: \Windows\My theme name.tsk
at the end of the file this way in the botting procces frist customization the theme will be set as default
is the dirt way but you can make it safely instead of changing many regs that simply you will forgot the original
Y'all must to remember that if you want to patch the theme or install a them in a runing working rom in teh device you must to trust sign the TSK but if you are cooking the kitchen will do it for you
The wall paper is easy: just set whatever pic you want as the wallpaper using either Home-settings or the pic and video tool. Then open \windows, and look for the newest files. You'll see two files named stwater_###x###.png or something very similar (could be tdywater). Grab these two files and then when you're editing a .tsk file, include the files in it. Now you're done.
If you want to cook the theme straight into the rom, then you need to dump all of the reg keys and put them into an app.reg file in a package that runs at the end of the build. Name your two wallpaper files (portrait and landscape) "classicblue_stwater_480_640.jpg" and "classicblue_stwater_640_480.jpg," and stick them in the same EXT. (To get the proper names for your device, look in (SYS\Build#\dpi_192_resh_480_resv_640\COMMON\base_dpi_192_resh_480_resv_640), obviously with the proper resolution.) Look through your add2config.txt or config.txt files, and make sure that no other stock .tsk is run during customization.
I know i to cook a theme and set as default and blabla....but its interesting know how to trust sign the TSK when i make a theme.cab to put in a working rom...can you explain?
+ Que PPC said:
Y'all must to remember that if you want to patch the theme or install a them in a runing working rom in teh device you must to trust sign the TSK but if you are cooking the kitchen will do it for you
Click to expand...
Click to collapse
A way that bobsbbq has taught me, and has worked for a 6.5.5 theme
make a new folder in your EXT packes, called whatever the theme is, and in there make another folder called files, in the files folder copy across everything in the theme's cab. then go back into the root of the themes package folder and make a new text document called add2config in there paste the following:
TSK: \Windows\XXXX.tsk
where XXXX is the exact name of yout .tsk file found in the themes cab (so it will also be in the files folder if you want to copy the file name exactly.
Save the text document and then just select it in your kitchen
af974 said:
I know i to cook a theme and set as default and blabla....but its interesting know how to trust sign the TSK when i make a theme.cab to put in a working rom...can you explain?
Click to expand...
Click to collapse
If you try to sign a cab with the last year SDK certs you will have an error is better you to trust sign your cabs reading this article
http://forum.xda-developers.com/showthread.php?t=650309
Thanks guys for the replies I ended up using Farmer Ted's method and it's working exactly how I wanted it to.
BTW: Farmer Ted, whenever I ask for help, whether on this forum or another, you're always among the first to help me. HUGE thanks dude
Thanks Que,
This is very usefull for me
+ Que PPC said:
If you try to sign a cab with the last year SDK certs you will have an error is better you to trust sign your cabs reading this article
http://forum.xda-developers.com/showthread.php?t=650309
Click to expand...
Click to collapse
No prob dude... BTW ppl understand that...
If you want to make fixes for your ROM....
YOU MUST!! to make a trusted sign cab with signed files inside...
if you want to cook the fix... so the kitchen will sign all of them
+ Que PPC said:
No prob dude... BTW ppl understand that...
If you want to make fixes for your ROM....
YOU MUST!! to make a trusted sign cab with signed files inside...
if you want to cook the fix... so the kitchen will sign all of them
Click to expand...
Click to collapse
i dont understand why we have to sign a cab file, when we remove certs in kitchen?
Code:
..\TOOLS\implantxip -xip xip.bin -payload OS.nb.payload -imgstart %imgstart% -%uldr% -pp 16 -%nocert%
ive never signed a cab file in my life and they always install fine
I've never signed a cab, either. EVK makes it too easy, lol.
+ Que PPC said:
well...
long history here...
First.. the themes for 6.5 and 6.5.X are not the same theme, so genereally if you want to cook inside a theme that you have made... simply be sure that you have a TSK that contains all the registry entries for images and the two images in JPG format with your size screen set them as "read only" and "archive" attribs then save the cab as winmo cab then rename it from .cab to .tsk then.... put it into a EXT pkg in your EVK kitchen or whatever you have EVK or OSK make a pkg called "my theme name" inside a folder called "FILES" inside that folder all images of the theme and the TSK too... then go to your RUNCC or autoinstall or however you have and set in the txt file this comand...
TSK: \Windows\My theme name.tsk
at the end of the file this way in the botting procces frist customization the theme will be set as default
is the dirt way but you can make it safely instead of changing many regs that simply you will forgot the original
Y'all must to remember that if you want to patch the theme or install a them in a runing working rom in teh device you must to trust sign the TSK but if you are cooking the kitchen will do it for you
Click to expand...
Click to collapse
I started having problems with Farmer Ted's way so I tried this one instead. It works perfectly except for one thing, that it needs a restart before it's effective. Is there any way to get it working on first boot?
I use this one:
OEM\ExtendedPKG\config.txt
Code:
LOCK:Enabled
TSK: \WINDOWS\Htc_black.tsk
LOCK:Disabled
RST: Reset
This will set that theme on first boot, of course you need to have RunnCC running.
You must change Htc_black.tsk with your tsk name.
seeM_ZA said:
I started having problems with Farmer Ted's way so I tried this one instead. It works perfectly except for one thing, that it needs a restart before it's effective. Is there any way to get it working on first boot?
Click to expand...
Click to collapse
af974 said:
I use this one:
OEM\ExtendedPKG\config.txt
Code:
LOCK:Enabled
TSK: \WINDOWS\Htc_black.tsk
LOCK:Disabled
RST: Reset
This will set that theme on first boot, of course you need to have RunnCC running.
You must change Htc_black.tsk with your tsk name.
Click to expand...
Click to collapse
I did mine exactly like that but it doesn't work. It only works after I reboot the phone atleast once
EDIT: I noticed if i go to settings/home, it is set as the default theme (it's hilighted) but it's not actually visible anywhere.
EDIT2: Never mind it's sorted out. I went back to Farmer Ted's way and got it to work exactly how I wanted it.
Hi guys,
How can I change cooked in wallpaper if my theme doesn't contain a wall?
Farmer Ted said:
The wall paper is easy: just set whatever pic you want as the wallpaper using either Home-settings or the pic and video tool. Then open \windows, and look for the newest files. You'll see two files named stwater_###x###.png or something very similar (could be tdywater). Grab these two files and then when you're editing a .tsk file, include the files in it. Now you're done.
Click to expand...
Click to collapse
I believe this is what you want to do
[★] said:
A way that bobsbbq has taught me, and has worked for a 6.5.5 theme
make a new folder in your EXT packes, called whatever the theme is, and in there make another folder called files, in the files folder copy across everything in the theme's cab. then go back into the root of the themes package folder and make a new text document called add2config in there paste the following:
TSK: \Windows\XXXX.tsk
where XXXX is the exact name of yout .tsk file found in the themes cab (so it will also be in the files folder if you want to copy the file name exactly.
Save the text document and then just select it in your kitchen
Click to expand...
Click to collapse
Does this method select the theme on 1st boot?
btw, how do you select a default Wallpaper for Manila's Home Tab?
sometimes you need to take your theme tsk rename it to .cab open it with cab manager and change the pics inside
the manila use as default a pic inside the EXT or OEM pkg it contains the manila app... search for the image and just replace it same size, and attributes.
+ Que PPC said:
sometimes you need to take your theme tsk rename it to .cab open it with cab manager and change the pics inside
the manila use as default a pic inside the EXT or OEM pkg it contains the manila app... search for the image and just replace it same size, and attributes.
Click to expand...
Click to collapse
Thanks. Will try it out
what would the image name be? in EXT Manila.exe is only in Manila_Core and I don't have any image there except Manila files...
In OEM I saw the default HTC Black.tsk along with HTC stwater images...
Do I need to replace these 2 Images (HTC Black Stwater... 480x800 and 800x480)?

how to change start icon and wait cursor from modules

hi to all
how i can change start icon and wait cursor from modules in the kitchen?
You need to edit shellres.192(96/128).dll with Restorator
can you explain me better please?
stronkyz said:
can you explain me better please?
Click to expand...
Click to collapse
1)Recmod the file (if it is in modules):unzip the osrecmod tool and drop the unmoduled file over recmod.exe
2)Unsign the file dropping it over unsigner tool.(ofcourse unzip the file tool first).You must then see your file loosing 1-2kb...
3)Open the file with restorator or reshack (its free but needs more time to do the job)
4)Change the icons (they are in ico extension so your images should have the same extension and dimension).
In the first series of icons is the waiting cursor.Find another series and replace them.Nice cursors are here:
http://forum.xda-developers.com/showthread.php?t=803756
Images must have the same dimensions as the original ones.
Find the start icon and replace it.Save the file.
5)Sign the file with msigner tool.You must then see your file gaining 1-2kb.
6)Remodule the file and drop it in its original place in your kitchen.
Maybe unsigning and signing not needed if you cook the file but I have not tried it.I always sign my file.

Categories

Resources