yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] agarcia18:
Hi, and thanks everebody that has contribuited to this excellente UC...

I am trying it with last Duttys ROM UC, but I have problems. I have been able to install correctly a lot of cabs that do not need User Input; but when trying those others and the HIDE: commands, something strange happens. My screen is unlock, but the customization seems to not hide: I can open other progams, but the customization is always in the front and I can't go to the other programs interface (Incluiding the installation input of the cab) without closing previosuly the customization. I have tried several times, with no luck. My sintax is this (this is the short version I've tried to find the problem out):

LOCK: Enabled

CAB: \Storage Card\Cabs\Add-Venture_regged.cab

LOCK: Disabled

HIDE: Enabled

CAB: \Storage Card\Cabs\1-Calc3_24_reg.cab

HIDE: Disabled

RST: Reset

Any idea what I am doing wrong?:confused:

Thanks in advance.

BTW: I started using DoeDoe's SDConfig Builder v.0.3 (Thanks DoeDoe) but it had several problems for me:

a) The program doesn't recognise all the cabs (only some of them, and I do not know why) in the directory you choose to browse.

b) Once you have browsed a Directory to include the cabs, if you try to choose another directory (for example, the directory in which you have stored the cabs with user inputs requirements), it does not recognize any cab.

c) The SDconfig.txt that the program builds includes spaces and tabs after the cab name, so it doesn't work correctly: you have to remove all those spaces to avoid the "file not found" problem, as Sleuth detected already.

I hope this feedback could help DoeDoe to improve the utility.:rolleyes:
[Windows Mobile Software Development] Noonski:
Maybe this sounds weird but it's worth the try.

Make the first cab install euh ALT-Tab and then alt tab to install screen.....

Nah isn't going to work.

Can someone post a cab with User input so i can test with this hide command.
[Windows Mobile Software Development] agarcia18:
Thanks Noonski for the tip, but it won't work: I have installed quickmenu, and while the customization I have access to see all the programs running (the installation program waiting for the input, the customization, and others if I have launched them), but I can not get to the screen of any of them, because the screen of the customization doesnt hide...:mad:

I attached the cab that requires User Input for your testing.

Thanks again for your help.
[Windows Mobile Software Development] jarek91:
Great utility so far...and for anyone having headaches with the Provisioning XML, I found that this editor from Microsoft is great for making sure you have everything formatted correctly. This let me easily see that I had a bunch of registry entries that weren't actually under the registry characteristic tag (one too many /characteristic tags in the middle of the file...). It also makes it easy to "nudge" it under the tag.
[Windows Mobile Software Development] futbolkeeper:
I am loving the utility also! UC Rocks! If you want to edit files NotePad++ is a great utility as well. And free!
[Windows Mobile Software Development] Sleuth255:
@agarcia18: I install 1-calc during UC so I know it works for kaiser. Your syntax looks correct too. Why don't you attach your actual SDConfig.txt file and I'll take a look.
[Windows Mobile Software Development] Sleuth255:
Nice find! Added to tools section on the first post.
[Windows Mobile Software Development] agarcia18:
Thanks very much, Sleuth. I am attacching the last two SDConfig.txt I have tried, one short and the other extend. Everything Ok until te UC gets to the HIDE commands, with the problems I said.

Any suggestion will be highly appreciated.
[Windows Mobile Software Development] agarcia18:
And here the extended one.
[Windows Mobile Software Development] Sleuth255:
Here's mine which works. The only diff appears to be the lack of a space in the hide commands. I didn't think that mattered though :confused:

Why don't you pull the spaces & see what happens?
[Windows Mobile Software Development] agarcia18:
Hey, it works!!! I just tried without any faith in it, but it works! :confused:___:eek:___:D

So after the HIDE: commands should not be spaces... Maybe this issue is worth warning in the first post... And should be changed in the DoeDoe's utility...

Thanks a lot Sleuth, you're the chief! Now I can take a look at the provisioning xml...
[Windows Mobile Software Development] Noonski:
Yeah i noticed that to You beat me to the punch Sleuth.

For those fortunate to have the right tools, i would advice making a cab with the Regs instead of Provisioning file.

RGU to cab would be a better tool ;)

Funny how everything seams to matter in the commands.

Good thing people are posting.

Great Ironing Sleuth.

I'm allready promoting it to some more Cooks as it has no effect for NON SDconfig.txt users.
[Windows Mobile Software Development] dcd1182:
Hi Sleuth,

Thanks for this tool. My ROMs and kitchen for the titan device are UC compatible beginning with 2.3.1. Can I be added to the list please?
[Windows Mobile Software Development] fishfuzz:
I have one .cab that I install back to the storage card (iGuidance), but after reading this list, I'm still not sure what the syntax would be to insure that it went there instead of the device memory.

Thanks!
[Windows Mobile Software Development] bml5631:
Copying contents of folder.

Is there a way either with the CPY command or in my .xml file to copy the contents of a folder without specifically naming each file line by line?

Thanks,
[Windows Mobile Software Development] Noonski:
Paths can be hardcoded using WINCECABMANAGER.

Not using sdconfig.

Now where was that post about screen alignment.
[Windows Mobile Software Development] Sleuth255:
@fishfuzz: essentially you need to change the default installation to your storage card using cab manager then you can install the resulting cab with UC.
[Windows Mobile Software Development] Sleuth255:
There is some indication that the CPY commands can accomplish this. Go ahead and experiment! Remember to make sure that no spaces exist after the : and the \ in your CPY1 & CPY2 statements.
[Windows Mobile Software Development] Sleuth255:
Dominus Sanctus Inductus! :)
[Windows Mobile Software Development] codyppc:
silly questions, but.....

1. cant a person just edit the file like a normal text file?

2. why doesn't his file below work? i have all the cabs in a folder called Cabs on the sd card. i have made them all lower case just to make sure there wasn't the case bug thing.

Help, i really want to figure this thing out.

Thanks, cody
[Windows Mobile Software Development] dude_perm:
Yes, when was testing this xml from .cab ...

But it can be a "hands.dll error" in cab creating...

I only need to know if my xml is right, so I'll continue testing.

"Russia - MTS" Operator Logo on this forum is weird )))
[Windows Mobile Software Development] rjh1:
help with registry comands

Hi I need some help for the registry comands

how do I create entrys into the regestry?

D-words, Keys and....

Thanks,

Rick
[Windows Mobile Software Development] mma123:
I use Provisioning XML for this purpose. 2nd and 3rd post have some examples. If you have the REG file, you may want to use ".reg -> xml conversion tool" from the first post.
[Windows Mobile Software Development] rjh1:
Help with Registry commands

I need to create entrys not edit them I am using provisioning xlm

Thanks

Rick
[Windows Mobile Software Development] mma123:
I believe, "editing" and "creating" would be the same process.
[Windows Mobile Software Development] Beeble:
Indeed - as is indicated in post #2...
[Windows Mobile Software Development] rjh1:
Re. Registry Question

thanks Guys... I still dont see where is said that in the 2nd post but I do see it work now... Thanks again, now I just have to figure out all of my settings...

Rick
[Windows Mobile Software Development] mma123:
You may first manually setup everything, export registry and then convert to XML. You may use MobileProfiler to export network, voip, owner, etc. settings.
[Windows Mobile Software Development] vanilaguy:
exporting registry entries and additional information

You need not know XML to export a registry to a newly installed rom. You can create a cab file of your current working registry.

You can do this by:

1. exporting the ENTIRE registry, or parts of the registry to a cereg file.

2. creating a cab file from the cereg file.

3. installing the cab file by including it in the sdconfig.txt

You need CeRegEditor to export the entire registry or parts of the registry to a cereg file and creating a cab file from the created cereg file.

Get CeRegEditor here: http://www.ceregeditor.mdsoft.pl/files/CeRegEdit_Setup_0.0.5.2.exe

For instructions on how to export the entire registry or parts of the registry to a cereg file and creating a cab file from the created cereg file,

refer to this: http://ceregeditor.mdsoft.pl/cmd/ceregcmd_manual.pdf

To install the created cab file using sdconfig.txt, include the following line:

HIDE:Enabled

CAB: \Storage Card\(folder name of the created cab)\(name of the cab file)

HIDE: Disabled

I don't use LOCK command, instead, I install everything using HIDE command. Why? I am too lazy to take note which cab file needs additional user input.

Additional user input? Duh, what's this?

Some cab file installation needs additional information from the user. It could be as simple as a message like 'CLICK OK TO PROCEED' (which simply means you need to click on an OK button for the installation to continue) Or it could a bit more complex, eg. a message like 'TYPE IN YOUR USERNAME'.

LOCK command installs the cab file behind a default window with a progress bar at the bottom, while the HIDE command installs the cab but HIDEs the default installation window.

If you use the LOCK command and the cab file needs additional user information, like 'CLICK ON OK TO PROCEED', the message will not show up on the screen and the installation will not proceed. And since you do not see the screen asking for additional information, the installation is virtually hung. So just to be on the safe side, I use HIDE instead of LOCK in my sdconfig.txt.
[Windows Mobile Software Development] XirXes:
Does anyone know the registry entry associated with text message tones? Its the last thing I want to get set up with this.
[Windows Mobile Software Development] Beeble:
Try looking here sorry i cant remember what it is off the top of my head - but i'm sure its in that thread.
[Windows Mobile Software Development] bladeyfocal:
Hello,

thanks for this great Thread, it was very useful to me.

i hab a problem with uc when i want to install Fingerkeyboard.

i placed it in th SDConfig between this commands

LOCK:Disabled

HIDE:Enabled

CAB: ...............

HIDE:Disabled

LOCK:Enabled

All the cabs before are working fine. But if the Fingerkeyboard is about to be installed, i see the Windows Progressbar working endless, and not the interface to configure Fingerkeyboard.

Can anybody help me with this issue?

I used Miri Rom V27.1 on Touch HD with WM6.5

Thanks to all
[Windows Mobile Software Development] KewlRobD:
This is probably cuase I am a noob but I can't get this to work correctly. I created the SDconfig file and all the cabs I specify install with no issue. But the XML file does not isntall successfully. So I loaded the file into IE with no errors. I then changed the filename to _setup.xml and used cab maker to create a cab with only that file in it. The installation on my phone reported unsuccessfull. I then changed the xml file to include only one change. I copied this change right out of the turorial at the begining of this thread. Below is the text of the test file I am using. No matter what I do my cab will not isntall. Can someone please tell me what I am missing here. I feel like I have done everything right.

<wap-provisioningdoc>

<!-- ClearType Preferences -->

<characteristic type="Registry">
<!-- Just adding this Key enables ClearType -->
<characteristic type="HKLM\System\GDI\CLEARTYPE">
<parm name="Default" value="0" datatype="integer"/>
<noparm name="Default"/>
</characteristic>
<characteristic type="HKLM\System\GDI\ClearTypeSettings">
<parm name="OffOnRotation" value="0" datatype="integer"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Thanks in advance.
[Windows Mobile Software Development] mma123:
Looks OK to me. Is file formal playing a role? Shouldn't it be of Unicode with LF+NL format?
[Windows Mobile Software Development] KewlRobD:
thanks for the reply. I guess that is where being a noob comes in to play not sure how to make it unicode.
[Windows Mobile Software Development] mma123:
Notepad2 (free, try Google). All my files are UTF-8 with signature CR+LF format.
[Windows Mobile Software Development] KewlRobD:
Thank for the info. I downloaded notepad2 and loaded my _setup.xml file into it. I changed the encoding to UTF-8 with signature CR+LF format and then loaded it into the cab. Still getting the same results though. This is getting very frustrating. I know I am probably missing something very obvious. I have read through the tutorials a few times now but I just can't seem to figure this out.
[Windows Mobile Software Development] mma123:
I am out of resources, but I am sure some experts from here will solve your problem.
[Windows Mobile Software Development] Beeble:
Please upload / pm me your xml & sdconfig txt files. - remember to edit out any personal info (but ffs make it clear you have edited it on purpose so we dont assume the edit is the error!) Way too tired (drunk) to work it tonight! but should be able to have a look in the next few days!

~ Beeb
[Windows Mobile Software Development] nuron:
Guys, here is an example of mines:

LOCK:Enabled

CAB: \Storage Card\Cabs\NoPushInternet_v2.cab

CAB: \Storage Card\Cabs\No Bottom Curtain.cab

CAB: \Storage Card\Cabs\SSK TP2 Dynamic Resource Proxy.cab

CAB: \Storage Card\Cabs\Keyboard and Home Key Fix (T-Mobile TP2).cab

LOCK:Disabled

RST: Reset

For some reason the UC stage in my ROMs take abnormally way too long and I have a suspicion it's from the spaces between the cab file names, is that allowed?
[Windows Mobile Software Development] mma123:
Spaces in a cab file name and path are not allowed.
[Windows Mobile Software Development] ptitrusse:
Hi all

did anyone succed in backing up gprs and wifi settings with UC? I got the settings (which worked, tested) with rapi config, using the following lines

<wap-provisioningdoc>
<characteristic-query type="Wi-Fi" recursive="true"/>
</wap-provisioningdoc>

<wap-provisioningdoc>
<characteristic-query type="CM_GPRSEntries" recursive="true"/>
</wap-provisioningdoc>

I got two valid xml files, they get copied correctly with UC after flash, but then they don't work. The network key is not restored for wifi, and for gprs, When I open GPRSNoData, I get my two network settings like I left them (Orange World : Disabled and Orange MMS : Enabled) but if I try to send an MMS it doesn't even try to connect, it just fails and leaves the message in the draft folder. So I figure there must be other settings to copy.

If anyone's got an idea I'm willing to take it!

(btw, I just remembered a detail, I backed up the settings on a 6.1 rom and then restored to 6.5... can this be an issue?)
[Windows Mobile Software Development] Beeble:
Possibly, save the registry (use CE reg edit), make the changes in 6.5, save again & compare. I dont use 6.5 but i have no issue with my wifi settings in UC on 6.1
[Windows Mobile Software Development] thangkls:
My diamond has "Internal Storage" not "Storage card" so how to make sdconfig.txt work on my devices ?

Edit: I found the solution.
[Windows Mobile Software Development] Die Bruine:
OK found out by myself. Made a typo in email provisioning...
[Windows Mobile Software Development] Die Bruine:
Email problems

Sorry totally wrong topic here :o
[Windows Mobile Software Development] RoryB:
If Manila has started running before UC, which is typical, you would not get the registry values to change.
[Windows Mobile Software Development] Tannerj:
AC Power registry

I have been working on this for a while now and I unable to figure out what I am doing wrong with my xml file.

XML File:

<wap-provisioningdoc>

<characteristic type="Registry">

<!-- Phone stay on when AC Power is applied -->

<characteristic type="HKLM\System\CurrentControlSet\Control\Power\ Timeouts">

<parm name="ACSuspendTimeout" value="0" datatype="Integer" />

</characteristic>

<characteristic type="HKCU\ControlPanel\Backlight">

<parm name="ACTimeout" value="0" datatype="Integer" />

<parm name="ACTimeoutUnchecked" value="60" datatype="Integer" />

</characteristic>

</characteristic>

</wap-provisioningdoc>

I have looked and looked but must be missing something. I am trying to disable the backlight when AC Power is applied.

any help would be greatly appreciated.

thanks... tannerj
[Windows Mobile Software Development] froysland:
Nevermind my previous post. Using spdbackup I managed to backup the settings on the S740 and restore them on the Polaris without any problems at all =)
[Windows Mobile Software Development] lovingHDTV:
I'm having issue with my provisioning XML files not working.

My SDConfig.txt loads 8 or so CAB files, and they do get loaded properly. I then call three provisioning XML files that don't ever work.

I can use the same provisioning file with CeRegEditor and they work, but UC never runs them properly. Should UC work if CeRegEditor does? I have been using it as my litmus test.

My SDConfig.txt that I created using the sdconfig tool:

LOCK:Enabled

CAB:\Storage Card\CABS\Sprint Keyboard Fix.cab

CAB:\Storage Card\CABS\MMS Fix (M2.1) (Sprint).cab

CAB:\Storage Card\CABS\Groovefish.CAB

CAB:\Storage Card\CABS\htcAddicts cleanRAM v1.7.cab

CAB:\Storage Card\CABS\Marketplace Sprint Fix.cab

CAB:\Storage Card\CABS\MSVC 1.6.21040.CAB

CAB:\Storage Card\CABS\SdkCerts.CAB

CAB:\Storage Card\CABS\RhodiumKbdControl_CDMA.CAB

CAB:\Storage Card\CABS\ShakeAndSave_Setup.cab

CAB:\Storage Card\CABS\SmartPhoneTrackerFreeInstall1.37.0.0.CAB

CAB:\Storage Card\CABS\Sprint Nav 2_1_40_0.cab

XML:\Storage Card\CABS\fix_links.xml

LOCK:Disabled

RST:Reset
[Windows Mobile Software Development] cekpi:
CAB:\Storage Card\CABS\Marketplace Sprint Fix.cab

remove space in cab name
[Windows Mobile Software Development] rjh1:
Hi time traveler...

your Files.xml looks good my only suggestion is to verify all the file names... it seems that when using XML ALL file names are case sensitive!

Files.XML is different then Files.xml or files.xml it took me several weeks to work out all my bugs in my xml files...

hope this helps...

Rick
[Windows Mobile Software Development] TheTimetraveler:
Oh this thing is driving me crazy ... I double checked filenames but just noticed that the folder name "Cabs" in my SDConfig file was upper case for each file (for all the cabs and both of the xml files). However only one of them worked ... I still can't see a pattern :(

I changed the folder name to uppercase anyway as it is refered in the SDConfig ... I'm only afraid it will help little :(

(Have no time to test now)

What can you tell me about the best encoding of the files? does it matter anyway?

... How can it be that this thing is so error-prone, and the cabs from the very same file work so easy? :confused:
[Windows Mobile Software Development] Noonski:
With help from Sleuth255, RoryB &Cmonex I made a replacement/follow up for SDAutorun called XDA_UC.

It's backwards compatible so it will still pick up the SDConfig.txt file but use another way to parse the files so it is "less" error prone with the file names. (for instance Cab files are directly sent to WCEload & .xml and .reg files through FDC taskmanager and even .cer files can be easily added)

But you can also choose to set it up even easier. Using .reg files instead of XML files and specific registry entries for the dreaded File operations Copy to and Create shortcut.

I specifically looked at the parts where users where having issues setting up their configuration and added in options to overcome these. So this thread was a great source of inspiration for XDA_UC.

The thing is it's not as widely implemented by cooks as this version of SDAutorun is

Here's the Cooks thread:

http://xdaforums.com/showthread.php?t=562568

And here's the user thread:

http://xdaforums.com/showthread.php?t=503060

With support for Diamond storage coming this weekend along with support for Omnia storage and thus also other devices with different internal storage names.

My fingers always itch when i see new/old questions show up here in this thread, but i always feel rude to advertise this replacement.

Ask your Favourite Cook to look into it.
[Windows Mobile Software Development] mwrood:
hello all...i was wondering if someone could pointme in the direction of specific posts that are useful in adding SETTINGS to the sdconfig file...like baklight settings and things of that nature..thanks in advance
[Windows Mobile Software Development] Noonski:
http://triton.homeip.net/RegistryChanger/

Make a cab with your Registry settings online.

You don't set your Settings to the SDConfig.txt file.

You make a file (.Cab or .XML) containing your settings which SDConfig.txt points to.
[Windows Mobile Software Development] Beeble:
Nothing wrong with "advertising" a new &/or updated piece of software! If there are people out there like me (god i feel sorry for them!) they'll stick with what they know - and miss out on new features / easier functionality because they simply dont know the newer version exists or think its too complicated to learn something new.
[Windows Mobile Software Development] AdamiX:
and how can i say that this one will be installed to device memory and this one to storage card?
[Windows Mobile Software Development] Noonski:
Can you elaborate on your Question?
[Windows Mobile Software Development] AdamiX:
of course.

SO i have just make a .txt file

I haven't try it jet, but i think that it will install selected applications after flashing a new ROM.

But it will install this applications to my device memory. (Yes?)

So what i have to write to this .txt file in (which is located in storage card) when i want to install one CAB file (application) to storage memory?

Understand? And Am I correct?
[Windows Mobile Software Development] Noonski:
Well it will always install to Memory through Autorun.

You would have to edit the cab so it is hardcoded to install to SD memory.

You would need something like cabwiz or WinCE Cabmanager.

Or search for Extendir or Extenddir .

That thread also has software to change install paths in cabs.
[Windows Mobile Software Development] AdamiX:
Thanks a lot

I will try it
[Windows Mobile Software Development] lint:
registry tweak help

Hi any and all members.

I've taken up learning the art of UC and am currently at a loss as to why the below registry tweak is not being applied properly on dsixda's Onyx 6 Release 5 rom. If anyone has insights on where I'm messing up, I would be greatly appreciated it.

SDConfig is executing the xml file so that part is fine and good. The problem is that even though I've specified the parameter SortOrder to be of type integer, it's showing up as type string in my phone.

Any ideas?? I've even changed the characteristic line to

<characteristic type="HKCU\Software\Microsoft\Inbox\Settings" translation="filesystem"> but that hasn't made a difference either. I'm sure I'm missing something basic so any assistance would be greatly appreciated. Oh yea...one other detail regarding this issue...I tried using a cab generated from http://triton.homeip.net/RegistryChanger/index.php for the exact same entry and I get the same effect i.e. SortOrder shows up as a string type. So I'm almost wondering if there's a bug with M$ or the ROM?

Thanks in advance.

SDConfig.txt:

---------------------

LOCK:Enabled

XML: \Storage Card\XDA_UC\registry.xml

LOCK:Disabled

RST: Reset

registry.xml file:

-------------------------

<wap-provisioningdoc>

<characteristic type="Registry">

<!-- *** Set email sort order to reverse chronological *** -->

<characteristic type="HKCU\Software\Microsoft\Inbox\Settings">

<parm name="SortOrder" datatype="integer" value="1"/>

</characteristic>

</characteristic>

</wap-provisioningdoc>