yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] juju-35:
You can use the trial version for free for 30 days and since you just have to edit your cabs once, it may work for you.

THere are things you cannot do with the trial version, but I was able to edit all my install directories and also shortcut paths with the trial version.

Hope it helps.

Juju
[Windows Mobile Software Development] juju-35:
Sleuth, I do not see that you are lsiting the great Alex Kaiser ROMs. The latest 5.2 are UC compliant (and they additionally use another UC-like AutoInstall mechanism).

Check: http://wiki.xda-developers.com/index.php?pagename=Alex's ROMs

Juju
[Windows Mobile Software Development] Sleuth255:
Sorry but I didn't know. I usually scan support theads looking for "UC" but didn't see any mention on his. That and I thought Alex was using Tiered Autoinstall. I'll link them in on pg 1. Tks for the info!
[Windows Mobile Software Development] JimSmith94:
What method does the Sprint OEM (and possibly others) use to autorun the CABs in Extended_ROM?
[Windows Mobile Software Development] Sleuth255:
That's just standard autorun. Having UC as part of an OEM ROM will allow IT provisioning staff to easily do mass branding/loading of company IP on new devices.
[Windows Mobile Software Development] logger:
Hi Guys, New to UC and prov.xml. Pleased to have been succesful in using the template in the first few threads to create a new gmail account. Imported with dotfred and all works fine. My plan is to get all 4 of my email accounts into a proc.xml for future use. Cuppla Qs though:

<parm name="RETRIEVE" value="-1" />

<parm name="KEEPMAX" value="-1" />

Is RETRIEVE for size of email and if so how do a specify a kb cutoff value. wots KEEPMAX for and wot do the values represent?

As all my mail accounts are manually created am I correct in thinking there is no way to export something that is already on my unit to reverse engineer the syntax that is already in place for existing mail accounts I have set up.

Tried searching and exporting email2 keys in dotfred and convereted them to xml but they contain nothing. Am I missing something here?
[Windows Mobile Software Development] logger:
OK I have re read post 3 and see that "Connection profiles aren't stored in the registry but rather represent a different CSP." So I take it I cannot somehow extract the settings for my 4 email accounts from this source. So PLS disregard. Will read some more....
[Windows Mobile Software Development] logger:
Ok I have read some more and got it pretty much sorted now. But I am stumped with KEEPMAX. Depending on which part of the MSDN site you believe it is either:

1) to assign how many email will be retrieved MSDN - Example for OMA Client Provisioning , or

2) Specifies the max size (in Kilobytes) for message attachments to be downloaded MSDN - EMAIL2 Configuration Service Provider

Can one of you guys tell me which is correct. I have gone with the latter option and set value of 0 to specify no message attachments. Is this right?

Oh and sorry to digress from the topic.
[Windows Mobile Software Development] dganim:
http://msdn2.microsoft.com/en-us/library/aa455896.aspx shows the descriptions of the options for the EMAIL2 options.

As far as exporting your current config, stan's post about RapiConfig lets you do that:

http://xdaforums.com/showpost.php?p=1899755&postcount=17 Basically, you edit the RapiConfigIn.xml file included in the rar to contain the code contained in that post, run the included .bat, then peek at the RapiConfigOut.xml file and you should find your phones current config to put into your provisioning file.

I've found that changing the values for RETRIEVE and KEEPMAX to something not available in the GUI results in nothing being shown in the GUI, and seemingly erratic behavior as far as those settings are concerned (basically meaning if you set it to 2048kb, it will sometimes download 5kb, or 47kb, or ?) but I haven't done much to confirm if my findings were the result of some other problem I created. I just used the GUI to change it and left it alone. The other thing I noticed is the option for keeping messages on the server doesn't seem to be included when you export that way, and isn't included in Microsoft's descriptions. I don't know how to configure it.
[Windows Mobile Software Development] kain144000:
About .xml file operation...

Hey, Everyone,

'Didn't test yet, but'd rather know before I waste time typing in an .xml file. Anyway, I know that you can have an .xml copy files, but is it possible to have it copy and overwrite, will I be asked to overwrite, will the op fail, or will UC fail @ this point?
[Windows Mobile Software Development] Sleuth255:
It will overwrite automatically. This can be overridden however. Check the updated File Operation CSP in the first posts and follow the link that describes the parameters.
[Windows Mobile Software Development] logger:
Thanks for the link to stan's post about RapiConfig. I had read the post, but not understood its signifigance. Now I do. Works a treat. Also it was not obvious to me straight away that the device needed to be connected when running no doubt so it can access the source information via activesync.

WRT to your link to http://msdn2.microsoft.com/en-us/library/aa455896.aspx Thats is exactly the link I posted if you care to check and and you will see that it conflicts with the second link at http://msdn2.microsoft.com/en-us/library/bb737580.aspx Anyway no drama, I suspect the first is probably correct.

Also a subtlety I just noticed now is that KEEPMAX is in kilobytes and RETRIEVE is in bytes. If you set the wrong units respectively, it might explain your erratic behaviour.

"RETRIEVE" value="2048" (bytes)

"KEEPMAX" value="25" (kilobytes)

Anyway fun working this all out.
[Windows Mobile Software Development] logger:
UC destination

Might have missed it in all the info. Does UC install the apps within the cabs to main memory or storage card or offer a choice. I assume it is main memory but I cannot see it written and have not actually done a ROM change to use UC yet.
[Windows Mobile Software Development] juju-35:
There are many posts about that but since I sometimes also ask stupid questions, so I will answer before you get called by the Forum Police :)

It installs to the default location of the cab, which for most cabs is main memory. However you can use a cab tools (like winCE cab manager, but there are also free ones) to change the default location, so that the cab can pretty much install wherver you want.

Read the first posts, it is all in there, and best it does actually work!

Juju
[Windows Mobile Software Development] logger:
Thanks JuJu. Had to get to Post 9 to see mention of it. I get the drift now.

installs to the default location of the cab maybe that should be in the intial description of what UC does.
[Windows Mobile Software Development] dganim:
For some reason I didn't see that post when I made mine, and I didn't check back after.

As far as the discrepancy goes the second link is for WM6, whereas the first is for WM5. At first I'd think that the WM6 info is correct, but its also contradicted within the WM6 documents elsewhere. Guess and check is probably the best way to figure that one out, good luck.

I was setting the RETRIEVE as thought it was KB though, thanks for pointing that out. Not sure if/why that would make it inconsistent though. Hopefully I won't be reflashing for a while now that the radio seems stable, but I did update my file to reflect the correct filesize.
[Windows Mobile Software Development] dalvarez7:
Has anyone been able to successfully change the today theme using cusTSK.exe on WM6.1? When I run my SDConfig.txt, it acts like it changes the theme. Even after a reset the them I choose is selected when I go to the today screen, but the background doesn't change. Just the colors on the top title bar and bottom bar.
[Windows Mobile Software Development] logger:
No problems. I also discovered in my fiddling that "KEEPMAX" only applies to IMAP4 and not POP3 accounts. By this I mean the "Download Attachments" dropdown will only apear in the GUI if "SERVICETYPE" = "IMAP4". Set it to "POP3" and it does not appear. Have not checked to see if this setting does anything in this situation, but it may be useful info to someone.

Now I am about to go back and search through this thread to see if I can have multiple prov.xml files listed and actioned in my SDConfig.txt?

Cab: \Storage Card\CABS\SplashID.CAB

XML: \Storage Card\Cabs\AllFourEmailAccsProv.xml

XML: \Storage Card\Cabs\MakeDIRProv.xml

CPY1:\Storage Card\Cabs\TaskMgr.exe

CPY2:\Program Files\DotFred\TaskMgr.exe
[Windows Mobile Software Development] Sleuth255:
I've had that issue too. Not sure what causes it yet though.
[Windows Mobile Software Development] Sleuth255:
You can have as many as you want.
[Windows Mobile Software Development] Noonski:
It's een working great for me.....

but it didn't at first.

Found it differed with different Themes.

I haven't looked inside them but i think it has to do with changing the reg values to a new naming screen that has the one the theme caries.

I'm using the new T-Mobile Touch theme which works fine.

You could also do a copy2: command on.........

wm61_stwater.jpg from SD to Windows folder.

(Older themes asume the backdrop is always named Default_stwater_240_320.gif)

And this was suposed tobe a joke in my next rom ut i can't hold it ack for myself.

(My B is roke on one keyoard at work)
[Windows Mobile Software Development] Sleuth255:
It did seem to be backdrop oriented. My working theory was that it had something to do with cusTSK issues when loading newer XML style tsk files.
[Windows Mobile Software Development] dalvarez7:
I thought that too. That's why earlier I was asking if anyone noticed a cusTSK.exe being present in WM6.1. I think the cusTSK.exe I'm using came from WM6. Perhaps I can ask DCD or NoChem if he has it in any of his XIP from WM6.1.
[Windows Mobile Software Development] Sleuth255:
It's an IMGFS app though (which is a good thing). My WM6.1 ROM has the issue. I had to specially code one of the provxml files and cook in the backdrop to make my DarkSE theme work out of the box.

However, there may be more current WM6.1 builds that have a newer cusTSK with the issue solved.
[Windows Mobile Software Development] Noonski:
What about adding more allowed names to the Backdrop allow lis?

[HKEY_LOCAL_MACHINE\Security\AppInstall\TSKAllowed]

"1"=multi_sz:"stwater.gif",

"stwater_240_240.gif",

etcetc..

?
[Windows Mobile Software Development] cmylxgo:
Thanks for the great head start with the first few post. I've been messing around with this for the last 3 days and have run into some problems that I can't seem to find an answer to.

Some reg settings work and some don't...are limitations to what can be changed with with xml commands? Below is an example of a reg setting I want to import that does not work.

<wap-provisioningdoc>

<!-- *** Volume Settings - MAX *** -->
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Volume" translation="filesystem">
<parm name="Ringer" datatype="integer" value="4294967295"/>
<parm name="Volume" datatype="integer" value="4294967295"/>
<parm name="Mute" datatype="integer" value="7"/>
<parm name="Screen" datatype="integer" value="65536"/>
<parm name="Key" datatype="integer" value="65536"/>
</characteristic>
</characteristic>

</wap-provisioningdoc>

I am trying to set the volume to Max settings instead of in the middle.
[Windows Mobile Software Development] l3v5y:
New iProphet is UC capable... http://xdaforums.com/showthread.php?p=2030221
[Windows Mobile Software Development] l3v5y:
I've just created an app for copying files across to the device. It copies cabs, xml files and SDconfig.txt to the storage card. I will add the option to change the location each of these go to at a later stage.

Put the files you want in the same directory as the UC Copier.exe, and run it.
[Windows Mobile Software Development] aih1977:
HELP!!

I searched and searched still didn't everything i tried it did not work what am I doing wrong.

here is the sd config file.
[Windows Mobile Software Development] Sleuth255:
The blank lines might be throwing autorun off.
[Windows Mobile Software Development] aih1977:
i dont know why it did that here but i does not have the blank lines on the txt file.
[Windows Mobile Software Development] Sleuth255:
just attach the file itself then. Also see page 1 for space fill requirements: all command parameters must begin in position 6. This means that CAB: statements must have a space before the parameter. See the example for this.
[Windows Mobile Software Development] aih1977:
sdconfig.txt

here you go.
[Windows Mobile Software Development] Sleuth255:
Try this one. I made the changes suggested in the first post ;)
[Windows Mobile Software Development] elgreek84:
hey Sleuth, what's the best way to use copy? through xml or the command? I have trouble with files that have a hidden extension, like "dll" or ".vol" or .lnk files.
[Windows Mobile Software Development] Sleuth255:
I use the FileOperation CSPs exclusively. I'm not sure which is best however.
[Windows Mobile Software Development] stan23:
try "-1" instead of "4294967295".

it's both represented by 0xFFFFFFFF, but signed/unsigned.
[Windows Mobile Software Development] kain144000:
::sigh:: This is the [I]only[/I] problem I'm havin' w/ automation...

Hey,

I'd got my SDConfig.txt runnin' smoothly, however, the reg edits in my SDConfig.xml file never work. I know that it runs the .xml, but the modifications are never made. Here's the .xml:

*edit: DAMMIT, too big. Okay, 'gonna zip it up...

Thanks, Everyone
[Windows Mobile Software Development] cmylxgo:
Thanks for the suggestion...but I had already tried that...short story is..there must be more done to the reg than just this for the volume change. I'll live with it for now.

-C
[Windows Mobile Software Development] Red49er:
The easiest way to debug xml files is with Internet Explorer. Rename your file to .xml and open it with IE, scroll down and you will see where the syntax breaks. Its tedious, but it doesn't require downloading any extra software, and you can just hit refresh after you edit the file with wordpad each time.

(As for the first error, it looks to me like the "Wireless"" needs to be "Wireless"" )
[Windows Mobile Software Development] cmylxgo:
I have found it to be much much easier to build cabs for reg edits over xml. I use WinCE Cab Manager and it is awsome. I export the reg settings with CeRegEdit to .reg files and import them into WinCE Cab Manager and then save as .cab file and run them. This has fixed every xml reg change or file copy operation from storage card issue I've had.

-C
[Windows Mobile Software Development] kain144000:
Thanks, so much. I'll give it a shot. BTW, ""Wireless"" should ""Wireless&quot" (w/o quotes), right? I'd used that prog goin' around that translates .reg's to .xml's for the cmds.
[Windows Mobile Software Development] dalvarez7:
If you are building a kitchen, I found that OEMizer works good for making reg changes. I make the changes on my phone, then go into the registry using PHM RegEdit. Select the value you want to export and save it to your SD card or device as a Win RegEdit 5 (Win2k/XP) *.reg file. Copy that file to your Desktop on your computer. Then open up OEMizer and under Additional Registry files, just drag the *.reg file from your Desktop. It will create a OEM package of the registry changes you want. Granted this is only good if you are building a ROM from a kitchen.
[Windows Mobile Software Development] cmylxgo:
I agree...but using CeRegEdit is much easier and saves a couple of steps. CeRegEdit runs on your windows pc and you can work with your PPC's registry on your desktop with an active sync connection.
[Windows Mobile Software Development] fredamn76:
Is it possible with UC to replace a read-only file in the Windows directory. I would like to replace HTC Weather xml file with my own.

By the way does anyone know where SPB Traveler and SPB Mobile Shell store their serial keys? I can't find it.
[Windows Mobile Software Development] Sleuth255:
Try it! Place your XML in a cab file and run it. See the FAQ on post 3 for how to do this. Let us know if it works!
[Windows Mobile Software Development] aih1977:
THANKS

Thanks Sleuth it worked.
[Windows Mobile Software Development] kain144000:
Perfect. 'Had no idea about debugging in a browser window. Thanks, and yeah, it was the quotes. BTW, anyone got a link for syntax. I'd like to do some file operations.
[Windows Mobile Software Development] Sleuth255:
Post #3 has everything you ever wanted to know about File Operation CSPs. Also, the IE debugging technique is explained there too ;)

The bottom of post #2 has a link to all HTML special character sequences. I just added it yesterday.
[Windows Mobile Software Development] jorge_culv:
I really want to get to the bottom of this, so I tried 4 different combinations:

Option1 (no slash):

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows\start menu\programs

Option2 (slash on CPY2):

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows\start menu\programs\

Option3 (slash for CPY1 and CPY2):

CPY1:\Storage Card\myWindowsDirStuff\

CPY2:\windows\start menu\programs\

Option4 (slash for CPY1):

CPY1:\Storage Card\myWindowsDirStuff\

CPY2:\windows\start menu\programs

Not sure how else to do it, but in the end none of these worked for me. My conclusion is CPY can't be used to copy directories on a Sprint Mogul-may work differently on another device, but I encourage you to try all four options and see which one works then spread the word.
[Windows Mobile Software Development] taiseer999:
try:

CPY1:\Storage Card\myWindowsDirStuff

CPY2:\windows\start menu\programs\myWindowsDirStuff
[Windows Mobile Software Development] DaMilky:
Excuse the noob question, but which one of these WM6.1 ROMs would work with a Motorola Q9h? And what about a BlackJack II?

:)

With love,

-Milky
[Windows Mobile Software Development] JimmyMcGee:
Wow Off Topic that is for sure.

Also I don't believe you will find that here. The phone here are made by HTC. Search your Google for Motorola or Samsung Smartphone Developer Sites.
[Windows Mobile Software Development] Sleuth255:
... and now for something completely different :eek:

talk about your neck-snapping change of subject... I'll submit this for the "off-topic post of the day" award :)

Seriously, HTC ROMs featured here can't run on the devices you indicate because of hardware differences. Like PCs running windows, each device has many device specific drivers so it is actually up to the OEM to produce the final version of WM for the device. ROM chefs start with that device specific code then slice and dice the built in apps that run on it which are common to all devices. Again, like windows, once you have a version that works for your PC, you can purchase any software you like that is Windows compatible.
[Windows Mobile Software Development] kannaguchio:
Will the Copy File CSP overwrite an existing file? If I move an alternate FEXPLORE.exe over to \Windows, will it write it, not write it and continue, or not write it an terminate?

I didn't see the mvdir command mentioned. Is there a way I can copy/move and entire directory over with UC? I would like to have my ringtones copied over but I don't want to copy/paste an entry for every single file if I can avoid it, for instance.

Edit:

I just looked several posts up and saw that I can use the CPY command in the SDConfig.txt file to move over directories.
[Windows Mobile Software Development] cmylxgo:
I could not get the directory copy to work...so I just made a cab file up.
[Windows Mobile Software Development] dalvarez7:
I think it does overwrite the original file. I renamed the explorer.exe file in GSFinder to fexplore.exe and copy it over during the UC. Now when I choose File Explorer it actually opens up GSFinder. Hope that answer your question.
[Windows Mobile Software Development] Sleuth255:
@stan23: I forgot all about RapiConfig... DOH! :o
[Windows Mobile Software Development] booda:
I've been a member here for a year and a half - about time I contributed something useful. ;)
[Windows Mobile Software Development] satiros:
thanks guys 4 the answer!!!

sorry i waisted your time and space
[Windows Mobile Software Development] doedoe:
SD Config Builder V0.3

How about this for a first attempt? (Actually on release v0.3 now :))

Select the required files and order them accordingly before creating the SDConfig.txt file :)

If there are any more commands which need supporting please let me know :)

Feedback welcomed.
[Windows Mobile Software Development] Sleuth255:
True, but what I've done is make it simple:

replace your last "RST: Reset" command wherever it is with "EXEC: \windows\SDAutorun.exe".

Done.

SDAutorun actually automates the process you so elequently outlined above then re-runs AutoRun just as you do. ;) Additionally, it works for the newer devices that don't have extended rom & so need something cooked in.

More importantly, UC is about a standard that benefits everybody. With UC, everybody can make a file called SDConfig.txt on their storage card and be confident that autorun will pass control to it and if its not there, then the device will reset just as if it had encountered the final RST: Reset command that SDAutorun.exe itself replaces. Chefs can cook this in knowing that if it isn't used by a UC armed ROM flasher, then autorun will work as it always does.

Look at the configuration program that was just produced by doedoe if you don't see the power in this.
[Windows Mobile Software Development] Sleuth255:
I just saw this! :) Will begin testing tomorrow. :)
[Windows Mobile Software Development] doedoe:
Ensure you check back and get the latest build :)
[Windows Mobile Software Development] kin0kin:
Without extended Rom, you can just create an XML/cab with the registry settings I listed above, and execute it in preconfig.txt before the reset command (in your case, this would be, sdconfig.exe).

Which it will "updated/patch" the preconfig path to point towards the config.txt in storage cared (in your case...sdconfig.txt). Preconfig would then execute preautorun.exe at the last line before reset.

Everything can be done with just autorun.exe/preautorun.exe, so I thought this app is pretty redundant for extra 30kb (not like this is material, just had to mention it). Anyway, I just wanted to share something I know ;)
[Windows Mobile Software Development] Sleuth255:
your message was too cryptic: I didn't know what cabs you were referring to.
[Windows Mobile Software Development] Sleuth255:
SDAutoRun.exe isn't needed. You are right. Chefs can use any technique they want to do this:

Run SDConfig.txt as the final customization if it is found on the sd card. Otherwise if not found or there is not an SD card present, reset. Remember: the RST command actually re-enables the radio. So, SDAutoRun actually creates a quick config.txt with a RST: Reset and runs AutoRun with this if no SDConfig is found.

my way is a 30K program and a single change to the last statement in a chain of config files.

This functionality is key because not everyone will have an SD card nor even care about UC.

Finally:

Let's take this up in the chef's thread because we are cluttering up this user thread with discussion that isn't relevant to using SDConfig.txt or provisioning xml ;)
[Windows Mobile Software Development] character:
question

is UC intended for kaiser and tytyn only how about wizard and atom?